Searched refs:sock (Results 1 – 5 of 5) sorted by relevance
36 bool GetIfState(const char* if_name, int sock, struct ifreq* ifr) { in GetIfState() argument44 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() local57 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() local73 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 …]
121 int sock = android_get_control_socket(socketName); in getLogSocket() local123 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()
289 final Socket sock, in connectSocket() argument305 ((sock != null) ? sock : createSocket()); in connectSocket()366 public boolean isSecure(Socket sock) in isSecure() argument369 if (sock == null) { in isSecure()373 if (!(sock instanceof SSLSocket)) { in isSecure()378 if (sock.isClosed()) { in isSecure()
101 Socket sock, in connectSocket() argument139 boolean isSecure(Socket sock) in isSecure() argument
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...