Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java212 POLICY_LEVEL_ADAPTIVE,
219 static final int POLICY_LEVEL_ADAPTIVE = 1; field in BatterySaverPolicy
383 if (mPolicyLevel == POLICY_LEVEL_ADAPTIVE in updateConstantsLocked()
890 case POLICY_LEVEL_ADAPTIVE: in setPolicyLevel()
914 if (mPolicyLevel == POLICY_LEVEL_ADAPTIVE) { in setAdaptivePolicyLocked()
930 case POLICY_LEVEL_ADAPTIVE: in getCurrentPolicyLocked()
DBatterySaverController.java311 return mBatterySaverPolicy.setPolicyLevel(BatterySaverPolicy.POLICY_LEVEL_ADAPTIVE); in updatePolicyLevelLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java18 import static com.android.server.power.batterysaver.BatterySaverPolicy.POLICY_LEVEL_ADAPTIVE;
326 mBatterySaverPolicy.setPolicyLevel(POLICY_LEVEL_ADAPTIVE); in testSetPolicyLevel_Adaptive()