Searched refs:OPTIMIZED (Results 1 – 4 of 4) sorted by relevance
19 import static com.android.settings.fuelgauge.BatteryOptimizeUtils.AppUsageState.OPTIMIZED;62 } else if (mBatteryOptimizeUtils.getAppUsageState() == OPTIMIZED) { in updateState()81 mBatteryOptimizeUtils.setAppUsageState(OPTIMIZED); in handlePreferenceTreeClick()
48 OPTIMIZED, enumConstant69 return AppUsageState.OPTIMIZED; in getAppUsageState()86 case OPTIMIZED: in setAppUsageState()
19 import static com.android.settings.fuelgauge.BatteryOptimizeUtils.AppUsageState.OPTIMIZED;91 assertThat(mBatteryOptimizeUtils.getAppUsageState()).isEqualTo(OPTIMIZED); in testGetAppUsageState_returnOptimized()140 mBatteryOptimizeUtils.setAppUsageState(OPTIMIZED); in testSetAppUsageState_Optimized_verifyAction()
80 BatteryOptimizeUtils.AppUsageState.OPTIMIZED); in testUpdateState_isOptimizedStates_prefChecked()102 BatteryOptimizeUtils.AppUsageState.OPTIMIZED); in testHandlePreferenceTreeClick_samePrefKey_verifyAction()