Searched refs:POWER_COMPONENT_FLASHLIGHT (Results 1 – 9 of 9) sorted by relevance
47 .setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_FLASHLIGHT, durationMs) in calculate()48 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_FLASHLIGHT, powerMah); in calculate()51 .setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_FLASHLIGHT, durationMs) in calculate()52 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_FLASHLIGHT, powerMah); in calculate()61 app.setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_FLASHLIGHT, durationMs) in calculateApp()62 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_FLASHLIGHT, powerMah); in calculateApp()
48 POWER_COMPONENT_FLASHLIGHT,70 public static final int POWER_COMPONENT_FLASHLIGHT = field in BatteryConsumer71 OsProtoEnums.POWER_COMPONENT_FLASHLIGHT; // 6106 sPowerComponentNames[POWER_COMPONENT_FLASHLIGHT] = "flashlight";
55 assertThat(consumer.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_FLASHLIGHT)) in testTimerBasedModel()57 assertThat(consumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_FLASHLIGHT)) in testTimerBasedModel()
254 .getConsumedPower(BatteryConsumer.POWER_COMPONENT_FLASHLIGHT)) in testAggregateBatteryStats()259 .getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_FLASHLIGHT)) in testAggregateBatteryStats()264 .getConsumedPower(BatteryConsumer.POWER_COMPONENT_FLASHLIGHT)) in testAggregateBatteryStats()
295 assertNameAndIcon(BatteryConsumer.POWER_COMPONENT_FLASHLIGHT, in getNameAndIconFromPowerComponent_rerturnExpectedNameAndIcon()
251 BatteryConsumer.POWER_COMPONENT_FLASHLIGHT)).isFalse(); in testShouldHideSystemConsumer_OtherType_ReturnFalse()
66 POWER_COMPONENT_FLASHLIGHT = 6; enumerator
484 BatteryConsumer.POWER_COMPONENT_FLASHLIGHT, in getFakeStats()
606 case BatteryConsumer.POWER_COMPONENT_FLASHLIGHT: in getNameAndIconFromPowerComponent()