/external/bluetooth/bluedroid/btif/src/ |
btif_sock_sdp.c | 143 UINT32 sdp_handle = 0; local 148 if ((sdp_handle = SDP_CreateRecord()) == 0) 151 return sdp_handle; 155 if (SDP_AddServiceClassIdList(sdp_handle, 1, &pbs_service)) 167 if (SDP_AddProtocolList(sdp_handle, 3, protoList)) 173 SDP_AddAttribute(sdp_handle, 180 SDP_AddProfileDescriptorList(sdp_handle, 190 SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_REPOSITORIES, UINT_DESC_TYPE, 194 SDP_AddUuidSequence (sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &browse); 199 SDP_DeleteRecord(sdp_handle); 247 UINT32 sdp_handle = 0; local 353 UINT32 sdp_handle; local 417 int sdp_handle; local 527 int sdp_handle = 0; local [all...] |
btif_sock_rfc.c | 91 int sdp_handle; member in struct:__anon3408 137 rfc_slots[i].sdp_handle = 0; 425 if((rs->sdp_handle = add_rfc_sdp_rec(rs->service_name, rs->service_uuid, rs->scn)) <= 0) 486 APPL_TRACE_DEBUG4("cleanup slot:%d, fd:%d, scn:%d, sdp_handle:0x%x", rs->id, rs->fd, rs->scn, rs->sdp_handle); 498 if(rs->sdp_handle > 0) 500 del_rfc_sdp_rec(rs->sdp_handle); 501 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/hl/ |
bta_hl_sdp.c | 214 result &= SDP_AddServiceClassIdList(p_cb->sdp_handle, num_services, svc_class_id_list); 225 result &= SDP_AddProtocolList(p_cb->sdp_handle, BTA_HL_NUM_PROTO_ELEMS, proto_elem_list); 227 result &= SDP_AddProfileDescriptorList(p_cb->sdp_handle, profile_uuid, version); 238 result &= SDP_AddAdditionProtoLists(p_cb->sdp_handle, BTA_HL_NUM_ADD_PROTO_LISTS, 246 result &= SDP_AddAttribute(p_cb->sdp_handle, 258 result &= SDP_AddAttribute(p_cb->sdp_handle, 272 result &= SDP_AddAttribute(p_cb->sdp_handle, 317 result &= bta_hl_add_sup_feature_list (p_cb->sdp_handle, 323 result &= SDP_AddAttribute(p_cb->sdp_handle, ATTR_ID_HDP_DATA_EXCH_SPEC, UINT_DESC_TYPE, 330 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:__anon3026 [all...] |
bta_hl_utils.c | [all...] |
/external/bluetooth/bluedroid/bta/ag/ |
bta_ag_sdp.c | 130 tBTA_AG_FEAT features, UINT32 sdp_handle) 152 result &= SDP_AddProtocolList(sdp_handle, BTA_AG_NUM_PROTO_ELEMS, proto_elem_list); 157 result &= SDP_AddServiceClassIdList(sdp_handle, BTA_AG_NUM_SVC_ELEMS, svc_class_id_list); 170 result &= SDP_AddProfileDescriptorList(sdp_handle, profile_uuid, version); 175 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, 183 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_DATA_STORES_OR_NETWORK, 196 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, UINT_DESC_TYPE, 2, buf); 200 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, browse_list); 227 if (bta_ag_cb.profile[i].sdp_handle == 0) 229 bta_ag_cb.profile[i].sdp_handle = SDP_CreateRecord() [all...] |
bta_ag_int.h | 236 UINT32 sdp_handle; member in struct:__anon2824 357 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 | 390 HANDLE sdp_handle; local 392 WSALookupServiceBegin(&sdp_query, LUP_RETURN_ALL, &sdp_handle)) { 398 while (ERROR_SUCCESS == WSALookupServiceNext(sdp_handle, 412 WSALookupServiceEnd(sdp_handle);
|
/external/bluetooth/bluedroid/bta/jv/ |
bta_jv_act.c | 588 UINT32 bta_jv_alloc_sdp_id(UINT32 sdp_handle) 596 if (bta_jv_cb.sdp_handle[j] == 0) 598 bta_jv_cb.sdp_handle[j] = sdp_handle; 620 bta_jv_cb.sdp_handle[sdp_id - 1] = 0; 635 UINT32 sdp_handle = 0; local 639 sdp_handle = bta_jv_cb.sdp_handle[sdp_id - 1]; 641 return sdp_handle; 744 if(bta_jv_cb.sdp_handle[i] [all...] |
bta_jv_api.c | 985 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:__anon3290
|
/external/bluetooth/bluedroid/stack/gatt/ |
gatt_utils.c | 1391 UINT32 sdp_handle; local [all...] |
gatt_api.c | 516 p_sreg->sdp_handle = gatt_add_sdp_record(p_uuid, p_sreg->s_hdl, p_sreg->e_hdl); 533 p_sreg->sdp_handle); 568 if (gatt_cb.sr_reg[ii].sdp_handle) 570 SDP_DeleteRecord(gatt_cb.sr_reg[ii].sdp_handle); [all...] |
gatt_int.h | 219 UINT32 sdp_handle; /* primamry service SDP handle */ member in struct:__anon3565
|