Home
last modified time | relevance | path

Searched refs:setReuseAddress (Results 1 – 25 of 25) 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.java503 serverSocket.setReuseAddress(true); in MockServer()
/libcore/ojluni/annotations/mmodule/java/net/
DServerSocket.annotated.java72 public void setReuseAddress(boolean on) throws java.net.SocketException { throw new RuntimeExceptio… in setReuseAddress() method in ServerSocket
DDatagramSocket.annotated.java86 public synchronized void setReuseAddress(boolean on) throws java.net.SocketException { throw new Ru… in setReuseAddress() method in DatagramSocket
DSocket.annotated.java116 public void setReuseAddress(boolean on) throws java.net.SocketException { throw new RuntimeExceptio… in setReuseAddress() method in Socket
/libcore/ojluni/annotations/hiddenapi/java/net/
DServerSocket.java122 public void setReuseAddress(boolean on) throws java.net.SocketException { in setReuseAddress() method in ServerSocket
DDatagramSocket.java159 public synchronized void setReuseAddress(boolean on) throws java.net.SocketException { in setReuseAddress() method in DatagramSocket
DSocket.java241 public void setReuseAddress(boolean on) throws java.net.SocketException { in setReuseAddress() method in Socket
/libcore/ojluni/src/main/java/sun/nio/ch/
DServerSocketAdaptor.java160 public void setReuseAddress(boolean on) throws SocketException { in setReuseAddress() method in ServerSocketAdaptor
DDatagramSocketAdaptor.java323 public void setReuseAddress(boolean on) throws SocketException { in setReuseAddress() method in DatagramSocketAdaptor
DSocketAdaptor.java402 public void setReuseAddress(boolean on) throws SocketException { in setReuseAddress() method in SocketAdaptor
/libcore/ojluni/src/main/java/java/net/
DMulticastSocket.java170 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.java1490 public void setReuseAddress(boolean on) throws SocketException { in setReuseAddress() method in Socket
/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/
DDatagramChannelTest.java2447 dc.socket().setReuseAddress(true); in test_bind_explicitPort()