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()
70 private PowerProfile mPowerProfile; field in KernelUidCpuFreqTimeReaderTest97 mBufferedReader, mPowerProfile); in testReadFreqs_perClusterTimesNotAvailable()106 actualFreqs = mKernelUidCpuFreqTimeReader.readFreqs(mPowerProfile); in testReadFreqs_perClusterTimesNotAvailable()111 Mockito.reset(mBufferedReader, mPowerProfile); in testReadFreqs_perClusterTimesNotAvailable()128 mBufferedReader, mPowerProfile); in testReadFreqs_perClusterTimesAvailable()137 actualFreqs = mKernelUidCpuFreqTimeReader.readFreqs(mPowerProfile); in testReadFreqs_perClusterTimesAvailable()142 Mockito.reset(mBufferedReader, mPowerProfile); in testReadFreqs_perClusterTimesAvailable()158 long[] actualFreqs = mKernelUidCpuFreqTimeReader.readFreqs(mBufferedReader, mPowerProfile); in testReadDelta_Binary()234 long[] actualFreqs = mKernelUidCpuFreqTimeReader.readFreqs(mBufferedReader, mPowerProfile); in testReadAbsolute()296 when(mPowerProfile.getNumCpuClusters()).thenReturn(numClusters); in setCpuClusterFreqs()[all …]
87 PowerProfile mPowerProfile; field in BatteryStatsCpuTimesTest109 mBatteryStatsImpl.setPowerProfile(mPowerProfile); in testUpdateCpuTimeLocked()114 when(mKernelUidCpuFreqTimeReader.readFreqs(mPowerProfile)).thenReturn(freqs); in testUpdateCpuTimeLocked()203 when(mPowerProfile.getNumCpuClusters()).thenReturn(clusterSpeedTimesMs.length); in testUpdateClusterSpeedTimes()205 when(mPowerProfile.getNumSpeedStepsInCpuCluster(i)) in testUpdateClusterSpeedTimes()614 when(mPowerProfile.getNumCpuClusters()).thenReturn(clusterFreqs.length); in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()616 when(mPowerProfile.getNumSpeedStepsInCpuCluster(i)) in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()724 when(mPowerProfile.getNumCpuClusters()).thenReturn(clusterFreqs.length); in testReadKernelUidCpuFreqTimesLocked_partialTimers()726 when(mPowerProfile.getNumSpeedStepsInCpuCluster(i)) in testReadKernelUidCpuFreqTimesLocked_partialTimers()1296 mBatteryStatsImpl.setPowerProfile(mPowerProfile); in updateTimeBasesLocked()
93 mPowerProfile = powerProfile; in setPowerProfile()
80 private PowerProfile mPowerProfile; field in BatteryStatsHelper271 return mPowerProfile; in getPowerProfile()275 mPowerProfile = new PowerProfile(mContext); in create()286 mPowerProfile = new PowerProfile(mContext); in create()373 mCpuPowerCalculator = new CpuPowerCalculator(mPowerProfile); in refreshStats()378 mMemoryPowerCalculator = new MemoryPowerCalculator(mPowerProfile); in refreshStats()383 mWakelockPowerCalculator = new WakelockPowerCalculator(mPowerProfile); in refreshStats()388 mMobileRadioPowerCalculator = new MobileRadioPowerCalculator(mPowerProfile, mStats); in refreshStats()394 final boolean hasWifiPowerReporting = checkHasWifiPowerReporting(mStats, mPowerProfile); in refreshStats()397 new WifiPowerCalculator(mPowerProfile) : in refreshStats()[all …]
537 if (mPowerProfile == null) { in initKernelSingleUidTimeReaderLocked()541 mCpuFreqs = mKernelUidCpuFreqTimeReader.readFreqs(mPowerProfile); in initKernelSingleUidTimeReaderLocked()963 protected PowerProfile mPowerProfile; field in BatteryStatsImpl6396 final double opVolt = mPowerProfile.getAveragePower( in getGpsBatteryDrainMaMs()6406 += mPowerProfile.getAveragePower(PowerProfile.POWER_GPS_SIGNAL_QUALITY_BASED, i) in getGpsBatteryDrainMaMs()8778 … if (mBsi.mPowerProfile != null && mBsi.mPowerProfile.getNumCpuClusters() != numCpuClusters) { in readFromParcelLocked()8786 if (mBsi.mPowerProfile != null && in readFromParcelLocked()8787 … mBsi.mPowerProfile.getNumSpeedStepsInCpuCluster(cluster) != numSpeeds) { in readFromParcelLocked()10234 mPowerProfile = profile; in setPowerProfileLocked()10239 final int numClusters = mPowerProfile.getNumCpuClusters(); in setPowerProfileLocked()[all …]
224 PowerProfile mPowerProfile; field in WifiServiceImpl485 mPowerProfile = mWifiInjector.getPowerProfile(); in WifiServiceImpl()1677 final double rxIdleCurrent = mPowerProfile.getAveragePower( in reportActivityInfo()1679 final double rxCurrent = mPowerProfile.getAveragePower( in reportActivityInfo()1681 final double txCurrent = mPowerProfile.getAveragePower( in reportActivityInfo()1683 final double voltage = mPowerProfile.getAveragePower( in reportActivityInfo()
197 @Mock PowerProfile mPowerProfile; field in WifiServiceImplTest280 when(mWifiInjector.getPowerProfile()).thenReturn(mPowerProfile); in setUp()
7670 Lcom/android/internal/os/BatteryStatsHelper;->mPowerProfile:Lcom/android/internal/os/PowerProfile;