Home
last modified time | relevance | path

Searched refs:typeDescriptor (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/udmf/framework/ndkimpl/data/
H A Dutd.cpp79 std::shared_ptr<TypeDescriptor> typeDescriptor; in GetTypeDescriptorByUtdClient() local
81 return typeDescriptor; in GetTypeDescriptorByUtdClient()
126 auto typeDescriptor = GetTypeDescriptorByUtdClient(typeId); in OH_Utd_Create() local
127 if (typeDescriptor == nullptr) { in OH_Utd_Create()
132 pThis->typeId = typeDescriptor->GetTypeId(); in OH_Utd_Create()
133 pThis->description = typeDescriptor->GetDescription(); in OH_Utd_Create()
134 pThis->referenceURL = typeDescriptor->GetReferenceURL(); in OH_Utd_Create()
135 pThis->iconFile = typeDescriptor->GetIconFile(); in OH_Utd_Create()
221 if (typeDescriptor == nullptr) { in OH_Utd_BelongsTo()
239 if (typeDescriptor == nullptr) { in OH_Utd_IsLower()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dmime_type_mgr.cpp45 std::shared_ptr<UDMF::TypeDescriptor> typeDescriptor; in GetMimeTypeByUri() local
46 auto ret = UDMF::UtdClient::GetInstance().GetTypeDescriptor(utd, typeDescriptor); in GetMimeTypeByUri()
47 if (ret != ERR_OK || typeDescriptor == nullptr) { in GetMimeTypeByUri()
51 std::vector<std::string> tmpMimeTypes = typeDescriptor->GetMimeTypes(); in GetMimeTypeByUri()
/ohos5.0/foundation/distributeddatamgr/udmf/framework/common/
H A Dutd_common.h37 bool operator==(const TypeDescriptorCfg &typeDescriptor) const
39 return typeDescriptor.typeId == typeId;
/ohos5.0/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/fuzztest/utdclient_fuzzer/
H A Dutd_client_fuzzer.cpp34 std::shared_ptr<TypeDescriptor> typeDescriptor; in GetTypeDescriptorFuzz() local
35 UtdClient::GetInstance().GetTypeDescriptor(typeId, typeDescriptor); in GetTypeDescriptorFuzz()
/ohos5.0/foundation/distributeddatamgr/udmf/framework/jskitsimpl/data/
H A Dtype_descriptor_napi.cpp156 std::shared_ptr<TypeDescriptor> typeDescriptor; in Equals() local
157 auto input = [env, ctxt, &typeDescriptor](size_t argc, napi_value* argv) { in Equals()
161 ctxt->status = NapiDataUtils::GetValue(env, argv[0], typeDescriptor); in Equals()
168 …ol equalsRet = reinterpret_cast<TypeDescriptorNapi*>(ctxt->native)->value_->Equals(typeDescriptor); in Equals()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_util.cpp625 std::shared_ptr<UDMF::TypeDescriptor> typeDescriptor; in IsSpecificUtd() local
626 auto ret = UDMF::UtdClient::GetInstance().GetTypeDescriptor(param, typeDescriptor); in IsSpecificUtd()
627 if (ret != ERR_OK || typeDescriptor == nullptr) { in IsSpecificUtd()
630 std::vector<std::string> mimeTypes = typeDescriptor->GetMimeTypes(); in IsSpecificUtd()
631 std::vector<std::string> filenameExtensions = typeDescriptor->GetFilenameExtensions(); in IsSpecificUtd()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/
H A Djs-apis-data-uniformTypeDescriptor.md359 equals(typeDescriptor: TypeDescriptor): boolean
369 | typeDescriptor | [TypeDescriptor](#typedescriptor11) | 是 |待比较的标准化数据类型描述类对象。 |
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/
H A Djs-apis-data-uniformTypeDescriptor.md359 equals(typeDescriptor: TypeDescriptor): boolean
369 | typeDescriptor | [TypeDescriptor](#typedescriptor11) | Yes |Uniform data type to compare. |