Home
last modified time | relevance | path

Searched refs:sco_idx (Results 1 – 7 of 7) sorted by relevance

/system/bt/bta/hf_client/
Dbta_hf_client_sco.cc56 if (client_cb->sco_idx != BTM_INVALID_SCO_INDEX) { in bta_hf_client_sco_remove()
57 status = BTM_RemoveSco(client_cb->sco_idx); in bta_hf_client_sco_remove()
60 client_cb->sco_idx, status); in bta_hf_client_sco_remove()
67 client_cb->sco_idx = BTM_INVALID_SCO_INDEX; in bta_hf_client_sco_remove()
172 static void bta_hf_client_sco_conn_cback(uint16_t sco_idx) { in bta_hf_client_sco_conn_cback() argument
173 APPL_TRACE_DEBUG("%s: %d", __func__, sco_idx); in bta_hf_client_sco_conn_cback()
175 tBTA_HF_CLIENT_CB* client_cb = bta_hf_client_find_cb_by_sco_handle(sco_idx); in bta_hf_client_sco_conn_cback()
178 sco_idx); in bta_hf_client_sco_conn_cback()
198 static void bta_hf_client_sco_disc_cback(uint16_t sco_idx) { in bta_hf_client_sco_disc_cback() argument
199 APPL_TRACE_DEBUG("%s: sco_idx %d", __func__, sco_idx); in bta_hf_client_sco_disc_cback()
[all …]
Dbta_hf_client_main.cc311 client_cb->sco_idx = BTM_INVALID_SCO_INDEX; in bta_hf_client_cb_init()
557 if (client_cb->is_allocated && client_cb->sco_idx == handle) { in bta_hf_client_find_cb_by_sco_handle()
Dbta_hf_client_int.h174 uint16_t sco_idx; /* SCO handle */ member
/system/bt/bta/ag/
Dbta_ag_sco.cc120 static void bta_ag_sco_conn_cback(uint16_t sco_idx) { in bta_ag_sco_conn_cback() argument
131 handle = bta_ag_idx_by_bdaddr(BTM_ReadScoBdAddr(sco_idx)); in bta_ag_sco_conn_cback()
144 BTM_RemoveSco(sco_idx); in bta_ag_sco_conn_cback()
158 static void bta_ag_sco_disc_cback(uint16_t sco_idx) { in bta_ag_sco_disc_cback() argument
164 sco_idx, bta_ag_cb.sco.p_curr_scb, bta_ag_cb.sco.state); in bta_ag_sco_disc_cback()
169 &bta_ag_cb.scb[0], bta_ag_cb.scb[0].in_use, bta_ag_cb.scb[0].sco_idx, in bta_ag_sco_disc_cback()
174 &bta_ag_cb.scb[1], bta_ag_cb.scb[1].in_use, bta_ag_cb.scb[1].sco_idx, in bta_ag_sco_disc_cback()
180 if (bta_ag_cb.sco.p_curr_scb->sco_idx != sco_idx) { in bta_ag_sco_disc_cback()
181 if (bta_ag_cb.sco.p_curr_scb->sco_idx != 0xFFFF) return; in bta_ag_sco_disc_cback()
229 bta_ag_cb.sco.p_curr_scb->sco_idx = BTM_INVALID_SCO_INDEX; in bta_ag_sco_disc_cback()
[all …]
Dbta_ag_main.cc329 p_scb->sco_idx = BTM_INVALID_SCO_INDEX; in bta_ag_scb_alloc()
381 p_scb->sco_idx = BTM_INVALID_SCO_INDEX; in bta_ag_scb_dealloc()
Dbta_ag_int.h209 uint16_t sco_idx; /* SCO handle */ member
Dbta_ag_act.cc628 if ((p_scb->sco_idx != BTM_INVALID_SCO_INDEX) && in bta_ag_rfc_data()