Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/
H A DSystemServicePowerCalculator.java47 final int numCpuClusters = powerProfile.getNumCpuClusters(); in SystemServicePowerCalculator()
H A DCpuPowerCalculator.java63 mNumCpuClusters = profile.getNumCpuClusters(); in CpuPowerCalculator()
H A DBatteryStatsImpl.java11016 final int numClusters = mPowerProfile.getNumCpuClusters(); in setPowerProfileLocked()
11031 int numCpuClusters = mPowerProfile.getNumCpuClusters(); in setPowerProfileLocked()
13624 final int numClusters = mPowerProfile.getNumCpuClusters();
13687 int numCpuClusters = mPowerProfile.getNumCpuClusters();
13771 final int numClusters = mPowerProfile.getNumCpuClusters();
13933 final int numClusters = mPowerProfile.getNumCpuClusters();
16107 if (mPowerProfile != null && mPowerProfile.getNumCpuClusters() != numClusters) {
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/
H A DBatteryUsageStatsRule.java107 when(mPowerProfile.getNumCpuClusters()).thenReturn(number); in setNumCpuClusters()
H A DBatteryStatsCpuTimesTest.java217 when(mPowerProfile.getNumCpuClusters()).thenReturn(clusterSpeedTimesMs.length); in testUpdateClusterSpeedTimes()
632 when(mPowerProfile.getNumCpuClusters()).thenReturn(clusterFreqs.length); in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
742 when(mPowerProfile.getNumCpuClusters()).thenReturn(clusterFreqs.length); in testReadKernelUidCpuFreqTimesLocked_partialTimers()
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DKernelCpuUidFreqTimeReaderTest.java337 when(mPowerProfile.getNumCpuClusters()).thenReturn(numClusters); in setCpuClusterFreqs()
H A DPowerProfileTest.java74 assertEquals(2, mProfile.getNumCpuClusters()); in testPowerProfile()
/aosp14/frameworks/base/core/java/com/android/internal/os/
H A DKernelCpuUidTimeReader.java436 final int numClusters = powerProfile.getNumCpuClusters(); in readFreqs()
H A DPowerProfile.java588 public int getNumCpuClusters() { in getNumCpuClusters() method in PowerProfile