Home
last modified time | relevance | path

Searched refs:typeCfgs (Results 1 - 4 of 4) sorted by relevance

/foundation/distributeddatamgr/udmf/framework/common/
H A Dutd_cfgs_checker.cpp42 bool UtdCfgsChecker::CheckTypeDescriptors(CustomUtdCfgs &typeCfgs, const std::vector<TypeDescriptorCfg> &presetCfgs, in CheckTypeDescriptors() argument
45 if (!CheckTypesFormat(typeCfgs, bundleName)) { in CheckTypeDescriptors()
49 if (!CheckTypesRelation(typeCfgs, presetCfgs, customCfgs)) { in CheckTypeDescriptors()
56 bool UtdCfgsChecker::CheckTypesFormat(CustomUtdCfgs &typeCfgs, const std::string &bundleName) in CheckTypesFormat() argument
58 for (auto declarationType: typeCfgs.first) { in CheckTypesFormat()
65 for (auto referenceTypes: typeCfgs.second) { in CheckTypesFormat()
73 if (!typeCfgs.first.empty()) { in CheckTypesFormat()
74 inputTypeCfgs.insert(inputTypeCfgs.end(), typeCfgs.first.begin(), typeCfgs.first.end()); in CheckTypesFormat()
76 if (!typeCfgs in CheckTypesFormat()
102 CheckTypesRelation(CustomUtdCfgs &typeCfgs, const std::vector<TypeDescriptorCfg> &presetCfgs, const std::vector<TypeDescriptorCfg> &customCfgs) CheckTypesRelation() argument
138 CheckBelongingToTypes(const std::vector<TypeDescriptorCfg> &typeCfgs, const std::vector<TypeDescriptorCfg> &presetCfgs) CheckBelongingToTypes() argument
170 CanConstructDAG(CustomUtdCfgs &typeCfgs, const std::vector<TypeDescriptorCfg> &presetCfgs, const std::vector<TypeDescriptorCfg> &customCfgs) CanConstructDAG() argument
[all...]
H A Dutd_cfgs_checker.h25 bool CheckTypeDescriptors(CustomUtdCfgs &typeCfgs, const std::vector<TypeDescriptorCfg> &presetCfgs,
27 bool CheckBelongingToTypes(const std::vector<TypeDescriptorCfg> &typeCfgs,
35 bool CheckTypesFormat(CustomUtdCfgs &typeCfgs, const std::string &bundleName);
36 bool CheckTypesRelation(CustomUtdCfgs &typeCfgs, const std::vector<TypeDescriptorCfg> &presetCfgs,
38 bool CanConstructDAG(CustomUtdCfgs &typeCfgs, const std::vector<TypeDescriptorCfg> &presetCfgs,
H A Dcustom_utd_store.cpp152 CustomUtdCfgs typeCfgs; in InstallCustomUtds() local
153 if (!utdJsonParser_.ParseUserCustomUtdJson(jsonStr, typeCfgs.first, typeCfgs.second)) { in InstallCustomUtds()
160 typeCfgs, presetTypes, customTyepCfgs, bundleName)) { in InstallCustomUtds()
165 ProcessUtdForSave(typeCfgs, customTyepCfgs, bundleName); in InstallCustomUtds()
/foundation/distributeddatamgr/udmf/framework/common/unittest/
H A Dutd_cfgs_checker_test.cpp48 CustomUtdCfgs typeCfgs; in HWTEST_F() local
85 CustomUtdCfgs typeCfgs; in HWTEST_F() local
121 CustomUtdCfgs typeCfgs; in HWTEST_F() local
142 CustomUtdCfgs typeCfgs; in HWTEST_F() local
200 std::vector<TypeDescriptorCfg> typeCfgs = {tdc1}; in HWTEST_F() local
208 bool result = UtdCfgsChecker::GetInstance().CheckBelongingToTypes(typeCfgs, presetCfgs); in HWTEST_F()
212 typeCfgs = {tdc1}; in HWTEST_F()
213 result = UtdCfgsChecker::GetInstance().CheckBelongingToTypes(typeCfgs, presetCfgs); in HWTEST_F()
217 typeCfgs = {tdc1}; in HWTEST_F()
218 result = UtdCfgsChecker::GetInstance().CheckBelongingToTypes(typeCfgs, presetCfg in HWTEST_F()
[all...]

Completed in 2 milliseconds