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.cc286 if (client_cb->p_disc_db) { in bta_hf_client_rfc_do_close()
287 (void)SDP_CancelServiceSearch(client_cb->p_disc_db); in bta_hf_client_rfc_do_close()
288 osi_free_and_reset((void**)&client_cb->p_disc_db); in bta_hf_client_rfc_do_close()
Dbta_hf_client_main.cc383 if (client_cb->p_disc_db) { in bta_hf_client_collision_cback()
384 (void)SDP_CancelServiceSearch(client_cb->p_disc_db); in bta_hf_client_collision_cback()
385 osi_free_and_reset((void**)&client_cb->p_disc_db); in bta_hf_client_collision_cback()
Dbta_hf_client_int.h172 tSDP_DISCOVERY_DB* p_disc_db; /* pointer to discovery database */ member
/system/bt/bta/ag/
Dbta_ag_sdp.cc313 p_rec = SDP_FindServiceInDb(p_scb->p_disc_db, uuid, p_rec); in bta_ag_sdp_find_attr()
319 p_rec = SDP_FindServiceInDb(p_scb->p_disc_db, uuid, p_rec); in bta_ag_sdp_find_attr()
477 if (p_scb->p_disc_db != nullptr) { in bta_ag_do_disc()
484 p_scb->p_disc_db = (tSDP_DISCOVERY_DB*)osi_malloc(BTA_AG_DISC_BUF_SIZE); in bta_ag_do_disc()
486 if (SDP_InitDiscoveryDb(p_scb->p_disc_db, BTA_AG_DISC_BUF_SIZE, num_uuid, in bta_ag_do_disc()
489 p_scb->peer_addr, p_scb->p_disc_db, in bta_ag_do_disc()
516 osi_free_and_reset((void**)&p_scb->p_disc_db); in bta_ag_free_db()
Dbta_ag_act.cc844 if (p_scb->p_disc_db) { in bta_ag_handle_collision()
845 SDP_CancelServiceSearch(p_scb->p_disc_db); in bta_ag_handle_collision()
Dbta_ag_int.h204 tSDP_DISCOVERY_DB* p_disc_db; /* pointer to discovery database */ member
/system/bt/bta/hh/
Dbta_hh_act.cc232 osi_free_and_reset((void**)&bta_hh_cb.p_disc_db); in bta_hh_sdp_cback()
266 SDP_GetNumDiRecords(bta_hh_cb.p_disc_db) != 0) { in bta_hh_di_sdp_cback()
268 if (SDP_GetDiRecord(1, &di_rec, bta_hh_cb.p_disc_db) == SDP_SUCCESS) { in bta_hh_di_sdp_cback()
278 ret = HID_HostGetSDPRecord(p_cb->addr, bta_hh_cb.p_disc_db, in bta_hh_di_sdp_cback()
289 osi_free_and_reset((void**)&bta_hh_cb.p_disc_db); in bta_hh_di_sdp_cback()
346 else if (!bta_hh_cb.p_disc_db) { in bta_hh_start_sdp()
347 bta_hh_cb.p_disc_db = in bta_hh_start_sdp()
351 if (SDP_DiDiscover(p_data->api_conn.bd_addr, bta_hh_cb.p_disc_db, in bta_hh_start_sdp()
357 osi_free_and_reset((void**)&bta_hh_cb.p_disc_db); in bta_hh_start_sdp()
361 } else if (bta_hh_cb.p_disc_db) { in bta_hh_start_sdp()
Dbta_hh_utils.cc309 if (bta_hh_cb.p_disc_db) { in bta_hh_cleanup_disable()
311 (void)SDP_CancelServiceSearch (bta_hh_cb.p_disc_db); in bta_hh_cleanup_disable()
312 osi_free_and_reset((void**)&bta_hh_cb.p_disc_db); in bta_hh_cleanup_disable()
Dbta_hh_int.h242 tSDP_DISCOVERY_DB* p_disc_db; member
/system/bt/bta/av/
Dbta_av_act.cc1302 osi_free_and_reset((void**)&p_cb->p_disc_db); in bta_av_disable()
1643 p_rec = SDP_FindServiceInDb(p_cb->p_disc_db, service_uuid, p_rec); in bta_av_check_peer_features()
1651 if (SDP_FindServiceInDb(p_cb->p_disc_db, UUID_SERVCLASS_AV_REMOTE_CONTROL, in bta_av_check_peer_features()
1655 if (SDP_FindServiceInDb(p_cb->p_disc_db, in bta_av_check_peer_features()
1705 SDP_FindServiceInDb(p_cb->p_disc_db, service_uuid, NULL); in bta_avk_check_peer_features()
1713 if (SDP_FindServiceInDb(p_cb->p_disc_db, UUID_SERVCLASS_AV_REMOTE_CONTROL, in bta_avk_check_peer_features()
1717 if (SDP_FindServiceInDb(p_cb->p_disc_db, in bta_avk_check_peer_features()
1763 p_rec = SDP_FindServiceInDb(p_cb->p_disc_db, service_uuid, p_rec); in bta_avk_check_peer_features()
1785 SDP_FindServiceInDb(p_cb->p_disc_db, UUID_SERVCLASS_AV_REM_CTRL_TARGET, in bta_avk_get_cover_art_psm()
1863 p_rec = SDP_FindServiceInDb(p_cb->p_disc_db, in bta_avk_get_cover_art_psm()
[all …]
Dbta_av_int.h618 tSDP_DISCOVERY_DB* p_disc_db; /* pointer to discovery database */ member