Searched refs:kTcp (Results 1 – 5 of 5) sorted by relevance
/system/core/fastboot/ |
D | socket_test.cpp | 51 if (protocol == Socket::Protocol::kTcp) { in MakeConnectedSockets() 80 for (Socket::Protocol protocol : {Socket::Protocol::kUdp, Socket::Protocol::kTcp}) { in TEST() 95 for (Socket::Protocol protocol : {Socket::Protocol::kUdp, Socket::Protocol::kTcp}) { in TEST() 116 for (Socket::Protocol protocol : {Socket::Protocol::kUdp, Socket::Protocol::kTcp}) { in TEST() 129 ASSERT_TRUE(MakeConnectedSockets(Socket::Protocol::kTcp, &server, &client)); in TEST() 140 for (Socket::Protocol protocol : {Socket::Protocol::kUdp, Socket::Protocol::kTcp}) { in TEST() 212 std::unique_ptr<Socket> sock = Socket::NewServer(Socket::Protocol::kTcp, 0); in TEST()
|
D | socket.h | 48 enum class Protocol { kTcp, kUdp }; enumerator
|
D | tcp.cpp | 187 return internal::Connect(Socket::NewClient(Socket::Protocol::kTcp, hostname, port, error), in Connect()
|
D | fastboot.cpp | 302 Socket::Protocol protocol = Socket::Protocol::kTcp; in open_device() 309 protocol = Socket::Protocol::kTcp; in open_device() 330 if (protocol == Socket::Protocol::kTcp) { in open_device()
|
/system/core/fastboot/device/ |
D | tcp_client.cpp | 49 service_ = Socket::NewServer(Socket::Protocol::kTcp, kDefaultPort); in ClientTcpTransport()
|