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

/system/bt/btif/src/
H A Dbtif_sdp_server.cc62 int sdp_handle; member in struct:__anon603
225 handle = sdp_slots[id].sdp_handle;
226 sdp_slots[id].sdp_handle = 0;
268 sdp_slots[id].sdp_handle = handle;
377 uint32_t sdp_handle = 0; local
389 sdp_handle = SDP_CreateRecord();
390 if (sdp_handle == 0) {
392 return sdp_handle;
396 status &= SDP_AddServiceClassIdList(sdp_handle, 1, &service);
407 status &= SDP_AddProtocolList(sdp_handle,
465 uint32_t sdp_handle = 0; local
542 uint32_t sdp_handle = 0; local
627 uint32_t sdp_handle = 0; local
718 uint32_t sdp_handle = 0; local
[all...]
H A Dbtif_sock_sdp.cc94 // |sdp_handle|, and marks it as browseable. This is a shortcut for defining a
100 static bool create_base_record(const uint32_t sdp_handle, const char* name, argument
126 if (!SDP_AddProtocolList(sdp_handle, num_proto_elements, proto_list))
132 if (!SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE,
138 if (!SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &list))
144 sdp_handle, channel, name, with_obex);
H A Dbtif_sock_rfc.cc95 int sdp_handle; member in struct:__anon605
124 rfc_slots[i].sdp_handle = 0;
393 slot->sdp_handle =
395 return (slot->sdp_handle > 0);
422 if (slot->sdp_handle > 0) {
423 del_rfc_sdp_rec(slot->sdp_handle);
424 slot->sdp_handle = 0;
/system/bt/stack/avrc/
H A Davrc_sdp.cc171 * sdp_handle: SDP handle returned by SDP_CreateRecord().
187 uint32_t sdp_handle, bool browse_supported,
210 result &= SDP_AddServiceClassIdList(sdp_handle, count, class_list);
234 result &= SDP_AddProtocolList(sdp_handle, AVRC_NUM_PROTO_ELEMS,
251 SDP_AddAdditionProtoLists(sdp_handle, 1, &avrc_add_proto_desc_list);
255 sdp_handle, UUID_SERVCLASS_AV_REMOTE_CONTROL, profile_version);
260 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES,
266 sdp_handle, ATTR_ID_PROVIDER_NAME, TEXT_STR_DESC_TYPE,
273 sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE,
279 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIS
185 AVRC_AddRecord(uint16_t service_uuid, const char* p_service_name, const char* p_provider_name, uint16_t categories, uint32_t sdp_handle, bool browse_supported, uint16_t profile_version) argument
[all...]
/system/bt/stack/pan/
H A Dpan_utils.cc66 uint32_t sdp_handle; local
72 sdp_handle = SDP_CreateRecord();
74 if (sdp_handle == 0) {
80 SDP_AddServiceClassIdList(sdp_handle, 1, &uuid);
83 SDP_AddAttribute(sdp_handle, ATTR_ID_PROTOCOL_DESC_LIST,
88 SDP_AddLanguageBaseAttrIDList(sdp_handle, LANG_ID_CODE_ENGLISH,
92 SDP_AddProfileDescriptorList(sdp_handle, uuid, PAN_PROFILE_VERSION);
95 SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE,
99 SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_DESCRIPTION, TEXT_STR_DESC_TYPE,
106 SDP_AddAttribute(sdp_handle, ATTR_ID_SECURITY_DESCRIPTIO
[all...]
/system/bt/bta/hf_client/
H A Dbta_hf_client_sdp.cc91 uint32_t sdp_handle) {
112 result &= SDP_AddProtocolList(sdp_handle, BTA_HF_CLIENT_NUM_PROTO_ELEMS,
118 result &= SDP_AddServiceClassIdList(sdp_handle, BTA_HF_CLIENT_NUM_SVC_ELEMS,
125 result &= SDP_AddProfileDescriptorList(sdp_handle, profile_uuid, version);
130 sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE,
152 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES,
156 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1,
175 if (client_cb_arr->sdp_handle == 0) {
176 client_cb_arr->sdp_handle = SDP_CreateRecord();
180 client_cb_arr->sdp_handle);
89 bta_hf_client_add_record(const char* p_service_name, uint8_t scn, tBTA_HF_CLIENT_FEAT features, uint32_t sdp_handle) argument
[all...]
H A Dbta_hf_client_int.h188 uint32_t sdp_handle; member in struct:__anon161
235 uint32_t sdp_handle);
/system/bt/bta/hl/
H A Dbta_hl_sdp.cc198 result &= SDP_AddServiceClassIdList(p_cb->sdp_handle, num_services,
209 result &= SDP_AddProtocolList(p_cb->sdp_handle, BTA_HL_NUM_PROTO_ELEMS,
213 SDP_AddProfileDescriptorList(p_cb->sdp_handle, profile_uuid, version);
224 p_cb->sdp_handle, BTA_HL_NUM_ADD_PROTO_LISTS, &add_proto_list);
230 p_cb->sdp_handle, (uint16_t)ATTR_ID_SERVICE_NAME,
239 p_cb->sdp_handle, (uint16_t)ATTR_ID_SERVICE_DESCRIPTION,
249 SDP_AddAttribute(p_cb->sdp_handle, (uint16_t)ATTR_ID_PROVIDER_NAME,
291 result &= bta_hl_add_sup_feature_list(p_cb->sdp_handle,
296 result &= SDP_AddAttribute(p_cb->sdp_handle, ATTR_ID_HDP_DATA_EXCH_SPEC,
303 SDP_AddAttribute(p_cb->sdp_handle, ATTR_ID_HDP_MCAP_SUP_PRO
[all...]
H A Dbta_hl_int.h485 uint32_t sdp_handle; /* SDP record handle */ member in struct:__anon209
H A Dbta_hl_utils.cc2508 if (p_acb->sdp_handle) SDP_DeleteRecord(p_acb->sdp_handle);
/system/bt/stack/a2dp/
H A Da2dp_api.cc163 * sdp_handle: SDP handle returned by SDP_CreateRecord().
175 uint32_t sdp_handle) {
184 if ((sdp_handle == 0) || (service_uuid != UUID_SERVCLASS_AUDIO_SOURCE &&
189 result &= SDP_AddServiceClassIdList(sdp_handle, 1, &service_uuid);
202 result &= SDP_AddProtocolList(sdp_handle, A2DP_NUM_PROTO_ELEMS, proto_list);
206 sdp_handle, UUID_SERVCLASS_ADV_AUDIO_DISTRIBUTION, A2DP_VERSION);
212 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES,
219 sdp_handle, ATTR_ID_PROVIDER_NAME, TEXT_STR_DESC_TYPE,
226 sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE,
232 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIS
173 A2DP_AddRecord(uint16_t service_uuid, char* p_service_name, char* p_provider_name, uint16_t features, uint32_t sdp_handle) argument
[all...]
/system/bt/bta/ag/
H A Dbta_ag_sdp.cc129 uint32_t sdp_handle) {
153 SDP_AddProtocolList(sdp_handle, BTA_AG_NUM_PROTO_ELEMS, proto_elem_list);
158 result &= SDP_AddServiceClassIdList(sdp_handle, BTA_AG_NUM_SVC_ELEMS,
169 result &= SDP_AddProfileDescriptorList(sdp_handle, profile_uuid, version);
174 sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE,
181 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_DATA_STORES_OR_NETWORK,
192 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES,
197 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1,
222 if (bta_ag_cb.profile[i].sdp_handle == 0) {
223 bta_ag_cb.profile[i].sdp_handle
127 bta_ag_add_record(uint16_t service_uuid, const char* p_service_name, uint8_t scn, tBTA_AG_FEAT features, uint32_t sdp_handle) argument
[all...]
H A Dbta_ag_int.h183 uint32_t sdp_handle; member in struct:__anon26
322 uint32_t sdp_handle);
/system/bt/stack/include/
H A Da2dp_api.h111 * sdp_handle: SDP handle returned by SDP_CreateRecord().
123 uint32_t sdp_handle);
H A Davrc_api.h223 * sdp_handle: SDP handle returned by SDP_CreateRecord().
236 uint32_t sdp_handle, bool browse_supported,
/system/bt/bta/hd/
H A Dbta_hd_act.cc130 if (bta_hd_cb.sdp_handle != 0) {
131 SDP_DeleteRecord(bta_hd_cb.sdp_handle);
183 if (bta_hd_cb.sdp_handle != 0) {
184 SDP_DeleteRecord(bta_hd_cb.sdp_handle);
188 bta_hd_cb.sdp_handle = SDP_CreateRecord();
189 HID_DevAddRecord(bta_hd_cb.sdp_handle, p_app_data->name,
231 if (bta_hd_cb.sdp_handle != 0) {
232 SDP_DeleteRecord(bta_hd_cb.sdp_handle);
235 bta_hd_cb.sdp_handle = 0;
H A Dbta_hd_int.h134 uint32_t sdp_handle; member in struct:__anon145
/system/bt/include/hardware/
H A Dbt_sdp.h153 bt_status_t (*remove_sdp_record)(int sdp_handle);
/system/bt/profile/avrcp/
H A Davrcp_internal.h35 uint32_t sdp_handle, bool browse_supported,
/system/bt/stack/gatt/
H A Dgatt_utils.cc761 uint32_t sdp_handle = SDP_CreateRecord(); local
762 if (sdp_handle == 0) return 0;
767 SDP_AddServiceClassIdList(sdp_handle, 1, &tmp);
775 SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_CLASS_ID_LIST,
783 SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_CLASS_ID_LIST,
798 SDP_AddProtocolList(sdp_handle, 2, proto_elem_list);
802 SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &list);
804 return (sdp_handle);
H A Dgatt_api.cc290 elem.sdp_handle = gatt_add_sdp_record(*p_uuid, elem.s_hdl, elem.e_hdl);
292 elem.sdp_handle = 0;
299 elem.s_hdl, elem.e_hdl, elem.type, elem.sdp_handle);
388 if (it->sdp_handle) {
389 SDP_DeleteRecord(it->sdp_handle);
H A Dgatt_int.h258 uint32_t sdp_handle; /* primamry service SDP handle */ member in struct:__anon1009
/system/bt/bta/jv/
H A Dbta_jv_int.h111 /* the SDP handle reported to JV user is the (index + 1) to sdp_handle[].
112 * if sdp_handle[i]==0, it's not used.
113 * otherwise sdp_handle[i] is the stack SDP handle. */
114 uint32_t sdp_handle[BTA_JV_MAX_SDP_REC]; /* SDP records created */ member in struct:__anon448
/system/bt/btif/avrcp/
H A Davrcp_service.cc61 uint32_t sdp_handle, bool browse_supported,
64 categories, sdp_handle, browse_supported,

Completed in 390 milliseconds