Searched refs:stateSpace (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/power/stats/1.0/vts/functional/ |
D | VtsHalPowerStatsV1_0TargetTest.cpp | 147 for (auto stateSpace : stateSpaces) { in getRandomIds() local 148 ids.push_back(stateSpace.powerEntityId); in getRandomIds() 192 for (auto stateSpace : stateSpaces) { in TEST_F() local 193 ASSERT_NE(ids.count(stateSpace.powerEntityId), 0); in TEST_F() 202 for (auto stateSpace : stateSpaces) { in TEST_F() local 203 for (auto state : stateSpace.states) { in TEST_F() 214 for (auto stateSpace : stateSpaces) { in TEST_F() local 216 for (auto state : stateSpace.states) { in TEST_F() 241 for (auto stateSpace : stateSpaces) { in TEST_F() local 242 ASSERT_NE(ids.count(stateSpace.powerEntityId), 0); in TEST_F() [all …]
|
/hardware/interfaces/power/stats/1.0/default/ |
D | PowerStats.cpp | 300 for (auto stateSpace : stateSpaces) { in addStateResidencyDataProvider() local 301 mPowerEntityStateSpaces.emplace(stateSpace.powerEntityId, stateSpace); in addStateResidencyDataProvider() 302 mStateResidencyDataProviders.emplace(stateSpace.powerEntityId, p); in addStateResidencyDataProvider() 341 auto stateSpace = mPowerEntityStateSpaces.find(id); in getPowerEntityStateInfo() local 342 if (stateSpace != mPowerEntityStateSpaces.end()) { in getPowerEntityStateInfo() 343 stateSpaces.emplace_back(stateSpace->second); in getPowerEntityStateInfo() 364 for (auto stateSpace : mPowerEntityStateSpaces) { in getPowerEntityStateResidencyData() local 365 ids.emplace_back(stateSpace.first); in getPowerEntityStateResidencyData() 421 for (auto stateSpace : stateSpaces) { in DumpResidencyDataToFd() local 422 stateNames.emplace(stateSpace.powerEntityId, std::unordered_map<uint32_t, std::string>()); in DumpResidencyDataToFd() [all …]
|
/hardware/google/pixel/powerstats/ |
D | PowerStats.cpp | 82 for (auto stateSpace : stateSpaces) { in addStateResidencyDataProvider() local 83 mPowerEntityStateSpaces.emplace(stateSpace.powerEntityId, stateSpace); in addStateResidencyDataProvider() 84 mStateResidencyDataProviders.emplace(stateSpace.powerEntityId, p); in addStateResidencyDataProvider() 123 auto stateSpace = mPowerEntityStateSpaces.find(id); in getPowerEntityStateInfo() local 124 if (stateSpace != mPowerEntityStateSpaces.end()) { in getPowerEntityStateInfo() 125 stateSpaces.emplace_back(stateSpace->second); in getPowerEntityStateInfo() 146 for (auto stateSpace : mPowerEntityStateSpaces) { in getPowerEntityStateResidencyData() local 147 ids.emplace_back(stateSpace.first); in getPowerEntityStateResidencyData() 344 for (auto stateSpace : stateSpaces) { in debugStateResidency() local 345 stateNames.emplace(stateSpace.powerEntityId, std::unordered_map<uint32_t, std::string>()); in debugStateResidency() [all …]
|
D | AidlStateResidencyDataProvider.cpp | 146 auto stateSpace = infosEntry->second; in buildResult() local 147 result.powerEntityId = stateSpace.powerEntityId; in buildResult() 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()
|