Home
last modified time | relevance | path

Searched refs:tcid (Results 1 – 5 of 5) sorted by relevance

/system/bt/stack/avdt/
Davdt_ad.cc45 if (tc.tcid >= AVDT_NUM_RT_TBL) { in LookupAvdtpScb()
47 tc.tcid); in LookupAvdtpScb()
50 const AvdtpRoutingEntry& re = rt_tbl[tc.ccb_idx][tc.tcid]; in LookupAvdtpScb()
52 tc.tcid, re.scb_hdl); in LookupAvdtpScb()
76 uint8_t tcid = (scb_idx * (AVDT_CHAN_NUM_TYPES - 1)) + type; in avdt_ad_type_to_tcid() local
77 AVDT_TRACE_DEBUG("%s: type:%d, tcid: %d", __func__, type, tcid); in avdt_ad_type_to_tcid()
78 return tcid; in avdt_ad_type_to_tcid()
91 static uint8_t avdt_ad_tcid_to_type(uint8_t tcid) { in avdt_ad_tcid_to_type() argument
94 if (tcid == 0) { in avdt_ad_tcid_to_type()
102 type = ((tcid + AVDT_CHAN_NUM_TYPES - 2) % (AVDT_CHAN_NUM_TYPES - 1)) + 1; in avdt_ad_tcid_to_type()
[all …]
Davdt_l2c.cc97 avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = p_tbl->lcid; in avdt_sec_check_complete_term()
192 p_tbl->tcid = AVDT_CHAN_SIG; 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()
294 if (p_tbl->tcid != AVDT_CHAN_SIG) { in avdt_l2c_connect_cfm_cback()
Davdt_api.cc1083 uint8_t tcid; in AVDT_GetL2CapChannel() local
1090 tcid = avdt_ad_type_to_tcid(AVDT_CHAN_MEDIA, p_scb); in AVDT_GetL2CapChannel()
1092 lcid = avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetL2CapChannel()
1111 uint8_t tcid = 0; /* tcid is always 0 for signal channel */ in AVDT_GetSignalChannel() local
1117 lcid = avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetSignalChannel()
1121 lcid = avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in AVDT_GetSignalChannel()
Davdt_int.h397 uint8_t tcid; /* TCID */ member
653 tcid(0), in AvdtpTransportChannel()
664 tcid = 0; in Reset()
675 uint8_t tcid; // Transport channel ID variable
Davdt_scb_act.cc1487 uint8_t tcid; in avdt_scb_clr_pkt() local
1497 tcid = avdt_ad_type_to_tcid(AVDT_CHAN_MEDIA, p_scb); in avdt_scb_clr_pkt()
1499 lcid = avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid; in avdt_scb_clr_pkt()