Searched refs:l2cap_interface (Results 1 – 1 of 1) sorted by relevance
/packages/modules/Bluetooth/system/stack/test/common/ |
D | mock_l2cap_layer.cc | 26 static bluetooth::l2cap::MockL2capInterface* l2cap_interface = nullptr; variable 30 l2cap_interface = mock_l2cap_interface; in SetMockInterface() 42 return l2cap_interface->Register(psm, p_cb_info, enable_snoop, p_ertm_info); in L2CA_Register() 46 return l2cap_interface->ConnectRequest(psm, bd_addr); in L2CA_ConnectReq() 51 return l2cap_interface->ConnectResponse(bd_addr, id, lcid, result, status); in L2CA_ConnectRsp() 55 return l2cap_interface->DisconnectRequest(cid); in L2CA_DisconnectReq() 59 return l2cap_interface->DisconnectResponse(cid); in L2CA_DisconnectRsp() 63 return l2cap_interface->ConfigRequest(cid, p_cfg); in L2CA_ConfigReq() 67 return l2cap_interface->ConfigResponse(cid, p_cfg); in L2CA_ConfigRsp() 71 return l2cap_interface->DataWrite(cid, p_data); in L2CA_DataWrite() [all …]
|