Searched refs:getForegroundActivityTotalTimeUs (Results 1 – 2 of 2) sorted by relevance
184 .getForegroundActivityTotalTimeUs(eq(mUid), anyLong()); in testGetProcessTimeMs_typeForeground_timeCorrect()203 .getForegroundActivityTotalTimeUs(eq(mUid), anyLong()); in testGetProcessTimeMs_typeAll_timeCorrect()278 assertThat(mBatteryUtils.getForegroundActivityTotalTimeUs(mUid, rawRealtimeUs)).isEqualTo( in testGetForegroundActivityTotalTimeMs_returnMilliseconds()
143 Math.min(timeUs, getForegroundActivityTotalTimeUs(uid, rawRealTimeUs))); in getScreenUsageTimeMs()424 long getForegroundActivityTotalTimeUs(BatteryStats.Uid uid, long rawRealtimeUs) { in getForegroundActivityTotalTimeUs() method in BatteryUtils