Home
last modified time | relevance | path

Searched refs:Protocol (Results 1 – 15 of 15) 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.h48 enum class Protocol { kTcp, kUdp }; enum
57 static std::unique_ptr<Socket> NewClient(Protocol protocol, const std::string& hostname,
64 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.cpp286 Socket::Protocol protocol = Socket::Protocol::kTcp; in open_device()
293 protocol = Socket::Protocol::kTcp; in open_device()
297 protocol = Socket::Protocol::kUdp; in open_device()
314 if (protocol == Socket::Protocol::kTcp) { in open_device()
316 } 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.md223 ## TCP Protocol v1
265 ## UDP Protocol v1
/system/bt/doc/
Dsupported_features.md6 Protocol / Profile | Version | Roles
/system/sepolicy/prebuilts/api/28.0/public/
Dppp.te1 # Point to Point Protocol daemon
/system/sepolicy/prebuilts/api/27.0/public/
Dppp.te1 # Point to Point Protocol daemon
/system/sepolicy/prebuilts/api/26.0/public/
Dppp.te1 # Point to Point Protocol daemon
/system/sepolicy/prebuilts/api/29.0/public/
Dppp.te1 # Point to Point Protocol daemon
/system/sepolicy/public/
Dppp.te1 # Point to Point Protocol daemon
/system/netd/resolv/
Dstats.proto127 NS_T_HIP = 55; // Host Identity Protocol
/system/core/adb/
DOVERVIEW.TXT76 II. Protocol details: