Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DPowerProfileTest.java83 assertEquals(2.11, mProfile.getAveragePowerForCpuScalingPolicy(0)); in testPowerProfile()
84 assertEquals(2.22, mProfile.getAveragePowerForCpuScalingPolicy(3)); in testPowerProfile()
164 assertEquals(2.11, mProfile.getAveragePowerForCpuScalingPolicy(0)); in testPowerProfile_legacyCpuConfig()
165 assertEquals(2.22, mProfile.getAveragePowerForCpuScalingPolicy(4)); in testPowerProfile_legacyCpuConfig()
/frameworks/base/services/core/java/com/android/server/power/stats/
DCpuPowerCalculator.java76 profile.getAveragePowerForCpuScalingPolicy(policies[i])); in CpuPowerCalculator()
DCpuPowerStatsProcessor.java88 powerProfile.getAveragePowerForCpuScalingPolicy(policy) / HOUR_IN_MILLIS; in CpuPowerStatsProcessor()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryUsageStatsRule.java219 when(mPowerProfile.getAveragePowerForCpuScalingPolicy(policy)).thenReturn(value); in setAveragePowerForCpuScalingPolicy()
/frameworks/base/core/java/com/android/internal/os/
DPowerProfile.java669 public double getAveragePowerForCpuScalingPolicy(int policy) { in getAveragePowerForCpuScalingPolicy() method in PowerProfile