/system/bt/stack/l2cap/ |
D | l2c_csm.cc | 132 uint16_t local_cid = p_ccb->local_cid; in l2c_csm_closed() local 138 p_ccb->local_cid, l2c_csm_get_event_name(event)); in l2c_csm_closed() 146 p_ccb->local_cid, l2c_csm_get_event_name(event)); in l2c_csm_closed() 152 p_ccb->local_cid); in l2c_csm_closed() 154 (*disconnect_ind)(local_cid, false); in l2c_csm_closed() 176 p_ccb->local_cid, p_ci->status); in l2c_csm_closed() 178 (*connect_cfm)(local_cid, p_ci->status); in l2c_csm_closed() 216 (*p_ccb->p_rcb->api.pL2CA_ConnectCfm_Cb)(local_cid, in l2c_csm_closed() 230 p_ccb->local_cid, L2CAP_CONN_TIMEOUT); in l2c_csm_closed() 232 (*connect_cfm)(local_cid, L2CAP_CONN_SECURITY_BLOCK); in l2c_csm_closed() [all …]
|
D | l2c_fcr.cc | 233 if ((p_ccb->local_cid >= L2CAP_BASE_APPL_CID) && in l2c_fcr_cleanup() 245 p_ccb->local_cid, dur); in l2c_fcr_cleanup() 478 p_ccb->local_cid, p_buf->len, in prepare_I_frame() 487 p_ccb->local_cid, p_buf->len, in prepare_I_frame() 566 p_ccb->local_cid, ctrl_word, in l2c_fcr_send_S_frame() 576 p_ccb->local_cid, ctrl_word, in l2c_fcr_send_S_frame() 617 p_ccb->local_cid, p_buf->len); in l2c_fcr_proc_pdu() 638 p_ccb->local_cid, p_buf->len, in l2c_fcr_proc_pdu() 647 p_ccb->local_cid, p_buf->len, in l2c_fcr_proc_pdu() 657 p_ccb->local_cid, p_buf->len, in l2c_fcr_proc_pdu() [all …]
|
D | l2c_utils.cc | 447 UINT16_TO_STREAM(p, p_ccb->local_cid); in l2cu_send_peer_connect_req() 485 UINT16_TO_STREAM(p, p_ccb->local_cid); in l2cu_send_peer_connect_rsp() 871 UINT16_TO_STREAM(p, p_ccb->local_cid); in l2cu_send_peer_disc_req() 902 uint16_t local_cid, uint16_t remote_cid) { in l2cu_send_peer_disc_rsp() argument 916 UINT16_TO_STREAM(p, local_cid); in l2cu_send_peer_disc_rsp() 1183 p_ccb->local_cid, p_ccb->in_use, p_ccb->p_lcb); in l2cu_enqueue_ccb() 1188 p_ccb->local_cid, p_ccb->ccb_priority); in l2cu_enqueue_ccb() 1258 L2CAP_TRACE_DEBUG("l2cu_dequeue_ccb CID: 0x%04x", p_ccb->local_cid); in l2cu_dequeue_ccb() 1268 p_ccb->local_cid, p_ccb->in_use, p_ccb->p_lcb, p_q, in l2cu_dequeue_ccb() 1417 p_ccb->local_cid = L2CAP_BASE_APPL_CID + (uint16_t)(p_ccb - l2cb.ccb_pool); in l2cu_allocate_ccb() [all …]
|
D | l2c_api.cc | 382 psm, p_ccb->local_cid); in L2CA_ErtmConnectReq() 385 return p_ccb->local_cid; in L2CA_ErtmConnectReq() 581 p_ccb->local_cid); in L2CA_ConnectLECocReq() 584 return p_ccb->local_cid; in L2CA_ConnectLECocReq() 673 bool L2CA_SetConnectionCallbacks(uint16_t local_cid, in L2CA_SetConnectionCallbacks() argument 686 tL2C_CCB* channel_control_block = l2cu_find_ccb_by_cid(NULL, local_cid); in L2CA_SetConnectionCallbacks() 690 __func__, local_cid); in L2CA_SetConnectionCallbacks() 1272 p_ccb->remote_cid = p_ccb->local_cid; in L2CA_LocalLoopbackReq() 1276 return (p_ccb->local_cid); in L2CA_LocalLoopbackReq() 2243 (*p_ccb->p_rcb->api.pL2CA_TxComplete_Cb)(p_ccb->local_cid, num_flushed2); in L2CA_FlushChannel()
|
D | l2c_main.cc | 402 p_lcb->handle, p_ccb->local_cid, p_ccb->remote_cid); in process_l2cap_cmd() 405 p_lcb->handle, p_ccb->local_cid, p_ccb->remote_cid); in process_l2cap_cmd() 442 p_lcb->handle, p_ccb->local_cid, p_ccb->remote_cid); in process_l2cap_cmd() 445 p_lcb->handle, p_ccb->local_cid, p_ccb->remote_cid); in process_l2cap_cmd() 998 p_ccb->local_cid, fixed_queue_length(p_ccb->xmit_hold_q), in l2c_data_write()
|
D | l2c_int.h | 287 uint16_t local_cid; /* Local CID */ member 550 uint16_t local_cid; member 610 extern tL2C_CCB* l2cu_find_ccb_by_cid(tL2C_LCB* p_lcb, uint16_t local_cid); 627 uint16_t local_cid, uint16_t remote_cid);
|
D | l2c_link.cc | 805 p_ccb->local_cid, p_ccb->peer_cfg.fcr.mode, p_ccb->ccb_priority, in l2c_link_adjust_chnl_allocation() 970 p_buf->event = p_ccb->local_cid; in l2c_link_check_send_pkts()
|
/system/bt/hci/include/ |
D | btsnoop.h | 35 void (*whitelist_l2c_channel)(uint16_t conn_handle, uint16_t local_cid, 43 void (*whitelist_rfc_dlci)(uint16_t local_cid, uint8_t dlci); 48 void (*add_rfc_l2c_channel)(uint16_t conn_handle, uint16_t local_cid, 52 void (*clear_l2cap_whitelist)(uint16_t conn_handle, uint16_t local_cid,
|
D | bt_vendor_lib.h | 369 uint16_t local_cid; member
|
/system/bt/hci/src/ |
D | btsnoop.cc | 113 void addL2cCid(uint16_t local_cid, uint16_t remote_cid) { in addL2cCid() argument 114 l2c_local_cid.insert(local_cid); in addL2cCid() 119 void setRfcCid(uint16_t local_cid, uint16_t remote_cid) { in setRfcCid() argument 120 rfc_local_cid = local_cid; in setRfcCid() 125 void removeL2cCid(uint16_t local_cid, uint16_t remote_cid) { in removeL2cCid() argument 126 if (rfc_local_cid == local_cid) { in removeL2cCid() 133 l2c_local_cid.erase(local_cid); in removeL2cCid() 287 static void whitelist_l2c_channel(uint16_t conn_handle, uint16_t local_cid, in whitelist_l2c_channel() argument 291 << " cid=" << loghex(local_cid) << ":" << loghex(remote_cid); in whitelist_l2c_channel() 296 filter_list[conn_handle].addL2cCid(local_cid, remote_cid); in whitelist_l2c_channel() [all …]
|
/system/bt/stack/include/ |
D | l2c_api.h | 294 typedef void(tL2CA_CREDITS_RECEIVED_CB)(uint16_t local_cid, 535 bool L2CA_SetConnectionCallbacks(uint16_t local_cid,
|