HomeSort by relevance Sort by last modified time
    Searched refs:sdp_handle (Results 1 - 20 of 20) sorted by null

  /system/bt/btif/src/
btif_sdp_server.c 56 int sdp_handle; member in struct:__anon69199
222 handle = sdp_slots[id].sdp_handle;
223 sdp_slots[id].sdp_handle = 0;
269 sdp_slots[id].sdp_handle = handle;
380 UINT32 sdp_handle = 0; local
391 if ((sdp_handle = SDP_CreateRecord()) == 0)
394 return sdp_handle;
398 status &= SDP_AddServiceClassIdList(sdp_handle, 1, &service);
409 status &= SDP_AddProtocolList(sdp_handle, 3, protoList);
412 status &= SDP_AddAttribute(sdp_handle,
469 UINT32 sdp_handle = 0; local
548 UINT32 sdp_handle = 0; local
636 UINT32 sdp_handle = 0; local
727 UINT32 sdp_handle = 0; local
    [all...]
btif_sock_sdp.c 105 // |sdp_handle|, and marks it as browseable. This is a shortcut for defining a
111 static bool create_base_record(const uint32_t sdp_handle, const char *name,
134 if (!SDP_AddProtocolList(sdp_handle, num_proto_elements, proto_list))
140 if (!SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME,
149 if (!SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &list))
154 sdp_handle, channel, name, with_obex);
btif_sock_rfc.c 84 int sdp_handle; member in struct:__anon69202
112 rfc_slots[i].sdp_handle = 0;
371 slot->sdp_handle = add_rfc_sdp_rec(slot->service_name, slot->service_uuid, slot->scn);
372 return (slot->sdp_handle > 0);
401 if (slot->sdp_handle > 0) {
402 del_rfc_sdp_rec(slot->sdp_handle);
403 slot->sdp_handle = 0;
  /system/bt/stack/avrc/
avrc_sdp.c 211 ** sdp_handle: SDP handle returned by SDP_CreateRecord().
221 char *p_provider_name, UINT16 categories, UINT32 sdp_handle)
253 result &= SDP_AddServiceClassIdList(sdp_handle, count, class_list);
256 result &= SDP_AddProtocolList(sdp_handle, AVRC_NUM_PROTO_ELEMS, (tSDP_PROTOCOL_ELEM *)avrc_proto_list);
261 result &= SDP_AddAdditionProtoLists( sdp_handle, 1, (tSDP_PROTO_LIST_ELEM *)avrc_add_proto_list);
263 result &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_AV_REMOTE_CONTROL, AVRC_REV_1_4);
266 result &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_AV_REMOTE_CONTROL, AVRC_REV_1_3);
268 result &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_AV_REMOTE_CONTROL, AVRC_REV_1_0);
275 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, UINT_DESC_TYPE,
281 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_PROVIDER_NAME, TEXT_STR_DESC_TYPE
    [all...]
  /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,
87 SDP_AddAttribute (sdp_handle, ATTR_ID_SERVICE_AVAILABILITY, UINT_DESC_TYPE, 1, &availability);
92 SDP_AddLanguageBaseAttrIDList (sdp_handle, LANG_ID_CODE_ENGLISH, LANG_ID_CHAR_ENCODE_UTF8, LANGUAGE_BASE_ID);
95 SDP_AddProfileDescriptorList (sdp_handle, uuid, PAN_PROFILE_VERSION);
98 SDP_AddAttribute (sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE,
102 SDP_AddAttribute (sdp_handle, ATTR_ID_SERVICE_DESCRIPTION, TEXT_STR_DESC_TYPE
    [all...]
  /system/bt/bta/hf_client/
bta_hf_client_sdp.c 89 tBTA_HF_CLIENT_FEAT features, UINT32 sdp_handle)
110 result &= SDP_AddProtocolList(sdp_handle, BTA_HF_CLIENT_NUM_PROTO_ELEMS, proto_elem_list);
115 result &= SDP_AddServiceClassIdList(sdp_handle, BTA_HF_CLIENT_NUM_SVC_ELEMS, svc_class_id_list);
121 result &= SDP_AddProfileDescriptorList(sdp_handle, profile_uuid, version);
126 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE,
151 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, UINT_DESC_TYPE, 2, buf);
154 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, browse_list);
172 if (bta_hf_client_cb.sdp_handle == 0)
174 bta_hf_client_cb.sdp_handle = SDP_CreateRecord();
179 bta_hf_client_cb.sdp_handle);
    [all...]
