Searched refs:mEnergyConsumers (Results 1 – 4 of 4) sorted by relevance
60 int32_t id = mEnergyConsumers.size(); in addEnergyConsumer()63 mEnergyConsumers.emplace_back(std::move(p)); in addEnergyConsumer()127 if (mEnergyConsumers.empty()) { in getEnergyConsumed()140 if (id < 0 || id >= mEnergyConsumers.size()) { in getEnergyConsumed()144 auto optionalResult = mEnergyConsumers[id]->getEnergyConsumed(); in getEnergyConsumed()
79 std::vector<std::unique_ptr<IEnergyConsumer>> mEnergyConsumers; variable
122 int32_t id = mEnergyConsumers.size(); in addEnergyConsumer()125 mEnergyConsumers.emplace_back(std::move(p)); in addEnergyConsumer()135 if (mEnergyConsumers.empty()) { in getEnergyConsumed()148 if (id < 0 || id >= mEnergyConsumers.size()) { in getEnergyConsumed()152 auto resopt = mEnergyConsumers[id]->getEnergyConsumed(); in getEnergyConsumed()386 mEnergyConsumers[result.id]->getConsumerName().c_str(), in dumpEnergyConsumer()
96 std::vector<std::unique_ptr<IEnergyConsumer>> mEnergyConsumers; variable