Home
last modified time | relevance | path

Searched refs:ccb (Results 1 – 16 of 16) 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.cc159 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_open_ind()
224 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_open_fail()
245 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_close_ind()
275 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_close_cfm()
384 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_cong_ind()
590 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_dealloc()
662 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_get_last_ccb_index()
Davct_lcb_act.cc216 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_open_ind()
261 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_open_fail()
284 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_close_ind()
313 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_close_cfm()
420 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_cong_ind()
Davct_lcb.cc301 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_dealloc()
358 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_has_pid()
380 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_last_ccb()
Davct_int.h136 tAVCT_CCB ccb[AVCT_NUM_CONN]; /* connection control blocks */ member
Davct_l2c.cc76 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_l2c_is_passive()
/system/bt/stack/avdt/
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_api.cc1233 const AvdtpCcb& ccb = avdtp_cb.ccb[i]; in stack_debug_avdtp_api_dump() local
1234 if (ccb.peer_addr.IsEmpty()) { in stack_debug_avdtp_api_dump()
1238 ccb.peer_addr.ToString().c_str()); in stack_debug_avdtp_api_dump()
1239 dprintf(fd, " Allocated: %s\n", ccb.allocated ? "true" : "false"); in stack_debug_avdtp_api_dump()
1240 dprintf(fd, " State: %d\n", ccb.state); in stack_debug_avdtp_api_dump()
1242 ccb.ll_opened ? "true" : "false"); in stack_debug_avdtp_api_dump()
1244 ccb.proc_busy ? "true" : "false"); in stack_debug_avdtp_api_dump()
1245 dprintf(fd, " Congested: %s\n", ccb.cong ? "true" : "false"); in stack_debug_avdtp_api_dump()
1247 ccb.reconn ? "true" : "false"); in stack_debug_avdtp_api_dump()
1248 dprintf(fd, " Command retransmission count: %d\n", ccb.ret_count); in stack_debug_avdtp_api_dump()
[all …]
Davdt_scb.cc804 avdtp_cb.ccb[i].scb[j].Reset(0); 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()
900 AvdtpScb* p_scb = &avdtp_cb.ccb[i].scb[j]; in avdt_scb_by_hdl()
Davdt_int.h753 ccb[i].Reset(i); in Reset()
764 AvdtpCcb ccb[AVDT_NUM_LINKS]; // Channel control blocks variable
785 if (&ccb[i].scb[j] == p_scb) { in ComputeScbHandle()
/system/bt/stack/avrc/
Davrc_api.cc90 if (event <= AVRC_MAX_RCV_CTRL_EVT && avrc_cb.ccb[handle].ctrl_cback) { in avrc_ctrl_cback()
96 avrc_cb.ccb[handle].ctrl_cback.Run(handle, avrc_event, result, peer_addr); in avrc_ctrl_cback()
141 if (avrc_cb.ccb[param->handle].ctrl_cback) { in avrc_process_timeout()
142 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/stack/sdp/
Dsdp_main.cc72 sdp_cb.ccb[i].sdp_conn_timer = alarm_new("sdp.sdp_conn_timer"); in sdp_init()
127 alarm_free(sdp_cb.ccb[i].sdp_conn_timer); in sdp_free()
128 sdp_cb.ccb[i].sdp_conn_timer = NULL; in sdp_free()
Dsdpint.h179 tCONN_CB ccb[SDP_MAX_CONNECTIONS]; member
Dsdp_utils.cc308 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_find_ccb_by_cid()
333 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_find_ccb_by_db()
356 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_allocate_ccb()
/system/bt/bta/av/
Dbta_av_act.cc314 tAVRC_CONN_CB ccb; in bta_av_rc_create() local
341 ccb.ctrl_cback = base::Bind(bta_av_rc_ctrl_cback); in bta_av_rc_create()
342 ccb.msg_cback = base::Bind(bta_av_rc_msg_cback); in bta_av_rc_create()
343 ccb.company_id = p_bta_av_cfg->company_id; in bta_av_rc_create()
344 ccb.conn = role; in bta_av_rc_create()
347 ccb.control = p_cb->features & (BTA_AV_FEAT_RCTG | BTA_AV_FEAT_RCCT | in bta_av_rc_create()
350 if (AVRC_Open(&rc_handle, &ccb, bda) != AVRC_SUCCESS) in bta_av_rc_create()