Searched refs:getForegroundActivityTotalTimeUs (Results 1 – 2 of 2) sorted by relevance
173 .getForegroundActivityTotalTimeUs(eq(mUid), anyLong()); in testGetProcessTimeMs_typeForeground_timeCorrect()195 .getForegroundActivityTotalTimeUs(eq(mUid), anyLong()); in testGetProcessTimeMs_typeAll_timeCorrect()240 assertThat(mBatteryUtils.getForegroundActivityTotalTimeUs(mUid, rawRealtimeUs)) in testGetForegroundActivityTotalTimeMs_returnMilliseconds()
176 Math.min(timeUs, getForegroundActivityTotalTimeUs(uid, rawRealTimeUs))); in getScreenUsageTimeMs()507 long getForegroundActivityTotalTimeUs(BatteryStats.Uid uid, long rawRealtimeUs) { in getForegroundActivityTotalTimeUs() method in BatteryUtils