Searched refs:isReachable (Results 1 - 2 of 2) sorted by relevance

/libcore/luni/src/main/java/java/net/
H A DInetAddress.java651 public boolean isReachable(int timeout) throws IOException { method in class:InetAddress
652 return isReachable(null, 0, timeout);
675 public boolean isReachable(NetworkInterface networkInterface, final int ttl, final int timeout) throws IOException { method in class:InetAddress
682 return isReachable(this, null, timeout);
693 final AtomicBoolean isReachable = new AtomicBoolean(false);
698 if (isReachable(destinationAddress, sourceAddress, timeout)) {
699 isReachable.set(true);
717 return isReachable.get();
720 private boolean isReachable(InetAddress destination, InetAddress source, int timeout) throws IOException { method in class:InetAddress
/libcore/luni/src/test/java/libcore/java/net/
H A DInetAddressTest.java158 deserialized.isReachable(500);
161 deserialized.isReachable(nif, 20, 500);

Completed in 76 milliseconds