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.java213 protected KernelSingleUidTimeReader mKernelSingleUidTimeReader; field in BatteryStatsImpl
303 if (mKernelSingleUidTimeReader != null) { in remove()
304 mKernelSingleUidTimeReader.removeUid(startUid); in remove()
314 if (mKernelSingleUidTimeReader != null) { in remove()
315 mKernelSingleUidTimeReader.removeUidsInRange(startUid, endUid); in remove()
476 long[] cpuTimesMs = mKernelSingleUidTimeReader.readDeltaMs(uid); in updateProcStateCpuTimes()
480 mKernelSingleUidTimeReader.readDeltaMs(isolatedUids[j])); in updateProcStateCpuTimes()
527 mKernelSingleUidTimeReader.setAllUidsCpuTimesMs(allUidCpuFreqTimesMs); in copyFromAllUidsCpuTimes()
542 final long[] deltaTimesMs = mKernelSingleUidTimeReader.computeDelta( in copyFromAllUidsCpuTimes()
575 if (mKernelSingleUidTimeReader == null) { in initKernelSingleUidTimeReaderLocked()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt88771 Lcom/android/internal/os/BatteryStatsImpl;->mKernelSingleUidTimeReader:Lcom/android/internal/os/Ker…