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.java283 private KernelCpuSpeedReader[] mKernelCpuSpeedReaders; field in StatsCompanionService
341 mKernelCpuSpeedReaders = new KernelCpuSpeedReader[numClusters]; in StatsCompanionService()
345 mKernelCpuSpeedReaders[i] = new KernelCpuSpeedReader(firstCpuOfCluster, in StatsCompanionService()
994 for (int cluster = 0; cluster < mKernelCpuSpeedReaders.length; cluster++) { in pullCpuTimePerFreq()
995 long[] clusterTimeMs = mKernelCpuSpeedReaders[cluster].readAbsolute(); in pullCpuTimePerFreq()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java202 protected KernelCpuSpeedReader[] mKernelCpuSpeedReaders; field in BatteryStatsImpl
9894 mKernelCpuSpeedReaders = new KernelCpuSpeedReader[numClusters]; in setPowerProfileLocked()
9898 mKernelCpuSpeedReaders[i] = new KernelCpuSpeedReader(firstCpuOfCluster, in setPowerProfileLocked()
11626 for (int cluster = mKernelCpuSpeedReaders.length - 1; cluster >= 0; --cluster) { in updateCpuTimeLocked()
11627 mKernelCpuSpeedReaders[cluster].readDelta(); in updateCpuTimeLocked()
11689 final long[][] clusterSpeedTimesMs = new long[mKernelCpuSpeedReaders.length][]; in updateClusterSpeedTimes()
11690 for (int cluster = 0; cluster < mKernelCpuSpeedReaders.length; cluster++) { in updateClusterSpeedTimes()
11691 clusterSpeedTimesMs[cluster] = mKernelCpuSpeedReaders[cluster].readDelta(); in updateClusterSpeedTimes()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt88768 Lcom/android/internal/os/BatteryStatsImpl;->mKernelCpuSpeedReaders:[Lcom/android/internal/os/Kernel…