Home
last modified time | relevance | path

Searched refs:sdpHandle_ (Results 1 - 18 of 18) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/src/pan/
H A Dpan_sdp.cpp29 sdpHandle_ = SDP_CreateServiceRecord(); in Register()
77 result = SDP_DeregisterServiceRecord(sdpHandle_); in Deregister()
82 result = SDP_DestroyServiceRecord(sdpHandle_); in Deregister()
86 sdpHandle_ = 0; in Deregister()
96 int result = SDP_AddServiceClassIdList(sdpHandle_, classId, 1); in AddServiceClassIdList()
105 int result = SDP_AddAttribute(sdpHandle_, PAN_SECURITY_DESCRIPTION_ID, in AddPanSecurityDescriptionId()
114 int result = SDP_AddAttribute(sdpHandle_, PAN_NET_ACCESS_TYPE_ID, SDP_TYPE_UINT_16, in AddPanNetAccessRate()
123 int result = SDP_AddAttribute(sdpHandle_, PAN_MAX_NET_ACCESS_RATE_ID, SDP_TYPE_UINT_32, in AddPanNetAccessType()
142 int result = SDP_AddSequenceAttribute(sdpHandle_, SDP_ATTRIBUTE_PROTOCOL_DESCRIPTOR_LIST, in AddPanDescriptionList()
155 int result = SDP_AddBluetoothProfileDescriptorList(sdpHandle_, in AddBluetoothProfileDescriptorList()
[all...]
H A Dpan_sdp.h78 uint32_t sdpHandle_ = 0; // sdp handler member in OHOS::bluetooth::PanSdp
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
H A Dhfp_hf_sdp_server.cpp41 sdpHandle_ = SDP_CreateServiceRecord(); in RegisterSdpService()
61 ret = SDP_RegisterServiceRecord(sdpHandle_); in RegisterSdpService()
68 int ret = SDP_DeregisterServiceRecord(sdpHandle_); in DeregisterSdpService()
71 ret = SDP_DestroyServiceRecord(sdpHandle_); in DeregisterSdpService()
74 sdpHandle_ = 0; in DeregisterSdpService()
89 return SDP_AddServiceClassIdList(sdpHandle_, classIdBoth, HFP_HF_HSP_SERVER_CLASSID_NUM); in AddServiceClassId()
96 return SDP_AddServiceClassIdList(sdpHandle_, classIdHsp, HFP_HF_SERVER_CLASSID_NUM); in AddServiceClassId()
103 return SDP_AddServiceClassIdList(sdpHandle_, classIdHfp, HFP_HF_SERVER_CLASSID_NUM); in AddServiceClassId()
121 return SDP_AddProtocolDescriptorList(sdpHandle_, protocol, HFP_HF_SERVER_PROTOCOL_NUM); in AddProtocol()
135 return SDP_AddBluetoothProfileDescriptorList(sdpHandle_, profileBot in AddProfile()
[all...]
H A Dhfp_hf_sdp_server.h125 uint32_t sdpHandle_ {0};
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/dis/
H A Ddi_service_over_bredr.cpp29 sdpHandle_ = SDP_CreateServiceRecord(); in RegisterSDP()
30 if (sdpHandle_ == 0) { in RegisterSDP()
50 ret = SDP_RegisterServiceRecord(sdpHandle_); in RegisterSDP()
62 int ret = SDP_DeregisterServiceRecord(sdpHandle_); in DeregisterSDP()
67 ret = SDP_DestroyServiceRecord(sdpHandle_); in DeregisterSDP()
78 return SDP_AddServiceClassIdList(sdpHandle_, &classid, 1); in SdpAddServiceClassIdList()
100 return SDP_AddProtocolDescriptorList(sdpHandle_, protocol, disProtocolNum); in SdpAddProtocol()
108 return SDP_AddBrowseGroupList(sdpHandle_, browseGroupList, 1); in SdpAddBrowseGroupList()
H A Ddi_service_over_bredr.h42 uint32_t sdpHandle_ = 0; member in OHOS::bluetooth::DiServiceOverBredr
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/gatts/
H A Dgatt_service_over_bredr.cpp29 sdpHandle_ = SDP_CreateServiceRecord(); in RegisterSDP()
30 if (sdpHandle_ == 0) { in RegisterSDP()
50 ret = SDP_RegisterServiceRecord(sdpHandle_); in RegisterSDP()
62 int ret = SDP_DeregisterServiceRecord(sdpHandle_); in DeregisterSDP()
67 ret = SDP_DestroyServiceRecord(sdpHandle_); in DeregisterSDP()
78 return SDP_AddServiceClassIdList(sdpHandle_, &classid, 1); in SdpAddServiceClassIdList()
100 return SDP_AddProtocolDescriptorList(sdpHandle_, protocol, gattsProtocolNum); in SdpAddProtocol()
108 return SDP_AddBrowseGroupList(sdpHandle_, browseGroupList, 1); in SdpAddBrowseGroupList()
H A Dgatt_service_over_bredr.h42 uint32_t sdpHandle_ = 0; member in OHOS::bluetooth::GattServiceOverBredr
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/
H A Davrcp_ct_sdp.cpp36 AvrcCtSdpManager::AvrcCtSdpManager(uint32_t features) : sdpHandle_(0xFFFFFFFF), features_(features) in AvrcCtSdpManager()
51 sdpHandle_ = SDP_CreateServiceRecord(); in RegisterService()
59 result |= SDP_AddServiceClassIdList(sdpHandle_, classIdList, AVRC_SERVICE_CLASS_ID_LIST_NUMBER); in RegisterService()
70 SDP_AddBluetoothProfileDescriptorList(sdpHandle_, &profileDsc, AVRC_BLUETOOTH_PROFILE_DESCRIPTOR_LIST_NUMBER); in RegisterService()
75 result |= SDP_AddAttribute(sdpHandle_, in RegisterService()
86 sdpHandle_, SDP_ATTRIBUTE_PRIMARY_LANGUAGE_BASE, serviceName.c_str(), AVRC_SERVICE_NAME_LENGTH); in RegisterService()
92 result |= SDP_AddBrowseGroupList(sdpHandle_, browseGroupList, AVRC_ATTRIBUTE_ID_BROWSE_GROUP_LIST_NUMBER); in RegisterService()
95 result |= SDP_RegisterServiceRecord(sdpHandle_); in RegisterService()
108 result |= SDP_DeregisterServiceRecord(sdpHandle_); in UnregisterService()
109 result |= SDP_DestroyServiceRecord(sdpHandle_); in UnregisterService()
[all...]
H A Davrcp_ct_sdp.h77 uint32_t sdpHandle_; // The handle got from the SDP. member in OHOS::bluetooth::AvrcCtSdpManager
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/
H A Davrcp_tg_sdp.cpp36 AvrcTgSdpManager::AvrcTgSdpManager(uint32_t features) : sdpHandle_(0xFFFFFFFF), features_(features) in AvrcTgSdpManager()
51 sdpHandle_ = SDP_CreateServiceRecord(); in RegisterService()
57 result |= SDP_AddServiceClassIdList(sdpHandle_, classIdList, AVRC_SERVICE_CLASS_ID_LIST_NUMBER); in RegisterService()
68 SDP_AddBluetoothProfileDescriptorList(sdpHandle_, &profileDsc, AVRC_BLUETOOTH_PROFILE_DESCRIPTOR_LIST_NUMBER); in RegisterService()
73 result |= SDP_AddAttribute(sdpHandle_, in RegisterService()
84 sdpHandle_, SDP_ATTRIBUTE_PRIMARY_LANGUAGE_BASE, serviceName.c_str(), AVRC_SERVICE_NAME_LENGTH); in RegisterService()
90 result |= SDP_AddBrowseGroupList(sdpHandle_, browseGroupList, AVRC_ATTRIBUTE_ID_BROWSE_GROUP_LIST_NUMBER); in RegisterService()
93 result |= SDP_RegisterServiceRecord(sdpHandle_); in RegisterService()
106 result |= SDP_DeregisterServiceRecord(sdpHandle_); in UnregisterService()
107 result |= SDP_DestroyServiceRecord(sdpHandle_); in UnregisterService()
[all...]
H A Davrcp_tg_sdp.h77 uint32_t sdpHandle_; // The handle got from the SDP. member in OHOS::bluetooth::AvrcTgSdpManager
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_sdp_server.cpp43 sdpHandle_ = SDP_CreateServiceRecord(); in RegisterSdpService()
66 ret = SDP_RegisterServiceRecord(sdpHandle_); in RegisterSdpService()
73 int ret = SDP_DeregisterServiceRecord(sdpHandle_); in DeregisterSdpService()
76 ret = SDP_DestroyServiceRecord(sdpHandle_); in DeregisterSdpService()
79 sdpHandle_ = 0; in DeregisterSdpService()
94 return SDP_AddServiceClassIdList(sdpHandle_, classIdBoth, HFP_AG_HSP_SERVER_CLASSID_NUM); in AddServiceClassId()
101 return SDP_AddServiceClassIdList(sdpHandle_, classIdHsp, HFP_AG_SERVER_CLASSID_NUM); in AddServiceClassId()
108 return SDP_AddServiceClassIdList(sdpHandle_, classIdHfp, HFP_AG_SERVER_CLASSID_NUM); in AddServiceClassId()
126 return SDP_AddProtocolDescriptorList(sdpHandle_, protocol, HFP_AG_SERVER_PROTOCOL_NUM); in AddProtocol()
140 return SDP_AddBluetoothProfileDescriptorList(sdpHandle_, profileBot in AddProfile()
[all...]
H A Dhfp_ag_sdp_server.h132 uint32_t sdpHandle_ {0};
/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/
H A Dsocket_sdp_server.cpp26 sdpHandle_ = SDP_CreateServiceRecord(); in RegisterSdpService()
59 ret = SDP_RegisterServiceRecord(sdpHandle_); in RegisterSdpService()
72 int ret = SDP_DeregisterServiceRecord(sdpHandle_); in UnregisterSdpService()
78 ret = SDP_DestroyServiceRecord(sdpHandle_); in UnregisterSdpService()
93 return SDP_AddServiceClassIdList(sdpHandle_, classid, SPP_CLASSID_NUM); in AddServiceClassId()
108 return SDP_AddProtocolDescriptorList(sdpHandle_, protocol, SPP_PRRTOCOL_NUM); in AddProtocol()
118 return SDP_AddBluetoothProfileDescriptorList(sdpHandle_, profile, SPP_PROFILE_NUM); in AddProfile()
123 return SDP_AddServiceName(sdpHandle_, SDP_ATTRIBUTE_PRIMARY_LANGUAGE_BASE, name.c_str(), name.length()); in AddServiceName()
132 return SDP_AddBrowseGroupList(sdpHandle_, browseGroupList, SPP_BROWSE_LIST_NUM); in AddBrowseGroupList()
H A Dsocket_sdp_server.h100 uint32_t sdpHandle_ {0};
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_sdp.cpp33 sdpHandle_ = SDP_CreateServiceRecord(); in RegisterService()
43 rtnSts = SDP_AddServiceClassIdList(sdpHandle_, classIdList, A2DP_SERVICE_CLASS_ID_LIST_NUMBER); in RegisterService()
61 rtnSts = SDP_AddProtocolDescriptorList(sdpHandle_, dscList, A2DP_PROTOCOL_DESCRIPTOR_LIST_NUMBER); in RegisterService()
73 SDP_AddBluetoothProfileDescriptorList(sdpHandle_, &profileDsc, A2DP_BLUETOOTH_PROFILE_DESCRIPTOR_LIST_NUMBER); in RegisterService()
81 rtnSts = SDP_RegisterServiceRecord(sdpHandle_); in RegisterService()
93 rtnSts = SDP_DestroyServiceRecord(sdpHandle_); in UnregisterService()
99 rtnSts = SDP_DeregisterServiceRecord(sdpHandle_); in UnregisterService()
H A Da2dp_sdp.h76 uint32_t sdpHandle_ = 0; // A handle to the SDP service record got from the SDP protocol. member in OHOS::bluetooth::A2dpSdpManager

Completed in 5 milliseconds