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()
436 return (UINT8) (p_ccb - avdt_cb.ccb); in avdt_ccb_to_idx()
456 p_ccb = &avdt_cb.ccb[idx]; in avdt_ccb_by_idx()
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()
254 avdt_cb.ad.lcid_tbl[lcid - L2CAP_BASE_APPL_CID] = avdt_ad_tc_tbl_to_idx(p_tbl); in avdt_l2c_connect_ind_cback()
255 avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = lcid; in avdt_l2c_connect_ind_cback()
Davdt_api.c39 tAVDT_CB avdt_cb; variable
140 memcpy(&avdt_cb.rcb, p_reg, sizeof(tAVDT_REG)); in AVDT_Register()
141 avdt_cb.p_conn_cback = p_cback; in AVDT_Register()
177 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in AVDT_SINK_Activate()
208 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in AVDT_SINK_Deactivate()
1117 lcid = avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetL2CapChannel()
1143 lcid = avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetSignalChannel()
1147 lcid = avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetSignalChannel()
1433 avdt_cb.trace_level = new_level; in AVDT_SetTraceLevel()
1435 return (avdt_cb.trace_level); in AVDT_SetTraceLevel()
Davdt_ccb_act.c129 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in avdt_ccb_chk_close()
144 btu_start_timer(&p_ccb->timer_entry, BTU_TTYPE_AVDT_CCB_IDLE, avdt_cb.rcb.idle_tout); in avdt_ccb_chk_close()
164 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in avdt_ccb_hdl_discover_cmd()
672 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in avdt_ccb_clear_cmds()
831 btu_start_timer(&p_ccb->timer_entry, BTU_TTYPE_AVDT_CCB_RET, avdt_cb.rcb.ret_tout); in avdt_ccb_ret_cmd()
1088 p_cback = avdt_cb.p_conn_cback; in avdt_ccb_ll_closed()
1119 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()
680 return (UINT8) (p_scb - avdt_cb.scb + 1); in avdt_scb_to_hdl()
701 p_scb = &avdt_cb.scb[hdl - 1]; in avdt_scb_by_hdl()
Davdt_int.h726 extern tAVDT_CB avdt_cb;
729 #define avdt_cb (*avdt_cb_ptr)
Davdt_msg.c1306 (sig == AVDT_SIG_SECURITY) || (avdt_cb.rcb.ret_tout == 0)) in avdt_msg_send()
1308 … btu_start_timer(&p_ccb->timer_entry, BTU_TTYPE_AVDT_CCB_RSP, avdt_cb.rcb.sig_tout); in avdt_msg_send()
1312 … btu_start_timer(&p_ccb->timer_entry, BTU_TTYPE_AVDT_CCB_RET, avdt_cb.rcb.ret_tout); in avdt_msg_send()
Davdt_scb_act.c1915 lcid = avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in avdt_scb_clr_pkt()
1988 …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()
2099 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.h308 #define AVDT_TRACE_ERROR(...) {if (avdt_cb.trace_level >= BT_TRACE_LEVEL_ERROR)…
309 #define AVDT_TRACE_WARNING(...) {if (avdt_cb.trace_level >= BT_TRACE_LEVEL_WARNIN…
310 #define AVDT_TRACE_EVENT(...) {if (avdt_cb.trace_level >= BT_TRACE_LEVEL_EVENT)…
311 #define AVDT_TRACE_DEBUG(...) {if (avdt_cb.trace_level >= BT_TRACE_LEVEL_DEBUG)…
312 #define AVDT_TRACE_API(...) {if (avdt_cb.trace_level >= BT_TRACE_LEVEL_API) B…