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.java113 public long totalTimeMillis; field in BatterySavingStats.Stat
118 return totalTimeMillis / 60_000; in totalMinutes()
122 if (totalTimeMillis == 0) { in drainPerHour()
125 return (double) totalBatteryDrain / (totalTimeMillis / (60.0 * 60 * 1000)); in drainPerHour()
129 if (totalTimeMillis == 0) { in drainPercentPerHour()
132 return (double) totalBatteryDrainPercent / (totalTimeMillis / (60.0 * 60 * 1000)); in drainPercentPerHour()
346 stat.totalTimeMillis += deltaTime; in endLastStateLocked()
366 stat.totalTimeMillis, in endLastStateLocked()
/frameworks/base/core/java/android/os/
DBatteryStats.java3050 long totalTimeMillis = (totalTimeMicros + 500) / 1000; in computeWakeLock() local
3051 return totalTimeMillis; in computeWakeLock()
3070 long totalTimeMillis = computeWakeLock(timer, elapsedRealtimeUs, which); in printWakeLock() local
3073 if (totalTimeMillis != 0) { in printWakeLock()
3075 formatTimeMs(sb, totalTimeMillis); in printWakeLock()
3090 if (totalDurMs > totalTimeMillis) { in printWakeLock()
5152 final long totalTimeMillis = computeWakeLock(timer, rawRealtime, which); in dumpLocked() local
5153 if (totalTimeMillis > 0) { in dumpLocked()
5154 ktimers.add(new TimerEntry(ent.getKey(), 0, timer, totalTimeMillis)); in dumpLocked()