Home
last modified time | relevance | path

Searched refs:getSoTimeout (Results 1 – 17 of 17) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DServerSocketTest.java53 assertEquals(0, result[0].getSoTimeout()); in testTimeoutAfterAccept()
DOldServerSocketTest.java234 int actualTimeout = s.getSoTimeout(); in test_getSoTimeout_setSoTimeout()
239 s.getSoTimeout(); in test_getSoTimeout_setSoTimeout()
DOldSocketTest.java394 int ms = s.getSoTimeout(); in test_getSoTimeout_setSoTimeout()
398 s.getSoTimeout(); in test_getSoTimeout_setSoTimeout()
1306 Math.abs(1000 - theSocket.getSoTimeout()) <= 10); in test_connectLjava_net_SocketAddressI_setSOTimeout()
1310 Math.abs(2000 - theSocket.getSoTimeout()) <= 10); in test_connectLjava_net_SocketAddressI_setSOTimeout()
DURLConnectionTest.java3332 … @Override public int getSoTimeout() throws SocketException { return delegate.getSoTimeout(); }
3498 @Override public int getSoTimeout() throws SocketException {
3499 return delegate.getSoTimeout();
/libcore/ojluni/src/main/java/sun/nio/ch/
DServerSocketAdaptor.java156 public int getSoTimeout() throws SocketException { in getSoTimeout() method in ServerSocketAdaptor
DSocketAdaptor.java358 public int getSoTimeout() throws SocketException { in getSoTimeout() method in SocketAdaptor
DDatagramSocketAdaptor.java261 public int getSoTimeout() throws SocketException { in getSoTimeout() method in DatagramSocketAdaptor
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DServerSocketChannelTest.java314 assertEquals(0, s.getSoTimeout()); in assertSocketNotAccepted()
676 int defaultTimeout = ss.getSoTimeout(); in test_accept_SOTIMEOUT()
682 int nonDefaultTimeout = ss.getSoTimeout(); in test_accept_SOTIMEOUT()
688 assertEquals(nonDefaultTimeout, ss.getSoTimeout()); in test_accept_SOTIMEOUT()
DDatagramChannelTest.java285 assertEquals(s1.getSoTimeout(), 0); in testSocket_BasicStatusBeforeConnect()
339 assertEquals(s.getSoTimeout(), 0); in assertSocketAfterConnect()
DSocketChannelTest.java552 assertEquals(0, s.getSoTimeout()); in assertSocketBeforeConnect()
583 assertEquals(0, s.getSoTimeout()); in assertSocketAfterConnect()
/libcore/ojluni/src/main/java/java/net/
DServerSocket.java665 public synchronized int getSoTimeout() throws IOException { in getSoTimeout() method in ServerSocket
DDatagramSocket.java949 public synchronized int getSoTimeout() throws SocketException { in getSoTimeout() method in DatagramSocket
DSocket.java1189 public synchronized int getSoTimeout() throws SocketException { in getSoTimeout() method in Socket
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DServerSocketTest.java317 int actualTimeout = s.getSoTimeout(); in test_getSoTimeout()
375 int actualSoTimeout = s.getSoTimeout(); in test_setSoTimeoutI()
DSocketTest.java974 int actualTimeout = client.getSoTimeout(); in test_getSoTimeout()
1506 int actualTimeout = client.getSoTimeout(); in test_setSoTimeoutI()
DDatagramSocketTest.java412 int actualTimeout = ds.getSoTimeout(); in test_getSoTimeout()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java1734 assertEquals(0, underlying.getSoTimeout()); in test_SSLSocket_setSoTimeout_basic()
1738 assertEquals(0, wrapping.getSoTimeout()); in test_SSLSocket_setSoTimeout_basic()
1744 assertTrue(Math.abs(expectedTimeoutMillis - wrapping.getSoTimeout()) <= 10); in test_SSLSocket_setSoTimeout_basic()
1745 assertTrue(Math.abs(expectedTimeoutMillis - underlying.getSoTimeout()) <= 10); in test_SSLSocket_setSoTimeout_basic()
1749 assertEquals(0, wrapping.getSoTimeout()); in test_SSLSocket_setSoTimeout_basic()
1750 assertEquals(0, underlying.getSoTimeout()); in test_SSLSocket_setSoTimeout_basic()