Searched refs:linkProp (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | IPv6TetheringCoordinatorTest.java | 86 final LinkProperties linkProp = new LinkProperties(); in createDualStackUpstream() local 87 linkProp.setInterfaceName(TEST_INTERFACE); in createDualStackUpstream() 88 linkProp.addLinkAddress(new LinkAddress(TEST_IPV6_ADDRESS)); in createDualStackUpstream() 89 linkProp.addLinkAddress(new LinkAddress(TEST_IPV4_ADDRESS)); in createDualStackUpstream() 90 linkProp.addRoute(new RouteInfo(new IpPrefix("::/0"), null, TEST_INTERFACE, RTN_UNICAST)); in createDualStackUpstream() 91 linkProp.addRoute(new RouteInfo(new IpPrefix("0.0.0.0/0"), null, TEST_INTERFACE, in createDualStackUpstream() 93 linkProp.addDnsServer(dns); in createDualStackUpstream() 94 return new UpstreamNetworkState(linkProp, netCap, network); in createDualStackUpstream()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 1238 final LinkProperties linkProp = new LinkProperties(); in buildIpv6OnlyLinkProperties() local 1239 linkProp.setInterfaceName(iface); in buildIpv6OnlyLinkProperties() 1240 linkProp.addLinkAddress(new LinkAddress("2001:db8::1/64")); in buildIpv6OnlyLinkProperties() 1241 linkProp.addRoute(new RouteInfo(new IpPrefix("::/0"), null, iface, RTN_UNICAST)); in buildIpv6OnlyLinkProperties() 1243 linkProp.addDnsServer(dns); in buildIpv6OnlyLinkProperties() 1245 return linkProp; in buildIpv6OnlyLinkProperties()
|