Home
last modified time | relevance | path

Searched refs:getOption (Results 1 – 25 of 32) sorted by relevance

12

/libcore/ojluni/src/main/java/java/net/
DSocket.java702 in = (InetAddress) getImpl().getOption(SocketOptions.SO_BINDADDR); in getLocalAddress()
970 return ((Boolean) getImpl().getOption(SocketOptions.TCP_NODELAY)).booleanValue(); in getTcpNoDelay()
1017 Object o = getImpl().getOption(SocketOptions.SO_LINGER); in getSoLinger()
1083 return ((Boolean) getImpl().getOption(SocketOptions.SO_OOBINLINE)).booleanValue(); in getOOBInline()
1123 Object o = getImpl().getOption(SocketOptions.SO_TIMEOUT); in getSoTimeout()
1180 Object o = getImpl().getOption(SocketOptions.SO_SNDBUF); in getSendBufferSize()
1252 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF); in getReceiveBufferSize()
1286 return ((Boolean) getImpl().getOption(SocketOptions.SO_KEEPALIVE)).booleanValue(); in getKeepAlive()
1359 return ((Integer) (getImpl().getOption(SocketOptions.IP_TOS))).intValue(); in getTrafficClass()
1414 return ((Boolean) (getImpl().getOption(SocketOptions.SO_REUSEADDR))).booleanValue(); in getReuseAddress()
DDatagramSocket.java838 in = (InetAddress) getImpl().getOption(SocketOptions.SO_BINDADDR); in getLocalAddress()
905 Object o = getImpl().getOption(SocketOptions.SO_TIMEOUT); in getSoTimeout()
966 Object o = getImpl().getOption(SocketOptions.SO_SNDBUF); in getSendBufferSize()
1024 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF); in getReceiveBufferSize()
1087 Object o = getImpl().getOption(SocketOptions.SO_REUSEADDR); in getReuseAddress()
1125 return ((Boolean)(getImpl().getOption(SocketOptions.SO_BROADCAST))).booleanValue(); in getBroadcast()
1193 return ((Integer)(getImpl().getOption(SocketOptions.IP_TOS))).intValue(); in getTrafficClass()
DSocketOptions.java123 public Object getOption(int optID) throws SocketException; in getOption() method
DMulticastSocket.java492 (InetAddress)getImpl().getOption(SocketOptions.IP_MULTICAST_IF); in getInterface()
567 = (Integer)getImpl().getOption(SocketOptions.IP_MULTICAST_IF2); in getNetworkInterface()
604 return ((Boolean)getImpl().getOption(SocketOptions.IP_MULTICAST_LOOP)).booleanValue(); in getLoopbackMode()
DServerSocket.java652 Object o = getImpl().getOption(SocketOptions.SO_TIMEOUT); in getSoTimeout()
715 return ((Boolean) (getImpl().getOption(SocketOptions.SO_REUSEADDR))).booleanValue(); in getReuseAddress()
850 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF); in getReceiveBufferSize()
DAbstractPlainDatagramSocketImpl.java327 public Object getOption(int optID) throws SocketException { in getOption() method in AbstractPlainDatagramSocketImpl
DAbstractPlainSocketImpl.java267 public Object getOption(int opt) throws SocketException { in getOption() method in AbstractPlainSocketImpl
/libcore/ojluni/src/main/java/java/nio/channels/
DNetworkChannel.java149 <T> T getOption(SocketOption<T> name) throws IOException; in getOption() method
/libcore/luni/src/test/java/libcore/java/nio/channels/
DServerSocketChannelTest.java176 assertTrue(sc.getOption(StandardSocketOptions.SO_REUSEADDR)); in test_setOption()
181 assertEquals(false, (boolean)sc.getOption(StandardSocketOptions.SO_REUSEADDR)); in test_setOption()
184 assertTrue(1100 <= sc.getOption(StandardSocketOptions.SO_RCVBUF)); in test_setOption()
DDatagramChannelTest.java168 assertEquals(4096, (int) dc.getOption(StandardSocketOptions.SO_SNDBUF)); in test_setOption()
DOldSocketChannelTest.java445 public <T> T getOption(SocketOption<T> name) throws IOException { in getOption() method in OldSocketChannelTest.MockSocketChannel
DSocketChannelTest.java286 assertEquals(1000, (int) sc.<Integer>getOption(StandardSocketOptions.SO_LINGER)); in test_setOption()
/libcore/luni/src/test/java/libcore/java/net/
DOldSocketImplFactoryTest.java57 assertNull(si.getOption(0)); in test_createSocketImpl()
170 public Object getOption(int arg0) throws SocketException { in getOption() method in OldSocketImplFactoryTest.MockSocketImpl
DOldDatagramSocketImplFactoryTest.java76 assertNull(dsi.getOption(0)); in test_createDatagramSocketImpl()
198 public Object getOption(int arg0) throws SocketException { in getOption() method in OldDatagramSocketImplFactoryTest.TestDatagramSocketImpl
DOldServerSocketTest.java382 public Object getOption(int arg0) throws SocketException { in getOption() method in OldServerSocketTest.MockSocketImpl
/libcore/ojluni/src/main/java/sun/nio/ch/
DServerSocketAdaptor.java181 return ssc.getOption(StandardSocketOptions.SO_REUSEADDR).booleanValue(); in getReuseAddress()
209 return ssc.getOption(StandardSocketOptions.SO_RCVBUF).intValue(); in getReceiveBufferSize()
DDatagramSocketAdaptor.java296 return dc.getOption(name).booleanValue(); in getBooleanOption()
305 return dc.getOption(name).intValue(); in getIntOption()
419 public Object getOption(int optID) throws SocketException { return null;}
DFileDescriptorHolderSocketImpl.java52 public Object getOption(int optID) throws SocketException { in getOption() method in FileDescriptorHolderSocketImpl
DSocketAdaptor.java330 return sc.getOption(name).booleanValue(); in getBooleanOption()
339 return sc.getOption(name).intValue(); in getIntOption()
DServerSocketChannelImpl.java151 public <T> T getOption(SocketOption<T> name) in getOption() method in ServerSocketChannelImpl
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DMockServerSocketChannel.java70 public <T> T getOption(SocketOption<T> name) throws IOException { in getOption() method in MockServerSocketChannel
DMockSocketChannel.java121 public <T> T getOption(SocketOption<T> name) throws IOException { in getOption() method in MockSocketChannel
DMockDatagramChannel.java110 public <T> T getOption(SocketOption<T> name) throws IOException { in getOption() method in MockDatagramChannel
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DSocketImplTest.java112 public Object getOption(int optID) throws SocketException { in getOption() method in SocketImplTest.MockSocketImpl
DDatagramSocketImplTest.java74 public Object getOption(int optID) throws SocketException { in getOption() method in MockDatagramSocketImpl

12