Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/android/net/ip/
DRouterAdvertisementDaemon.java167 for (Inet6Address dns : oldRa.dnses) { in getDeprecatedRaParams()
168 if (newRa == null || !newRa.dnses.contains(dns)) { in getDeprecatedRaParams()
169 newlyDeprecated.dnses.add(dns); in getDeprecatedRaParams()
199 for (Inet6Address dns : dnses) { in putDnses()
200 mDnses.put(dns, MAX_URGENT_RTR_ADVERTISEMENTS); in putDnses()
205 for (Inet6Address dns : dnses) { in removeDnses()
206 mDnses.remove(dns); in removeDnses()
562 for (Inet6Address dns : dnses) {
563 if ((new LinkAddress(dns, RFC7421_PREFIX_LENGTH)).isGlobalPreferred()) {
564 filteredDnses.add(dns);
[all …]
DIpServer.java604 for (Inet6Address dns : deprecatedDnses) { in configureLocalIPv6Dns()
605 if (!mInterfaceCtrl.removeAddress(dns, RFC7421_PREFIX_LENGTH)) { in configureLocalIPv6Dns()
606 mLog.e("Failed to remove local dns IP " + dns); in configureLocalIPv6Dns()
609 mLinkProperties.removeLinkAddress(new LinkAddress(dns, RFC7421_PREFIX_LENGTH)); in configureLocalIPv6Dns()
620 for (Inet6Address dns : addedDnses) { in configureLocalIPv6Dns()
621 if (!mInterfaceCtrl.addAddress(dns, RFC7421_PREFIX_LENGTH)) { in configureLocalIPv6Dns()
622 mLog.e("Failed to add local dns IP " + dns); in configureLocalIPv6Dns()
623 newDnses.remove(dns); in configureLocalIPv6Dns()
626 mLinkProperties.addLinkAddress(new LinkAddress(dns, RFC7421_PREFIX_LENGTH)); in configureLocalIPv6Dns()
/frameworks/base/native/android/
DAndroid.bp87 include_dirs: ["bionic/libc/dns/include"],
104 include_dirs: ["bionic/libc/dns/include"],
/frameworks/base/core/proto/android/server/connectivity/
Ddata_stall_event.proto86 // The dns return code.
88 // Indicate the timestamp of the dns event.
/frameworks/opt/net/ethernet/tests/java/com/android/server/ethernet/
DEthernetTrackerTest.java115 for (String dns : dnsArray) { in setDns()
116 config.dnsServers.add(InetAddress.parseNumericAddress(dns)); in setDns()
/frameworks/base/core/java/android/net/
DStaticIpConfiguration.java232 for (InetAddress dns : dnsServers) { in toLinkProperties()
233 lp.addDnsServer(dns); in toLinkProperties()
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl184 void setDnsForwarders(in Network network, in String[] dns); in setDnsForwarders() argument
/frameworks/base/services/core/java/com/android/server/connectivity/
DDnsManager.java378 for (InetAddress dns : dnses) { in setDefaultDnsSystemProperties()
380 setNetDnsProperty(last, dns.getHostAddress()); in setDefaultDnsSystemProperties()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java2470 for (InetAddress dns : dhcpResults.dnsServers) { in getDhcpInfo()
2471 if (dns instanceof Inet4Address) { in getDhcpInfo()
2473 info.dns1 = NetworkUtils.inetAddressToInt((Inet4Address)dns); in getDhcpInfo()
2475 info.dns2 = NetworkUtils.inetAddressToInt((Inet4Address)dns); in getDhcpInfo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java1490 for (InetAddress dns : linkProperties.getDnsServers()) { in setupDataCall()
1491 dnses.add(dns.getHostAddress()); in setupDataCall()
5986 for (String dns : dnses) { in convertDataCallResult()
5987 dns = dns.trim(); in convertDataCallResult()
5990 ia = NetworkUtils.numericToInetAddress(dns); in convertDataCallResult()
5993 Rlog.e(RILJ_LOG_TAG, "Unknown dns: " + dns, e); in convertDataCallResult()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1086 public void setDnsForwarders(Network network, String[] dns) { in setDnsForwarders() argument
1092 mNetdService.tetherDnsSet(netId, dns); in setDnsForwarders()
/frameworks/base/core/proto/android/app/
Dsettings_enums.proto377 // ACTION: A private dns mode been selected by user
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto5173 // ACTION: A private dns mode been selected by user