Home
last modified time | relevance | path

Searched refs:POLICY_LEVEL_OFF (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java223 POLICY_LEVEL_OFF,
230 static final int POLICY_LEVEL_OFF = 0; field in BatterySaverPolicy
235 private int mPolicyLevel = POLICY_LEVEL_OFF;
343 if (mPolicyLevel == POLICY_LEVEL_OFF) { in maybeNotifyListenersOfPolicyChange()
1024 case POLICY_LEVEL_OFF: in setPolicyLevel()
1041 case POLICY_LEVEL_OFF: in getPolicyLocked()
1125 case POLICY_LEVEL_OFF: in getCurrentRawPolicyLocked()
DBatterySaverController.java308 return mBatterySaverPolicy.setPolicyLevel(BatterySaverPolicy.POLICY_LEVEL_OFF); in updatePolicyLevelLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java20 import static com.android.server.power.batterysaver.BatterySaverPolicy.POLICY_LEVEL_OFF;
303 mBatterySaverPolicy.setPolicyLevel(POLICY_LEVEL_OFF); in testServiceDefaultValue_On()
316 mBatterySaverPolicy.setPolicyLevel(POLICY_LEVEL_OFF); in testServiceDefaultValue_Off()
323 mBatterySaverPolicy.setPolicyLevel(POLICY_LEVEL_OFF); in testSetPolicyLevel_Off()
614 mBatterySaverPolicy.setPolicyLevel(POLICY_LEVEL_OFF); in testSetFullPolicy_overridesSettingsAndDeviceConfig_clearOnFullExit()