Home
last modified time | relevance | path

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

12

/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.java858 theSocket1.setReuseAddress(false); in setReuseAddressZ()
861 theSocket2.setReuseAddress(false); in setReuseAddressZ()
878 theSocket1.setReuseAddress(true); in setReuseAddressZ()
879 theSocket2.setReuseAddress(true); in 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.java1408 theSocket.setReuseAddress(false); in test_setReuseAddressZ()
1414 theSocket2.setReuseAddress(false); in test_setReuseAddressZ()
1437 theSocket.setReuseAddress(true); in test_setReuseAddressZ()
1440 theSocket2.setReuseAddress(true); in test_setReuseAddressZ()
1469 theSocket.setReuseAddress(true); in test_setReuseAddressZ()
1480 theSocket.setReuseAddress(true); in test_getReuseAddress()
1483 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/
DSocketChannelTest.java202 channel1.socket().setReuseAddress(true); in testBind_explicitPort()
1870 serversocket.setReuseAddress(true); in test_finishConnect()
3716 socket.setReuseAddress(true); in testSocket_setOptions()

12