Home
last modified time | relevance | path

Searched refs:mKernelSingleUidTimeReader (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsImplTest.java60 private KernelSingleUidTimeReader mKernelSingleUidTimeReader; field in BatteryStatsImplTest
69 when(mKernelSingleUidTimeReader.singleUidCpuTimesAvailable()).thenReturn(true); in setUp()
72 .setKernelSingleUidTimeReader(mKernelSingleUidTimeReader); in setUp()
95 when(mKernelSingleUidTimeReader.readDeltaMs(testUids[i])).thenReturn(cpuTimes[i]); in testUpdateProcStateCpuTimes()
128 when(mKernelSingleUidTimeReader.readDeltaMs(testUids[i])).thenReturn(delta1[i]); in testUpdateProcStateCpuTimes()
160 when(mKernelSingleUidTimeReader.readDeltaMs(testUids[i])).thenReturn(delta2[i]); in testUpdateProcStateCpuTimes()
193 when(mKernelSingleUidTimeReader.readDeltaMs(testUids[i])).thenReturn( in testUpdateProcStateCpuTimes()
201 when(mKernelSingleUidTimeReader.readDeltaMs(childUid)).thenReturn(isolatedUidCpuTimes); in testUpdateProcStateCpuTimes()
267 when(mKernelSingleUidTimeReader.computeDelta(eq(testUids[i]), argThat(matcher))) in testCopyFromAllUidsCpuTimes()
DMockBatteryStatsImpl.java127 mKernelSingleUidTimeReader = reader; in setKernelSingleUidTimeReader()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java211 protected KernelSingleUidTimeReader mKernelSingleUidTimeReader; field in BatteryStatsImpl
301 if (mKernelSingleUidTimeReader != null) { in remove()
302 mKernelSingleUidTimeReader.removeUid(startUid); in remove()
312 if (mKernelSingleUidTimeReader != null) { in remove()
313 mKernelSingleUidTimeReader.removeUidsInRange(startUid, endUid); in remove()
474 long[] cpuTimesMs = mKernelSingleUidTimeReader.readDeltaMs(uid); in updateProcStateCpuTimes()
478 mKernelSingleUidTimeReader.readDeltaMs(isolatedUids[j])); in updateProcStateCpuTimes()
525 mKernelSingleUidTimeReader.setAllUidsCpuTimesMs(allUidCpuFreqTimesMs); in copyFromAllUidsCpuTimes()
540 final long[] deltaTimesMs = mKernelSingleUidTimeReader.computeDelta( in copyFromAllUidsCpuTimes()
573 if (mKernelSingleUidTimeReader == null) { in initKernelSingleUidTimeReaderLocked()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt95138 Lcom/android/internal/os/BatteryStatsImpl;->mKernelSingleUidTimeReader:Lcom/android/internal/os/Ker…