Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/libwifi_system_iface/
Dinterface_tool.cpp37 bool GetIfState(const char* if_name, int sock, struct ifreq* ifr) { in GetIfState() argument
45 if (TEMP_FAILURE_RETRY(ioctl(sock, SIOCGIFFLAGS, ifr)) != 0) { in GetIfState()
57 base::unique_fd sock(socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in GetUpState() local
58 if (sock.get() < 0) { in GetUpState()
65 if (!GetIfState(if_name, sock.get(), &ifr)) { in GetUpState()
73 base::unique_fd sock(socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in SetUpState() local
74 if (sock.get() < 0) { in SetUpState()
81 if (!GetIfState(if_name, sock.get(), &ifr)) { in SetUpState()
96 if (TEMP_FAILURE_RETRY(ioctl(sock.get(), SIOCSIFFLAGS, &ifr)) != 0) { in SetUpState()
115 base::unique_fd sock(socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in SetMacAddress() local
[all …]
/frameworks/base/cmds/statsd/src/socket/
DStatsSocketListener.cpp148 int sock = android_get_control_socket(socketName); in getLogSocket() local
150 if (sock < 0) { // statsd started up in init.sh in getLogSocket()
151 sock = socket_local_server(socketName, ANDROID_SOCKET_NAMESPACE_RESERVED, SOCK_DGRAM); in getLogSocket()
154 if (setsockopt(sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on))) { in getLogSocket()
158 return sock; in getLogSocket()
/frameworks/base/core/java/org/apache/http/conn/ssl/
DSSLSocketFactory.java299 final Socket sock, in connectSocket() argument
315 ((sock != null) ? sock : createSocket()); in connectSocket()
376 public boolean isSecure(Socket sock) in isSecure() argument
379 if (sock == null) { in isSecure()
383 if (!(sock instanceof SSLSocket)) { in isSecure()
388 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/opt/net/ike/tests/iketests/src/java/com/android/ike/ikev2/
DIkeSocketTest.java136 FileDescriptor sock = in getBoundUdpSocket() local
138 Os.bind(sock, address, IkeSocket.IKE_SERVER_PORT); in getBoundUdpSocket()
139 return sock; in getBoundUdpSocket()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt118160 Ljava/util/logging/SocketHandler;->sock:Ljava/net/Socket;