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 | 49 enum class Protocol { kTcp, kUdp }; enumerator
|
D | socket.cpp | 248 if (protocol == Protocol::kUdp) { in NewClient() 268 if (protocol == Protocol::kUdp) { in NewServer()
|
D | udp.cpp | 374 return internal::Connect(Socket::NewClient(Socket::Protocol::kUdp, hostname, port, error), in Connect()
|
D | fastboot.cpp | 267 protocol = Socket::Protocol::kUdp; in open_device() 287 } else if (protocol == Socket::Protocol::kUdp) { in open_device()
|