Searched refs:currentSnapshot (Results 1 – 2 of 2) sorted by relevance
432 void maybeShowHybridWarning(BatteryStateSnapshot currentSnapshot, in maybeShowHybridWarning() argument435 if (currentSnapshot.getBatteryLevel() >= CHARGE_CYCLE_PERCENT_RESET) { in maybeShowHybridWarning()443 final boolean playSound = currentSnapshot.getBucket() != lastSnapshot.getBucket() in maybeShowHybridWarning()446 if (shouldShowHybridWarning(currentSnapshot)) { in maybeShowHybridWarning()450 if (currentSnapshot.getBatteryLevel() <= currentSnapshot.getSevereLevelThreshold()) { in maybeShowHybridWarning()460 } else if (shouldDismissHybridWarning(currentSnapshot)) { in maybeShowHybridWarning()510 BatteryStateSnapshot currentSnapshot, in maybeShowBatteryWarning() argument512 final boolean playSound = currentSnapshot.getBucket() != lastSnapshot.getBucket() in maybeShowBatteryWarning()515 if (shouldShowLowBatteryWarning(currentSnapshot, lastSnapshot)) { in maybeShowBatteryWarning()517 } else if (shouldDismissLowBatteryWarning(currentSnapshot, lastSnapshot)) { in maybeShowBatteryWarning()[all …]
535 Snapshot currentSnapshot = mSnapshotsByUptime.get(uptimeMillis); in appendCpuInfo() local536 if (currentSnapshot == null) { in appendCpuInfo()537 currentSnapshot = new Snapshot(uptimeMillis); in appendCpuInfo()538 mSnapshotsByUptime.append(uptimeMillis, currentSnapshot); in appendCpuInfo()545 currentSnapshot.appendCpuInfo(cpuInfo); in appendCpuInfo()