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.java3156 long totalTimeMillis = (totalTimeMicros + 500) / 1000; in computeWakeLock() local
3157 return totalTimeMillis; in computeWakeLock()
3176 long totalTimeMillis = computeWakeLock(timer, elapsedRealtimeUs, which); in printWakeLock() local
3179 if (totalTimeMillis != 0) { in printWakeLock()
3181 formatTimeMs(sb, totalTimeMillis); in printWakeLock()
3196 if (totalDurMs > totalTimeMillis) { in printWakeLock()
5259 final long totalTimeMillis = computeWakeLock(timer, rawRealtime, which); in dumpLocked()
5260 if (totalTimeMillis > 0) { in dumpLocked()
5261 ktimers.add(new TimerEntry(ent.getKey(), 0, timer, totalTimeMillis)); in dumpLocked()