Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryUtils.java161 private long getScreenUsageTimeMs(BatteryStats.Uid uid, int which, long rawRealTimeUs) { in getScreenUsageTimeMs() argument
167 final long localTime = uid.getProcessStateTime(type, rawRealTimeUs, which); in getScreenUsageTimeMs()
176 Math.min(timeUs, getForegroundActivityTotalTimeUs(uid, rawRealTimeUs))); in getScreenUsageTimeMs()
180 final long rawRealTimeUs = PowerUtil.convertMsToUs(SystemClock.elapsedRealtime()); in getScreenUsageTimeMs() local
181 return getScreenUsageTimeMs(uid, which, rawRealTimeUs); in getScreenUsageTimeMs()
185 final long rawRealTimeUs = PowerUtil.convertMsToUs(SystemClock.elapsedRealtime()); in getProcessBackgroundTimeMs() local
188 BatteryStats.Uid.PROCESS_STATE_BACKGROUND, rawRealTimeUs, which); in getProcessBackgroundTimeMs()
196 final long rawRealTimeUs = PowerUtil.convertMsToUs(SystemClock.elapsedRealtime()); in getProcessForegroundTimeMs() local
197 return getScreenUsageTimeMs(uid, which, rawRealTimeUs) in getProcessForegroundTimeMs()
198 + PowerUtil.convertUsToMs(getForegroundServiceTotalTimeUs(uid, rawRealTimeUs)); in getProcessForegroundTimeMs()