Searched refs:mEnergyConsumers (Results 1 – 3 of 3) sorted by relevance
44 private final SparseArray<EnergyConsumer> mEnergyConsumers; field in EnergyConsumerSnapshot92 mEnergyConsumers = idToConsumerMap; in EnergyConsumerSnapshot()93 mEnergyConsumerSnapshots = new SparseLongArray(mEnergyConsumers.size()); in EnergyConsumerSnapshot()94 mVoltageSnapshots = new SparseIntArray(mEnergyConsumers.size()); in EnergyConsumerSnapshot()192 final EnergyConsumer consumer = mEnergyConsumers.get(consumerId, null); in updateAndGetDelta()351 for (int i = 0; i < mEnergyConsumers.size(); i++) { in dump()352 final int id = mEnergyConsumers.keyAt(i); in dump()353 final EnergyConsumer consumer = mEnergyConsumers.valueAt(i); in dump()377 final int size = mEnergyConsumers.size(); in getOtherOrdinalNames()379 final EnergyConsumer consumer = mEnergyConsumers.valueAt(idx); in getOtherOrdinalNames()
240 private final SparseArray<EnergyConsumer> mEnergyConsumers = new SparseArray(); field in BatteryExternalStatsWorkerTest.TestPowerStatsInternal246 final int size = mEnergyConsumers.size(); in getEnergyConsumerInfo()249 consumers[i] = mEnergyConsumers.valueAt(i); in getEnergyConsumerInfo()310 mEnergyConsumers.put(id, consumer); in addEnergyConsumer()327 final int size = mEnergyConsumers.size(); in getNextAvailableId()330 if (mEnergyConsumers.keyAt(i) == i) return i + 1; in getNextAvailableId()
117 private EnergyConsumer[] mEnergyConsumers = null; field in PowerStatsService363 if (mEnergyConsumers == null) { in getEnergyConsumerInfo()364 mEnergyConsumers = getPowerStatsHal().getEnergyConsumerInfo(); in getEnergyConsumerInfo()366 return mEnergyConsumers; in getEnergyConsumerInfo()