Home
last modified time | relevance | path

Searched refs:stateNames (Results 1 – 4 of 4) sorted by relevance

/hardware/google/pixel/powerstats/
DPowerStats.cpp209 const std::unordered_map<uint32_t, std::unordered_map<uint32_t, std::string>> stateNames, in DumpResidencyDataToFd() argument
224 stateNames.at(result.powerEntityId) in DumpResidencyDataToFd()
238 const std::unordered_map<uint32_t, std::unordered_map<uint32_t, std::string>> stateNames, in DumpResidencyDataDiffToFd() argument
281 const char *stateName = stateNames.at(entityId).at(stateId).c_str(); in DumpResidencyDataDiffToFd()
343 std::unordered_map<uint32_t, std::unordered_map<uint32_t, std::string>> stateNames; in debugStateResidency() local
345 stateNames.emplace(stateSpace.powerEntityId, std::unordered_map<uint32_t, std::string>()); in debugStateResidency()
346 auto &entityStateNames = stateNames.at(stateSpace.powerEntityId); in debugStateResidency()
369 if (!DumpResidencyDataToFd(entityNames, stateNames, results, fd)) { in debugStateResidency()
381 if (!DumpResidencyDataDiffToFd(entityNames, stateNames, elapsedTimeMs, prevResults, in debugStateResidency()
DAidlStateResidencyDataProvider.cpp36 std::vector<std::string> stateNames) { in addEntity() argument
44 for (auto stateName : stateNames) { in addEntity()
/hardware/google/pixel/powerstats/include/pixelpowerstats/
DAidlStateResidencyDataProvider.h42 void addEntity(uint32_t id, std::string entityName, std::vector<std::string> stateNames);
/hardware/interfaces/power/stats/1.0/default/
DPowerStats.cpp421 std::unordered_map<uint32_t, std::unordered_map<uint32_t, std::string>> stateNames; in DumpResidencyDataToFd() local
423 stateNames.emplace(stateSpace.powerEntityId, std::unordered_map<uint32_t, std::string>()); in DumpResidencyDataToFd()
425 stateNames.at(stateSpace.powerEntityId) in DumpResidencyDataToFd()
443 stateNames.at(result.powerEntityId) in DumpResidencyDataToFd()