Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DCustomMeasuredPowerCalculatorTest.java64 assertThat(uid.getConsumedPowerForCustomComponent( in testMeasuredEnergyCopiedIntoBatteryConsumers()
67 assertThat(uid.getConsumedPowerForCustomComponent( in testMeasuredEnergyCopiedIntoBatteryConsumers()
72 assertThat(deviceBatteryConsumer.getConsumedPowerForCustomComponent( in testMeasuredEnergyCopiedIntoBatteryConsumers()
75 assertThat(deviceBatteryConsumer.getConsumedPowerForCustomComponent( in testMeasuredEnergyCopiedIntoBatteryConsumers()
80 assertThat(appsBatteryConsumer.getConsumedPowerForCustomComponent( in testMeasuredEnergyCopiedIntoBatteryConsumers()
83 assertThat(appsBatteryConsumer.getConsumedPowerForCustomComponent( in testMeasuredEnergyCopiedIntoBatteryConsumers()
H A DBatteryUsageStatsTest.java411 assertThat(uidBatteryConsumer.getConsumedPowerForCustomComponent( in assertUidBatteryConsumer()
428 assertThat(userBatteryConsumer.getConsumedPowerForCustomComponent( in assertUserBatteryConsumer()
447 assertThat(appsBatteryConsumer.getConsumedPowerForCustomComponent( in assertAggregateBatteryConsumer()
/aosp12/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
H A DBatteryConsumerData.java149 requestedBatteryConsumer.getConsumedPowerForCustomComponent( in populateForUidBatteryConsumer()
227 deviceBatteryConsumer.getConsumedPowerForCustomComponent( in populateForAggregateBatteryConsumer()
229 appsBatteryConsumer.getConsumedPowerForCustomComponent( in populateForAggregateBatteryConsumer()
305 powerByComponentMah[component] += consumer.getConsumedPowerForCustomComponent( in computeTotalPowerForCustomComponent()
/aosp12/frameworks/base/core/java/android/os/
H A DBatteryConsumer.java190 public double getConsumedPowerForCustomComponent(int componentId) { in getConsumedPowerForCustomComponent() method in BatteryConsumer
191 return mPowerComponents.getConsumedPowerForCustomComponent(componentId); in getConsumedPowerForCustomComponent()
H A DPowerComponents.java124 public double getConsumedPowerForCustomComponent(int componentId) { in getConsumedPowerForCustomComponent() method in PowerComponents
247 getConsumedPowerForCustomComponent(customComponentId); in dump()
341 final double powerMah = getConsumedPowerForCustomComponent(componentId);
H A DBatteryUsageStats.java580 deviceConsumer.getConsumedPowerForCustomComponent(componentId); in dump()
582 appsConsumer.getConsumedPowerForCustomComponent(componentId); in dump()
/aosp12/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryAppListPreferenceController.java371 deviceConsumer.getConsumedPowerForCustomComponent(componentId), in getCoalescedUsageList()
372 appsConsumer.getConsumedPowerForCustomComponent(componentId))); in getCoalescedUsageList()
/aosp12/frameworks/base/core/tests/batterystatstests/BatteryUsageStatsProtoTests/src/com/android/internal/os/
H A DBatteryUsageStatsPulledTest.java130 convertMahToDc(consumer.getConsumedPowerForCustomComponent(componentId)), in assertSameBatteryConsumer()