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.java224 POLICY_LEVEL_ADAPTIVE,
231 static final int POLICY_LEVEL_ADAPTIVE = 1; field in BatterySaverPolicy
400 changed |= (mPolicyLevel == POLICY_LEVEL_ADAPTIVE); in onPropertiesChanged()
465 if (mPolicyLevel == POLICY_LEVEL_ADAPTIVE in updateConstantsLocked()
1023 case POLICY_LEVEL_ADAPTIVE: in setPolicyLevel()
1043 case POLICY_LEVEL_ADAPTIVE: in getPolicyLocked()
1103 if (mPolicyLevel == POLICY_LEVEL_ADAPTIVE) { in setAdaptivePolicyLocked()
1123 case POLICY_LEVEL_ADAPTIVE: in getCurrentRawPolicyLocked()
DBatterySaverController.java306 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;
333 mBatterySaverPolicy.setPolicyLevel(POLICY_LEVEL_ADAPTIVE); in testSetPolicyLevel_Adaptive()
380 mBatterySaverPolicy.setPolicyLevel(POLICY_LEVEL_ADAPTIVE); in testAutomotiveProjectionChanges_Adaptive()