Searched refs:mPowerProfile (Results 1 – 9 of 9) sorted by relevance
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()
63 private PowerProfile mPowerProfile; field in KernelCpuUidFreqTimeReaderTest103 long[] actualFreqs = mReader.readFreqs(mPowerProfile); in testReadFreqs_perClusterTimesNotAvailable()111 actualFreqs = mReader.readFreqs(mPowerProfile); in testReadFreqs_perClusterTimesNotAvailable()131 long[] actualFreqs = mReader.readFreqs(mPowerProfile); in testReadFreqs_perClusterTimesAvailable()139 actualFreqs = mReader.readFreqs(mPowerProfile); in testReadFreqs_perClusterTimesAvailable()159 long[] actualFreqs = mReader.readFreqs(mPowerProfile); in testReadDelta()211 long[] actualFreqs = mReader.readFreqs(mPowerProfile); in testReadAbsolute()293 when(mPowerProfile.getNumCpuClusters()).thenReturn(numClusters); in setCpuClusterFreqs()295 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()
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 …]
574 if (mPowerProfile == null) { in initKernelSingleUidTimeReaderLocked()578 mCpuFreqs = mCpuUidFreqTimeReader.readFreqs(mPowerProfile); in initKernelSingleUidTimeReaderLocked()1002 protected PowerProfile mPowerProfile; field in BatteryStatsImpl6217 final double opVolt = mPowerProfile.getAveragePower( in getGpsBatteryDrainMaMs()6227 += mPowerProfile.getAveragePower(PowerProfile.POWER_GPS_SIGNAL_QUALITY_BASED, i) in getGpsBatteryDrainMaMs()8576 … if (mBsi.mPowerProfile != null && mBsi.mPowerProfile.getNumCpuClusters() != numCpuClusters) { in readFromParcelLocked()8584 if (mBsi.mPowerProfile != null && in readFromParcelLocked()8585 … mBsi.mPowerProfile.getNumSpeedStepsInCpuCluster(cluster) != numSpeeds) { in readFromParcelLocked()9875 mPowerProfile = profile; in setPowerProfileLocked()9880 final int numClusters = mPowerProfile.getNumCpuClusters(); in setPowerProfileLocked()[all …]
235 PowerProfile mPowerProfile; field in WifiServiceImpl489 mPowerProfile = mWifiInjector.getPowerProfile(); in WifiServiceImpl()1746 final double rxIdleCurrent = mPowerProfile.getAveragePower( in reportActivityInfo()1748 final double rxCurrent = mPowerProfile.getAveragePower( in reportActivityInfo()1750 final double txCurrent = mPowerProfile.getAveragePower( in reportActivityInfo()1752 final double voltage = mPowerProfile.getAveragePower( in reportActivityInfo()
248 @Mock PowerProfile mPowerProfile; field in WifiServiceImplTest347 when(mWifiInjector.getPowerProfile()).thenReturn(mPowerProfile); in setUp()
95223 Lcom/android/internal/os/BatteryStatsImpl;->mPowerProfile:Lcom/android/internal/os/PowerProfile;