Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DKernelUidCpuFreqTimeReader.java109 public long[] readFreqs(@NonNull PowerProfile powerProfile) { in readFreqs() argument
110 checkNotNull(powerProfile); in readFreqs()
120 return readFreqs(reader, powerProfile); in readFreqs()
133 public long[] readFreqs(BufferedReader reader, PowerProfile powerProfile) in readFreqs() argument
151 final int numClusters = powerProfile.getNumCpuClusters(); in readFreqs()
155 if (numClusterFreqs.get(i) != powerProfile.getNumSpeedStepsInCpuCluster(i)) { in readFreqs()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DMockBatteryStatsImpl.java92 public MockBatteryStatsImpl setPowerProfile(PowerProfile powerProfile) { in setPowerProfile() argument
93 mPowerProfile = powerProfile; in setPowerProfile()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java190 PowerProfile powerProfile = new PowerProfile(context); in StatsCompanionService() local
191 final int numClusters = powerProfile.getNumCpuClusters(); in StatsCompanionService()
195 final int numSpeedSteps = powerProfile.getNumSpeedStepsInCpuCluster(i); in StatsCompanionService()
198 firstCpuOfCluster += powerProfile.getNumCoresInCpuCluster(i); in StatsCompanionService()
203 long[] freqs = mKernelUidCpuFreqTimeReader.readFreqs(powerProfile); in StatsCompanionService()