Searched refs:lastSnapshot (Results 1 – 1 of 1) sorted by relevance
352 BatteryStateSnapshot lastSnapshot) { in maybeShowHybridWarning() argument364 final boolean playSound = currentSnapshot.getBucket() != lastSnapshot.getBucket() in maybeShowHybridWarning()365 || lastSnapshot.getPlugged(); in maybeShowHybridWarning()437 BatteryStateSnapshot lastSnapshot) { in maybeShowBatteryWarning() argument438 final boolean playSound = currentSnapshot.getBucket() != lastSnapshot.getBucket() in maybeShowBatteryWarning()439 || lastSnapshot.getPlugged(); in maybeShowBatteryWarning()441 if (shouldShowLowBatteryWarning(currentSnapshot, lastSnapshot)) { in maybeShowBatteryWarning()443 } else if (shouldDismissLowBatteryWarning(currentSnapshot, lastSnapshot)) { in maybeShowBatteryWarning()453 BatteryStateSnapshot lastSnapshot) { in shouldShowLowBatteryWarning() argument456 && (((currentSnapshot.getBucket() < lastSnapshot.getBucket() in shouldShowLowBatteryWarning()[all …]