/system/bt/stack/pan/ |
H A D | 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_DESCRIPTIO [all...] |
/system/bt/bta/hf_client/ |
H A D | 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); 83 bta_hf_client_add_record(char *p_service_name, UINT8 scn, tBTA_HF_CLIENT_FEAT features, UINT32 sdp_handle) argument [all...] |
H A D | bta_hf_client_int.h | 183 UINT32 sdp_handle; member in struct:__anon208 214 UINT32 sdp_handle);
|
/system/bt/btif/src/ |
H A D | 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, argument 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);
|
H A D | btif_sdp_server.c | 58 int sdp_handle; member in struct:__anon685 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...] |
H A D | btif_sock_rfc.c | 87 int sdp_handle; member in struct:__anon688 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/a2dp/ |
H A D | 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_LIS 171 A2D_AddRecord(UINT16 service_uuid, char *p_service_name, char *p_provider_name, UINT16 features, UINT32 sdp_handle) argument [all...] |
/system/bt/stack/avrc/ |
H A D | 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_LIS 194 AVRC_AddRecord(UINT16 service_uuid, char *p_service_name, char *p_provider_name, UINT16 categories, UINT32 sdp_handle, BOOLEAN browse_supported, UINT16 profile_version) argument [all...] |
/system/bt/bta/ag/ |
H A D | 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 128 bta_ag_add_record(UINT16 service_uuid, char *p_service_name, UINT8 scn, tBTA_AG_FEAT features, UINT32 sdp_handle) argument [all...] |
H A D | bta_ag_int.h | 236 UINT32 sdp_handle; member in struct:__anon25 367 tBTA_AG_FEAT features, UINT32 sdp_handle);
|
/system/bt/bta/jv/ |
H A D | 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:__anon522
|
/system/bt/stack/gatt/ |
H A D | gatt_int.h | 234 UINT32 sdp_handle; /* primamry service SDP handle */ member in struct:__anon910
|
H A D | gatt_utils.c | 1530 UINT32 sdp_handle; local 1537 if ((sdp_handle = SDP_CreateRecord()) == 0) 1543 SDP_AddServiceClassIdList(sdp_handle, 1, &p_uuid->uu.uuid16); 1549 SDP_AddAttribute (sdp_handle, ATTR_ID_SERVICE_CLASS_ID_LIST, DATA_ELE_SEQ_DESC_TYPE, 1556 SDP_AddAttribute (sdp_handle, ATTR_ID_SERVICE_CLASS_ID_LIST, DATA_ELE_SEQ_DESC_TYPE, 1562 SDP_DeleteRecord(sdp_handle); 1576 SDP_AddProtocolList(sdp_handle, 2, proto_elem_list); 1579 SDP_AddUuidSequence (sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &list); 1581 return(sdp_handle);
|
/system/bt/bta/hl/ |
H A D | bta_hl_int.h | 521 UINT32 sdp_handle; /* SDP record handle */ member in struct:__anon257
|