Home
last modified time | relevance | path

Searched refs:ccb (Results 1 – 17 of 17) sorted by relevance

/system/bt/stack/avct/
Davct_ccb.cc43 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_ccb_alloc()
107 return (uint8_t)(p_ccb - avct_cb.ccb); in avct_ccb_to_idx()
125 p_ccb = &avct_cb.ccb[idx]; in avct_ccb_by_idx()
Davct_bcb_act.cc156 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_open_ind()
221 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_open_fail()
242 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_close_ind()
272 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_close_cfm()
381 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_cong_ind()
587 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_dealloc()
659 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_get_last_ccb_index()
Davct_lcb_act.cc218 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_open_ind()
263 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_open_fail()
286 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_close_ind()
315 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_close_cfm()
419 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_cong_ind()
Davct_lcb.cc302 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_dealloc()
359 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_has_pid()
381 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_last_ccb()
Davct_int.h133 tAVCT_CCB ccb[AVCT_NUM_CONN]; /* connection control blocks */ member
Davct_l2c.cc67 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_l2c_is_passive()
/system/bt/stack/avdt/
Davdt_api.cc1033 const AvdtpCcb& ccb = avdtp_cb.ccb[i]; in stack_debug_avdtp_api_dump() local
1034 if (ccb.peer_addr.IsEmpty()) { in stack_debug_avdtp_api_dump()
1038 ccb.peer_addr.ToString().c_str()); in stack_debug_avdtp_api_dump()
1039 dprintf(fd, " Allocated: %s\n", ccb.allocated ? "true" : "false"); in stack_debug_avdtp_api_dump()
1040 dprintf(fd, " State: %d\n", ccb.state); in stack_debug_avdtp_api_dump()
1042 ccb.ll_opened ? "true" : "false"); in stack_debug_avdtp_api_dump()
1044 ccb.proc_busy ? "true" : "false"); in stack_debug_avdtp_api_dump()
1045 dprintf(fd, " Congested: %s\n", ccb.cong ? "true" : "false"); in stack_debug_avdtp_api_dump()
1047 ccb.reconn ? "true" : "false"); in stack_debug_avdtp_api_dump()
1048 dprintf(fd, " Command retransmission count: %d\n", ccb.ret_count); in stack_debug_avdtp_api_dump()
[all …]
Davdt_ccb.cc352 avdtp_cb.ccb[i].Reset(i); in avdt_ccb_init()
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_scb.cc778 AvdtpScb* p_avdt_scb = &avdtp_cb.ccb[i].scb[j]; in avdt_scb_event()
791 avdtp_cb.ccb[ccb_index].scb[scb_index].curr_stream = true; in avdt_scb_event()
834 avdtp_cb.ccb[i].scb[j].Reset(0); in avdt_scb_init()
856 AvdtpScb* p_scb = &avdtp_cb.ccb[peer_id].scb[0]; in avdt_scb_alloc()
859 p_scb->Allocate(&avdtp_cb.ccb[peer_id], avdtp_stream_config); in avdt_scb_alloc()
930 AvdtpScb* p_scb = &avdtp_cb.ccb[i].scb[j]; in avdt_scb_by_hdl()
Davdt_int.h743 ccb[i].Reset(i); in Reset()
754 AvdtpCcb ccb[AVDT_NUM_LINKS]; // Channel control blocks variable
775 if (&ccb[i].scb[j] == p_scb) { in ComputeScbHandle()
/system/bt/stack/sdp/
Dsdp_main.cc72 sdp_cb.ccb[i].sdp_conn_timer = alarm_new("sdp.sdp_conn_timer"); in sdp_init()
101 alarm_free(sdp_cb.ccb[i].sdp_conn_timer); in sdp_free()
102 sdp_cb.ccb[i].sdp_conn_timer = NULL; in sdp_free()
Dsdpint.h172 tCONN_CB ccb[SDP_MAX_CONNECTIONS]; member
Dsdp_utils.cc304 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_find_ccb_by_cid()
329 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_find_ccb_by_db()
352 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_allocate_ccb()
/system/bt/stack/avrc/
Davrc_api.cc89 if (event <= AVRC_MAX_RCV_CTRL_EVT && avrc_cb.ccb[handle].ctrl_cback) { in avrc_ctrl_cback()
95 avrc_cb.ccb[handle].ctrl_cback.Run(handle, avrc_event, result, peer_addr); in avrc_ctrl_cback()
140 if (avrc_cb.ccb[param->handle].ctrl_cback) { in avrc_process_timeout()
141 avrc_cb.ccb[param->handle].ctrl_cback.Run( in avrc_process_timeout()
682 if (((avrc_cb.ccb[handle].control & AVRC_CT_TARGET) && (cr == AVCT_CMD)) || in avrc_msg_cback()
683 ((avrc_cb.ccb[handle].control & AVRC_CT_CONTROL) && (cr == AVCT_RSP))) { in avrc_msg_cback()
699 AVRC_CO_ID_TO_BE_STREAM(p_rsp_data, avrc_cb.ccb[handle].company_id); in avrc_msg_cback()
860 if ((avrc_cb.ccb[handle].control & AVRC_CT_TARGET) && in avrc_msg_cback()
891 avrc_cb.ccb[handle].msg_cback.Run(handle, label, opcode, &msg); in avrc_msg_cback()
895 avrc_cb.ccb[handle].control, cr, opcode); in avrc_msg_cback()
[all …]
Davrc_int.h145 ccb[AVCT_NUM_CONN]; /* Connection control block from AVRC_Open API */ member
/system/bt/main/shim/
Dacl.cc902 const tL2C_CCB* ccb = lcb.ccb_queue.p_first_ccb; in DumpsysL2cap() local
903 while (ccb != nullptr) { in DumpsysL2cap()
906 ccb->local_cid, ccb->remote_cid, common::ToString(ccb->ecoc).c_str(), in DumpsysL2cap()
907 common::ToString(ccb->in_use).c_str()); in DumpsysL2cap()
908 ccb = ccb->p_next_ccb; in DumpsysL2cap()
/system/bt/bta/av/
Dbta_av_act.cc308 tAVRC_CONN_CB ccb; in bta_av_rc_create() local
335 ccb.ctrl_cback = base::Bind(bta_av_rc_ctrl_cback); in bta_av_rc_create()
336 ccb.msg_cback = base::Bind(bta_av_rc_msg_cback); in bta_av_rc_create()
337 ccb.company_id = p_bta_av_cfg->company_id; in bta_av_rc_create()
338 ccb.conn = role; in bta_av_rc_create()
341 ccb.control = p_cb->features & (BTA_AV_FEAT_RCTG | BTA_AV_FEAT_RCCT | in bta_av_rc_create()
344 if (AVRC_Open(&rc_handle, &ccb, bda) != AVRC_SUCCESS) in bta_av_rc_create()