Home
last modified time | relevance | path

Searched refs:Protocol (Results 1 – 14 of 14) 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()
Dfastboot.cpp249 Socket::Protocol protocol = Socket::Protocol::kTcp; in open_device()
256 protocol = Socket::Protocol::kTcp; in open_device()
260 protocol = Socket::Protocol::kUdp; in open_device()
278 if (protocol == Socket::Protocol::kTcp) { in open_device()
280 } else if (protocol == Socket::Protocol::kUdp) { in open_device()
Dtcp.cpp182 return internal::Connect(Socket::NewClient(Socket::Protocol::kTcp, hostname, port, error), in Connect()
Dudp.cpp374 return internal::Connect(Socket::NewClient(Socket::Protocol::kUdp, hostname, port, error), in Connect()
Dfastboot_protocol.txt179 TCP Protocol v1
222 UDP Protocol v1
/system/connectivity/shill/
Dhttp_url.h29 enum Protocol { enum
47 Protocol protocol() const { return protocol_; } in protocol()
58 Protocol protocol_;
Dhttp_url_unittest.cc33 HTTPURL::Protocol in_protocol, in StringAndResult()
45 HTTPURL::Protocol protocol;
Dhttp_url.cc45 Protocol protocol = kProtocolUnknown; in ParseFromString()
/system/sepolicy/
Dppp.te1 # Point to Point Protocol daemon
/system/bt/doc/
Dsupported_features.md6 Protocol / Profile | Version | Roles
/system/core/metricsd/uploader/proto/
Dchrome_user_metrics_extension.proto17 // Protocol buffer for Chrome UMA (User Metrics Analysis).
/system/core/adb/
DOVERVIEW.TXT77 II. Protocol details: