Searched refs:Protocol (Results 1 – 10 of 10) sorted by relevance
/system/core/fastboot/ |
D | socket_test.cpp | 35 bool MakeConnectedSockets(Socket::Protocol protocol, std::unique_ptr<Socket>* server, in MakeConnectedSockets() 51 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() 106 ASSERT_TRUE(MakeConnectedSockets(Socket::Protocol::kUdp, &server, &client)); 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() 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() [all …]
|
D | socket.h | 49 enum class Protocol { kTcp, kUdp }; enum 58 static std::unique_ptr<Socket> NewClient(Protocol protocol, const std::string& hostname, 65 static std::unique_ptr<Socket> NewServer(Protocol protocol, int port);
|
D | socket.cpp | 246 std::unique_ptr<Socket> Socket::NewClient(Protocol protocol, const std::string& host, int port, in NewClient() 248 if (protocol == Protocol::kUdp) { in NewClient() 267 std::unique_ptr<Socket> Socket::NewServer(Protocol protocol, int port) { in NewServer() 268 if (protocol == Protocol::kUdp) { in NewServer()
|
D | tcp.cpp | 182 return internal::Connect(Socket::NewClient(Socket::Protocol::kTcp, hostname, port, error), in Connect()
|
D | fastboot.cpp | 256 Socket::Protocol protocol = Socket::Protocol::kTcp; in open_device() 263 protocol = Socket::Protocol::kTcp; in open_device() 267 protocol = Socket::Protocol::kUdp; in open_device() 285 if (protocol == Socket::Protocol::kTcp) { in open_device() 287 } else if (protocol == Socket::Protocol::kUdp) { in open_device()
|
D | udp.cpp | 374 return internal::Connect(Socket::NewClient(Socket::Protocol::kUdp, hostname, port, error), in Connect()
|
D | README.md | 184 ## TCP Protocol v1 226 ## UDP Protocol v1
|
/system/bt/doc/ |
D | supported_features.md | 6 Protocol / Profile | Version | Roles
|
/system/sepolicy/public/ |
D | ppp.te | 1 # Point to Point Protocol daemon
|
/system/core/adb/ |
D | OVERVIEW.TXT | 77 II. Protocol details:
|