Home
last modified time | relevance | path

Searched refs:serviceNum (Results 1 – 25 of 28) sorted by relevance

12

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_sdp_client.cpp42 …::SdpCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, void *context) in SdpCallback() argument
46 if (serviceNum > 0) { in SdpCallback()
47 CopySdpServiceArray(address, serviceAry, serviceNum); in SdpCallback()
111 uint16_t serviceNum, void *context) in SdpHspHsCallback() argument
115 if (serviceNum > 0) { in SdpHspHsCallback()
116 CopySdpServiceArray(address, serviceAry, serviceNum); in SdpHspHsCallback()
206 const std::string &remoteAddr, const SdpService *serviceAry, uint16_t serviceNum) in CopySdpServiceArray() argument
210 for (uint16_t n = 0; n < serviceNum; n++) { in CopySdpServiceArray()
264 uint16_t serviceNum = array.services.size(); in LoopAllProtocolRfcomm() local
265 for (uint16_t num = 0; num < serviceNum; num++) { in LoopAllProtocolRfcomm()
[all …]
H A Dhfp_ag_sdp_client.h71 …static void SdpCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, voi…
90 …spHsCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, void *context);
124 …ySdpServiceArray(const std::string &remoteAddr, const SdpService *serviceAry, uint16_t serviceNum);
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/
H A Dhid_host_sdp_client.h57 …static void SdpCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, voi…
59 const SdpService *serviceAry, uint16_t serviceNum, void *context);
88 void SdpCallback_(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum);
89 void SdpPnpCallback_(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum);
H A Dhid_host_sdp_client.cpp32 …::SdpCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, void *context) in SdpCallback() argument
43 sdpClient->SdpCallback_(addr, serviceAry, serviceNum); in SdpCallback()
46 …dHostSdpClient::SdpCallback_(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum) in SdpCallback_() argument
51 if (serviceNum > 0) { in SdpCallback_()
176 uint16_t serviceNum, void *context) in SdpPnpCallback() argument
187 sdpClient->SdpPnpCallback_(addr, serviceAry, serviceNum); in SdpPnpCallback()
190 …stSdpClient::SdpPnpCallback_(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum) in SdpPnpCallback_() argument
196 if (serviceNum > 0) { in SdpPnpCallback_()
/ohos5.0/drivers/hdf_core/adapter/uhdf2/hdi/src/
H A Dservmgr_client.c44 static struct HdiServiceSet *HdiServiceSetGetInstance(const uint32_t serviceNum) in HdiServiceSetGetInstance() argument
51 serviceSet->serviceNames = OsalMemCalloc(sizeof(char *) * serviceNum); in HdiServiceSetGetInstance()
57 serviceSet->count = serviceNum; in HdiServiceSetGetInstance()
84 uint32_t serviceNum = 0; in HDIServMgrListServiceByInterfaceDesc() local
103 if (!HdfSbufReadUint32(reply, &serviceNum)) { in HDIServMgrListServiceByInterfaceDesc()
106 if (serviceNum == 0 || serviceNum > SERVICE_LIST_MAX) { in HDIServMgrListServiceByInterfaceDesc()
109 serviceSet = HdiServiceSetGetInstance(serviceNum); in HDIServMgrListServiceByInterfaceDesc()
H A Diservmgr_client.cpp220 uint32_t serviceNum = 0; in ListServiceByInterfaceDesc() local
221 if (!reply.ReadUint32(serviceNum)) { in ListServiceByInterfaceDesc()
226 if (serviceNum > serviceNames.max_size()) { in ListServiceByInterfaceDesc()
231 for (uint32_t i = 0; i < serviceNum; i++) { in ListServiceByInterfaceDesc()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/
H A Dsocket_sdp_client.cpp56 …tSdpClient::SearchAttributes(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum) in SearchAttributes() argument
62 while (num < serviceNum) { in SearchAttributes()
65 if (num == serviceNum) { in SearchAttributes()
92 const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, void *context) in SdpSearchCallback() argument
96 uint8_t scn = SearchAttributes(addr, serviceAry, serviceNum); in SdpSearchCallback()
H A Dsocket_sdp_client.h62 uint16_t serviceNum, void *context);
75 …ic uint8_t SearchAttributes(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum);
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
H A Dhfp_hf_sdp_client.cpp39 …::SdpCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, void *context) in SdpCallback() argument
43 if (serviceNum > 0) { in SdpCallback()
44 CopySdpServiceArray(address, serviceAry, serviceNum); in SdpCallback()
113 uint16_t serviceNum, void *context) in SdpHspCallback() argument
117 if (serviceNum > 0) { in SdpHspCallback()
118 CopySdpServiceArray(address, serviceAry, serviceNum); in SdpHspCallback()
214 const std::string &remoteAddr, const SdpService *serviceAry, uint16_t serviceNum) in CopySdpServiceArray() argument
218 for (uint16_t n = 0; n < serviceNum; n++) { in CopySdpServiceArray()
272 uint16_t serviceNum = array.services.size(); in LoopAllProtocolRfcomm() local
273 for (uint16_t num = 0; num < serviceNum; num++) { in LoopAllProtocolRfcomm()
[all …]
H A Dhfp_hf_sdp_client.h72 …static void SdpCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, voi…
91 …pHspCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, void *context);
126 …ySdpServiceArray(const std::string &remoteAddr, const SdpService *serviceAry, uint16_t serviceNum);
/ohos5.0/drivers/hdf_core/framework/core/manager/src/
H A Ddevsvc_manager.c293 uint32_t serviceNum = 0; in DevSvcManagerListServiceByInterfaceDesc() local
301 if (serviceNum >= SERVICE_LIST_MAX) { in DevSvcManagerListServiceByInterfaceDesc()
309 serviceNames[serviceNum] = record->servName; in DevSvcManagerListServiceByInterfaceDesc()
310 serviceNum = serviceNum + 1; in DevSvcManagerListServiceByInterfaceDesc()
314 HDF_LOGD("find %{public}u services interfacedesc is %{public}s", serviceNum, interfaceDesc); in DevSvcManagerListServiceByInterfaceDesc()
315 if (!HdfSbufWriteUint32(reply, serviceNum)) { in DevSvcManagerListServiceByInterfaceDesc()
317 interfaceDesc, serviceNum); in DevSvcManagerListServiceByInterfaceDesc()
320 for (i = 0; i < serviceNum; i++) { in DevSvcManagerListServiceByInterfaceDesc()
/ohos5.0/foundation/multimedia/image_framework/plugins/manager/src/framework/
H A Dimpl_class.cpp246 size_t serviceNum; in AnalysisServices() local
247 if (JsonHelper::GetArraySize(classInfo, "services", serviceNum) != SUCCESS) { in AnalysisServices()
251 IMAGE_LOGD("class service num: %{public}zu.", serviceNum); in AnalysisServices()
260 for (size_t i = 0; i < serviceNum; i++) { in AnalysisServices()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/
H A Dsdp_client_parse.c49 static void SdpFreeServiceArray(SdpService *serviceArray, uint16_t serviceNum);
553 uint16_t serviceNum = 0; in SdpParseAttributeListArray() local
599 if (serviceNum >= SDP_SERVICE_ARRAY_NUMBER) { in SdpParseAttributeListArray()
607 SdpFreeServiceArray(serviceArray, serviceNum + 1); in SdpParseAttributeListArray()
612 serviceNum++; in SdpParseAttributeListArray()
616 return serviceNum; in SdpParseAttributeListArray()
786 uint16_t serviceNum; in SdpParseSearchAttributeResponse() local
813 if (serviceNum == 0) { in SdpParseSearchAttributeResponse()
825 SdpFreeServiceArray(serviceArray, serviceNum); in SdpParseSearchAttributeResponse()
1919 static void SdpFreeServiceArray(SdpService *serviceArray, uint16_t serviceNum) in SdpFreeServiceArray() argument
[all …]
H A Dsdp_client.h38 …ributeCb)(const BtAddr *addr, const SdpService *serviceArray, uint16_t serviceNum, void *context));
H A Dsdp_util.h166 const BtAddr *addr, const SdpService *serviceArray, uint16_t serviceNum, void *context);
H A Dsdp_client.c267 …tributeCb)(const BtAddr *addr, const SdpService *serviceArray, uint16_t serviceNum, void *context)) in SdpServiceSearchAttribute() argument
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_profile_peer.h301 … const BtAddr *addr, const SdpService *serviceArray, const uint16_t serviceNum, void *context);
669 const BtAddr &addr, const SdpService *serviceArray, uint16_t serviceNum, uint8_t role);
H A Da2dp_sdp.h72 … (const BtAddr *addr, const SdpService *serviceArray, uint16_t serviceNum, void *context)) const;
H A Da2dp_profile_peer.cpp548 const BtAddr *addr, const SdpService *serviceArray, const uint16_t serviceNum, void *context) in SDPServiceCallback() argument
555 LOG_INFO("[A2dpProfilePeer] %{public}s role(%u) serviceNum(%u)\n", __func__, role, serviceNum); in SDPServiceCallback()
561 if (serviceNum == 0) { in SDPServiceCallback()
565 ParseSDPInformation(address, serviceArray, serviceNum, role); in SDPServiceCallback()
574 const BtAddr &addr, const SdpService *serviceArray, uint16_t serviceNum, uint8_t role) in ParseSDPInformation() argument
576 LOG_INFO("[A2dpProfilePeer]%{public}s serviceNum(%u)\n", __func__, serviceNum); in ParseSDPInformation()
585 for (int i = 0; i < serviceNum; i++) { in ParseSDPInformation()
H A Da2dp_sdp.cpp109 …void (*callback)(const BtAddr *addr, const SdpService *serviceArray, uint16_t serviceNum, void *co… in FindSnkService() argument
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/att/
H A Datt_send_response.c1137 …_t connectHandle, uint8_t length, const AttReadGoupAttributeData *serviceList, uint16_t serviceNum) in ATT_ReadByGroupTypeResponse() argument
1140 __FUNCTION__, connectHandle, length, serviceNum); in ATT_ReadByGroupTypeResponse()
1146 attReadGroupAttrDataPtr = MEM_MALLOC.alloc(sizeof(AttReadGoupAttributeData) * serviceNum); in ATT_ReadByGroupTypeResponse()
1151 for (; index < serviceNum; ++index) { in ATT_ReadByGroupTypeResponse()
1164 attReadByGroupResAsyncPtr->attReadGroupResContext.num = serviceNum; in ATT_ReadByGroupTypeResponse()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
H A Dsdp.h526 …ributeCb)(const BtAddr *addr, const SdpService *serviceArray, uint16_t serviceNum, void *context));
/ohos5.0/foundation/systemabilitymgr/samgr_lite/samgr/source/
H A Dsamgr_lite.c546 int16 serviceNum = VECTOR_Size(services); in GetSpecifiedTaskPool() local
548 for (i = 0; i < serviceNum; ++i) { in GetSpecifiedTaskPool()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_server_profile.cpp391 uint16_t serviceNum = 0; in DiscoverAllPrimaryServiceResponse() local
412 AssembleAttReadByGroupTypeRspPackage(serviceList, service->second, serviceNum); in DiscoverAllPrimaryServiceResponse()
413 serviceNum++; in DiscoverAllPrimaryServiceResponse()
419 if (serviceNum) { in DiscoverAllPrimaryServiceResponse()
420 ATT_ReadByGroupTypeResponse(connectHandle, dataLen, serviceList, serviceNum); in DiscoverAllPrimaryServiceResponse()
421 for (int i = 0; i < serviceNum; i++) { in DiscoverAllPrimaryServiceResponse()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/
H A Dclassic_adapter.h602 const BtAddr *addr, const SdpService *serviceArray, uint16_t serviceNum, void *context);

12