Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/common/java/android/net/
DLinkPropertiesTest.java124 assertEquals(0, lp.getAllRoutes().size()); in checkEmpty()
454 new CompareResult<>(lp.getAllRoutes(), lp2.getAllRoutes()); in testRouteInterfaces()
462 new CompareResult<>(lp.getAllRoutes(), lp2.getAllRoutes()); in testRouteInterfaces()
905 assertTrue(rmnet0.getAllRoutes().isEmpty()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
908 assertEqualRoutes(Collections.singletonList(directRoute0), rmnet0.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
922 assertEqualRoutes(Arrays.asList(defaultRoute1, directRoute1), rmnet1.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
926 assertEqualRoutes(Arrays.asList(defaultRoute1, directRoute1), rmnet1.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
941 assertEqualRoutes(Arrays.asList(defaultRoute2), rmnet2.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
944 rmnet2.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
952 assertTrue(rmnet3.getAllRoutes().isEmpty()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringInterfaceUtils.java98 ? NetUtils.selectBestRoute(lp.getAllRoutes(), dst) in getInterfaceForDestination()
/packages/modules/Connectivity/framework/src/android/net/
DLinkProperties.java790 public @NonNull List<RouteInfo> getAllRoutes() { in getAllRoutes() method in LinkProperties
793 routes.addAll(stacked.getAllRoutes()); in getAllRoutes()
1332 final List<RouteInfo> allRoutes = getAllRoutes(); in isReachable()
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DTunInterfaceController.java138 for (RouteInfo route : mLinkProperties.getAllRoutes()) { in setInterfaceUp()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt191 method @NonNull public java.util.List<android.net.RouteInfo> getAllRoutes();
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java3315 RouteInfo bestRoute = RouteInfo.selectBestRoute(lp.getAllRoutes(), addr);
9237 oldLp != null ? oldLp.getAllRoutes() : null,
9238 newLp.getAllRoutes(),