Home
last modified time | relevance | path

Searched refs:POWER_COMPONENT_GNSS (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DGnssPowerCalculatorTest.java67 assertThat(consumer.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_GNSS)) in testTimerBasedModel()
69 assertThat(consumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_GNSS)) in testTimerBasedModel()
71 assertThat(consumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_GNSS)) in testTimerBasedModel()
75 assertThat(deviceConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_GNSS)) in testTimerBasedModel()
77 assertThat(deviceConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_GNSS)) in testTimerBasedModel()
81 assertThat(appsConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_GNSS)) in testTimerBasedModel()
83 assertThat(appsConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_GNSS)) in testTimerBasedModel()
106 assertThat(consumer.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_GNSS)) in testMeasuredEnergyBasedModel()
108 assertThat(consumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_GNSS)) in testMeasuredEnergyBasedModel()
110 assertThat(consumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_GNSS)) in testMeasuredEnergyBasedModel()
[all …]
/frameworks/base/services/core/java/com/android/server/power/stats/
DGnssPowerCalculator.java47 return powerComponent == BatteryConsumer.POWER_COMPONENT_GNSS; in isPowerComponentSupported()
80 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_GNSS, powerMah, powerModel); in calculate()
83 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_GNSS, appsPowerMah, powerModel); in calculate()
100 app.setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_GNSS, durationMs) in calculateApp()
101 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_GNSS, powerMah, powerModel); in calculateApp()
/frameworks/base/core/java/android/os/
DBatteryConsumer.java59 POWER_COMPONENT_GNSS,
85 public static final int POWER_COMPONENT_GNSS = OsProtoEnums.POWER_COMPONENT_GNSS; // 10 field in BatteryConsumer
118 sPowerComponentNames[POWER_COMPONENT_GNSS] = "gnss";
DBatteryStats.java4425 CHECKIN_POWER_COMPONENT_LABELS[BatteryConsumer.POWER_COMPONENT_GNSS] = "gnss";
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryConsumerData.java309 case BatteryConsumer.POWER_COMPONENT_GNSS: in getPowerComponentName()
/frameworks/proto_logging/stats/enums/os/
Denums.proto75 POWER_COMPONENT_GNSS = 10; enumerator