Home
last modified time | relevance | path

Searched refs:isReachable (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/test/java/net/InetAddress/
DIsReachableViaLoopbackTest.java47 if (!addr.isReachable(10000)) in testReachableViaLoopback()
51 if (!addr.isReachable(inf, 20, 10000)) { in testReachableViaLoopback()
55 if (remoteAddr.isReachable(inf, 20, 10000)) { in testReachableViaLoopback()
DIsReachable.java41 if (!addr.isReachable(10000)) in testIsReachable()
45 if (!addr.isReachable(inf, 20, 10000)) in testIsReachable()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInetAddressTest.java293 assertTrue(ia.isReachable(10000)); in test_isReachableI()
296 ia.isReachable(-1); in test_isReachableI()
309 assertTrue(ia.isReachable(null, 0, 10000)); in test_isReachableLjava_net_NetworkInterfaceII()
312 ia.isReachable(null, -1, 10000); in test_isReachableLjava_net_NetworkInterfaceII()
318 ia.isReachable(null, 0, -1); in test_isReachableLjava_net_NetworkInterfaceII()
324 ia.isReachable(null, -1, -1); in test_isReachableLjava_net_NetworkInterfaceII()
332 assertFalse(ia.isReachable(1000)); in test_isReachableLjava_net_NetworkInterfaceII()
333 assertFalse(ia.isReachable(null, 0, 1000)); in test_isReachableLjava_net_NetworkInterfaceII()
341 ia.isReachable(netif, 10, 1000); in test_isReachableLjava_net_NetworkInterfaceII()
387 assertTrue(destAddress.isReachable(loopbackInterface, TTL, TIME_OUT)); in test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface()
[all …]
/libcore/ojluni/src/main/java/java/net/
DInetAddress.java479 public boolean isReachable(int timeout) throws IOException { in isReachable() method in InetAddress
480 return isReachable(null, 0 , timeout); in isReachable()
518 public boolean isReachable(NetworkInterface netif, int ttl, in isReachable() method in InetAddress
525 return impl.isReachable(this, timeout, netif, ttl); in isReachable()
DInetAddressImpl.java76 boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif, in isReachable() method
DInet6AddressImpl.java174 …public boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif, int ttl) throws … in isReachable() method in Inet6AddressImpl
/libcore/ojluni/annotations/sdk/nullability/java/net/
DInetAddress.annotated.java55 public boolean isReachable(int timeout) throws java.io.IOException { throw new RuntimeException("St… in isReachable() method in InetAddress
57 public boolean isReachable(@libcore.util.Nullable java.net.NetworkInterface netif, int ttl, int tim… in isReachable() method in InetAddress
/libcore/ojluni/annotations/mmodule/java/net/
DInetAddress.annotated.java58 public boolean isReachable(int timeout) throws java.io.IOException { throw new RuntimeException("St… in isReachable() method in InetAddress
60 public boolean isReachable(java.net.NetworkInterface netif, int ttl, int timeout) throws java.io.IO… in isReachable() method in InetAddress
/libcore/luni/src/test/java/libcore/java/net/
DInetAddressTest.java253 deserialized.isReachable(500); in test_isReachable()
256 deserialized.isReachable(nif, 20, 500); in test_isReachable()
275 assertFalse(inetAddress.isReachable(netIf, 256, 500)); in test_isReachable_neverThrows()
299 assertFalse(blackholeAddress.isReachable(1000)); in test_inUnreachable()
/libcore/ojluni/annotations/hiddenapi/java/net/
DInetAddress.java88 public boolean isReachable(int timeout) throws java.io.IOException { in isReachable() method in InetAddress
92 public boolean isReachable(java.net.NetworkInterface netif, int ttl, int timeout) in isReachable() method in InetAddress
DInet6AddressImpl.java54 public boolean isReachable( in isReachable() method in Inet6AddressImpl
/libcore/api/
Dcurrent.txt5740 method public boolean isReachable(int) throws java.io.IOException;
5741 …method public boolean isReachable(@Nullable java.net.NetworkInterface, int, int) throws java.io.IO…