Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/net/
DRouteInfoTest.java158 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()
/frameworks/base/core/java/android/net/
DRouteInfo.java320 public boolean isDefaultRoute() { in isDefaultRoute() method in RouteInfo
329 return isDefaultRoute() && mDestination.getAddress() instanceof Inet4Address; in isIPv4Default()
337 return isDefaultRoute() && mDestination.getAddress() instanceof Inet6Address; in isIPv6Default()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java838 if (route.isDefaultRoute() && route.getGateway() instanceof Inet4Address) { in findIPv4DefaultRoute()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java2182 if (!route.isDefaultRoute()) { in addInterfaceToLocalNetwork()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java4126 if (route.isDefaultRoute() && route.hasGateway()) { in updateDefaultRouteMacAddress()
/frameworks/base/api/
Dsystem-current.txt18531 method public boolean isDefaultRoute();
Dcurrent.txt17247 method public boolean isDefaultRoute();