Home
last modified time | relevance | path

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

12

/libcore/luni/src/test/java/libcore/java/net/
DServerSocketTest.java65 assertTrue(ss.getReuseAddress()); in testInitialState()
DDatagramSocketTest.java53 assertFalse(ds.getReuseAddress()); in testInitialState()
DOldServerSocketTest.java271 newSocket.getReuseAddress(); in test_getReuseAddress()
DOldSocketTest.java1482 theSocket.getReuseAddress()); in test_getReuseAddress()
1485 theSocket.getReuseAddress()); in test_getReuseAddress()
1495 newSocket.getReuseAddress(); in test_getReuseAddress()
DSocketTest.java364 assertFalse(s.getReuseAddress()); in testInitialState()
/libcore/ojluni/annotations/mmodule/java/net/
DServerSocket.annotated.java75 public boolean getReuseAddress() throws java.net.SocketException { throw new RuntimeException("Stub… in getReuseAddress() method in ServerSocket
DDatagramSocket.annotated.java88 public synchronized boolean getReuseAddress() throws java.net.SocketException { throw new RuntimeEx… in getReuseAddress() method in DatagramSocket
DSocket.annotated.java118 public boolean getReuseAddress() throws java.net.SocketException { throw new RuntimeException("Stub… in getReuseAddress() method in Socket
/libcore/luni/src/test/java/libcore/java/nio/channels/
DDatagramChannelTest.java97 assertFalse(socket.getReuseAddress()); in testInitialState()
191 socket.getReuseAddress(); in test_getFileDescriptor()
DServerSocketChannelTest.java74 assertTrue(socket.getReuseAddress()); in open_initialState()
DSocketChannelTest.java158 assertFalse(socket.getReuseAddress()); in test_open_initialState()
/libcore/ojluni/annotations/hiddenapi/java/net/
DServerSocket.java126 public boolean getReuseAddress() throws java.net.SocketException { in getReuseAddress() method in ServerSocket
DDatagramSocket.java163 public synchronized boolean getReuseAddress() throws java.net.SocketException { in getReuseAddress() method in DatagramSocket
DSocket.java245 public boolean getReuseAddress() throws java.net.SocketException { in getReuseAddress() method in Socket
/libcore/ojluni/src/main/java/sun/nio/ch/
DServerSocketAdaptor.java168 public boolean getReuseAddress() throws SocketException { in getReuseAddress() method in ServerSocketAdaptor
DDatagramSocketAdaptor.java327 public boolean getReuseAddress() throws SocketException { in getReuseAddress() method in DatagramSocketAdaptor
DSocketAdaptor.java406 public boolean getReuseAddress() throws SocketException { in getReuseAddress() method in SocketAdaptor
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DServerSocketTest.java723 boolean reuseAddress = socket.getReuseAddress(); in assertReuseAddressAndCloseSocket()
812 assertTrue("getReuseAddress false when it should be true", theSocket.getReuseAddress()); in test_getReuseAddress()
815 theSocket.getReuseAddress()); in test_getReuseAddress()
DDatagramSocketTest.java851 assertTrue("getReuseAddress false when it should be true", theSocket.getReuseAddress()); in test_getReuseAddress()
853 assertFalse("getReuseAddress true when it should be False", theSocket.getReuseAddress()); in test_getReuseAddress()
856 theSocket.getReuseAddress(); in test_getReuseAddress()
DMulticastSocketTest.java122 assertTrue(s.getReuseAddress()); in constructor()
136 assertTrue(dup.getReuseAddress()); in constructorI()
792 assertTrue(s.getReuseAddress()); in constructorLjava_net_SocketAddress()
DSocketTest.java945 assertTrue("getReuseAddress false when it should be true", theSocket.getReuseAddress()); in test_getReuseAddress()
948 theSocket.getReuseAddress()); in test_getReuseAddress()
/libcore/ojluni/src/main/java/java/net/
DServerSocket.java729 public boolean getReuseAddress() throws SocketException { in getReuseAddress() method in ServerSocket
DDatagramSocket.java1133 public synchronized boolean getReuseAddress() throws SocketException { in getReuseAddress() method in DatagramSocket
DSocket.java1506 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()

12