Searched refs:lastSnapshot (Results 1 – 1 of 1) sorted by relevance
388 BatteryStateSnapshot lastSnapshot) { in maybeShowHybridWarning() argument402 final boolean playSound = currentSnapshot.getBucket() != lastSnapshot.getBucket() in maybeShowHybridWarning()403 || lastSnapshot.getPlugged(); in maybeShowHybridWarning()478 BatteryStateSnapshot lastSnapshot) { in maybeShowBatteryWarning() argument479 final boolean playSound = currentSnapshot.getBucket() != lastSnapshot.getBucket() in maybeShowBatteryWarning()480 || lastSnapshot.getPlugged(); in maybeShowBatteryWarning()482 if (shouldShowLowBatteryWarning(currentSnapshot, lastSnapshot)) { in maybeShowBatteryWarning()484 } else if (shouldDismissLowBatteryWarning(currentSnapshot, lastSnapshot)) { in maybeShowBatteryWarning()494 BatteryStateSnapshot lastSnapshot) { in shouldShowLowBatteryWarning() argument497 && (((currentSnapshot.getBucket() < lastSnapshot.getBucket() in shouldShowLowBatteryWarning()[all …]