Home
last modified time | relevance | path

Searched refs:sock (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/libwifi_system_iface/
Dinterface_tool.cpp36 bool GetIfState(const char* if_name, int sock, struct ifreq* ifr) { in GetIfState() argument
44 if (TEMP_FAILURE_RETRY(ioctl(sock, SIOCGIFFLAGS, ifr)) != 0) { in GetIfState()
56 base::unique_fd sock(socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in GetUpState() local
57 if (sock.get() < 0) { in GetUpState()
64 if (!GetIfState(if_name, sock.get(), &ifr)) { in GetUpState()
72 base::unique_fd sock(socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in SetUpState() local
73 if (sock.get() < 0) { in SetUpState()
80 if (!GetIfState(if_name, sock.get(), &ifr)) { in SetUpState()
95 if (TEMP_FAILURE_RETRY(ioctl(sock.get(), SIOCSIFFLAGS, &ifr)) != 0) { in SetUpState()
114 base::unique_fd sock(socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in SetMacAddress() local
[all …]
/frameworks/base/cmds/statsd/src/socket/
DStatsSocketListener.cpp121 int sock = android_get_control_socket(socketName); in getLogSocket() local
123 if (sock < 0) { // statsd started up in init.sh in getLogSocket()
124 sock = socket_local_server(socketName, ANDROID_SOCKET_NAMESPACE_RESERVED, SOCK_DGRAM); in getLogSocket()
127 if (setsockopt(sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on))) { in getLogSocket()
131 return sock; in getLogSocket()
/frameworks/base/core/java/org/apache/http/conn/ssl/
DSSLSocketFactory.java289 final Socket sock, in connectSocket() argument
305 ((sock != null) ? sock : createSocket()); in connectSocket()
366 public boolean isSecure(Socket sock) in isSecure() argument
369 if (sock == null) { in isSecure()
373 if (!(sock instanceof SSLSocket)) { in isSecure()
378 if (sock.isClosed()) { in isSecure()
/frameworks/base/core/java/org/apache/http/conn/scheme/
DSocketFactory.java101 Socket sock, in connectSocket() argument
139 boolean isSecure(Socket sock) in isSecure() argument
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...