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.cc233 p_rec = SDP_FindServiceInDb(client_cb->p_disc_db, in bta_hf_client_sdp_find_attr()
324 client_cb->p_disc_db = (tSDP_DISCOVERY_DB*)osi_malloc(BT_DEFAULT_BUFFER_SIZE); in bta_hf_client_do_disc()
327 db_inited = SDP_InitDiscoveryDb(client_cb->p_disc_db, BT_DEFAULT_BUFFER_SIZE, in bta_hf_client_do_disc()
333 client_cb->peer_addr, client_cb->p_disc_db, bta_hf_client_sdp_cback, in bta_hf_client_do_disc()
339 osi_free_and_reset((void**)&client_cb->p_disc_db); in bta_hf_client_do_disc()
367 osi_free_and_reset((void**)&client_cb->p_disc_db); in bta_hf_client_free_db()
Dbta_hf_client_rfc.cc293 if (client_cb->p_disc_db) { in bta_hf_client_rfc_do_close()
294 (void)SDP_CancelServiceSearch(client_cb->p_disc_db); in bta_hf_client_rfc_do_close()
295 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.h168 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.cc1314 osi_free_and_reset((void**)&p_cb->p_disc_db); in bta_av_disable()
1640 p_rec = SDP_FindServiceInDb(p_cb->p_disc_db, service_uuid, p_rec); in bta_av_check_peer_features()
1648 if (SDP_FindServiceInDb(p_cb->p_disc_db, UUID_SERVCLASS_AV_REMOTE_CONTROL, in bta_av_check_peer_features()
1652 if (SDP_FindServiceInDb(p_cb->p_disc_db, in bta_av_check_peer_features()
1702 SDP_FindServiceInDb(p_cb->p_disc_db, service_uuid, NULL); in bta_avk_check_peer_features()
1710 if (SDP_FindServiceInDb(p_cb->p_disc_db, UUID_SERVCLASS_AV_REMOTE_CONTROL, in bta_avk_check_peer_features()
1714 if (SDP_FindServiceInDb(p_cb->p_disc_db, in bta_avk_check_peer_features()
1760 p_rec = SDP_FindServiceInDb(p_cb->p_disc_db, service_uuid, p_rec); in bta_avk_check_peer_features()
1782 SDP_FindServiceInDb(p_cb->p_disc_db, UUID_SERVCLASS_AV_REM_CTRL_TARGET, in bta_avk_get_cover_art_psm()
1860 p_rec = SDP_FindServiceInDb(p_cb->p_disc_db, in bta_avk_get_cover_art_psm()
[all …]
Dbta_av_int.h593 tSDP_DISCOVERY_DB* p_disc_db; /* pointer to discovery database */ member