/system/bt/btif/src/ |
H A D | btif_sdp_server.cc | 62 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 D | btif_sock_sdp.cc | 94 // |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 D | btif_sock_rfc.cc | 95 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 D | avrc_sdp.cc | 171 * 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 D | pan_utils.cc | 66 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 D | bta_hf_client_sdp.cc | 91 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 D | bta_hf_client_int.h | 188 uint32_t sdp_handle; member in struct:__anon161 235 uint32_t sdp_handle);
|
/system/bt/bta/hl/ |
H A D | bta_hl_sdp.cc | 198 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 D | bta_hl_int.h | 485 uint32_t sdp_handle; /* SDP record handle */ member in struct:__anon209
|
H A D | bta_hl_utils.cc | 2508 if (p_acb->sdp_handle) SDP_DeleteRecord(p_acb->sdp_handle);
|
/system/bt/stack/a2dp/ |
H A D | a2dp_api.cc | 163 * 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 D | bta_ag_sdp.cc | 129 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 D | bta_ag_int.h | 183 uint32_t sdp_handle; member in struct:__anon26 322 uint32_t sdp_handle);
|
/system/bt/stack/include/ |
H A D | a2dp_api.h | 111 * sdp_handle: SDP handle returned by SDP_CreateRecord(). 123 uint32_t sdp_handle);
|
H A D | avrc_api.h | 223 * sdp_handle: SDP handle returned by SDP_CreateRecord(). 236 uint32_t sdp_handle, bool browse_supported,
|
/system/bt/bta/hd/ |
H A D | bta_hd_act.cc | 130 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 D | bta_hd_int.h | 134 uint32_t sdp_handle; member in struct:__anon145
|
/system/bt/include/hardware/ |
H A D | bt_sdp.h | 153 bt_status_t (*remove_sdp_record)(int sdp_handle);
|
/system/bt/profile/avrcp/ |
H A D | avrcp_internal.h | 35 uint32_t sdp_handle, bool browse_supported,
|
/system/bt/stack/gatt/ |
H A D | gatt_utils.cc | 761 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 D | gatt_api.cc | 290 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 D | gatt_int.h | 258 uint32_t sdp_handle; /* primamry service SDP handle */ member in struct:__anon1009
|
/system/bt/bta/jv/ |
H A D | bta_jv_int.h | 111 /* 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 D | avrcp_service.cc | 61 uint32_t sdp_handle, bool browse_supported, 64 categories, sdp_handle, browse_supported,
|