Home
last modified time | relevance | path

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

/hardware/google/pixel/powerstats/
DPowerStats.cpp83 mPowerEntityStateSpaces.emplace(stateSpace.powerEntityId, stateSpace); in addStateResidencyDataProvider()
102 if (mPowerEntityStateSpaces.empty()) { in getPowerEntityStateInfo()
111 stateSpaces.reserve(mPowerEntityStateSpaces.size()); in getPowerEntityStateInfo()
112 for (auto i : mPowerEntityStateSpaces) { in getPowerEntityStateInfo()
123 auto stateSpace = mPowerEntityStateSpaces.find(id); in getPowerEntityStateInfo()
124 if (stateSpace != mPowerEntityStateSpaces.end()) { in getPowerEntityStateInfo()
138 if (mStateResidencyDataProviders.empty() || mPowerEntityStateSpaces.empty()) { in getPowerEntityStateResidencyData()
146 for (auto stateSpace : mPowerEntityStateSpaces) { in getPowerEntityStateResidencyData()
/hardware/interfaces/power/stats/1.0/default/
DPowerStats.cpp302 mPowerEntityStateSpaces.emplace(stateSpace.powerEntityId, stateSpace); in addStateResidencyDataProvider()
321 if (mPowerEntityStateSpaces.empty()) { in getPowerEntityStateInfo()
330 stateSpaces.reserve(mPowerEntityStateSpaces.size()); in getPowerEntityStateInfo()
331 for (auto i : mPowerEntityStateSpaces) { in getPowerEntityStateInfo()
342 auto stateSpace = mPowerEntityStateSpaces.find(id); in getPowerEntityStateInfo()
343 if (stateSpace != mPowerEntityStateSpaces.end()) { in getPowerEntityStateInfo()
357 if (mStateResidencyDataProviders.empty() || mPowerEntityStateSpaces.empty()) { in getPowerEntityStateResidencyData()
365 for (auto stateSpace : mPowerEntityStateSpaces) { in getPowerEntityStateResidencyData()
DPowerStats.h100 std::unordered_map<uint32_t, PowerEntityStateSpace> mPowerEntityStateSpaces; member
/hardware/google/pixel/powerstats/include/pixelpowerstats/
DPowerStats.h107 std::unordered_map<uint32_t, PowerEntityStateSpace> mPowerEntityStateSpaces; variable