Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java472 for (String addrStr : wifi_addrs) { in testLocalPrefixes()
473 final String cidr = addrStr.contains(":") ? "/64" : "/20"; in testLocalPrefixes()
474 wifiLp.addLinkAddress(new LinkAddress(addrStr + cidr)); in testLocalPrefixes()
497 for (String addrStr : cell_addrs) { in testLocalPrefixes()
498 final String cidr = addrStr.contains(":") ? "/64" : "/27"; in testLocalPrefixes()
499 cellLp.addLinkAddress(new LinkAddress(addrStr + cidr)); in testLocalPrefixes()
519 for (String addrStr : dun_addrs) { in testLocalPrefixes()
520 final String cidr = addrStr.contains(":") ? "/64" : "/27"; in testLocalPrefixes()
521 dunLp.addLinkAddress(new LinkAddress(addrStr + cidr)); in testLocalPrefixes()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNat464Xlat.java181 String addrStr = null; in enterStartingState() local
183 addrStr = mNetd.clatdStart(baseIface, mNat64PrefixInUse.toString()); in enterStartingState()
191 mIPv6Address = (Inet6Address) InetAddresses.parseNumericAddress(addrStr); in enterStartingState()
193 Log.e(TAG, "Invalid IPv6 address " + addrStr); in enterStartingState()
/packages/modules/DnsResolver/
DDnsProxyListener.cpp1201 char* addrStr = argv[1]; in runCommand() local
1210 int result = inet_pton(addrFamily, addrStr, &addr); in runCommand()
1213 asprintf(&msg, "inet_pton(\"%s\") failed %s", addrStr, strerror(errno)); in runCommand()