Searched refs:mPowerComponentsBuilder (Results 1 – 4 of 4) sorted by relevance
322 final PowerComponents.Builder mPowerComponentsBuilder; field in BatteryConsumer.BaseBuilder326 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()
46 super(builder.mPowerComponentsBuilder.build()); in UserBatteryConsumer()123 PowerComponents.parseXml(parser, consumerBuilder.mPowerComponentsBuilder); in createFromXml()166 mPowerComponentsBuilder.addPowerAndDuration( in build()167 uidBatteryConsumer.mPowerComponentsBuilder); in build()
39 super(builder.mPowerComponentsBuilder.build()); in AggregateBatteryConsumer()111 PowerComponents.parseXml(parser, consumerBuilder.mPowerComponentsBuilder); in parseXml()141 mPowerComponentsBuilder.addPowerAndDuration(aggregateBatteryConsumer.mPowerComponents); in add()
98 super(builder.mPowerComponentsBuilder.build()); in UidBatteryConsumer()197 PowerComponents.parseXml(parser, consumerBuilder.mPowerComponentsBuilder); in createFromXml()284 mPowerComponentsBuilder.addPowerAndDuration(consumer.mPowerComponents); in add()