Home
last modified time | relevance | path

Searched refs:Protocol (Results 1 – 10 of 10) sorted by relevance

/system/core/fastboot/
Dsocket_test.cpp35 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 …]
Dsocket.h49 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);
Dsocket.cpp246 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()
Dtcp.cpp182 return internal::Connect(Socket::NewClient(Socket::Protocol::kTcp, hostname, port, error), in Connect()
Dfastboot.cpp256 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()
Dudp.cpp374 return internal::Connect(Socket::NewClient(Socket::Protocol::kUdp, hostname, port, error), in Connect()
DREADME.md184 ## TCP Protocol v1
226 ## UDP Protocol v1
/system/bt/doc/
Dsupported_features.md6 Protocol / Profile | Version | Roles
/system/sepolicy/public/
Dppp.te1 # Point to Point Protocol daemon
/system/core/adb/
DOVERVIEW.TXT77 II. Protocol details: