Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySavingStats.java109 public long totalTimeMillis; field in BatterySavingStats.Stat
114 return totalTimeMillis / 60_000; in totalMinutes()
118 if (totalTimeMillis == 0) { in drainPerHour()
121 return (double) totalBatteryDrain / (totalTimeMillis / (60.0 * 60 * 1000)); in drainPerHour()
125 if (totalTimeMillis == 0) { in drainPercentPerHour()
128 return (double) totalBatteryDrainPercent / (totalTimeMillis / (60.0 * 60 * 1000)); in drainPercentPerHour()
323 stat.totalTimeMillis += deltaTime; in endLastStateLocked()
343 stat.totalTimeMillis, in endLastStateLocked()
/frameworks/base/core/java/android/os/
DBatteryStats.java3208 long totalTimeMillis = (totalTimeMicros + 500) / 1000; in computeWakeLock() local
3209 return totalTimeMillis; in computeWakeLock()
3228 long totalTimeMillis = computeWakeLock(timer, elapsedRealtimeUs, which); in printWakeLock() local
3231 if (totalTimeMillis != 0) { in printWakeLock()
3233 formatTimeMs(sb, totalTimeMillis); in printWakeLock()
3248 if (totalDurMs > totalTimeMillis) { in printWakeLock()
5311 final long totalTimeMillis = computeWakeLock(timer, rawRealtime, which); in dumpLocked()
5312 if (totalTimeMillis > 0) { in dumpLocked()
5313 ktimers.add(new TimerEntry(ent.getKey(), 0, timer, totalTimeMillis)); in dumpLocked()