Searched refs:sdp_handle (Results 1 - 19 of 19) sorted by relevance

/system/bt/btif/src/
H A Dbtif_sdp_server.c58 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 Dbtif_sock_sdp.c101 // |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 Dbtif_sock_rfc.c87 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/pan/
H A Dpan_utils.c63 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/stack/avrc/
H A Davrc_sdp.c181 ** 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/hf_client/
H A Dbta_hf_client_sdp.c84 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 Dbta_hf_client_int.h183 UINT32 sdp_handle; member in struct:__anon208
214 UINT32 sdp_handle);
/system/bt/bta/hl/
H A Dbta_hl_sdp.c210 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_PRO
[all...]
H A Dbta_hl_int.h521 UINT32 sdp_handle; /* SDP record handle */ member in struct:__anon257
H A Dbta_hl_utils.c2859 if (p_acb->sdp_handle) SDP_DeleteRecord(p_acb->sdp_handle);
/system/bt/bta/ag/
H A Dbta_ag_sdp.c129 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 Dbta_ag_int.h236 UINT32 sdp_handle; member in struct:__anon25
367 tBTA_AG_FEAT features, UINT32 sdp_handle);
/system/bt/stack/a2dp/
H A Da2d_api.c161 ** 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/include/
H A Da2d_api.h155 ** sdp_handle: SDP handle returned by SDP_CreateRecord().
166 UINT16 features, UINT32 sdp_handle);
H A Davrc_api.h203 ** sdp_handle: SDP handle returned by SDP_CreateRecord().
213 char *p_provider_name, UINT16 categories, UINT32 sdp_handle,
/system/bt/stack/gatt/
H A Dgatt_utils.c1530 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);
H A Dgatt_api.c516 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);
H A Dgatt_int.h234 UINT32 sdp_handle; /* primamry service SDP handle */ member in struct:__anon910
/system/bt/bta/jv/
H A Dbta_jv_int.h373 /* 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

Completed in 2699 milliseconds