/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/ |
H A D | hid_host_sdp_client.cpp | 34 void HidHostSdpClient::SdpCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, void *context) in SdpCallback() argument 45 sdpClient->SdpCallback_(addr, serviceAry, serviceNum); in SdpCallback() 48 void HidHostSdpClient::SdpCallback_(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum) in SdpCallback_() argument 54 if (serviceAry[0].serviceName != nullptr) { in SdpCallback_() 55 hidInf_.serviceName = serviceAry[0].serviceName; in SdpCallback_() 59 if (serviceAry[0].serviceDescription != nullptr) { in SdpCallback_() 60 hidInf_.serviceDescription = serviceAry[0].serviceDescription; in SdpCallback_() 64 if (serviceAry[0].providerName != nullptr) { in SdpCallback_() 65 hidInf_.providerName = serviceAry[0].providerName; in SdpCallback_() 69 if (!ParseHidDescInfo(serviceAry)) { in SdpCallback_() 89 ParseHidDescInfo(const SdpService *serviceAry) ParseHidDescInfo() argument 229 SdpPnpCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, void *context) SdpPnpCallback() argument 244 SdpPnpCallback_(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum) SdpPnpCallback_() argument [all...] |
H A D | hid_host_sdp_client.h | 53 * @param serviceAry Array of services discovered. 57 static void SdpCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, void *context); 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);
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/ |
H A D | hfp_ag_sdp_client.cpp | 42 void HfpAgSdpClient::SdpCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, void *context) in SdpCallback() argument 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() 211 const std::string &remoteAddr, const SdpService *serviceAry, uint16_t serviceNum) in CopySdpServiceArray() 217 for (uint16_t i = 0; i < serviceAry[n].classIdNumber; i++) { in CopySdpServiceArray() 218 BtUuid classId = serviceAry[n].classId[i]; in CopySdpServiceArray() 221 for (uint16_t i = 0; i < serviceAry[n].descriptorNumber; i++) { in CopySdpServiceArray() 222 SdpProtocolDescriptor descriptor = serviceAry[n].descriptor[i]; in CopySdpServiceArray() 225 for (uint16_t j = 0; j < serviceAry[ in CopySdpServiceArray() 210 CopySdpServiceArray( const std::string &remoteAddr, const SdpService *serviceAry, uint16_t serviceNum) CopySdpServiceArray() argument [all...] |
H A D | hfp_ag_sdp_client.h | 68 * @param serviceAry Array of services discovered. 72 static void SdpCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, void *context); 87 * @param serviceAry Array of services discovered. 91 static void SdpHspHsCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, void *context); 122 * @param serviceAry Array of services discovered. 125 static void CopySdpServiceArray(const std::string &remoteAddr, const SdpService *serviceAry, uint16_t serviceNum);
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/ |
H A D | hfp_hf_sdp_client.cpp | 39 void HfpHfSdpClient::SdpCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, void *context) in SdpCallback() argument 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() 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() 225 SdpProfileDescriptor profileDescriptor = serviceAry[n].profileDescriptor[j]; in CopySdpServiceArray() 228 for (uint16_t k = 0; k < serviceAry[ in CopySdpServiceArray() 213 CopySdpServiceArray( const std::string &remoteAddr, const SdpService *serviceAry, uint16_t serviceNum) CopySdpServiceArray() argument [all...] |
H A D | hfp_hf_sdp_client.h | 68 * @param serviceAry Array of services discovered. 72 static void SdpCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, void *context); 87 * @param serviceAry Array of services discovered. 91 static void SdpHspCallback(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, void *context); 123 * @param serviceAry Array of services discovered. 126 static void CopySdpServiceArray(const std::string &remoteAddr, const SdpService *serviceAry, uint16_t serviceNum);
|
/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_t serviceNum) 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() 96 uint8_t scn = SearchAttributes(addr, serviceAry, serviceNum); in SdpSearchCallback() 91 SdpSearchCallback( const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum, void *context) SdpSearchCallback() argument
|
H A D | socket_sdp_client.h | 57 * @param serviceAry The serviceAry is Array of services discovered. 61 static void SdpSearchCallback(const BtAddr *addr, const SdpService *serviceAry, 68 * @brief Search the attributes of serviceAry. 71 * @param serviceAry The serviceAry is Array of services discovered. 75 static uint8_t SearchAttributes(const BtAddr *addr, const SdpService *serviceAry, uint16_t serviceNum);
|