/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/ |
H A D | hid_host_sdp_client.cpp | 43 sdpClient->SdpCallback_(addr, serviceAry, serviceNum); in SdpCallback() 52 if (serviceAry[0].serviceName != nullptr) { in SdpCallback_() 53 hidInf_.serviceName = serviceAry[0].serviceName; in SdpCallback_() 57 if (serviceAry[0].serviceDescription != nullptr) { in SdpCallback_() 62 if (serviceAry[0].providerName != nullptr) { in SdpCallback_() 63 hidInf_.providerName = serviceAry[0].providerName; in SdpCallback_() 67 if (!ParseHidDescInfo(serviceAry)) { in SdpCallback_() 71 SdpAttribute attribute = serviceAry[0].attribute[i]; in SdpCallback_() 86 bool HidHostSdpClient::ParseHidDescInfo(const SdpService *serviceAry) in ParseHidDescInfo() argument 187 sdpClient->SdpPnpCallback_(addr, serviceAry, serviceNum); in SdpPnpCallback() [all …]
|
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); 91 bool ParseHidDescInfo(const SdpService *serviceAry);
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/ |
H A D | hfp_ag_sdp_client.cpp | 47 CopySdpServiceArray(address, serviceAry, serviceNum); in SdpCallback() 110 void HfpAgSdpClient::SdpHspHsCallback(const BtAddr *addr, const SdpService *serviceAry, in SdpHspHsCallback() argument 116 CopySdpServiceArray(address, serviceAry, serviceNum); in SdpHspHsCallback() 206 const std::string &remoteAddr, const SdpService *serviceAry, uint16_t serviceNum) in CopySdpServiceArray() argument 212 for (uint16_t i = 0; i < serviceAry[n].descriptorNumber; i++) { in CopySdpServiceArray() 213 SdpProtocolDescriptor descriptor = serviceAry[n].descriptor[i]; in CopySdpServiceArray() 216 for (uint16_t j = 0; j < serviceAry[n].profileDescriptorNumber; j++) { in CopySdpServiceArray() 220 for (uint16_t k = 0; k < serviceAry[n].attributeNumber; k++) { in CopySdpServiceArray() 222 attribute.attributeId = serviceAry[n].attribute[k].attributeId; in CopySdpServiceArray() 223 attribute.type = serviceAry[n].attribute[k].type; in CopySdpServiceArray() [all …]
|
H A D | hfp_ag_sdp_client.h | 71 …static void SdpCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, voi… 90 …static void SdpHspHsCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum… 124 …static void CopySdpServiceArray(const std::string &remoteAddr, const SdpService *serviceAry, uint1…
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/ |
H A D | hfp_hf_sdp_client.cpp | 44 CopySdpServiceArray(address, serviceAry, serviceNum); in SdpCallback() 112 void HfpHfSdpClient::SdpHspCallback(const BtAddr *addr, const SdpService *serviceAry, in SdpHspCallback() argument 118 CopySdpServiceArray(address, serviceAry, serviceNum); in SdpHspCallback() 214 const std::string &remoteAddr, const SdpService *serviceAry, uint16_t serviceNum) in CopySdpServiceArray() argument 220 for (uint16_t i = 0; i < serviceAry[n].descriptorNumber; i++) { in CopySdpServiceArray() 221 SdpProtocolDescriptor descriptor = serviceAry[n].descriptor[i]; in CopySdpServiceArray() 224 for (uint16_t j = 0; j < serviceAry[n].profileDescriptorNumber; j++) { in CopySdpServiceArray() 228 for (uint16_t k = 0; k < serviceAry[n].attributeNumber; k++) { in CopySdpServiceArray() 230 attribute.attributeId = serviceAry[n].attribute[k].attributeId; in CopySdpServiceArray() 231 attribute.type = serviceAry[n].attribute[k].type; in CopySdpServiceArray() [all …]
|
H A D | hfp_hf_sdp_client.h | 72 …static void SdpCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, voi… 91 …static void SdpHspCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, … 126 …static void CopySdpServiceArray(const std::string &remoteAddr, const SdpService *serviceAry, uint1…
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/ |
H A D | socket_sdp_client.cpp | 56 uint8_t SocketSdpClient::SearchAttributes(const BtAddr *addr, const SdpService *serviceAry, uint16_… in SearchAttributes() argument 63 if (!(SearchScn(serviceAry->descriptorNumber, serviceAry->descriptor, scn))) { 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 | 61 static void SdpSearchCallback(const BtAddr *addr, const SdpService *serviceAry, 75 …static uint8_t SearchAttributes(const BtAddr *addr, const SdpService *serviceAry, uint16_t service…
|