Searched refs:isDefaultRoute (Results 1 – 7 of 7) sorted by relevance
158 assertTrue(r.isDefaultRoute()); in testHostAndDefaultRoutes()164 assertTrue(r.isDefaultRoute()); in testHostAndDefaultRoutes()170 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()176 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()182 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()188 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()194 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()200 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()206 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()212 assertFalse(r.isDefaultRoute()); in testHostAndDefaultRoutes()
320 public boolean isDefaultRoute() { in isDefaultRoute() method in RouteInfo329 return isDefaultRoute() && mDestination.getAddress() instanceof Inet4Address; in isIPv4Default()337 return isDefaultRoute() && mDestination.getAddress() instanceof Inet6Address; in isIPv6Default()
838 if (route.isDefaultRoute() && route.getGateway() instanceof Inet4Address) { in findIPv4DefaultRoute()
2182 if (!route.isDefaultRoute()) { in addInterfaceToLocalNetwork()
4126 if (route.isDefaultRoute() && route.hasGateway()) { in updateDefaultRouteMacAddress()
18531 method public boolean isDefaultRoute();
17247 method public boolean isDefaultRoute();