/frameworks/base/tests/net/java/android/net/ip/ |
D | IpClientTest.java | 256 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/ |
D | RouterAdvertisementDaemon.java | 155 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 …]
|
D | IpReachabilityMonitor.java | 278 for (InetAddress dns : lp.getDnsServers()) { 279 if (isOnLink(routes, dns)) { 280 newNeighborWatchList.put(dns, mNeighborWatchList.getOrDefault(dns, null));
|
D | IpClient.java | 1270 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/ |
D | TetherInterfaceStateMachine.java | 402 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/ |
D | CellularDataService.java | 281 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()
|
D | DataConnection.java | 1106 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/ |
D | EthernetTrackerTest.java | 105 for (String dns : dnsArray) { in setDns() 106 config.dnsServers.add(InetAddress.parseNumericAddress(dns)); in setDns()
|
/frameworks/base/native/android/ |
D | Android.bp | 78 include_dirs: ["bionic/libc/dns/include"], 89 include_dirs: ["bionic/libc/dns/include"],
|
/frameworks/base/core/java/android/net/ |
D | StaticIpConfiguration.java | 113 for (InetAddress dns : dnsServers) { in toLinkProperties() 114 lp.addDnsServer(dns); in toLinkProperties()
|
D | LinkProperties.java | 770 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/ |
D | ResolvUtil.java | 17 package android.net.dns;
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | DnsManager.java | 38 import android.net.dns.ResolvUtil; 417 for (InetAddress dns : dnses) { in setDefaultDnsSystemProperties() 419 setNetDnsProperty(last, dns.getHostAddress()); in setDefaultDnsSystemProperties()
|
D | NetworkMonitor.java | 43 import android.net.dns.ResolvUtil;
|
/frameworks/base/core/java/android/os/ |
D | INetworkManagementService.aidl | 174 void setDnsForwarders(in Network network, in String[] dns); in setDnsForwarders() argument
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CaptivePortalLoginActivity.java | 35 import android.net.dns.ResolvUtil;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 2239 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/ |
D | CaptivePortalLoginActivity.java | 36 import android.net.dns.ResolvUtil;
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkManagementService.java | 1336 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/ |
D | RIL.java | 1221 for (InetAddress dns : linkProperties.getDnsServers()) { in setupDataCall() 1222 dnses.add(dns.getHostAddress()); in setupDataCall()
|
/frameworks/base/proto/src/ |
D | metrics_constants.proto | 5089 // ACTION: A private dns mode been selected by user
|
/frameworks/base/config/ |
D | hiddenapi-light-greylist.txt | 8585 Lcom/android/okhttp/OkHttpClient;->dns:Lcom/android/okhttp/Dns;
|