Searched refs:kTcp (Results 1 – 4 of 4) 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 | 182 return internal::Connect(Socket::NewClient(Socket::Protocol::kTcp, hostname, port, error), in Connect()
|
D | fastboot.cpp | 286 Socket::Protocol protocol = Socket::Protocol::kTcp; in open_device() 293 protocol = Socket::Protocol::kTcp; in open_device() 314 if (protocol == Socket::Protocol::kTcp) { in open_device()
|