Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/batterysaver/
H A DBatterySaverStateMachineTest.java129 public void putGlobalSetting(String key, int value) { in putGlobalSetting() method in BatterySaverStateMachineTest.Device
148 protected void putGlobalSetting(String key, int value) { in putGlobalSetting() method in BatterySaverStateMachineTest.TestableBatterySaverStateMachine
152 mDevice.putGlobalSetting(key, value); in putGlobalSetting()
333 mDevice.putGlobalSetting(Global.AUTOMATIC_POWER_SAVE_MODE, 0); in testAutoBatterySaver()
818 mDevice.putGlobalSetting(Global.AUTOMATIC_POWER_SAVE_MODE, 0); in testAutoBatterySaver_withStickyDisabled()
905 mDevice.putGlobalSetting(Global.LOW_POWER_MODE, 1); in testNoAutoBatterySaver_fromAdb()
912 mDevice.putGlobalSetting(Global.LOW_POWER_MODE, 0); in testNoAutoBatterySaver_fromAdb()
919 mDevice.putGlobalSetting(Global.LOW_POWER_MODE, 1); in testNoAutoBatterySaver_fromAdb()
935 mDevice.putGlobalSetting(Global.AUTOMATIC_POWER_SAVE_MODE, in testAutoBatterySaver_smartBatterySaverEnabled()
1058 mDevice.putGlobalSetting(Global.AUTOMATIC_POWER_SAVE_MODE, in testAutoBatterySaver_snoozed_autoEnabled()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/power/batterysaver/
H A DBatterySaverStateMachine.java296 putGlobalSetting(Settings.Global.LOW_POWER_MODE, 0); in onBootCompleted()
800 putGlobalSetting(Settings.Global.LOW_POWER_MODE, enable ? 1 : 0); in enableBatterySaverLocked()
910 putGlobalSetting(Settings.Global.LOW_POWER_MODE_STICKY, in setStickyActive()
915 protected void putGlobalSetting(String key, int value) { in putGlobalSetting() method in BatterySaverStateMachine