Home
last modified time | relevance | path

Searched refs:p_disc_db (Results 1 – 12 of 12) sorted by relevance

/system/bt/bta/hf_client/
Dbta_hf_client_sdp.cc229 p_rec = SDP_FindServiceInDb(client_cb->p_disc_db, in bta_hf_client_sdp_find_attr()
320 client_cb->p_disc_db = (tSDP_DISCOVERY_DB*)osi_malloc(BT_DEFAULT_BUFFER_SIZE); in bta_hf_client_do_disc()
323 db_inited = SDP_InitDiscoveryDb(client_cb->p_disc_db, BT_DEFAULT_BUFFER_SIZE, in bta_hf_client_do_disc()
329 client_cb->peer_addr, client_cb->p_disc_db, bta_hf_client_sdp_cback, in bta_hf_client_do_disc()
335 osi_free_and_reset((void**)&client_cb->p_disc_db); in bta_hf_client_do_disc()
363 osi_free_and_reset((void**)&client_cb->p_disc_db); in bta_hf_client_free_db()
Dbta_hf_client_rfc.cc288 if (client_cb->p_disc_db) { in bta_hf_client_rfc_do_close()
289 (void)SDP_CancelServiceSearch(client_cb->p_disc_db); in bta_hf_client_rfc_do_close()
290 osi_free_and_reset((void**)&client_cb->p_disc_db); in bta_hf_client_rfc_do_close()
Dbta_hf_client_main.cc384 if (client_cb->p_disc_db) { in bta_hf_client_collision_cback()
385 (void)SDP_CancelServiceSearch(client_cb->p_disc_db); in bta_hf_client_collision_cback()
386 osi_free_and_reset((void**)&client_cb->p_disc_db); in bta_hf_client_collision_cback()
Dbta_hf_client_int.h166 tSDP_DISCOVERY_DB* p_disc_db; /* pointer to discovery database */ member
/system/bt/bta/ag/
Dbta_ag_sdp.cc316 p_rec = SDP_FindServiceInDb(p_scb->p_disc_db, uuid, p_rec); in bta_ag_sdp_find_attr()
322 p_rec = SDP_FindServiceInDb(p_scb->p_disc_db, uuid, p_rec); in bta_ag_sdp_find_attr()
481 p_scb->p_disc_db = (tSDP_DISCOVERY_DB*)osi_malloc(BTA_AG_DISC_BUF_SIZE); in bta_ag_do_disc()
483 if (SDP_InitDiscoveryDb(p_scb->p_disc_db, BTA_AG_DISC_BUF_SIZE, num_uuid, in bta_ag_do_disc()
486 p_scb->peer_addr, p_scb->p_disc_db, in bta_ag_do_disc()
513 osi_free_and_reset((void**)&p_scb->p_disc_db); in bta_ag_free_db()
Dbta_ag_act.cc847 if (p_scb->p_disc_db) { in bta_ag_handle_collision()
848 SDP_CancelServiceSearch(p_scb->p_disc_db); in bta_ag_handle_collision()
Dbta_ag_int.h198 tSDP_DISCOVERY_DB* p_disc_db; /* pointer to discovery database */ member
/system/bt/bta/hh/
Dbta_hh_act.cc229 osi_free_and_reset((void**)&bta_hh_cb.p_disc_db); in bta_hh_sdp_cback()
265 SDP_GetNumDiRecords(bta_hh_cb.p_disc_db) != 0) { in bta_hh_di_sdp_cback()
267 if (SDP_GetDiRecord(1, &di_rec, bta_hh_cb.p_disc_db) == SDP_SUCCESS) { in bta_hh_di_sdp_cback()
277 ret = HID_HostGetSDPRecord(p_cb->addr, bta_hh_cb.p_disc_db, in bta_hh_di_sdp_cback()
290 osi_free_and_reset((void**)&bta_hh_cb.p_disc_db); in bta_hh_di_sdp_cback()
351 else if (!bta_hh_cb.p_disc_db) { in bta_hh_start_sdp()
352 bta_hh_cb.p_disc_db = in bta_hh_start_sdp()
356 if (SDP_DiDiscover(p_data->api_conn.bd_addr, bta_hh_cb.p_disc_db, in bta_hh_start_sdp()
364 osi_free_and_reset((void**)&bta_hh_cb.p_disc_db); in bta_hh_start_sdp()
368 } else if (bta_hh_cb.p_disc_db) { in bta_hh_start_sdp()
Dbta_hh_utils.cc445 if (bta_hh_cb.p_disc_db) { in bta_hh_cleanup_disable()
447 (void)SDP_CancelServiceSearch (bta_hh_cb.p_disc_db); in bta_hh_cleanup_disable()
448 osi_free_and_reset((void**)&bta_hh_cb.p_disc_db); in bta_hh_cleanup_disable()
Dbta_hh_int.h292 tSDP_DISCOVERY_DB* p_disc_db; member
/system/bt/bta/av/
Dbta_av_act.cc1310 osi_free_and_reset((void**)&p_cb->p_disc_db); in bta_av_disable()
1631 p_rec = SDP_FindServiceInDb(p_cb->p_disc_db, service_uuid, p_rec); in bta_av_check_peer_features()
1639 if (SDP_FindServiceInDb(p_cb->p_disc_db, UUID_SERVCLASS_AV_REMOTE_CONTROL, in bta_av_check_peer_features()
1643 if (SDP_FindServiceInDb(p_cb->p_disc_db, in bta_av_check_peer_features()
1693 SDP_FindServiceInDb(p_cb->p_disc_db, service_uuid, NULL); in bta_avk_check_peer_features()
1701 if (SDP_FindServiceInDb(p_cb->p_disc_db, UUID_SERVCLASS_AV_REMOTE_CONTROL, in bta_avk_check_peer_features()
1705 if (SDP_FindServiceInDb(p_cb->p_disc_db, in bta_avk_check_peer_features()
1745 p_rec = SDP_FindServiceInDb(p_cb->p_disc_db, service_uuid, p_rec); in bta_avk_check_peer_features()
1817 p_rec = SDP_FindServiceInDb(p_cb->p_disc_db, in bta_av_rc_disc_done()
1834 osi_free_and_reset((void**)&p_cb->p_disc_db); in bta_av_rc_disc_done()
[all …]
Dbta_av_int.h592 tSDP_DISCOVERY_DB* p_disc_db; /* pointer to discovery database */ member