/libcore/ojluni/src/main/java/java/net/ |
D | SocketImpl.java | 388 <T> T getOption(SocketOption<T> name) throws IOException { in getOption() method in SocketImpl 390 return (T)getOption(SocketOptions.SO_KEEPALIVE); in getOption() 392 return (T)getOption(SocketOptions.SO_SNDBUF); in getOption() 394 return (T)getOption(SocketOptions.SO_RCVBUF); in getOption() 396 return (T)getOption(SocketOptions.SO_REUSEADDR); in getOption() 398 return (T)getOption(SocketOptions.SO_LINGER); in getOption() 400 return (T)getOption(SocketOptions.IP_TOS); in getOption() 402 return (T)getOption(SocketOptions.TCP_NODELAY); in getOption()
|
D | DatagramSocketImpl.java | 282 <T> T getOption(SocketOption<T> name) throws IOException { in getOption() method in DatagramSocketImpl 284 return (T) getOption(SocketOptions.SO_SNDBUF); in getOption() 286 return (T) getOption(SocketOptions.SO_RCVBUF); in getOption() 288 return (T) getOption(SocketOptions.SO_REUSEADDR); in getOption() 290 return (T) getOption(SocketOptions.IP_TOS); in getOption() 293 return (T) getOption(SocketOptions.IP_MULTICAST_IF2); in getOption() 300 return (T) getOption(SocketOptions.IP_MULTICAST_LOOP); in getOption()
|
D | SocketSecrets.java | 49 private static <T> T getOption(Object obj, SocketOption<T> name) throws IOException { in getOption() method in SocketSecrets 59 return impl.getOption(name); in getOption() 66 private static <T> T getOption(DatagramSocket s, SocketOption<T> name) throws IOException { in getOption() method in SocketSecrets 67 return s.getImpl().getOption(name); in getOption()
|
D | Socket.java | 751 in = (InetAddress) getImpl().getOption(SocketOptions.SO_BINDADDR); in getLocalAddress() 1028 return ((Boolean) getImpl().getOption(SocketOptions.TCP_NODELAY)).booleanValue(); in getTcpNoDelay() 1077 Object o = getImpl().getOption(SocketOptions.SO_LINGER); in getSoLinger() 1154 return ((Boolean) getImpl().getOption(SocketOptions.SO_OOBINLINE)).booleanValue(); in getOOBInline() 1197 Object o = getImpl().getOption(SocketOptions.SO_TIMEOUT); in getSoTimeout() 1256 Object o = getImpl().getOption(SocketOptions.SO_SNDBUF); in getSendBufferSize() 1330 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF); in getReceiveBufferSize() 1365 return ((Boolean) getImpl().getOption(SocketOptions.SO_KEEPALIVE)).booleanValue(); in getKeepAlive() 1452 return ((Integer) (getImpl().getOption(SocketOptions.IP_TOS))).intValue(); in getTrafficClass() 1509 return ((Boolean) (getImpl().getOption(SocketOptions.SO_REUSEADDR))).booleanValue(); in getReuseAddress()
|
D | DatagramSocket.java | 887 in = (InetAddress) getImpl().getOption(SocketOptions.SO_BINDADDR); in getLocalAddress() 954 Object o = getImpl().getOption(SocketOptions.SO_TIMEOUT); in getSoTimeout() 1015 Object o = getImpl().getOption(SocketOptions.SO_SNDBUF); in getSendBufferSize() 1073 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF); in getReceiveBufferSize() 1136 Object o = getImpl().getOption(SocketOptions.SO_REUSEADDR); in getReuseAddress() 1174 return ((Boolean)(getImpl().getOption(SocketOptions.SO_BROADCAST))).booleanValue(); in getBroadcast() 1249 return ((Integer)(getImpl().getOption(SocketOptions.IP_TOS))).intValue(); in getTrafficClass()
|
D | MulticastSocket.java | 498 (InetAddress)getImpl().getOption(SocketOptions.IP_MULTICAST_IF); in getInterface() 574 = (Integer)getImpl().getOption(SocketOptions.IP_MULTICAST_IF2); in getNetworkInterface() 611 return ((Boolean)getImpl().getOption(SocketOptions.IP_MULTICAST_LOOP)).booleanValue(); in getLoopbackMode()
|
D | SocketOptions.java | 125 public Object getOption(int optID) throws SocketException; in getOption() method
|
D | ServerSocket.java | 668 Object o = getImpl().getOption(SocketOptions.SO_TIMEOUT); in getSoTimeout() 732 return ((Boolean) (getImpl().getOption(SocketOptions.SO_REUSEADDR))).booleanValue(); in getReuseAddress() 873 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF); in getReceiveBufferSize()
|
D | PlainDatagramSocketImpl.java | 77 protected <T> T getOption(SocketOption<T> name) throws IOException { in getOption() method in PlainDatagramSocketImpl 79 return super.getOption(name); in getOption()
|
D | PlainSocketImpl.java | 102 protected <T> T getOption(SocketOption<T> name) throws IOException { in getOption() method in PlainSocketImpl 104 return super.getOption(name); in getOption()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ServerSocketAdaptor.java | 170 return ssc.getOption(StandardSocketOptions.SO_REUSEADDR).booleanValue(); in getReuseAddress() 198 return ssc.getOption(StandardSocketOptions.SO_RCVBUF).intValue(); in getReceiveBufferSize()
|
D | DatagramSocketAdaptor.java | 287 return dc.getOption(name).booleanValue(); in getBooleanOption() 296 return dc.getOption(name).intValue(); in getIntOption() 412 public Object getOption(int optID) throws SocketException { return null;}
|
D | FileDescriptorHolderSocketImpl.java | 52 public Object getOption(int optID) throws SocketException { in getOption() method in FileDescriptorHolderSocketImpl
|
D | SocketAdaptor.java | 306 return sc.getOption(name).booleanValue(); in getBooleanOption() 315 return sc.getOption(name).intValue(); in getIntOption()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldSocketImplFactoryTest.java | 57 assertNull(si.getOption(0)); in test_createSocketImpl() 170 public Object getOption(int arg0) throws SocketException { in getOption() method in OldSocketImplFactoryTest.MockSocketImpl
|
D | OldDatagramSocketImplFactoryTest.java | 76 assertNull(dsi.getOption(0)); in test_createDatagramSocketImpl() 198 public Object getOption(int arg0) throws SocketException { in getOption() method in OldDatagramSocketImplFactoryTest.TestDatagramSocketImpl
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | NetworkChannel.java | 152 <T> T getOption(SocketOption<T> name) throws IOException; in getOption() method
|
/libcore/ojluni/src/main/java/jdk/net/ |
D | Sockets.java | 202 public static <T> T getOption(Socket s, SocketOption<T> name) throws IOException in getOption() method in Sockets 260 public static <T> T getOption(ServerSocket s, SocketOption<T> name) throws IOException in getOption() method in Sockets 320 public static <T> T getOption(DatagramSocket s, SocketOption<T> name) throws IOException in getOption() method in Sockets
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | ServerSocketChannelTest.java | 247 assertTrue(sc.getOption(StandardSocketOptions.SO_REUSEADDR)); in set_option() 252 assertEquals(false, (boolean)sc.getOption(StandardSocketOptions.SO_REUSEADDR)); in set_option() 255 assertTrue(1100 <= sc.getOption(StandardSocketOptions.SO_RCVBUF)); in set_option()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | MockServerSocketChannel.java | 70 public <T> T getOption(SocketOption<T> name) throws IOException { in getOption() method in MockServerSocketChannel
|
D | MockSocketChannel.java | 121 public <T> T getOption(SocketOption<T> name) throws IOException { in getOption() method in MockSocketChannel
|
D | MockDatagramChannel.java | 111 public <T> T getOption(SocketOption<T> name) throws IOException { in getOption() method in MockDatagramChannel
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | PlainSocketImpl.java | 46 protected <T> T getOption(java.net.SocketOption<T> name) throws java.io.IOException { in getOption() method in PlainSocketImpl
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | SocketImplTest.java | 118 public Object getOption(int optID) throws SocketException { in getOption() method in SocketImplTest.MockSocketImpl
|
D | DatagramSocketImplTest.java | 81 public Object getOption(int optID) throws SocketException { in getOption() method in MockDatagramSocketImpl
|