Home
last modified time | relevance | path

Searched refs:mKernelCpuSpeedReaders (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsCpuTimesTest.java97 private KernelCpuSpeedReader[] mKernelCpuSpeedReaders; field in BatteryStatsCpuTimesTest
130 verify(mKernelCpuSpeedReaders[i]).readDelta(); in testUpdateCpuTimeLocked()
136 Mockito.reset(mKernelCpuSpeedReaders[i]); in testUpdateCpuTimeLocked()
160 verify(mKernelCpuSpeedReaders[i]).readDelta(); in testUpdateCpuTimeLocked()
208 when(mKernelCpuSpeedReaders[i].readDelta()).thenReturn(clusterSpeedTimesMs[i]); in testUpdateClusterSpeedTimes()
1314 mKernelCpuSpeedReaders = new KernelCpuSpeedReader[count]; in initKernelCpuSpeedReaders()
1316 mKernelCpuSpeedReaders[i] = Mockito.mock(KernelCpuSpeedReader.class); in initKernelCpuSpeedReaders()
1318 mBatteryStatsImpl.setKernelCpuSpeedReaders(mKernelCpuSpeedReaders); in initKernelCpuSpeedReaders()
DMockBatteryStatsImpl.java132 mKernelCpuSpeedReaders = readers; in setKernelCpuSpeedReaders()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java281 private KernelCpuSpeedReader[] mKernelCpuSpeedReaders; field in StatsCompanionService
339 mKernelCpuSpeedReaders = new KernelCpuSpeedReader[numClusters]; in StatsCompanionService()
343 mKernelCpuSpeedReaders[i] = new KernelCpuSpeedReader(firstCpuOfCluster, in StatsCompanionService()
992 for (int cluster = 0; cluster < mKernelCpuSpeedReaders.length; cluster++) { in pullCpuTimePerFreq()
993 long[] clusterTimeMs = mKernelCpuSpeedReaders[cluster].readAbsolute(); in pullCpuTimePerFreq()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java200 protected KernelCpuSpeedReader[] mKernelCpuSpeedReaders; field in BatteryStatsImpl
9881 mKernelCpuSpeedReaders = new KernelCpuSpeedReader[numClusters]; in setPowerProfileLocked()
9885 mKernelCpuSpeedReaders[i] = new KernelCpuSpeedReader(firstCpuOfCluster, in setPowerProfileLocked()
11620 for (int cluster = mKernelCpuSpeedReaders.length - 1; cluster >= 0; --cluster) { in updateCpuTimeLocked()
11621 mKernelCpuSpeedReaders[cluster].readDelta(); in updateCpuTimeLocked()
11683 final long[][] clusterSpeedTimesMs = new long[mKernelCpuSpeedReaders.length][]; in updateClusterSpeedTimes()
11684 for (int cluster = 0; cluster < mKernelCpuSpeedReaders.length; cluster++) { in updateClusterSpeedTimes()
11685 clusterSpeedTimesMs[cluster] = mKernelCpuSpeedReaders[cluster].readDelta(); in updateClusterSpeedTimes()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt95135 Lcom/android/internal/os/BatteryStatsImpl;->mKernelCpuSpeedReaders:[Lcom/android/internal/os/Kernel…