Home
last modified time | relevance | path

Searched refs:clusterFreqs (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsCpuTimesTest.java662 final int[] clusterFreqs = {3, 2}; in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable() local
694 for (int cluster = 0; cluster < clusterFreqs.length; ++cluster) { in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
695 for (int speed = 0; speed < clusterFreqs[cluster]; ++speed) { in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
737 for (int cluster = 0; cluster < clusterFreqs.length; ++cluster) { in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
738 for (int speed = 0; speed < clusterFreqs[cluster]; ++speed) { in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
779 final int[] clusterFreqs = {3, 2}; in testReadKernelUidCpuFreqTimesLocked_partialTimers() local
802 for (int cluster = 0; cluster < clusterFreqs.length; ++cluster) { in testReadKernelUidCpuFreqTimesLocked_partialTimers()
803 expectedWakeLockUidTimesUs[cluster] = new long[clusterFreqs[cluster]]; in testReadKernelUidCpuFreqTimesLocked_partialTimers()
815 for (int cluster = 0; cluster < clusterFreqs.length; ++cluster) { in testReadKernelUidCpuFreqTimesLocked_partialTimers()
816 for (int speed = 0; speed < clusterFreqs[cluster]; ++speed) { in testReadKernelUidCpuFreqTimesLocked_partialTimers()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuUidFreqTimeReaderTest.java280 private void setCpuClusterFreqs(int numClusters, int... clusterFreqs) { in setCpuClusterFreqs() argument
281 assertEquals(numClusters, clusterFreqs.length); in setCpuClusterFreqs()
284 when(mPowerProfile.getNumSpeedStepsInCpuCluster(i)).thenReturn(clusterFreqs[i]); in setCpuClusterFreqs()