Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/tools/rootcanal/net/
Dasync_data_channel.h32 class AsyncDataChannel; variable
36 using ReadCallback = std::function<void(AsyncDataChannel*)>;
43 class AsyncDataChannel {
45 virtual ~AsyncDataChannel() = default;
Dasync_data_channel_connector.h38 virtual std::shared_ptr<AsyncDataChannel> ConnectToRemoteServer(
Dasync_data_channel_server.h27 using ConnectCallback = std::function<void(std::shared_ptr<AsyncDataChannel>,
/packages/modules/Bluetooth/tools/rootcanal/model/hci/
Dh4_data_channel_packetizer.h29 using android::net::AsyncDataChannel;
35 H4DataChannelPacketizer(std::shared_ptr<AsyncDataChannel> socket,
44 void OnDataReady(std::shared_ptr<AsyncDataChannel> socket);
47 std::shared_ptr<AsyncDataChannel> uart_socket_;
Dhci_socket_transport.h27 using android::net::AsyncDataChannel;
31 HciSocketTransport(std::shared_ptr<AsyncDataChannel> socket);
35 std::shared_ptr<AsyncDataChannel> socket) { in Create()
49 std::shared_ptr<AsyncDataChannel> socket_;
Dh4_data_channel_packetizer.cc36 std::shared_ptr<AsyncDataChannel> socket, PacketReadCallback command_cb, in H4DataChannelPacketizer()
66 std::shared_ptr<AsyncDataChannel> socket) { in OnDataReady()
Dhci_socket_transport.cc23 HciSocketTransport::HciSocketTransport(std::shared_ptr<AsyncDataChannel> socket) in HciSocketTransport()
/packages/modules/Bluetooth/tools/rootcanal/model/setup/
Dtest_channel_transport.h29 using android::net::AsyncDataChannel;
54 static void SendResponse(std::shared_ptr<AsyncDataChannel> socket,
57 void OnCommandReady(AsyncDataChannel* socket,
63 std::function<void(std::shared_ptr<AsyncDataChannel>)> connection_callback_;
Dtest_channel_transport.cc46 void TestChannelTransport::OnCommandReady(AsyncDataChannel* socket, in OnCommandReady()
99 std::shared_ptr<AsyncDataChannel> socket, const std::string& response) { in SendResponse()
/packages/modules/Bluetooth/tools/rootcanal/test/
Dposix_socket_unittest.cc67 using SocketCon = std::shared_ptr<AsyncDataChannel>;
80 std::shared_ptr<AsyncDataChannel> sock1; in connectPair()
81 std::shared_ptr<AsyncDataChannel> sock2; in connectPair()
84 [&](std::shared_ptr<AsyncDataChannel> sock, AsyncDataChannelServer*) { in connectPair()
242 std::vector<std::shared_ptr<AsyncDataChannel>> connections; in TEST_F()
245 pass_.SetOnConnectCallback([&](std::shared_ptr<AsyncDataChannel> const& sock, in TEST_F()
271 std::vector<std::shared_ptr<AsyncDataChannel>> connections; in TEST_F()
275 [&](std::shared_ptr<AsyncDataChannel> sock, AsyncDataChannelServer*) { in TEST_F()
/packages/modules/Bluetooth/tools/rootcanal/model/devices/
Dlink_layer_socket_device.h32 using android::net::AsyncDataChannel;
36 LinkLayerSocketDevice(std::shared_ptr<AsyncDataChannel> socket_fd,
42 std::shared_ptr<AsyncDataChannel> socket_fd, Phy::Type phy_type) { in Create()
60 std::shared_ptr<AsyncDataChannel> socket_;
Dlink_layer_socket_device.cc38 std::shared_ptr<AsyncDataChannel> socket_fd, Phy::Type phy_type) in LinkLayerSocketDevice()
/packages/modules/Bluetooth/tools/rootcanal/desktop/
Dtest_environment.cc110 std::shared_ptr<AsyncDataChannel> socket, in SetUpHciServer()
196 [this](std::shared_ptr<AsyncDataChannel> socket, in SetUpLinkBleLayerServer()
208 [this](std::shared_ptr<AsyncDataChannel> socket, in SetUpLinkLayerServer()
229 test_socket_server_, [this](std::shared_ptr<AsyncDataChannel> conn_fd, in SetUpTestChannel()
245 conn_fd->WatchForNonBlockingRead([this](AsyncDataChannel* conn_fd) { in SetUpTestChannel()
Dtest_environment.h34 class AsyncDataChannel; variable
40 using android::net::AsyncDataChannel;
/packages/modules/Bluetooth/tools/rootcanal/net/posix/
Dposix_async_socket_connector.h24 class AsyncDataChannel; variable
52 std::shared_ptr<AsyncDataChannel> ConnectToRemoteServer(
Dposix_async_socket_server.cc31 class AsyncDataChannel;
89 [this](AsyncDataChannel* /* socket */) { AcceptSocket(); }); in StartListening() argument
Dposix_async_socket.h34 class PosixAsyncSocket : public AsyncDataChannel {
Dposix_async_socket_connector.cc36 std::shared_ptr<AsyncDataChannel>
/packages/modules/Bluetooth/tools/rootcanal/hal/
Dbluetooth_hci.cc199 SetUpHciServer([this](std::shared_ptr<AsyncDataChannel> socket, in initialize_impl()
206 SetUpLinkLayerServer([this](std::shared_ptr<AsyncDataChannel> socket, in initialize_impl()
326 test_socket_server_, [this](std::shared_ptr<AsyncDataChannel> conn_fd, in SetUpTestChannel()
334 conn_fd->WatchForNonBlockingRead([this](AsyncDataChannel* conn_fd) { in SetUpTestChannel()
Dbluetooth_hci.h39 using android::net::AsyncDataChannel;