Searched refs:attrStats (Results 1 – 3 of 3) sorted by relevance
34 bool PowerStatsEnergyAttribution::readUidTimeInState(AttributionStats *attrStats, in readUidTimeInState() argument45 attrStats->uidTimeInStateNames = Split(Trim(buf), " "); in readUidTimeInState()47 attrStats->uidTimeInStateNames.erase(attrStats->uidTimeInStateNames.begin()); in readUidTimeInState()70 attrStats->uidTimeInStats.emplace(uid, uidStats); in readUidTimeInState()80 AttributionStats attrStats; in getAttributionStats() local83 !readUidTimeInState(&attrStats, paths.at(UID_TIME_IN_STATE))) { in getAttributionStats()88 return attrStats; in getAttributionStats()
121 AttributionStats attrStats = mEnergyAttribution.getAttributionStats(paths); in addAttribution() local122 if (attrStats.uidTimeInStateNames.empty()) { in addAttribution()134 for (const auto &stateName : attrStats.uidTimeInStateNames) { in addAttribution()167 AttributionStats attrStats = mEnergyAttribution.getAttributionStats(mAttrInfoPath); in getEnergyConsumed() local168 if (attrStats.uidTimeInStats.empty() || attrStats.uidTimeInStateNames.empty()) { in getEnergyConsumed()172 for (const auto &uidTimeInStat : attrStats.uidTimeInStats) { in getEnergyConsumed()203 mUidTimeInStateSS = attrStats.uidTimeInStats; in getEnergyConsumed()
56 bool readUidTimeInState(AttributionStats *attrStats, std::string path);