Home
last modified time | relevance | path

Searched refs:mLowWarningShownThisChargeCycle (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerUITest.java356 assertThat(mPowerUI.mLowWarningShownThisChargeCycle).isTrue(); in testMaybeShowHybridWarning()
366 assertThat(mPowerUI.mLowWarningShownThisChargeCycle).isTrue(); in testMaybeShowHybridWarning()
376 assertThat(mPowerUI.mLowWarningShownThisChargeCycle).isFalse(); in testMaybeShowHybridWarning()
383 mPowerUI.mLowWarningShownThisChargeCycle = false; in testShouldShowHybridWarning_lowLevelWarning()
406 mPowerUI.mLowWarningShownThisChargeCycle = true; in testShouldShowHybridWarning_lowLevelWarning()
412 mPowerUI.mLowWarningShownThisChargeCycle = false; in testShouldShowHybridWarning_lowLevelWarning()
448 mPowerUI.mLowWarningShownThisChargeCycle = false; in testShouldShowHybridWarning_severeLevelWarning()
471 mPowerUI.mLowWarningShownThisChargeCycle = true; in testShouldShowHybridWarning_severeLevelWarning()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java98 @VisibleForTesting boolean mLowWarningShownThisChargeCycle; field in PowerUI
395 mLowWarningShownThisChargeCycle = false; in maybeShowHybridWarning()
414 mLowWarningShownThisChargeCycle = true; in maybeShowHybridWarning()
420 mLowWarningShownThisChargeCycle = true; in maybeShowHybridWarning()
448 && !mLowWarningShownThisChargeCycle && !snapshot.isPowerSaver() in shouldShowHybridWarning()
463 + " mLowWarningShownThisChargeCycle: " + mLowWarningShownThisChargeCycle in shouldShowHybridWarning()