From f678cc9c2bcee846b67a9b345fc88002b0e58981 Mon Sep 17 00:00:00 2001 From: Daniel Nishi Date: Fri, 24 Jun 2016 15:49:25 -0700 Subject: [PATCH] Add counters for the automatic storage manager. In order to attribute storage savings, we log how much data has been freed and the last time that the automatic storage manager has run. Bug: 29643106 Change-Id: Ibb57b44b5e7550d4ab11e95b47db2f5d6599a96f --- core/java/android/provider/Settings.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index c531954b23a0a..c83cc961dd880 100755 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -6269,6 +6269,24 @@ public final class Settings { */ public static final int AUTOMATIC_STORAGE_MANAGER_DAYS_TO_RETAIN_DEFAULT = 90; + /** + * How many bytes the automatic storage manager has cleared out. + * + * @hide + */ + public static final String AUTOMATIC_STORAGE_MANAGER_BYTES_CLEARED = + "automatic_storage_manager_bytes_cleared"; + + + /** + * Last run time for the automatic storage manager. + * + * @hide + */ + public static final String AUTOMATIC_STORAGE_MANAGER_LAST_RUN = + "automatic_storage_manager_last_run"; + + /** * This are the settings to be backed up. *