Searched refs:getProcessStateTime (Results 1 – 3 of 3) sorted by relevance
148 doReturn(TIME_STATE_TOP).when(mUid).getProcessStateTime(eq(PROCESS_STATE_TOP), anyLong(), in setUp()150 doReturn(TIME_STATE_FOREGROUND_SERVICE).when(mUid).getProcessStateTime( in setUp()152 doReturn(TIME_STATE_TOP_SLEEPING).when(mUid).getProcessStateTime( in setUp()154 doReturn(TIME_STATE_FOREGROUND).when(mUid).getProcessStateTime(eq(PROCESS_STATE_FOREGROUND), in setUp()156 doReturn(TIME_STATE_BACKGROUND).when(mUid).getProcessStateTime(eq(PROCESS_STATE_BACKGROUND), in setUp()
134 final long localTime = uid.getProcessStateTime(type, rawRealTimeUs, which); in getScreenUsageTimeMs()153 final long timeUs = uid.getProcessStateTime( in getProcessBackgroundTimeMs()
232 public long getProcessStateTime(int state, long elapsedRealtimeUs, int which) { in getProcessStateTime() method in FakeUid