Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java20 import static com.android.server.power.batterysaver.BatterySaverPolicy.POLICY_LEVEL_OFF;
162 mBatterySaverPolicy.setPolicyLevel(POLICY_LEVEL_OFF); in testGetBatterySaverPolicy_PolicyDataSaver_DefaultValueCorrect()
258 mBatterySaverPolicy.setPolicyLevel(POLICY_LEVEL_OFF); in testServiceDefaultValue_On()
271 mBatterySaverPolicy.setPolicyLevel(POLICY_LEVEL_OFF); in testServiceDefaultValue_Off()
317 mBatterySaverPolicy.setPolicyLevel(POLICY_LEVEL_OFF); in testSetPolicyLevel_Off()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java211 POLICY_LEVEL_OFF,
218 static final int POLICY_LEVEL_OFF = 0; field in BatterySaverPolicy
223 private int mPolicyLevel = POLICY_LEVEL_OFF;
891 case POLICY_LEVEL_OFF: in setPolicyLevel()
932 case POLICY_LEVEL_OFF: in getCurrentPolicyLocked()
DBatterySaverController.java313 return mBatterySaverPolicy.setPolicyLevel(BatterySaverPolicy.POLICY_LEVEL_OFF); in updatePolicyLevelLocked()