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.java80 private PowerProfile mPowerProfile; field in BatteryStatsHelper
267 return mPowerProfile; in getPowerProfile()
271 mPowerProfile = new PowerProfile(mContext); in create()
282 mPowerProfile = new PowerProfile(mContext); in create()
369 mCpuPowerCalculator = new CpuPowerCalculator(mPowerProfile); in refreshStats()
374 mMemoryPowerCalculator = new MemoryPowerCalculator(mPowerProfile); in refreshStats()
379 mWakelockPowerCalculator = new WakelockPowerCalculator(mPowerProfile); in refreshStats()
384 mMobileRadioPowerCalculator = new MobileRadioPowerCalculator(mPowerProfile, mStats); in refreshStats()
390 final boolean hasWifiPowerReporting = checkHasWifiPowerReporting(mStats, mPowerProfile); in refreshStats()
393 new WifiPowerCalculator(mPowerProfile) : in refreshStats()
[all …]
DBatteryStatsImpl.java626 private PowerProfile mPowerProfile; field in BatteryStatsImpl
7545 … if (mBsi.mPowerProfile != null && mBsi.mPowerProfile.getNumCpuClusters() != numCpuClusters) { in readFromParcelLocked()
7553 if (mBsi.mPowerProfile != null && in readFromParcelLocked()
7554 … mBsi.mPowerProfile.getNumSpeedStepsInCpuCluster(cluster) != numSpeeds) { in readFromParcelLocked()
8936 mPowerProfile = profile; in setPowerProfileLocked()
8941 final int numClusters = mPowerProfile.getNumCpuClusters(); in setPowerProfileLocked()
8945 final int numSpeedSteps = mPowerProfile.getNumSpeedStepsInCpuCluster(i); in setPowerProfileLocked()
8948 firstCpuOfCluster += mPowerProfile.getNumCoresInCpuCluster(i); in setPowerProfileLocked()
8953 mEstimatedBatteryCapacity = (int) mPowerProfile.getBatteryCapacity(); in setPowerProfileLocked()
9527 if (mPowerProfile != null) { in resetAllStatsLocked()
[all …]