Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/stats/
DCpuPowerStatsCollector.java130 int cpuScalingStepCount = mCpuScalingPolicies.getScalingStepCount(); in ensureInitialized()
177 int[] stepToBracketMap = new int[mCpuScalingPolicies.getScalingStepCount()]; in initPowerBracketsFromPowerProfile()
191 int[] stepToBracketMap = new int[mCpuScalingPolicies.getScalingStepCount()]; in initPowerBracketsByCluster()
219 int[] stepToBracketMap = new int[mCpuScalingPolicies.getScalingStepCount()]; in initDefaultPowerBrackets()
220 double[] powerByStep = new double[mCpuScalingPolicies.getScalingStepCount()]; in initDefaultPowerBrackets()
DSystemServicePowerCalculator.java48 mPowerEstimators = new UsageBasedPowerEstimator[cpuScalingPolicies.getScalingStepCount()]; in SystemServicePowerCalculator()
DCpuPowerCalculator.java80 new UsageBasedPowerEstimator[cpuScalingPolicies.getScalingStepCount()]; in CpuPowerCalculator()
110 result.cpuFreqTimes = new long[mCpuScalingPolicies.getScalingStepCount()]; in calculate()
DCpuPowerStatsProcessor.java77 mCpuScalingStepCount = scalingPolicies.getScalingStepCount(); in CpuPowerStatsProcessor()
DBatteryStatsImpl.java819 mCpuScalingPolicies.getScalingStepCount()); in ensureKernelSingleUidTimeReaderLocked()
8555 mBsi.mCpuScalingPolicies.getScalingStepCount(), in ensureMultiStateCounters()
8562 mBsi.mCpuScalingPolicies.getScalingStepCount(), in ensureMultiStateCounters()
10796 final int cpuFreqCount = mBsi.mCpuScalingPolicies.getScalingStepCount(); in ChildUid()
11213 mCpuScalingPolicies.getScalingStepCount()); in getCpuTimeInFreqContainer()
11426 mCpuPowerBracketMap = new int[mCpuScalingPolicies.getScalingStepCount()]; in initPowerProfile()
16784 mCpuScalingPolicies.getScalingStepCount(), mClock.elapsedRealtime());
16795 mCpuScalingPolicies.getScalingStepCount(), mClock.elapsedRealtime());
/frameworks/base/core/java/com/android/internal/os/
DCpuScalingPolicies.java84 public int getScalingStepCount() { in getScalingStepCount() method in CpuScalingPolicies
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DCpuScalingPolicyReaderTest.java80 assertThat(info.getScalingStepCount()).isEqualTo(8); in readFromSysFs()
/frameworks/base/core/java/android/os/
DBatteryStats.java5057 && cpuFreqTimeMs.length == scalingPolicies.getScalingStepCount()) { in dumpCheckinLocked()
5078 new long[getCpuScalingPolicies().getScalingStepCount()]; in dumpCheckinLocked()
6708 final long[] timesInFreqMs = new long[getCpuScalingPolicies().getScalingStepCount()]; in dumpLocked()
8126 && cpuFreqTimeMs.length == scalingPolicies.getScalingStepCount()) { in dumpProtoAppsLocked()
8143 final int stepCount = getCpuScalingPolicies().getScalingStepCount(); in dumpProtoAppsLocked()