Searched refs:stateCoeffs (Results 1 – 2 of 2) sorted by relevance
/aosp12/hardware/google/pixel/powerstats/dataproviders/ |
H A D | PowerStatsEnergyConsumer.cpp | 40 std::string powerEntityName, std::map<std::string, int32_t> stateCoeffs) { in createEntityConsumer() argument 47 std::map<std::string, int32_t> stateCoeffs) { in createMeterAndEntityConsumer() argument 62 std::map<std::string, int32_t> stateCoeffs) { in createMeterAndAttrConsumer() 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() 112 return (mCoefficients.size() == stateCoeffs.size()); in addPowerEntity() 129 if (stateCoeffs.empty()) { in addAttribution() 135 if (stateCoeffs.count(stateName)) { in addAttribution() 138 mCoefficients.emplace(stateId, stateCoeffs.at(stateName)); in addAttribution() [all …]
|
/aosp12/hardware/google/pixel/powerstats/include/dataproviders/ |
H A 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);
|