Home
last modified time | relevance | path

Searched refs:mPowerComponentsBuilder (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/os/
DBatteryConsumer.java322 final PowerComponents.Builder mPowerComponentsBuilder; field in BatteryConsumer.BaseBuilder
326 mPowerComponentsBuilder = new PowerComponents.Builder(customPowerComponentNames, in BaseBuilder()
353 mPowerComponentsBuilder.setConsumedPower(componentId, componentPower, powerModel); in setConsumedPower()
366 mPowerComponentsBuilder.setConsumedPowerForCustomComponent(componentId, componentPower); in setConsumedPowerForCustomComponent()
381 mPowerComponentsBuilder.setUsageDurationMillis(componentId, componentUsageTimeMillis); in setUsageDurationMillis()
395 mPowerComponentsBuilder.setUsageDurationForCustomComponentMillis(componentId, in setUsageDurationForCustomComponentMillis()
405 return mPowerComponentsBuilder.getTotalPower(); in getTotalPower()
DUserBatteryConsumer.java46 super(builder.mPowerComponentsBuilder.build()); in UserBatteryConsumer()
123 PowerComponents.parseXml(parser, consumerBuilder.mPowerComponentsBuilder); in createFromXml()
166 mPowerComponentsBuilder.addPowerAndDuration( in build()
167 uidBatteryConsumer.mPowerComponentsBuilder); in build()
DAggregateBatteryConsumer.java39 super(builder.mPowerComponentsBuilder.build()); in AggregateBatteryConsumer()
111 PowerComponents.parseXml(parser, consumerBuilder.mPowerComponentsBuilder); in parseXml()
141 mPowerComponentsBuilder.addPowerAndDuration(aggregateBatteryConsumer.mPowerComponents); in add()
DUidBatteryConsumer.java98 super(builder.mPowerComponentsBuilder.build()); in UidBatteryConsumer()
197 PowerComponents.parseXml(parser, consumerBuilder.mPowerComponentsBuilder); in createFromXml()
284 mPowerComponentsBuilder.addPowerAndDuration(consumer.mPowerComponents); in add()