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.c98 if (bta_hf_client_cb.scb.sco_idx != BTM_INVALID_SCO_INDEX) in bta_hf_client_sco_remove()
100 status = BTM_RemoveSco(bta_hf_client_cb.scb.sco_idx); in bta_hf_client_sco_remove()
102 …APPL_TRACE_DEBUG("%s idx 0x%04x, status:0x%x", __FUNCTION__, bta_hf_client_cb.scb.sco_idx, status); in bta_hf_client_sco_remove()
111 bta_hf_client_cb.scb.sco_idx = BTM_INVALID_SCO_INDEX; in bta_hf_client_sco_remove()
198 bta_hf_client_cb.scb.sco_idx = p_data->conn_evt.sco_inx; in bta_hf_client_esco_connreq_cback()
215 static void bta_hf_client_sco_conn_cback(UINT16 sco_idx) in bta_hf_client_sco_conn_cback() argument
219 APPL_TRACE_DEBUG("%s %d", __FUNCTION__, sco_idx); in bta_hf_client_sco_conn_cback()
221 rem_bd = BTM_ReadScoBdAddr(sco_idx); in bta_hf_client_sco_conn_cback()
224 bta_hf_client_cb.scb.svc_conn && bta_hf_client_cb.scb.sco_idx == sco_idx) in bta_hf_client_sco_conn_cback()
235 BTM_RemoveSco(sco_idx); in bta_hf_client_sco_conn_cback()
[all …]
Dbta_hf_client_int.h153 UINT16 sco_idx; /* SCO handle */ member
Dbta_hf_client_main.c252 bta_hf_client_cb.scb.sco_idx = BTM_INVALID_SCO_INDEX; in bta_hf_client_scb_init()
/system/bt/bta/ag/
Dbta_ag_sco.c155 static void bta_ag_sco_conn_cback(UINT16 sco_idx) in bta_ag_sco_conn_cback() argument
169 handle = bta_ag_idx_by_bdaddr(BTM_ReadScoBdAddr(sco_idx)); in bta_ag_sco_conn_cback()
184 BTM_RemoveSco(sco_idx); in bta_ag_sco_conn_cback()
198 static void bta_ag_sco_disc_cback(UINT16 sco_idx) in bta_ag_sco_disc_cback() argument
202 …a_ag_sco_disc_cback(): sco_idx: 0x%x p_cur_scb: 0x%08x sco.state: %d", sco_idx, bta_ag_cb.sco.p_… in bta_ag_sco_disc_cback()
205 … &bta_ag_cb.scb[0], bta_ag_cb.scb[0].in_use, bta_ag_cb.scb[0].sco_idx, bta_ag_cb.scb[0].state); in bta_ag_sco_disc_cback()
207 … &bta_ag_cb.scb[1], bta_ag_cb.scb[1].in_use, bta_ag_cb.scb[1].sco_idx, bta_ag_cb.scb[1].state); in bta_ag_sco_disc_cback()
213 if (bta_ag_cb.sco.p_curr_scb->sco_idx != sco_idx) in bta_ag_sco_disc_cback()
215 if (bta_ag_cb.sco.p_curr_scb->sco_idx != 0xFFFF) in bta_ag_sco_disc_cback()
268 bta_ag_cb.sco.p_curr_scb->sco_idx = BTM_INVALID_SCO_INDEX; in bta_ag_sco_disc_cback()
[all …]
Dbta_ag_main.c298 p_scb->sco_idx = BTM_INVALID_SCO_INDEX; in bta_ag_scb_alloc()
353 p_scb->sco_idx = BTM_INVALID_SCO_INDEX; in bta_ag_scb_dealloc()
Dbta_ag_act.c668 if ((p_scb->sco_idx != BTM_INVALID_SCO_INDEX) && bta_ag_sco_is_open(p_scb)) in bta_ag_rfc_data()
864 if ((p_scb->sco_idx != BTM_INVALID_SCO_INDEX) && bta_ag_sco_is_open(p_scb)) in bta_ag_ci_rx_data()
Dbta_ag_int.h265 UINT16 sco_idx; /* SCO handle */ member