Searched refs:LOW_POWER_MODE_TRIGGER_LEVEL (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/ |
D | BatterySaverUtilsTest.java | 159 Global.putInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in testEnsureAutoBatterysaver_setNewPositiveValue_doNotOverwrite() 163 assertThat(Global.getInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, -1)) in testEnsureAutoBatterysaver_setNewPositiveValue_doNotOverwrite() 168 assertThat(Global.getInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, -1)) in testEnsureAutoBatterysaver_setNewPositiveValue_doNotOverwrite() 174 Global.putString(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, "null"); in testSetAutoBatterySaverTriggerLevel_setSuppressSuggestion() 178 assertThat(Global.getInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, -1)) in testSetAutoBatterySaverTriggerLevel_setSuppressSuggestion() 184 assertThat(Global.getInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, -1)) in testSetAutoBatterySaverTriggerLevel_setSuppressSuggestion()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | BatterySaverUtils.java | 141 && Global.getInt(cr, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0) == 0 in setPowerSaveMode() 207 Global.putInt(context.getContentResolver(), Global.LOW_POWER_MODE_TRIGGER_LEVEL, level); in setAutoBatterySaverTriggerLevel() 215 if (Global.getInt(context.getContentResolver(), Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0) in ensureAutoBatterySaver() 233 Global.putInt(resolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in revertScheduleToNoneIfNeeded()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/batterysaver/ |
D | BatterySaverStateMachineTest.java | 89 return mPersistedState.global.getOrDefault(Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in getLowPowerModeTriggerLevel() 332 mDevice.putGlobalSetting(Global.LOW_POWER_MODE_TRIGGER_LEVEL, 50); in testAutoBatterySaver() 436 mDevice.putGlobalSetting(Global.LOW_POWER_MODE_TRIGGER_LEVEL, 70); in testAutoBatterySaver() 444 mDevice.putGlobalSetting(Global.LOW_POWER_MODE_TRIGGER_LEVEL, 60); in testAutoBatterySaver() 467 mDevice.putGlobalSetting(Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in testAutoBatterySaver() 484 mDevice.putGlobalSetting(Global.LOW_POWER_MODE_TRIGGER_LEVEL, 50); in testAutoBatterySaver_withSticky_withAutoOffDisabled() 559 mDevice.putGlobalSetting(Global.LOW_POWER_MODE_TRIGGER_LEVEL, 50); in testAutoBatterySaver_withSticky_withAutoOffEnabled() 734 mDevice.putGlobalSetting(Global.LOW_POWER_MODE_TRIGGER_LEVEL, 75); in testAutoBatterySaver_withSticky_withAutoOffEnabled() 770 mDevice.putGlobalSetting(Global.LOW_POWER_MODE_TRIGGER_LEVEL, 50); in testAutoBatterySaver_withSticky_withAutoOffToggled() 817 mDevice.putGlobalSetting(Global.LOW_POWER_MODE_TRIGGER_LEVEL, 50); in testAutoBatterySaver_withStickyDisabled() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverStateMachine.java | 305 Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL), in onBootCompleted() 369 Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in refreshSettingsLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerUI.java | 116 Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL), in start()
|
D | PowerNotificationWarnings.java | 586 Global.LOW_POWER_MODE_TRIGGER_LEVEL, in showStartSaverConfirmation()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BatteryService.java | 264 Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL), in onBootPhase() 319 Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL, defWarnLevel); in updateBatteryWarningLevelLocked()
|
/frameworks/base/core/proto/android/server/ |
D | powermanagerservice.proto | 369 // The value of Global.LOW_POWER_MODE_TRIGGER_LEVEL. This is a cached value, so it could
|
/frameworks/base/core/java/android/provider/ |
D | Settings.java | 12876 public static final String LOW_POWER_MODE_TRIGGER_LEVEL = "low_power_trigger_level"; field in Settings.Global 13861 LOW_POWER_MODE_TRIGGER_LEVEL, 13911 VALIDATORS.put(LOW_POWER_MODE_TRIGGER_LEVEL, LOW_POWER_MODE_TRIGGER_LEVEL_VALIDATOR); in VALIDATORS.put() argument
|
/frameworks/base/core/proto/android/providers/settings/ |
D | global.proto | 549 // The max value for {@link #LOW_POWER_MODE_TRIGGER_LEVEL}. If this setting
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProtoDumpUtil.java | 856 Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL, in dumpProtoGlobalSettingsLocked()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 56246 Landroid/provider/Settings$Global;->LOW_POWER_MODE_TRIGGER_LEVEL:Ljava/lang/String;
|