Searched refs:curTimeUs (Results 1 – 2 of 2) sorted by relevance
2212 public long computeUptime(long curTimeUs, int which) { in computeUptime() argument2213 return mUptimeUs + getUptime(curTimeUs); in computeUptime()2216 public long computeRealtime(long curTimeUs, int which) { in computeRealtime() argument2217 return mRealtimeUs + getRealtime(curTimeUs); in computeRealtime()2220 public long getUptime(long curTimeUs) { in getUptime() argument2223 time += curTimeUs - mUptimeStartUs; in getUptime()2228 public long getRealtime(long curTimeUs) { in getRealtime() argument2231 time += curTimeUs - mRealtimeStartUs; in getRealtime()3247 private long computeOverage(long curTimeUs) { in computeOverage() argument3249 return mLastAddedDurationUs - curTimeUs; in computeOverage()[all …]
1163 final long curTimeUs = SystemClock.elapsedRealtimeNanos() / 1000; in computeBatteryScreenOffRealtimeMs() local1164 long timeUs = mStats.computeBatteryScreenOffRealtime(curTimeUs, in computeBatteryScreenOffRealtimeMs()