/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/ |
H A D | lnn_device_info.c | 75 int32_t LnnGetDeviceTypeId(const DeviceBasicInfo *info, uint16_t *typeId) in LnnGetDeviceTypeId() argument 77 if (info == NULL || typeId == NULL) { in LnnGetDeviceTypeId() 81 *typeId = info->deviceTypeId; in LnnGetDeviceTypeId() 85 static uint16_t ConvertStringToInt(const char *deviceType, uint16_t *typeId) in ConvertStringToInt() argument 87 *typeId = 0; in ConvertStringToInt() 92 *typeId |= (uint16_t)(*(deviceType + i) - '0'); in ConvertStringToInt() 93 *typeId = (*typeId << HEX_OF_BINARY_BITS); in ConvertStringToInt() 97 *typeId |= tmp; in ConvertStringToInt() 98 *typeId in ConvertStringToInt() 114 InterceptTypeId(uint16_t typeId, uint32_t i) InterceptTypeId() argument 119 ConvertIntToHexString(uint16_t typeId) ConvertIntToHexString() argument 136 LnnConvertDeviceTypeToId(const char *deviceType, uint16_t *typeId) LnnConvertDeviceTypeToId() argument 168 LnnConvertIdToDeviceType(uint16_t typeId) LnnConvertIdToDeviceType() argument [all...] |
/foundation/ability/ability_base/test/unittest/want/ |
H A D | array_wrapper_test.cpp | 44 InterfaceID typeId;
in HWTEST_F() local 45 sptr<IArray> arr = new Array(index, typeId);
in HWTEST_F() 59 InterfaceID typeId;
in HWTEST_F() local 60 sptr<IArray> arr = new Array(index, typeId);
in HWTEST_F() 75 InterfaceID typeId;
in HWTEST_F() local 76 sptr<IArray> arr = new Array(size, typeId);
in HWTEST_F() 89 InterfaceID typeId = g_IID_IString;
in HWTEST_F() local 90 sptr<IArray> arr = new Array(size, typeId);
in HWTEST_F() 91 ErrCode result = arr->GetType(typeId);
in HWTEST_F() 103 InterfaceID typeId;
in HWTEST_F() local 119 InterfaceID typeId; HWTEST_F() local 135 InterfaceID typeId; HWTEST_F() local 149 InterfaceID typeId = g_IID_IBoolean; HWTEST_F() local 163 InterfaceID typeId; HWTEST_F() local 177 InterfaceID typeId = g_IID_IChar; HWTEST_F() local 191 InterfaceID typeId; HWTEST_F() local 205 InterfaceID typeId = g_IID_IByte; HWTEST_F() local 219 InterfaceID typeId; HWTEST_F() local 233 InterfaceID typeId = g_IID_IShort; HWTEST_F() local 247 InterfaceID typeId; HWTEST_F() local 261 InterfaceID typeId = g_IID_IInteger; HWTEST_F() local 275 InterfaceID typeId; HWTEST_F() local 289 InterfaceID typeId = g_IID_ILong; HWTEST_F() local 303 InterfaceID typeId; HWTEST_F() local 317 InterfaceID typeId = g_IID_IFloat; HWTEST_F() local 331 InterfaceID typeId; HWTEST_F() local 345 InterfaceID typeId = g_IID_IDouble; HWTEST_F() local 359 InterfaceID typeId; HWTEST_F() local 373 InterfaceID typeId = g_IID_IString; HWTEST_F() local 387 InterfaceID typeId; HWTEST_F() local [all...] |
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data/ |
H A D | type_descriptor.cpp | 22 TypeDescriptor::TypeDescriptor(const std::string &typeId, const std::vector<std::string> &belongingToTypes, in TypeDescriptor() argument 24 const std::string &description, const std::string &referenceURL, const std::string &iconFile) : typeId_(typeId), in TypeDescriptor() 32 typeId_ = typeDescriptorCfg.typeId; in TypeDescriptor() 67 Status TypeDescriptor::BelongsTo(const std::string &typeId, bool &checkResult) in BelongsTo() argument 70 bool isFlexibleType = typeId.find(FLEXIBLE_TYPE_FLAG) != typeId_.npos; in BelongsTo() 71 if (!UtdGraph::GetInstance().IsValidType(typeId) && !isFlexibleType) { in BelongsTo() 72 LOG_ERROR(UDMF_CLIENT, "invalid para. %{public}s,", typeId.c_str()); in BelongsTo() 77 if (typeId_ == typeId) { in BelongsTo() 81 checkResult = CmpFlexibleTypeLevel(typeId, isFlexibleType); in BelongsTo() 85 if (typeId_ == typeId) { in BelongsTo() 93 IsLowerLevelType(const std::string &typeId, bool &checkResult) IsLowerLevelType() argument 113 IsHigherLevelType(const std::string &typeId, bool &checkResult) IsHigherLevelType() argument [all...] |
H A D | flexible_type.cpp | 35 bool FlexibleType::ParseFlexibleUtd(const std::string &typeId, TypeDescriptorCfg &flexibleTypeDescriptorCfg) in ParseFlexibleUtd() argument 37 flexibleTypeDescriptorCfg.typeId = typeId; in ParseFlexibleUtd() 38 std::string flexibleUtd = typeId; in ParseFlexibleUtd() 43 LOG_DEBUG(UDMF_CLIENT, "The typeId be parsed, flexibleUtdDecode: %{public}s", flexibleUtdDecode.c_str()); in ParseFlexibleUtd() 46 LOG_WARN(UDMF_CLIENT, "The typeId cannot be parsed, %{public}s ", typeId.c_str()); in ParseFlexibleUtd() 85 LOG_DEBUG(UDMF_CLIENT, "FlexibleUtd typeId is: %{public}s, encodeUtd is: %{public}s", in GenFlexibleUtd()
|
/foundation/distributeddatamgr/udmf/interfaces/cj/src/ |
H A D | uniform_type_descriptor_impl.cpp | 35 int64_t GetTypeDescriptor(const char *typeId) in GetTypeDescriptor() argument 38 UtdClient::GetInstance().GetTypeDescriptor(typeId, descriptor); in GetTypeDescriptor() 53 std::string typeId; in GetUniformDataTypeByFilenameExtension() local 57 status = UtdClient::GetInstance().GetUniformDataTypeByFilenameExtension(cFilenameExtension, typeId); in GetUniformDataTypeByFilenameExtension() 61 .GetUniformDataTypeByFilenameExtension(cFilenameExtension, typeId, belongsTo); in GetUniformDataTypeByFilenameExtension() 67 if (!typeId.empty()) { in GetUniformDataTypeByFilenameExtension() 68 return Utils::MallocCString(typeId); in GetUniformDataTypeByFilenameExtension() 77 std::string typeId; in GetUniformDataTypeByMIMEType() local 81 status = UtdClient::GetInstance().GetUniformDataTypeByMIMEType(cMimeType, typeId); in GetUniformDataTypeByMIMEType() 84 status = UtdClient::GetInstance().GetUniformDataTypeByMIMEType(cMimeType, typeId, belongsT in GetUniformDataTypeByMIMEType() [all...] |
H A D | uniform_type_descriptor_ffi.cpp | 27 int64_t FfiUDMFUniformTypeDescriptorGetTypeDescriptor(const char *typeId) in FfiUDMFUniformTypeDescriptorGetTypeDescriptor() argument 29 return UDMF::GetTypeDescriptor(typeId); in FfiUDMFUniformTypeDescriptorGetTypeDescriptor()
|
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/client/ |
H A D | utd_client.cpp | 75 Status UtdClient::GetTypeDescriptor(const std::string &typeId, std::shared_ptr<TypeDescriptor> &descriptor) in GetTypeDescriptor() argument 80 if (utdTypeCfg.typeId == typeId) { in GetTypeDescriptor() 82 LOG_DEBUG(UDMF_CLIENT, "get descriptor success. %{public}s ", typeId.c_str()); in GetTypeDescriptor() 87 if (typeId.find(FLEXIBLE_TYPE_FLAG) != typeId.npos) { in GetTypeDescriptor() 88 LOG_DEBUG(UDMF_CLIENT, "get flexible descriptor. %{public}s ", typeId.c_str()); in GetTypeDescriptor() 89 return GetFlexibleTypeDescriptor(typeId, descriptor); in GetTypeDescriptor() 120 Status UtdClient::GetFlexibleTypeDescriptor(const std::string &typeId, std::shared_ptr<TypeDescriptor> &descriptor) in GetFlexibleTypeDescriptor() argument 123 if (!FlexibleType::ParseFlexibleUtd(typeId, flexibleTypeDescriptorCf in GetFlexibleTypeDescriptor() 131 GetUniformDataTypeByFilenameExtension(const std::string &fileExtension, std::string &typeId, std::string belongsTo) GetUniformDataTypeByFilenameExtension() argument 219 GetUniformDataTypeByMIMEType(const std::string &mimeType, std::string &typeId, std::string belongsTo) GetUniformDataTypeByMIMEType() argument 327 IsUtd(std::string typeId, bool &result) IsUtd() argument [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/src/distributedWant/ |
H A D | distributed_want_params_wrapper.cpp | 138 int typeId = 0; in Parse() local 140 if (str[strnum] == '{' && strKey != "" && typeId == DistributedWantParams::VALUE_TYPE_WANTPARAMS) { in Parse() 144 typeId = 0; in Parse() 156 } else if (typeId == 0) { in Parse() 158 typeId = GerTypedId(str, strnum); in Parse() 166 DistributedWantParams::GetInterfaceByType(typeId, in Parse() 169 typeId = 0; in Parse() 182 int typeId = 0; in GerTypedId() local 185 return typeId; in GerTypedId() 189 return typeId; in GerTypedId() 199 int typeId = 0; ParseWantParams() local [all...] |
/foundation/ability/ability_base/interfaces/kits/native/want/src/ |
H A D | want_params_wrapper.cpp | 62 int typeId = WantParams::GetDataType(it.second); in ToString() local 63 result = result + "\"" + it.first + "\":{\"" + std::to_string(typeId) + "\":"; in ToString() 67 result = result + "\"" + WantParams::GetStringByType(it.second, typeId) + "\""; in ToString() 132 int typeId = 0; in Parse() local 135 if (str[strnum] == '{' && key != "" && typeId == WantParams::VALUE_TYPE_WANTPARAMS) { in Parse() 150 typeId = 0; in Parse() 157 } else if (typeId == 0) { in Parse() 159 typeId = atoi(str.substr(strnum, str.find('"', strnum) - strnum).c_str()); in Parse() 167 WantParams::GetInterfaceByType(typeId, str.substr(strnum, str.find('"', strnum) - strnum))); in Parse() 169 typeId in Parse() 183 int typeId = 0; ParseWantParams() local 234 int typeId = 0; ParseWantParamsWithBrackets() local [all...] |
H A D | array_wrapper.cpp | 337 InterfaceID typeId; in IsBooleanArray() local 338 array->GetType(typeId); in IsBooleanArray() 339 return typeId == g_IID_IBoolean; in IsBooleanArray() 344 InterfaceID typeId; in IsCharArray() local 345 array->GetType(typeId); in IsCharArray() 346 return typeId == g_IID_IChar; in IsCharArray() 351 InterfaceID typeId; in IsByteArray() local 352 array->GetType(typeId); in IsByteArray() 353 return typeId == g_IID_IByte; in IsByteArray() 358 InterfaceID typeId; in IsShortArray() local 365 InterfaceID typeId; IsIntegerArray() local 372 InterfaceID typeId; IsLongArray() local 379 InterfaceID typeId; IsFloatArray() local 386 InterfaceID typeId; IsDoubleArray() local 393 InterfaceID typeId; IsStringArray() local 400 InterfaceID typeId; IsWantParamsArray() local [all...] |
/foundation/distributeddatamgr/udmf/framework/common/ |
H A D | utd_cfgs_checker.cpp | 59 if (!std::regex_match(declarationType.typeId, std::regex(bundleName + TYPE_ID_REGEX))) { in CheckTypesFormat() 60 LOG_ERROR(UDMF_CLIENT, "Declaration typeId check failed, id: %{public}s, bundleName: %{public}s.", in CheckTypesFormat() 61 declarationType.typeId.c_str(), bundleName.c_str()); in CheckTypesFormat() 66 if (!std::regex_match(referenceTypes.typeId, std::regex(TYPE_ID_REGEX))) { in CheckTypesFormat() 67 LOG_ERROR(UDMF_CLIENT, "Reference typeId check failed, id: %{public}s, bundleName: %{public}s.", in CheckTypesFormat() 68 referenceTypes.typeId.c_str(), bundleName.c_str()); in CheckTypesFormat() 93 LOG_ERROR(UDMF_CLIENT, "mimeType can not be an empty string, typeId: %{public}s.", 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() [all...] |
H A D | utd_common.h | 27 std::string typeId; member 39 return typeDescriptor.typeId == typeId; in operator ==()
|
/foundation/distributeddatamgr/udmf/framework/common/unittest/ |
H A D | utd_cfgs_checker_test.cpp | 50 tdc1.typeId = "com.demo.test.type";
in HWTEST_F() 56 tdc2.typeId = "com.demo.test.type2";
in HWTEST_F() 64 preTdc1.typeId = "com.demo.test.parent";
in HWTEST_F() 66 preTdc2.typeId = "com.demo.test.parent2";
in HWTEST_F() 87 tdc1.typeId = "com.demo.test.type";
in HWTEST_F() 90 tdc2.typeId = "errorTypeId";
in HWTEST_F() 95 preTdc1.typeId = "com.demo.test.parent";
in HWTEST_F() 97 preTdc2.typeId = "com.demo.test.parent2";
in HWTEST_F() 144 tdc1.typeId = "com.demo.test.type";
in HWTEST_F() 147 tdc2.typeId in HWTEST_F() [all...] |
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/fuzztest/utdclient_fuzzer/ |
H A D | utd_client_fuzzer.cpp | 33 std::string typeId(data, data + size); in GetTypeDescriptorFuzz() 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 50 UtdClient::GetInstance().GetUniformDataTypeByFilenameExtension(fileExtension, typeId, belongsTo); in GetUniformDataTypeByFilenameExtensionFuzz() 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, belongsT in GetUniformDataTypeByMIMETypeFuzz() [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/detail/ |
H A D | any_pointer_compatibility.h | 45 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>(); in GetCompatibleTypes() local 137 static TypeId uids[] = { typeId, SharedPtrConstIInterfaceId, WeakPtrConstIInterfaceId }; in GetCompatibleTypes() 140 static TypeId uids[] = { typeId, SharedPtrIInterfaceI in GetCompatibleTypes() [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | horizonprogress_tdd_test.cpp | 189 jerry_value_t typeId = jerry_create_string(reinterpret_cast<const jerry_char_t *>("type")); in HorizonProgressTest004() local 191 jerry_set_property(objAttrs, typeId, typeValue); in HorizonProgressTest004() 192 jerry_release_value(typeId); in HorizonProgressTest004() 232 jerry_value_t typeId = jerry_create_string(reinterpret_cast<const jerry_char_t *>("type")); in HorizonProgressTest005() local 234 jerry_set_property(objAttrs, typeId, typeValue); in HorizonProgressTest005() 235 jerry_release_value(typeId); in HorizonProgressTest005() 274 jerry_value_t typeId = jerry_create_string(reinterpret_cast<const jerry_char_t *>("type")); in HorizonProgressTest006() local 276 jerry_set_property(objAttrs, typeId, typeValue); in HorizonProgressTest006() 277 jerry_release_value(typeId); in HorizonProgressTest006() 319 jerry_value_t typeId in HorizonProgressTest007() local 363 jerry_value_t typeId = jerry_create_string(reinterpret_cast<const jerry_char_t *>("type")); HorizonProgressTest008() local 407 jerry_value_t typeId = jerry_create_string(reinterpret_cast<const jerry_char_t *>("type")); HorizonProgressTest009() local 460 jerry_value_t typeId = jerry_create_string(reinterpret_cast<const jerry_char_t *>("type")); HorizonProgressTest013() local 512 jerry_value_t typeId = jerry_create_string(reinterpret_cast<const jerry_char_t *>("type")); HorizonProgressTest014() local 553 jerry_value_t typeId = jerry_create_string(reinterpret_cast<const jerry_char_t *>("type")); HorizonProgressTest015() local 594 jerry_value_t typeId = jerry_create_string(reinterpret_cast<const jerry_char_t *>("type")); HorizonProgressTest016() local 635 jerry_value_t typeId = jerry_create_string(reinterpret_cast<const jerry_char_t *>("type")); HorizonProgressTest017() local [all...] |
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/ |
H A D | flexible_type_test.cpp | 140 * @tc.desc: Abnormal testcase of ParseFlexibleUtd, because typeId and FLEXIBLE_TYPE_FLAG are equal 146 const std::string typeId = "flex.z"; in HWTEST_F() local 148 flexibleTypeDescriptorCfg.typeId = "com.example.utdtest.document"; in HWTEST_F() 158 bool ret = flexibleType.ParseFlexibleUtd(typeId, flexibleTypeDescriptorCfg); in HWTEST_F() 171 const std::string typeId = "com.example.utdtest.document"; in HWTEST_F() local 173 flexibleTypeDescriptorCfg.typeId = "com.example.utdtest.document"; in HWTEST_F() 183 bool ret = flexibleType.ParseFlexibleUtd(typeId, flexibleTypeDescriptorCfg); in HWTEST_F() 196 const std::string typeId = "flex.z="; in HWTEST_F() local 198 flexibleTypeDescriptorCfg.typeId = "com.example.utdtest.document"; in HWTEST_F() 208 bool ret = flexibleType.ParseFlexibleUtd(typeId, flexibleTypeDescriptorCf in HWTEST_F() [all...] |
H A D | utd_client_test.cpp | 70 std::string typeId = "com.amazon.azw3"; in HWTEST_F() local 71 auto status = UtdClient::GetInstance().GetTypeDescriptor(typeId, descriptor); in HWTEST_F() 73 EXPECT_EQ(descriptor->GetTypeId(), typeId); in HWTEST_F() 84 * @tc.desc: Negative test case, invalid typeId argument, returns nullptr 92 std::string typeId = ""; in HWTEST_F() local 93 auto status = UtdClient::GetInstance().GetTypeDescriptor(typeId, descriptor); in HWTEST_F() 101 * @tc.desc: Negative test case, invalid typeId argument, returns nullptr 109 std::string typeId = "12345"; in HWTEST_F() local 110 auto status = UtdClient::GetInstance().GetTypeDescriptor(typeId, descriptor); in HWTEST_F() 126 std::string typeId in HWTEST_F() local 146 std::string typeId = "..."; HWTEST_F() local 163 std::string typeId = "general.fax"; HWTEST_F() local 460 std::string typeId = "com.amazon.azw3"; HWTEST_F() local 480 std::string typeId = "com.amazon.azw3"; HWTEST_F() local 500 std::string typeId = "general.tiff"; HWTEST_F() local 520 std::string typeId = "general.tiff"; HWTEST_F() local 540 std::string typeId = "general.c-header"; HWTEST_F() local 560 std::string typeId = "general.mpeg"; HWTEST_F() local 580 std::string typeId = "com.amazon.azw3"; HWTEST_F() local 600 std::string typeId = "general.object"; HWTEST_F() local 620 std::string typeId = "com.microsoft.bmp"; HWTEST_F() local 640 std::string typeId = "com.amazon.azw3"; HWTEST_F() local 660 std::string typeId = "general.composite-object"; HWTEST_F() local 680 std::string typeId = "com.amazon.azw3"; HWTEST_F() local 700 std::string typeId = "general.image"; HWTEST_F() local 762 std::string typeId = "com.amazon.azw3"; HWTEST_F() local 784 std::string typeId = "general.text"; HWTEST_F() local 806 std::string typeId = "general.image"; HWTEST_F() local 828 std::string typeId = "general.video"; HWTEST_F() local 850 std::string typeId = "general.audio"; HWTEST_F() local 1741 const std::string typeId = ""; HWTEST_F() local 1808 std::string typeId = ""; HWTEST_F() local [all...] |
/foundation/distributeddatamgr/udmf/framework/jskitsimpl/data/ |
H A D | uniform_type_descriptor_napi.cpp | 66 std::string typeId; in GetTypeDescriptor() local 68 auto input = [env, ctxt, &typeId](size_t argc, napi_value* argv) { in GetTypeDescriptor() 70 // required 1 arguments : typeId in GetTypeDescriptor() 73 ctxt->status = NapiDataUtils::GetValue(env, argv[0], typeId); in GetTypeDescriptor() 80 auto status = UtdClient::GetInstance().GetTypeDescriptor(typeId, descriptor); in GetTypeDescriptor() 97 // required 1 arguments : typeId in GetUniformDataTypeByFilenameExtension() 111 std::string typeId; in GetUniformDataTypeByFilenameExtension() local 114 status = UtdClient::GetInstance().GetUniformDataTypeByFilenameExtension(filenameExtension, typeId); in GetUniformDataTypeByFilenameExtension() 116 status = UtdClient::GetInstance().GetUniformDataTypeByFilenameExtension(filenameExtension, typeId, belongsTo); in GetUniformDataTypeByFilenameExtension() 119 if (!typeId in GetUniformDataTypeByFilenameExtension() 149 std::string typeId; GetUniformDataTypeByMIMEType() local [all...] |
/foundation/distributeddatamgr/udmf/framework/ndkimpl/data/ |
H A D | utd.cpp | 77 static std::shared_ptr<TypeDescriptor> GetTypeDescriptorByUtdClient(const char* typeId)
in GetTypeDescriptorByUtdClient() argument 80 UtdClient::GetInstance().GetTypeDescriptor(typeId, typeDescriptor);
in GetTypeDescriptorByUtdClient() 97 LOG_ERROR(UDMF_CAPI, "Failed to obtain typeId by invoking the native function.");
in GetTypesByCondition() 100 auto typeId = new (std::nothrow) char[typeIdStr.size() + 1];
in GetTypesByCondition() local 101 if (typeId == nullptr) {
in GetTypesByCondition() 102 LOG_ERROR(UDMF_CAPI, "obtain typeId's memory error!");
in GetTypesByCondition() 105 if (strcpy_s(typeId, typeIdStr.size() + 1, typeIdStr.c_str()) != UDMF_E_OK) {
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 [all...] |
/foundation/distributeddatamgr/udmf/interfaces/innerkits/client/ |
H A D | utd_client.h | 37 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> &descriptor);
|
/foundation/distributeddatamgr/udmf/adapter/framework/innerkitsimpl/client/ |
H A D | utd_client.cpp | 37 Status UtdClient::GetTypeDescriptor(const std::string &typeId, std::shared_ptr<TypeDescriptor> &descriptor) in GetTypeDescriptor() argument 52 Status UtdClient::GetFlexibleTypeDescriptor(const std::string &typeId, std::shared_ptr<TypeDescriptor> &descriptor) in GetFlexibleTypeDescriptor() argument 57 Status UtdClient::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 D | utd_client.h | 38 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> &descriptor);
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/ |
H A D | lnn_device_info.h | 55 int32_t LnnGetDeviceTypeId(const DeviceBasicInfo *info, uint16_t *typeId); 56 int32_t LnnConvertDeviceTypeToId(const char *deviceType, uint16_t *typeId); 57 char *LnnConvertIdToDeviceType(uint16_t typeId);
|
/foundation/distributeddatamgr/udmf/interfaces/innerkits/data/ |
H A D | type_descriptor.h | 30 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);
|