Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsCpuTimesTest.java91 private KernelCpuSpeedReader[] mKernelCpuSpeedReaders; field in BatteryStatsCpuTimesTest
124 verify(mKernelCpuSpeedReaders[i]).readDelta(); in testUpdateCpuTimeLocked()
130 Mockito.reset(mKernelCpuSpeedReaders[i]); in testUpdateCpuTimeLocked()
153 verify(mKernelCpuSpeedReaders[i]).readDelta(); in testUpdateCpuTimeLocked()
201 when(mKernelCpuSpeedReaders[i].readDelta()).thenReturn(clusterSpeedTimesMs[i]); in testUpdateClusterSpeedTimes()
1300 mKernelCpuSpeedReaders = new KernelCpuSpeedReader[count]; in initKernelCpuSpeedReaders()
1302 mKernelCpuSpeedReaders[i] = Mockito.mock(KernelCpuSpeedReader.class); in initKernelCpuSpeedReaders()
1304 mBatteryStatsImpl.setKernelCpuSpeedReaders(mKernelCpuSpeedReaders); in initKernelCpuSpeedReaders()
DMockBatteryStatsImpl.java123 mKernelCpuSpeedReaders = readers; in setKernelCpuSpeedReaders()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java148 private KernelCpuSpeedReader[] mKernelCpuSpeedReaders; field in StatsCompanionService
192 mKernelCpuSpeedReaders = new KernelCpuSpeedReader[numClusters]; in StatsCompanionService()
196 mKernelCpuSpeedReaders[i] = new KernelCpuSpeedReader(firstCpuOfCluster, in StatsCompanionService()
719 for (int cluster = 0; cluster < mKernelCpuSpeedReaders.length; cluster++) { in pullCpuTimePerFreq()
720 long[] clusterTimeMs = mKernelCpuSpeedReaders[cluster].readAbsolute(); in pullCpuTimePerFreq()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java208 protected KernelCpuSpeedReader[] mKernelCpuSpeedReaders; field in BatteryStatsImpl
10240 mKernelCpuSpeedReaders = new KernelCpuSpeedReader[numClusters]; in setPowerProfileLocked()
10244 mKernelCpuSpeedReaders[i] = new KernelCpuSpeedReader(firstCpuOfCluster, in setPowerProfileLocked()
11951 for (int cluster = mKernelCpuSpeedReaders.length - 1; cluster >= 0; --cluster) { in updateCpuTimeLocked()
11952 mKernelCpuSpeedReaders[cluster].readDelta(); in updateCpuTimeLocked()
12014 final long[][] clusterSpeedTimesMs = new long[mKernelCpuSpeedReaders.length][]; in updateClusterSpeedTimes()
12015 for (int cluster = 0; cluster < mKernelCpuSpeedReaders.length; cluster++) { in updateClusterSpeedTimes()
12016 clusterSpeedTimesMs[cluster] = mKernelCpuSpeedReaders[cluster].readDelta(); in updateClusterSpeedTimes()