Home
last modified time | relevance | path

Searched refs:getCustomPowerComponentCount (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryConsumerData.java99 requestedBatteryConsumer.getCustomPowerComponentCount(); in populateForUidBatteryConsumer()
257 deviceBatteryConsumer.getCustomPowerComponentCount(); in populateForAggregateBatteryConsumer()
336 final int customComponentCount = consumer.getCustomPowerComponentCount(); in computeTotalPowerForCustomComponent()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryUsageStatsTest.java548 assertThat(uidBatteryConsumer.getCustomPowerComponentCount()).isEqualTo(1); in assertUidBatteryConsumer()
634 assertThat(userBatteryConsumer.getCustomPowerComponentCount()).isEqualTo(1); in assertUserBatteryConsumer()
653 assertThat(appsBatteryConsumer.getCustomPowerComponentCount()).isEqualTo(1); in assertAggregateBatteryConsumer()
/frameworks/base/core/java/android/os/
DBatteryConsumer.java412 public int getCustomPowerComponentCount() { in getCustomPowerComponentCount() method in BatteryConsumer