Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/ip/
DIpClientTest.java256 notProvisionedCase(links(), routes(), dns(), null), in testIsProvisioned()
257 notProvisionedCase(links(), routes(), dns(), empty), in testIsProvisioned()
260 provisionedCase(links("192.0.2.12/24"), routes(), dns(), empty), in testIsProvisioned()
265 routes(), dns(), empty), in testIsProvisioned()
268 routes("fe80::/64", "fd2c:4e57:8e3c::/64"), dns("fd00:1234:5678::1000"), empty), in testIsProvisioned()
272 dns("2001:db8:dead:beef:f00::02"), empty), in testIsProvisioned()
278 dns(), in testIsProvisioned()
324 for (InetAddress dns : lpDns) { in provisioningTest()
325 testcase.lp.addDnsServer(dns); in provisioningTest()
335 links("192.0.2.12/24"), prefixes("192.0.2.0/24"), dns("192.0.2.2")), in testInitialConfigurations()
[all …]
/frameworks/base/services/net/java/android/net/ip/
DRouterAdvertisementDaemon.java155 for (Inet6Address dns : oldRa.dnses) { in getDeprecatedRaParams()
156 if (newRa == null || !newRa.dnses.contains(dns)) { in getDeprecatedRaParams()
157 newlyDeprecated.dnses.add(dns); in getDeprecatedRaParams()
187 for (Inet6Address dns : dnses) { in putDnses()
188 mDnses.put(dns, MAX_URGENT_RTR_ADVERTISEMENTS); in putDnses()
193 for (Inet6Address dns : dnses) { in removeDnses()
194 mDnses.remove(dns); in removeDnses()
546 for (Inet6Address dns : dnses) {
547 if ((new LinkAddress(dns, RFC7421_PREFIX_LENGTH)).isGlobalPreferred()) {
548 filteredDnses.add(dns);
[all …]
DIpReachabilityMonitor.java278 for (InetAddress dns : lp.getDnsServers()) {
279 if (isOnLink(routes, dns)) {
280 newNeighborWatchList.put(dns, mNeighborWatchList.getOrDefault(dns, null));
DIpClient.java1270 for (InetAddress dns : dnses) { in addAllReachableDnsServers()
1271 if (!dns.isAnyLocalAddress() && lp.isReachable(dns)) { in addAllReachableDnsServers()
1272 lp.addDnsServer(dns); in addAllReachableDnsServers()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DTetherInterfaceStateMachine.java402 for (Inet6Address dns : deprecatedDnses) { in configureLocalIPv6Dns()
403 if (!mInterfaceCtrl.removeAddress(dns, RFC7421_PREFIX_LENGTH)) { in configureLocalIPv6Dns()
404 mLog.e("Failed to remove local dns IP " + dns); in configureLocalIPv6Dns()
407 mLinkProperties.removeLinkAddress(new LinkAddress(dns, RFC7421_PREFIX_LENGTH)); in configureLocalIPv6Dns()
418 for (Inet6Address dns : addedDnses) { in configureLocalIPv6Dns()
419 if (!mInterfaceCtrl.addAddress(dns, RFC7421_PREFIX_LENGTH)) { in configureLocalIPv6Dns()
420 mLog.e("Failed to add local dns IP " + dns); in configureLocalIPv6Dns()
421 newDnses.remove(dns); in configureLocalIPv6Dns()
424 mLinkProperties.addLinkAddress(new LinkAddress(dns, RFC7421_PREFIX_LENGTH)); in configureLocalIPv6Dns()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DCellularDataService.java281 for (String dns : dnses) { in convertDataCallResult()
282 dns = dns.trim(); in convertDataCallResult()
285 ia = NetworkUtils.numericToInetAddress(dns); in convertDataCallResult()
288 loge("Unknown dns: " + dns + ", exception = " + e); in convertDataCallResult()
DDataConnection.java1106 for (InetAddress dns : response.getDnses()) { in setLinkProperties()
1107 if (!dns.isAnyLocalAddress()) { in setLinkProperties()
1108 linkProperties.addDnsServer(dns); in setLinkProperties()
/frameworks/opt/net/ethernet/tests/java/com/android/server/ethernet/
DEthernetTrackerTest.java105 for (String dns : dnsArray) { in setDns()
106 config.dnsServers.add(InetAddress.parseNumericAddress(dns)); in setDns()
/frameworks/base/native/android/
DAndroid.bp78 include_dirs: ["bionic/libc/dns/include"],
89 include_dirs: ["bionic/libc/dns/include"],
/frameworks/base/core/java/android/net/
DStaticIpConfiguration.java113 for (InetAddress dns : dnsServers) { in toLinkProperties()
114 lp.addDnsServer(dns); in toLinkProperties()
DLinkProperties.java770 String dns = "DnsAddresses: ["; in toString() local
771 for (InetAddress addr : mDnses) dns += addr.getHostAddress() + ","; in toString()
772 dns += "] "; in toString()
812 return "{" + ifaceName + linkAddresses + routes + dns + usePrivateDns in toString()
/frameworks/base/services/net/java/android/net/dns/
DResolvUtil.java17 package android.net.dns;
/frameworks/base/services/core/java/com/android/server/connectivity/
DDnsManager.java38 import android.net.dns.ResolvUtil;
417 for (InetAddress dns : dnses) { in setDefaultDnsSystemProperties()
419 setNetDnsProperty(last, dns.getHostAddress()); in setDefaultDnsSystemProperties()
DNetworkMonitor.java43 import android.net.dns.ResolvUtil;
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl174 void setDnsForwarders(in Network network, in String[] dns); in setDnsForwarders() argument
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java35 import android.net.dns.ResolvUtil;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java2239 for (InetAddress dns : dhcpResults.dnsServers) { in getDhcpInfo()
2240 if (dns instanceof Inet4Address) { in getDhcpInfo()
2242 info.dns1 = NetworkUtils.inetAddressToInt((Inet4Address)dns); in getDhcpInfo()
2244 info.dns2 = NetworkUtils.inetAddressToInt((Inet4Address)dns); in getDhcpInfo()
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java36 import android.net.dns.ResolvUtil;
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1336 public void setDnsForwarders(Network network, String[] dns) { in setDnsForwarders() argument
1342 for (String s : dns) { in setDnsForwarders()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java1221 for (InetAddress dns : linkProperties.getDnsServers()) { in setupDataCall()
1222 dnses.add(dns.getHostAddress()); in setupDataCall()
/frameworks/base/proto/src/
Dmetrics_constants.proto5089 // ACTION: A private dns mode been selected by user
/frameworks/base/config/
Dhiddenapi-light-greylist.txt8585 Lcom/android/okhttp/OkHttpClient;->dns:Lcom/android/okhttp/Dns;