Home
last modified time | relevance | path

Searched refs:avdt_cb (Results 1 – 10 of 10) sorted by relevance

/system/bt/stack/avdt/
Davdt_ad.c111 tAVDT_TC_TBL *p_tbl = avdt_cb.ad.tc_tbl; in avdt_ad_init()
112 memset(&avdt_cb.ad, 0, sizeof(tAVDT_AD)); in avdt_ad_init()
138 tAVDT_TC_TBL *p_tbl = avdt_cb.ad.tc_tbl; in avdt_ad_tc_tbl_by_st()
207 idx = avdt_cb.ad.lcid_tbl[lcid - L2CAP_BASE_APPL_CID]; in avdt_ad_tc_tbl_by_lcid()
211 return &avdt_cb.ad.tc_tbl[idx]; in avdt_ad_tc_tbl_by_lcid()
235 tAVDT_TC_TBL *p_tbl = avdt_cb.ad.tc_tbl; in avdt_ad_tc_tbl_by_type()
268 tAVDT_TC_TBL *p_tbl = avdt_cb.ad.tc_tbl; in avdt_ad_tc_tbl_alloc()
304 AVDT_TRACE_DEBUG("avdt_ad_tc_tbl_to_idx: %d", (p_tbl - avdt_cb.ad.tc_tbl)); in avdt_ad_tc_tbl_to_idx()
306 return (UINT8) (p_tbl - avdt_cb.ad.tc_tbl); in avdt_ad_tc_tbl_to_idx()
348 p_scb = avdt_scb_by_hdl(avdt_cb.ad.rt_tbl[p_tbl->ccb_idx][p_tbl->tcid].scb_hdl); in avdt_ad_tc_close_ind()
[all …]
Davdt_ccb.c284 memset(&avdt_cb.ccb[0], 0, sizeof(tAVDT_CCB) * AVDT_NUM_LINKS); in avdt_ccb_init()
285 avdt_cb.p_ccb_act = (tAVDT_CCB_ACTION *) avdt_ccb_action; in avdt_ccb_init()
321 (*avdt_cb.p_ccb_act[action])(p_ccb, p_data); in avdt_ccb_event()
343 tAVDT_CCB *p_ccb = &avdt_cb.ccb[0]; in avdt_ccb_by_bd()
378 tAVDT_CCB *p_ccb = &avdt_cb.ccb[0]; in avdt_ccb_alloc()
442 return (UINT8) (p_ccb - avdt_cb.ccb); in avdt_ccb_to_idx()
462 p_ccb = &avdt_cb.ccb[idx]; in avdt_ccb_by_idx()
Davdt_api.c39 tAVDT_CB avdt_cb; variable
122 memcpy(&avdt_cb.rcb, p_reg, sizeof(tAVDT_REG)); in AVDT_Register()
123 avdt_cb.p_conn_cback = p_cback; in AVDT_Register()
159 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in AVDT_SINK_Activate()
189 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in AVDT_SINK_Deactivate()
1094 lcid = avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetL2CapChannel()
1120 lcid = avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetSignalChannel()
1124 lcid = avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetSignalChannel()
1320 avdt_cb.trace_level = new_level; in AVDT_SetTraceLevel()
1322 return (avdt_cb.trace_level); in AVDT_SetTraceLevel()
Davdt_l2c.c100 avdt_cb.ad.lcid_tbl[p_tbl->lcid - L2CAP_BASE_APPL_CID] = avdt_ad_tc_tbl_to_idx(p_tbl); in avdt_sec_check_complete_term()
101 avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = p_tbl->lcid; in avdt_sec_check_complete_term()
197 p_tbl->my_mtu = avdt_cb.rcb.ctrl_mtu; in avdt_l2c_connect_ind_cback()
263 avdt_cb.ad.lcid_tbl[lcid - L2CAP_BASE_APPL_CID] = avdt_ad_tc_tbl_to_idx(p_tbl); in avdt_l2c_connect_ind_cback()
264 avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = lcid; in avdt_l2c_connect_ind_cback()
Davdt_ccb_act.c121 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in avdt_ccb_chk_close()
138 period_ms_t interval_ms = avdt_cb.rcb.idle_tout * 1000; in avdt_ccb_chk_close()
161 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in avdt_ccb_hdl_discover_cmd()
669 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in avdt_ccb_clear_cmds()
821 period_ms_t interval_ms = avdt_cb.rcb.ret_tout * 1000; in avdt_ccb_ret_cmd()
1076 p_cback = avdt_cb.p_conn_cback; in avdt_ccb_ll_closed()
1107 p_ccb->p_conn_cback = avdt_cb.p_conn_cback; in avdt_ccb_ll_opened()
Davdt_scb.c550 (*avdt_cb.p_scb_act[action])(p_scb, p_data); in avdt_scb_event()
572 memset(&avdt_cb.scb[0], 0, sizeof(tAVDT_SCB) * AVDT_NUM_SEPS); in avdt_scb_init()
573 avdt_cb.p_scb_act = (tAVDT_SCB_ACTION *) avdt_scb_action; in avdt_scb_init()
589 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in avdt_scb_alloc()
671 return (UINT8) (p_scb - avdt_cb.scb + 1); in avdt_scb_to_hdl()
692 p_scb = &avdt_cb.scb[hdl - 1]; in avdt_scb_by_hdl()
Davdt_int.h736 extern tAVDT_CB avdt_cb;
739 #define avdt_cb (*avdt_cb_ptr)
Davdt_msg.c1298 (sig == AVDT_SIG_SECURITY) || (avdt_cb.rcb.ret_tout == 0)) in avdt_msg_send()
1302 period_ms_t interval_ms = avdt_cb.rcb.sig_tout * 1000; in avdt_msg_send()
1311 period_ms_t interval_ms = avdt_cb.rcb.ret_tout * 1000; in avdt_msg_send()
Davdt_scb_act.c1910 lcid = avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in avdt_scb_clr_pkt()
1982 …L2CA_FlushChannel(avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_scb->p_ccb)][avdt_ad_type_to_tcid(AVDT_CHAN_… in avdt_scb_chk_snd_pkt()
2088 lcid = avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_scb->p_ccb)][tcid].lcid; in avdt_scb_queue_frags()
/system/bt/include/
Dbt_trace.h304 #define AVDT_TRACE_ERROR(...) {if (avdt_cb.trace_level >= BT_TRACE_LEVEL_ERROR)…
305 #define AVDT_TRACE_WARNING(...) {if (avdt_cb.trace_level >= BT_TRACE_LEVEL_WARNIN…
306 #define AVDT_TRACE_EVENT(...) {if (avdt_cb.trace_level >= BT_TRACE_LEVEL_EVENT)…
307 #define AVDT_TRACE_DEBUG(...) {if (avdt_cb.trace_level >= BT_TRACE_LEVEL_DEBUG)…
308 #define AVDT_TRACE_API(...) {if (avdt_cb.trace_level >= BT_TRACE_LEVEL_API) B…