Home
last modified time | relevance | path

Searched refs:getNumSpeedStepsInCpuCluster (Results 1 – 9 of 9) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/
H A DSystemServicePowerCalculator.java49 numFreqs += powerProfile.getNumSpeedStepsInCpuCluster(cluster); in SystemServicePowerCalculator()
55 final int numSpeeds = powerProfile.getNumSpeedStepsInCpuCluster(cluster); in SystemServicePowerCalculator()
H A DCpuPowerCalculator.java76 freqCount += profile.getNumSpeedStepsInCpuCluster(cluster); in CpuPowerCalculator()
83 final int speedsForCluster = profile.getNumSpeedStepsInCpuCluster(cluster); in CpuPowerCalculator()
H A DBatteryStatsImpl.java11020 final int numSpeedSteps = mPowerProfile.getNumSpeedStepsInCpuCluster(i); in setPowerProfileLocked()
11033 int steps = mPowerProfile.getNumSpeedStepsInCpuCluster(cluster); in setPowerProfileLocked()
13691 int numSpeeds = mPowerProfile.getNumSpeedStepsInCpuCluster(cluster);
13975 final int speedsInCluster = mPowerProfile.getNumSpeedStepsInCpuCluster(cluster);
14026 final int speedsInCluster = mPowerProfile.getNumSpeedStepsInCpuCluster(cluster);
16116 mPowerProfile.getNumSpeedStepsInCpuCluster(cluster) != NSB) {
/aosp14/frameworks/base/core/java/com/android/internal/os/
H A DPowerProfile.java491 final int steps = getNumSpeedStepsInCpuCluster(cluster); in initCpuPowerBrackets()
528 final int steps = getNumSpeedStepsInCpuCluster(cluster); in initCpuPowerBrackets()
545 final int steps = getNumSpeedStepsInCpuCluster(cluster); in initCpuPowerBrackets()
557 final int steps = getNumSpeedStepsInCpuCluster(cluster); in initCpuPowerBrackets()
600 public int getNumSpeedStepsInCpuCluster(int cluster) { in getNumSpeedStepsInCpuCluster() method in PowerProfile
H A DKernelCpuUidTimeReader.java440 if (numClusterFreqs.get(i) != powerProfile.getNumSpeedStepsInCpuCluster(i)) { in readFreqs()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/
H A DBatteryUsageStatsRule.java112 when(mPowerProfile.getNumSpeedStepsInCpuCluster(cluster)).thenReturn(speeds); in setNumSpeedStepsInCpuCluster()
H A DBatteryStatsCpuTimesTest.java219 when(mPowerProfile.getNumSpeedStepsInCpuCluster(i)) in testUpdateClusterSpeedTimes()
634 when(mPowerProfile.getNumSpeedStepsInCpuCluster(i)) in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
744 when(mPowerProfile.getNumSpeedStepsInCpuCluster(i)) in testReadKernelUidCpuFreqTimesLocked_partialTimers()
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DPowerProfileTest.java82 assertEquals(3, mProfile.getNumSpeedStepsInCpuCluster(0)); in testPowerProfile()
84 assertEquals(4, mProfile.getNumSpeedStepsInCpuCluster(1)); in testPowerProfile()
H A DKernelCpuUidFreqTimeReaderTest.java339 when(mPowerProfile.getNumSpeedStepsInCpuCluster(i)).thenReturn(clusterFreqs[i]); in setCpuClusterFreqs()