Searched refs:Protocol (Results 1 – 14 of 14) 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 | fastboot.cpp | 249 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()
|
D | tcp.cpp | 182 return internal::Connect(Socket::NewClient(Socket::Protocol::kTcp, hostname, port, error), in Connect()
|
D | udp.cpp | 374 return internal::Connect(Socket::NewClient(Socket::Protocol::kUdp, hostname, port, error), in Connect()
|
D | fastboot_protocol.txt | 179 TCP Protocol v1 222 UDP Protocol v1
|
/system/connectivity/shill/ |
D | http_url.h | 29 enum Protocol { enum 47 Protocol protocol() const { return protocol_; } in protocol() 58 Protocol protocol_;
|
D | http_url_unittest.cc | 33 HTTPURL::Protocol in_protocol, in StringAndResult() 45 HTTPURL::Protocol protocol;
|
D | http_url.cc | 45 Protocol protocol = kProtocolUnknown; in ParseFromString()
|
/system/sepolicy/ |
D | ppp.te | 1 # Point to Point Protocol daemon
|
/system/bt/doc/ |
D | supported_features.md | 6 Protocol / Profile | Version | Roles
|
/system/core/metricsd/uploader/proto/ |
D | chrome_user_metrics_extension.proto | 17 // Protocol buffer for Chrome UMA (User Metrics Analysis).
|
/system/core/adb/ |
D | OVERVIEW.TXT | 77 II. Protocol details:
|