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.c261 UINT16 i = bta_ag_scb_to_idx(p_scb) - 1; in bta_ag_setup_port()
299 bta_ag_mgmt_cback_tbl[bta_ag_scb_to_idx(p_scb) - 1]); in bta_ag_start_servers()
381 bta_ag_mgmt_cback_tbl[bta_ag_scb_to_idx(p_scb) - 1]) == PORT_SUCCESS) in bta_ag_rfc_do_open()
420 p_buf->hdr.layer_specific = bta_ag_scb_to_idx(p_scb); in bta_ag_rfc_do_close()
Dbta_ag_sco.c161 handle = bta_ag_scb_to_idx(bta_ag_cb.sco.p_curr_scb); in bta_ag_sco_conn_cback()
222 handle = bta_ag_scb_to_idx(bta_ag_cb.sco.p_curr_scb); in bta_ag_sco_disc_cback()
427 sco.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_cback_sco()
563 bta_ag_co_audio_state(bta_ag_scb_to_idx(p_scb), p_scb->app_id, SCO_STATE_SETUP, in bta_ag_create_sco()
576 bta_ag_co_audio_state(bta_ag_scb_to_idx(p_scb), p_scb->app_id, SCO_STATE_SETUP); in bta_ag_create_sco()
1468 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()
1471 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()
1476 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()
1501 UINT16 handle = bta_ag_scb_to_idx(p_scb); in bta_ag_sco_conn_close()
1617 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_main.c293 p_buf->layer_specific = bta_ag_scb_to_idx((tBTA_AG_SCB *) p_tle->param); in bta_ag_timer_cback()
330 APPL_TRACE_DEBUG("bta_ag_scb_alloc %d", bta_ag_scb_to_idx(p_scb)); in bta_ag_scb_alloc()
359 APPL_TRACE_DEBUG("bta_ag_scb_dealloc %d", bta_ag_scb_to_idx(p_scb)); in bta_ag_scb_dealloc()
402 UINT16 bta_ag_scb_to_idx(tBTA_AG_SCB *p_scb) in bta_ag_scb_to_idx() function
674 APPL_TRACE_DEBUG ("bta_ag_resume_open, Handle(%d)", bta_ag_scb_to_idx(p_scb)); in bta_ag_resume_open()
849 bta_ag_scb_to_idx(p_scb), in bta_ag_sm_execute()
855 bta_ag_scb_to_idx(p_scb), p_scb->state, event); in bta_ag_sm_execute()
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()
438 close.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_rfc_close()
519 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()
821 evt.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_svc_conn_open()
874 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_cmd.c850 val.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_at_hsp_cback()
891 val.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_at_hfp_cback()
1322 val.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_at_err_cback()
1392 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb)) in bta_ag_hsp_result()
1526 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb)) in bta_ag_hfp_result()
1548 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb) && in bta_ag_hfp_result()
1558 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb) && in bta_ag_hfp_result()
1570 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb)) in bta_ag_hfp_result()
1584 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb)) in bta_ag_hfp_result()
Dbta_ag_sdp.c472 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);