Searched refs:linkProp (Results 1 – 3 of 3) sorted by relevance
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
H A 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()
|
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
H A D | IpServerTest.java | 1214 final LinkProperties linkProp = new LinkProperties(); in buildIpv6OnlyLinkProperties() local 1215 linkProp.setInterfaceName(iface); in buildIpv6OnlyLinkProperties() 1216 linkProp.addLinkAddress(new LinkAddress("2001:db8::1/64")); in buildIpv6OnlyLinkProperties() 1217 linkProp.addRoute(new RouteInfo(new IpPrefix("::/0"), null, iface, RTN_UNICAST)); in buildIpv6OnlyLinkProperties() 1219 linkProp.addDnsServer(dns); in buildIpv6OnlyLinkProperties() 1221 return linkProp; in buildIpv6OnlyLinkProperties()
|
/aosp12/packages/modules/Connectivity/services/tests/servicestests/src/com/android/server/ |
H A D | NetworkStatsServiceTest.java | 894 final LinkProperties linkProp = state.length > 0 ? state[0].linkProperties : null; in expectNetworkState() local 895 expect(mConnManager.getActiveLinkProperties()).andReturn(linkProp).atLeastOnce(); in expectNetworkState()
|