Home | History | Annotate | Download | only in net

Lines Matching refs:RouteInfo

23 import android.net.RouteInfo;
113 source.addRoute(new RouteInfo(GATEWAY1));
114 source.addRoute(new RouteInfo(GATEWAY2));
125 target.addRoute(new RouteInfo(GATEWAY1));
126 target.addRoute(new RouteInfo(GATEWAY2));
138 target.addRoute(new RouteInfo(GATEWAY1));
139 target.addRoute(new RouteInfo(GATEWAY2));
151 target.addRoute(new RouteInfo(GATEWAY1));
152 target.addRoute(new RouteInfo(GATEWAY2));
163 target.addRoute(new RouteInfo(GATEWAY1));
164 target.addRoute(new RouteInfo(GATEWAY2));
175 target.addRoute(new RouteInfo(NetworkUtils.numericToInetAddress("75.208.8.2")));
176 target.addRoute(new RouteInfo(GATEWAY2));
186 target.addRoute(new RouteInfo(GATEWAY1));
187 target.addRoute(new RouteInfo(GATEWAY2));
210 source.addRoute(new RouteInfo(GATEWAY1));
211 source.addRoute(new RouteInfo(GATEWAY2));
221 target.addRoute(new RouteInfo(GATEWAY2));
222 target.addRoute(new RouteInfo(GATEWAY1));
253 for (RouteInfo r : lp.getRoutes()) {
266 RouteInfo r = new RouteInfo(prefix, address, null);
276 r = new RouteInfo(prefix, address, "wlan0");
293 r = new RouteInfo(prefix, null, "wlan0");
300 r = RouteInfo.makeHostRoute(ADDRV6, null);
483 lp4.addRoute(new RouteInfo(GATEWAY1));
494 lp6.addRoute(new RouteInfo(GATEWAY61));
510 lp46.addRoute(new RouteInfo(GATEWAY1));
514 lp46.addRoute(new RouteInfo(GATEWAY61));
523 mixed.addRoute(new RouteInfo(GATEWAY61));
533 v4lp.addRoute(new RouteInfo(GATEWAY1));
554 v6lp.addRoute(new RouteInfo(GATEWAY61));
562 v46lp.addRoute(new RouteInfo(GATEWAY1));
580 v6lp2.addRoute(new RouteInfo(GATEWAY62));
598 assertTrue(v4lp.addRoute(new RouteInfo(
610 assertTrue(v4lp.addRoute(new RouteInfo(GATEWAY1)));
626 assertTrue(v6lp.addRoute(new RouteInfo(
643 assertTrue(v6lp.addRoute(new RouteInfo(
659 assertTrue(v6lp.addRoute(new RouteInfo(GATEWAY62)));
678 stacked.addRoute(new RouteInfo(stackedLinkAddress));
683 stacked.addRoute(new RouteInfo((IpPrefix) null, stackedAddress));
693 RouteInfo directRoute0 = new RouteInfo(new IpPrefix("10.0.0.0/8"), null,
706 RouteInfo defaultRoute1 = new RouteInfo((IpPrefix) null,
708 RouteInfo directRoute1 = new RouteInfo(new IpPrefix("10.0.0.0/8"), null,
725 RouteInfo defaultRoute2 = new RouteInfo((IpPrefix) null,
727 RouteInfo directRoute2 = new RouteInfo(new IpPrefix("2001:db8::/64"), null,
729 RouteInfo linkLocalRoute2 = new RouteInfo(new IpPrefix("fe80::/64"), null,
741 RouteInfo directRoute3 = new RouteInfo(new IpPrefix("192.168.0.0/24"), null,
750 private void assertEqualRoutes(Collection<RouteInfo> expected, Collection<RouteInfo> actual) {
751 Set<RouteInfo> expectedSet = new ArraySet<>(expected);
752 Set<RouteInfo> actualSet = new ArraySet<>(actual);