Searched refs:batteryConsumer (Results 1 – 2 of 2) sorted by relevance
173 BatteryConsumer batteryConsumer, int component) { in addProcessStateEntries() argument174 final BatteryConsumer.Key[] keys = batteryConsumer.getKeys(component); in addProcessStateEntries()198 batteryConsumer.getConsumedPower(key), 0); in addProcessStateEntries()275 private boolean isPowerProfileModelsOnly(BatteryConsumer batteryConsumer) { in isPowerProfileModelsOnly() argument277 final int powerModel = batteryConsumer.getPowerModel(component); in isPowerProfileModelsOnly()
328 private void assertBluetoothPowerAndDuration(@Nullable BatteryConsumer batteryConsumer, in assertBluetoothPowerAndDuration() argument330 assertThat(batteryConsumer).isNotNull(); in assertBluetoothPowerAndDuration()332 double consumedPower = batteryConsumer.getConsumedPower( in assertBluetoothPowerAndDuration()335 assertThat(batteryConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_BLUETOOTH)) in assertBluetoothPowerAndDuration()338 long usageDurationMillis = batteryConsumer.getUsageDurationMillis( in assertBluetoothPowerAndDuration()