/system/bt/stack/l2cap/ |
D | l2c_main.cc | 345 uint16_t lcid, rcid; in process_l2cap_cmd() local 350 STREAM_TO_UINT16(rcid, p); in process_l2cap_cmd() 354 lcid, rcid); in process_l2cap_cmd() 358 if ((p_ccb != NULL) && (p_ccb->remote_cid == rcid)) { in process_l2cap_cmd() 384 uint16_t rcid; in process_l2cap_cmd() local 390 STREAM_TO_UINT16(rcid, p); in process_l2cap_cmd() 394 l2cu_reject_connection(p_lcb, rcid, id, L2CAP_CONN_NO_PSM); in process_l2cap_cmd() 400 l2cu_reject_connection(p_lcb, rcid, id, L2CAP_CONN_NO_PSM); in process_l2cap_cmd() 407 l2cu_reject_connection(p_lcb, rcid, id, L2CAP_CONN_NO_RESOURCES); in process_l2cap_cmd() 412 p_ccb->remote_cid = rcid; in process_l2cap_cmd() [all …]
|
D | l2c_ble.cc | 420 uint16_t lcid = 0, rcid = 0, mtu = 0, mps = 0, initial_credit = 0; in l2cble_process_sig_cmd() local 565 STREAM_TO_UINT16(rcid, p); in l2cble_process_sig_cmd() 566 temp_p_ccb = l2cu_find_ccb_by_remote_cid(p_lcb, rcid); in l2cble_process_sig_cmd() 568 LOG_WARN("L2CAP - rcvd conn req for duplicated cid: 0x%04x", rcid); in l2cble_process_sig_cmd() 585 temp_p_ccb->remote_cid = rcid; in l2cble_process_sig_cmd() 763 STREAM_TO_UINT16(rcid, p_tmp); in l2cble_process_sig_cmd() 764 p_ccb = l2cu_find_ccb_by_remote_cid(p_lcb, rcid); in l2cble_process_sig_cmd() 767 "L2CAP - rcvd config req for non existing cid: 0x%04x", rcid); in l2cble_process_sig_cmd() 792 STREAM_TO_UINT16(rcid, p); in l2cble_process_sig_cmd() 795 p_ccb = l2cu_find_ccb_by_remote_cid(p_lcb, rcid); in l2cble_process_sig_cmd() [all …]
|
D | l2c_api.cc | 910 bool L2CA_GetRemoteCid(uint16_t lcid, uint16_t* rcid) { in L2CA_GetRemoteCid() argument 912 return bluetooth::shim::L2CA_GetRemoteCid(lcid, rcid); in L2CA_GetRemoteCid() 918 if (rcid) *rcid = control_block->remote_cid; in L2CA_GetRemoteCid()
|
/system/bt/test/mock/ |
D | mock_stack_l2cap_api.h | 273 std::function<bool(uint16_t lcid, uint16_t* rcid)> body{ 274 [](uint16_t lcid, uint16_t* rcid) { return false; }}; 275 bool operator()(uint16_t lcid, uint16_t* rcid) { return body(lcid, rcid); }; in operator()
|
D | mock_main_shim_l2cap_api.h | 351 std::function<bool(uint16_t lcid, uint16_t* rcid)> body{ 352 [](uint16_t lcid, uint16_t* rcid) { return false; }}; 353 bool operator()(uint16_t lcid, uint16_t* rcid) { return body(lcid, rcid); }; in operator()
|
D | mock_stack_l2cap_api.cc | 195 bool L2CA_GetRemoteCid(uint16_t lcid, uint16_t* rcid) { in L2CA_GetRemoteCid() argument 197 return test::mock::stack_l2cap_api::L2CA_GetRemoteCid(lcid, rcid); in L2CA_GetRemoteCid()
|
D | mock_main_shim_l2cap_api.cc | 226 bool bluetooth::shim::L2CA_GetRemoteCid(uint16_t lcid, uint16_t* rcid) { in L2CA_GetRemoteCid() argument 228 return test::mock::main_shim_l2cap_api::L2CA_GetRemoteCid(lcid, rcid); in L2CA_GetRemoteCid()
|
/system/bt/main/shim/ |
D | l2c_api.h | 233 bool L2CA_GetRemoteCid(uint16_t lcid, uint16_t* rcid);
|
D | l2c_api.cc | 1129 bool L2CA_GetRemoteCid(uint16_t lcid, uint16_t* rcid) { in L2CA_GetRemoteCid() argument 1135 *rcid = classic_dynamic_channel_helper_map_[psm]->GetRemoteCid(lcid); in L2CA_GetRemoteCid() 1136 return *rcid != 0; in L2CA_GetRemoteCid()
|
/system/bt/stack/test/common/ |
D | mock_main_shim_l2c_api.cc | 70 bool bluetooth::shim::L2CA_GetRemoteCid(uint16_t lcid, uint16_t* rcid) { in L2CA_GetRemoteCid() argument
|
/system/bt/stack/include/ |
D | l2c_api.h | 548 bool L2CA_GetRemoteCid(uint16_t lcid, uint16_t* rcid);
|