Home
last modified time | relevance | path

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

/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/batterysaver/
H A DBatterySaverScheduleRadioButtonsControllerTest.java52 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in getDefaultKey_routine_returnsCorrectValue()
60 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in getDefaultKey_automatic_returnsCorrectValue()
69 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in getDefaultKey_none_returnsCorrectValue()
89 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in setDefaultKey_percentage_shouldSuppressNotification()
103 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in setDefaultKey_routine_shouldSuppressNotification()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterysaver/
H A DBatterySaverScheduleSeekBarControllerTest.java58 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in updateSeekBar_routineMode_hasCorrectProperties()
68 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in updateSeekBar_percentageMode_hasCorrectProperties()
80 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in updateSeekBar_noneMode_hasCorrectProperties()
90 Settings.Global.putInt(mResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in addToScreen_addsToEnd()
H A DBatterySaverSchedulePreferenceControllerTest.java65 Global.AUTOMATIC_POWER_SAVE_MODE, PowerManager.POWER_SAVE_MODE_TRIGGER_PERCENTAGE); in testPreference_lowPowerLevelZero_percentageMode_summaryNoSchedule()
77 Global.AUTOMATIC_POWER_SAVE_MODE, PowerManager.POWER_SAVE_MODE_TRIGGER_PERCENTAGE); in testPreference_lowPowerLevelNonZero_percentageMode_summaryPercentage()
90 Global.AUTOMATIC_POWER_SAVE_MODE, PowerManager.POWER_SAVE_MODE_TRIGGER_DYNAMIC); in testPreference_percentageRoutine_summaryRoutine()
H A DBatterySaverScheduleSettingsTest.java97 Settings.Global.AUTOMATIC_POWER_SAVE_MODE, scheduleType); in setSchedule()
/aosp12/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/
H A DBatterySaverScheduleRadioButtonsController.java57 final int mode = Settings.Global.getInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in getDefaultKey()
112 Settings.Global.putInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, mode); in setDefaultKey()
H A DBatterySaverSchedulePreferenceController.java64 final int mode = Settings.Global.getInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in getSummary()
H A DBatterySaverScheduleSeekBarController.java84 final int mode = Settings.Global.getInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in updateSeekBar()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
H A DBatterySaverUtils.java230 final int currentMode = Global.getInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in revertScheduleToNoneIfNeeded()
236 Global.putInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in revertScheduleToNoneIfNeeded()
/aosp12/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/
H A DGlobalSettingsValidators.java112 Global.AUTOMATIC_POWER_SAVE_MODE, in VALIDATORS.put() argument
144 VALIDATORS.put(Global.AUTOMATIC_POWER_SAVE_MODE, ANY_INTEGER_VALIDATOR); in VALIDATORS.put() argument
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/batterysaver/
H A DBatterySaverStateMachineTest.java122 mPersistedState.global.getOrDefault(Global.AUTOMATIC_POWER_SAVE_MODE, 0), in pushGlobalSettings()
333 mDevice.putGlobalSetting(Global.AUTOMATIC_POWER_SAVE_MODE, 0); in testAutoBatterySaver()
818 mDevice.putGlobalSetting(Global.AUTOMATIC_POWER_SAVE_MODE, 0); in testAutoBatterySaver_withStickyDisabled()
935 mDevice.putGlobalSetting(Global.AUTOMATIC_POWER_SAVE_MODE, in testAutoBatterySaver_smartBatterySaverEnabled()
1058 mDevice.putGlobalSetting(Global.AUTOMATIC_POWER_SAVE_MODE, in testAutoBatterySaver_snoozed_autoEnabled()
1167 mDevice.putGlobalSetting(Global.AUTOMATIC_POWER_SAVE_MODE, in testAutoBatterySaver_snoozed_dynamicEnabled()
/aosp12/frameworks/base/packages/SettingsProvider/src/android/provider/settings/backup/
H A DGlobalSettings.java79 Settings.Global.AUTOMATIC_POWER_SAVE_MODE,
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
H A DBatterySaverControllerTest.java107 Settings.Global.AUTOMATIC_POWER_SAVE_MODE, in getSummary_batterySaverOffButScheduledBasedOnRoutine_showSummaryBasedOnRoutine()
/aosp12/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatterySaverController.java105 Global.AUTOMATIC_POWER_SAVE_MODE, PowerManager.POWER_SAVE_MODE_TRIGGER_PERCENTAGE); in getSummary()
/aosp12/frameworks/base/services/core/java/com/android/server/power/batterysaver/
H A DBatterySaverStateMachine.java311 Settings.Global.AUTOMATIC_POWER_SAVE_MODE), in onBootCompleted()
374 Settings.Global.AUTOMATIC_POWER_SAVE_MODE, in refreshSettingsLocked()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerNotificationWarnings.java629 Global.AUTOMATIC_POWER_SAVE_MODE, in showStartSaverConfirmation()
/aosp12/frameworks/base/core/proto/android/server/
H A Dpowermanagerservice.proto388 // The value of Global.AUTOMATIC_POWER_SAVE_MODE. This is a cached value, so it could
/aosp12/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProtoDumpUtil.java909 Settings.Global.AUTOMATIC_POWER_SAVE_MODE, in dumpProtoGlobalSettingsLocked()
/aosp12/frameworks/base/services/core/java/com/android/server/power/
H A DPowerManagerService.java5504 Settings.Global.AUTOMATIC_POWER_SAVE_MODE,
/aosp12/frameworks/base/core/java/android/provider/
H A DSettings.java14015 public static final String AUTOMATIC_POWER_SAVE_MODE = "automatic_power_save_mode"; field in Settings.Global
/aosp12/frameworks/base/core/api/
H A Dtest-lint-baseline.txt2508 NoSettingsProvider: android.provider.Settings.Global#AUTOMATIC_POWER_SAVE_MODE:
H A Dtest-current.txt2150 field public static final String AUTOMATIC_POWER_SAVE_MODE = "automatic_power_save_mode";