Searched refs:dns (Results 1 – 10 of 10) sorted by relevance
154 for (Inet6Address dns : oldRa.dnses) { in getDeprecatedRaParams()155 if (newRa == null || !newRa.dnses.contains(dns)) { in getDeprecatedRaParams()156 newlyDeprecated.dnses.add(dns); in getDeprecatedRaParams()186 for (Inet6Address dns : dnses) { in putDnses()187 mDnses.put(dns, MAX_URGENT_RTR_ADVERTISEMENTS); in putDnses()192 for (Inet6Address dns : dnses) { in removeDnses()193 mDnses.remove(dns); in removeDnses()552 for (Inet6Address dns : dnses) {559 ra.put(dns.getAddress());
797 for (InetAddress dns : netlinkLinkProperties.getDnsServers()) { in assembleLinkProperties()800 if (newLp.isReachable(dns)) { in assembleLinkProperties()801 newLp.addDnsServer(dns); in assembleLinkProperties()813 for (InetAddress dns : mDhcpResults.dnsServers) { in assembleLinkProperties()816 if (newLp.isReachable(dns)) { in assembleLinkProperties()817 newLp.addDnsServer(dns); in assembleLinkProperties()
205 for (Inet6Address dns : deprecatedDnses) { in configureLocalDns()206 final String dnsString = dns.getHostAddress(); in configureLocalDns()222 for (Inet6Address dns : addedDnses) { in configureLocalDns()223 final String dnsString = dns.getHostAddress(); in configureLocalDns()228 newDnses.remove(dns); in configureLocalDns()
113 for (InetAddress dns : dnsServers) { in toLinkProperties()114 lp.addDnsServer(dns); in toLinkProperties()
623 String dns = "DnsAddresses: ["; in toString() local624 for (InetAddress addr : mDnses) dns += addr.getHostAddress() + ","; in toString()625 dns += "] "; in toString()649 return "{" + ifaceName + linkAddresses + routes + dns + domainName + mtu in toString()
40 bionic/libc/dns/include \
173 void setDnsForwarders(in Network network, in String[] dns); in setDnsForwarders() argument
1198 for (InetAddress dns : dhcpResults.dnsServers) { in getDhcpInfo()1199 if (dns instanceof Inet4Address) { in getDhcpInfo()1201 info.dns1 = NetworkUtils.inetAddressToInt((Inet4Address)dns); in getDhcpInfo()1203 info.dns2 = NetworkUtils.inetAddressToInt((Inet4Address)dns); in getDhcpInfo()
1331 public void setDnsForwarders(Network network, String[] dns) { in setDnsForwarders() argument1337 for (String s : dns) { in setDnsForwarders()
4561 for (InetAddress dns : dnses) { in setDefaultDnsSystemProperties()4564 String value = dns.getHostAddress(); in setDefaultDnsSystemProperties()