Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java2212 public long computeUptime(long curTimeUs, int which) { in computeUptime() argument
2213 return mUptimeUs + getUptime(curTimeUs); in computeUptime()
2216 public long computeRealtime(long curTimeUs, int which) { in computeRealtime() argument
2217 return mRealtimeUs + getRealtime(curTimeUs); in computeRealtime()
2220 public long getUptime(long curTimeUs) { in getUptime() argument
2223 time += curTimeUs - mUptimeStartUs; in getUptime()
2228 public long getRealtime(long curTimeUs) { in getRealtime() argument
2231 time += curTimeUs - mRealtimeStartUs; in getRealtime()
3247 private long computeOverage(long curTimeUs) { in computeOverage() argument
3249 return mLastAddedDurationUs - curTimeUs; in computeOverage()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java1163 final long curTimeUs = SystemClock.elapsedRealtimeNanos() / 1000; in computeBatteryScreenOffRealtimeMs() local
1164 long timeUs = mStats.computeBatteryScreenOffRealtime(curTimeUs, in computeBatteryScreenOffRealtimeMs()