/system/bt/btif/src/ |
btif_sdp_server.cc | 62 int sdp_handle; member in struct:__anon113416 225 handle = sdp_slots[id].sdp_handle; 226 sdp_slots[id].sdp_handle = 0; 268 sdp_slots[id].sdp_handle = handle; 377 uint32_t sdp_handle = 0; local 389 sdp_handle = SDP_CreateRecord(); 390 if (sdp_handle == 0) { 392 return sdp_handle; 396 status &= SDP_AddServiceClassIdList(sdp_handle, 1, &service); 407 status &= SDP_AddProtocolList(sdp_handle, 3, protoList) 465 uint32_t sdp_handle = 0; local 542 uint32_t sdp_handle = 0; local 627 uint32_t sdp_handle = 0; local 718 uint32_t sdp_handle = 0; local [all...] |
btif_sock_sdp.cc | 91 // |sdp_handle|, and marks it as browseable. This is a shortcut for defining a 97 static bool create_base_record(const uint32_t sdp_handle, const char* name, 123 if (!SDP_AddProtocolList(sdp_handle, num_proto_elements, proto_list)) 129 if (!SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, 135 if (!SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &list)) 141 sdp_handle, channel, name, with_obex);
|
btif_sock_rfc.cc | 93 int sdp_handle; member in struct:__anon113419 122 rfc_slots[i].sdp_handle = 0; 398 slot->sdp_handle = 400 return (slot->sdp_handle > 0); 427 if (slot->sdp_handle > 0) { 428 del_rfc_sdp_rec(slot->sdp_handle); 429 slot->sdp_handle = 0;
|
/system/bt/stack/avrc/ |
avrc_sdp.cc | 172 * sdp_handle: SDP handle returned by SDP_CreateRecord(). 188 uint32_t sdp_handle, bool browse_supported, 211 result &= SDP_AddServiceClassIdList(sdp_handle, count, class_list); 225 result &= SDP_AddProtocolList(sdp_handle, AVRC_NUM_PROTO_ELEMS, 242 sdp_handle, 1, (tSDP_PROTO_LIST_ELEM*)&avrc_add_proto_desc_list); 246 sdp_handle, UUID_SERVCLASS_AV_REMOTE_CONTROL, profile_version); 251 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, 257 sdp_handle, ATTR_ID_PROVIDER_NAME, TEXT_STR_DESC_TYPE, 264 sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, 270 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1 [all...] |
/system/bt/stack/pan/ |
pan_utils.cc | 66 uint32_t sdp_handle; local 72 sdp_handle = SDP_CreateRecord(); 74 if (sdp_handle == 0) { 80 SDP_AddServiceClassIdList(sdp_handle, 1, &uuid); 83 SDP_AddAttribute(sdp_handle, ATTR_ID_PROTOCOL_DESC_LIST, 88 SDP_AddLanguageBaseAttrIDList(sdp_handle, LANG_ID_CODE_ENGLISH, 92 SDP_AddProfileDescriptorList(sdp_handle, uuid, PAN_PROFILE_VERSION); 95 SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, 99 SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_DESCRIPTION, TEXT_STR_DESC_TYPE, 106 SDP_AddAttribute(sdp_handle, ATTR_ID_SECURITY_DESCRIPTION, UINT_DESC_TYPE, 2 [all...] |
/system/bt/bta/hf_client/ |
bta_hf_client_sdp.cc | 88 uint32_t sdp_handle) { 109 result &= SDP_AddProtocolList(sdp_handle, BTA_HF_CLIENT_NUM_PROTO_ELEMS, 115 result &= SDP_AddServiceClassIdList(sdp_handle, BTA_HF_CLIENT_NUM_SVC_ELEMS, 122 result &= SDP_AddProfileDescriptorList(sdp_handle, profile_uuid, version); 127 sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, 149 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, 153 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, 172 if (client_cb_arr->sdp_handle == 0) { 173 client_cb_arr->sdp_handle = SDP_CreateRecord(); 177 client_cb_arr->sdp_handle); [all...] |
bta_hf_client_int.h | 188 uint32_t sdp_handle; member in struct:__anon112935 235 uint32_t sdp_handle);
|
/system/bt/bta/hl/ |
bta_hl_sdp.cc | 198 result &= SDP_AddServiceClassIdList(p_cb->sdp_handle, num_services, 209 result &= SDP_AddProtocolList(p_cb->sdp_handle, BTA_HL_NUM_PROTO_ELEMS, 213 SDP_AddProfileDescriptorList(p_cb->sdp_handle, profile_uuid, version); 224 SDP_AddAdditionProtoLists(p_cb->sdp_handle, BTA_HL_NUM_ADD_PROTO_LISTS, 231 p_cb->sdp_handle, (uint16_t)ATTR_ID_SERVICE_NAME, 240 p_cb->sdp_handle, (uint16_t)ATTR_ID_SERVICE_DESCRIPTION, 250 SDP_AddAttribute(p_cb->sdp_handle, (uint16_t)ATTR_ID_PROVIDER_NAME, 292 result &= bta_hl_add_sup_feature_list(p_cb->sdp_handle, 297 result &= SDP_AddAttribute(p_cb->sdp_handle, ATTR_ID_HDP_DATA_EXCH_SPEC, 304 SDP_AddAttribute(p_cb->sdp_handle, ATTR_ID_HDP_MCAP_SUP_PROC [all...] |
bta_hl_int.h | 485 uint32_t sdp_handle; /* SDP record handle */ member in struct:__anon112983 [all...] |
bta_hl_utils.cc | [all...] |
/system/bt/bta/ag/ |
bta_ag_sdp.cc | 123 tBTA_AG_FEAT features, uint32_t sdp_handle) { 146 SDP_AddProtocolList(sdp_handle, BTA_AG_NUM_PROTO_ELEMS, proto_elem_list); 151 result &= SDP_AddServiceClassIdList(sdp_handle, BTA_AG_NUM_SVC_ELEMS, 162 result &= SDP_AddProfileDescriptorList(sdp_handle, profile_uuid, version); 167 sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, 174 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_DATA_STORES_OR_NETWORK, 185 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, 190 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, 215 if (bta_ag_cb.profile[i].sdp_handle == 0) { 216 bta_ag_cb.profile[i].sdp_handle = SDP_CreateRecord() [all...] |
bta_ag_int.h | 214 uint32_t sdp_handle; member in struct:__anon112769 340 uint32_t sdp_handle);
|
/system/bt/stack/a2dp/ |
a2dp_api.cc | 159 * sdp_handle: SDP handle returned by SDP_CreateRecord(). 171 uint32_t sdp_handle) { 180 if ((sdp_handle == 0) || (service_uuid != UUID_SERVCLASS_AUDIO_SOURCE && 185 result &= SDP_AddServiceClassIdList(sdp_handle, 1, &service_uuid); 198 result &= SDP_AddProtocolList(sdp_handle, A2DP_NUM_PROTO_ELEMS, proto_list); 202 sdp_handle, UUID_SERVCLASS_ADV_AUDIO_DISTRIBUTION, A2DP_VERSION); 208 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, 215 sdp_handle, ATTR_ID_PROVIDER_NAME, TEXT_STR_DESC_TYPE, 222 sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, 228 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1 [all...] |
/system/bt/stack/include/ |
a2dp_api.h | 110 * sdp_handle: SDP handle returned by SDP_CreateRecord(). 122 uint32_t sdp_handle);
|
avrc_api.h | 219 * sdp_handle: SDP handle returned by SDP_CreateRecord(). 232 uint32_t sdp_handle, bool browse_supported,
|
/system/bt/bta/hd/ |
bta_hd_act.cc | 128 if (bta_hd_cb.sdp_handle != 0) { 129 SDP_DeleteRecord(bta_hd_cb.sdp_handle); 179 if (bta_hd_cb.sdp_handle != 0) { 180 SDP_DeleteRecord(bta_hd_cb.sdp_handle); 184 bta_hd_cb.sdp_handle = SDP_CreateRecord(); 185 HID_DevAddRecord(bta_hd_cb.sdp_handle, p_app_data->name, 227 if (bta_hd_cb.sdp_handle != 0) { 228 SDP_DeleteRecord(bta_hd_cb.sdp_handle); 231 bta_hd_cb.sdp_handle = 0;
|
bta_hd_int.h | 134 uint32_t sdp_handle; member in struct:__anon112921
|
/hardware/libhardware/include/hardware/ |
bt_sdp.h | 146 bt_status_t (*remove_sdp_record)(int sdp_handle);
|
/system/bt/stack/gatt/ |
gatt_utils.cc | 883 uint32_t sdp_handle; local 891 sdp_handle = SDP_CreateRecord(); 892 if (sdp_handle == 0) return 0; 896 SDP_AddServiceClassIdList(sdp_handle, 1, &p_uuid->uu.uuid16); 902 SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_CLASS_ID_LIST, 909 SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_CLASS_ID_LIST, 915 SDP_DeleteRecord(sdp_handle); 929 SDP_AddProtocolList(sdp_handle, 2, proto_elem_list); 932 SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &list); 934 return (sdp_handle); [all...] |
gatt_api.cc | 342 elem.sdp_handle = gatt_add_sdp_record(p_uuid, elem.s_hdl, elem.e_hdl); 344 elem.sdp_handle = 0; 351 elem.s_hdl, elem.e_hdl, elem.type, elem.sdp_handle); 443 if (it->sdp_handle) { 444 SDP_DeleteRecord(it->sdp_handle); [all...] |
gatt_int.h | 258 uint32_t sdp_handle; /* primamry service SDP handle */ member in struct:__anon113658
|
/system/bt/bta/jv/ |
bta_jv_int.h | 349 /* the SDP handle reported to JV user is the (index + 1) to sdp_handle[]. 350 * if sdp_handle[i]==0, it's not used. 351 * otherwise sdp_handle[i] is the stack SDP handle. */ 352 uint32_t sdp_handle[BTA_JV_MAX_SDP_REC]; /* SDP records created */ member in struct:__anon113247
|