Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DNetUtilsTest.java81 RouteInfo route = NetUtils.selectBestRoute(null, V4_DEST); in testSelectBestRoute()
83 route = NetUtils.selectBestRoute(routes, null); in testSelectBestRoute()
86 route = NetUtils.selectBestRoute(routes, V4_DEST); in testSelectBestRoute()
100 route = NetUtils.selectBestRoute(routes, V4_DEST); in testSelectBestRoute()
104 route = NetUtils.selectBestRoute(routes, V6_DEST); in testSelectBestRoute()
109 route = NetUtils.selectBestRoute(routes, V4_DEST); in testSelectBestRoute()
114 route = NetUtils.selectBestRoute(routes, V4_DEST); in testSelectBestRoute()
133 RouteInfo route = NetUtils.selectBestRoute(routes, V4_DEST); in testSelectBestRouteWithExcludedRoutes()
139 route = NetUtils.selectBestRoute(routes, V6_DEST); in testSelectBestRouteWithExcludedRoutes()
/packages/modules/Connectivity/framework/src/android/net/
DRouteInfo.java515 public static RouteInfo selectBestRoute(Collection<RouteInfo> routes, InetAddress dest) { in selectBestRoute() method in RouteInfo
516 return NetUtils.selectBestRoute(routes, dest); in selectBestRoute()
DLinkProperties.java1334 final RouteInfo bestRoute = RouteInfo.selectBestRoute(allRoutes, ip); in isReachable()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetUtils.java55 public static RouteInfo selectBestRoute(@Nullable Collection<RouteInfo> routes, in selectBestRoute() method in NetUtils
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringInterfaceUtils.java98 ? NetUtils.selectBestRoute(lp.getAllRoutes(), dst) in getInterfaceForDestination()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java1703 InetAddress gateway = NetUtils.selectBestRoute( in getDstMacForKeepalive()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java3315 RouteInfo bestRoute = RouteInfo.selectBestRoute(lp.getAllRoutes(), addr);