/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/ |
H A D | hfp_ag_sdp_client.cpp | 42 …::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 D | hfp_ag_sdp_client.h | 71 …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 D | hid_host_sdp_client.h | 57 …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 D | hid_host_sdp_client.cpp | 32 …::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 D | servmgr_client.c | 44 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 D | iservmgr_client.cpp | 220 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 D | socket_sdp_client.cpp | 56 …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 D | socket_sdp_client.h | 62 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 D | hfp_hf_sdp_client.cpp | 39 …::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 D | hfp_hf_sdp_client.h | 72 …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 D | devsvc_manager.c | 293 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 D | impl_class.cpp | 246 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 D | sdp_client_parse.c | 49 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 D | sdp_client.h | 38 …ributeCb)(const BtAddr *addr, const SdpService *serviceArray, uint16_t serviceNum, void *context));
|
H A D | sdp_util.h | 166 const BtAddr *addr, const SdpService *serviceArray, uint16_t serviceNum, void *context);
|
H A D | sdp_client.c | 267 …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 D | a2dp_profile_peer.h | 301 … 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 D | a2dp_sdp.h | 72 … (const BtAddr *addr, const SdpService *serviceArray, uint16_t serviceNum, void *context)) const;
|
H A D | a2dp_profile_peer.cpp | 548 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 D | a2dp_sdp.cpp | 109 …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 D | att_send_response.c | 1137 …_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 D | sdp.h | 526 …ributeCb)(const BtAddr *addr, const SdpService *serviceArray, uint16_t serviceNum, void *context));
|
/ohos5.0/foundation/systemabilitymgr/samgr_lite/samgr/source/ |
H A D | samgr_lite.c | 546 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 D | gatt_server_profile.cpp | 391 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 D | classic_adapter.h | 602 const BtAddr *addr, const SdpService *serviceArray, uint16_t serviceNum, void *context);
|