Home
last modified time | relevance | path

Searched refs:rcid (Results 1 – 11 of 11) sorted by relevance

/system/bt/stack/l2cap/
Dl2c_main.cc345 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 …]
Dl2c_ble.cc420 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 …]
Dl2c_api.cc910 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/
Dmock_stack_l2cap_api.h273 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()
Dmock_main_shim_l2cap_api.h351 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()
Dmock_stack_l2cap_api.cc195 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()
Dmock_main_shim_l2cap_api.cc226 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/
Dl2c_api.h233 bool L2CA_GetRemoteCid(uint16_t lcid, uint16_t* rcid);
Dl2c_api.cc1129 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/
Dmock_main_shim_l2c_api.cc70 bool bluetooth::shim::L2CA_GetRemoteCid(uint16_t lcid, uint16_t* rcid) { in L2CA_GetRemoteCid() argument
/system/bt/stack/include/
Dl2c_api.h548 bool L2CA_GetRemoteCid(uint16_t lcid, uint16_t* rcid);