Searched refs:kUdp (Results 1 – 5 of 5) sorted by relevance
/system/core/fastboot/ |
D | socket_test.cpp | 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() 106 ASSERT_TRUE(MakeConnectedSockets(Socket::Protocol::kUdp, &server, &client)); in TEST() 116 for (Socket::Protocol protocol : {Socket::Protocol::kUdp, Socket::Protocol::kTcp}) { in TEST() 140 for (Socket::Protocol protocol : {Socket::Protocol::kUdp, Socket::Protocol::kTcp}) { in TEST() 159 ASSERT_TRUE(MakeConnectedSockets(Socket::Protocol::kUdp, &server, &client)); in TEST() 175 std::unique_ptr<Socket> sock = Socket::NewServer(Socket::Protocol::kUdp, 0); in TEST()
|
D | socket.h | 48 enum class Protocol { kTcp, kUdp }; enumerator
|
D | socket.cpp | 250 if (protocol == Protocol::kUdp) { in NewClient() 270 if (protocol == Protocol::kUdp) { in NewServer()
|
D | udp.cpp | 379 return internal::Connect(Socket::NewClient(Socket::Protocol::kUdp, hostname, port, error), in Connect()
|
D | fastboot.cpp | 313 protocol = Socket::Protocol::kUdp; in open_device() 332 } else if (protocol == Socket::Protocol::kUdp) { in open_device()
|