/libcore/ojluni/src/main/java/java/net/ |
D | SocketImpl.java | 372 <T> void setOption(SocketOption<T> name, T value) throws IOException { in setOption() method in SocketImpl 374 setOption(SocketOptions.SO_KEEPALIVE, value); in setOption() 376 setOption(SocketOptions.SO_SNDBUF, value); in setOption() 378 setOption(SocketOptions.SO_RCVBUF, value); in setOption() 380 setOption(SocketOptions.SO_REUSEADDR, value); in setOption() 382 setOption(SocketOptions.SO_LINGER, value); in setOption() 384 setOption(SocketOptions.IP_TOS, value); in setOption() 386 setOption(SocketOptions.TCP_NODELAY, value); in setOption()
|
D | DatagramSocketImpl.java | 256 <T> void setOption(SocketOption<T> name, T value) throws IOException { in setOption() method in DatagramSocketImpl 258 setOption(SocketOptions.SO_SNDBUF, value); in setOption() 260 setOption(SocketOptions.SO_RCVBUF, value); in setOption() 262 setOption(SocketOptions.SO_REUSEADDR, value); in setOption() 264 setOption(SocketOptions.IP_TOS, value); in setOption() 267 setOption(SocketOptions.IP_MULTICAST_IF2, value); in setOption() 276 setOption(SocketOptions.IP_MULTICAST_LOOP, value); in setOption()
|
D | SocketSecrets.java | 36 … private static <T> void setOption(Object obj, SocketOption<T> name, T value) throws IOException { in setOption() method in SocketSecrets 46 impl.setOption(name, value); in setOption() 62 …private static <T> void setOption(DatagramSocket s, SocketOption<T> name, T value) throws IOExcept… in setOption() method in SocketSecrets 63 s.getImpl().setOption(name, value); in setOption()
|
D | Socket.java | 1012 getImpl().setOption(SocketOptions.TCP_NODELAY, Boolean.valueOf(on)); in setTcpNoDelay() 1050 getImpl().setOption(SocketOptions.SO_LINGER, new Boolean(on)); in setSoLinger() 1057 getImpl().setOption(SocketOptions.SO_LINGER, new Integer(linger)); in setSoLinger() 1137 getImpl().setOption(SocketOptions.SO_OOBINLINE, Boolean.valueOf(on)); in setOOBInline() 1180 getImpl().setOption(SocketOptions.SO_TIMEOUT, new Integer(timeout)); in setSoTimeout() 1236 getImpl().setOption(SocketOptions.SO_SNDBUF, new Integer(size)); in setSendBufferSize() 1310 getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size)); in setReceiveBufferSize() 1349 getImpl().setOption(SocketOptions.SO_KEEPALIVE, Boolean.valueOf(on)); in setKeepAlive() 1421 getImpl().setOption(SocketOptions.IP_TOS, tc); in setTrafficClass() 1493 getImpl().setOption(SocketOptions.SO_REUSEADDR, Boolean.valueOf(on)); in setReuseAddress()
|
D | DatagramSocket.java | 937 getImpl().setOption(SocketOptions.SO_TIMEOUT, new Integer(timeout)); in setSoTimeout() 999 getImpl().setOption(SocketOptions.SO_SNDBUF, new Integer(size)); in setSendBufferSize() 1057 getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size)); in setReceiveBufferSize() 1119 getImpl().setOption(SocketOptions.SO_REUSEADDR, new Integer(on?-1:0)); in setReuseAddress() 1121 getImpl().setOption(SocketOptions.SO_REUSEADDR, Boolean.valueOf(on)); in setReuseAddress() 1160 getImpl().setOption(SocketOptions.SO_BROADCAST, Boolean.valueOf(on)); in setBroadcast() 1221 getImpl().setOption(SocketOptions.IP_TOS, tc); in setTrafficClass()
|
D | MulticastSocket.java | 473 getImpl().setOption(SocketOptions.IP_MULTICAST_IF, inf); in setInterface() 556 getImpl().setOption(SocketOptions.IP_MULTICAST_IF2, netIf); in setNetworkInterface() 599 getImpl().setOption(SocketOptions.IP_MULTICAST_LOOP, Boolean.valueOf(disable)); in setLoopbackMode()
|
D | SocketOptions.java | 90 setOption(int optID, Object value) throws SocketException; in setOption() method
|
D | ServerSocket.java | 654 getImpl().setOption(SocketOptions.SO_TIMEOUT, new Integer(timeout)); in setSoTimeout() 716 getImpl().setOption(SocketOptions.SO_REUSEADDR, Boolean.valueOf(on)); in setReuseAddress() 851 getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size)); in setReceiveBufferSize()
|
D | PlainDatagramSocketImpl.java | 64 protected <T> void setOption(SocketOption<T> name, T value) throws IOException { in setOption() method in PlainDatagramSocketImpl 66 super.setOption(name, value); in setOption()
|
D | PlainSocketImpl.java | 89 protected <T> void setOption(SocketOption<T> name, T value) throws IOException { in setOption() method in PlainSocketImpl 91 super.setOption(name, value); in setOption()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | ServerSocketChannelTest.java | 244 sc.setOption(StandardSocketOptions.SO_REUSEADDR, true); in set_option() 249 sc.setOption(StandardSocketOptions.SO_REUSEADDR, false); in set_option() 254 sc.setOption(StandardSocketOptions.SO_RCVBUF, 1100); in set_option() 259 sc.setOption(StandardSocketOptions.SO_RCVBUF, 2000); in set_option()
|
D | AsynchronousServerSocketChannelTest.java | 209 assc.setOption(StandardSocketOptions.SO_RCVBUF, 5000); in test_options() 212 assc.setOption(StandardSocketOptions.SO_REUSEADDR, true); in test_options() 222 assc.setOption(StandardSocketOptions.SO_KEEPALIVE, true); in test_options_iae() 270 assc.setOption(StandardSocketOptions.SO_REUSEADDR, true); in test_close()
|
D | AsynchronousSocketChannelTest.java | 254 asc.setOption(StandardSocketOptions.SO_REUSEADDR, true); in test_close() 839 asc.setOption(StandardSocketOptions.SO_SNDBUF, 5000); in test_options() 842 asc.setOption(StandardSocketOptions.SO_RCVBUF, 5000); in test_options() 845 asc.setOption(StandardSocketOptions.SO_KEEPALIVE, true); in test_options() 848 asc.setOption(StandardSocketOptions.SO_REUSEADDR, true); in test_options() 851 asc.setOption(StandardSocketOptions.TCP_NODELAY, true); in test_options() 860 asc.setOption(StandardSocketOptions.IP_TOS, 5); in test_options_iae()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ServerSocketAdaptor.java | 162 ssc.setOption(StandardSocketOptions.SO_REUSEADDR, on); in setReuseAddress() 190 ssc.setOption(StandardSocketOptions.SO_RCVBUF, size); in setReceiveBufferSize()
|
D | DatagramSocketAdaptor.java | 269 dc.setOption(name, value); in setBooleanOption() 279 dc.setOption(name, value); in setIntOption() 414 public void setOption(int optID, Object value) throws SocketException {}
|
D | FileDescriptorHolderSocketImpl.java | 47 public void setOption(int optID, Object value) throws SocketException { in setOption() method in FileDescriptorHolderSocketImpl
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | NetworkChannel.java | 130 <T> NetworkChannel setOption(SocketOption<T> name, T value) throws IOException; in setOption() method
|
D | ServerSocketChannel.java | 209 public abstract <T> ServerSocketChannel setOption(SocketOption<T> name, T value) in setOption() method in ServerSocketChannel
|
D | AsynchronousServerSocketChannel.java | 239 public abstract <T> AsynchronousServerSocketChannel setOption(SocketOption<T> name, T value) in setOption() method in AsynchronousServerSocketChannel
|
D | DatagramChannel.java | 226 public abstract <T> DatagramChannel setOption(SocketOption<T> name, T value) in setOption() method in DatagramChannel
|
D | SocketChannel.java | 250 public abstract <T> SocketChannel setOption(SocketOption<T> name, T value) in setOption() method in SocketChannel
|
/libcore/ojluni/src/main/java/jdk/net/ |
D | Sockets.java | 174 public static <T> void setOption(Socket s, SocketOption<T> name, T value) throws IOException in setOption() method in Sockets 232 … public static <T> void setOption(ServerSocket s, SocketOption<T> name, T value) throws IOException in setOption() method in Sockets 291 …public static <T> void setOption(DatagramSocket s, SocketOption<T> name, T value) throws IOExcepti… in setOption() method in Sockets
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | MockServerSocketChannel.java | 55 public <T> ServerSocketChannel setOption(SocketOption<T> name, T value) throws IOException { in setOption() method in MockServerSocketChannel
|
D | MockSocketChannel.java | 105 public <T> SocketChannel setOption(SocketOption<T> name, T value) in setOption() method in MockSocketChannel
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | PlainSocketImpl.java | 41 protected <T> void setOption(java.net.SocketOption<T> name, T value) in setOption() method in PlainSocketImpl
|