Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DTestServerSocketInit.java27 serverSocket.setReuseAddress(true); in main()
DServerSocketTest.java732 serverSocket.setReuseAddress(false); in test_setReuseAddressZ()
745 failingServerSocket.setReuseAddress(false); in test_setReuseAddressZ()
759 serverSocket.setReuseAddress(true); in test_setReuseAddressZ()
772 rebindServerSocket.setReuseAddress(true); in test_setReuseAddressZ()
811 theSocket.setReuseAddress(true); in test_getReuseAddress()
813 theSocket.setReuseAddress(false); in test_getReuseAddress()
DDatagramSocketTest.java792 theSocket1.setReuseAddress(false); in test_setReuseAddressZ()
793 theSocket2.setReuseAddress(false); in test_setReuseAddressZ()
810 theSocket1.setReuseAddress(true); in test_setReuseAddressZ()
811 theSocket2.setReuseAddress(true); in test_setReuseAddressZ()
841 theSocket1.setReuseAddress(true); in test_setReuseAddressZ()
850 theSocket.setReuseAddress(true); in test_getReuseAddress()
852 theSocket.setReuseAddress(false); in test_getReuseAddress()
DMulticastSocketTest.java887 theSocket1.setReuseAddress(false); in test_setReuseAddressZ()
890 theSocket2.setReuseAddress(false); in test_setReuseAddressZ()
907 theSocket1.setReuseAddress(true); in test_setReuseAddressZ()
908 theSocket2.setReuseAddress(true); in test_setReuseAddressZ()
DSocketTest.java944 theSocket.setReuseAddress(true); in test_getReuseAddress()
946 theSocket.setReuseAddress(false); in test_getReuseAddress()
1458 theSocket.setReuseAddress(false); in test_setReuseAddressZ()
1464 theSocket2.setReuseAddress(false); in test_setReuseAddressZ()
/libcore/luni/src/test/java/libcore/java/net/
DServerSocketTest.java35 ss.setReuseAddress(true); in testTimeoutAfterAccept()
DOldSocketTest.java1396 theSocket.setReuseAddress(false); in test_setReuseAddressZ()
1402 theSocket2.setReuseAddress(false); in test_setReuseAddressZ()
1425 theSocket.setReuseAddress(true); in test_setReuseAddressZ()
1428 theSocket2.setReuseAddress(true); in test_setReuseAddressZ()
1457 theSocket.setReuseAddress(true); in test_setReuseAddressZ()
1468 theSocket.setReuseAddress(true); in test_getReuseAddress()
1471 theSocket.setReuseAddress(false); in test_getReuseAddress()
DOldServerSocketTest.java261 newSocket.setReuseAddress(true); in test_setReuseAddressZ()
DSocketTest.java490 serverSocket.setReuseAddress(true); in MockServer()
DURLConnectionTest.java3345 …@Override public void setReuseAddress(boolean on) throws SocketException { delegate.setReuseAddres…
3574 @Override public void setReuseAddress(boolean reuse) throws SocketException {
3575 delegate.setReuseAddress(reuse);
/libcore/ojluni/src/main/java/sun/nio/ch/
DServerSocketAdaptor.java160 public void setReuseAddress(boolean on) throws SocketException { in setReuseAddress() method in ServerSocketAdaptor
DSocketAdaptor.java400 public void setReuseAddress(boolean on) throws SocketException { in setReuseAddress() method in SocketAdaptor
DDatagramSocketAdaptor.java323 public void setReuseAddress(boolean on) throws SocketException { in setReuseAddress() method in DatagramSocketAdaptor
/libcore/ojluni/src/main/java/java/net/
DMulticastSocket.java168 setReuseAddress(true); in MulticastSocket()
DServerSocket.java713 public void setReuseAddress(boolean on) throws SocketException { in setReuseAddress() method in ServerSocket
DDatagramSocket.java1114 public synchronized void setReuseAddress(boolean on) throws SocketException { in setReuseAddress() method in DatagramSocket
DSocket.java1485 public void setReuseAddress(boolean on) throws SocketException { in setReuseAddress() method in Socket
/libcore/support/src/test/java/tests/http/
DMockWebServer.java179 serverSocket.setReuseAddress(true); in play()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DSocketChannelTest.java54 ss.setReuseAddress(true); in test_read_intoReadOnlyByteArrays()
/libcore/support/src/test/java/tests/support/
DSupport_TestWebServer.java219 ss.setReuseAddress(true); in init()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSocketChannelTest.java202 channel1.socket().setReuseAddress(true); in testBind_explicitPort()
1870 serversocket.setReuseAddress(true); in test_finishConnect()
3716 socket.setReuseAddress(true); in testSocket_setOptions()
DDatagramChannelTest.java2447 dc.socket().setReuseAddress(true); in test_bind_explicitPort()