Home
last modified time | relevance | path

Searched refs:defaultRoute (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/net/common/java/android/net/
DStaticIpConfigurationTest.java157 RouteInfo defaultRoute = new RouteInfo(new IpPrefix("0.0.0.0/0"), GATEWAY, IFACE); in testToLinkProperties() local
158 expected.addRoute(defaultRoute); in testToLinkProperties()
162 expected.removeRoute(defaultRoute); in testToLinkProperties()
163 defaultRoute = new RouteInfo(new IpPrefix("0.0.0.0/0"), OFFLINKGATEWAY, IFACE); in testToLinkProperties()
164 expected.addRoute(defaultRoute); in testToLinkProperties()
185 expected.removeRoute(defaultRoute); in testToLinkProperties()
196 expected.addRoute(defaultRoute); in testToLinkProperties()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouter2ServiceImpl.java1309 List<MediaRoute2Info> defaultRoute = new ArrayList<>(); in onProviderStateChangedOnHandler() local
1310 defaultRoute.add(mSystemProvider.getDefaultRoute()); in onProviderStateChangedOnHandler()
1319 defaultRoute); in onProviderStateChangedOnHandler()
1340 defaultRoute); in onProviderStateChangedOnHandler()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java1025 final RouteInfo defaultRoute = new RouteInfo(new IpPrefix(Inet4Address.ANY, 0), in testStartLegacyVpn() local
1027 lp.addRoute(defaultRoute); in testStartLegacyVpn()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java6075 final RouteInfo defaultRoute = new RouteInfo((IpPrefix) null, myIpv6.getAddress(), in testStackedLinkProperties() local
6093 cellLp.addRoute(defaultRoute); in testStackedLinkProperties()
6107 assertRoutesAdded(cellNetId, ipv6Subnet, defaultRoute); in testStackedLinkProperties()
7392 RouteInfo defaultRoute = new RouteInfo((IpPrefix) null, gateway, iface); in testRouteAddDeleteUpdate() local
7401 lp.addRoute(defaultRoute); in testRouteAddDeleteUpdate()
7405 assertRoutesAdded(netId, direct, rio1, defaultRoute); in testRouteAddDeleteUpdate()
7409 assertTrue(lp.getRoutes().contains(defaultRoute)); in testRouteAddDeleteUpdate()
7414 assertFalse(lp.getRoutes().contains(defaultRoute)); in testRouteAddDeleteUpdate()