Home
last modified time | relevance | path

Searched refs:dns (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/net/java/android/net/ip/
DRouterAdvertisementDaemon.java154 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());
DIpManager.java797 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()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DIPv6TetheringInterfaceServices.java205 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()
/frameworks/base/core/java/android/net/
DStaticIpConfiguration.java113 for (InetAddress dns : dnsServers) { in toLinkProperties()
114 lp.addDnsServer(dns); in toLinkProperties()
DLinkProperties.java623 String dns = "DnsAddresses: ["; in toString() local
624 for (InetAddress addr : mDnses) dns += addr.getHostAddress() + ","; in toString()
625 dns += "] "; in toString()
649 return "{" + ifaceName + linkAddresses + routes + dns + domainName + mtu in toString()
/frameworks/base/native/android/
DAndroid.mk40 bionic/libc/dns/include \
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl173 void setDnsForwarders(in Network network, in String[] dns); in setDnsForwarders() argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java1198 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()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1331 public void setDnsForwarders(Network network, String[] dns) { in setDnsForwarders() argument
1337 for (String s : dns) { in setDnsForwarders()
DConnectivityService.java4561 for (InetAddress dns : dnses) { in setDefaultDnsSystemProperties()
4564 String value = dns.getHostAddress(); in setDefaultDnsSystemProperties()