Searched refs:PowerStatsEnergyConsumer (Results 1 – 2 of 2) sorted by relevance
27 PowerStatsEnergyConsumer::PowerStatsEnergyConsumer(std::shared_ptr<PowerStats> p, in PowerStatsEnergyConsumer() function in aidl::android::hardware::power::stats::PowerStatsEnergyConsumer32 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()[all …]
46 class PowerStatsEnergyConsumer : public PowerStats::IEnergyConsumer {48 static std::unique_ptr<PowerStatsEnergyConsumer> createMeterConsumer(51 static std::unique_ptr<PowerStatsEnergyConsumer> createEntityConsumer(55 static std::unique_ptr<PowerStatsEnergyConsumer> createMeterAndEntityConsumer(60 static std::unique_ptr<PowerStatsEnergyConsumer> createMeterAndAttrConsumer(72 PowerStatsEnergyConsumer(std::shared_ptr<PowerStats> p, EnergyConsumerType type,