Searched refs:powerEntityId (Results 1 – 11 of 11) sorted by relevance
/hardware/google/pixel/pwrstats_util/dataproviders/ |
D | PowerEntityResidencyDataProvider.cpp | 47 entityNames.emplace(info.powerEntityId, info.powerEntityName); in getImpl() 59 stateNames.emplace(stateSpace.powerEntityId, in getImpl() 61 auto& entityStateNames = stateNames.at(stateSpace.powerEntityId); in getImpl() 80 residency->set_entity_name(entityNames.at(result.powerEntityId)); in getImpl() 81 residency->set_state_name(stateNames.at(result.powerEntityId) in getImpl()
|
/hardware/google/pixel/powerstats/ |
D | AidlStateResidencyDataProvider.cpp | 39 mEntityInfos.emplace(entityName, StateSpace{.powerEntityId = id, .stateInfos = {}}); in addEntity() 147 result.powerEntityId = stateSpace.powerEntityId; in buildResult() 186 results.emplace(result.powerEntityId, result); in getResults() 206 .powerEntityId = info.second.powerEntityId, .states = {}}; in getStateSpaces()
|
D | PowerStats.cpp | 83 mPowerEntityStateSpaces.emplace(stateSpace.powerEntityId, stateSpace); in addStateResidencyDataProvider() 84 mStateResidencyDataProviders.emplace(stateSpace.powerEntityId, p); in addStateResidencyDataProvider() 223 dataFormat, entityNames.at(result.powerEntityId).c_str(), in DumpResidencyDataToFd() 224 stateNames.at(result.powerEntityId) in DumpResidencyDataToFd() 262 prevResultsMap.emplace(prevResult.powerEntityId, in DumpResidencyDataDiffToFd() 265 prevResultsMap.at(prevResult.powerEntityId) in DumpResidencyDataDiffToFd() 272 uint32_t entityId = result.powerEntityId; in DumpResidencyDataDiffToFd() 345 stateNames.emplace(stateSpace.powerEntityId, std::unordered_map<uint32_t, std::string>()); in debugStateResidency() 346 auto &entityStateNames = stateNames.at(stateSpace.powerEntityId); in debugStateResidency() 540 entityNames.emplace(info.powerEntityId, info.powerEntityName); in debug()
|
D | WlanStateResidencyDataProvider.cpp | 42 .powerEntityId = mPowerEntityId, in getResults() 98 {.powerEntityId = mPowerEntityId, in getStateSpaces()
|
D | GenericStateResidencyDataProvider.cpp | 181 PowerEntityStateResidencyResult result = {.powerEntityId = nextConfig->first}; in getResults() 209 PowerEntityStateSpace s = {.powerEntityId = config.first}; in getStateSpaces()
|
/hardware/interfaces/power/stats/1.0/vts/functional/ |
D | VtsHalPowerStatsV1_0TargetTest.cpp | 138 ids.push_back(stateSpace.powerEntityId); in getRandomIds() 165 ASSERT_TRUE(ids.insert(info.powerEntityId).second); in TEST_P() 179 ids.insert(info.powerEntityId); in TEST_P() 183 ASSERT_NE(ids.count(stateSpace.powerEntityId), 0); in TEST_P() 232 ASSERT_NE(ids.count(stateSpace.powerEntityId), 0); in TEST_P() 253 stateSpaceMap[stateSpace.powerEntityId] = stateSpace; in TEST_P() 257 auto it = stateSpaceMap.find(stateSpace.powerEntityId); in TEST_P() 281 resultsMap[result.powerEntityId] = result; in TEST_P() 285 auto it = resultsMap.find(stateSpace.powerEntityId); in TEST_P() 319 resultsMap[result.powerEntityId] = result; in TEST_P() [all …]
|
/hardware/interfaces/power/stats/1.0/default/ |
D | service.cpp | 47 PowerEntityStateResidencyResult result = { .powerEntityId = mPowerEntityId }; in getResults() 70 .powerEntityId = mPowerEntityId, in getStateSpaces()
|
D | PowerStats.cpp | 302 mPowerEntityStateSpaces.emplace(stateSpace.powerEntityId, stateSpace); in addStateResidencyDataProvider() 303 mStateResidencyDataProviders.emplace(stateSpace.powerEntityId, p); in addStateResidencyDataProvider() 417 entityNames.emplace(info.powerEntityId, info.powerEntityName); in DumpResidencyDataToFd() 423 stateNames.emplace(stateSpace.powerEntityId, std::unordered_map<uint32_t, std::string>()); in DumpResidencyDataToFd() 425 stateNames.at(stateSpace.powerEntityId) in DumpResidencyDataToFd() 442 dataFormat, entityNames.at(result.powerEntityId).c_str(), in DumpResidencyDataToFd() 443 stateNames.at(result.powerEntityId) in DumpResidencyDataToFd()
|
/hardware/interfaces/power/stats/1.0/ |
D | types.hal | 73 uint32_t powerEntityId; 96 uint32_t powerEntityId; 125 uint32_t powerEntityId;
|
D | IPowerStats.hal | 146 * @param powerEntityId collection of IDs of PowerEntity(s) for which
|
/hardware/google/pixel/powerstats/include/pixelpowerstats/ |
D | AidlStateResidencyDataProvider.h | 58 uint32_t powerEntityId; member
|