Home
last modified time | relevance | path

Searched refs:setAdaptivePolicyLocked (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverController.java350 boolean setAdaptivePolicyLocked(String settings, String deviceSpecificSettings, int reason) { in setAdaptivePolicyLocked() method in BatterySaverController
351 return setAdaptivePolicyLocked( in setAdaptivePolicyLocked()
356 boolean setAdaptivePolicyLocked(BatterySaverPolicyConfig config, int reason) { in setAdaptivePolicyLocked() method in BatterySaverController
357 return setAdaptivePolicyLocked(BatterySaverPolicy.Policy.fromConfig(config), reason); in setAdaptivePolicyLocked()
360 boolean setAdaptivePolicyLocked(Policy policy, int reason) { in setAdaptivePolicyLocked() method in BatterySaverController
361 if (mBatterySaverPolicy.setAdaptivePolicyLocked(policy)) { in setAdaptivePolicyLocked()
DBatterySaverPolicy.java904 boolean setAdaptivePolicyLocked(Policy p) { in setAdaptivePolicyLocked() method in BatterySaverPolicy
923 return setAdaptivePolicyLocked(mDefaultAdaptivePolicy); in resetAdaptivePolicyLocked()
DBatterySaverStateMachine.java526 return mBatterySaverController.setAdaptivePolicyLocked(config, in setAdaptiveBatterySaverPolicy()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java328 mBatterySaverPolicy.setAdaptivePolicyLocked(BatterySaverPolicy.OFF_POLICY); in testSetPolicyLevel_Adaptive()
333 mBatterySaverPolicy.setAdaptivePolicyLocked( in testSetPolicyLevel_Adaptive()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/batterysaver/
DBatterySaverStateMachineTest.java191 .setAdaptivePolicyLocked(any(BatterySaverPolicy.Policy.class), anyInt()); in setUp()
/frameworks/base/services/
Dart-profile12678 PLcom/android/server/power/batterysaver/BatterySaverPolicy;->setAdaptivePolicyLocked(Lcom/android/s…