Home
last modified time | relevance | path

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

/system/bt/bta/ag/
Dbta_ag_rfc.c255 UINT16 i = bta_ag_scb_to_idx(p_scb) - 1; in bta_ag_setup_port()
293 bta_ag_mgmt_cback_tbl[bta_ag_scb_to_idx(p_scb) - 1]); in bta_ag_start_servers()
375 bta_ag_mgmt_cback_tbl[bta_ag_scb_to_idx(p_scb) - 1]) == PORT_SUCCESS) in bta_ag_rfc_do_open()
409 p_buf->hdr.layer_specific = bta_ag_scb_to_idx(p_scb); in bta_ag_rfc_do_close()
Dbta_ag_sco.c163 handle = bta_ag_scb_to_idx(bta_ag_cb.sco.p_curr_scb); in bta_ag_sco_conn_cback()
218 handle = bta_ag_scb_to_idx(bta_ag_cb.sco.p_curr_scb); in bta_ag_sco_disc_cback()
419 sco.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_cback_sco()
555 bta_ag_co_audio_state(bta_ag_scb_to_idx(p_scb), p_scb->app_id, SCO_STATE_SETUP, in bta_ag_create_sco()
568 bta_ag_co_audio_state(bta_ag_scb_to_idx(p_scb), p_scb->app_id, SCO_STATE_SETUP); in bta_ag_create_sco()
1454 bta_ag_co_audio_state(bta_ag_scb_to_idx(p_scb), p_scb->app_id, SCO_STATE_ON, in bta_ag_sco_conn_open()
1457 bta_ag_co_audio_state(bta_ag_scb_to_idx(p_scb), p_scb->app_id, SCO_STATE_ON); in bta_ag_sco_conn_open()
1462 bta_dm_sco_co_open(bta_ag_scb_to_idx(p_scb), BTA_SCO_OUT_PKT_SIZE, BTA_AG_CI_SCO_DATA_EVT); in bta_ag_sco_conn_open()
1487 UINT16 handle = bta_ag_scb_to_idx(p_scb); in bta_ag_sco_conn_close()
1603 bta_ag_co_audio_state(bta_ag_scb_to_idx(p_scb), p_scb->app_id, SCO_STATE_SETUP); in bta_ag_sco_conn_rsp()
[all …]
Dbta_ag_act.c94 open.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_cback_open()
139 reg.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_register()
441 close.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_rfc_close()
522 bta_ag_co_data_open(bta_ag_scb_to_idx(p_scb), bta_ag_svc_id[p_scb->conn_service]); in bta_ag_rfc_open()
531 BTA_AG_SVC_TIMEOUT_EVT, bta_ag_scb_to_idx(p_scb)); in bta_ag_rfc_open()
827 evt.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_svc_conn_open()
888 APPL_TRACE_DEBUG("bta_ag_rcvd_slc_ready: handle = %d", bta_ag_scb_to_idx(p_scb)); in bta_ag_rcvd_slc_ready()
Dbta_ag_main.c313 APPL_TRACE_DEBUG("bta_ag_scb_alloc %d", bta_ag_scb_to_idx(p_scb)); in bta_ag_scb_alloc()
342 APPL_TRACE_DEBUG("bta_ag_scb_dealloc %d", bta_ag_scb_to_idx(p_scb)); in bta_ag_scb_dealloc()
385 UINT16 bta_ag_scb_to_idx(tBTA_AG_SCB *p_scb) in bta_ag_scb_to_idx() function
645 APPL_TRACE_DEBUG ("bta_ag_resume_open, Handle(%d)", bta_ag_scb_to_idx(p_scb)); in bta_ag_resume_open()
827 bta_ag_scb_to_idx(p_scb), in bta_ag_sm_execute()
833 bta_ag_scb_to_idx(p_scb), p_scb->state, event); in bta_ag_sm_execute()
Dbta_ag_cmd.c850 val.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_at_hsp_cback()
890 val.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_at_hfp_cback()
1318 val.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_at_err_cback()
1387 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb)) in bta_ag_hsp_result()
1519 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb)) in bta_ag_hfp_result()
1540 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb) && in bta_ag_hfp_result()
1550 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb) && in bta_ag_hfp_result()
1562 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb)) in bta_ag_hfp_result()
1576 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb)) in bta_ag_hfp_result()
1823 BTA_AG_RING_TIMEOUT_EVT, bta_ag_scb_to_idx(p_scb)); in bta_ag_send_ring()
Dbta_ag_sdp.c466 bta_ag_sdp_cback_tbl[bta_ag_scb_to_idx(p_scb) - 1]); in bta_ag_do_disc()
Dbta_ag_int.h352 extern UINT16 bta_ag_scb_to_idx(tBTA_AG_SCB *p_scb);