Lines Matching refs:PowerStatsEnergyConsumer
27 PowerStatsEnergyConsumer::PowerStatsEnergyConsumer(std::shared_ptr<PowerStats> p, in PowerStatsEnergyConsumer() function in aidl::android::hardware::power::stats::PowerStatsEnergyConsumer
32 std::unique_ptr<PowerStatsEnergyConsumer> PowerStatsEnergyConsumer::createMeterConsumer( in createMeterConsumer()
38 std::unique_ptr<PowerStatsEnergyConsumer> PowerStatsEnergyConsumer::createEntityConsumer( in createEntityConsumer()
44 std::unique_ptr<PowerStatsEnergyConsumer> PowerStatsEnergyConsumer::createMeterAndEntityConsumer( in createMeterAndEntityConsumer()
49 std::unique_ptr<PowerStatsEnergyConsumer>(new PowerStatsEnergyConsumer(p, type, name)); in createMeterAndEntityConsumer()
59 std::unique_ptr<PowerStatsEnergyConsumer> PowerStatsEnergyConsumer::createMeterAndAttrConsumer( in createMeterAndAttrConsumer()
63 auto ret = std::unique_ptr<PowerStatsEnergyConsumer>( in createMeterAndAttrConsumer()
64 new PowerStatsEnergyConsumer(p, type, name, true)); in createMeterAndAttrConsumer()
74 bool PowerStatsEnergyConsumer::addEnergyMeter(std::set<std::string> channelNames) { in addEnergyMeter()
91 bool PowerStatsEnergyConsumer::addPowerEntity(std::string powerEntityName, in addPowerEntity()
115 bool PowerStatsEnergyConsumer::addAttribution(std::unordered_map<int32_t, std::string> paths, in addAttribution()
147 std::optional<EnergyConsumerResult> PowerStatsEnergyConsumer::getEnergyConsumed() { in getEnergyConsumed()
226 std::string PowerStatsEnergyConsumer::getConsumerName() { in getConsumerName()