Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DPowerSaveState.java81 public Builder setGlobalBatterySaverEnabled(boolean enabled) { in setGlobalBatterySaverEnabled() method in PowerSaveState.Builder
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java543 .setGlobalBatterySaverEnabled(true) in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm()
552 .setGlobalBatterySaverEnabled(false) in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm()
566 .setGlobalBatterySaverEnabled(true) in updateRestrictBackgroundByLowPowerMode_RestrictOffBeforeBsm_RestrictOffAfterBsm()
576 .setGlobalBatterySaverEnabled(false) in updateRestrictBackgroundByLowPowerMode_RestrictOffBeforeBsm_RestrictOffAfterBsm()
590 .setGlobalBatterySaverEnabled(true) in updateRestrictBackgroundByLowPowerMode_StatusChangedInBsm_DoNotRestore()
/frameworks/base/services/core/java/com/android/server/power/
DBatterySaverPolicy.java458 .setGlobalBatterySaverEnabled(realMode); in getBatterySaverPolicy()