Home
last modified time | relevance | path

Searched refs:makeHostRoute (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/net/
DRouteInfo.java244 public static RouteInfo makeHostRoute(InetAddress host, String iface) { in makeHostRoute() method in RouteInfo
245 return makeHostRoute(host, null, iface); in makeHostRoute()
251 public static RouteInfo makeHostRoute(InetAddress host, InetAddress gateway, String iface) { in makeHostRoute() method in RouteInfo
DStaticIpConfiguration.java89 routes.add(RouteInfo.makeHostRoute(gateway, iface)); in getRoutes()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DConnectivityServiceTest.java105 private static final RouteInfo MOBILE_ROUTE_V4 = RouteInfo.makeHostRoute(parse("10.0.0.33"),
107 private static final RouteInfo MOBILE_ROUTE_V6 = RouteInfo.makeHostRoute(parse("fd00::33"),
110 private static final RouteInfo WIFI_ROUTE_V4 = RouteInfo.makeHostRoute(parse("192.168.0.66"),
113 private static final RouteInfo WIFI_ROUTE_V6 = RouteInfo.makeHostRoute(parse("fd00::66"),
/frameworks/base/core/tests/coretests/src/android/net/
DLinkPropertiesTest.java289 r = RouteInfo.makeHostRoute(ADDRV6, null); in testRouteInterfaces()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1340 bestRoute = RouteInfo.makeHostRoute(addr, lp.getInterfaceName()); in addLegacyRouteToHost()
1345 bestRoute = RouteInfo.makeHostRoute(addr, iface); in addLegacyRouteToHost()
1349 bestRoute = RouteInfo.makeHostRoute(addr, bestRoute.getGateway(), iface); in addLegacyRouteToHost()