Home
last modified time | relevance | path

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

/packages/modules/Connectivity/framework/src/android/net/
DTestNetworkManager.java154 public TestNetworkInterface createTunInterface(@NonNull LinkAddress[] linkAddrs) { in createTunInterface() argument
155 return createTunInterface(Arrays.asList(linkAddrs)); in createTunInterface()
169 public TestNetworkInterface createTunInterface(@NonNull Collection<LinkAddress> linkAddrs) { in createTunInterface() argument
171 final LinkAddress[] arr = new LinkAddress[linkAddrs.size()]; in createTunInterface()
173 linkAddrs.toArray(arr), null /* iface */); in createTunInterface()
208 public TestNetworkInterface createTapInterface(@NonNull LinkAddress[] linkAddrs) { in createTapInterface() argument
211 linkAddrs, null /* iface */); in createTapInterface()
314 @NonNull LinkAddress[] linkAddrs) { in createTapInterface() argument
317 linkAddrs, null /* iface */); in createTapInterface()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DTestNetworkTracker.kt63 linkAddrs: List<LinkAddress>, in initTestNetwork()
66 return initTestNetwork(context, linkAddrs, lp = null, setupTimeoutMs = setupTimeoutMs) in initTestNetwork()
90 linkAddrs: List<LinkAddress>, in initTestNetwork()
95 val iface = if (isAtLeastS()) tnm.createTunInterface(linkAddrs) in initTestNetwork()
96 else tnm.createTunInterface(linkAddrs.toTypedArray()) in initTestNetwork()
/packages/modules/Connectivity/service/src/com/android/server/
DTestNetworkService.java124 boolean disableIpv6ProvisioningDelay, LinkAddress[] linkAddrs, @Nullable String iface) { in createInterface() argument
127 Objects.requireNonNull(linkAddrs, "missing linkAddrs"); in createInterface()
155 for (LinkAddress addr : linkAddrs) { in createInterface()
/packages/modules/ImsMedia/test/app/ImsMediaTestingApp/app/src/main/java/com/example/imsmediatestingapp/
DMainActivity.java1141 List<InetAddress> linkAddrs = lp.getAddresses(); in getNetworkForIpAddress() local
1142 for (InetAddress linkAddr : linkAddrs) { in getNetworkForIpAddress()