Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/
H A DCustomEnergyConsumerPowerCalculatorTest.java65 assertThat(uid.getConsumedPowerForCustomComponent( in testMeasuredEnergyCopiedIntoBatteryConsumers()
68 assertThat(uid.getConsumedPowerForCustomComponent( in testMeasuredEnergyCopiedIntoBatteryConsumers()
73 assertThat(deviceBatteryConsumer.getConsumedPowerForCustomComponent( in testMeasuredEnergyCopiedIntoBatteryConsumers()
76 assertThat(deviceBatteryConsumer.getConsumedPowerForCustomComponent( in testMeasuredEnergyCopiedIntoBatteryConsumers()
81 assertThat(appsBatteryConsumer.getConsumedPowerForCustomComponent( in testMeasuredEnergyCopiedIntoBatteryConsumers()
84 assertThat(appsBatteryConsumer.getConsumedPowerForCustomComponent( in testMeasuredEnergyCopiedIntoBatteryConsumers()
H A DBatteryUsageStatsTest.java523 assertThat(uidBatteryConsumer.getConsumedPowerForCustomComponent( in assertUidBatteryConsumer()
609 assertThat(userBatteryConsumer.getConsumedPowerForCustomComponent( in assertUserBatteryConsumer()
628 assertThat(appsBatteryConsumer.getConsumedPowerForCustomComponent( in assertAggregateBatteryConsumer()
/aosp14/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
H A DBatteryConsumerData.java154 requestedBatteryConsumer.getConsumedPowerForCustomComponent( in populateForUidBatteryConsumer()
262 deviceBatteryConsumer.getConsumedPowerForCustomComponent( in populateForAggregateBatteryConsumer()
264 appsBatteryConsumer.getConsumedPowerForCustomComponent( in populateForAggregateBatteryConsumer()
340 powerByComponentMah[component] += consumer.getConsumedPowerForCustomComponent( in computeTotalPowerForCustomComponent()
/aosp14/frameworks/base/core/java/android/os/
H A DPowerComponents.java94 public double getConsumedPowerForCustomComponent(int componentId) { in getConsumedPowerForCustomComponent() method in PowerComponents
188 getConsumedPowerForCustomComponent(customComponentId); in dump()
252 convertMahToDeciCoulombs(getConsumedPowerForCustomComponent(componentId)); in writeStatsProtoImpl()
365 final double powerMah = getConsumedPowerForCustomComponent(componentId); in writeToXml()
H A DBatteryConsumer.java404 public double getConsumedPowerForCustomComponent(int componentId) { in getConsumedPowerForCustomComponent() method in BatteryConsumer
405 return mPowerComponents.getConsumedPowerForCustomComponent(componentId); in getConsumedPowerForCustomComponent()
H A DBatteryUsageStats.java598 deviceConsumer.getConsumedPowerForCustomComponent(componentId); in dump()
600 appsConsumer.getConsumedPowerForCustomComponent(componentId); in dump()
/aosp14/frameworks/base/core/tests/batterystatstests/BatteryUsageStatsProtoTests/src/com/android/internal/os/
H A DBatteryUsageStatsPulledTest.java138 convertMahToDc(consumer.getConsumedPowerForCustomComponent(componentId)), in assertSameBatteryConsumer()