/packages/modules/Bluetooth/system/stack/sdp/ |
D | sdp_main.cc | 199 tCONN_CB& ccb = *p_ccb; in sdp_disconnect_ind() local 202 (ccb.con_state == SDP_STATE_CONNECTED) ? SDP_SUCCESS : SDP_CONN_FAILED; in sdp_disconnect_ind() 203 sdpu_callback(ccb, reason); in sdp_disconnect_ind() 207 sdpu_process_pend_ccb_new_cid(ccb); in sdp_disconnect_ind() 210 sdpu_clear_pend_ccb(ccb); in sdp_disconnect_ind() 213 sdpu_release_ccb(ccb); in sdp_disconnect_ind() 315 tCONN_CB& ccb = *p_ccb; in sdp_disconnect() local 316 log::verbose("SDP - disconnect CID: 0x{:x}", ccb.connection_id); in sdp_disconnect() 319 if (ccb.connection_id != 0) { in sdp_disconnect() 320 ccb.disconnect_reason = reason; in sdp_disconnect() [all …]
|
D | sdp_utils.cc | 339 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_find_ccb_by_cid() 367 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_find_ccb_by_db() 390 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_allocate_ccb() 412 void sdpu_callback(tCONN_CB& ccb, tSDP_REASON reason) { in sdpu_callback() argument 413 if (ccb.p_cb) { in sdpu_callback() 414 (ccb.p_cb)(ccb.device_address, reason); in sdpu_callback() 415 } else if (ccb.complete_callback) { in sdpu_callback() 416 ccb.complete_callback.Run(ccb.device_address, reason); in sdpu_callback() 429 void sdpu_release_ccb(tCONN_CB& ccb) { in sdpu_release_ccb() argument 431 alarm_cancel(ccb.sdp_conn_timer); in sdpu_release_ccb() [all …]
|
D | sdpint.h | 234 tCONN_CB ccb[SDP_MAX_CONNECTIONS]; member 304 bool sdpu_process_pend_ccb_same_cid(tCONN_CB& ccb); 305 bool sdpu_process_pend_ccb_new_cid(tCONN_CB& ccb); 306 void sdpu_clear_pend_ccb(tCONN_CB& ccb); 307 void sdpu_callback(tCONN_CB& ccb, tSDP_REASON reason);
|
/packages/modules/Bluetooth/system/stack/avdt/ |
D | avdt_api.cc | 998 const AvdtpCcb& ccb = avdtp_cb.ccb[i]; in stack_debug_avdtp_api_dump() local 999 if (ccb.peer_addr.IsEmpty()) { in stack_debug_avdtp_api_dump() 1003 ADDRESS_TO_LOGGABLE_CSTR(ccb.peer_addr)); in stack_debug_avdtp_api_dump() 1004 dprintf(fd, " Allocated: %s\n", ccb.allocated ? "true" : "false"); in stack_debug_avdtp_api_dump() 1005 dprintf(fd, " State: %d\n", ccb.state); in stack_debug_avdtp_api_dump() 1007 ccb.ll_opened ? "true" : "false"); in stack_debug_avdtp_api_dump() 1009 ccb.proc_busy ? "true" : "false"); in stack_debug_avdtp_api_dump() 1010 dprintf(fd, " Congested: %s\n", ccb.cong ? "true" : "false"); in stack_debug_avdtp_api_dump() 1012 ccb.reconn ? "true" : "false"); in stack_debug_avdtp_api_dump() 1013 dprintf(fd, " Command retransmission count: %d\n", ccb.ret_count); in stack_debug_avdtp_api_dump() [all …]
|
D | avdt_ccb.cc | 353 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() 463 AvdtpCcb* p_ccb = &avdtp_cb.ccb[channel_index]; in avdt_ccb_alloc_by_channel_index() 514 return (uint8_t)(p_ccb - avdtp_cb.ccb); in avdt_ccb_to_idx() 532 p_ccb = &avdtp_cb.ccb[idx]; in avdt_ccb_by_idx()
|
D | avdt_scb.cc | 780 AvdtpScb* p_avdt_scb = &avdtp_cb.ccb[i].scb[j]; in avdt_scb_event() 793 avdtp_cb.ccb[ccb_index].scb[scb_index].curr_stream = true; in avdt_scb_event() 836 avdtp_cb.ccb[i].scb[j].Reset(0); in avdt_scb_init() 859 AvdtpScb* p_scb = &avdtp_cb.ccb[peer_id].scb[0]; in avdt_scb_alloc() 862 p_scb->Allocate(&avdtp_cb.ccb[peer_id], avdtp_stream_config); in avdt_scb_alloc() 932 AvdtpScb* p_scb = &avdtp_cb.ccb[i].scb[j]; in avdt_scb_by_hdl()
|
D | avdt_int.h | 743 ccb[i].Reset(i); in Reset() 753 AvdtpCcb ccb[AVDT_NUM_LINKS]; // Channel control blocks variable 774 if (&ccb[i].scb[j] == p_scb) { in ComputeScbHandle()
|
/packages/modules/Bluetooth/system/stack/avct/ |
D | avct_ccb.cc | 49 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_ccb_alloc() 113 return (uint8_t)(p_ccb - avct_cb.ccb); in avct_ccb_to_idx() 131 p_ccb = &avct_cb.ccb[idx]; in avct_ccb_by_idx()
|
D | avct_bcb_act.cc | 159 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() 276 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_close_cfm() 385 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_cong_ind() 603 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_dealloc() 675 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_bcb_get_last_ccb_index()
|
D | avct_lcb_act.cc | 225 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_open_ind() 240 p_ccb = &avct_cb.ccb[0]; in avct_lcb_open_ind() 339 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_open_fail() 364 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_close_ind() 393 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_close_cfm() 499 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_cong_ind() 748 p_ccb = &avct_cb.ccb[0]; in avct_msg_ind_for_src_sink_coexist()
|
D | avct_lcb.cc | 312 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_dealloc() 369 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_has_pid() 391 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_last_ccb()
|
D | avct_l2c.cc | 83 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_l2c_is_passive() 153 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_l2c_connect_ind_cback()
|
D | avct_int.h | 135 tAVCT_CCB ccb[AVCT_NUM_CONN]; /* connection control blocks */ member
|
D | avct_l2c_br.cc | 84 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_l2c_br_is_passive()
|
/packages/modules/Bluetooth/system/stack/avrc/ |
D | avrc_api.cc | 113 if (event <= AVRC_MAX_RCV_CTRL_EVT && avrc_cb.ccb[handle].ctrl_cback) { in avrc_ctrl_cback() 119 avrc_cb.ccb[handle].ctrl_cback.Run(handle, avrc_event, result, peer_addr); in avrc_ctrl_cback() 164 if (avrc_cb.ccb[param->handle].ctrl_cback) { in avrc_process_timeout() 165 avrc_cb.ccb[param->handle].ctrl_cback.Run( in avrc_process_timeout() 703 if (((avrc_cb.ccb[handle].control & AVRC_CT_TARGET) && (cr == AVCT_CMD)) || in avrc_msg_cback() 704 ((avrc_cb.ccb[handle].control & AVRC_CT_CONTROL) && (cr == AVCT_RSP))) { in avrc_msg_cback() 720 AVRC_CO_ID_TO_BE_STREAM(p_rsp_data, avrc_cb.ccb[handle].company_id); in avrc_msg_cback() 877 if ((avrc_cb.ccb[handle].control & AVRC_CT_TARGET) && in avrc_msg_cback() 908 avrc_cb.ccb[handle].msg_cback.Run(handle, label, opcode, &msg); in avrc_msg_cback() 911 handle, avrc_cb.ccb[handle].control, cr, opcode); in avrc_msg_cback() [all …]
|
D | avrc_int.h | 146 ccb[AVCT_NUM_CONN]; /* Connection control block from AVRC_Open API */ member
|
/packages/modules/Bluetooth/system/stack/rfcomm/ |
D | rfc_port_fsm.cc | 240 tL2C_CCB* ccb; in rfc_port_sm_sabme_wait_ua() local 243 ccb = l2cu_find_ccb_by_cid(nullptr, lcid); in rfc_port_sm_sabme_wait_ua() 245 if (ccb) { in rfc_port_sm_sabme_wait_ua() 247 ccb->p_lcb->Handle(), lcid, p_port->dlci, p_port->uuid, in rfc_port_sm_sabme_wait_ua() 375 tL2C_CCB* ccb; in rfc_port_sm_term_wait_sec_check() local 378 ccb = l2cu_find_ccb_by_cid(nullptr, lcid); in rfc_port_sm_term_wait_sec_check() 380 if (ccb) { in rfc_port_sm_term_wait_sec_check() 382 ccb->p_lcb->Handle(), lcid, p_port->dlci, p_port->uuid, in rfc_port_sm_term_wait_sec_check()
|
D | port_rfc.cc | 991 tL2C_CCB* ccb; in port_rfc_closed() local 994 ccb = l2cu_find_ccb_by_cid(nullptr, lcid); in port_rfc_closed() 996 if (ccb) { in port_rfc_closed() 998 ccb->p_lcb->Handle(), lcid, p_port->dlci, p_port->uuid); in port_rfc_closed()
|
/packages/modules/Bluetooth/system/stack/l2cap/ |
D | l2c_api.cc | 1790 const tL2C_CCB* ccb = lcb.ccb_queue.p_first_ccb; in L2CA_Dumpsys() local 1791 while (ccb != nullptr) { in L2CA_Dumpsys() 1794 ccb->local_cid, ccb->remote_cid, in L2CA_Dumpsys() 1795 ccb->ecoc ? "true" : "false", in L2CA_Dumpsys() 1796 ccb->in_use ? "true" : "false"); in L2CA_Dumpsys() 1797 ccb = ccb->p_next_ccb; in L2CA_Dumpsys()
|
/packages/modules/Bluetooth/system/stack/fuzzers/ |
D | avrc_fuzzer.cc | 186 tAVRC_CONN_CB ccb = { in Fuzz() local 196 if (AVCT_SUCCESS != AVRC_Open(&handle, &ccb, kDummyRemoteAddr)) { in Fuzz()
|
/packages/modules/Bluetooth/system/bta/av/ |
D | bta_av_act.cc | 344 tAVRC_CONN_CB ccb; in bta_av_rc_create() local 373 ccb.ctrl_cback = base::Bind(bta_av_rc_ctrl_cback); in bta_av_rc_create() 374 ccb.msg_cback = base::Bind(bta_av_rc_msg_cback); in bta_av_rc_create() 375 ccb.company_id = p_bta_av_cfg->company_id; in bta_av_rc_create() 376 ccb.conn = role; in bta_av_rc_create() 379 ccb.control = p_cb->features & (BTA_AV_FEAT_RCTG | BTA_AV_FEAT_RCCT | in bta_av_rc_create() 382 if (AVRC_Open(&rc_handle, &ccb, bda) != AVRC_SUCCESS) { in bta_av_rc_create()
|
/packages/modules/Bluetooth/system/stack/test/sdp/ |
D | stack_sdp_test.cc | 120 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in find_ccb()
|
/packages/apps/Launcher3/tests/assets/ReorderAlgorithmUnitTest/ |
D | reorder_algorithm_test_cases | 268 ccb-ii 269 ccb-ii
|