/system/bt/btif/src/ |
D | btif_sdp_server.cc | 62 int sdp_handle; member 226 handle = sdp_slots[id].sdp_handle; in free_sdp_slot() 227 sdp_slots[id].sdp_handle = 0; in free_sdp_slot() 269 sdp_slots[id].sdp_handle = handle; in set_sdp_handle() 378 uint32_t sdp_handle = 0; in add_maps_sdp() local 382 sdp_handle = SDP_CreateRecord(); in add_maps_sdp() 383 if (sdp_handle == 0) { in add_maps_sdp() 385 return sdp_handle; in add_maps_sdp() 389 status &= SDP_AddServiceClassIdList(sdp_handle, 1, &service); in add_maps_sdp() 400 status &= SDP_AddProtocolList(sdp_handle, 3, protoList); in add_maps_sdp() [all …]
|
D | btif_sock_sdp.cc | 87 static bool create_base_record(const uint32_t sdp_handle, const char* name, in create_base_record() argument 113 if (!SDP_AddProtocolList(sdp_handle, num_proto_elements, proto_list)) in create_base_record() 119 if (!SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, in create_base_record() 125 if (!SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &list)) in create_base_record() 131 sdp_handle, channel, name, with_obex); in create_base_record()
|
D | btif_sock_rfc.cc | 84 int sdp_handle; member 117 rfc_slots[i].sdp_handle = 0; in btsock_rfc_init() 384 slot->sdp_handle = in create_server_sdp_record() 386 return (slot->sdp_handle > 0); in create_server_sdp_record() 419 if (slot->sdp_handle > 0) { in cleanup_rfc_slot() 420 del_rfc_sdp_rec(slot->sdp_handle); in cleanup_rfc_slot() 421 slot->sdp_handle = 0; in cleanup_rfc_slot()
|
/system/bt/stack/pan/ |
D | pan_utils.cc | 67 uint32_t sdp_handle; in pan_register_with_sdp() local 73 sdp_handle = SDP_CreateRecord(); in pan_register_with_sdp() 75 if (sdp_handle == 0) { in pan_register_with_sdp() 81 SDP_AddServiceClassIdList(sdp_handle, 1, &uuid); in pan_register_with_sdp() 84 SDP_AddAttribute(sdp_handle, ATTR_ID_PROTOCOL_DESC_LIST, in pan_register_with_sdp() 89 SDP_AddLanguageBaseAttrIDList(sdp_handle, LANG_ID_CODE_ENGLISH, in pan_register_with_sdp() 93 SDP_AddProfileDescriptorList(sdp_handle, uuid, PAN_PROFILE_VERSION); in pan_register_with_sdp() 96 SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, in pan_register_with_sdp() 100 SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_DESCRIPTION, TEXT_STR_DESC_TYPE, in pan_register_with_sdp() 108 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 | 95 uint32_t sdp_handle) { in bta_hf_client_add_record() argument 116 result &= SDP_AddProtocolList(sdp_handle, BTA_HF_CLIENT_NUM_PROTO_ELEMS, in bta_hf_client_add_record() 122 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 | 197 uint32_t sdp_handle; member 242 uint32_t sdp_handle);
|
/system/bt/stack/avrc/ |
D | avrc_sdp.cc | 190 uint32_t sdp_handle, bool browse_supported, in AVRC_AddRecord() argument 215 result &= SDP_AddServiceClassIdList(sdp_handle, count, class_list); in AVRC_AddRecord() 239 result &= SDP_AddProtocolList(sdp_handle, AVRC_NUM_PROTO_ELEMS, in AVRC_AddRecord() 292 result &= SDP_AddAdditionProtoLists(sdp_handle, num_additional_protocols, in AVRC_AddRecord() 298 sdp_handle, UUID_SERVCLASS_AV_REMOTE_CONTROL, profile_version); in AVRC_AddRecord() 303 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, in AVRC_AddRecord() 309 sdp_handle, ATTR_ID_PROVIDER_NAME, TEXT_STR_DESC_TYPE, in AVRC_AddRecord() 316 sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, in AVRC_AddRecord() 322 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, in AVRC_AddRecord() 341 uint16_t AVRC_RemoveRecord(uint32_t sdp_handle) { in AVRC_RemoveRecord() argument [all …]
|
/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 | 127 uint32_t sdp_handle) { in bta_ag_add_record() argument 151 SDP_AddProtocolList(sdp_handle, BTA_AG_NUM_PROTO_ELEMS, proto_elem_list); in bta_ag_add_record() 156 result &= SDP_AddServiceClassIdList(sdp_handle, BTA_AG_NUM_SVC_ELEMS, in bta_ag_add_record() 167 result &= SDP_AddProfileDescriptorList(sdp_handle, profile_uuid, version); in bta_ag_add_record() 172 sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, in bta_ag_add_record() 179 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_DATA_STORES_OR_NETWORK, in bta_ag_add_record() 190 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, in bta_ag_add_record() 195 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, in bta_ag_add_record() 220 if (bta_ag_cb.profile[i].sdp_handle == 0) { in bta_ag_create_records() 221 bta_ag_cb.profile[i].sdp_handle = SDP_CreateRecord(); in bta_ag_create_records() [all …]
|
D | bta_ag_int.h | 189 uint32_t sdp_handle; member 336 uint32_t sdp_handle);
|
/system/bt/test/mock/ |
D | mock_stack_avrc_sdp.cc | 39 uint32_t sdp_handle, bool browse_supported, in AVRC_AddRecord() argument 50 uint16_t AVRC_RemoveRecord(uint32_t sdp_handle) { in AVRC_RemoveRecord() argument
|
D | mock_stack_a2dp_api.cc | 42 uint32_t sdp_handle) { in A2DP_AddRecord() argument
|
D | mock_a2dp_api.cc | 42 uint32_t sdp_handle) { in A2DP_AddRecord() argument
|
/system/bt/bta/test/ |
D | bta_hf_client_add_record_test.cc | 66 uint32_t sdp_handle = 0; in TEST_F() local 69 bta_hf_client_add_record("Handsfree", scn, features, sdp_handle); in TEST_F()
|
/system/bt/bta/hd/ |
D | bta_hd_act.cc | 127 if (bta_hd_cb.sdp_handle != 0) { in bta_hd_api_disable() 128 SDP_DeleteRecord(bta_hd_cb.sdp_handle); in bta_hd_api_disable() 180 if (bta_hd_cb.sdp_handle != 0) { in bta_hd_register_act() 181 SDP_DeleteRecord(bta_hd_cb.sdp_handle); in bta_hd_register_act() 185 bta_hd_cb.sdp_handle = SDP_CreateRecord(); in bta_hd_register_act() 186 HID_DevAddRecord(bta_hd_cb.sdp_handle, p_app_data->name, in bta_hd_register_act() 228 if (bta_hd_cb.sdp_handle != 0) { in bta_hd_unregister_act() 229 SDP_DeleteRecord(bta_hd_cb.sdp_handle); in bta_hd_unregister_act() 232 bta_hd_cb.sdp_handle = 0; in bta_hd_unregister_act()
|
D | bta_hd_int.h | 138 uint32_t sdp_handle; member
|
/system/bt/profile/avrcp/ |
D | avrcp_internal.h | 38 uint32_t sdp_handle, bool browse_supported, 42 virtual uint16_t RemoveRecord(uint32_t sdp_handle) = 0;
|
/system/bt/stack/include/ |
D | a2dp_api.h | 123 uint32_t sdp_handle);
|
D | avrc_api.h | 279 uint32_t sdp_handle, bool browse_supported, 296 extern uint16_t AVRC_RemoveRecord(uint32_t sdp_handle);
|
/system/bt/include/hardware/ |
D | bt_sdp.h | 165 bt_status_t (*remove_sdp_record)(int sdp_handle);
|
/system/bt/stack/gatt/ |
D | gatt_utils.cc | 842 uint32_t sdp_handle = SDP_CreateRecord(); in gatt_add_sdp_record() local 843 if (sdp_handle == 0) return 0; in gatt_add_sdp_record() 848 SDP_AddServiceClassIdList(sdp_handle, 1, &tmp); in gatt_add_sdp_record() 856 SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_CLASS_ID_LIST, in gatt_add_sdp_record() 864 SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_CLASS_ID_LIST, in gatt_add_sdp_record() 879 SDP_AddProtocolList(sdp_handle, 2, proto_elem_list); in gatt_add_sdp_record() 883 SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &list); in gatt_add_sdp_record() 885 return (sdp_handle); in gatt_add_sdp_record()
|
D | gatt_api.cc | 313 elem.sdp_handle = gatt_add_sdp_record(*p_uuid, elem.s_hdl, elem.e_hdl); in GATTS_AddService() 315 elem.sdp_handle = 0; in GATTS_AddService() 322 << ", sdp_hdl=" << loghex(elem.sdp_handle); in GATTS_AddService() 414 if (it->sdp_handle) { in GATTS_StopService() 415 SDP_DeleteRecord(it->sdp_handle); in GATTS_StopService()
|
D | gatt_int.h | 278 uint32_t sdp_handle; /* primamry service SDP handle */ member
|
/system/bt/btif/avrcp/ |
D | avrcp_service.cc | 59 uint32_t sdp_handle, bool browse_supported, in AddRecord() argument 63 categories, sdp_handle, browse_supported, in AddRecord() 67 uint16_t RemoveRecord(uint32_t sdp_handle) { in RemoveRecord() argument 68 return AVRC_RemoveRecord(sdp_handle); in RemoveRecord()
|
/system/bt/bta/jv/ |
D | bta_jv_int.h | 112 uint32_t sdp_handle[BTA_JV_MAX_SDP_REC]; /* SDP records created */ member
|