Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java74 private PowerProfile mPowerProfile; field in BatteryStatsHelper
249 return mPowerProfile; in getPowerProfile()
253 mPowerProfile = new PowerProfile(mContext); in create()
264 mPowerProfile = new PowerProfile(mContext); in create()
341 mCpuPowerCalculator = new CpuPowerCalculator(mPowerProfile); in refreshStats()
346 mWakelockPowerCalculator = new WakelockPowerCalculator(mPowerProfile); in refreshStats()
351 mMobileRadioPowerCalculator = new MobileRadioPowerCalculator(mPowerProfile, mStats); in refreshStats()
357 final boolean hasWifiPowerReporting = checkHasWifiPowerReporting(mStats, mPowerProfile); in refreshStats()
360 new WifiPowerCalculator(mPowerProfile) : in refreshStats()
361 new WifiPowerEstimator(mPowerProfile); in refreshStats()
[all …]
DBatteryStatsImpl.java554 private PowerProfile mPowerProfile; field in BatteryStatsImpl
6314 … if (mBsi.mPowerProfile != null && mBsi.mPowerProfile.getNumCpuClusters() != numCpuClusters) { in readFromParcelLocked()
6322 if (mBsi.mPowerProfile != null && in readFromParcelLocked()
6323 … mBsi.mPowerProfile.getNumSpeedStepsInCpuCluster(cluster) != numSpeeds) { in readFromParcelLocked()
7621 mPowerProfile = profile; in setPowerProfile()
7626 final int numClusters = mPowerProfile.getNumCpuClusters(); in setPowerProfile()
7630 final int numSpeedSteps = mPowerProfile.getNumSpeedStepsInCpuCluster(i); in setPowerProfile()
7633 firstCpuOfCluster += mPowerProfile.getNumCoresInCpuCluster(i); in setPowerProfile()
7638 mEstimatedBatteryCapacity = (int) mPowerProfile.getBatteryCapacity(); in setPowerProfile()
8190 if (mPowerProfile != null) { in resetAllStatsLocked()
[all …]