Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsCpuTimesTest.java77 KernelUidCpuTimeReader mKernelUidCpuTimeReader; field in BatteryStatsCpuTimesTest
99 .setKernelUidCpuTimeReader(mKernelUidCpuTimeReader) in setUp()
121 verify(mKernelUidCpuTimeReader).readDelta(null); in testUpdateCpuTimeLocked()
128 Mockito.reset(mUserInfoProvider, mKernelUidCpuFreqTimeReader, mKernelUidCpuTimeReader); in testUpdateCpuTimeLocked()
141 verify(mKernelUidCpuTimeReader).readDelta(any(KernelUidCpuTimeReader.Callback.class)); in testUpdateCpuTimeLocked()
260 }).when(mKernelUidCpuTimeReader).readDelta(any(KernelUidCpuTimeReader.Callback.class)); in testReadKernelUidCpuTimesLocked()
294 }).when(mKernelUidCpuTimeReader).readDelta(any(KernelUidCpuTimeReader.Callback.class)); in testReadKernelUidCpuTimesLocked()
333 }).when(mKernelUidCpuTimeReader).readDelta(any(KernelUidCpuTimeReader.Callback.class)); in testReadKernelUidCpuTimesLocked_isolatedUid()
351 verify(mKernelUidCpuTimeReader).removeUid(isolatedUid); in testReadKernelUidCpuTimesLocked_isolatedUid()
368 }).when(mKernelUidCpuTimeReader).readDelta(any(KernelUidCpuTimeReader.Callback.class)); in testReadKernelUidCpuTimesLocked_isolatedUid()
[all …]
DMockBatteryStatsImpl.java113 mKernelUidCpuTimeReader = reader; in setKernelUidCpuTimeReader()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java147 private KernelUidCpuTimeReader mKernelUidCpuTimeReader = new KernelUidCpuTimeReader(); field in StatsCompanionService
735 mKernelUidCpuTimeReader.readAbsolute((uid, userTimeUs, systemTimeUs) -> { in pullKernelUidCpuTime()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java206 protected KernelUidCpuTimeReader mKernelUidCpuTimeReader = new KernelUidCpuTimeReader(); field in BatteryStatsImpl
291 mKernelUidCpuTimeReader.removeUid(startUid); in remove()
303 mKernelUidCpuTimeReader.removeUidsInRange(startUid, endUid); in remove()
11943 mKernelUidCpuTimeReader.readDelta(null); in updateCpuTimeLocked()
12075 mKernelUidCpuTimeReader.readDelta((uid, userTimeUs, systemTimeUs) -> { in readKernelUidCpuTimesLocked()
12080 mKernelUidCpuTimeReader.removeUid(uid); in readKernelUidCpuTimesLocked()
12086 mKernelUidCpuTimeReader.removeUid(uid); in readKernelUidCpuTimesLocked()
13376 mKernelUidCpuTimeReader.setThrottleInterval(KERNEL_UID_READERS_THROTTLE_TIME); in updateKernelUidReadersThrottleTime()