Searched refs:mKernelSingleUidTimeReader (Results 1 – 3 of 3) sorted by relevance
56 private KernelSingleUidTimeReader mKernelSingleUidTimeReader; field in BatteryStatsImplTest65 when(mKernelSingleUidTimeReader.singleUidCpuTimesAvailable()).thenReturn(true); in setUp()68 .setKernelSingleUidTimeReader(mKernelSingleUidTimeReader); in setUp()91 when(mKernelSingleUidTimeReader.readDeltaMs(testUids[i])).thenReturn(cpuTimes[i]); in testUpdateProcStateCpuTimes()124 when(mKernelSingleUidTimeReader.readDeltaMs(testUids[i])).thenReturn(delta1[i]); in testUpdateProcStateCpuTimes()156 when(mKernelSingleUidTimeReader.readDeltaMs(testUids[i])).thenReturn(delta2[i]); in testUpdateProcStateCpuTimes()189 when(mKernelSingleUidTimeReader.readDeltaMs(testUids[i])).thenReturn( in testUpdateProcStateCpuTimes()197 when(mKernelSingleUidTimeReader.readDeltaMs(childUid)).thenReturn(isolatedUidCpuTimes); in testUpdateProcStateCpuTimes()263 when(mKernelSingleUidTimeReader.computeDelta(eq(testUids[i]), argThat(matcher))) in testCopyFromAllUidsCpuTimes()
118 mKernelSingleUidTimeReader = reader; in setKernelSingleUidTimeReader()
219 protected KernelSingleUidTimeReader mKernelSingleUidTimeReader; field in BatteryStatsImpl297 if (mKernelSingleUidTimeReader != null) { in remove()298 mKernelSingleUidTimeReader.removeUid(startUid); in remove()308 if (mKernelSingleUidTimeReader != null) { in remove()309 mKernelSingleUidTimeReader.removeUidsInRange(startUid, endUid); in remove()404 if (mKernelSingleUidTimeReader.hasStaleData()) { in updateProcStateCpuTimes()437 long[] cpuTimesMs = mKernelSingleUidTimeReader.readDeltaMs(uid); in updateProcStateCpuTimes()441 mKernelSingleUidTimeReader.readDeltaMs(isolatedUids[j])); in updateProcStateCpuTimes()487 if (mKernelSingleUidTimeReader.hasStaleData()) { in copyFromAllUidsCpuTimes()488 mKernelSingleUidTimeReader.setAllUidsCpuTimesMs(allUidCpuFreqTimesMs); in copyFromAllUidsCpuTimes()[all …]