Home
last modified time | relevance | path

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

/system/bt/stack/test/common/
Dmock_l2cap_layer.cc20 static bluetooth::l2cap::MockL2capInterface* l2cap_interface = nullptr; variable
24 l2cap_interface = mock_l2cap_interface; in SetMockInterface()
31 return l2cap_interface->Register(psm, p_cb_info, enable_snoop); in L2CA_Register()
35 return l2cap_interface->ConnectRequest(psm, bd_addr); in L2CA_ConnectReq()
40 return l2cap_interface->ConnectResponse(bd_addr, id, lcid, result, status); in L2CA_ConnectRsp()
44 return l2cap_interface->DisconnectRequest(cid); in L2CA_DisconnectReq()
48 return l2cap_interface->DisconnectResponse(cid); in L2CA_DisconnectRsp()
52 return l2cap_interface->ConfigRequest(cid, p_cfg); in L2CA_ConfigReq()
56 return l2cap_interface->ConfigResponse(cid, p_cfg); in L2CA_ConfigRsp()
60 return l2cap_interface->DataWrite(cid, p_data); in L2CA_DataWrite()