Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/test/java/net/SocketOptions/
DOptionsTest.java195 return Boolean.valueOf(socket.getReuseAddress()); in legacyGetOption()
215 return Boolean.valueOf(socket.getReuseAddress()); in legacyGetOption()
233 return Boolean.valueOf(socket.getReuseAddress()); in legacyGetOption()
252 return Boolean.valueOf(socket.getReuseAddress()); in legacyGetOption()
/libcore/ojluni/src/test/java/net/DatagramSocket/
DReuseAddressTest.java92 if (ds.getReuseAddress() == true) { in DatagramSocket0029()
229 if (!ds2.getReuseAddress()) { in DatagramSocket0032()
/libcore/ojluni/annotations/mmodule/java/net/
DServerSocket.annotated.java74 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/net/
DServerSocketTest.java67 assertTrue(ss.getReuseAddress()); in testInitialState()
DDatagramSocketTest.java54 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()
/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
DSocketAdaptor.java406 public boolean getReuseAddress() throws SocketException { in getReuseAddress() method in SocketAdaptor
DDatagramSocketAdaptor.java327 public boolean getReuseAddress() throws SocketException { in getReuseAddress() method in DatagramSocketAdaptor
/libcore/luni/src/test/java/libcore/java/nio/channels/
DDatagramChannelTest.java107 assertFalse(socket.getReuseAddress()); in testInitialState()
210 socket.getReuseAddress(); in test_getFileDescriptor()
DServerSocketChannelTest.java74 assertTrue(socket.getReuseAddress()); in open_initialState()
DSocketChannelTest.java158 assertFalse(socket.getReuseAddress()); in test_open_initialState()
/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()
785 assertTrue(s.getReuseAddress()); in constructorLjava_net_SocketAddress()
/libcore/ojluni/src/main/java/java/net/
DServerSocket.java753 public boolean getReuseAddress() throws SocketException { in getReuseAddress() method in ServerSocket
DDatagramSocket.java1135 public synchronized boolean getReuseAddress() throws SocketException { in getReuseAddress() method in DatagramSocket
DSocket.java1529 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