/system/bt/stack/l2cap/ |
D | l2c_api.cc | 45 tBT_TRANSPORT l2c_get_transport_from_fixed_cid(uint16_t fixed_cid) { in l2c_get_transport_from_fixed_cid() argument 46 if (fixed_cid >= L2CAP_ATT_CID && fixed_cid <= L2CAP_SMP_CID) in l2c_get_transport_from_fixed_cid() 1096 static std::string fixed_channel_text(const uint16_t& fixed_cid) { in fixed_channel_text() argument 1097 switch (fixed_cid) { in fixed_channel_text() 1117 bool L2CA_RegisterFixedChannel(uint16_t fixed_cid, in L2CA_RegisterFixedChannel() argument 1120 return bluetooth::shim::L2CA_RegisterFixedChannel(fixed_cid, p_freg); in L2CA_RegisterFixedChannel() 1123 if ((fixed_cid < L2CAP_FIRST_FIXED_CHNL) || in L2CA_RegisterFixedChannel() 1124 (fixed_cid > L2CAP_LAST_FIXED_CHNL)) { in L2CA_RegisterFixedChannel() 1125 LOG_ERROR("Invalid fixed CID: 0x%04x", fixed_cid); in L2CA_RegisterFixedChannel() 1129 l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL] = *p_freg; in L2CA_RegisterFixedChannel() [all …]
|
D | l2c_utils.cc | 2405 bool l2cu_initialize_fixed_ccb(tL2C_LCB* p_lcb, uint16_t fixed_cid) { in l2cu_initialize_fixed_ccb() argument 2409 p_ccb = p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]; in l2cu_initialize_fixed_ccb() 2424 p_ccb->local_cid = fixed_cid; in l2cu_initialize_fixed_ccb() 2425 p_ccb->remote_cid = fixed_cid; in l2cu_initialize_fixed_ccb() 2430 p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL] = p_ccb; in l2cu_initialize_fixed_ccb() 2438 l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].default_idle_tout; in l2cu_initialize_fixed_ccb()
|
D | l2c_int.h | 746 extern bool l2cu_initialize_fixed_ccb(tL2C_LCB* p_lcb, uint16_t fixed_cid);
|
/system/bt/test/mock/ |
D | mock_stack_l2cap_api.h | 63 std::function<tBT_TRANSPORT(uint16_t fixed_cid)> body{ 64 [](uint16_t fixed_cid) { return 0; }}; 65 tBT_TRANSPORT operator()(uint16_t fixed_cid) { return body(fixed_cid); }; in operator() 343 std::function<bool(uint16_t fixed_cid, tL2CAP_FIXED_CHNL_REG* p_freg)> body{ 344 [](uint16_t fixed_cid, tL2CAP_FIXED_CHNL_REG* p_freg) { return false; }}; 345 bool operator()(uint16_t fixed_cid, tL2CAP_FIXED_CHNL_REG* p_freg) { in operator() 346 return body(fixed_cid, p_freg); in operator() 354 std::function<bool(uint16_t fixed_cid, const RawAddress& rem_bda)> body{ 355 [](uint16_t fixed_cid, const RawAddress& rem_bda) { return false; }}; 356 bool operator()(uint16_t fixed_cid, const RawAddress& rem_bda) { in operator() [all …]
|
D | mock_stack_l2cap_api.cc | 101 tBT_TRANSPORT l2c_get_transport_from_fixed_cid(uint16_t fixed_cid) { in l2c_get_transport_from_fixed_cid() argument 104 fixed_cid); in l2c_get_transport_from_fixed_cid() 223 bool L2CA_RegisterFixedChannel(uint16_t fixed_cid, in L2CA_RegisterFixedChannel() argument 226 return test::mock::stack_l2cap_api::L2CA_RegisterFixedChannel(fixed_cid, in L2CA_RegisterFixedChannel() 229 bool L2CA_ConnectFixedChnl(uint16_t fixed_cid, const RawAddress& rem_bda) { in L2CA_ConnectFixedChnl() argument 231 return test::mock::stack_l2cap_api::L2CA_ConnectFixedChnl(fixed_cid, rem_bda); in L2CA_ConnectFixedChnl() 233 uint16_t L2CA_SendFixedChnlData(uint16_t fixed_cid, const RawAddress& rem_bda, in L2CA_SendFixedChnlData() argument 236 return test::mock::stack_l2cap_api::L2CA_SendFixedChnlData(fixed_cid, rem_bda, in L2CA_SendFixedChnlData() 239 bool L2CA_RemoveFixedChnl(uint16_t fixed_cid, const RawAddress& rem_bda) { in L2CA_RemoveFixedChnl() argument 241 return test::mock::stack_l2cap_api::L2CA_RemoveFixedChnl(fixed_cid, rem_bda); in L2CA_RemoveFixedChnl()
|
D | mock_stack_l2cap_utils.cc | 53 bool l2cu_initialize_fixed_ccb(tL2C_LCB* p_lcb, uint16_t fixed_cid) { in l2cu_initialize_fixed_ccb() argument
|
/system/bt/main/shim/ |
D | l2c_api.h | 348 bool L2CA_RegisterFixedChannel(uint16_t fixed_cid, 363 bool L2CA_ConnectFixedChnl(uint16_t fixed_cid, const RawAddress& bd_addr); 379 uint16_t L2CA_SendFixedChnlData(uint16_t fixed_cid, const RawAddress& rem_bda, 395 bool L2CA_RemoveFixedChnl(uint16_t fixed_cid, const RawAddress& rem_bda);
|
/system/bt/stack/include/ |
D | l2c_api.h | 706 extern bool L2CA_RegisterFixedChannel(uint16_t fixed_cid, 721 extern bool L2CA_ConnectFixedChnl(uint16_t fixed_cid, 738 extern uint16_t L2CA_SendFixedChnlData(uint16_t fixed_cid, 755 extern bool L2CA_RemoveFixedChnl(uint16_t fixed_cid, const RawAddress& rem_bda);
|
/system/bt/gd/l2cap/le/ |
D | facade.proto | 23 uint32 fixed_cid = 2; field
|
/system/bt/gd/l2cap/classic/ |
D | facade.proto | 99 uint32 fixed_cid = 2; field
|
/system/bt/stack/smp/ |
D | smp_utils.cc | 337 uint16_t fixed_cid = L2CAP_SMP_CID; in smp_send_msg_to_L2CAP() local 340 fixed_cid = L2CAP_SMP_BR_CID; in smp_send_msg_to_L2CAP() 348 l2cap_ret = L2CA_SendFixedChnlData(fixed_cid, rem_bda, p_toL2CAP); in smp_send_msg_to_L2CAP() 358 if (fixed_cid == L2CAP_SMP_CID) { in smp_send_msg_to_L2CAP()
|
/system/bt/stack/test/ |
D | gatt_connection_manager_test.cc | 69 bool L2CA_ConnectFixedChnl(uint16_t fixed_cid, const RawAddress& bd_addr) { in L2CA_ConnectFixedChnl() argument
|
/system/bt/gd/cert/ |
D | matchers.py | 381 return lambda packet: None if cid != packet.fixed_cid else packet
|