Home
last modified time | relevance | path

Searched refs:typeCfg (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/udmf/framework/common/
H A Dcustom_utd_json_parser.cpp121 TypeDescriptorCfg typeCfg; in GetTypeDescriptors() local
122 typeCfg.typeId = GetStringValue(*node, TYPEID); in GetTypeDescriptors()
123 typeCfg.belongingToTypes = GetStringArrayValue(*node, BELONGINGTOTYPES); in GetTypeDescriptors()
124 typeCfg.filenameExtensions = GetStringArrayValue(*node, FILE_NAME_EXTENSTENSIONS); in GetTypeDescriptors()
125 typeCfg.mimeTypes = GetStringArrayValue(*node, MIME_TYPES); in GetTypeDescriptors()
126 typeCfg.description = GetStringValue(*node, DESCRIPTION); in GetTypeDescriptors()
127 typeCfg.referenceURL = GetStringValue(*node, REFERENCE_URL); in GetTypeDescriptors()
128 typeCfg.iconFile = GetStringValue(*node, ICON_FILE); in GetTypeDescriptors()
129 typeCfg.ownerBundle = GetStringValue(*node, OWNER); in GetTypeDescriptors()
131 typeCfg.installerBundles.insert(installerBundles.begin(), installerBundles.end()); in GetTypeDescriptors()
[all …]
H A Dutd_cfgs_checker.cpp79 for (TypeDescriptorCfg &typeCfg : inputTypeCfgs) { in CheckTypesFormat()
80 for (std::string filenames : typeCfg.filenameExtensions) { in CheckTypesFormat()
87 if (typeCfg.belongingToTypes.empty()) { in CheckTypesFormat()
91 for (std::string mimeType : typeCfg.mimeTypes) { in CheckTypesFormat()
94 typeCfg.typeId.c_str()); in CheckTypesFormat()
142 for (auto &typeCfg: typeCfgs) { in CheckBelongingToTypes() local
143 typeIds.push_back(typeCfg.typeId); in CheckBelongingToTypes()
189 for (auto &typeCfg : allTypeCfgs) { in CanConstructDAG() local
190 if (typeCfg.typeId == referenceTypes.typeId) { in CanConstructDAG()
H A Dcustom_utd_store.cpp217 for (auto &typeCfg : customTyepCfgs) { in ProcessUtdForSave() local
218 if (typeCfg.typeId == referenceType.typeId) { in ProcessUtdForSave()
219 typeCfg.installerBundles.emplace(bundleName); in ProcessUtdForSave()