Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/common/java/android/net/
DLinkPropertiesTest.java116 assertEquals(0, lp.getAllRoutes().size()); in checkEmpty()
453 new CompareResult<>(lp.getAllRoutes(), lp2.getAllRoutes()); in testRouteInterfaces()
461 new CompareResult<>(lp.getAllRoutes(), lp2.getAllRoutes()); in testRouteInterfaces()
904 assertTrue(rmnet0.getAllRoutes().isEmpty()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
907 assertEqualRoutes(Collections.singletonList(directRoute0), rmnet0.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
921 assertEqualRoutes(Arrays.asList(defaultRoute1, directRoute1), rmnet1.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
925 assertEqualRoutes(Arrays.asList(defaultRoute1, directRoute1), rmnet1.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
940 assertEqualRoutes(Arrays.asList(defaultRoute2), rmnet2.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
943 rmnet2.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
951 assertTrue(rmnet3.getAllRoutes().isEmpty()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringInterfaceUtils.java90 ? NetUtils.selectBestRoute(lp.getAllRoutes(), dst) in getInterfaceForDestination()
/packages/modules/Connectivity/framework/src/android/net/
DLinkProperties.java763 public @NonNull List<RouteInfo> getAllRoutes() { in getAllRoutes() method in LinkProperties
766 routes.addAll(stacked.getAllRoutes()); in getAllRoutes()
1305 final List<RouteInfo> allRoutes = getAllRoutes(); in isReachable()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt172 method @NonNull public java.util.List<android.net.RouteInfo> getAllRoutes();
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java2441 RouteInfo bestRoute = RouteInfo.selectBestRoute(lp.getAllRoutes(), addr); in addLegacyRouteToHost()
7078 oldLp != null ? oldLp.getAllRoutes() : null, in updateRoutes()
7079 newLp != null ? newLp.getAllRoutes() : null, in updateRoutes()