Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/connectivity/
DWifiActivityEnergyInfo.java112 PowerProfile powerProfile = new PowerProfile(context); in calculateEnergyMicroJoules() local
113 final double rxIdleCurrent = powerProfile.getAveragePower( in calculateEnergyMicroJoules()
115 final double rxCurrent = powerProfile.getAveragePower( in calculateEnergyMicroJoules()
117 final double txCurrent = powerProfile.getAveragePower( in calculateEnergyMicroJoules()
119 final double voltage = powerProfile.getAveragePower( in calculateEnergyMicroJoules()
/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.java377 public long[] readFreqs(@NonNull PowerProfile powerProfile) { in readFreqs() argument
378 checkNotNull(powerProfile); in readFreqs()
407 final int numClusters = powerProfile.getNumCpuClusters(); in readFreqs()
411 if (numClusterFreqs.get(i) != powerProfile.getNumSpeedStepsInCpuCluster(i)) { in readFreqs()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java706 PowerProfile powerProfile = new PowerProfile(mContext); in initializePullersState() local
707 final int numClusters = powerProfile.getNumCpuClusters(); in initializePullersState()
711 final int numSpeedSteps = powerProfile.getNumSpeedStepsInCpuCluster(i); in initializePullersState()
714 firstCpuOfCluster += powerProfile.getNumCoresInCpuCluster(i); in initializePullersState()
2687 PowerProfile powerProfile = new PowerProfile(mContext);
2689 powerProfile.dumpDebug(proto);