Home
last modified time | relevance | path

Searched refs:getPowerProfile (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DAmbientDisplayPowerCalculatorTest.java72 new AmbientDisplayPowerCalculator(mStatsRule.getPowerProfile()); in testMeasuredEnergyBasedModel()
132 new AmbientDisplayPowerCalculator(mStatsRule.getPowerProfile()); in testMeasuredEnergyBasedModel_multiDisplay()
157 new AmbientDisplayPowerCalculator(mStatsRule.getPowerProfile()); in testPowerProfileBasedModel()
188 new AmbientDisplayPowerCalculator(mStatsRule.getPowerProfile()); in testPowerProfileBasedModel_multiDisplay()
DBluetoothPowerCalculatorTest.java79 new BluetoothPowerCalculator(mStatsRule.getPowerProfile()); in testTimerBasedModel()
134 new BluetoothPowerCalculator(mStatsRule.getPowerProfile()); in testTimerBasedModel_byProcessState()
174 new BluetoothPowerCalculator(mStatsRule.getPowerProfile()); in testReportedEnergyBasedModel()
199 new BluetoothPowerCalculator(mStatsRule.getPowerProfile()); in testMeasuredEnergyBasedModel()
255 new BluetoothPowerCalculator(mStatsRule.getPowerProfile()); in testMeasuredEnergyBasedModel_byProcessState()
296 new BluetoothPowerCalculator(mStatsRule.getPowerProfile()); in testIgnoreMeasuredEnergyBasedModel()
DWifiPowerCalculatorTest.java154 WifiPowerCalculator calculator = new WifiPowerCalculator(mStatsRule.getPowerProfile()); in testPowerControllerBasedModel_nonMeasured()
205 WifiPowerCalculator calculator = new WifiPowerCalculator(mStatsRule.getPowerProfile()); in testPowerControllerBasedModel_powerProfile_byProcessState()
242 WifiPowerCalculator calculator = new WifiPowerCalculator(mStatsRule.getPowerProfile()); in testPowerControllerBasedModel_measured()
294 WifiPowerCalculator calculator = new WifiPowerCalculator(mStatsRule.getPowerProfile()); in testPowerControllerBasedModel_measured_byProcessState()
344 WifiPowerCalculator calculator = new WifiPowerCalculator(mStatsRule.getPowerProfile()); in testTimerBasedModel_nonMeasured()
365 WifiPowerCalculator calculator = new WifiPowerCalculator(mStatsRule.getPowerProfile()); in testTimerBasedModel_measured()
401 PowerProfile powerProfile = mStatsRule.getPowerProfile(); in calculateEnergyMicroJoules()
DSystemServicePowerCalculatorTest.java126 mStatsRule.getCpuScalingPolicies(), mStatsRule.getPowerProfile()); in testPowerProfileBasedModel()
129 mStatsRule.getPowerProfile()), calculator); in testPowerProfileBasedModel()
160 mStatsRule.getCpuScalingPolicies(), mStatsRule.getPowerProfile()); in testMeasuredEnergyBasedModel()
163 mStatsRule.getPowerProfile()), calculator); in testMeasuredEnergyBasedModel()
DMobileRadioPowerCalculatorTest.java150 new MobileRadioPowerCalculator(mStatsRule.getPowerProfile()); in testCounterBasedModel()
294 new MobileRadioPowerCalculator(mStatsRule.getPowerProfile()); in testCounterBasedModel_multipleDefinedRat()
427 new MobileRadioPowerCalculator(mStatsRule.getPowerProfile()); in testCounterBasedModel_legacyPowerProfile()
562 new MobileRadioPowerCalculator(mStatsRule.getPowerProfile()); in testTimerBasedModel_byProcessState()
640 new MobileRadioPowerCalculator(mStatsRule.getPowerProfile()); in testMeasuredEnergyBasedModel_mobileRadioActiveTimeModel()
642 new PhonePowerCalculator(mStatsRule.getPowerProfile()); in testMeasuredEnergyBasedModel_mobileRadioActiveTimeModel()
774 new MobileRadioPowerCalculator(mStatsRule.getPowerProfile()); in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel()
776 new PhonePowerCalculator(mStatsRule.getPowerProfile()); in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel()
928 new MobileRadioPowerCalculator(mStatsRule.getPowerProfile()); in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel_legacyPowerProfile()
930 new PhonePowerCalculator(mStatsRule.getPowerProfile()); in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel_legacyPowerProfile()
[all …]
DGnssPowerCalculatorTest.java62 new GnssPowerCalculator(mStatsRule.getPowerProfile()); in testTimerBasedModel()
101 new GnssPowerCalculator(mStatsRule.getPowerProfile()); in testMeasuredEnergyBasedModel()
DCameraPowerCalculatorTest.java64 new CameraPowerCalculator(mStatsRule.getPowerProfile()); in testTimerBasedModel()
116 new CameraPowerCalculator(mStatsRule.getPowerProfile()); in testEnergyConsumptionBasedModel()
DScreenPowerCalculatorTest.java93 new ScreenPowerCalculator(mStatsRule.getPowerProfile()); in testMeasuredEnergyBasedModel()
192 new ScreenPowerCalculator(mStatsRule.getPowerProfile()); in testMeasuredEnergyBasedModel_multiDisplay()
264 new ScreenPowerCalculator(mStatsRule.getPowerProfile()); in testPowerProfileBasedModel()
346 new ScreenPowerCalculator(mStatsRule.getPowerProfile()); in testPowerProfileBasedModel_multiDisplay()
DMemoryPowerCalculatorTest.java59 new MemoryPowerCalculator(mStatsRule.getPowerProfile()); in testTimerBasedModel()
DFlashlightPowerCalculatorTest.java58 new FlashlightPowerCalculator(mStatsRule.getPowerProfile()); in testTimerBasedModel()
DIdlePowerCalculatorTest.java52 IdlePowerCalculator calculator = new IdlePowerCalculator(mStatsRule.getPowerProfile()); in testTimerBasedModel()
DVideoPowerCalculatorTest.java58 new VideoPowerCalculator(mStatsRule.getPowerProfile()); in testTimerBasedModel()
DAudioPowerCalculatorTest.java58 new AudioPowerCalculator(mStatsRule.getPowerProfile()); in testTimerBasedModel()
DCustomEnergyConsumerPowerCalculatorTest.java66 new CustomEnergyConsumerPowerCalculator(mStatsRule.getPowerProfile()); in testMeasuredEnergyCopiedIntoBatteryConsumers()
DCpuPowerCalculatorTest.java186 mStatsRule.getPowerProfile()); in testTimerBasedModel()
258 mStatsRule.getPowerProfile()); in testMeasuredEnergyBasedModel()
364 mStatsRule.getPowerProfile()); in testTimerBasedModel_byProcessState()
476 mStatsRule.getPowerProfile()); in testMeasuredEnergyBasedModel_perProcessState()
DWakelockPowerCalculatorTest.java70 new WakelockPowerCalculator(mStatsRule.getPowerProfile()); in testTimerBasedModel()
DBluetoothPowerStatsProcessorTest.java170 new BluetoothPowerStatsProcessor(mStatsRule.getPowerProfile()); in powerProfileModel_mostlyDataTransfer()
271 new BluetoothPowerStatsProcessor(mStatsRule.getPowerProfile()); in powerProfileModel_mostlyScan()
370 new BluetoothPowerStatsProcessor(mStatsRule.getPowerProfile()); in consumedEnergyModel()
DWifiPowerStatsProcessorTest.java199 new WifiPowerStatsProcessor(mStatsRule.getPowerProfile()); in powerProfileModel_powerController()
311 new WifiPowerStatsProcessor(mStatsRule.getPowerProfile()); in consumedEnergyModel_powerController()
424 new WifiPowerStatsProcessor(mStatsRule.getPowerProfile()); in powerProfileModel_noPowerController()
DPhoneCallPowerStatsProcessorTest.java160 new MobileRadioPowerStatsProcessor(mStatsRule.getPowerProfile()); in copyEstimatesFromMobileRadioPowerStats()
DMobileRadioPowerStatsProcessorTest.java176 new MobileRadioPowerStatsProcessor(mStatsRule.getPowerProfile()); in powerProfileModel()
415 new MobileRadioPowerStatsProcessor(mStatsRule.getPowerProfile()); in prepareAggregatedStats_energyConsumerModel()
DPowerStatsExporterTest.java96 new CpuPowerStatsProcessor(mStatsRule.getPowerProfile(), in setup()
DCpuPowerStatsProcessorTest.java91 mStatsRule.getPowerProfile(), mStatsRule.getCpuScalingPolicies()); in setup()
DBatteryUsageStatsRule.java358 public PowerProfile getPowerProfile() {
DCpuPowerStatsCollectorTest.java112 public PowerProfile getPowerProfile() { in getPowerProfile() method in CpuPowerStatsCollectorTest.TestInjector
/frameworks/base/services/core/java/com/android/server/power/stats/
DCpuPowerStatsCollector.java58 PowerProfile getPowerProfile(); in getPowerProfile() method
116 mPowerProfile = mInjector.getPowerProfile(); in ensureInitialized()

12