Searched refs:getAllRoutes (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringInterfaceUtils.java | 90 ? NetUtils.selectBestRoute(lp.getAllRoutes(), dst) in getInterfaceForDestination()
|
/frameworks/base/tests/net/common/java/android/net/ |
D | LinkPropertiesTest.java | 117 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/ |
D | LinkProperties.java | 778 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/ |
D | Vpn.java | 1876 for (RouteInfo route : prop.getAllRoutes()) {
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 1903 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/ |
D | system-current.txt | 4482 method @NonNull public java.util.List<android.net.RouteInfo> getAllRoutes();
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 4482 method @NonNull public java.util.List<android.net.RouteInfo> getAllRoutes();
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 10121 HSPLandroid/net/LinkProperties;->getAllRoutes()Ljava/util/List;
|