bta_hf_client_int.h 184 UINT32 sdp_handle; member in struct:__anon68721
215 UINT32 sdp_handle);
  /system/bt/bta/hl/
bta_hl_sdp.c 211 result &= SDP_AddServiceClassIdList(p_cb->sdp_handle, num_services, svc_class_id_list);
222 result &= SDP_AddProtocolList(p_cb->sdp_handle, BTA_HL_NUM_PROTO_ELEMS, proto_elem_list);
224 result &= SDP_AddProfileDescriptorList(p_cb->sdp_handle, profile_uuid, version);
235 result &= SDP_AddAdditionProtoLists(p_cb->sdp_handle, BTA_HL_NUM_ADD_PROTO_LISTS,
243 result &= SDP_AddAttribute(p_cb->sdp_handle,
255 result &= SDP_AddAttribute(p_cb->sdp_handle,
269 result &= SDP_AddAttribute(p_cb->sdp_handle,
314 result &= bta_hl_add_sup_feature_list (p_cb->sdp_handle,
320 result &= SDP_AddAttribute(p_cb->sdp_handle, ATTR_ID_HDP_DATA_EXCH_SPEC, UINT_DESC_TYPE,
327 result &= SDP_AddAttribute(p_cb->sdp_handle, ATTR_ID_HDP_MCAP_SUP_PROC, UINT_DESC_TYPE
    [all...]
bta_hl_int.h 524 UINT32 sdp_handle; /* SDP record handle */ member in struct:__anon68769
    [all...]
bta_hl_utils.c     [all...]
  /system/bt/bta/ag/
bta_ag_sdp.c 131 tBTA_AG_FEAT features, UINT32 sdp_handle)
153 result &= SDP_AddProtocolList(sdp_handle, BTA_AG_NUM_PROTO_ELEMS, proto_elem_list);
158 result &= SDP_AddServiceClassIdList(sdp_handle, BTA_AG_NUM_SVC_ELEMS, svc_class_id_list);
171 result &= SDP_AddProfileDescriptorList(sdp_handle, profile_uuid, version);
176 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE,
184 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_DATA_STORES_OR_NETWORK,
197 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, UINT_DESC_TYPE, 2, buf);
201 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, browse_list);
228 if (bta_ag_cb.profile[i].sdp_handle == 0)
230 bta_ag_cb.profile[i].sdp_handle = SDP_CreateRecord()
    [all...]
bta_ag_int.h 236 UINT32 sdp_handle; member in struct:__anon68539
367 tBTA_AG_FEAT features, UINT32 sdp_handle);
  /system/bt/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...]
  /hardware/libhardware/include/hardware/
bt_sdp.h 146 bt_status_t (*remove_sdp_record)(int sdp_handle);
  /system/bt/stack/include/
a2d_api.h 156 ** sdp_handle: SDP handle returned by SDP_CreateRecord().
167 UINT16 features, UINT32 sdp_handle);
avrc_api.h 197 ** sdp_handle: SDP handle returned by SDP_CreateRecord().
207 char *p_provider_name, UINT16 categories, UINT32 sdp_handle);
  /system/bt/stack/gatt/
gatt_utils.c 1475 UINT32 sdp_handle; local
    [all...]
gatt_api.c 517 p_sreg->sdp_handle = gatt_add_sdp_record(p_uuid, p_sreg->s_hdl, p_sreg->e_hdl);
534 p_sreg->sdp_handle);
569 if (gatt_cb.sr_reg[ii].sdp_handle)
571 SDP_DeleteRecord(gatt_cb.sr_reg[ii].sdp_handle);
    [all...]
gatt_int.h 234 UINT32 sdp_handle; /* primamry service SDP handle */ member in struct:__anon69383
  /system/bt/bta/jv/
bta_jv_int.h 385 /* the SDP handle reported to JV user is the (index + 1) to sdp_handle[].
386 * if sdp_handle[i]==0, it's not used.
387 * otherwise sdp_handle[i] is the stack SDP handle. */
388 UINT32 sdp_handle[BTA_JV_MAX_SDP_REC]; /* SDP records created */ member in struct:__anon69048

Completed in 473 milliseconds