Home
last modified time | relevance | path

Searched refs:POWER_COMPONENT_AMBIENT_DISPLAY (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DAmbientDisplayPowerCalculatorTest.java77 assertThat(consumer.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_AMBIENT_DISPLAY)) in testMeasuredEnergyBasedModel()
80 assertThat(consumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_AMBIENT_DISPLAY)) in testMeasuredEnergyBasedModel()
82 assertThat(consumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_AMBIENT_DISPLAY)) in testMeasuredEnergyBasedModel()
137 assertThat(consumer.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_AMBIENT_DISPLAY)) in testMeasuredEnergyBasedModel_multiDisplay()
141 assertThat(consumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_AMBIENT_DISPLAY)) in testMeasuredEnergyBasedModel_multiDisplay()
143 assertThat(consumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_AMBIENT_DISPLAY)) in testMeasuredEnergyBasedModel_multiDisplay()
162 assertThat(consumer.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_AMBIENT_DISPLAY)) in testPowerProfileBasedModel()
164 assertThat(consumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_AMBIENT_DISPLAY)) in testPowerProfileBasedModel()
166 assertThat(consumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_AMBIENT_DISPLAY)) in testPowerProfileBasedModel()
194 assertThat(consumer.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_AMBIENT_DISPLAY)) in testPowerProfileBasedModel_multiDisplay()
[all …]
/frameworks/base/services/core/java/com/android/server/power/stats/
DAmbientDisplayPowerCalculator.java36 return powerComponent == BatteryConsumer.POWER_COMPONENT_AMBIENT_DISPLAY; in isPowerComponentSupported()
63 .setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_AMBIENT_DISPLAY, durationMs) in calculate()
64 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_AMBIENT_DISPLAY, in calculate()
/frameworks/base/core/java/android/os/
DBatteryConsumer.java90 public static final int POWER_COMPONENT_AMBIENT_DISPLAY = field in BatteryConsumer
91 OsProtoEnums.POWER_COMPONENT_AMBIENT_DISPLAY; // 15
123 sPowerComponentNames[POWER_COMPONENT_AMBIENT_DISPLAY] = "ambient_display";
DBatteryStats.java4429 CHECKIN_POWER_COMPONENT_LABELS[BatteryConsumer.POWER_COMPONENT_AMBIENT_DISPLAY] = "ambi";
8770 case BatteryConsumer.POWER_COMPONENT_AMBIENT_DISPLAY: in dumpProtoSystemLocked()
8913 || powerComponent == BatteryConsumer.POWER_COMPONENT_AMBIENT_DISPLAY; in shouldHidePowerComponent()
/frameworks/proto_logging/stats/enums/os/
Denums.proto80 POWER_COMPONENT_AMBIENT_DISPLAY = 15; enumerator