Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/bta/ag/
Dbta_ag_rfc.c258 UINT16 i = bta_ag_scb_to_idx(p_scb) - 1; in bta_ag_setup_port()
296 bta_ag_mgmt_cback_tbl[bta_ag_scb_to_idx(p_scb) - 1]); in bta_ag_start_servers()
378 bta_ag_mgmt_cback_tbl[bta_ag_scb_to_idx(p_scb) - 1]) == PORT_SUCCESS) in bta_ag_rfc_do_open()
416 p_buf->hdr.layer_specific = bta_ag_scb_to_idx(p_scb); in bta_ag_rfc_do_close()
432 tPORT_CALLBACK *rfc_mgmt_cback = bta_ag_mgmt_cback_tbl[bta_ag_scb_to_idx(p_scb) - 1]; in bta_ag_rfc_do_close()
Dbta_ag_main.c293 p_buf->layer_specific = bta_ag_scb_to_idx((tBTA_AG_SCB *) p_tle->param); in bta_ag_timer_cback()
325 APPL_TRACE_DEBUG1("bta_ag_scb_alloc %d", bta_ag_scb_to_idx(p_scb)); in bta_ag_scb_alloc()
354 APPL_TRACE_DEBUG1("bta_ag_scb_dealloc %d", bta_ag_scb_to_idx(p_scb)); in bta_ag_scb_dealloc()
396 UINT16 bta_ag_scb_to_idx(tBTA_AG_SCB *p_scb) in bta_ag_scb_to_idx() function
646 APPL_TRACE_DEBUG1 ("bta_ag_resume_open, Handle(%d)", bta_ag_scb_to_idx(p_scb)); in bta_ag_resume_open()
820 bta_ag_scb_to_idx(p_scb), in bta_ag_sm_execute()
826 bta_ag_scb_to_idx(p_scb), p_scb->state, event); in bta_ag_sm_execute()
Dbta_ag_act.c95 open.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_cback_open()
140 reg.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_register()
434 close.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_rfc_close()
514 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()
812 evt.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_svc_conn_open()
859 APPL_TRACE_DEBUG1("bta_ag_rcvd_slc_ready: handle = %d", bta_ag_scb_to_idx(p_scb)); in bta_ag_rcvd_slc_ready()
Dbta_ag_sco.c141 handle = bta_ag_scb_to_idx(bta_ag_cb.sco.p_curr_scb); in bta_ag_sco_conn_cback()
202 handle = bta_ag_scb_to_idx(bta_ag_cb.sco.p_curr_scb); in bta_ag_sco_disc_cback()
398 sco.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_cback_sco()
521 bta_ag_co_audio_state(bta_ag_scb_to_idx(p_scb), p_scb->app_id, BTA_AG_CO_AUD_STATE_SETUP); in bta_ag_create_sco()
1393 bta_ag_co_audio_state(bta_ag_scb_to_idx(p_scb), p_scb->app_id, BTA_AG_CO_AUD_STATE_ON); in bta_ag_sco_conn_open()
1397 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()
1418 UINT16 handle = bta_ag_scb_to_idx(p_scb); in bta_ag_sco_conn_close()
1525 bta_ag_co_audio_state(bta_ag_scb_to_idx(p_scb), p_scb->app_id, BTA_AG_CO_AUD_STATE_SETUP); in bta_ag_sco_conn_rsp()
Dbta_ag_cmd.c831 val.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_at_hsp_cback()
866 val.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_at_hfp_cback()
1283 val.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_at_err_cback()
1353 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb)) in bta_ag_hsp_result()
1483 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb) && in bta_ag_hfp_result()
1526 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb) && in bta_ag_hfp_result()
1537 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb) && in bta_ag_hfp_result()
1551 if (p_result->data.audio_handle == bta_ag_scb_to_idx(p_scb)) in bta_ag_hfp_result()
Dbta_ag_sdp.c470 bta_ag_sdp_cback_tbl[bta_ag_scb_to_idx(p_scb) - 1]); in bta_ag_do_disc()
Dbta_ag_int.h343 extern UINT16 bta_ag_scb_to_idx(tBTA_AG_SCB *p_scb);