Searched refs:getForegroundActivityTotalTimeUs (Results 1 – 3 of 3) sorted by relevance
250 .getForegroundActivityTotalTimeUs(eq(mUid), anyLong()); in testGetProcessTimeMs_typeForeground_timeCorrect()269 .getForegroundActivityTotalTimeUs(eq(mUid), anyLong()); in testGetProcessTimeMs_typeAll_timeCorrect()462 assertThat(mBatteryUtils.getForegroundActivityTotalTimeUs(mUid, rawRealtimeUs)).isEqualTo( in testGetForegroundActivityTotalTimeMs_returnMilliseconds()
144 Math.min(timeUs, getForegroundActivityTotalTimeUs(uid, rawRealTimeUs))); in getScreenUsageTimeMs()493 long getForegroundActivityTotalTimeUs(BatteryStats.Uid uid, long rawRealtimeUs) { in getForegroundActivityTotalTimeUs() method in BatteryUtils
149 Math.min(timeUs, getForegroundActivityTotalTimeUs(uid, rawRealTimeUs))); in getScreenUsageTimeMs()532 long getForegroundActivityTotalTimeUs(BatteryStats.Uid uid, long rawRealtimeUs) { in getForegroundActivityTotalTimeUs() method in BatteryUtils