/system/bt/btif/src/ |
D | btif_sdp_server.c | 58 int sdp_handle; member 223 handle = sdp_slots[id].sdp_handle; in free_sdp_slot() 224 sdp_slots[id].sdp_handle = 0; in free_sdp_slot() 270 sdp_slots[id].sdp_handle = handle; in set_sdp_handle() 379 UINT32 sdp_handle = 0; in add_maps_sdp() local 390 if ((sdp_handle = SDP_CreateRecord()) == 0) in add_maps_sdp() 393 return sdp_handle; in add_maps_sdp() 397 status &= SDP_AddServiceClassIdList(sdp_handle, 1, &service); in add_maps_sdp() 408 status &= SDP_AddProtocolList(sdp_handle, 3, protoList); in add_maps_sdp() 411 status &= SDP_AddAttribute(sdp_handle, in add_maps_sdp() [all …]
|
D | btif_sock_sdp.c | 107 static bool create_base_record(const uint32_t sdp_handle, const char *name, in create_base_record() argument 130 if (!SDP_AddProtocolList(sdp_handle, num_proto_elements, proto_list)) in create_base_record() 136 if (!SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, in create_base_record() 145 if (!SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &list)) in create_base_record() 150 sdp_handle, channel, name, with_obex); in create_base_record()
|
D | btif_sock_rfc.c | 87 int sdp_handle; member 117 rfc_slots[i].sdp_handle = 0; in btsock_rfc_init() 382 slot->sdp_handle = add_rfc_sdp_rec(slot->service_name, slot->service_uuid, slot->scn); in create_server_sdp_record() 383 return (slot->sdp_handle > 0); in create_server_sdp_record() 412 if (slot->sdp_handle > 0) { in cleanup_rfc_slot() 413 del_rfc_sdp_rec(slot->sdp_handle); in cleanup_rfc_slot() 414 slot->sdp_handle = 0; in cleanup_rfc_slot()
|
/system/bt/stack/pan/ |
D | pan_utils.c | 63 UINT32 sdp_handle; in pan_register_with_sdp() local 69 sdp_handle = SDP_CreateRecord (); in pan_register_with_sdp() 71 if (sdp_handle == 0) in pan_register_with_sdp() 78 SDP_AddServiceClassIdList (sdp_handle, 1, &uuid); in pan_register_with_sdp() 81 SDP_AddAttribute (sdp_handle, ATTR_ID_PROTOCOL_DESC_LIST, DATA_ELE_SEQ_DESC_TYPE, in pan_register_with_sdp() 86 SDP_AddAttribute (sdp_handle, ATTR_ID_SERVICE_AVAILABILITY, UINT_DESC_TYPE, 1, &availability); in pan_register_with_sdp() 90 …SDP_AddLanguageBaseAttrIDList (sdp_handle, LANG_ID_CODE_ENGLISH, LANG_ID_CHAR_ENCODE_UTF8, LANGUAG… in pan_register_with_sdp() 93 SDP_AddProfileDescriptorList (sdp_handle, uuid, PAN_PROFILE_VERSION); in pan_register_with_sdp() 96 SDP_AddAttribute (sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, in pan_register_with_sdp() 100 SDP_AddAttribute (sdp_handle, ATTR_ID_SERVICE_DESCRIPTION, TEXT_STR_DESC_TYPE, in pan_register_with_sdp() [all …]
|
/system/bt/bta/hl/ |
D | bta_hl_sdp.c | 210 result &= SDP_AddServiceClassIdList(p_cb->sdp_handle, num_services, svc_class_id_list); in bta_hl_sdp_update() 221 result &= SDP_AddProtocolList(p_cb->sdp_handle, BTA_HL_NUM_PROTO_ELEMS, proto_elem_list); in bta_hl_sdp_update() 223 result &= SDP_AddProfileDescriptorList(p_cb->sdp_handle, profile_uuid, version); in bta_hl_sdp_update() 234 result &= SDP_AddAdditionProtoLists(p_cb->sdp_handle, BTA_HL_NUM_ADD_PROTO_LISTS, in bta_hl_sdp_update() 242 result &= SDP_AddAttribute(p_cb->sdp_handle, in bta_hl_sdp_update() 254 result &= SDP_AddAttribute(p_cb->sdp_handle, in bta_hl_sdp_update() 268 result &= SDP_AddAttribute(p_cb->sdp_handle, in bta_hl_sdp_update() 313 result &= bta_hl_add_sup_feature_list (p_cb->sdp_handle, in bta_hl_sdp_update() 319 result &= SDP_AddAttribute(p_cb->sdp_handle, ATTR_ID_HDP_DATA_EXCH_SPEC, UINT_DESC_TYPE, in bta_hl_sdp_update() 326 result &= SDP_AddAttribute(p_cb->sdp_handle, ATTR_ID_HDP_MCAP_SUP_PROC, UINT_DESC_TYPE, in bta_hl_sdp_update() [all …]
|
D | bta_hl_int.h | 521 UINT32 sdp_handle; /* SDP record handle */ member
|
D | bta_hl_utils.c | 2859 if (p_acb->sdp_handle) SDP_DeleteRecord(p_acb->sdp_handle); in bta_hl_clean_app()
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_sdp.c | 84 tBTA_HF_CLIENT_FEAT features, UINT32 sdp_handle) in bta_hf_client_add_record() argument 105 result &= SDP_AddProtocolList(sdp_handle, BTA_HF_CLIENT_NUM_PROTO_ELEMS, proto_elem_list); in bta_hf_client_add_record() 110 result &= SDP_AddServiceClassIdList(sdp_handle, BTA_HF_CLIENT_NUM_SVC_ELEMS, svc_class_id_list); in bta_hf_client_add_record() 116 result &= SDP_AddProfileDescriptorList(sdp_handle, profile_uuid, version); in bta_hf_client_add_record() 121 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, in bta_hf_client_add_record() 146 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, UINT_DESC_TYPE, 2, buf); in bta_hf_client_add_record() 149 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, browse_list); in bta_hf_client_add_record() 167 if (bta_hf_client_cb.sdp_handle == 0) in bta_hf_client_create_record() 169 bta_hf_client_cb.sdp_handle = SDP_CreateRecord(); in bta_hf_client_create_record() 174 bta_hf_client_cb.sdp_handle); in bta_hf_client_create_record() [all …]
|
D | bta_hf_client_int.h | 183 UINT32 sdp_handle; member 214 UINT32 sdp_handle);
|
/system/bt/bta/ag/ |
D | bta_ag_sdp.c | 129 tBTA_AG_FEAT features, UINT32 sdp_handle) in bta_ag_add_record() argument 151 result &= SDP_AddProtocolList(sdp_handle, BTA_AG_NUM_PROTO_ELEMS, proto_elem_list); in bta_ag_add_record() 156 result &= SDP_AddServiceClassIdList(sdp_handle, BTA_AG_NUM_SVC_ELEMS, svc_class_id_list); in bta_ag_add_record() 169 result &= SDP_AddProfileDescriptorList(sdp_handle, profile_uuid, version); in bta_ag_add_record() 174 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, in bta_ag_add_record() 182 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_DATA_STORES_OR_NETWORK, in bta_ag_add_record() 195 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, UINT_DESC_TYPE, 2, buf); in bta_ag_add_record() 199 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, browse_list); in bta_ag_add_record() 226 if (bta_ag_cb.profile[i].sdp_handle == 0) in bta_ag_create_records() 228 bta_ag_cb.profile[i].sdp_handle = SDP_CreateRecord(); in bta_ag_create_records() [all …]
|
D | bta_ag_int.h | 236 UINT32 sdp_handle; member 367 tBTA_AG_FEAT features, UINT32 sdp_handle);
|
/system/bt/stack/avrc/ |
D | avrc_sdp.c | 195 char *p_provider_name, UINT16 categories, UINT32 sdp_handle, in AVRC_AddRecord() argument 219 result &= SDP_AddServiceClassIdList(sdp_handle, count, class_list); in AVRC_AddRecord() 234 result &= SDP_AddProtocolList(sdp_handle, AVRC_NUM_PROTO_ELEMS, in AVRC_AddRecord() 251 …result &= SDP_AddAdditionProtoLists( sdp_handle, 1, (tSDP_PROTO_LIST_ELEM *)&avrc_add_proto_desc_l… in AVRC_AddRecord() 254 …result &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_AV_REMOTE_CONTROL, profile_versi… in AVRC_AddRecord() 259 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, UINT_DESC_TYPE, in AVRC_AddRecord() 265 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_PROVIDER_NAME, TEXT_STR_DESC_TYPE, in AVRC_AddRecord() 272 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, in AVRC_AddRecord() 278 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, browse_list); in AVRC_AddRecord()
|
/system/bt/stack/a2dp/ |
D | a2d_api.c | 172 UINT16 features, UINT32 sdp_handle) in A2D_AddRecord() argument 182 if( (sdp_handle == 0) || in A2D_AddRecord() 187 result &= SDP_AddServiceClassIdList(sdp_handle, 1, &service_uuid); in A2D_AddRecord() 199 result &= SDP_AddProtocolList(sdp_handle, A2D_NUM_PROTO_ELEMS, proto_list); in A2D_AddRecord() 202 …result &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_ADV_AUDIO_DISTRIBUTION, A2D_VERS… in A2D_AddRecord() 209 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, UINT_DESC_TYPE, in A2D_AddRecord() 216 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_PROVIDER_NAME, TEXT_STR_DESC_TYPE, in A2D_AddRecord() 223 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, in A2D_AddRecord() 229 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, browse_list); in A2D_AddRecord()
|
/system/bt/stack/include/ |
D | a2d_api.h | 166 UINT16 features, UINT32 sdp_handle);
|
D | avrc_api.h | 213 char *p_provider_name, UINT16 categories, UINT32 sdp_handle,
|
/system/bt/stack/gatt/ |
D | gatt_utils.c | 1530 UINT32 sdp_handle; in gatt_add_sdp_record() local 1537 if ((sdp_handle = SDP_CreateRecord()) == 0) in gatt_add_sdp_record() 1543 SDP_AddServiceClassIdList(sdp_handle, 1, &p_uuid->uu.uuid16); in gatt_add_sdp_record() 1549 SDP_AddAttribute (sdp_handle, ATTR_ID_SERVICE_CLASS_ID_LIST, DATA_ELE_SEQ_DESC_TYPE, in gatt_add_sdp_record() 1556 SDP_AddAttribute (sdp_handle, ATTR_ID_SERVICE_CLASS_ID_LIST, DATA_ELE_SEQ_DESC_TYPE, in gatt_add_sdp_record() 1562 SDP_DeleteRecord(sdp_handle); in gatt_add_sdp_record() 1576 SDP_AddProtocolList(sdp_handle, 2, proto_elem_list); in gatt_add_sdp_record() 1579 SDP_AddUuidSequence (sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &list); in gatt_add_sdp_record() 1581 return(sdp_handle); in gatt_add_sdp_record()
|
D | gatt_api.c | 516 p_sreg->sdp_handle = gatt_add_sdp_record(p_uuid, p_sreg->s_hdl, p_sreg->e_hdl); in GATTS_StartService() 533 p_sreg->sdp_handle); in GATTS_StartService() 568 if (gatt_cb.sr_reg[ii].sdp_handle) in GATTS_StopService() 570 SDP_DeleteRecord(gatt_cb.sr_reg[ii].sdp_handle); in GATTS_StopService()
|
D | gatt_int.h | 234 UINT32 sdp_handle; /* primamry service SDP handle */ member
|
/system/bt/bta/jv/ |
D | bta_jv_int.h | 376 UINT32 sdp_handle[BTA_JV_MAX_SDP_REC]; /* SDP records created */ member
|