Searched refs:getAllRoutes (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tests/net/common/java/android/net/ |
D | LinkPropertiesTest.java | 89 assertEquals(0, lp.getAllRoutes().size()); in checkEmpty() 834 assertTrue(rmnet0.getAllRoutes().isEmpty()); in testLinkPropertiesEnsureDirectlyConnectedRoutes() 837 assertEqualRoutes(Collections.singletonList(directRoute0), rmnet0.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes() 851 assertEqualRoutes(Arrays.asList(defaultRoute1, directRoute1), rmnet1.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes() 855 assertEqualRoutes(Arrays.asList(defaultRoute1, directRoute1), rmnet1.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes() 870 assertEqualRoutes(Arrays.asList(defaultRoute2), rmnet2.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes() 873 rmnet2.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes() 881 assertTrue(rmnet3.getAllRoutes().isEmpty()); in testLinkPropertiesEnsureDirectlyConnectedRoutes() 883 assertEqualRoutes(Collections.singletonList(directRoute3), rmnet3.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | TetheringInterfaceUtils.java | 86 ? RouteInfo.selectBestRoute(lp.getAllRoutes(), dst) in getInterfaceForDestination()
|
/frameworks/base/core/java/android/net/ |
D | LinkProperties.java | 729 public @NonNull List<RouteInfo> getAllRoutes() { in getAllRoutes() method in LinkProperties 732 routes.addAll(stacked.getAllRoutes()); in getAllRoutes() 1228 final List<RouteInfo> allRoutes = getAllRoutes(); in isReachable() 1535 return new CompareResult<>(getAllRoutes(), target != null ? target.getAllRoutes() : null); in compareAllRoutes()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 915 final List<RouteInfo> routes = lp.getAllRoutes(); in providesRoutesToMostDestinations() 1698 for (RouteInfo route : prop.getAllRoutes()) { in findIPv4DefaultRoute()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 1735 RouteInfo bestRoute = RouteInfo.selectBestRoute(lp.getAllRoutes(), addr); in addLegacyRouteToHost() 5636 oldLp != null ? oldLp.getAllRoutes() : null, in updateRoutes() 5637 newLp != null ? newLp.getAllRoutes() : null); in updateRoutes()
|