Searched refs:stateSpaces (Results 1 – 5 of 5) sorted by relevance
/hardware/interfaces/power/stats/1.0/vts/functional/ |
D | VtsHalPowerStatsV1_0TargetTest.cpp | 65 void getStateSpaces(hidl_vec<PowerEntityStateSpace>& stateSpaces, 91 void PowerStatsHidlTest::getStateSpaces(hidl_vec<PowerEntityStateSpace>& stateSpaces, in getStateSpaces() argument 95 ids, [&status, &stateSpaces](auto rStateSpaces, auto rStatus) { in __anon4a02aa110302() 97 stateSpaces = rStateSpaces; in __anon4a02aa110302() 102 ASSERT_NE(stateSpaces.size(), 0) << "powerEntityStateSpaces must have entries if supported"; 105 ASSERT_EQ(stateSpaces.size(), 0); 130 hidl_vec<PowerEntityStateSpace> stateSpaces; in getRandomIds() local 131 getStateSpaces(stateSpaces); in getRandomIds() 133 if (stateSpaces.size() == 0) { in getRandomIds() 137 for (auto stateSpace : stateSpaces) { in getRandomIds() [all …]
|
/hardware/interfaces/power/stats/1.0/default/ |
D | PowerStats.cpp | 300 std::vector<PowerEntityStateSpace> stateSpaces = p->getStateSpaces(); in addStateResidencyDataProvider() local 301 for (auto stateSpace : stateSpaces) { in addStateResidencyDataProvider() 326 std::vector<PowerEntityStateSpace> stateSpaces; in getPowerEntityStateInfo() local 330 stateSpaces.reserve(mPowerEntityStateSpaces.size()); in getPowerEntityStateInfo() 332 stateSpaces.emplace_back(i.second); in getPowerEntityStateInfo() 334 _hidl_cb(stateSpaces, Status::SUCCESS); in getPowerEntityStateInfo() 340 stateSpaces.reserve(powerEntityIds.size()); in getPowerEntityStateInfo() 344 stateSpaces.emplace_back(stateSpace->second); in getPowerEntityStateInfo() 350 _hidl_cb(stateSpaces, ret); in getPowerEntityStateInfo() 412 const hidl_vec<PowerEntityStateSpace>& stateSpaces, in DumpResidencyDataToFd() argument [all …]
|
/hardware/google/pixel/powerstats/ |
D | PowerStats.cpp | 81 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 …]
|
D | AidlStateResidencyDataProvider.cpp | 200 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()
|
D | GenericStateResidencyDataProvider.cpp | 206 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()
|