Home
last modified time | relevance | path

Searched refs:stateSpaces (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/power/stats/1.0/vts/functional/
DVtsHalPowerStatsV1_0TargetTest.cpp75 void getStateSpaces(hidl_vec<PowerEntityStateSpace>& stateSpaces,
101 void PowerStatsHidlTest::getStateSpaces(hidl_vec<PowerEntityStateSpace>& stateSpaces, in getStateSpaces() argument
105 ids, [&status, &stateSpaces](auto rStateSpaces, auto rStatus) { in __anon16ea30fa0302()
107 stateSpaces = rStateSpaces; in __anon16ea30fa0302()
112 ASSERT_NE(stateSpaces.size(), 0) << "powerEntityStateSpaces must have entries if supported";
115 ASSERT_EQ(stateSpaces.size(), 0);
140 hidl_vec<PowerEntityStateSpace> stateSpaces; in getRandomIds() local
141 getStateSpaces(stateSpaces); in getRandomIds()
143 if (stateSpaces.size() == 0) { in getRandomIds()
147 for (auto stateSpace : stateSpaces) { in getRandomIds()
[all …]
/hardware/interfaces/power/stats/1.0/default/
DPowerStats.cpp299 std::vector<PowerEntityStateSpace> stateSpaces = p->getStateSpaces(); in addStateResidencyDataProvider() local
300 for (auto stateSpace : stateSpaces) { in addStateResidencyDataProvider()
325 std::vector<PowerEntityStateSpace> stateSpaces; in getPowerEntityStateInfo() local
329 stateSpaces.reserve(mPowerEntityStateSpaces.size()); in getPowerEntityStateInfo()
331 stateSpaces.emplace_back(i.second); in getPowerEntityStateInfo()
333 _hidl_cb(stateSpaces, Status::SUCCESS); in getPowerEntityStateInfo()
339 stateSpaces.reserve(powerEntityIds.size()); in getPowerEntityStateInfo()
343 stateSpaces.emplace_back(stateSpace->second); in getPowerEntityStateInfo()
349 _hidl_cb(stateSpaces, ret); in getPowerEntityStateInfo()
411 const hidl_vec<PowerEntityStateSpace>& stateSpaces, in DumpResidencyDataToFd() argument
[all …]
/hardware/google/pixel/powerstats/
DPowerStats.cpp81 std::vector<PowerEntityStateSpace> stateSpaces = p->getStateSpaces(); in addStateResidencyDataProvider() local
82 for (auto stateSpace : stateSpaces) { in addStateResidencyDataProvider()
107 std::vector<PowerEntityStateSpace> stateSpaces; in getPowerEntityStateInfo() local
111 stateSpaces.reserve(mPowerEntityStateSpaces.size()); in getPowerEntityStateInfo()
113 stateSpaces.emplace_back(i.second); in getPowerEntityStateInfo()
115 _hidl_cb(stateSpaces, Status::SUCCESS); in getPowerEntityStateInfo()
121 stateSpaces.reserve(powerEntityIds.size()); in getPowerEntityStateInfo()
125 stateSpaces.emplace_back(stateSpace->second); in getPowerEntityStateInfo()
131 _hidl_cb(stateSpaces, ret); in getPowerEntityStateInfo()
332 hidl_vec<PowerEntityStateSpace> stateSpaces; in debugStateResidency() local
[all …]
DGenericStateResidencyDataProvider.cpp206 std::vector<PowerEntityStateSpace> stateSpaces; in getStateSpaces() local
207 stateSpaces.reserve(mPowerEntityConfigs.size()); in getStateSpaces()
217 stateSpaces.emplace_back(s); in getStateSpaces()
219 return stateSpaces; in getStateSpaces()
DAidlStateResidencyDataProvider.cpp200 std::vector<PowerEntityStateSpace> stateSpaces; in getStateSpaces() local
201 stateSpaces.reserve(mEntityInfos.size()); in getStateSpaces()
213 stateSpaces.emplace_back(statespace); in getStateSpaces()
215 return stateSpaces; in getStateSpaces()