Home
last modified time | relevance | path

Searched refs:kUdp (Results 1 – 5 of 5) sorted by relevance

/system/core/fastboot/
Dsocket_test.cpp80 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()
Dsocket.h49 enum class Protocol { kTcp, kUdp }; enumerator
Dsocket.cpp248 if (protocol == Protocol::kUdp) { in NewClient()
268 if (protocol == Protocol::kUdp) { in NewServer()
Dudp.cpp374 return internal::Connect(Socket::NewClient(Socket::Protocol::kUdp, hostname, port, error), in Connect()
Dfastboot.cpp263 protocol = Socket::Protocol::kUdp; in open_device()
283 } else if (protocol == Socket::Protocol::kUdp) { in open_device()