Home
last modified time | relevance | path

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

/system/bt/stack/avdt/
Davdt_ad.cc120 AvdtpTransportChannel* p_tbl = avdtp_cb.ad.tc_tbl; in avdt_ad_init()
121 avdtp_cb.ad.Reset(); in avdt_ad_init()
145 AvdtpTransportChannel* p_tbl = avdtp_cb.ad.tc_tbl; in avdt_ad_tc_tbl_by_st()
197 idx = avdtp_cb.ad.lcid_tbl[lcid - L2CAP_BASE_APPL_CID]; in avdt_ad_tc_tbl_by_lcid()
200 return &avdtp_cb.ad.tc_tbl[idx]; in avdt_ad_tc_tbl_by_lcid()
221 AvdtpTransportChannel* p_tbl = avdtp_cb.ad.tc_tbl; in avdt_ad_tc_tbl_by_type()
250 AvdtpTransportChannel* p_tbl = avdtp_cb.ad.tc_tbl; in avdt_ad_tc_tbl_alloc()
281 AVDT_TRACE_DEBUG("avdt_ad_tc_tbl_to_idx: %d", (p_tbl - avdtp_cb.ad.tc_tbl)); in avdt_ad_tc_tbl_to_idx()
283 return (uint8_t)(p_tbl - avdtp_cb.ad.tc_tbl); in avdt_ad_tc_tbl_to_idx()
322 p_scb = avdtp_cb.ad.LookupAvdtpScb(*p_tbl); in avdt_ad_tc_close_ind()
[all …]
Davdt_ccb.cc352 avdtp_cb.ccb[i].Reset(i); in avdt_ccb_init()
354 avdtp_cb.p_ccb_act = avdt_ccb_action; in avdt_ccb_init()
393 (*avdtp_cb.p_ccb_act[action])(p_ccb, p_data); in avdt_ccb_event()
411 AvdtpCcb* p_ccb = &avdtp_cb.ccb[0]; in avdt_ccb_by_bd()
442 AvdtpCcb* p_ccb = &avdtp_cb.ccb[0]; in avdt_ccb_alloc()
464 AvdtpCcb* p_ccb = &avdtp_cb.ccb[channel_index]; in avdt_ccb_alloc_by_channel_index()
516 return (uint8_t)(p_ccb - avdtp_cb.ccb); in avdt_ccb_to_idx()
534 p_ccb = &avdtp_cb.ccb[idx]; in avdt_ccb_by_idx()
Davdt_l2c.cc95 avdtp_cb.ad.lcid_tbl[p_tbl->lcid - L2CAP_BASE_APPL_CID] = in avdt_sec_check_complete_term()
97 avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = p_tbl->lcid; in avdt_sec_check_complete_term()
190 p_tbl->my_mtu = avdtp_cb.rcb.ctrl_mtu; in avdt_l2c_connect_ind_cback()
253 avdtp_cb.ad.lcid_tbl[lcid - L2CAP_BASE_APPL_CID] = in avdt_l2c_connect_ind_cback()
255 avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = lcid; in avdt_l2c_connect_ind_cback()
Davdt_api.cc38 AvdtpCb avdtp_cb; variable
120 avdtp_cb.rcb = *p_reg; in AVDT_Register()
121 avdtp_cb.p_conn_cback = p_cback; in AVDT_Register()
1056 lcid = avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetL2CapChannel()
1081 lcid = avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetSignalChannel()
1085 lcid = avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetSignalChannel()
1210 if (new_level != 0xFF) avdtp_cb.SetTraceLevel(new_level); in AVDT_SetTraceLevel()
1212 return avdtp_cb.TraceLevel(); in AVDT_SetTraceLevel()
1220 avdtp_cb.rcb.ctrl_mtu); in stack_debug_avdtp_api_dump()
1221 dprintf(fd, " Security mask: 0x%x\n", avdtp_cb.rcb.sec_mask); in stack_debug_avdtp_api_dump()
[all …]
Davdt_scb.cc784 (*avdtp_cb.p_scb_act[action])(p_scb, p_data); in avdt_scb_event()
804 avdtp_cb.ccb[i].scb[j].Reset(0); in avdt_scb_init()
808 avdtp_cb.p_scb_act = avdt_scb_action; in avdt_scb_init()
826 AvdtpScb* p_scb = &avdtp_cb.ccb[peer_id].scb[0]; in avdt_scb_alloc()
829 p_scb->Allocate(&avdtp_cb.ccb[peer_id], avdtp_stream_config); in avdt_scb_alloc()
843 uint8_t scb_handle = avdtp_cb.ComputeScbHandle(this); in Allocate()
900 AvdtpScb* p_scb = &avdtp_cb.ccb[i].scb[j]; in avdt_scb_by_hdl()
Davdt_ccb_act.cc125 uint64_t interval_ms = avdtp_cb.rcb.idle_tout * 1000; in avdt_ccb_chk_close()
783 uint64_t interval_ms = avdtp_cb.rcb.ret_tout * 1000; in avdt_ccb_ret_cmd()
1009 if (!p_cback) p_cback = avdtp_cb.p_conn_cback; in avdt_ccb_ll_closed()
1042 if (!p_ccb->p_conn_cback) p_ccb->p_conn_cback = avdtp_cb.p_conn_cback; in avdt_ccb_ll_opened()
Davdt_msg.cc1143 (sig == AVDT_SIG_SECURITY) || (avdtp_cb.rcb.ret_tout == 0)) { in avdt_msg_send()
1146 uint64_t interval_ms = avdtp_cb.rcb.sig_tout * 1000; in avdt_msg_send()
1152 uint64_t interval_ms = avdtp_cb.rcb.ret_tout * 1000; in avdt_msg_send()
Davdt_int.h999 extern AvdtpCb avdtp_cb;
Davdt_scb_act.cc1499 lcid = avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in avdt_scb_clr_pkt()
/system/bt/internal_include/
Dbt_trace.h477 if (avdtp_cb.TraceLevel() >= BT_TRACE_LEVEL_ERROR) \
482 if (avdtp_cb.TraceLevel() >= BT_TRACE_LEVEL_WARNING) \
487 if (avdtp_cb.TraceLevel() >= BT_TRACE_LEVEL_EVENT) \
492 if (avdtp_cb.TraceLevel() >= BT_TRACE_LEVEL_DEBUG) \
497 if (avdtp_cb.TraceLevel() >= BT_TRACE_LEVEL_API) \