Home
last modified time | relevance | path

Searched refs:getConsumedPowerForCustomComponent (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DCustomEnergyConsumerPowerCalculatorTest.java71 assertThat(uid.getConsumedPowerForCustomComponent( in testMeasuredEnergyCopiedIntoBatteryConsumers()
74 assertThat(uid.getConsumedPowerForCustomComponent( in testMeasuredEnergyCopiedIntoBatteryConsumers()
79 assertThat(deviceBatteryConsumer.getConsumedPowerForCustomComponent( in testMeasuredEnergyCopiedIntoBatteryConsumers()
82 assertThat(deviceBatteryConsumer.getConsumedPowerForCustomComponent( in testMeasuredEnergyCopiedIntoBatteryConsumers()
87 assertThat(appsBatteryConsumer.getConsumedPowerForCustomComponent( in testMeasuredEnergyCopiedIntoBatteryConsumers()
90 assertThat(appsBatteryConsumer.getConsumedPowerForCustomComponent( in testMeasuredEnergyCopiedIntoBatteryConsumers()
DBatteryUsageStatsTest.java541 assertThat(uidBatteryConsumer.getConsumedPowerForCustomComponent( in assertUidBatteryConsumer()
627 assertThat(userBatteryConsumer.getConsumedPowerForCustomComponent( in assertUserBatteryConsumer()
646 assertThat(appsBatteryConsumer.getConsumedPowerForCustomComponent( in assertAggregateBatteryConsumer()
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryConsumerData.java154 requestedBatteryConsumer.getConsumedPowerForCustomComponent( in populateForUidBatteryConsumer()
262 deviceBatteryConsumer.getConsumedPowerForCustomComponent( in populateForAggregateBatteryConsumer()
264 appsBatteryConsumer.getConsumedPowerForCustomComponent( in populateForAggregateBatteryConsumer()
340 powerByComponentMah[component] += consumer.getConsumedPowerForCustomComponent( in computeTotalPowerForCustomComponent()
/frameworks/base/core/java/android/os/
DPowerComponents.java96 public double getConsumedPowerForCustomComponent(int componentId) { in getConsumedPowerForCustomComponent() method in PowerComponents
190 getConsumedPowerForCustomComponent(customComponentId); in dump()
254 convertMahToDeciCoulombs(getConsumedPowerForCustomComponent(componentId)); in writeStatsProtoImpl()
367 final double powerMah = getConsumedPowerForCustomComponent(componentId); in writeToXml()
DBatteryConsumer.java408 public double getConsumedPowerForCustomComponent(int componentId) { in getConsumedPowerForCustomComponent() method in BatteryConsumer
409 return mPowerComponents.getConsumedPowerForCustomComponent(componentId); in getConsumedPowerForCustomComponent()
DBatteryUsageStats.java625 deviceConsumer.getConsumedPowerForCustomComponent(componentId); in dump()
627 appsConsumer.getConsumedPowerForCustomComponent(componentId); in dump()
/frameworks/base/core/tests/batterystatstests/BatteryUsageStatsProtoTests/src/com/android/internal/os/
DBatteryUsageStatsPulledTest.java143 convertMahToDc(consumer.getConsumedPowerForCustomComponent(componentId)), in assertSameBatteryConsumer()