Searched refs:entityNames (Results 1 – 6 of 6) sorted by relevance
/hardware/google/pixel/pwrstats_util/dataproviders/ |
D | PowerEntityResidencyDataProvider.cpp | 40 std::unordered_map<uint32_t, std::string> entityNames; in getImpl() local 45 ret = powerStatsService->getPowerEntityInfo([&entityNames](auto infos, auto /* status */) { in getImpl() 47 entityNames.emplace(info.powerEntityId, info.powerEntityName); in getImpl() 73 ret = powerStatsService->getPowerEntityStateResidencyData({}, [&entityNames, &stateNames, in getImpl() 80 residency->set_entity_name(entityNames.at(result.powerEntityId)); in getImpl()
|
/hardware/google/pixel/powerstats/ |
D | PowerStats.cpp | 208 const std::unordered_map<uint32_t, std::string> &entityNames, in DumpResidencyDataToFd() argument 223 dataFormat, entityNames.at(result.powerEntityId).c_str(), in DumpResidencyDataToFd() 237 const std::unordered_map<uint32_t, std::string> &entityNames, in DumpResidencyDataDiffToFd() argument 273 const char *entityName = entityNames.at(entityId).c_str(); in DumpResidencyDataDiffToFd() 323 void PowerStats::debugStateResidency(const std::unordered_map<uint32_t, std::string> &entityNames, in debugStateResidency() argument 369 if (!DumpResidencyDataToFd(entityNames, stateNames, results, fd)) { in debugStateResidency() 381 if (!DumpResidencyDataDiffToFd(entityNames, stateNames, elapsedTimeMs, prevResults, in debugStateResidency() 538 std::unordered_map<uint32_t, std::string> entityNames; in debug() local 540 entityNames.emplace(info.powerEntityId, info.powerEntityName); in debug() 544 debugStateResidency(entityNames, fd, delta); in debug()
|
D | PowerStatsAidl.cpp | 199 std::unordered_map<int32_t, std::string> *entityNames, in getEntityStateNames() argument 205 entityNames->emplace(info.id, info.name); in getEntityStateNames() 289 std::unordered_map<int32_t, std::string> entityNames; in dumpStateResidency() local 291 getEntityStateNames(&entityNames, &stateNames); in dumpStateResidency() 322 const char *entityName = entityNames.at(result.id).c_str(); in dumpStateResidency() 365 dataFormat, entityNames.at(result.id).c_str(), in dumpStateResidency()
|
/hardware/interfaces/power/stats/1.0/default/ |
D | PowerStats.cpp | 415 std::unordered_map<uint32_t, std::string> entityNames; in DumpResidencyDataToFd() local 417 entityNames.emplace(info.powerEntityId, info.powerEntityName); in DumpResidencyDataToFd() 442 dataFormat, entityNames.at(result.powerEntityId).c_str(), in DumpResidencyDataToFd()
|
/hardware/google/pixel/powerstats/include/pixelpowerstats/ |
D | PowerStats.h | 110 void debugStateResidency(const std::unordered_map<uint32_t, std::string> &entityNames, int fd,
|
/hardware/google/pixel/powerstats/include/ |
D | PowerStatsAidl.h | 80 std::unordered_map<int32_t, std::string> *entityNames,
|