Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/src/android/net/ip/
DRouterAdvertisementDaemon.java168 for (Inet6Address dns : oldRa.dnses) { in getDeprecatedRaParams()
169 if (newRa == null || !newRa.dnses.contains(dns)) { in getDeprecatedRaParams()
170 newlyDeprecated.dnses.add(dns); in getDeprecatedRaParams()
204 for (Inet6Address dns : dnses) { in putDnses()
205 mDnses.put(dns, MAX_URGENT_RTR_ADVERTISEMENTS); in putDnses()
210 for (Inet6Address dns : dnses) { in removeDnses()
211 mDnses.remove(dns); in removeDnses()
577 for (Inet6Address dns : dnses) {
578 if ((new LinkAddress(dns, RFC7421_PREFIX_LENGTH)).isGlobalPreferred()) {
579 filteredDnses.add(dns);
[all …]
DIpServer.java805 for (Inet6Address dns : deprecatedDnses) { in configureLocalIPv6Dns()
806 if (!mInterfaceCtrl.removeAddress(dns, RFC7421_PREFIX_LENGTH)) { in configureLocalIPv6Dns()
807 mLog.e("Failed to remove local dns IP " + dns); in configureLocalIPv6Dns()
810 mLinkProperties.removeLinkAddress(new LinkAddress(dns, RFC7421_PREFIX_LENGTH)); in configureLocalIPv6Dns()
821 for (Inet6Address dns : addedDnses) { in configureLocalIPv6Dns()
822 if (!mInterfaceCtrl.addAddress(dns, RFC7421_PREFIX_LENGTH)) { in configureLocalIPv6Dns()
823 mLog.e("Failed to add local dns IP " + dns); in configureLocalIPv6Dns()
824 newDnses.remove(dns); in configureLocalIPv6Dns()
827 mLinkProperties.addLinkAddress(new LinkAddress(dns, RFC7421_PREFIX_LENGTH)); in configureLocalIPv6Dns()
/frameworks/base/core/proto/android/server/connectivity/
Ddata_stall_event.proto87 // The dns return code.
89 // Indicate the timestamp of the dns event.
/frameworks/base/native/android/
DAndroid.bp95 include_dirs: ["bionic/libc/dns/include"],
112 include_dirs: ["bionic/libc/dns/include"],
/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/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinatorTest.java85 final InetAddress dns = InetAddresses.parseNumericAddress(TEST_DNS_SERVER); in createDualStackUpstream() local
93 linkProp.addDnsServer(dns); in createDualStackUpstream()
/frameworks/base/core/java/android/net/
DStaticIpConfiguration.java237 for (InetAddress dns : dnsServers) { in toLinkProperties()
238 lp.addDnsServer(dns); in toLinkProperties()
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl193 void setDnsForwarders(in Network network, in String[] dns); in setDnsForwarders() argument
/frameworks/base/services/core/java/com/android/server/connectivity/
DDnsManager.java414 for (InetAddress dns : dnses) { in setDefaultDnsSystemProperties()
416 setNetDnsProperty(last, dns.getHostAddress()); in setDefaultDnsSystemProperties()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java930 final InetAddress dns = InetAddresses.parseNumericAddress("2001:4860:4860::8888"); in buildIpv6OnlyLinkProperties() local
931 linkProp.addDnsServer(dns); in buildIpv6OnlyLinkProperties()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java2973 for (InetAddress dns : dhcpResults.baseConfiguration.getDnsServers()) {
2974 if (dns instanceof Inet4Address) {
2976 info.dns1 = Inet4AddressUtils.inet4AddressToIntHTL((Inet4Address) dns);
2978 info.dns2 = Inet4AddressUtils.inet4AddressToIntHTL((Inet4Address) dns);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java1529 for (InetAddress dns : response.getDnsAddresses()) { in setLinkProperties()
1530 if (!dns.isAnyLocalAddress()) { in setLinkProperties()
1531 linkProperties.addDnsServer(dns); in setLinkProperties()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1062 public void setDnsForwarders(Network network, String[] dns) { in setDnsForwarders() argument
1068 mNetdService.tetherDnsSet(netId, dns); in setDnsForwarders()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java1840 for (InetAddress dns : linkProperties.getDnsServers()) { in setupDataCall()
1841 dnses.add(dns.getHostAddress()); in setupDataCall()
6865 for (String dns : dnses) { in convertDataCallResult()
6866 dns = dns.trim(); in convertDataCallResult()
6869 ia = InetAddresses.parseNumericAddress(dns); in convertDataCallResult()
6872 Rlog.e(RILJ_LOG_TAG, "Unknown dns: " + dns, e); in convertDataCallResult()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java1592 for (InetAddress dns : dnses) { in setDnsForwarders()
1593 dnsServers[i++] = dns.getHostAddress(); in setDnsForwarders()
/frameworks/base/core/proto/android/app/
Dsettings_enums.proto380 // 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