/system/bt/btif/src/ |
D | btif_sdp_server.cc | 63 int sdp_handle; member 227 handle = sdp_slots[id].sdp_handle; in free_sdp_slot() 228 sdp_slots[id].sdp_handle = 0; in free_sdp_slot() 270 sdp_slots[id].sdp_handle = handle; in set_sdp_handle() 380 uint32_t sdp_handle = 0; in add_maps_sdp() local 392 sdp_handle = SDP_CreateRecord(); in add_maps_sdp() 393 if (sdp_handle == 0) { in add_maps_sdp() 395 return sdp_handle; in add_maps_sdp() 399 status &= SDP_AddServiceClassIdList(sdp_handle, 1, &service); in add_maps_sdp() 410 status &= SDP_AddProtocolList(sdp_handle, 3, protoList); in add_maps_sdp() [all …]
|
D | btif_sock_sdp.cc | 100 static bool create_base_record(const uint32_t sdp_handle, const char* name, in create_base_record() argument 126 if (!SDP_AddProtocolList(sdp_handle, num_proto_elements, proto_list)) in create_base_record() 132 if (!SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, in create_base_record() 138 if (!SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &list)) in create_base_record() 144 sdp_handle, channel, name, with_obex); in create_base_record()
|
D | btif_sock_rfc.cc | 97 int sdp_handle; member 130 rfc_slots[i].sdp_handle = 0; in btsock_rfc_init() 401 slot->sdp_handle = in create_server_sdp_record() 403 return (slot->sdp_handle > 0); in create_server_sdp_record() 436 if (slot->sdp_handle > 0) { in cleanup_rfc_slot() 437 del_rfc_sdp_rec(slot->sdp_handle); in cleanup_rfc_slot() 438 slot->sdp_handle = 0; in cleanup_rfc_slot()
|
/system/bt/stack/pan/ |
D | pan_utils.cc | 66 uint32_t sdp_handle; in pan_register_with_sdp() local 72 sdp_handle = SDP_CreateRecord(); in pan_register_with_sdp() 74 if (sdp_handle == 0) { in pan_register_with_sdp() 80 SDP_AddServiceClassIdList(sdp_handle, 1, &uuid); in pan_register_with_sdp() 83 SDP_AddAttribute(sdp_handle, ATTR_ID_PROTOCOL_DESC_LIST, in pan_register_with_sdp() 88 SDP_AddLanguageBaseAttrIDList(sdp_handle, LANG_ID_CODE_ENGLISH, in pan_register_with_sdp() 92 SDP_AddProfileDescriptorList(sdp_handle, uuid, PAN_PROFILE_VERSION); in pan_register_with_sdp() 95 SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, in pan_register_with_sdp() 99 SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_DESCRIPTION, TEXT_STR_DESC_TYPE, in pan_register_with_sdp() 106 SDP_AddAttribute(sdp_handle, ATTR_ID_SECURITY_DESCRIPTION, UINT_DESC_TYPE, 2, in pan_register_with_sdp() [all …]
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_sdp.cc | 92 uint32_t sdp_handle) { in bta_hf_client_add_record() argument 113 result &= SDP_AddProtocolList(sdp_handle, BTA_HF_CLIENT_NUM_PROTO_ELEMS, in bta_hf_client_add_record() 119 result &= SDP_AddServiceClassIdList(sdp_handle, BTA_HF_CLIENT_NUM_SVC_ELEMS, in bta_hf_client_add_record() 129 result &= SDP_AddProfileDescriptorList(sdp_handle, profile_uuid, version); in bta_hf_client_add_record() 134 sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, in bta_hf_client_add_record() 156 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, in bta_hf_client_add_record() 160 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, in bta_hf_client_add_record() 179 if (client_cb_arr->sdp_handle == 0) { in bta_hf_client_create_record() 180 client_cb_arr->sdp_handle = SDP_CreateRecord(); in bta_hf_client_create_record() 184 client_cb_arr->sdp_handle); in bta_hf_client_create_record() [all …]
|
D | bta_hf_client_int.h | 190 uint32_t sdp_handle; member 237 uint32_t sdp_handle);
|
/system/bt/stack/avrc/ |
D | avrc_sdp.cc | 187 uint32_t sdp_handle, bool browse_supported, in AVRC_AddRecord() argument 210 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 SDP_AddAdditionProtoLists(sdp_handle, 1, &avrc_add_proto_desc_list); in AVRC_AddRecord() 255 sdp_handle, UUID_SERVCLASS_AV_REMOTE_CONTROL, profile_version); in AVRC_AddRecord() 260 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, in AVRC_AddRecord() 266 sdp_handle, ATTR_ID_PROVIDER_NAME, TEXT_STR_DESC_TYPE, in AVRC_AddRecord() 273 sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, in AVRC_AddRecord() 279 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, in AVRC_AddRecord()
|
/system/bt/bta/test/ |
D | bta_hf_client_add_record_test.cc | 43 uint32_t sdp_handle = 0; in TEST_F() local 47 bta_hf_client_add_record("Handsfree", scn, features, sdp_handle); in TEST_F() 49 sdp_handle++; in TEST_F() 52 bta_hf_client_add_record("Handsfree", scn, features, sdp_handle); in TEST_F()
|
/system/bt/stack/a2dp/ |
D | a2dp_api.cc | 175 uint32_t sdp_handle) { in A2DP_AddRecord() argument 184 if ((sdp_handle == 0) || (service_uuid != UUID_SERVCLASS_AUDIO_SOURCE && in A2DP_AddRecord() 189 result &= SDP_AddServiceClassIdList(sdp_handle, 1, &service_uuid); in A2DP_AddRecord() 202 result &= SDP_AddProtocolList(sdp_handle, A2DP_NUM_PROTO_ELEMS, proto_list); in A2DP_AddRecord() 206 sdp_handle, UUID_SERVCLASS_ADV_AUDIO_DISTRIBUTION, A2DP_VERSION); in A2DP_AddRecord() 212 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, in A2DP_AddRecord() 219 sdp_handle, ATTR_ID_PROVIDER_NAME, TEXT_STR_DESC_TYPE, in A2DP_AddRecord() 226 sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, in A2DP_AddRecord() 232 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, in A2DP_AddRecord()
|
/system/bt/bta/ag/ |
D | bta_ag_sdp.cc | 130 uint32_t sdp_handle) { in bta_ag_add_record() argument 154 SDP_AddProtocolList(sdp_handle, BTA_AG_NUM_PROTO_ELEMS, proto_elem_list); in bta_ag_add_record() 159 result &= SDP_AddServiceClassIdList(sdp_handle, BTA_AG_NUM_SVC_ELEMS, in bta_ag_add_record() 170 result &= SDP_AddProfileDescriptorList(sdp_handle, profile_uuid, version); in bta_ag_add_record() 175 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() 193 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, in bta_ag_add_record() 198 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, in bta_ag_add_record() 223 if (bta_ag_cb.profile[i].sdp_handle == 0) { in bta_ag_create_records() 224 bta_ag_cb.profile[i].sdp_handle = SDP_CreateRecord(); in bta_ag_create_records() [all …]
|
D | bta_ag_int.h | 183 uint32_t sdp_handle; member 322 uint32_t sdp_handle);
|
/system/bt/bta/hd/ |
D | bta_hd_act.cc | 131 if (bta_hd_cb.sdp_handle != 0) { in bta_hd_api_disable() 132 SDP_DeleteRecord(bta_hd_cb.sdp_handle); in bta_hd_api_disable() 184 if (bta_hd_cb.sdp_handle != 0) { in bta_hd_register_act() 185 SDP_DeleteRecord(bta_hd_cb.sdp_handle); in bta_hd_register_act() 189 bta_hd_cb.sdp_handle = SDP_CreateRecord(); in bta_hd_register_act() 190 HID_DevAddRecord(bta_hd_cb.sdp_handle, p_app_data->name, in bta_hd_register_act() 232 if (bta_hd_cb.sdp_handle != 0) { in bta_hd_unregister_act() 233 SDP_DeleteRecord(bta_hd_cb.sdp_handle); in bta_hd_unregister_act() 236 bta_hd_cb.sdp_handle = 0; in bta_hd_unregister_act()
|
D | bta_hd_int.h | 134 uint32_t sdp_handle; member
|
/system/bt/stack/include/ |
D | a2dp_api.h | 123 uint32_t sdp_handle);
|
D | avrc_api.h | 236 uint32_t sdp_handle, bool browse_supported,
|
/system/bt/stack/gatt/ |
D | gatt_utils.cc | 772 uint32_t sdp_handle = SDP_CreateRecord(); in gatt_add_sdp_record() local 773 if (sdp_handle == 0) return 0; in gatt_add_sdp_record() 778 SDP_AddServiceClassIdList(sdp_handle, 1, &tmp); in gatt_add_sdp_record() 786 SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_CLASS_ID_LIST, in gatt_add_sdp_record() 794 SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_CLASS_ID_LIST, in gatt_add_sdp_record() 809 SDP_AddProtocolList(sdp_handle, 2, proto_elem_list); in gatt_add_sdp_record() 813 SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &list); in gatt_add_sdp_record() 815 return (sdp_handle); in gatt_add_sdp_record()
|
D | gatt_api.cc | 289 elem.sdp_handle = gatt_add_sdp_record(*p_uuid, elem.s_hdl, elem.e_hdl); in GATTS_AddService() 291 elem.sdp_handle = 0; in GATTS_AddService() 298 << ", sdp_hdl=" << loghex(elem.sdp_handle); in GATTS_AddService() 388 if (it->sdp_handle) { in GATTS_StopService() 389 SDP_DeleteRecord(it->sdp_handle); in GATTS_StopService()
|
D | gatt_int.h | 259 uint32_t sdp_handle; /* primamry service SDP handle */ member
|
/system/bt/profile/avrcp/ |
D | avrcp_internal.h | 35 uint32_t sdp_handle, bool browse_supported,
|
/system/bt/include/hardware/ |
D | bt_sdp.h | 153 bt_status_t (*remove_sdp_record)(int sdp_handle);
|
/system/bt/bta/jv/ |
D | bta_jv_int.h | 114 uint32_t sdp_handle[BTA_JV_MAX_SDP_REC]; /* SDP records created */ member
|
/system/bt/btif/avrcp/ |
D | avrcp_service.cc | 65 uint32_t sdp_handle, bool browse_supported, in AddRecord() argument 68 categories, sdp_handle, browse_supported, in AddRecord()
|