Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/
DLinkPropertiesTest.java598 assertFalse(v4lp.isReachable(DNS1)); in testIsReachable()
599 assertFalse(v4lp.isReachable(DNS2)); in testIsReachable()
605 assertFalse(v4lp.isReachable(DNS1)); in testIsReachable()
606 assertFalse(v4lp.isReachable(DNS2)); in testIsReachable()
611 assertTrue(v4lp.isReachable(DNS1)); in testIsReachable()
612 assertFalse(v4lp.isReachable(DNS2)); in testIsReachable()
616 assertTrue(v4lp.isReachable(DNS1)); in testIsReachable()
617 assertTrue(v4lp.isReachable(DNS2)); in testIsReachable()
623 assertFalse(v6lp.isReachable(kLinkLocalDns)); in testIsReachable()
624 assertFalse(v6lp.isReachable(kLinkLocalDnsWithScope)); in testIsReachable()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java374 if (isReachable() && !other.isReachable()) return -1; in compareTo()
375 if (!isReachable() && other.isReachable()) return 1; in compareTo()
875 } else if (!isReachable()) { // Wifi out of range in getSettingsSummary()
1204 public boolean isReachable() { in isReachable() method in AccessPoint
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaFrameworkTest.java131 return address.isReachable(10000); in checkStreamingServer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DWifiTile.java364 if (ap.isReachable()) numReachable++; in filterUnreachableAPs()
371 if (ap.isReachable()) mAccessPoints[i++] = ap; in filterUnreachableAPs()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java896 assertThat(aps.get(0).isReachable()).isTrue(); in updateNetworkInfoWithNewConnectedNetwork_switchesNetworks()
897 assertThat(aps.get(1).isReachable()).isTrue(); in updateNetworkInfoWithNewConnectedNetwork_switchesNetworks()
DAccessPointTest.java598 assertThat(nearAp.isReachable()).isTrue();
601 assertThat(farAp.isReachable()).isFalse();
/frameworks/base/services/core/java/com/android/server/connectivity/
DDnsManager.java380 .filter((ip) -> lp.isReachable(ip)) in setDnsConfigurationForNetwork()
DNetworkDiagnostics.java183 if (mLinkProperties.isReachable(TEST_DNS4)) { in NetworkDiagnostics()
/frameworks/base/core/java/android/net/
DLinkProperties.java963 public boolean isReachable(InetAddress ip) { in isReachable() method in LinkProperties
/frameworks/base/services/net/java/android/net/ip/
DIpClient.java1271 if (!dns.isAnyLocalAddress() && lp.isReachable(dns)) { in addAllReachableDnsServers()
/frameworks/base/config/
Dhiddenapi-vendor-list.txt202 Landroid/net/LinkProperties;->isReachable(Ljava/net/InetAddress;)Z
Dhiddenapi-public-dex.txt60357 Ljava/net/InetAddress;->isReachable(I)Z
60358 Ljava/net/InetAddress;->isReachable(Ljava/net/NetworkInterface;II)Z
Dboot-image-profile.txt3681 HPLandroid/net/LinkProperties;->isReachable(Ljava/net/InetAddress;)Z
46366 HSPLjava/net/InetAddressImpl;->isReachable(Ljava/net/InetAddress;ILjava/net/NetworkInterface;I)Z
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java2583 reachable = gateway.isReachable(timeout); in updateDefaultRouteMacAddress()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt43042 method public boolean isReachable(int) throws java.io.IOException;
43043 … method public boolean isReachable(java.net.NetworkInterface, int, int) throws java.io.IOException;
/frameworks/base/api/
Dcurrent.txt58700 method public boolean isReachable(int) throws java.io.IOException;
58701 … method public boolean isReachable(java.net.NetworkInterface, int, int) throws java.io.IOException;