Home
last modified time | relevance | path

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

/hardware/interfaces/power/stats/aidl/default/
DPowerStats.cpp60 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()
DPowerStats.h79 std::vector<std::unique_ptr<IEnergyConsumer>> mEnergyConsumers; variable
/hardware/google/pixel/powerstats/
DPowerStatsAidl.cpp122 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()
/hardware/google/pixel/powerstats/include/
DPowerStatsAidl.h96 std::vector<std::unique_ptr<IEnergyConsumer>> mEnergyConsumers; variable