Searched refs:POWER_COMPONENT_GNSS (Results 1 – 6 of 6) sorted by relevance
67 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 …]
47 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()
59 POWER_COMPONENT_GNSS,85 public static final int POWER_COMPONENT_GNSS = OsProtoEnums.POWER_COMPONENT_GNSS; // 10 field in BatteryConsumer118 sPowerComponentNames[POWER_COMPONENT_GNSS] = "gnss";
4425 CHECKIN_POWER_COMPONENT_LABELS[BatteryConsumer.POWER_COMPONENT_GNSS] = "gnss";
309 case BatteryConsumer.POWER_COMPONENT_GNSS: in getPowerComponentName()
75 POWER_COMPONENT_GNSS = 10; enumerator