/system/bt/btif/src/ |
btif_sdp_server.c | 58 int sdp_handle; member in struct:__anon73398 223 handle = sdp_slots[id].sdp_handle; 224 sdp_slots[id].sdp_handle = 0; 270 sdp_slots[id].sdp_handle = handle; 379 UINT32 sdp_handle = 0; local 390 if ((sdp_handle = SDP_CreateRecord()) == 0) 393 return sdp_handle; 397 status &= SDP_AddServiceClassIdList(sdp_handle, 1, &service); 408 status &= SDP_AddProtocolList(sdp_handle, 3, protoList); 411 status &= SDP_AddAttribute(sdp_handle, 468 UINT32 sdp_handle = 0; local 547 UINT32 sdp_handle = 0; local 634 UINT32 sdp_handle = 0; local 725 UINT32 sdp_handle = 0; local [all...] |
btif_sock_sdp.c | 101 // |sdp_handle|, and marks it as browseable. This is a shortcut for defining a 107 static bool create_base_record(const uint32_t sdp_handle, const char *name, 130 if (!SDP_AddProtocolList(sdp_handle, num_proto_elements, proto_list)) 136 if (!SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, 145 if (!SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &list)) 150 sdp_handle, channel, name, with_obex);
|
btif_sock_rfc.c | 87 int sdp_handle; member in struct:__anon73401 117 rfc_slots[i].sdp_handle = 0; 382 slot->sdp_handle = add_rfc_sdp_rec(slot->service_name, slot->service_uuid, slot->scn); 383 return (slot->sdp_handle > 0); 412 if (slot->sdp_handle > 0) { 413 del_rfc_sdp_rec(slot->sdp_handle); 414 slot->sdp_handle = 0;
|
/system/bt/stack/pan/ |
pan_utils.c | 63 UINT32 sdp_handle; local 69 sdp_handle = SDP_CreateRecord (); 71 if (sdp_handle == 0) 78 SDP_AddServiceClassIdList (sdp_handle, 1, &uuid); 81 SDP_AddAttribute (sdp_handle, ATTR_ID_PROTOCOL_DESC_LIST, DATA_ELE_SEQ_DESC_TYPE, 86 SDP_AddAttribute (sdp_handle, ATTR_ID_SERVICE_AVAILABILITY, UINT_DESC_TYPE, 1, &availability); 90 SDP_AddLanguageBaseAttrIDList (sdp_handle, LANG_ID_CODE_ENGLISH, LANG_ID_CHAR_ENCODE_UTF8, LANGUAGE_BASE_ID); 93 SDP_AddProfileDescriptorList (sdp_handle, uuid, PAN_PROFILE_VERSION); 96 SDP_AddAttribute (sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, 100 SDP_AddAttribute (sdp_handle, ATTR_ID_SERVICE_DESCRIPTION, TEXT_STR_DESC_TYPE [all...] |
/system/bt/stack/avrc/ |
avrc_sdp.c | 181 ** sdp_handle: SDP handle returned by SDP_CreateRecord(). 195 char *p_provider_name, UINT16 categories, UINT32 sdp_handle, 219 result &= SDP_AddServiceClassIdList(sdp_handle, count, class_list); 234 result &= SDP_AddProtocolList(sdp_handle, AVRC_NUM_PROTO_ELEMS, 251 result &= SDP_AddAdditionProtoLists( sdp_handle, 1, (tSDP_PROTO_LIST_ELEM *)&avrc_add_proto_desc_list); 254 result &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_AV_REMOTE_CONTROL, profile_version); 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, 272 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, 278 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, browse_list) [all...] |
/system/bt/bta/hf_client/ |
bta_hf_client_sdp.c | 84 tBTA_HF_CLIENT_FEAT features, UINT32 sdp_handle) 105 result &= SDP_AddProtocolList(sdp_handle, BTA_HF_CLIENT_NUM_PROTO_ELEMS, proto_elem_list); 110 result &= SDP_AddServiceClassIdList(sdp_handle, BTA_HF_CLIENT_NUM_SVC_ELEMS, svc_class_id_list); 116 result &= SDP_AddProfileDescriptorList(sdp_handle, profile_uuid, version); 121 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, 146 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, UINT_DESC_TYPE, 2, buf); 149 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, browse_list); 167 if (bta_hf_client_cb.sdp_handle == 0) 169 bta_hf_client_cb.sdp_handle = SDP_CreateRecord(); 174 bta_hf_client_cb.sdp_handle); [all...] |
bta_hf_client_int.h | 183 UINT32 sdp_handle; member in struct:__anon72920 214 UINT32 sdp_handle);
|
/system/bt/bta/hl/ |
bta_hl_sdp.c | 210 result &= SDP_AddServiceClassIdList(p_cb->sdp_handle, num_services, svc_class_id_list); 221 result &= SDP_AddProtocolList(p_cb->sdp_handle, BTA_HL_NUM_PROTO_ELEMS, proto_elem_list); 223 result &= SDP_AddProfileDescriptorList(p_cb->sdp_handle, profile_uuid, version); 234 result &= SDP_AddAdditionProtoLists(p_cb->sdp_handle, BTA_HL_NUM_ADD_PROTO_LISTS, 242 result &= SDP_AddAttribute(p_cb->sdp_handle, 254 result &= SDP_AddAttribute(p_cb->sdp_handle, 268 result &= SDP_AddAttribute(p_cb->sdp_handle, 313 result &= bta_hl_add_sup_feature_list (p_cb->sdp_handle, 319 result &= SDP_AddAttribute(p_cb->sdp_handle, ATTR_ID_HDP_DATA_EXCH_SPEC, UINT_DESC_TYPE, 326 result &= SDP_AddAttribute(p_cb->sdp_handle, ATTR_ID_HDP_MCAP_SUP_PROC, UINT_DESC_TYPE [all...] |
bta_hl_int.h | 521 UINT32 sdp_handle; /* SDP record handle */ member in struct:__anon72969 [all...] |
bta_hl_utils.c | [all...] |
/system/bt/bta/ag/ |
bta_ag_sdp.c | 129 tBTA_AG_FEAT features, UINT32 sdp_handle) 151 result &= SDP_AddProtocolList(sdp_handle, BTA_AG_NUM_PROTO_ELEMS, proto_elem_list); 156 result &= SDP_AddServiceClassIdList(sdp_handle, BTA_AG_NUM_SVC_ELEMS, svc_class_id_list); 169 result &= SDP_AddProfileDescriptorList(sdp_handle, profile_uuid, version); 174 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, 182 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_DATA_STORES_OR_NETWORK, 195 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, UINT_DESC_TYPE, 2, buf); 199 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, browse_list); 226 if (bta_ag_cb.profile[i].sdp_handle == 0) 228 bta_ag_cb.profile[i].sdp_handle = SDP_CreateRecord() [all...] |
bta_ag_int.h | 234 UINT32 sdp_handle; member in struct:__anon72737 370 tBTA_AG_FEAT features, UINT32 sdp_handle);
|
/system/bt/stack/a2dp/ |
a2d_api.c | 161 ** sdp_handle: SDP handle returned by SDP_CreateRecord(). 172 UINT16 features, UINT32 sdp_handle) 182 if( (sdp_handle == 0) || 187 result &= SDP_AddServiceClassIdList(sdp_handle, 1, &service_uuid); 199 result &= SDP_AddProtocolList(sdp_handle, A2D_NUM_PROTO_ELEMS, proto_list); 202 result &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_ADV_AUDIO_DISTRIBUTION, A2D_VERSION); 209 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, UINT_DESC_TYPE, 216 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_PROVIDER_NAME, TEXT_STR_DESC_TYPE, 223 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, 229 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, browse_list) [all...] |
/hardware/libhardware/include/hardware/ |
bt_sdp.h | 146 bt_status_t (*remove_sdp_record)(int sdp_handle);
|
/system/bt/stack/include/ |
a2d_api.h | 155 ** sdp_handle: SDP handle returned by SDP_CreateRecord(). 166 UINT16 features, UINT32 sdp_handle);
|
avrc_api.h | 203 ** sdp_handle: SDP handle returned by SDP_CreateRecord(). 213 char *p_provider_name, UINT16 categories, UINT32 sdp_handle,
|
/system/bt/stack/gatt/ |
gatt_utils.c | 1529 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 | 234 UINT32 sdp_handle; /* primamry service SDP handle */ member in struct:__anon73623
|
/system/bt/bta/jv/ |
bta_jv_int.h | 373 /* the SDP handle reported to JV user is the (index + 1) to sdp_handle[]. 374 * if sdp_handle[i]==0, it's not used. 375 * otherwise sdp_handle[i] is the stack SDP handle. */ 376 UINT32 sdp_handle[BTA_JV_MAX_SDP_REC]; /* SDP records created */ member in struct:__anon73235
|