Home
last modified time | relevance | path

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

/system/core/fastboot/
Dsocket_test.cpp51 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()
Dsocket.h49 enum class Protocol { kTcp, kUdp }; enumerator
Dtcp.cpp182 return internal::Connect(Socket::NewClient(Socket::Protocol::kTcp, hostname, port, error), in Connect()
Dfastboot.cpp252 Socket::Protocol protocol = Socket::Protocol::kTcp; in open_device()
259 protocol = Socket::Protocol::kTcp; in open_device()
281 if (protocol == Socket::Protocol::kTcp) { in open_device()