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.c230 …if ((p_rec = SDP_FindServiceInDb(bta_hf_client_cb.scb.p_disc_db, UUID_SERVCLASS_AG_HANDSFREE, p_re… in bta_hf_client_sdp_find_attr()
330 bta_hf_client_cb.scb.p_disc_db = (tSDP_DISCOVERY_DB *)osi_malloc(BT_DEFAULT_BUFFER_SIZE); in bta_hf_client_do_disc()
335 db_inited = SDP_InitDiscoveryDb(bta_hf_client_cb.scb.p_disc_db, in bta_hf_client_do_disc()
343 bta_hf_client_cb.scb.p_disc_db, bta_hf_client_sdp_cback); in bta_hf_client_do_disc()
369 osi_free_and_reset((void **)&bta_hf_client_cb.scb.p_disc_db); in bta_hf_client_free_db()
Dbta_hf_client_rfc.c252 if(bta_hf_client_cb.scb.p_disc_db) in bta_hf_client_rfc_do_close()
254 (void)SDP_CancelServiceSearch (bta_hf_client_cb.scb.p_disc_db); in bta_hf_client_rfc_do_close()
Dbta_hf_client_main.c350 if(bta_hf_client_cb.scb.p_disc_db) in bta_hf_client_collision_cback()
352 (void)SDP_CancelServiceSearch (bta_hf_client_cb.scb.p_disc_db); in bta_hf_client_collision_cback()
Dbta_hf_client_int.h143 tSDP_DISCOVERY_DB *p_disc_db; /* pointer to discovery database */ member
/system/bt/bta/ag/
Dbta_ag_sdp.c332 if ((p_rec = SDP_FindServiceInDb(p_scb->p_disc_db, uuid, p_rec)) == NULL) in bta_ag_sdp_find_attr()
338 if ((p_rec = SDP_FindServiceInDb(p_scb->p_disc_db, uuid, p_rec)) == NULL) in bta_ag_sdp_find_attr()
455 p_scb->p_disc_db = (tSDP_DISCOVERY_DB *)osi_malloc(BTA_AG_DISC_BUF_SIZE); in bta_ag_do_disc()
459 db_inited = SDP_InitDiscoveryDb(p_scb->p_disc_db, BTA_AG_DISC_BUF_SIZE, in bta_ag_do_disc()
465 db_inited = SDP_ServiceSearchAttributeRequest(p_scb->peer_addr, p_scb->p_disc_db, in bta_ag_do_disc()
492 osi_free_and_reset((void **)&p_scb->p_disc_db); in bta_ag_free_db()
Dbta_ag_main.c613 if(p_scb->p_disc_db) in bta_ag_collision_cback()
615 (void)SDP_CancelServiceSearch (p_scb->p_disc_db); in bta_ag_collision_cback()
Dbta_ag_int.h255 tSDP_DISCOVERY_DB *p_disc_db; /* pointer to discovery database */ member
/system/bt/bta/hh/
Dbta_hh_act.c253 osi_free_and_reset((void **)&bta_hh_cb.p_disc_db); in bta_hh_sdp_cback()
285 if(result == SDP_SUCCESS && SDP_GetNumDiRecords(bta_hh_cb.p_disc_db) != 0) in bta_hh_di_sdp_cback()
288 if (SDP_GetDiRecord(1, &di_rec, bta_hh_cb.p_disc_db) == SDP_SUCCESS) in bta_hh_di_sdp_cback()
300 bta_hh_cb.p_disc_db, in bta_hh_di_sdp_cback()
317 osi_free_and_reset((void **)&bta_hh_cb.p_disc_db); in bta_hh_di_sdp_cback()
384 else if (!bta_hh_cb.p_disc_db) in bta_hh_start_sdp()
386 bta_hh_cb.p_disc_db = (tSDP_DISCOVERY_DB *)osi_malloc(p_bta_hh_cfg->sdp_db_size); in bta_hh_start_sdp()
390 bta_hh_cb.p_disc_db, in bta_hh_start_sdp()
398 osi_free_and_reset((void **)&bta_hh_cb.p_disc_db); in bta_hh_start_sdp()
Dbta_hh_int.h309 tSDP_DISCOVERY_DB* p_disc_db; member
Dbta_hh_utils.c468 osi_free_and_reset((void **)&bta_hh_cb.p_disc_db); in bta_hh_cleanup_disable()
/system/bt/bta/av/
Dbta_av_act.c1404 osi_free_and_reset((void **)&p_cb->p_disc_db); in bta_av_disable()
1677 if ((p_rec = SDP_FindServiceInDb(p_cb->p_disc_db, service_uuid, p_rec)) == NULL) in bta_av_check_peer_features()
1685 if (SDP_FindServiceInDb(p_cb->p_disc_db, UUID_SERVCLASS_AV_REMOTE_CONTROL, NULL)) in bta_av_check_peer_features()
1689 if (SDP_FindServiceInDb(p_cb->p_disc_db, UUID_SERVCLASS_AV_REM_CTRL_TARGET, NULL)) in bta_av_check_peer_features()
1741 tSDP_DISC_REC *p_rec = SDP_FindServiceInDb(p_cb->p_disc_db, service_uuid, NULL); in bta_avk_check_peer_features()
1749 if (SDP_FindServiceInDb(p_cb->p_disc_db, UUID_SERVCLASS_AV_REMOTE_CONTROL, NULL)) in bta_avk_check_peer_features()
1753 if (SDP_FindServiceInDb(p_cb->p_disc_db, UUID_SERVCLASS_AV_REM_CTRL_TARGET, NULL)) in bta_avk_check_peer_features()
1791 p_rec = SDP_FindServiceInDb(p_cb->p_disc_db, service_uuid, p_rec); in bta_avk_check_peer_features()
1872 osi_free_and_reset((void **)&p_cb->p_disc_db); in bta_av_rc_disc_done()
2077 if (p_cb->p_disc_db == NULL) in bta_av_rc_disc()
[all …]
Dbta_av_int.h574 tSDP_DISCOVERY_DB *p_disc_db; /* pointer to discovery database */ member