Home
last modified time | relevance | path

Searched refs:getsockoptInt (Results 1 – 10 of 10) sorted by relevance

/libcore/luni/src/main/java/libcore/io/
DIoBridge.java330 int connectError = Libcore.os.getsockoptInt(fd, SOL_SOCKET, SO_ERROR); in isConnected()
378 return Libcore.os.getsockoptInt(fd, IPPROTO_IPV6, IPV6_MULTICAST_IF); in getSocketOptionErrno()
384 return !booleanFromInt(Libcore.os.getsockoptInt(fd, IPPROTO_IPV6, IPV6_MULTICAST_LOOP)); in getSocketOptionErrno()
388 return Libcore.os.getsockoptInt(fd, IPPROTO_IPV6, IPV6_MULTICAST_HOPS); in getSocketOptionErrno()
392 return Libcore.os.getsockoptInt(fd, IPPROTO_IPV6, IPV6_UNICAST_HOPS); in getSocketOptionErrno()
396 return Libcore.os.getsockoptInt(fd, IPPROTO_IPV6, IPV6_TCLASS); in getSocketOptionErrno()
398 return booleanFromInt(Libcore.os.getsockoptInt(fd, SOL_SOCKET, SO_BROADCAST)); in getSocketOptionErrno()
400 return booleanFromInt(Libcore.os.getsockoptInt(fd, SOL_SOCKET, SO_KEEPALIVE)); in getSocketOptionErrno()
408 return booleanFromInt(Libcore.os.getsockoptInt(fd, SOL_SOCKET, SO_OOBINLINE)); in getSocketOptionErrno()
410 return Libcore.os.getsockoptInt(fd, SOL_SOCKET, SO_RCVBUF); in getSocketOptionErrno()
[all …]
DBlockGuardOs.java125 return isUnixDomain(Libcore.os.getsockoptInt(fd, SOL_SOCKET, SO_DOMAIN)); in isUnixSocket()
133 return isInetDomain(Libcore.os.getsockoptInt(fd, SOL_SOCKET, SO_DOMAIN)); in isInetSocket()
147 return Libcore.os.getsockoptInt(fd, SOL_SOCKET, SO_PROTOCOL) == IPPROTO_UDP; in isUdpSocket()
DForwardingOs.java362 …public int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException { return … in getsockoptInt() method in ForwardingOs
DOs.java303 public int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptInt() method
DLinux.java102 public native int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptInt() method in Linux
/libcore/luni/src/main/java/android/system/
DOs.java321 …blic static int getsockoptInt(@NonNull FileDescriptor fd, int level, int option) throws ErrnoExcep… in getsockoptInt() method in Os
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java1509 assertEquals(0, Os.getsockoptInt(fd, IPPROTO_UDP, UDP_SEGMENT));
1513 assertEquals(setValue, Os.getsockoptInt(fd, IPPROTO_UDP, UDP_SEGMENT));
1527 int v = Os.getsockoptInt(fd, OsConstants.IPPROTO_TCP, OsConstants.TCP_USER_TIMEOUT);
1532 int actualValue = Os.getsockoptInt(fd, OsConstants.IPPROTO_TCP,
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DDatagramSocketTest.java108 boolean multicastAllEnabled = Libcore.os.getsockoptInt(ds.getFileDescriptor$(), in test_Constructor()
/libcore/api/
Dmodule-lib-current.txt44 …method public static int getsockoptInt(@NonNull java.io.FileDescriptor, int, int) throws android.s…
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp2813 NATIVE_METHOD(Linux, getsockoptInt, "(Ljava/io/FileDescriptor;II)I"),