Searched refs:clusterSpeedTimesMs (Results 1 – 2 of 2) sorted by relevance
205 final long[][] clusterSpeedTimesMs = {{20, 30}, {40, 50, 60}}; in testUpdateClusterSpeedTimes() local206 initKernelCpuSpeedReaders(clusterSpeedTimesMs.length); in testUpdateClusterSpeedTimes()207 for (int i = 0; i < clusterSpeedTimesMs.length; ++i) { in testUpdateClusterSpeedTimes()208 when(mKernelCpuSpeedReaders[i].readDelta()).thenReturn(clusterSpeedTimesMs[i]); in testUpdateClusterSpeedTimes()210 when(mPowerProfile.getNumCpuClusters()).thenReturn(clusterSpeedTimesMs.length); in testUpdateClusterSpeedTimes()211 for (int i = 0; i < clusterSpeedTimesMs.length; ++i) { in testUpdateClusterSpeedTimes()213 .thenReturn(clusterSpeedTimesMs[i].length); in testUpdateClusterSpeedTimes()227 for (int i = 0; i < clusterSpeedTimesMs.length; ++i) { in testUpdateClusterSpeedTimes()228 for (int j = 0; j < clusterSpeedTimesMs[i].length; ++j) { in testUpdateClusterSpeedTimes()229 totalClustersTimeMs += clusterSpeedTimesMs[i][j]; in testUpdateClusterSpeedTimes()[all …]
11689 final long[][] clusterSpeedTimesMs = new long[mKernelCpuSpeedReaders.length][]; in updateClusterSpeedTimes() local11691 clusterSpeedTimesMs[cluster] = mKernelCpuSpeedReaders[cluster].readDelta(); in updateClusterSpeedTimes()11692 if (clusterSpeedTimesMs[cluster] != null) { in updateClusterSpeedTimes()11693 for (int speed = clusterSpeedTimesMs[cluster].length - 1; speed >= 0; --speed) { in updateClusterSpeedTimes()11694 totalCpuClustersTimeMs += clusterSpeedTimesMs[cluster][speed]; in updateClusterSpeedTimes()11713 for (int cluster = 0; cluster < clusterSpeedTimesMs.length; cluster++) { in updateClusterSpeedTimes()11714 final int speedsInCluster = clusterSpeedTimesMs[cluster].length; in updateClusterSpeedTimes()11727 * clusterSpeedTimesMs[cluster][speed] in updateClusterSpeedTimes()