Home
last modified time | relevance | path

Searched refs:AUTOMATIC_POWER_SAVE_MODE (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatterySaverUtils.java246 final int currentMode = Global.getInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in revertScheduleToNoneIfNeeded()
250 Global.putInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in revertScheduleToNoneIfNeeded()
263 final int mode = Settings.Global.getInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in getBatterySaverScheduleKey()
286 Settings.Global.putInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in setBatterySaverScheduleMode()
291 Settings.Global.putInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in setBatterySaverScheduleMode()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/
DBatterySaverUtilsTest.java235 Global.putInt(mMockResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in testGetBatterySaverScheduleKey_returnExpectedKey()
242 Global.putInt(mMockResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in testGetBatterySaverScheduleKey_returnExpectedKey()
249 Global.putInt(mMockResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in testGetBatterySaverScheduleKey_returnExpectedKey()
260 assertThat(Global.getInt(mMockResolver, Global.AUTOMATIC_POWER_SAVE_MODE, -1)) in testSetBatterySaverScheduleMode_setSchedule()
267 assertThat(Global.getInt(mMockResolver, Global.AUTOMATIC_POWER_SAVE_MODE, -1)) in testSetBatterySaverScheduleMode_setSchedule()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/batterysaver/
DBatterySaverStateMachineTest.java129 mPersistedState.global.getOrDefault(Global.AUTOMATIC_POWER_SAVE_MODE, 0), in pushGlobalSettings()
348 mDevice.putGlobalSetting(Global.AUTOMATIC_POWER_SAVE_MODE, 0); in testAutoBatterySaver()
833 mDevice.putGlobalSetting(Global.AUTOMATIC_POWER_SAVE_MODE, 0); in testAutoBatterySaver_withStickyDisabled()
950 mDevice.putGlobalSetting(Global.AUTOMATIC_POWER_SAVE_MODE, in testAutoBatterySaver_smartBatterySaverEnabled()
1073 mDevice.putGlobalSetting(Global.AUTOMATIC_POWER_SAVE_MODE, in testAutoBatterySaver_snoozed_autoEnabled()
1182 mDevice.putGlobalSetting(Global.AUTOMATIC_POWER_SAVE_MODE, in testAutoBatterySaver_snoozed_dynamicEnabled()
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/backup/
DGlobalSettings.java85 Settings.Global.AUTOMATIC_POWER_SAVE_MODE,
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverStateMachine.java342 Settings.Global.AUTOMATIC_POWER_SAVE_MODE), in onBootCompleted()
405 Settings.Global.AUTOMATIC_POWER_SAVE_MODE, in refreshSettingsLocked()
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/
DGlobalSettingsValidators.java161 Global.AUTOMATIC_POWER_SAVE_MODE, in VALIDATORS.put() argument
206 VALIDATORS.put(Global.AUTOMATIC_POWER_SAVE_MODE, ANY_INTEGER_VALIDATOR); in VALIDATORS.put() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java353 final int mode = Settings.Global.getInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in isScheduledByPercentage()
677 Global.AUTOMATIC_POWER_SAVE_MODE, in showStartSaverConfirmation()
/frameworks/base/core/proto/android/server/
Dpowermanagerservice.proto395 // The value of Global.AUTOMATIC_POWER_SAVE_MODE. This is a cached value, so it could
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProtoDumpUtil.java913 Settings.Global.AUTOMATIC_POWER_SAVE_MODE, in dumpProtoGlobalSettingsLocked()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java6271 Settings.Global.AUTOMATIC_POWER_SAVE_MODE,
/frameworks/base/core/java/android/provider/
DSettings.java16569 public static final String AUTOMATIC_POWER_SAVE_MODE = "automatic_power_save_mode"; field in Settings.Global
/frameworks/base/core/api/
Dtest-current.txt2856 field public static final String AUTOMATIC_POWER_SAVE_MODE = "automatic_power_save_mode";