Searched refs:POLICY_LEVEL_ADAPTIVE (Results 1 – 3 of 3) sorted by relevance
224 POLICY_LEVEL_ADAPTIVE,231 static final int POLICY_LEVEL_ADAPTIVE = 1; field in BatterySaverPolicy400 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()
306 return mBatterySaverPolicy.setPolicyLevel(BatterySaverPolicy.POLICY_LEVEL_ADAPTIVE); in updatePolicyLevelLocked()
18 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()