Searched refs:stateCoeffs (Results 1 – 2 of 2) sorted by relevance
/hardware/google/pixel/powerstats/dataproviders/ |
D | PowerStatsEnergyConsumer.cpp | 40 std::string powerEntityName, std::map<std::string, int32_t> stateCoeffs) { in createEntityConsumer() argument 41 return createMeterAndEntityConsumer(p, type, name, {}, powerEntityName, stateCoeffs); in createEntityConsumer() 47 std::map<std::string, int32_t> stateCoeffs) { in createMeterAndEntityConsumer() argument 51 if (ret->addEnergyMeter(channelNames) && ret->addPowerEntity(powerEntityName, stateCoeffs)) { in createMeterAndEntityConsumer() 62 std::map<std::string, int32_t> stateCoeffs) { in createMeterAndAttrConsumer() argument 66 if (ret->addEnergyMeter(channelNames) && ret->addAttribution(paths, stateCoeffs)) { in createMeterAndAttrConsumer() 92 std::map<std::string, int32_t> stateCoeffs) { in addPowerEntity() argument 93 if (powerEntityName.empty() || stateCoeffs.empty()) { in addPowerEntity() 104 if (stateCoeffs.count(s.name)) { in addPowerEntity() 105 mCoefficients.emplace(s.id, stateCoeffs.at(s.name)); in addPowerEntity() [all …]
|
/hardware/google/pixel/powerstats/include/dataproviders/ |
D | PowerStatsEnergyConsumer.h | 53 std::string powerEntityName, std::map<std::string, int32_t> stateCoeffs); 58 std::map<std::string, int32_t> stateCoeffs); 63 std::map<std::string, int32_t> stateCoeffs); 75 bool addPowerEntity(std::string powerEntityName, std::map<std::string, int32_t> stateCoeffs); 77 std::map<std::string, int32_t> stateCoeffs);
|