Searched refs:rawRealTimeUs (Results 1 – 1 of 1) sorted by relevance
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryUtils.java | 128 private long getScreenUsageTimeMs(BatteryStats.Uid uid, int which, long rawRealTimeUs) { in getScreenUsageTimeMs() argument 134 final long localTime = uid.getProcessStateTime(type, rawRealTimeUs, which); in getScreenUsageTimeMs() 143 Math.min(timeUs, getForegroundActivityTotalTimeUs(uid, rawRealTimeUs))); in getScreenUsageTimeMs() 147 final long rawRealTimeUs = PowerUtil.convertMsToUs(SystemClock.elapsedRealtime()); in getScreenUsageTimeMs() local 148 return getScreenUsageTimeMs(uid, which, rawRealTimeUs); in getScreenUsageTimeMs() 152 final long rawRealTimeUs = PowerUtil.convertMsToUs(SystemClock.elapsedRealtime()); in getProcessBackgroundTimeMs() local 154 BatteryStats.Uid.PROCESS_STATE_BACKGROUND, rawRealTimeUs, which); in getProcessBackgroundTimeMs() 162 final long rawRealTimeUs = PowerUtil.convertMsToUs(SystemClock.elapsedRealtime()); in getProcessForegroundTimeMs() local 163 return getScreenUsageTimeMs(uid, which, rawRealTimeUs) in getProcessForegroundTimeMs() 164 + PowerUtil.convertUsToMs(getForegroundServiceTotalTimeUs(uid, rawRealTimeUs)); in getProcessForegroundTimeMs()
|