Home
last modified time | relevance | path

Searched refs:defaultRoute (Results 1 – 3 of 3) 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/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.java6083 final RouteInfo defaultRoute = new RouteInfo((IpPrefix) null, myIpv6.getAddress(), in testStackedLinkProperties() local
6101 cellLp.addRoute(defaultRoute); in testStackedLinkProperties()
6115 assertRoutesAdded(cellNetId, ipv6Subnet, defaultRoute); in testStackedLinkProperties()
7400 RouteInfo defaultRoute = new RouteInfo((IpPrefix) null, gateway, iface); in testRouteAddDeleteUpdate() local
7409 lp.addRoute(defaultRoute); in testRouteAddDeleteUpdate()
7413 assertRoutesAdded(netId, direct, rio1, defaultRoute); in testRouteAddDeleteUpdate()
7417 assertTrue(lp.getRoutes().contains(defaultRoute)); in testRouteAddDeleteUpdate()
7422 assertFalse(lp.getRoutes().contains(defaultRoute)); in testRouteAddDeleteUpdate()