Home
last modified time | relevance | path

Searched refs:isDefaultRoute (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tests/net/common/java/android/net/
DRouteInfoTest.java202 assertTrue(r.isDefaultRoute()); in testHostAndDefaultRoutes()
212 assertTrue(r.isDefaultRoute()); in testHostAndDefaultRoutes()
222 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()
232 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()
242 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()
252 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()
262 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()
272 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()
282 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()
292 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()
[all …]
/frameworks/base/core/java/android/net/
DRouteInfo.java423 public boolean isDefaultRoute() { in isDefaultRoute() method in RouteInfo
442 return isDefaultRoute() && mDestination.getAddress() instanceof Inet4Address; in isIPv4Default()
458 return isDefaultRoute() && mDestination.getAddress() instanceof Inet6Address; in isIPv6Default()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java613 if (ri.isDefaultRoute() && address instanceof Inet4Address) { in pushUpstreamParameters()
615 } else if (ri.isDefaultRoute() && address instanceof Inet6Address) { in pushUpstreamParameters()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1878 if (route.isDefaultRoute() && route.getGateway() instanceof Inet4Address) {
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17247 method public boolean isDefaultRoute();
/frameworks/base/non-updatable-api/
Dcurrent.txt29179 method public boolean isDefaultRoute();
/frameworks/base/api/
Dcurrent.txt29309 method public boolean isDefaultRoute();