Home
last modified time | relevance | path

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

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsCpuTimesTest.java112 private KernelCpuSpeedReader[] mKernelCpuSpeedReaders; field in BatteryStatsCpuTimesTest
148 verify(mKernelCpuSpeedReaders[i]).readDelta(); in testUpdateCpuTimeLocked()
154 Mockito.reset(mKernelCpuSpeedReaders[i]); in testUpdateCpuTimeLocked()
179 verify(mKernelCpuSpeedReaders[i]).readDelta(); in testUpdateCpuTimeLocked()
241 when(mKernelCpuSpeedReaders[i].readDelta()).thenReturn(clusterSpeedTimesMs[i]); in testUpdateClusterSpeedTimes()
1398 mKernelCpuSpeedReaders = new KernelCpuSpeedReader[count]; in initKernelCpuSpeedReaders()
1400 mKernelCpuSpeedReaders[i] = Mockito.mock(KernelCpuSpeedReader.class); in initKernelCpuSpeedReaders()
1402 mBatteryStatsImpl.setKernelCpuSpeedReaders(mKernelCpuSpeedReaders); in initKernelCpuSpeedReaders()
DMockBatteryStatsImpl.java212 mKernelCpuSpeedReaders = readers; in setKernelCpuSpeedReaders()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java282 protected KernelCpuSpeedReader[] mKernelCpuSpeedReaders; field in BatteryStatsImpl
11414 mKernelCpuSpeedReaders = new KernelCpuSpeedReader[policies.length]; in initPowerProfile()
11421 mKernelCpuSpeedReaders[i] = new KernelCpuSpeedReader(cpus[0], freqs.length); in initPowerProfile()
14118 for (int i = mKernelCpuSpeedReaders.length - 1; i >= 0; --i) {
14119 if (mKernelCpuSpeedReaders[i] != null) {
14120 mKernelCpuSpeedReaders[i].readDelta();
14276 final long[][] clusterSpeedTimesMs = new long[mKernelCpuSpeedReaders.length][];
14277 for (int cluster = 0; cluster < mKernelCpuSpeedReaders.length; cluster++) {
14278 if (mKernelCpuSpeedReaders[cluster] != null) {
14279 clusterSpeedTimesMs[cluster] = mKernelCpuSpeedReaders[cluster].readDelta();
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt73696 Lcom/android/internal/os/BatteryStatsImpl;->mKernelCpuSpeedReaders:[Lcom/android/internal/os/Kernel…