Home
last modified time | relevance | path

Searched refs:AppOptModeSharedPreferencesUtils (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/batteryusage/
DAppOptModeSharedPreferencesUtilsTest.kt28 import com.android.settings.fuelgauge.batteryusage.AppOptModeSharedPreferencesUtils.UNLIMITED_EXPIR… in <lambda>()
56 AppOptModeSharedPreferencesUtils.clearAll(context) in <lambda>()
61 AppOptModeSharedPreferencesUtils.clearAll(context) in <lambda>()
66 assertThat(AppOptModeSharedPreferencesUtils.getAllEvents(context)).isEmpty() in <lambda>()
72 assertThat(AppOptModeSharedPreferencesUtils.getAllEvents(context)).hasSize(1) in <lambda>()
74 AppOptModeSharedPreferencesUtils.clearAll(context) in <lambda>()
76 assertThat(AppOptModeSharedPreferencesUtils.getAllEvents(context)).isEmpty() in <lambda>()
83 val events = AppOptModeSharedPreferencesUtils.getAllEvents(context) in <lambda>()
99 assertThat(AppOptModeSharedPreferencesUtils.getAllEvents(context)).isEmpty() in <lambda>()
105 assertThat(AppOptModeSharedPreferencesUtils.getAllEvents(context)).hasSize(1) in <lambda>()
[all …]
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/bugreport/
DLogUtils.java25 import com.android.settings.fuelgauge.batteryusage.AppOptModeSharedPreferencesUtils;
60 AppOptModeSharedPreferencesUtils.getAllEvents(context); in dumpAppOptimizationModeEventHist()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerBackgroundUsageDetail.java38 import com.android.settings.fuelgauge.batteryusage.AppOptModeSharedPreferencesUtils;
126 AppOptModeSharedPreferencesUtils.deleteAppOptimizationModeEventByUid( in onPause()
DBatteryOptimizeUtils.java36 import com.android.settings.fuelgauge.batteryusage.AppOptModeSharedPreferencesUtils;
142 AppOptModeSharedPreferencesUtils.clearAll(context); in resetAppOptimizationMode()
DBatteryBackupHelper.java41 import com.android.settings.fuelgauge.batteryusage.AppOptModeSharedPreferencesUtils;
189 AppOptModeSharedPreferencesUtils.getAllEvents(mContext).stream() in backupOptimizationMode()
DBatterySettingsStorage.java40 import com.android.settings.fuelgauge.batteryusage.AppOptModeSharedPreferencesUtils;
340 AppOptModeSharedPreferencesUtils.getAllEvents(mApplication).stream() in backup()
DAdvancedPowerUsageDetail.java46 import com.android.settings.fuelgauge.batteryusage.AppOptModeSharedPreferencesUtils;
286 AppOptModeSharedPreferencesUtils.deleteAppOptimizationModeEventByUid( in onPause()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryUsageDataLoader.java170 AppOptModeSharedPreferencesUtils.resetExpiredAppOptModeBeforeTimestamp( in loadUsageDataSafely()
DAppOptModeSharedPreferencesUtils.kt30 object AppOptModeSharedPreferencesUtils { in <lambda>() object