Home
last modified time | relevance | path

Searched refs:p_sdp_rec (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Bluetooth/system/stack/test/sdp/
Dstack_sdp_parse_test.cc181 tSDP_DISC_REC* p_sdp_rec = p_db_->p_first_rec; in TEST_F_WITH_FLAGS() local
182 ASSERT_NE(nullptr, p_sdp_rec); in TEST_F_WITH_FLAGS()
183 ASSERT_EQ(6U, sdp_get_num_attributes(*p_sdp_rec)); in TEST_F_WITH_FLAGS()
189 .SDP_FindAttributeInRec(p_sdp_rec, ATTR_ID_SERVICE_RECORD_HDL) in TEST_F_WITH_FLAGS()
193 p_sdp_rec = p_db_->p_first_rec; in TEST_F_WITH_FLAGS()
194 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb_128bit( in TEST_F_WITH_FLAGS()
195 p_db_, p_sdp_rec); in TEST_F_WITH_FLAGS()
198 p_sdp_rec = p_db_->p_first_rec; in TEST_F_WITH_FLAGS()
201 p_sdp_rec, &uuid_list[0])); in TEST_F_WITH_FLAGS()
210 .SDP_FindAttributeInRec(p_sdp_rec, ATTR_ID_SERVICE_RECORD_STATE) in TEST_F_WITH_FLAGS()
[all …]
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_disc_sdp.cc162 tSDP_DISC_REC* p_sdp_rec = NULL; in bta_dm_sdp_result() local
175 p_sdp_rec = NULL; in bta_dm_sdp_result()
177 if (p_sdp_rec && in bta_dm_sdp_result()
179 p_sdp_rec, UUID_PROTOCOL_RFCOMM, &pe)) { in bta_dm_sdp_result()
185 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_dm_sdp_result()
186 p_sdp_db, service, p_sdp_rec); in bta_dm_sdp_result()
194 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_dm_sdp_result()
195 p_sdp_db, 0, p_sdp_rec); in bta_dm_sdp_result()
196 if (p_sdp_rec) { in bta_dm_sdp_result()
199 p_sdp_rec, &service_uuid)) { in bta_dm_sdp_result()
[all …]
Dbta_dm_disc_legacy.cc617 tSDP_DISC_REC* p_sdp_rec = NULL; in bta_dm_sdp_result() local
631 p_sdp_rec = NULL; in bta_dm_sdp_result()
633 if (p_sdp_rec && in bta_dm_sdp_result()
635 p_sdp_rec, UUID_PROTOCOL_RFCOMM, &pe)) { in bta_dm_sdp_result()
642 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_dm_sdp_result()
643 bta_dm_search_cb.p_sdp_db, service, p_sdp_rec); in bta_dm_sdp_result()
654 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_dm_sdp_result()
655 bta_dm_search_cb.p_sdp_db, 0, p_sdp_rec); in bta_dm_sdp_result()
656 if (p_sdp_rec) { in bta_dm_sdp_result()
659 p_sdp_rec, &service_uuid)) { in bta_dm_sdp_result()
[all …]
/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() local
377 while (p_sdp_rec != nullptr) { in bta_gattc_sdp_callback()
381 p_sdp_rec, &service_uuid)) in bta_gattc_sdp_callback()
386 p_sdp_rec, UUID_PROTOCOL_ATT, &pe)) in bta_gattc_sdp_callback()
401 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_gattc_sdp_callback()
402 cb_data->p_sdp_db, 0, p_sdp_rec); in bta_gattc_sdp_callback()
410 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_gattc_sdp_callback()
411 cb_data->p_sdp_db, 0, p_sdp_rec); in bta_gattc_sdp_callback()
/packages/modules/Bluetooth/system/bta/jv/
Dbta_jv_act.cc824 tSDP_DISC_REC* p_sdp_rec = NULL; in bta_jv_start_discovery_cback() local
825 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceUUIDInDb( in bta_jv_start_discovery_cback()
826 p_bta_jv_cfg->p_sdp_db, bta_jv_cb.sdp_cb.uuid, p_sdp_rec); in bta_jv_start_discovery_cback()
828 fmt::ptr(p_sdp_rec)); in bta_jv_start_discovery_cback()
829 if (p_sdp_rec && in bta_jv_start_discovery_cback()
831 p_sdp_rec, UUID_PROTOCOL_RFCOMM, &pe)) { in bta_jv_start_discovery_cback()