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.h48 enum class Protocol { kTcp, kUdp }; enumerator
Dtcp.cpp182 return internal::Connect(Socket::NewClient(Socket::Protocol::kTcp, hostname, port, error), in Connect()
Dfastboot.cpp286 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()