Home
last modified time | relevance | path

Searched refs:metaCapInfos (Results 1 - 7 of 7) sorted by relevance

/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/localhardwaremanager/
H A Dlocal_hardware_manager.cpp87 std::vector<std::shared_ptr<MetaCapabilityInfo>> metaCapInfos; in Init() local
90 AddLocalMetaCapInfo(localDHItems.second, localDHItems.first, metaCapInfos); in Init()
93 MetaInfoManager::GetInstance()->AddMetaCapInfos(metaCapInfos); in Init()
146 std::vector<std::shared_ptr<MetaCapabilityInfo>> &metaCapInfos) in AddLocalMetaCapInfo()
160 metaCapInfos.push_back(dhMetaCapInfo); in AddLocalMetaCapInfo()
145 AddLocalMetaCapInfo(const std::vector<DHItem> &dhItems, const DHType dhType, std::vector<std::shared_ptr<MetaCapabilityInfo>> &metaCapInfos) AddLocalMetaCapInfo() argument
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/task/
H A Doffline_task.cpp120 std::vector<std::shared_ptr<MetaCapabilityInfo>> metaCapInfos; in CreateDisableTask() local
122 MetaInfoManager::GetInstance()->GetMetaCapInfosByUdidHash(udidHash, metaCapInfos); in CreateDisableTask()
123 std::for_each(metaCapInfos.begin(), metaCapInfos.end(), [&](std::shared_ptr<MetaCapabilityInfo> cap) { in CreateDisableTask()
H A Donline_task.cpp125 std::vector<std::shared_ptr<MetaCapabilityInfo>> metaCapInfos; in CreateEnableTask() local
126 MetaInfoManager::GetInstance()->GetMetaCapInfosByUdidHash(udidHash, metaCapInfos); in CreateEnableTask()
127 std::for_each(metaCapInfos.begin(), metaCapInfos.end(), [&](std::shared_ptr<MetaCapabilityInfo> cap) { in CreateEnableTask()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/include/localhardwaremanager/
H A Dlocal_hardware_manager.h45 std::vector<std::shared_ptr<MetaCapabilityInfo>> &metaCapInfos);
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/
H A Dmeta_info_manager.cpp114 int32_t MetaInfoManager::AddMetaCapInfos(const std::vector<std::shared_ptr<MetaCapabilityInfo>> &metaCapInfos) in AddMetaCapInfos() argument
116 if (metaCapInfos.empty() || metaCapInfos.size() > MAX_DB_RECORD_SIZE) { in AddMetaCapInfos()
129 for (auto &metaCapInfo : metaCapInfos) { in AddMetaCapInfos()
290 std::vector<std::shared_ptr<MetaCapabilityInfo>> &metaCapInfos) in GetMetaCapInfosByUdidHash()
298 metaCapInfos.emplace_back(metaCapInfo.second); in GetMetaCapInfosByUdidHash()
289 GetMetaCapInfosByUdidHash(const std::string &udidHash, std::vector<std::shared_ptr<MetaCapabilityInfo>> &metaCapInfos) GetMetaCapInfosByUdidHash() argument
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/include/resourcemanager/
H A Dmeta_info_manager.h52 std::vector<std::shared_ptr<MetaCapabilityInfo>> &metaCapInfos);
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/resourcemanager/src/
H A Dresource_manager_test.cpp1032 std::vector<std::shared_ptr<MetaCapabilityInfo>> metaCapInfos; in HWTEST_F() local
1033 metaCapInfos.push_back(dhMetaCapInfo); in HWTEST_F()
1034 auto ret = MetaInfoManager::GetInstance()->AddMetaCapInfos(metaCapInfos); in HWTEST_F()
1105 std::vector<std::shared_ptr<MetaCapabilityInfo>> metaCapInfos; in HWTEST_F() local
1106 MetaInfoManager::GetInstance()->GetMetaCapInfosByUdidHash(udidHash, metaCapInfos); in HWTEST_F()
1110 MetaInfoManager::GetInstance()->GetMetaCapInfosByUdidHash(udidHash, metaCapInfos); in HWTEST_F()

Completed in 5 milliseconds