/external/bluetooth/bluedroid/btif/src/ |
btif_sock_sdp.c | 144 UINT32 sdp_handle = 0; local 149 if ((sdp_handle = SDP_CreateRecord()) == 0) 152 return sdp_handle; 156 if (SDP_AddServiceClassIdList(sdp_handle, 1, &pbs_service)) 168 if (SDP_AddProtocolList(sdp_handle, 3, protoList)) 174 SDP_AddAttribute(sdp_handle, 181 SDP_AddProfileDescriptorList(sdp_handle, 191 SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_REPOSITORIES, UINT_DESC_TYPE, 195 SDP_AddUuidSequence (sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &browse); 200 SDP_DeleteRecord(sdp_handle); 233 UINT32 sdp_handle = 0; local 360 UINT32 sdp_handle; local 424 int sdp_handle; local 533 int sdp_handle = 0; local [all...] |
btif_sock_rfc.c | 93 int sdp_handle; member in struct:__anon5720 131 rfc_slots[i].sdp_handle = 0; 436 if((rs->sdp_handle = add_rfc_sdp_rec(rs->service_name, rs->service_uuid, rs->scn)) <= 0) 497 APPL_TRACE_DEBUG("cleanup slot:%d, fd:%d, scn:%d, sdp_handle:0x%x", rs->id, rs->fd, rs->scn, rs->sdp_handle); 509 if(rs->sdp_handle > 0) 511 del_rfc_sdp_rec(rs->sdp_handle); 512 rs->sdp_handle = 0; [all...] |
/external/bluetooth/bluedroid/stack/avrc/ |
avrc_sdp.c | 203 ** sdp_handle: SDP handle returned by SDP_CreateRecord(). 213 char *p_provider_name, UINT16 categories, UINT32 sdp_handle) 237 result &= SDP_AddServiceClassIdList(sdp_handle, count, class_list); 240 result &= SDP_AddProtocolList(sdp_handle, AVRC_NUM_PROTO_ELEMS, (tSDP_PROTOCOL_ELEM *)avrc_proto_list); 245 result &= SDP_AddAdditionProtoLists( sdp_handle, 1, (tSDP_PROTO_LIST_ELEM *)avrc_add_proto_list); 247 result &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_AV_REMOTE_CONTROL, AVRC_REV_1_4); 250 result &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_AV_REMOTE_CONTROL, AVRC_REV_1_3); 252 result &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_AV_REMOTE_CONTROL, AVRC_REV_1_0); 259 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, UINT_DESC_TYPE, 265 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_PROVIDER_NAME, TEXT_STR_DESC_TYPE [all...] |
/external/bluetooth/bluedroid/stack/pan/ |
pan_utils.c | 63 UINT32 sdp_handle; local 70 sdp_handle = SDP_CreateRecord (); 72 if (sdp_handle == 0) 79 SDP_AddServiceClassIdList (sdp_handle, 1, &uuid); 82 SDP_AddAttribute (sdp_handle, ATTR_ID_PROTOCOL_DESC_LIST, DATA_ELE_SEQ_DESC_TYPE, 88 SDP_AddAttribute (sdp_handle, ATTR_ID_SERVICE_AVAILABILITY, UINT_DESC_TYPE, 1, &availability); 93 SDP_AddLanguageBaseAttrIDList (sdp_handle, LANG_ID_CODE_ENGLISH, LANG_ID_CHAR_ENCODE_UTF8, LANGUAGE_BASE_ID); 96 SDP_AddProfileDescriptorList (sdp_handle, uuid, PAN_PROFILE_VERSION); 99 SDP_AddAttribute (sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, 103 SDP_AddAttribute (sdp_handle, ATTR_ID_SERVICE_DESCRIPTION, TEXT_STR_DESC_TYPE [all...] |
/external/bluetooth/bluedroid/bta/hf_client/ |
bta_hf_client_sdp.c | 89 tBTA_HF_CLIENT_FEAT features, UINT32 sdp_handle) 111 result &= SDP_AddProtocolList(sdp_handle, BTA_HF_CLIENT_NUM_PROTO_ELEMS, proto_elem_list); 116 result &= SDP_AddServiceClassIdList(sdp_handle, BTA_HF_CLIENT_NUM_SVC_ELEMS, svc_class_id_list); 122 result &= SDP_AddProfileDescriptorList(sdp_handle, profile_uuid, version); 127 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, 152 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, UINT_DESC_TYPE, 2, buf); 155 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, browse_list); 173 if (bta_hf_client_cb.sdp_handle == 0) 175 bta_hf_client_cb.sdp_handle = SDP_CreateRecord(); 180 bta_hf_client_cb.sdp_handle); [all...] |
bta_hf_client_int.h | 184 UINT32 sdp_handle; member in struct:__anon5235 215 UINT32 sdp_handle);
|
/external/bluetooth/bluedroid/bta/hl/ |
bta_hl_sdp.c | 211 result &= SDP_AddServiceClassIdList(p_cb->sdp_handle, num_services, svc_class_id_list); 222 result &= SDP_AddProtocolList(p_cb->sdp_handle, BTA_HL_NUM_PROTO_ELEMS, proto_elem_list); 224 result &= SDP_AddProfileDescriptorList(p_cb->sdp_handle, profile_uuid, version); 235 result &= SDP_AddAdditionProtoLists(p_cb->sdp_handle, BTA_HL_NUM_ADD_PROTO_LISTS, 243 result &= SDP_AddAttribute(p_cb->sdp_handle, 255 result &= SDP_AddAttribute(p_cb->sdp_handle, 269 result &= SDP_AddAttribute(p_cb->sdp_handle, 314 result &= bta_hl_add_sup_feature_list (p_cb->sdp_handle, 320 result &= SDP_AddAttribute(p_cb->sdp_handle, ATTR_ID_HDP_DATA_EXCH_SPEC, UINT_DESC_TYPE, 327 result &= SDP_AddAttribute(p_cb->sdp_handle, ATTR_ID_HDP_MCAP_SUP_PROC, UINT_DESC_TYPE [all...] |
bta_hl_int.h | 525 UINT32 sdp_handle; /* SDP record handle */ member in struct:__anon5283 [all...] |
bta_hl_utils.c | [all...] |
/external/bluetooth/bluedroid/bta/ag/ |
bta_ag_sdp.c | 131 tBTA_AG_FEAT features, UINT32 sdp_handle) 153 result &= SDP_AddProtocolList(sdp_handle, BTA_AG_NUM_PROTO_ELEMS, proto_elem_list); 158 result &= SDP_AddServiceClassIdList(sdp_handle, BTA_AG_NUM_SVC_ELEMS, svc_class_id_list); 171 result &= SDP_AddProfileDescriptorList(sdp_handle, profile_uuid, version); 176 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, 184 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_DATA_STORES_OR_NETWORK, 197 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, UINT_DESC_TYPE, 2, buf); 201 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, browse_list); 228 if (bta_ag_cb.profile[i].sdp_handle == 0) 230 bta_ag_cb.profile[i].sdp_handle = SDP_CreateRecord() [all...] |
bta_ag_int.h | 236 UINT32 sdp_handle; member in struct:__anon5046 366 tBTA_AG_FEAT features, UINT32 sdp_handle);
|
/external/bluetooth/bluedroid/stack/a2dp/ |
a2d_api.c | 159 ** sdp_handle: SDP handle returned by SDP_CreateRecord(). 170 UINT16 features, UINT32 sdp_handle) 180 if( (sdp_handle == 0) || 185 result &= SDP_AddServiceClassIdList(sdp_handle, 1, &service_uuid); 197 result &= SDP_AddProtocolList(sdp_handle, A2D_NUM_PROTO_ELEMS, proto_list); 200 result &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_ADV_AUDIO_DISTRIBUTION, A2D_VERSION); 207 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, UINT_DESC_TYPE, 214 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_PROVIDER_NAME, TEXT_STR_DESC_TYPE, 221 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, 227 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, browse_list) [all...] |
/external/bluetooth/bluedroid/stack/include/ |
a2d_api.h | 156 ** sdp_handle: SDP handle returned by SDP_CreateRecord(). 167 UINT16 features, UINT32 sdp_handle);
|
avrc_api.h | 194 ** sdp_handle: SDP handle returned by SDP_CreateRecord(). 204 char *p_provider_name, UINT16 categories, UINT32 sdp_handle);
|
/external/chromium_org/device/bluetooth/ |
bluetooth_task_manager_win.cc | 584 HANDLE sdp_handle; local 586 WSALookupServiceBegin(&sdp_query, control_flags, &sdp_handle)) { 603 sdp_handle, control_flags, &sdp_buffer_size, sdp_result_data)) { 609 WSALookupServiceEnd(sdp_handle); 621 if (ERROR_SUCCESS != WSALookupServiceEnd(sdp_handle)) {
|
/external/bluetooth/bluedroid/bta/jv/ |
bta_jv_act.c | 610 UINT32 bta_jv_alloc_sdp_id(UINT32 sdp_handle) 618 if (bta_jv_cb.sdp_handle[j] == 0) 620 bta_jv_cb.sdp_handle[j] = sdp_handle; 642 bta_jv_cb.sdp_handle[sdp_id - 1] = 0; 657 UINT32 sdp_handle = 0; local 661 sdp_handle = bta_jv_cb.sdp_handle[sdp_id - 1]; 663 return sdp_handle; 768 if(bta_jv_cb.sdp_handle[i] [all...] |
bta_jv_api.c | 993 UINT32 sdp_handle; local [all...] |
bta_jv_int.h | 436 /* the SDP handle reported to JV user is the (index + 1) to sdp_handle[]. 437 * if sdp_handle[i]==0, it's not used. 438 * otherwise sdp_handle[i] is the stack SDP handle. */ 439 UINT32 sdp_handle[BTA_JV_MAX_SDP_REC]; /* SDP records created */ member in struct:__anon5579
|
/external/bluetooth/bluedroid/stack/gatt/ |
gatt_utils.c | 1475 UINT32 sdp_handle; local [all...] |
gatt_api.c | 517 p_sreg->sdp_handle = gatt_add_sdp_record(p_uuid, p_sreg->s_hdl, p_sreg->e_hdl); 534 p_sreg->sdp_handle); 569 if (gatt_cb.sr_reg[ii].sdp_handle) 571 SDP_DeleteRecord(gatt_cb.sr_reg[ii].sdp_handle); [all...] |
gatt_int.h | 234 UINT32 sdp_handle; /* primamry service SDP handle */ member in struct:__anon5909
|