/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | BatterySaverUtils.java | 246 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/ |
D | BatterySaverUtilsTest.java | 235 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/ |
D | BatterySaverStateMachineTest.java | 129 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/ |
D | GlobalSettings.java | 85 Settings.Global.AUTOMATIC_POWER_SAVE_MODE,
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverStateMachine.java | 342 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/ |
D | GlobalSettingsValidators.java | 161 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/ |
D | PowerNotificationWarnings.java | 353 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/ |
D | powermanagerservice.proto | 395 // 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/ |
D | SettingsProtoDumpUtil.java | 913 Settings.Global.AUTOMATIC_POWER_SAVE_MODE, in dumpProtoGlobalSettingsLocked()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 6271 Settings.Global.AUTOMATIC_POWER_SAVE_MODE,
|
/frameworks/base/core/java/android/provider/ |
D | Settings.java | 16569 public static final String AUTOMATIC_POWER_SAVE_MODE = "automatic_power_save_mode"; field in Settings.Global
|
/frameworks/base/core/api/ |
D | test-current.txt | 2856 field public static final String AUTOMATIC_POWER_SAVE_MODE = "automatic_power_save_mode";
|