Home
last modified time | relevance | path

Searched refs:typeId (Results 1 – 25 of 106) sorted by relevance

12345

/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/
H A Dlnn_device_info.c87 *typeId = 0; in ConvertStringToInt()
93 *typeId = (*typeId << HEX_OF_BINARY_BITS); in ConvertStringToInt()
97 *typeId |= tmp; in ConvertStringToInt()
98 *typeId = (*typeId << HEX_OF_BINARY_BITS); in ConvertStringToInt()
102 *typeId |= tmp; in ConvertStringToInt()
103 *typeId = (*typeId << HEX_OF_BINARY_BITS); in ConvertStringToInt()
107 return *typeId; in ConvertStringToInt()
110 *typeId = (*typeId >> HEX_OF_BINARY_BITS); in ConvertStringToInt()
111 return *typeId; in ConvertStringToInt()
157 *typeId = ConvertStringToInt(deviceType, typeId); in LnnConvertDeviceTypeToId()
[all …]
/ohos5.0/foundation/ability/ability_base/test/unittest/want/
H A Darray_wrapper_test.cpp44 InterfaceID typeId; variable
59 InterfaceID typeId; variable
75 InterfaceID typeId; variable
103 InterfaceID typeId; variable
119 InterfaceID typeId; variable
135 InterfaceID typeId; variable
163 InterfaceID typeId; variable
191 InterfaceID typeId; variable
219 InterfaceID typeId; variable
247 InterfaceID typeId; variable
[all …]
/ohos5.0/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data/
H A Dtype_descriptor.cpp32 typeId_ = typeDescriptorCfg.typeId; in TypeDescriptor()
70 bool isFlexibleType = typeId.find(FLEXIBLE_TYPE_FLAG) != typeId_.npos; in BelongsTo()
71 if (!UtdGraph::GetInstance().IsValidType(typeId) && !isFlexibleType) { in BelongsTo()
77 if (typeId_ == typeId) { in BelongsTo()
81 checkResult = CmpFlexibleTypeLevel(typeId, isFlexibleType); in BelongsTo()
85 if (typeId_ == typeId) { in BelongsTo()
96 bool isFlexibleType = typeId.find(FLEXIBLE_TYPE_FLAG) != typeId_.npos; in IsLowerLevelType()
97 if (!UtdGraph::GetInstance().IsValidType(typeId) && !isFlexibleType) { in IsLowerLevelType()
102 checkResult = CmpFlexibleTypeLevel(typeId, isFlexibleType); in IsLowerLevelType()
106 if (typeId_ == typeId) { in IsLowerLevelType()
[all …]
H A Dflexible_type.cpp35 bool FlexibleType::ParseFlexibleUtd(const std::string &typeId, TypeDescriptorCfg &flexibleTypeDescr… in ParseFlexibleUtd() argument
37 flexibleTypeDescriptorCfg.typeId = typeId; in ParseFlexibleUtd()
38 std::string flexibleUtd = typeId; in ParseFlexibleUtd()
46 LOG_WARN(UDMF_CLIENT, "The typeId cannot be parsed, %{public}s ", typeId.c_str()); in ParseFlexibleUtd()
/ohos5.0/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/client/
H A Dutd_client.cpp80 if (utdTypeCfg.typeId == typeId) { in GetTypeDescriptor()
87 if (typeId.find(FLEXIBLE_TYPE_FLAG) != typeId.npos) { in GetTypeDescriptor()
148 typeId = utdTypeCfg.typeId; in GetUniformDataTypeByFilenameExtension()
159 if (!typeId.empty() && belongsTo != DEFAULT_TYPE_ID && belongsTo != typeId && in GetUniformDataTypeByFilenameExtension()
161 typeId = ""; in GetUniformDataTypeByFilenameExtension()
164 if (typeId.empty()) { in GetUniformDataTypeByFilenameExtension()
231 if (!typeId.empty() && belongsTo != DEFAULT_TYPE_ID && belongsTo != typeId && in GetUniformDataTypeByMIMEType()
233 typeId = ""; in GetUniformDataTypeByMIMEType()
235 if (typeId.empty()) { in GetUniformDataTypeByMIMEType()
330 if (typeId.empty() || typeId.size() > MAX_UTD_LENGTH) { in IsUtd()
[all …]
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Dwant_params_wrapper.cpp132 int typeId = 0; in Parse() local
150 typeId = 0; in Parse()
169 typeId = 0; in Parse()
183 int typeId = 0; in ParseWantParams() local
203 typeId = 0; in ParseWantParams()
210 } else if (typeId == 0) { in ParseWantParams()
222 typeId = 0; in ParseWantParams()
234 int typeId = 0; in ParseWantParamsWithBrackets() local
255 typeId = 0; in ParseWantParamsWithBrackets()
262 } else if (typeId == 0) { in ParseWantParamsWithBrackets()
[all …]
H A Darray_wrapper.cpp336 InterfaceID typeId; in IsBooleanArray() local
337 array->GetType(typeId); in IsBooleanArray()
343 InterfaceID typeId; in IsCharArray() local
350 InterfaceID typeId; in IsByteArray() local
357 InterfaceID typeId; in IsShortArray() local
364 InterfaceID typeId; in IsIntegerArray() local
371 InterfaceID typeId; in IsLongArray() local
378 InterfaceID typeId; in IsFloatArray() local
385 InterfaceID typeId; in IsDoubleArray() local
392 InterfaceID typeId; in IsStringArray() local
[all …]
/ohos5.0/foundation/distributeddatamgr/udmf/framework/jskitsimpl/unittest/
H A DUdmfUtdJsTest.js54 let typeId = typeObj.typeId;
61 console.info(TAG, ', typeId: ' + typeId + ', ' + Object.prototype.toString.call(typeId) +
130 let typeId = typeObj.typeId;
135 console.info(TAG, ', typeId: ' + typeId + ', ' + Object.prototype.toString.call(typeId) +
552 typeId.belongsTo();
573 typeId.isLowerLevelType();
594 typeId.isHigherLevelType();
1025 let typeId = typeObj.typeId;
1032 console.info(TAG, ', typeId: ' + typeId + ', ' + Object.prototype.toString.call(typeId) +
1059 let typeId = typeObj.typeId;
[all …]
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/distributedWant/
H A Ddistributed_want_params_wrapper.cpp138 int typeId = 0; in Parse() local
144 typeId = 0; in Parse()
156 } else if (typeId == 0) { in Parse()
169 typeId = 0; in Parse()
182 int typeId = 0; in GerTypedId() local
185 return typeId; in GerTypedId()
189 return typeId; in GerTypedId()
192 return typeId; in GerTypedId()
199 int typeId = 0; in ParseWantParams() local
208 typeId = 0; in ParseWantParams()
[all …]
/ohos5.0/foundation/distributeddatamgr/udmf/framework/common/unittest/
H A Dutd_cfgs_checker_test.cpp50 tdc1.typeId = "com.demo.test.type";
56 tdc2.typeId = "com.demo.test.type2";
64 preTdc1.typeId = "com.demo.test.parent";
87 tdc1.typeId = "com.demo.test.type";
90 tdc2.typeId = "errorTypeId";
144 tdc1.typeId = "com.demo.test.type";
147 tdc2.typeId = "com.demo.test.type2";
196 tdc1.typeId = "com.demo.test.type";
238 tdc1.typeId = "com.demo.test.type";
243 tdc2.typeId = "com.demo.test.type2";
[all …]
/ohos5.0/foundation/distributeddatamgr/udmf/framework/common/
H A Dutd_cfgs_checker.cpp68 referenceTypes.typeId.c_str(), bundleName.c_str()); in CheckTypesFormat()
94 typeCfg.typeId.c_str()); in CheckTypesFormat()
114 typeIds.push_back(inputTypeCfg.typeId); in CheckTypesRelation()
121 typeIds.push_back(presetCfg.typeId); in CheckTypesRelation()
143 typeIds.push_back(typeCfg.typeId); in CheckBelongingToTypes()
146 typeIds.push_back(presetCfg.typeId); in CheckBelongingToTypes()
152 inputCfg.typeId.c_str()); in CheckBelongingToTypes()
155 if (inputCfg.typeId == belongingToType) { in CheckBelongingToTypes()
157 inputCfg.typeId.c_str()); in CheckBelongingToTypes()
179 if (iter->typeId == declarationType.typeId) { in CanConstructDAG()
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dhorizonprogress_tdd_test.cpp192 jerry_release_value(typeId); in HorizonProgressTest004()
235 jerry_release_value(typeId); in HorizonProgressTest005()
277 jerry_release_value(typeId); in HorizonProgressTest006()
322 jerry_release_value(typeId); in HorizonProgressTest007()
366 jerry_release_value(typeId); in HorizonProgressTest008()
410 jerry_release_value(typeId); in HorizonProgressTest009()
463 jerry_release_value(typeId); in HorizonProgressTest013()
515 jerry_release_value(typeId); in HorizonProgressTest014()
556 jerry_release_value(typeId); in HorizonProgressTest015()
597 jerry_release_value(typeId); in HorizonProgressTest016()
[all …]
/ohos5.0/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/fuzztest/utdclient_fuzzer/
H A Dutd_client_fuzzer.cpp33 std::string typeId(data, data + size); in GetTypeDescriptorFuzz() local
35 UtdClient::GetInstance().GetTypeDescriptor(typeId, typeDescriptor); in GetTypeDescriptorFuzz()
41 std::string typeId; in GetUniformDataTypeByFilenameExtensionDefaultBelongsFuzz() local
42 UtdClient::GetInstance().GetUniformDataTypeByFilenameExtension(fileExtension, typeId); in GetUniformDataTypeByFilenameExtensionDefaultBelongsFuzz()
48 std::string typeId; in GetUniformDataTypeByFilenameExtensionFuzz() local
71 std::string typeId; in GetUniformDataTypeByMIMETypeDefaultBelongsFuzz() local
72 UtdClient::GetInstance().GetUniformDataTypeByMIMEType(mimeType, typeId); in GetUniformDataTypeByMIMETypeDefaultBelongsFuzz()
78 std::string typeId; in GetUniformDataTypeByMIMETypeFuzz() local
80 UtdClient::GetInstance().GetUniformDataTypeByMIMEType(mimeType, typeId, belongsTo); in GetUniformDataTypeByMIMETypeFuzz()
100 std::string typeId(data, data + size); in IsUtdFuzz() local
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/detail/
H A Dany_pointer_compatibility.h45 static constexpr TypeId typeId = UidFromType<Type>(); in GetCompatibleTypes() local
48 static TypeId uids[] = { typeId, SharedPtrConstIInterfaceId }; in GetCompatibleTypes()
51 static TypeId uids[] = { typeId, SharedPtrIInterfaceId, SharedPtrConstIInterfaceId }; in GetCompatibleTypes()
56 … static TypeId uids[] = { typeId, SharedPtrIInterfaceId, SharedPtrConstIInterfaceId }; in GetCompatibleTypes()
59 static TypeId uids[] = { typeId, SharedPtrIInterfaceId }; in GetCompatibleTypes()
63 static TypeId uids[] = { typeId, SharedPtrConstIInterfaceId }; in GetCompatibleTypes()
67 static TypeId uids[] = { typeId, SharedPtrIInterfaceId }; in GetCompatibleTypes()
134 static constexpr TypeId typeId = UidFromType<Type>();
150 static TypeId uids[] = { typeId, SharedPtrIInterfaceId, WeakPtrIInterfaceId };
154 static TypeId uids[] = { typeId, SharedPtrConstIInterfaceId, WeakPtrConstIInterfaceId };
[all …]
/ohos5.0/foundation/distributeddatamgr/udmf/framework/ndkimpl/data/
H A Dutd.cpp80 UtdClient::GetInstance().GetTypeDescriptor(typeId, typeDescriptor); in GetTypeDescriptorByUtdClient()
100 auto typeId = new (std::nothrow) char[typeIdStr.size() + 1]; in GetTypesByCondition() local
101 if (typeId == nullptr) { in GetTypesByCondition()
107 delete[] typeId; in GetTypesByCondition()
112 typeIds[0] = typeId; in GetTypesByCondition()
116 OH_Utd* OH_Utd_Create(const char* typeId) in OH_Utd_Create() argument
118 if (typeId == nullptr) { in OH_Utd_Create()
126 auto typeDescriptor = GetTypeDescriptorByUtdClient(typeId); in OH_Utd_Create()
132 pThis->typeId = typeDescriptor->GetTypeId(); in OH_Utd_Create()
159 return IsUtdInvalid(pThis) ? nullptr : pThis->typeId.c_str(); in OH_Utd_GetTypeId()
[all …]
/ohos5.0/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/
H A Dflexible_type_test.cpp146 const std::string typeId = "flex.z"; variable
148 flexibleTypeDescriptorCfg.typeId = "com.example.utdtest.document";
158 bool ret = flexibleType.ParseFlexibleUtd(typeId, flexibleTypeDescriptorCfg);
171 const std::string typeId = "com.example.utdtest.document"; variable
173 flexibleTypeDescriptorCfg.typeId = "com.example.utdtest.document";
183 bool ret = flexibleType.ParseFlexibleUtd(typeId, flexibleTypeDescriptorCfg);
196 const std::string typeId = "flex.z="; variable
198 flexibleTypeDescriptorCfg.typeId = "com.example.utdtest.document";
208 bool ret = flexibleType.ParseFlexibleUtd(typeId, flexibleTypeDescriptorCfg);
H A Dutd_client_test.cpp70 std::string typeId = "com.amazon.azw3"; variable
92 std::string typeId = ""; variable
109 std::string typeId = "12345"; variable
146 std::string typeId = "..."; variable
163 std::string typeId = "general.fax"; variable
500 std::string typeId = "general.tiff"; variable
520 std::string typeId = "general.tiff"; variable
560 std::string typeId = "general.mpeg"; variable
700 std::string typeId = "general.image"; variable
784 std::string typeId = "general.text"; variable
[all …]
/ohos5.0/foundation/distributeddatamgr/udmf/framework/jskitsimpl/data/
H A Duniform_type_descriptor_napi.cpp66 std::string typeId; in GetTypeDescriptor() local
68 auto input = [env, ctxt, &typeId](size_t argc, napi_value* argv) { in GetTypeDescriptor()
73 ctxt->status = NapiDataUtils::GetValue(env, argv[0], typeId); in GetTypeDescriptor()
80 auto status = UtdClient::GetInstance().GetTypeDescriptor(typeId, descriptor); in GetTypeDescriptor()
111 std::string typeId; in GetUniformDataTypeByFilenameExtension() local
119 if (!typeId.empty()) { in GetUniformDataTypeByFilenameExtension()
120 NapiDataUtils::SetValue(env, typeId, ctxt->output); in GetUniformDataTypeByFilenameExtension()
149 std::string typeId; in GetUniformDataTypeByMIMEType() local
152 status = UtdClient::GetInstance().GetUniformDataTypeByMIMEType(mimeType, typeId); in GetUniformDataTypeByMIMEType()
157 if (!typeId.empty()) { in GetUniformDataTypeByMIMEType()
[all …]
H A Dtype_descriptor_napi.cpp87 std::string typeId; in BelongsTo() local
88 auto input = [env, ctxt, &typeId](size_t argc, napi_value* argv) { in BelongsTo()
92 ctxt->status = NapiDataUtils::GetValue(env, argv[0], typeId); in BelongsTo()
100 …Status status = reinterpret_cast<TypeDescriptorNapi*>(ctxt->native)->value_->BelongsTo(typeId, che… in BelongsTo()
110 std::string typeId; in IsLowerLevelType() local
111 auto input = [env, ctxt, &typeId](size_t argc, napi_value* argv) { in IsLowerLevelType()
115 ctxt->status = NapiDataUtils::GetValue(env, argv[0], typeId); in IsLowerLevelType()
123 … = reinterpret_cast<TypeDescriptorNapi*>(ctxt->native)->value_->IsLowerLevelType(typeId, checkRet); in IsLowerLevelType()
133 std::string typeId; in IsHigherLevelType() local
134 auto input = [env, ctxt, &typeId](size_t argc, napi_value* argv) { in IsHigherLevelType()
[all …]
/ohos5.0/foundation/distributeddatamgr/udmf/adapter/framework/innerkitsimpl/client/
H A Dutd_client.cpp37 Status UtdClient::GetTypeDescriptor(const std::string &typeId, std::shared_ptr<TypeDescriptor> &des… in GetTypeDescriptor() argument
52 Status UtdClient::GetFlexibleTypeDescriptor(const std::string &typeId, std::shared_ptr<TypeDescript… in GetFlexibleTypeDescriptor() argument
57 …lient::GetUniformDataTypeByFilenameExtension(const std::string &fileExtension, std::string &typeId, in GetUniformDataTypeByFilenameExtension() argument
63 Status UtdClient::GetUniformDataTypeByMIMEType(const std::string &mimeType, std::string &typeId, in GetUniformDataTypeByMIMEType() argument
69 Status UtdClient::IsUtd(std::string typeId, bool &result) in IsUtd() argument
H A Dutd_client.h38 … Status GetTypeDescriptor(const std::string &typeId, std::shared_ptr<TypeDescriptor> &descriptor);
39 …Status GetUniformDataTypeByFilenameExtension(const std::string &fileExtension, std::string &typeId,
43 Status GetUniformDataTypeByMIMEType(const std::string &mimeType, std::string &typeId,
47 Status IsUtd(std::string typeId, bool &result);
60 …Status GetFlexibleTypeDescriptor(const std::string &typeId, std::shared_ptr<TypeDescriptor> &descr…
/ohos5.0/foundation/distributeddatamgr/udmf/interfaces/innerkits/client/
H A Dutd_client.h37 … Status GetTypeDescriptor(const std::string &typeId, std::shared_ptr<TypeDescriptor> &descriptor);
38 …Status GetUniformDataTypeByFilenameExtension(const std::string &fileExtension, std::string &typeId,
42 Status GetUniformDataTypeByMIMEType(const std::string &mimeType, std::string &typeId,
46 Status IsUtd(std::string typeId, bool &result);
60 …Status GetFlexibleTypeDescriptor(const std::string &typeId, std::shared_ptr<TypeDescriptor> &descr…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/
H A Djs-apis-data-uniformTypeDescriptor.md440 let typeId = typeObj.typeId;
494 if(typeId) {
505 if(typeId) {
551 if(typeId) {
562 if(typeId) {
608 for (let typeId of typeIds) {
609 console.info(`typeId is ${typeId}`);
620 console.info(`typeId is flex type, flex typeId is ${flexTypeId}`);
665 for (let typeId of typeIds) {
666 console.info(`typeId is ${typeId}`);
[all …]
/ohos5.0/foundation/distributeddatamgr/udmf/interfaces/innerkits/data/
H A Dtype_descriptor.h30 TypeDescriptor(const std::string &typeId, const std::vector<std::string> &belongingToTypes,
35 Status BelongsTo(const std::string &typeId, bool &checkResult);
36 Status IsLowerLevelType(const std::string &typeId, bool &checkResult);
37 Status IsHigherLevelType(const std::string &typeId, bool &checkResult);
/ohos5.0/docs/zh-cn/application-dev/database/
H A Duniform-data-type-descriptors.md48 + **typeId:** 定义标准化数据类型的ID,该ID具有唯一性。
200 console.info('typeId:' + typeObj1.typeId);
212 console.info('typeId:' + typeObj2.typeId);
253 for (let typeId of typeIds) {
255 let typeObj = uniformTypeDescriptor.getTypeDescriptor(typeId);
278 for (let typeId of typeIds) {
280 let typeObj = uniformTypeDescriptor.getTypeDescriptor(typeId);

12345