Home
last modified time | relevance | path

Searched refs:kTcp (Results 1 – 5 of 5) 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.cpp187 return internal::Connect(Socket::NewClient(Socket::Protocol::kTcp, hostname, port, error), in Connect()
Dfastboot.cpp302 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/
Dtcp_client.cpp49 service_ = Socket::NewServer(Socket::Protocol::kTcp, kDefaultPort); in ClientTcpTransport()