Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerUI.java406 if (shouldShowHybridWarning(currentSnapshot)) { in maybeShowHybridWarning()
412 || currentSnapshot.getBatteryLevel() in maybeShowHybridWarning()
478 BatteryStateSnapshot currentSnapshot, in maybeShowBatteryWarning() argument
494 BatteryStateSnapshot currentSnapshot, in shouldShowLowBatteryWarning() argument
496 return !currentSnapshot.getPlugged() in shouldShowLowBatteryWarning()
497 && !currentSnapshot.isPowerSaver() in shouldShowLowBatteryWarning()
500 && currentSnapshot.getBucket() < 0)) in shouldShowLowBatteryWarning()
506 BatteryStateSnapshot currentSnapshot, in shouldDismissLowBatteryWarning() argument
508 return currentSnapshot.isPowerSaver() in shouldDismissLowBatteryWarning()
509 || currentSnapshot.getPlugged() in shouldDismissLowBatteryWarning()
[all …]