Home
last modified time | relevance | path

Searched refs:OFF_POLICY (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java113 static final Policy OFF_POLICY = new Policy( field in BatterySaverPolicy
136 private static final Policy DEFAULT_ADAPTIVE_POLICY = OFF_POLICY;
651 return OFF_POLICY; in fromConfig()
688 return fromSettings(settings, deviceSpecificSettings, OFF_POLICY); in fromSettings()
934 return OFF_POLICY; in getCurrentPolicyLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java328 mBatterySaverPolicy.setAdaptivePolicyLocked(BatterySaverPolicy.OFF_POLICY); in testSetPolicyLevel_Adaptive()