Searched refs:typeCfgs (Results 1 - 4 of 4) sorted by relevance
/foundation/distributeddatamgr/udmf/framework/common/ |
H A D | utd_cfgs_checker.cpp | 42 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 D | utd_cfgs_checker.h | 25 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 D | custom_utd_store.cpp | 152 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 D | utd_cfgs_checker_test.cpp | 48 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