Searched refs:mPowerProfile (Results 1 – 9 of 9) sorted by relevance
84 private PowerProfile mPowerProfile; field in BatteryStatsHelper283 return mPowerProfile; in getPowerProfile()287 mPowerProfile = new PowerProfile(mContext); in create()299 mPowerProfile = new PowerProfile(mContext); in create()395 mCpuPowerCalculator = new CpuPowerCalculator(mPowerProfile); in refreshStats()400 mMemoryPowerCalculator = new MemoryPowerCalculator(mPowerProfile); in refreshStats()405 mWakelockPowerCalculator = new WakelockPowerCalculator(mPowerProfile); in refreshStats()410 mMobileRadioPowerCalculator = new MobileRadioPowerCalculator(mPowerProfile, mStats); in refreshStats()416 final boolean hasWifiPowerReporting = checkHasWifiPowerReporting(mStats, mPowerProfile); in refreshStats()419 new WifiPowerCalculator(mPowerProfile) : in refreshStats()[all …]
576 if (mPowerProfile == null) { in initKernelSingleUidTimeReaderLocked()580 mCpuFreqs = mCpuUidFreqTimeReader.readFreqs(mPowerProfile); in initKernelSingleUidTimeReaderLocked()1004 protected PowerProfile mPowerProfile; field in BatteryStatsImpl6230 final double opVolt = mPowerProfile.getAveragePower( in getGpsBatteryDrainMaMs()6240 += mPowerProfile.getAveragePower(PowerProfile.POWER_GPS_SIGNAL_QUALITY_BASED, i) in getGpsBatteryDrainMaMs()8589 … if (mBsi.mPowerProfile != null && mBsi.mPowerProfile.getNumCpuClusters() != numCpuClusters) { in readFromParcelLocked()8597 if (mBsi.mPowerProfile != null && in readFromParcelLocked()8598 … mBsi.mPowerProfile.getNumSpeedStepsInCpuCluster(cluster) != numSpeeds) { in readFromParcelLocked()9888 mPowerProfile = profile; in setPowerProfileLocked()9893 final int numClusters = mPowerProfile.getNumCpuClusters(); in setPowerProfileLocked()[all …]
42 private PowerProfile mPowerProfile; field in PowerCalculatorTest52 when(mPowerProfile.getAveragePower(PowerProfile.POWER_AUDIO)).thenReturn(12.0); in testMediaPowerCalculator()53 when(mPowerProfile.getAveragePower(PowerProfile.POWER_VIDEO)).thenReturn(25.0); in testMediaPowerCalculator()63 MediaPowerCalculator mediaPowerCalculator = new MediaPowerCalculator(mPowerProfile); in testMediaPowerCalculator()
66 private PowerProfile mPowerProfile; field in KernelCpuUidFreqTimeReaderTest117 long[] actualFreqs = mReader.readFreqs(mPowerProfile); in testReadFreqs_perClusterTimesNotAvailable()125 actualFreqs = mReader.readFreqs(mPowerProfile); in testReadFreqs_perClusterTimesNotAvailable()145 long[] actualFreqs = mReader.readFreqs(mPowerProfile); in testReadFreqs_perClusterTimesAvailable()153 actualFreqs = mReader.readFreqs(mPowerProfile); in testReadFreqs_perClusterTimesAvailable()173 long[] actualFreqs = mReader.readFreqs(mPowerProfile); in testReadDelta()225 long[] actualFreqs = mReader.readFreqs(mPowerProfile); in testReadAbsolute()337 when(mPowerProfile.getNumCpuClusters()).thenReturn(numClusters); in setCpuClusterFreqs()339 when(mPowerProfile.getNumSpeedStepsInCpuCluster(i)).thenReturn(clusterFreqs[i]); in setCpuClusterFreqs()
93 PowerProfile mPowerProfile; field in BatteryStatsCpuTimesTest115 mBatteryStatsImpl.setPowerProfile(mPowerProfile); in testUpdateCpuTimeLocked()120 when(mCpuUidFreqTimeReader.readFreqs(mPowerProfile)).thenReturn(freqs); in testUpdateCpuTimeLocked()210 when(mPowerProfile.getNumCpuClusters()).thenReturn(clusterSpeedTimesMs.length); in testUpdateClusterSpeedTimes()212 when(mPowerProfile.getNumSpeedStepsInCpuCluster(i)) in testUpdateClusterSpeedTimes()627 when(mPowerProfile.getNumCpuClusters()).thenReturn(clusterFreqs.length); in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()629 when(mPowerProfile.getNumSpeedStepsInCpuCluster(i)) in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()737 when(mPowerProfile.getNumCpuClusters()).thenReturn(clusterFreqs.length); in testReadKernelUidCpuFreqTimesLocked_partialTimers()739 when(mPowerProfile.getNumSpeedStepsInCpuCluster(i)) in testReadKernelUidCpuFreqTimesLocked_partialTimers()1310 mBatteryStatsImpl.setPowerProfile(mPowerProfile); in updateTimeBasesLocked()
99 mPowerProfile = powerProfile; in setPowerProfile()
236 PowerProfile mPowerProfile; field in WifiServiceImpl490 mPowerProfile = mWifiInjector.getPowerProfile(); in WifiServiceImpl()1793 final double rxIdleCurrent = mPowerProfile.getAveragePower( in reportActivityInfo()1795 final double rxCurrent = mPowerProfile.getAveragePower( in reportActivityInfo()1797 final double txCurrent = mPowerProfile.getAveragePower( in reportActivityInfo()1799 final double voltage = mPowerProfile.getAveragePower( in reportActivityInfo()
254 @Mock PowerProfile mPowerProfile; field in WifiServiceImplTest353 when(mWifiInjector.getPowerProfile()).thenReturn(mPowerProfile); in setUp()
88856 Lcom/android/internal/os/BatteryStatsImpl;->mPowerProfile:Lcom/android/internal/os/PowerProfile;