Home
last modified time | relevance | path

Searched refs:stateInfos (Results 1 – 3 of 3) sorted by relevance

/hardware/google/pixel/powerstats/
DAidlStateResidencyDataProvider.cpp39 mEntityInfos.emplace(entityName, StateSpace{.powerEntityId = id, .stateInfos = {}}); in addEntity()
43 auto &stateInfos = mEntityInfos.at(entityName).stateInfos; in addEntity() local
45 stateInfos.emplace(stateName, stateId++); in addEntity()
148 size_t numStates = stateSpace.stateInfos.size(); in buildResult()
152 auto stateInfosEntry = stateSpace.stateInfos.find(stat->state); in buildResult()
154 if (stateInfosEntry != stateSpace.stateInfos.end()) { in buildResult()
207 statespace.states.resize(info.second.stateInfos.size()); in getStateSpaces()
209 for (auto state : info.second.stateInfos) { in getStateSpaces()
DPowerStats.cpp527 hidl_vec<PowerEntityInfo> stateInfos; in debug() local
528 getPowerEntityInfo([&status, &stateInfos](auto rInfos, auto rStatus) { in debug()
530 stateInfos = rInfos; in debug()
539 for (auto info : stateInfos) { in debug()
/hardware/google/pixel/powerstats/include/pixelpowerstats/
DAidlStateResidencyDataProvider.h59 std::unordered_map<std::string, uint32_t> stateInfos; member