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.h48 enum class Protocol { kTcp, kUdp }; enumerator
Dsocket.cpp250 if (protocol == Protocol::kUdp) { in NewClient()
270 if (protocol == Protocol::kUdp) { in NewServer()
Dudp.cpp379 return internal::Connect(Socket::NewClient(Socket::Protocol::kUdp, hostname, port, error), in Connect()
Dfastboot.cpp322 protocol = Socket::Protocol::kUdp; in open_device()
341 } else if (protocol == Socket::Protocol::kUdp) { in open_device()