Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/stats/
DSystemServicePowerCalculator.java45 public SystemServicePowerCalculator(CpuScalingPolicies cpuScalingPolicies, in SystemServicePowerCalculator() argument
47 mCpuPowerCalculator = new CpuPowerCalculator(cpuScalingPolicies, powerProfile); in SystemServicePowerCalculator()
48 mPowerEstimators = new UsageBasedPowerEstimator[cpuScalingPolicies.getScalingStepCount()]; in SystemServicePowerCalculator()
50 int[] policies = cpuScalingPolicies.getPolicies(); in SystemServicePowerCalculator()
52 final int numSpeeds = cpuScalingPolicies.getFrequencies(policy).length; in SystemServicePowerCalculator()
DCpuPowerCalculator.java65 public CpuPowerCalculator(CpuScalingPolicies cpuScalingPolicies, PowerProfile profile) { in CpuPowerCalculator() argument
66 mCpuScalingPolicies = cpuScalingPolicies; in CpuPowerCalculator()
80 new UsageBasedPowerEstimator[cpuScalingPolicies.getScalingStepCount()]; in CpuPowerCalculator()
85 int[] freqs = cpuScalingPolicies.getFrequencies(policy); in CpuPowerCalculator()
DBatteryUsageStatsProvider.java58 PowerProfile powerProfile, CpuScalingPolicies cpuScalingPolicies, in BatteryUsageStatsProvider() argument
64 mCpuScalingPolicies = cpuScalingPolicies; in BatteryUsageStatsProvider()
DBatteryStatsImpl.java11223 @NonNull CpuScalingPolicies cpuScalingPolicies, in BatteryStatsImpl() argument
11226 energyStatsRetriever, userInfoProvider, powerProfile, cpuScalingPolicies, in BatteryStatsImpl()
11236 @NonNull CpuScalingPolicies cpuScalingPolicies, in BatteryStatsImpl() argument
11250 mCpuScalingPolicies = cpuScalingPolicies; in BatteryStatsImpl()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DMockBatteryStatsImpl.java178 public MockBatteryStatsImpl setCpuScalingPolicies(CpuScalingPolicies cpuScalingPolicies) { in setCpuScalingPolicies() argument
179 mCpuScalingPolicies = cpuScalingPolicies; in setCpuScalingPolicies()