Home
last modified time | relevance | path

Searched refs:getFrequencies (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DCpuScalingPolicyReaderTest.java73 assertThat(info.getFrequencies(0)).isEqualTo(new int[]{1234, 9876}); in readFromSysFs()
75 assertThat(info.getFrequencies(5)).isEqualTo(new int[]{1234, 5678, 9998, 9999}); in readFromSysFs()
77 assertThat(info.getFrequencies(7)).isEqualTo(new int[]{1000000}); in readFromSysFs()
79 assertThat(info.getFrequencies(9)).isEqualTo(new int[]{0}); // Unknown in readFromSysFs()
/frameworks/base/services/core/java/com/android/server/power/stats/
DCpuPowerStatsCollector.java180 int[] frequencies = mCpuScalingPolicies.getFrequencies(policy); in initPowerBracketsFromPowerProfile()
196 int[] frequencies = mCpuScalingPolicies.getFrequencies(policy); in initPowerBracketsByCluster()
224 int[] frequencies = mCpuScalingPolicies.getFrequencies(policy); in initDefaultPowerBrackets()
300 int[] freqs = mCpuScalingPolicies.getFrequencies(policy); in getCpuPowerBracketDescription()
DSystemServicePowerCalculator.java52 final int numSpeeds = cpuScalingPolicies.getFrequencies(policy).length; in SystemServicePowerCalculator()
DCpuPowerStatsProcessor.java89 int[] frequencies = scalingPolicies.getFrequencies(policy); in CpuPowerStatsProcessor()
225 int[] freqs = mCpuScalingPolicies.getFrequencies(policies[cluster]); in initEnergyConsumerToPowerBracketMaps()
DCpuPowerCalculator.java85 int[] freqs = cpuScalingPolicies.getFrequencies(policy); in CpuPowerCalculator()
DBatteryStatsImpl.java11417 int[] freqs = mCpuScalingPolicies.getFrequencies(policies[i]); in initPowerProfile()
11429 int steps = mCpuScalingPolicies.getFrequencies(policy).length; in initPowerProfile()
14217 int numSpeeds = mCpuScalingPolicies.getFrequencies(policy).length;
14503 final int[] freqs = mCpuScalingPolicies.getFrequencies(policies[cluster]);
14554 mCpuScalingPolicies.getFrequencies(policies[cluster]).length;
16738 && mCpuScalingPolicies.getFrequencies(policies[cluster]).length
/frameworks/base/core/java/com/android/internal/os/
DCpuScalingPolicies.java76 public int[] getFrequencies(int policy) { in getFrequencies() method in CpuScalingPolicies
/frameworks/base/core/java/android/os/
DBatteryStats.java4737 for (int frequency : scalingPolicies.getFrequencies(policy)) { in dumpCheckinLocked()
6082 for (int frequency : scalingPolicies.getFrequencies(policy)) { in dumpLocked()
8619 for (int frequency : scalingPolicies.getFrequencies(policy)) { in dumpProtoSystemLocked()