Searched refs:POWER_COMPONENT_WAKELOCK (Results 1 – 4 of 4) sorted by relevance
75 assertThat(consumer.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_WAKELOCK)) in testTimerBasedModel()77 assertThat(consumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_WAKELOCK)) in testTimerBasedModel()81 assertThat(osConsumer.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_WAKELOCK)) in testTimerBasedModel()83 assertThat(osConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_WAKELOCK)) in testTimerBasedModel()87 assertThat(deviceConsumer.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_WAKELOCK)) in testTimerBasedModel()89 assertThat(deviceConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_WAKELOCK)) in testTimerBasedModel()93 assertThat(appConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_WAKELOCK)) in testTimerBasedModel()
47 return powerComponent == BatteryConsumer.POWER_COMPONENT_WAKELOCK; in isPowerComponentSupported()65 app.setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_WAKELOCK, result.durationMs) in calculate()66 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_WAKELOCK, result.powerMah); in calculate()86 osBatteryConsumer.setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_WAKELOCK, in calculate()88 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_WAKELOCK, remainingPowerMah); in calculate()97 .setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_WAKELOCK, in calculate()99 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_WAKELOCK, in calculate()103 .setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_WAKELOCK, in calculate()105 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_WAKELOCK, in calculate()
61 POWER_COMPONENT_WAKELOCK,87 public static final int POWER_COMPONENT_WAKELOCK = OsProtoEnums.POWER_COMPONENT_WAKELOCK; // 12 field in BatteryConsumer120 sPowerComponentNames[POWER_COMPONENT_WAKELOCK] = "wakelock";
77 POWER_COMPONENT_WAKELOCK = 12; enumerator