Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/stats/
DCpuPowerCalculator.java62 public long[] cpuFreqTimes; field in CpuPowerCalculator.Result
110 result.cpuFreqTimes = new long[mCpuScalingPolicies.getScalingStepCount()]; in calculate()
203 boolean hasCpuFreqTimes = u.getCpuFreqTimes(result.cpuFreqTimes, uidProcState); in calculateModeledPowerPerProcessState()
206 0, cpuClusterTimes, result.cpuFreqTimes); in calculateModeledPowerPerProcessState()
295 long[] cpuClusterTimes, long[] cpuFreqTimes) { in calculateUidModeledPowerMah() argument
318 if (cpuFreqTimes != null) { in calculateUidModeledPowerMah()
319 if (cpuFreqTimes.length == mPerCpuFreqPowerEstimators.length) { in calculateUidModeledPowerMah()
320 for (int i = 0; i < cpuFreqTimes.length; i++) { in calculateUidModeledPowerMah()
321 powerMah += mPerCpuFreqPowerEstimators[i].calculatePower(cpuFreqTimes[i]); in calculateUidModeledPowerMah()
325 + mPerCpuFreqPowerEstimators.length + " actual # " + cpuFreqTimes.length); in calculateUidModeledPowerMah()
/frameworks/base/core/java/android/os/
DBatteryStats.java6689 final long[] cpuFreqTimes = u.getCpuFreqTimes(which); in dumpLocked()
6690 if (cpuFreqTimes != null) { in dumpLocked()
6693 for (int i = 0; i < cpuFreqTimes.length; ++i) { in dumpLocked()
6694 sb.append(' ').append(cpuFreqTimes[i]); in dumpLocked()