Searched refs:stateNames (Results 1 – 7 of 7) sorted by relevance
/hardware/google/pixel/pwrstats_util/dataproviders/ |
D | PowerEntityResidencyDataProvider.cpp | 41 std::unordered_map<uint32_t, std::unordered_map<uint32_t, std::string>> stateNames; in getImpl() local 56 ret = powerStatsService->getPowerEntityStateInfo({}, [&stateNames](auto stateSpaces, in getImpl() 59 stateNames.emplace(stateSpace.powerEntityId, in getImpl() 61 auto& entityStateNames = stateNames.at(stateSpace.powerEntityId); in getImpl() 73 ret = powerStatsService->getPowerEntityStateResidencyData({}, [&entityNames, &stateNames, in getImpl() 81 residency->set_state_name(stateNames.at(result.powerEntityId) in getImpl()
|
/hardware/google/pixel/powerstats/ |
D | PowerStats.cpp | 209 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()
|
D | PowerStatsAidl.cpp | 200 std::unordered_map<int32_t, std::unordered_map<int32_t, std::string>> *stateNames) { in getEntityStateNames() argument 206 stateNames->emplace(info.id, std::unordered_map<int32_t, std::string>()); in getEntityStateNames() 207 auto &entityStateNames = stateNames->at(info.id); in getEntityStateNames() 290 std::unordered_map<int32_t, std::unordered_map<int32_t, std::string>> stateNames; in dumpStateResidency() local 291 getEntityStateNames(&entityNames, &stateNames); in dumpStateResidency() 329 const char *stateName = stateNames.at(result.id).at(stateResidency.id).c_str(); in dumpStateResidency() 366 stateNames.at(result.id).at(stateResidency.id).c_str(), in dumpStateResidency()
|
D | AidlStateResidencyDataProvider.cpp | 36 std::vector<std::string> stateNames) { in addEntity() argument 44 for (auto stateName : stateNames) { in addEntity()
|
/hardware/google/pixel/powerstats/include/pixelpowerstats/ |
D | AidlStateResidencyDataProvider.h | 42 void addEntity(uint32_t id, std::string entityName, std::vector<std::string> stateNames);
|
/hardware/interfaces/power/stats/1.0/default/ |
D | PowerStats.cpp | 421 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()
|
/hardware/google/pixel/powerstats/include/ |
D | PowerStatsAidl.h | 81 std::unordered_map<int32_t, std::unordered_map<int32_t, std::string>> *stateNames);
|