Home
last modified time | relevance | path

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

/foundation/distributeddatamgr/udmf/framework/ndkimpl/data/
H A Dutd.cpp79 std::shared_ptr<TypeDescriptor> typeDescriptor; in GetTypeDescriptorByUtdClient() local
80 UtdClient::GetInstance().GetTypeDescriptor(typeId, typeDescriptor); in GetTypeDescriptorByUtdClient()
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()
137 CreateStrArrByVector(typeDescriptor in OH_Utd_Create()
220 auto typeDescriptor = GetTypeDescriptorByUtdClient(srcTypeId); OH_Utd_BelongsTo() local
238 auto typeDescriptor = GetTypeDescriptorByUtdClient(srcTypeId); OH_Utd_IsLower() local
256 auto typeDescriptor = GetTypeDescriptorByUtdClient(srcTypeId); OH_Utd_IsHigher() local
[all...]
/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()
/foundation/distributeddatamgr/udmf/framework/common/
H A Dutd_common.h37 bool operator==(const TypeDescriptorCfg &typeDescriptor) const in operator ==()
39 return typeDescriptor.typeId == typeId; in operator ==()
/foundation/distributeddatamgr/udmf/interfaces/cj/src/
H A Dtype_descriptor_impl.cpp34 CTypeDescriptor::CTypeDescriptor(std::shared_ptr<UDMF::TypeDescriptor> typeDescriptor) in CTypeDescriptor() argument
36 typeDescriptor_ = typeDescriptor; in CTypeDescriptor()
/foundation/distributeddatamgr/udmf/interfaces/cj/include/
H A Dtype_descriptor_impl.h32 CTypeDescriptor(std::shared_ptr<UDMF::TypeDescriptor> typeDescriptor);
/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()
/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()
163 "Parameter error: parameter typeDescriptor type must be TypeDescriptor"); in Equals()
168 bool equalsRet = reinterpret_cast<TypeDescriptorNapi*>(ctxt->native)->value_->Equals(typeDescriptor); in Equals()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_util.cpp611 std::shared_ptr<UDMF::TypeDescriptor> typeDescriptor; in IsSpecificUtd() local
612 auto ret = UDMF::UtdClient::GetInstance().GetTypeDescriptor(param, typeDescriptor); in IsSpecificUtd()
613 if (ret != ERR_OK || typeDescriptor == nullptr) { in IsSpecificUtd()
616 std::vector<std::string> mimeTypes = typeDescriptor->GetMimeTypes(); in IsSpecificUtd()
617 std::vector<std::string> filenameExtensions = typeDescriptor->GetFilenameExtensions(); in IsSpecificUtd()

Completed in 6 milliseconds