Home
last modified time | relevance | path

Searched refs:getReuseAddress (Results 1 – 22 of 22) sorted by relevance

/libcore/ojluni/src/main/java/sun/security/ssl/
DBaseSSLSocketImpl.java520 public final boolean getReuseAddress() throws SocketException { in getReuseAddress() method in BaseSSLSocketImpl
522 return super.getReuseAddress(); in getReuseAddress()
524 return self.getReuseAddress(); in getReuseAddress()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DServerSocketTest.java694 assertTrue(new ServerSocket().getReuseAddress()); in test_defaultValueReuseAddress()
695 assertTrue(new ServerSocket(0).getReuseAddress()); in test_defaultValueReuseAddress()
696 assertTrue(new ServerSocket(0, 50).getReuseAddress()); in test_defaultValueReuseAddress()
697 assertTrue(new ServerSocket(0, 50, InetAddress.getLocalHost()).getReuseAddress()); in test_defaultValueReuseAddress()
700 assertFalse(new ServerSocket().getReuseAddress()); in test_defaultValueReuseAddress()
701 assertFalse(new ServerSocket(0).getReuseAddress()); in test_defaultValueReuseAddress()
702 assertFalse(new ServerSocket(0, 50).getReuseAddress()); in test_defaultValueReuseAddress()
703 assertFalse(new ServerSocket(0, 50, InetAddress.getLocalHost()).getReuseAddress()); in test_defaultValueReuseAddress()
790 assertTrue("getReuseAddress false when it should be true", theSocket.getReuseAddress()); in test_getReuseAddress()
792 assertFalse("getReuseAddress true when it should be False", theSocket.getReuseAddress()); in test_getReuseAddress()
DMulticastSocketTest.java108 assertTrue(s.getReuseAddress()); in test_Constructor()
123 assertTrue(dup.getReuseAddress()); in test_ConstructorI()
809 assertTrue(s.getReuseAddress()); in test_ConstructorLjava_net_SocketAddress()
DDatagramSocketTest.java827 assertTrue("getReuseAddress false when it should be true", theSocket.getReuseAddress()); in test_getReuseAddress()
829 assertFalse("getReuseAddress true when it should be False", theSocket.getReuseAddress()); in test_getReuseAddress()
832 theSocket.getReuseAddress(); in test_getReuseAddress()
DSocketTest.java943 assertTrue("getReuseAddress false when it should be true", theSocket.getReuseAddress()); in test_getReuseAddress()
945 assertFalse("getReuseAddress true when it should be False", theSocket.getReuseAddress()); in test_getReuseAddress()
/libcore/luni/src/test/java/libcore/java/net/
DDatagramSocketTest.java41 assertFalse(ds.getReuseAddress()); in testInitialState()
DServerSocketTest.java57 assertTrue(ss.getReuseAddress()); in testInitialState()
DOldServerSocketTest.java280 newSocket.getReuseAddress(); in test_getReuseAddress()
DOldSocketTest.java1559 theSocket.getReuseAddress()); in test_getReuseAddress()
1562 theSocket.getReuseAddress()); in test_getReuseAddress()
1572 newSocket.getReuseAddress(); in test_getReuseAddress()
DSocketTest.java341 assertFalse(s.getReuseAddress()); in testInitialState()
DURLConnectionTest.java3431 @Override public boolean getReuseAddress() throws SocketException {
3432 return delegate.getReuseAddress();
/libcore/luni/src/test/java/libcore/java/nio/channels/
DDatagramChannelTest.java88 assertFalse(socket.getReuseAddress()); in testInitialState()
183 socket.getReuseAddress(); in test_getFileDescriptor()
DServerSocketChannelTest.java61 assertTrue(socket.getReuseAddress()); in test_open_initialState()
DSocketChannelTest.java149 assertFalse(socket.getReuseAddress()); in test_open_initialState()
/libcore/ojluni/src/main/java/sun/nio/ch/
DServerSocketAdaptor.java179 public boolean getReuseAddress() throws SocketException { in getReuseAddress() method in ServerSocketAdaptor
DDatagramSocketAdaptor.java336 public boolean getReuseAddress() throws SocketException { in getReuseAddress() method in DatagramSocketAdaptor
DSocketAdaptor.java433 public boolean getReuseAddress() throws SocketException { in getReuseAddress() method in SocketAdaptor
/libcore/ojluni/src/main/java/java/net/
DServerSocket.java712 public boolean getReuseAddress() throws SocketException { in getReuseAddress() method in ServerSocket
DDatagramSocket.java1084 public synchronized boolean getReuseAddress() throws SocketException { in getReuseAddress() method in DatagramSocket
DSocket.java1411 public boolean getReuseAddress() throws SocketException { in getReuseAddress() method in Socket
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DDatagramChannelTest.java275 assertFalse(s1.getReuseAddress()); in testSocket_BasicStatusBeforeConnect()
283 assertFalse(s1.getReuseAddress()); in testSocket_BasicStatusBeforeConnect()
330 assertFalse(s.getReuseAddress()); in assertSocketAfterConnect()
337 assertFalse(s.getReuseAddress()); in assertSocketAfterConnect()
DSocketChannelTest.java545 assertFalse(s.getReuseAddress()); in assertSocketBeforeConnect()