Home
last modified time | relevance | path

Searched refs:addrStr (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java440 for (String addrStr : wifi_addrs) { in testLocalPrefixes()
441 final String cidr = addrStr.contains(":") ? "/64" : "/20"; in testLocalPrefixes()
442 wifiLp.addLinkAddress(new LinkAddress(addrStr + cidr)); in testLocalPrefixes()
464 for (String addrStr : cell_addrs) { in testLocalPrefixes()
465 final String cidr = addrStr.contains(":") ? "/64" : "/27"; in testLocalPrefixes()
466 cellLp.addLinkAddress(new LinkAddress(addrStr + cidr)); in testLocalPrefixes()
487 for (String addrStr : dun_addrs) { in testLocalPrefixes()
488 final String cidr = addrStr.contains(":") ? "/64" : "/27"; in testLocalPrefixes()
489 dunLp.addLinkAddress(new LinkAddress(addrStr + cidr)); in testLocalPrefixes()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java184 String addrStr = null; in enterStartingState() local
186 addrStr = mNetd.clatdStart(baseIface, mNat64PrefixInUse.toString()); in enterStartingState()
194 mIPv6Address = (Inet6Address) InetAddresses.parseNumericAddress(addrStr); in enterStartingState()
196 Slog.e(TAG, "Invalid IPv6 address " + addrStr); in enterStartingState()