Home
last modified time | relevance | path

Searched refs:setBatterySaverEnabled (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java825 return builder.setBatterySaverEnabled(isEnabled) in getBatterySaverPolicy()
829 return builder.setBatterySaverEnabled(currPolicy.disableAnimation) in getBatterySaverPolicy()
832 return builder.setBatterySaverEnabled(currPolicy.deferFullBackup) in getBatterySaverPolicy()
835 return builder.setBatterySaverEnabled(currPolicy.deferKeyValueBackup) in getBatterySaverPolicy()
838 return builder.setBatterySaverEnabled(currPolicy.enableFirewall) in getBatterySaverPolicy()
841 return builder.setBatterySaverEnabled(currPolicy.enableAdjustBrightness) in getBatterySaverPolicy()
845 return builder.setBatterySaverEnabled(currPolicy.enableDataSaver) in getBatterySaverPolicy()
848 return builder.setBatterySaverEnabled(currPolicy.disableSoundTrigger) in getBatterySaverPolicy()
851 return builder.setBatterySaverEnabled(mDisableVibrationEffective) in getBatterySaverPolicy()
854 return builder.setBatterySaverEnabled(currPolicy.forceAllAppsStandby) in getBatterySaverPolicy()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java59 .setBatterySaverEnabled(true) in testIndependentAODBatterySaver_true()
74 .setBatterySaverEnabled(false) in testIndependentAODBatterySaver_false()
/frameworks/base/core/java/android/os/
DPowerSaveState.java76 public Builder setBatterySaverEnabled(boolean enabled) { in setBatterySaverEnabled() method in PowerSaveState.Builder
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java305 .setBatterySaverEnabled(false).build(); in registerLocalServices()
549 .setBatterySaverEnabled(false) in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm()
558 .setBatterySaverEnabled(false) in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm()
572 .setBatterySaverEnabled(true) in updateRestrictBackgroundByLowPowerMode_RestrictOffBeforeBsm_RestrictOffAfterBsm()
582 .setBatterySaverEnabled(false) in updateRestrictBackgroundByLowPowerMode_RestrictOffBeforeBsm_RestrictOffAfterBsm()
596 .setBatterySaverEnabled(true) in updateRestrictBackgroundByLowPowerMode_StatusChangedInBsm_DoNotRestore()
605 PowerSaveState stateOff = new PowerSaveState.Builder().setBatterySaverEnabled( in updateRestrictBackgroundByLowPowerMode_StatusChangedInBsm_DoNotRestore()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java142 .setBatterySaverEnabled(BATTERY_SAVER_ENABLED) in setUp()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java1170 .thenReturn(new PowerSaveState.Builder().setBatterySaverEnabled(true).build()); in setUpPowerManager()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java213 return new PowerSaveState.Builder().setBatterySaverEnabled(mPowerSaveMode).build(); in getPowerSaveState()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt55899 Landroid/os/PowerSaveState$Builder;->setBatterySaverEnabled(Z)Landroid/os/PowerSaveState$Builder;