Home
last modified time | relevance | path

Searched refs:get_legacy_stack_sdp_api (Results 1 – 25 of 36) sorted by relevance

12

/packages/modules/Bluetooth/system/btif/src/
Dbtif_sdp_server.cc431 result = get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(handle); in on_remove_record_event()
454 sdp_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in add_maps_sdp()
461 status &= get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList( in add_maps_sdp()
473 status &= get_legacy_stack_sdp_api()->handle.SDP_AddProtocolList( in add_maps_sdp()
477 status &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in add_maps_sdp()
483 status &= get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList( in add_maps_sdp()
487 status &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in add_maps_sdp()
492 status &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in add_maps_sdp()
498 status &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in add_maps_sdp()
506 status &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in add_maps_sdp()
[all …]
Dbtif_sock_sdp.cc120 if (!get_legacy_stack_sdp_api()->handle.SDP_AddProtocolList( in create_base_record()
127 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in create_base_record()
134 if (!get_legacy_stack_sdp_api()->handle.SDP_AddUuidSequence( in create_base_record()
160 uint32_t handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in add_sdp_by_uuid()
189 if (!get_legacy_stack_sdp_api()->handle.SDP_AddSequence( in add_sdp_by_uuid()
207 if (get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(handle)) { in add_sdp_by_uuid()
220 uint32_t handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in add_pbap_sdp()
236 if (!get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList(handle, 1, in add_pbap_sdp()
242 if (!get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList( in add_pbap_sdp()
248 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in add_pbap_sdp()
[all …]
/packages/modules/Bluetooth/system/stack/test/sdp/
Dstack_sdp_db_test.cc28 using bluetooth::legacy::stack::sdp::get_legacy_stack_sdp_api;
45 get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in TEST_F()
59 get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(record_handle)); in TEST_F()
64 get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in TEST_F()
67 ASSERT_TRUE(get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in TEST_F()
85 get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(record_handle)); in TEST_F()
90 get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in TEST_F()
94 ASSERT_TRUE(get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in TEST_F()
97 ASSERT_TRUE(get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in TEST_F()
100 ASSERT_TRUE(get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in TEST_F()
[all …]
Dstack_sdp_parse_test.cc44 using bluetooth::legacy::stack::sdp::get_legacy_stack_sdp_api;
110 const bool success = get_legacy_stack_sdp_api()->service.SDP_InitDiscoveryDb( in TEST_F()
114 ASSERT_TRUE(get_legacy_stack_sdp_api()->service.SDP_ServiceSearchRequest( in TEST_F()
123 ASSERT_TRUE(get_legacy_stack_sdp_api()->service.SDP_InitDiscoveryDb( in SetUp()
125 ASSERT_TRUE(get_legacy_stack_sdp_api()->service.SDP_ServiceSearchRequest( in SetUp()
187 get_legacy_stack_sdp_api() in TEST_F_WITH_FLAGS()
194 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb_128bit( in TEST_F_WITH_FLAGS()
200 get_legacy_stack_sdp_api()->record.SDP_FindServiceUUIDInRec_128bit( in TEST_F_WITH_FLAGS()
208 get_legacy_stack_sdp_api() in TEST_F_WITH_FLAGS()
216 get_legacy_stack_sdp_api()->record.SDP_FindProtocolListElemInRec( in TEST_F_WITH_FLAGS()
[all …]
/packages/modules/Bluetooth/system/stack/test/fuzzers/sdp/
DsdpFuzzFunctions.h63 get_legacy_stack_sdp_api()->service.SDP_InitDiscoveryDb(
76 get_legacy_stack_sdp_api()->service.SDP_CancelServiceSearch(
87 get_legacy_stack_sdp_api()->service.SDP_ServiceSearchRequest(
99 get_legacy_stack_sdp_api()
115 get_legacy_stack_sdp_api()
127 get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec(
134 get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb(
144 get_legacy_stack_sdp_api()->db.SDP_FindServiceUUIDInDb(
155 get_legacy_stack_sdp_api()
162 get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb_128bit(
[all …]
/packages/modules/Bluetooth/system/bta/sdp/
Dbta_sdp_act.cc61 p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in bta_create_mns_sdp_record()
74 p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in bta_create_mns_sdp_record()
88 if (get_legacy_stack_sdp_api()->record.SDP_FindProfileVersionInRec( in bta_create_mns_sdp_record()
93 if (get_legacy_stack_sdp_api()->record.SDP_FindProtocolListElemInRec( in bta_create_mns_sdp_record()
98 p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in bta_create_mns_sdp_record()
128 p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in bta_create_mas_sdp_record()
141 p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in bta_create_mas_sdp_record()
154 p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in bta_create_mas_sdp_record()
167 p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in bta_create_mas_sdp_record()
181 if (get_legacy_stack_sdp_api()->record.SDP_FindProfileVersionInRec( in bta_create_mas_sdp_record()
[all …]
/packages/modules/Bluetooth/system/stack/hid/
Dhidd_api.cc155 result &= get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList( in HID_DevAddRecord()
170 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProtocolList( in HID_DevAddRecord()
176 result &= get_legacy_stack_sdp_api()->handle.SDP_AddLanguageBaseAttrIDList( in HID_DevAddRecord()
192 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAdditionProtoLists( in HID_DevAddRecord()
204 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in HID_DevAddRecord()
208 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in HID_DevAddRecord()
212 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in HID_DevAddRecord()
222 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList( in HID_DevAddRecord()
240 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in HID_DevAddRecord()
245 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in HID_DevAddRecord()
[all …]
Dhidh_api.cc75 if (!get_legacy_stack_sdp_api()->service.SDP_InitDiscoveryDb( in HID_HostGetSDPRecord()
80 if (get_legacy_stack_sdp_api()->service.SDP_ServiceSearchRequest( in HID_HostGetSDPRecord()
100 get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec(p_rec, attr_id); in hidh_get_str_attr()
136 p_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceUUIDInDb(p_db, hid_uuid, in hidh_search_callback()
146 if (((p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in hidh_search_callback()
163 if (((p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in hidh_search_callback()
171 if (((p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in hidh_search_callback()
179 if (((p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in hidh_search_callback()
188 if (((p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in hidh_search_callback()
196 if (((p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in hidh_search_callback()
[all …]
/packages/modules/Bluetooth/system/bta/hf_client/
Dbta_hf_client_sdp.cc124 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProtocolList( in bta_hf_client_add_record()
130 result &= get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList( in bta_hf_client_add_record()
137 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList( in bta_hf_client_add_record()
142 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in bta_hf_client_add_record()
170 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in bta_hf_client_add_record()
174 result &= get_legacy_stack_sdp_api()->handle.SDP_AddUuidSequence( in bta_hf_client_add_record()
195 get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in bta_hf_client_create_record()
219 if (get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord( in bta_hf_client_del_record()
250 p_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_hf_client_sdp_find_attr()
258 if (get_legacy_stack_sdp_api()->record.SDP_FindProtocolListElemInRec( in bta_hf_client_sdp_find_attr()
[all …]
/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_api.cc88 if ((p_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in a2dp_sdp_cback()
96 if ((p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in a2dp_sdp_cback()
109 if ((p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in a2dp_sdp_cback()
122 if ((p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in a2dp_sdp_cback()
135 if (get_legacy_stack_sdp_api()->record.SDP_FindProtocolListElemInRec( in a2dp_sdp_cback()
218 result &= get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList( in A2DP_AddRecord()
232 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProtocolList( in A2DP_AddRecord()
236 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList( in A2DP_AddRecord()
243 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in A2DP_AddRecord()
250 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in A2DP_AddRecord()
[all …]
/packages/modules/Bluetooth/system/stack/pan/
Dpan_utils.cc77 sdp_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in pan_register_with_sdp()
85 if (!get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList(sdp_handle, in pan_register_with_sdp()
91 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in pan_register_with_sdp()
98 if (!get_legacy_stack_sdp_api()->handle.SDP_AddLanguageBaseAttrIDList( in pan_register_with_sdp()
105 if (!get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList( in pan_register_with_sdp()
111 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in pan_register_with_sdp()
118 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in pan_register_with_sdp()
130 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in pan_register_with_sdp()
145 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in pan_register_with_sdp()
154 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in pan_register_with_sdp()
[all …]
Dpan_api.cc178 if (!get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord( in PAN_SetRole()
194 if (!get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord( in PAN_SetRole()
212 if (!get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord( in PAN_SetRole()
228 if (get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord( in PAN_SetRole()
/packages/modules/Bluetooth/system/bta/ag/
Dbta_ag_sdp.cc174 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProtocolList( in bta_ag_add_record()
180 result &= get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList( in bta_ag_add_record()
195 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList( in bta_ag_add_record()
200 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in bta_ag_add_record()
208 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in bta_ag_add_record()
224 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in bta_ag_add_record()
229 result &= get_legacy_stack_sdp_api()->handle.SDP_AddUuidSequence( in bta_ag_add_record()
256 get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in bta_ag_create_records()
303 if (!get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord( in bta_ag_del_records()
351 p_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb(p_scb->p_disc_db, in bta_ag_sdp_find_attr()
[all …]
/packages/modules/Bluetooth/system/bta/ar/
Dbta_ar.cc68 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in bta_ar_avrc_add_cat()
213 get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in bta_ar_reg_avrc()
227 get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in bta_ar_reg_avrc()
237 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in bta_ar_reg_avrc()
265 if (!get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord( in bta_ar_dereg_avrc()
279 if (get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord( in bta_ar_dereg_avrc()
290 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in bta_ar_dereg_avrc()
327 get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in bta_ar_reg_avrc_for_src_sink_coexist()
343 get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in bta_ar_reg_avrc_for_src_sink_coexist()
362 if (!get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList( in bta_ar_reg_avrc_for_src_sink_coexist()
[all …]
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_disc_sdp.cc91 get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in store_avrcp_profile_feature()
131 tSDP_DISC_REC* sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_dm_store_audio_profiles_version()
135 if (get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in bta_dm_store_audio_profiles_version()
141 if (!get_legacy_stack_sdp_api()->record.SDP_FindProfileVersionInRec( in bta_dm_store_audio_profiles_version()
178 get_legacy_stack_sdp_api()->record.SDP_FindProtocolListElemInRec( in bta_dm_sdp_result()
185 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_dm_sdp_result()
194 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_dm_sdp_result()
198 if (get_legacy_stack_sdp_api()->record.SDP_FindServiceUUIDInRec( in bta_dm_sdp_result()
233 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb_128bit( in bta_dm_sdp_result()
238 if (get_legacy_stack_sdp_api()->record.SDP_FindServiceUUIDInRec_128bit( in bta_dm_sdp_result()
[all …]
Dbta_dm_disc_legacy.cc538 get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in store_avrcp_profile_feature()
578 tSDP_DISC_REC* sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_dm_store_audio_profiles_version()
582 if (get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in bta_dm_store_audio_profiles_version()
588 if (!get_legacy_stack_sdp_api()->record.SDP_FindProfileVersionInRec( in bta_dm_store_audio_profiles_version()
634 get_legacy_stack_sdp_api()->record.SDP_FindProtocolListElemInRec( in bta_dm_sdp_result()
642 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_dm_sdp_result()
654 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_dm_sdp_result()
658 if (get_legacy_stack_sdp_api()->record.SDP_FindServiceUUIDInRec( in bta_dm_sdp_result()
704 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb_128bit( in bta_dm_sdp_result()
709 if (get_legacy_stack_sdp_api()->record.SDP_FindServiceUUIDInRec_128bit( in bta_dm_sdp_result()
[all …]
/packages/modules/Bluetooth/system/stack/avrc/
Davrc_sdp.cc144 result = get_legacy_stack_sdp_api()->service.SDP_InitDiscoveryDb( in AVRC_FindService()
155 get_legacy_stack_sdp_api()->service.SDP_ServiceSearchAttributeRequest( in AVRC_FindService()
237 result &= get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList( in AVRC_AddRecord()
262 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProtocolList( in AVRC_AddRecord()
316 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAdditionProtoLists( in AVRC_AddRecord()
321 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList( in AVRC_AddRecord()
327 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in AVRC_AddRecord()
333 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in AVRC_AddRecord()
340 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in AVRC_AddRecord()
347 result &= get_legacy_stack_sdp_api()->handle.SDP_AddUuidSequence( in AVRC_AddRecord()
[all …]
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_act.cc186 if (!get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(*p_sdp_handle)) { in bta_av_del_sdp_rec()
1788 if ((p_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_av_store_peer_rc_version()
1790 if ((get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in bta_av_store_peer_rc_version()
1793 if (!get_legacy_stack_sdp_api()->record.SDP_FindProfileVersionInRec( in bta_av_store_peer_rc_version()
1806 if ((p_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_av_store_peer_rc_version()
1808 if ((get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in bta_av_store_peer_rc_version()
1811 if (!get_legacy_stack_sdp_api()->record.SDP_FindProfileVersionInRec( in bta_av_store_peer_rc_version()
1846 p_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_av_check_peer_features()
1852 if ((get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in bta_av_check_peer_features()
1855 if (get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_av_check_peer_features()
[all …]
/packages/modules/Bluetooth/system/btif/avrcp/
Davrcp_service.cc146 return get_legacy_stack_sdp_api()->service.SDP_InitDiscoveryDb(a, b, c, d, in InitDiscoveryDb()
152 return get_legacy_stack_sdp_api() in ServiceSearchAttributeRequest()
158 return get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb(a, b, c); in FindServiceInDb()
162 return get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec(a, b); in FindAttributeInRec()
167 return get_legacy_stack_sdp_api()->record.SDP_FindProfileVersionInRec(a, b, in FindProfileVersionInRec()
401 sdp_record_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in Init()
409 ct_sdp_record_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in Init()
483 sdp_record_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in RegisterBipServer()
494 sdp_record_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in UnregisterBipServer()
/packages/modules/Bluetooth/system/test/headless/sdp/
Dsdp.cc50 if (!get_legacy_stack_sdp_api()->service.SDP_InitDiscoveryDb( in sdp_query_uuid()
64 if (!get_legacy_stack_sdp_api()->service.SDP_ServiceSearchAttributeRequest2( in sdp_query_uuid()
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_cache.cc375 tSDP_DISC_REC* p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_gattc_sdp_callback()
380 if (!get_legacy_stack_sdp_api()->record.SDP_FindServiceUUIDInRec( in bta_gattc_sdp_callback()
385 if (!get_legacy_stack_sdp_api()->record.SDP_FindProtocolListElemInRec( in bta_gattc_sdp_callback()
401 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_gattc_sdp_callback()
410 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_gattc_sdp_callback()
443 if (!get_legacy_stack_sdp_api()->service.SDP_InitDiscoveryDb( in bta_gattc_sdp_service_disc()
450 if (!get_legacy_stack_sdp_api()->service.SDP_ServiceSearchAttributeRequest2( in bta_gattc_sdp_service_disc()
/packages/modules/Bluetooth/system/bta/hd/
Dbta_hd_act.cc135 if (!get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord( in bta_hd_api_disable()
195 if (!get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord( in bta_hd_register_act()
202 bta_hd_cb.sdp_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in bta_hd_register_act()
246 if (!get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord( in bta_hd_unregister_act()
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_sdp_legacy_api.cc80 bluetooth::legacy::stack::sdp::get_legacy_stack_sdp_api() { in get_legacy_stack_sdp_api() function in bluetooth::legacy::stack::sdp
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_utils.cc939 uint32_t sdp_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in gatt_add_sdp_record()
945 if (!get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList( in gatt_add_sdp_record()
956 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in gatt_add_sdp_record()
968 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in gatt_add_sdp_record()
987 if (!get_legacy_stack_sdp_api()->handle.SDP_AddProtocolList( in gatt_add_sdp_record()
994 if (!get_legacy_stack_sdp_api()->handle.SDP_AddUuidSequence( in gatt_add_sdp_record()
/packages/modules/Bluetooth/system/stack/include/
Dsdp_api.h585 const struct tSdpApi* get_legacy_stack_sdp_api();

12