Searched refs:sock (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/net/wifi/libwifi_system_iface/ |
D | interface_tool.cpp | 43 bool GetIfState(const char* if_name, int sock, struct ifreq* ifr) { in GetIfState() argument 51 if (TEMP_FAILURE_RETRY(ioctl(sock, SIOCGIFFLAGS, ifr)) != 0) { in GetIfState() 63 base::unique_fd sock(socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in GetUpState() local 64 if (sock.get() < 0) { in GetUpState() 71 if (!GetIfState(if_name, sock.get(), &ifr)) { in GetUpState() 79 base::unique_fd sock(socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in SetUpState() local 80 if (sock.get() < 0) { in SetUpState() 87 if (!GetIfState(if_name, sock.get(), &ifr)) { in SetUpState() 102 if (TEMP_FAILURE_RETRY(ioctl(sock.get(), SIOCSIFFLAGS, &ifr)) != 0) { in SetUpState() 121 base::unique_fd sock(socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in SetMacAddress() local [all …]
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
D | SSLSocketFactory.java | 301 final Socket sock, in connectSocket() argument 317 ((sock != null) ? sock : createSocket()); in connectSocket() 378 public boolean isSecure(Socket sock) in isSecure() argument 381 if (sock == null) { in isSecure() 385 if (!(sock instanceof SSLSocket)) { in isSecure() 390 if (sock.isClosed()) { in isSecure()
|
/frameworks/base/core/java/org/apache/http/conn/scheme/ |
D | SocketFactory.java | 101 Socket sock, in connectSocket() argument 139 boolean isSecure(Socket sock) in isSecure() argument
|