Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringInterfaceUtils.java90 ? NetUtils.selectBestRoute(lp.getAllRoutes(), dst) in getInterfaceForDestination()
/frameworks/base/tests/net/common/java/android/net/
DLinkPropertiesTest.java117 assertEquals(0, lp.getAllRoutes().size()); in checkEmpty()
907 assertTrue(rmnet0.getAllRoutes().isEmpty()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
910 assertEqualRoutes(Collections.singletonList(directRoute0), rmnet0.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
924 assertEqualRoutes(Arrays.asList(defaultRoute1, directRoute1), rmnet1.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
928 assertEqualRoutes(Arrays.asList(defaultRoute1, directRoute1), rmnet1.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
943 assertEqualRoutes(Arrays.asList(defaultRoute2), rmnet2.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
946 rmnet2.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
954 assertTrue(rmnet3.getAllRoutes().isEmpty()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
956 assertEqualRoutes(Collections.singletonList(directRoute3), rmnet3.getAllRoutes()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
/frameworks/base/core/java/android/net/
DLinkProperties.java778 public @NonNull List<RouteInfo> getAllRoutes() { in getAllRoutes() method in LinkProperties
781 routes.addAll(stacked.getAllRoutes()); in getAllRoutes()
1327 final List<RouteInfo> allRoutes = getAllRoutes(); in isReachable()
1719 return new CompareResult<>(getAllRoutes(), target != null ? target.getAllRoutes() : null); in compareAllRoutes()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1876 for (RouteInfo route : prop.getAllRoutes()) {
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1903 RouteInfo bestRoute = RouteInfo.selectBestRoute(lp.getAllRoutes(), addr); in addLegacyRouteToHost()
6114 oldLp != null ? oldLp.getAllRoutes() : null, in updateRoutes()
6115 newLp != null ? newLp.getAllRoutes() : null, in updateRoutes()
/frameworks/base/api/
Dsystem-current.txt4482 method @NonNull public java.util.List<android.net.RouteInfo> getAllRoutes();
/frameworks/base/non-updatable-api/
Dsystem-current.txt4482 method @NonNull public java.util.List<android.net.RouteInfo> getAllRoutes();
/frameworks/base/config/
Dboot-image-profile.txt10121 HSPLandroid/net/LinkProperties;->getAllRoutes()Ljava/util/List;