Searched refs:POWER_COMPONENT_COUNT (Results 1 – 11 of 11) sorted by relevance
50 double[] totalPowerPerComponentMah = new double[BatteryConsumer.POWER_COMPONENT_COUNT]; in PowerMetrics()51 long[] totalDurationPerComponentMs = new long[BatteryConsumer.POWER_COMPONENT_COUNT]; in PowerMetrics()59 for (int component = 0; component < BatteryConsumer.POWER_COMPONENT_COUNT; in PowerMetrics()72 for (int component = 0; component < BatteryConsumer.POWER_COMPONENT_COUNT; component++) { in PowerMetrics()
94 double[] totalPowerByComponentMah = new double[BatteryConsumer.POWER_COMPONENT_COUNT]; in populateForUidBatteryConsumer()96 new double[BatteryConsumer.POWER_COMPONENT_COUNT]; in populateForUidBatteryConsumer()97 long[] totalDurationByComponentMs = new long[BatteryConsumer.POWER_COMPONENT_COUNT]; in populateForUidBatteryConsumer()126 for (int component = 0; component < BatteryConsumer.POWER_COMPONENT_COUNT; component++) { in populateForUidBatteryConsumer()160 for (int component = 0; component < BatteryConsumer.POWER_COMPONENT_COUNT; component++) { in populateForUidBatteryConsumer()238 for (int component = 0; component < BatteryConsumer.POWER_COMPONENT_COUNT; component++) { in populateForAggregateBatteryConsumer()268 for (int component = 0; component < BatteryConsumer.POWER_COMPONENT_COUNT; component++) { in populateForAggregateBatteryConsumer()276 for (int component = 0; component < BatteryConsumer.POWER_COMPONENT_COUNT; component++) { in isPowerProfileModelsOnly()326 for (int component = 0; component < BatteryConsumer.POWER_COMPONENT_COUNT; component++) { in computeTotalPower()348 for (int component = 0; component < BatteryConsumer.POWER_COMPONENT_COUNT; in computeTotalDuration()
99 public static final int POWER_COMPONENT_COUNT = 18; field in BatteryConsumer104 private static final String[] sPowerComponentNames = new String[POWER_COMPONENT_COUNT];612 if (componentId >= POWER_COMPONENT_COUNT) { in getKey()712 keys = new Key[POWER_COMPONENT_COUNT][]; in BatteryConsumerDataLayout()715 for (int componentId = 0; componentId < POWER_COMPONENT_COUNT; componentId++) { in BatteryConsumerDataLayout()
161 for (int componentId = 0; componentId < BatteryConsumer.POWER_COMPONENT_COUNT; in dump()221 for (int componentId = 0; componentId < BatteryConsumer.POWER_COMPONENT_COUNT; in writeStatsProtoImpl()332 for (int componentId = 0; componentId < BatteryConsumer.POWER_COMPONENT_COUNT; in writeToXml()562 for (int componentId = BatteryConsumer.POWER_COMPONENT_COUNT - 1; componentId >= 0; in addPowerAndDuration()634 for (int componentId = 0; componentId < BatteryConsumer.POWER_COMPONENT_COUNT; in getTotalPower()
104 for (int i = 0; i < POWER_COMPONENT_COUNT; i++) { in writePowerComponentModelProto()
599 for (int componentId = 0; componentId < BatteryConsumer.POWER_COMPONENT_COUNT; in dump()
4413 new String[BatteryConsumer.POWER_COMPONENT_COUNT];4710 powerComponent < BatteryConsumer.POWER_COMPONENT_COUNT; powerComponent++) { in dumpCheckinLocked()8766 for (int powerComponent = 0; powerComponent < BatteryConsumer.POWER_COMPONENT_COUNT; in dumpProtoSystemLocked()
85 for (int i = 0; i < BatteryConsumer.POWER_COMPONENT_COUNT; i++) { in testGetStatsProto()134 if (componentId < BatteryConsumer.POWER_COMPONENT_COUNT) { in assertSameBatteryConsumer()151 for (int componentId = 0; componentId < BatteryConsumer.POWER_COMPONENT_COUNT; in assertSameBatteryConsumer()
187 for (int componentId = 0; componentId < BatteryConsumer.POWER_COMPONENT_COUNT;
178 for (int i = 0; i < BatteryConsumer.POWER_COMPONENT_COUNT; i++) { in testPowerComponentNames_existAndUnique()182 assertThat(allNames).hasSize(BatteryConsumer.POWER_COMPONENT_COUNT); in testPowerComponentNames_existAndUnique()
358 } else if (powerComponentId < BatteryConsumer.POWER_COMPONENT_COUNT) { in createFromXml()