Home
last modified time | relevance | path

Searched refs:getProcessStateTime (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryUtilsTest.java148 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()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryUtils.java134 final long localTime = uid.getProcessStateTime(type, rawRealTimeUs, which); in getScreenUsageTimeMs()
153 final long timeUs = uid.getProcessStateTime( in getProcessBackgroundTimeMs()
DFakeUid.java232 public long getProcessStateTime(int state, long elapsedRealtimeUs, int which) { in getProcessStateTime() method in FakeUid