Home
last modified time | relevance | path

Searched refs:serviceType (Results 1 – 25 of 143) sorted by relevance

123456

/ohos5.0/foundation/multimedia/image_framework/plugins/manager/include/
H A Dplugin_server.h64 inline T *CreateObject(uint16_t serviceType, uint32_t &errorCode) in CreateObject() argument
69 … return ConvertToServiceInterface<T>(CreateObject(interfaceID, serviceType, emptyCapabilities, in CreateObject()
74 inline T *CreateObject(uint16_t serviceType) in CreateObject() argument
94 inline T *CreateObject(uint16_t serviceType, const PriorityScheme &priorityScheme) in CreateObject() argument
109 return ConvertToServiceInterface<T>(CreateObject(interfaceID, serviceType, capabilities, in CreateObject()
119 return ConvertToServiceInterface<T>(CreateObject(interfaceID, serviceType, capabilities, in CreateObject()
128 return ConvertToServiceInterface<T>(CreateObject(interfaceID, serviceType, capabilities, in CreateObject()
138 return ConvertToServiceInterface<T>(CreateObject(interfaceID, serviceType, capabilities, in CreateObject()
155 return PluginServerGetClassInfo(interfaceID, serviceType, capabilities, classesInfo); in PluginServerGetClassInfo()
183 PluginClassBase *CreateObject(uint16_t interfaceID, uint16_t serviceType,
[all …]
/ohos5.0/foundation/multimedia/image_framework/plugins/manager/src/framework/
H A Dplugin_metadata.h34 "serviceType":0
51 "serviceType":0
78 "serviceType":0
105 "serviceType":0
132 "serviceType":0
159 "serviceType":0
176 "serviceType":0
203 "serviceType":0
230 "serviceType":0
257 "serviceType":0
[all …]
H A Dplugin_fw.cpp55 PluginClassBase *PluginFw::CreateObject(uint16_t interfaceID, uint16_t serviceType, in CreateObject() argument
62 …return implClassMgr_.CreateObject(interfaceID, serviceType, capabilities, priorityScheme, errorCod… in CreateObject()
65 uint32_t PluginFw::PluginFwGetClassInfo(uint16_t interfaceID, uint16_t serviceType, in PluginFwGetClassInfo() argument
72 …return implClassMgr_.ImplClassMgrGetClassInfo(interfaceID, serviceType, capabilities, classesInfo); in PluginFwGetClassInfo()
/ohos5.0/base/security/device_auth/services/frameworks/src/module/
H A Ddev_auth_module_manager.c46 static bool IsParamsForDasTokenManagerValid(const char *pkgName, const char *serviceType, Uint8Buff… in IsParamsForDasTokenManagerValid() argument
53 if (pkgName == NULL || serviceType == NULL || authId == NULL || authId->val == NULL) { in IsParamsForDasTokenManagerValid()
58 if (HcStrlen(pkgName) == 0 || HcStrlen(serviceType) == 0 || authId->length == 0) { in IsParamsForDasTokenManagerValid()
71 …if (!IsParamsForDasTokenManagerValid(moduleParams->pkgName, moduleParams->serviceType, moduleParam… in RegisterLocalIdentity()
85 … .serviceType = { (uint8_t *)moduleParams->serviceType, HcStrlen(moduleParams->serviceType) }, in RegisterLocalIdentity()
99 …if (!IsParamsForDasTokenManagerValid(moduleParams->pkgName, moduleParams->serviceType, moduleParam… in UnregisterLocalIdentity()
113 … .serviceType = { (uint8_t *)moduleParams->serviceType, HcStrlen(moduleParams->serviceType) }, in UnregisterLocalIdentity()
127 …if (!IsParamsForDasTokenManagerValid(moduleParams->pkgName, moduleParams->serviceType, moduleParam… in DeletePeerAuthInfo()
141 … .serviceType = { (uint8_t *)moduleParams->serviceType, HcStrlen(moduleParams->serviceType) }, in DeletePeerAuthInfo()
156 !IsParamsForDasTokenManagerValid(moduleParams->pkgName, moduleParams->serviceType, in GetPublicKey()
[all …]
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/formatagentplugin/
H A Dimageformatagent.pluginmeta12 "serviceType":0
29 "serviceType":0
46 "serviceType":0
63 "serviceType":0
80 "serviceType":0
97 "serviceType":0
114 "serviceType":0
131 "serviceType":0
148 "serviceType":0
/ohos5.0/base/security/device_auth/services/identity_manager/src/
H A Dcredential_operator.c30 char *serviceType; member
50 serviceType->length) != EOK) { in CombineServiceId()
161 Uint8Buff serviceTypeBuff = { (uint8_t *)serviceType, HcStrlen(serviceType) }; in GenerateKeyAliasInner()
204 HcFree(param->serviceType); in FreeCredParam()
205 param->serviceType = NULL; in FreeCredParam()
227 if (serviceType == NULL) { in DecodeServiceTypeAndPublicKey()
230 param->serviceType = strdup(serviceType); in DecodeServiceTypeAndPublicKey()
232 if (param->serviceType == NULL) { in DecodeServiceTypeAndPublicKey()
326 .serviceType = { (uint8_t *)serviceType, HcStrlen(serviceType) }, in PackPublicKeyToJson()
451 .serviceType = { (uint8_t *)param->serviceType, HcStrlen(param->serviceType) }, in RegisterIdentity()
[all …]
H A Didentity_group.c140 const char *serviceType = StringGet(&deviceEntry->serviceType); in IsP2pAuthTokenExist() local
141 Uint8Buff serviceTypeBuff = { (uint8_t *)serviceType, HcStrlen(serviceType) }; in IsP2pAuthTokenExist()
456 const char *serviceType = StringGet(&deviceEntry->serviceType); in GenerateKeyAliasForIso() local
457 Uint8Buff serviceTypeBuff = { (uint8_t *)serviceType, (uint32_t)HcStrlen(serviceType) }; in GenerateKeyAliasForIso()
592 Uint8Buff serviceTypeBuff = { (uint8_t *)serviceType, HcStrlen(serviceType) }; in GenerateSelfKeyAlias()
615 const char *serviceType = StringGet(&peerDeviceEntry->serviceType); in GeneratePeerKeyAlias() local
616 Uint8Buff serviceTypeBuff = { (uint8_t *)serviceType, HcStrlen(serviceType) }; in GeneratePeerKeyAlias()
680 const char *serviceType = StringGet(&peerDeviceEntry->serviceType); in ComputeAndSavePsk() local
684 …ret = GenerateSelfKeyAlias(serviceType, selfUserType, &selfAuthIdBuff, isSelfFromUpgrade, &selfKey… in ComputeAndSavePsk()
741 const char *serviceType = StringGet(&deviceEntry->serviceType); in GeneratePskAliasAndCheckExist() local
[all …]
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/common/
H A Ddas_task_common.c171 serviceIdPlain.length = pkgName->length + serviceType->length; in CombineServiceId()
185 serviceType->val, serviceType->length) != EOK) { in CombineServiceId()
260 if (memcpy_s(keyAliasBuff.val, totalLen, serviceType->val, serviceType->length) != EOK) { in CombineKeyAliasForPseudonymPsk()
265 usedLen = usedLen + serviceType->length; in CombineKeyAliasForPseudonymPsk()
347 int32_t GenerateKeyAlias(const Uint8Buff *pkgName, const Uint8Buff *serviceType, in GenerateKeyAlias() argument
352 CHECK_PTR_RETURN_ERROR_CODE(serviceType, "serviceType"); in GenerateKeyAlias()
353 CHECK_PTR_RETURN_ERROR_CODE(serviceType->val, "serviceType->val"); in GenerateKeyAlias()
376 res = CombineServiceId(pkgName, serviceType, &serviceId); in GenerateKeyAlias()
398 CHECK_PTR_RETURN_ERROR_CODE(serviceType, "serviceType"); in CheckGeneratePskParams()
399 CHECK_PTR_RETURN_ERROR_CODE(serviceType->val, "serviceType->val"); in CheckGeneratePskParams()
[all …]
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/creds_manager/
H A Ddas_standard_token_manager.c24 Uint8Buff serviceTypeBuff = { params->serviceType.val, params->serviceType.length }; in RegisterLocalIdentityStd()
57 Uint8Buff serviceTypeBuff = { params->serviceType.val, params->serviceType.length }; in UnregisterLocalIdentityStd()
200 Uint8Buff serviceTypeBuff = { params->serviceType.val, params->serviceType.length }; in DeletePeerAuthInfoStd()
229 Uint8Buff serviceType = { (uint8_t *)params->serviceType, HcStrlen(params->serviceType) }; in GenerateSelfKeyAlias() local
230 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyType, &(params->baseParams.idSelf), … in GenerateSelfKeyAlias()
248 Uint8Buff serviceType = { (uint8_t *)params->serviceType, HcStrlen(params->serviceType) }; in GeneratePeerKeyAlias() local
254 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyTypePeer, &(params->baseParams.idPee… in GeneratePeerKeyAlias()
272 Uint8Buff serviceType = { (uint8_t *)params->serviceType, HcStrlen(params->serviceType) }; in GenerateSharedKeyAlias() local
273 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, KEY_ALIAS_PSK, &(params->baseParams.idP… in GenerateSharedKeyAlias()
374 Uint8Buff serviceTypeBuff = { params->serviceType.val, params->serviceType.length }; in GetPublicKeyStd()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-network-kit/
H A Djs-apis-net-mdns.md58 serviceType: "_print._tcp",
122 serviceType: "_print._tcp",
180 serviceType: "_print._tcp",
243 serviceType: "_print._tcp",
297 let serviceType = "_print._tcp";
345 serviceType: "_print._tcp",
409 serviceType: "_print._tcp",
446 let serviceType = "_print._tcp";
471 let serviceType = "_print._tcp";
501 let serviceType = "_print._tcp";
[all …]
/ohos5.0/foundation/communication/netmanager_ext/services/mdnsmanager/src/
H A Dmdns_manager.cpp50 .serviceType = serviceInfo.type, in RegisterService()
89 int32_t MDnsManager::StartDiscoverService(const std::string &serviceType, const sptr<IDiscoveryCall… in StartDiscoverService() argument
97 if (!IsTypeValid(serviceType)) { in StartDiscoverService()
100 std::string name = impl.Decorated(serviceType); in StartDiscoverService()
110 discoveryMap_.emplace(cb, serviceType); in StartDiscoverService()
112 return impl.Discovery(serviceType, cb); in StartDiscoverService()
145 auto serviceType = it.second; in RestartDiscoverService() local
146 impl.StopCbMap(serviceType); in RestartDiscoverService()
147 impl.Discovery(serviceType, cb); in RestartDiscoverService()
/ohos5.0/foundation/multimedia/image_framework/plugins/manager/src/
H A Dplugin_server.cpp124 PluginClassBase *PluginServer::CreateObject(uint16_t interfaceID, uint16_t serviceType, in CreateObject() argument
128 … IMAGE_LOGD("create object iid: %{public}hu, service Type: %{public}u.", interfaceID, serviceType); in CreateObject()
133 …obj = gstPluginFw_.CreateObject(interfaceID, serviceType, capabilities, priorityScheme, errorCode); in CreateObject()
139 obj = pluginFw_.CreateObject(interfaceID, serviceType, capabilities, priorityScheme, errorCode); in CreateObject()
143 uint32_t PluginServer::PluginServerGetClassInfo(uint16_t interfaceID, uint16_t serviceType, in PluginServerGetClassInfo() argument
154 …resultGst = gstPluginFw_.GstPluginFwGetClassInfo(interfaceID, serviceType, capabilities, classesIn… in PluginServerGetClassInfo()
158 …uint32_t resultFw = pluginFw_.PluginFwGetClassInfo(interfaceID, serviceType, capabilities, classes… in PluginServerGetClassInfo()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dwifi_p2p_dns_sd_service_request.cpp38 WifiP2pDnsSdServiceRequest WifiP2pDnsSdServiceRequest::Create(const std::string &serviceType) in Create() argument
41serviceType + ".local.", WifiP2pDnsSdServiceInfo::DNS_PTR_TYPE, WifiP2pDnsSdServiceInfo::VERSION_1… in Create()
46 const std::string &instanceName, const std::string &serviceType) in Create() argument
48 WifiP2pDnsSdServiceRequest req(instanceName + "." + serviceType + ".local.", in Create()
H A Dwifi_p2p_dns_sd_service_info.cpp45 …fo WifiP2pDnsSdServiceInfo::Create(const std::string &instanceName, const std::string &serviceType, in Create() argument
53 queries.push_back(BuildPtrServiceQuery(instanceName, serviceType, svrName)); in Create()
54 queries.push_back(BuildTxtServiceQuery(instanceName, serviceType, txtRecord, svrName)); in Create()
62 const std::string &instanceName, const std::string &serviceType, const std::string &svrName) in BuildPtrServiceQuery() argument
68 ret << BuildRequest(serviceType + ".local.", DNS_PTR_TYPE, VERSION_1); in BuildPtrServiceQuery()
88 … const std::string &serviceType, const WifiP2PDnsTxtRecord &txtRecord, const std::string &svrName) in BuildTxtServiceQuery() argument
92 std::string dnsName = instanceName + std::string(".") + serviceType + std::string(".local."); in BuildTxtServiceQuery()
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/iso_task/iso_task_common/
H A Diso_task_common.c265 …Uint8Buff serviceType = { (uint8_t *)params->serviceType, (uint32_t)HcStrlen(params->serviceType) … in GenerateKeyAliasForIso() local
324 if (params->serviceType != NULL) { in DestroyIsoParams()
325 HcFree(params->serviceType); in DestroyIsoParams()
326 params->serviceType = NULL; in DestroyIsoParams()
396 const char *serviceType = GetStringFromJson(in, FIELD_SERVICE_TYPE); in FillPkgNameAndServiceType() local
397 if (serviceType == NULL) { in FillPkgNameAndServiceType()
401 params->serviceType = (char *)HcMalloc((uint32_t)(HcStrlen(serviceType) + 1), 0); in FillPkgNameAndServiceType()
402 if (params->serviceType == NULL) { in FillPkgNameAndServiceType()
406 …if (memcpy_s(params->serviceType, HcStrlen(serviceType) + 1, serviceType, HcStrlen(serviceType)) !… in FillPkgNameAndServiceType()
619 …Uint8Buff serviceType = { (uint8_t *)params->serviceType, (uint32_t)HcStrlen(params->serviceType) … in GenerateKeyAliasInIso() local
[all …]
/ohos5.0/foundation/multimedia/image_framework/plugins/manager/src/thirdpartyadp/gstreamer/
H A Dgst_plugin_fw.cpp53 PluginClassBase *GstPluginFw::CreateObject(uint16_t interfaceID, uint16_t serviceType, in CreateObject() argument
58 (void) serviceType; in CreateObject()
67 uint32_t GstPluginFw::GstPluginFwGetClassInfo(uint16_t interfaceID, uint16_t serviceType, in GstPluginFwGetClassInfo() argument
72 (void) serviceType; in GstPluginFwGetClassInfo()
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/
H A Dpake_task_common.c221 const char *serviceType = GetStringFromJson(in, FIELD_SERVICE_TYPE); in FillPkgNameAndServiceType() local
222 if (serviceType == NULL) { in FillPkgNameAndServiceType()
226 params->serviceType = (char *)HcMalloc(HcStrlen(serviceType) + 1, 0); in FillPkgNameAndServiceType()
227 if (params->serviceType == NULL) { in FillPkgNameAndServiceType()
231 …if (memcpy_s(params->serviceType, HcStrlen(serviceType) + 1, serviceType, HcStrlen(serviceType)) !… in FillPkgNameAndServiceType()
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/softbus_adapter/transport/
H A Ddsched_transport_softbus_adapter.cpp431 HILOGI("start, service type: %{public}d", serviceType); in RegisterListener()
433 HILOGE("listener is null, type: %{public}d", serviceType); in RegisterListener()
437 if (listeners_.empty() || listeners_.find(serviceType) == listeners_.end()) { in RegisterListener()
438 HILOGD("service type %{public}d does not exist in the listeners, adding", serviceType); in RegisterListener()
441 listeners_[serviceType] = newListeners; in RegisterListener()
445 auto iterItem = listeners_.find(serviceType); in RegisterListener()
459 HILOGI("start, service type: %{public}d", serviceType); in UnregisterListener()
461 HILOGE("listener is null, type: %{public}d", serviceType); in UnregisterListener()
465 if (listeners_.empty() || listeners_.find(serviceType) == listeners_.end()) { in UnregisterListener()
466 HILOGD("service type %{public}d does not exist in the listeners, ignore", serviceType); in UnregisterListener()
[all …]
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/test/
H A Dwifi_p2p_dns_sd_service_info_test.cpp54 std::string serviceType; variable
58 WifiP2pDnsSdServiceInfo::Create(instanceName, serviceType, txtMap, svrName);
67 std::string serviceType; variable
70 …WifiP2pDnsSdServiceInfo::Create(instanceName, serviceType, txtMap, svrName).BuildRequest(dnsName, …
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/pake_v1_task/pake_v1_protocol_task/
H A Dpake_v1_protocol_task_common.c60 HcFree(params->serviceType); in DestroyDasPakeV1Params()
61 params->serviceType = NULL; in DestroyDasPakeV1Params()
143 Uint8Buff serviceType = { (uint8_t *)params->serviceType, HcStrlen(params->serviceType) }; in LoadPseudonymFlagIfNeed() local
144 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyTypePeer, &(params->baseParams.idPee… in LoadPseudonymFlagIfNeed()
265 Uint8Buff serviceType = { (uint8_t *)params->serviceType, HcStrlen(params->serviceType) }; in GeneratePskAlias() local
384 Uint8Buff serviceTypeBuff = { (uint8_t *)params->serviceType, HcStrlen(params->serviceType) }; in LoadPseudonymExtInfoIfNeed()
450 Uint8Buff serviceTypeBuff = { (uint8_t *)params->serviceType, HcStrlen(params->serviceType) }; in GeneratePseudonymPskIfNotExist()
566 Uint8Buff serviceTypeBuff = { (uint8_t *)params->serviceType, HcStrlen(params->serviceType) }; in GenerateSelfPseudonymChlgAndId()
659 Uint8Buff serviceTypeBuff = { (uint8_t *)params->serviceType, HcStrlen(params->serviceType) }; in CheckPseudonymIdByCompute()
791 Uint8Buff serviceTypeBuff = { (uint8_t *)params->serviceType, HcStrlen(params->serviceType) }; in SaveExtInfoToPseudonymPsk()
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-network-kit/
H A Djs-apis-net-mdns.md58 serviceType: "_print._tcp",
122 serviceType: "_print._tcp",
180 serviceType: "_print._tcp",
243 serviceType: "_print._tcp",
297 let serviceType = "_print._tcp";
345 serviceType: "_print._tcp",
409 serviceType: "_print._tcp",
446 let serviceType = "_print._tcp";
471 let serviceType = "_print._tcp";
501 let serviceType = "_print._tcp";
[all …]
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/standard_exchange_task/
H A Dcommon_standard_bind_exchange.c408 … Uint8Buff serviceType = { (uint8_t *)pakeParams->serviceType, HcStrlen(pakeParams->serviceType) }; in SaveAuthInfo() local
409 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyType, &(pakeParams->baseParams.idPee… in SaveAuthInfo()
444 … Uint8Buff serviceType = { (uint8_t *)pakeParams->serviceType, HcStrlen(pakeParams->serviceType) }; in ClientRequestStandardBindExchange() local
445 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyType, &(pakeParams->baseParams.idSel… in ClientRequestStandardBindExchange()
489 … Uint8Buff serviceType = { (uint8_t *)pakeParams->serviceType, HcStrlen(pakeParams->serviceType) }; in GenerateSelfKeyAlias() local
490 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyType, &(pakeParams->baseParams.idSel… in GenerateSelfKeyAlias()
567 … Uint8Buff serviceType = { (uint8_t *)pakeParams->serviceType, HcStrlen(pakeParams->serviceType) }; in ClientConfirmStandardBindExchange() local
568 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyType, &(pakeParams->baseParams.idSel… in ClientConfirmStandardBindExchange()
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/ril/
H A D_ss_notice_info_v10.md20 | int [serviceType](#servicetype) | 业务类型 |
69 ### serviceType subsection
72 int SsNoticeInfo::serviceType
H A D_ss_notice_info_v11.md20 | int [serviceType](#servicetype) | 业务类型 |
69 ### serviceType subsection
72 int SsNoticeInfo::serviceType
/ohos5.0/foundation/deviceprofile/device_info_manager/common/src/interfaces/
H A Dservice_profile.cpp29 …const std::string& serviceType) : deviceId_(deviceId), serviceName_(serviceName), serviceType_(ser… in ServiceProfile() argument
65 void ServiceProfile::SetServiceType(const std::string& serviceType) in SetServiceType() argument
67 serviceType_ = serviceType; in SetServiceType()

123456