Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/stats/
DCpuPowerStatsCollector.java197 double[] powerByStep = new double[frequencies.length]; in initPowerBracketsByCluster() local
199 powerByStep[step] = mPowerProfile.getAveragePowerForCpuScalingStep(policy, step); in initPowerBracketsByCluster()
203 mapScalingStepsToDefaultBrackets(policyStepToBracketMap, powerByStep, in initPowerBracketsByCluster()
220 double[] powerByStep = new double[mCpuScalingPolicies.getScalingStepCount()]; in initDefaultPowerBrackets() local
226 powerByStep[index++] = mPowerProfile.getAveragePowerForCpuScalingStep(policy, step); in initDefaultPowerBrackets()
229 mapScalingStepsToDefaultBrackets(stepToBracketMap, powerByStep, in initDefaultPowerBrackets()
235 double[] powerByStep, int defaultCpuPowerBracketCount) { in mapScalingStepsToDefaultBrackets() argument
238 for (final double power : powerByStep) { in mapScalingStepsToDefaultBrackets()
246 if (powerByStep.length <= defaultCpuPowerBracketCount) { in mapScalingStepsToDefaultBrackets()
255 for (int step = 0; step < powerByStep.length; step++) { in mapScalingStepsToDefaultBrackets()
[all …]