Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DMockBatteryStatsImpl.java98 public MockBatteryStatsImpl setPowerProfile(PowerProfile powerProfile) { in setPowerProfile() argument
99 mPowerProfile = powerProfile; in setPowerProfile()
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuUidTimeReader.java364 public long[] readFreqs(@NonNull PowerProfile powerProfile) { in readFreqs() argument
365 checkNotNull(powerProfile); in readFreqs()
389 final int numClusters = powerProfile.getNumCpuClusters(); in readFreqs()
393 if (numClusterFreqs.get(i) != powerProfile.getNumSpeedStepsInCpuCluster(i)) { in readFreqs()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java337 PowerProfile powerProfile = new PowerProfile(context); in StatsCompanionService() local
338 final int numClusters = powerProfile.getNumCpuClusters(); in StatsCompanionService()
342 final int numSpeedSteps = powerProfile.getNumSpeedStepsInCpuCluster(i); in StatsCompanionService()
345 firstCpuOfCluster += powerProfile.getNumCoresInCpuCluster(i); in StatsCompanionService()
1682 PowerProfile powerProfile = new PowerProfile(mContext); in pullPowerProfile() local
1683 checkNotNull(powerProfile); in pullPowerProfile()
1688 powerProfile.writeToProto(proto); in pullPowerProfile()