Home
last modified time | relevance | path

Searched refs:AppUsageState (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryOptimizeUtils.java44 public enum AppUsageState { enum in BatteryOptimizeUtils
62 public AppUsageState getAppUsageState() { in getAppUsageState()
65 return AppUsageState.RESTRICTED; in getAppUsageState()
67 return AppUsageState.UNRESTRICTED; in getAppUsageState()
69 return AppUsageState.OPTIMIZED; in getAppUsageState()
72 return AppUsageState.UNKNOWN; in getAppUsageState()
76 public void setAppUsageState(AppUsageState state) { in setAppUsageState()
DRestrictedPreferenceController.java20 import static com.android.settings.fuelgauge.BatteryOptimizeUtils.AppUsageState.RESTRICTED;
DUnrestrictedPreferenceController.java19 import static com.android.settings.fuelgauge.BatteryOptimizeUtils.AppUsageState.UNRESTRICTED;
DOptimizedPreferenceController.java19 import static com.android.settings.fuelgauge.BatteryOptimizeUtils.AppUsageState.OPTIMIZED;
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryOptimizeUtilsTest.java19 import static com.android.settings.fuelgauge.BatteryOptimizeUtils.AppUsageState.OPTIMIZED;
20 import static com.android.settings.fuelgauge.BatteryOptimizeUtils.AppUsageState.RESTRICTED;
21 import static com.android.settings.fuelgauge.BatteryOptimizeUtils.AppUsageState.UNRESTRICTED;
DOptimizedPreferenceControllerTest.java80 BatteryOptimizeUtils.AppUsageState.OPTIMIZED); in testUpdateState_isOptimizedStates_prefChecked()
102 BatteryOptimizeUtils.AppUsageState.OPTIMIZED); in testHandlePreferenceTreeClick_samePrefKey_verifyAction()
DRestrictedPreferenceControllerTest.java88 BatteryOptimizeUtils.AppUsageState.RESTRICTED); in testUpdateState_isRestrictedStates_prefChecked()
110 BatteryOptimizeUtils.AppUsageState.RESTRICTED); in testHandlePreferenceTreeClick_samePrefKey_verifyAction()
DUnrestrictedPreferenceControllerTest.java88 BatteryOptimizeUtils.AppUsageState.UNRESTRICTED); in testUpdateState_isUnrestrictedStates_prefChecked()
110 BatteryOptimizeUtils.AppUsageState.UNRESTRICTED); in testHandlePreferenceTreeClick_samePrefKey_verifyAction()