Searched refs:needFirstTimeWarning (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | BatterySaverUtils.java | 123 boolean enable, boolean needFirstTimeWarning, @SaverManualEnabledReason int reason) { in setPowerSaveMode() argument 131 if (enable && needFirstTimeWarning in setPowerSaveMode() 135 if (enable && !needFirstTimeWarning) { in setPowerSaveMode()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/ |
D | BatterySaverUtilsTest.java | 274 private void verifyDisablePowerSaveMode(boolean needFirstTimeWarning) { in verifyDisablePowerSaveMode() argument 280 assertThat(BatterySaverUtils.setPowerSaveMode(mMockContext, false, needFirstTimeWarning, in verifyDisablePowerSaveMode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerNotificationWarnings.java | 801 private void setSaverMode(boolean mode, boolean needFirstTimeWarning, in setSaverMode() argument 803 BatterySaverUtils.setPowerSaveMode(mContext, mode, needFirstTimeWarning, reason); in setSaverMode()
|