/frameworks/base/core/java/android/net/ |
D | DnsPinger.java | 110 InetAddress dns; field in DnsPinger.DnsArg 114 dns = d; in DnsArg() 145 InetAddress dnsAddress = dnsArg.dns; in handleMessage() 267 public int pingDnsAsync(InetAddress dns, int timeout, int delay) { in pingDnsAsync() argument 270 new DnsArg(dns, mCurrentToken.get())), delay); in pingDnsAsync() 298 String dns = Settings.Global.getString(mContext.getContentResolver(), in getDefaultDns() local 300 if (dns == null || dns.length() == 0) { in getDefaultDns() 301 dns = mContext.getResources().getString( in getDefaultDns() 305 return NetworkUtils.numericToInetAddress(dns); in getDefaultDns()
|
D | LinkProperties.java | 212 public void addDns(InetAddress dns) { in addDns() argument 213 if (dns != null) mDnses.add(dns); in addDns() 354 String dns = "DnsAddresses: ["; in toString() local 355 for (InetAddress addr : mDnses) dns += addr.getHostAddress() + ","; in toString() 356 dns += "] "; in toString() 375 return "{" + ifaceName + linkAddresses + routes + dns + domainName + mtu in toString()
|
/frameworks/base/core/jni/ |
D | android_net_NetUtils.cpp | 36 const char *dns[], 47 const char *dns[], 126 const char *dns[5] = {dns1, dns2, dns3, dns4, NULL}; in android_net_utils_runDhcpCommon() local 138 dns, server, &lease, vendorInfo, domains, mtu); in android_net_utils_runDhcpCommon() 141 dns, server, &lease, vendorInfo, domains, mtu); in android_net_utils_runDhcpCommon()
|
/frameworks/base/core/java/android/os/ |
D | INetworkManagementService.aidl | 178 void setDnsForwarders(in String[] dns); in setDnsForwarders() argument
|
/frameworks/base/services/java/com/android/server/wifi/ |
D | WifiService.java | 953 for (InetAddress dns : dhcpResults.linkProperties.getDnses()) { in getDhcpInfo() 954 if (dns instanceof Inet4Address) { in getDhcpInfo() 956 info.dns1 = NetworkUtils.inetAddressToInt((Inet4Address)dns); in getDhcpInfo() 958 info.dns2 = NetworkUtils.inetAddressToInt((Inet4Address)dns); in getDhcpInfo()
|
/frameworks/base/services/java/com/android/server/ |
D | ConnectivityService.java | 475 String dns = Settings.Global.getString(context.getContentResolver(), in ConnectivityService() local 477 if (dns == null || dns.length() == 0) { in ConnectivityService() 478 dns = context.getResources().getString( in ConnectivityService() 482 mDefaultDns = NetworkUtils.numericToInetAddress(dns); in ConnectivityService() 484 loge("Error setting defaultDns using " + dns); in ConnectivityService() 2870 for (InetAddress dns : dnses) { in updateDnsLocked() 2873 String value = dns.getHostAddress(); in updateDnsLocked()
|
D | NetworkManagementService.java | 965 public void setDnsForwarders(String[] dns) { in setDnsForwarders() argument 969 for (String s : dns) { in setDnsForwarders()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfigStore.java | 1434 for (InetAddress dns : config.linkProperties.getDnses()) { in copyIpSettingsFromConfig() 1435 linkProperties.addDns(dns); in copyIpSettingsFromConfig()
|
D | WifiStateMachine.java | 2128 for (InetAddress dns: lp.getDnses()) { in updateLinkProperties() 2129 newLp.addDns(dns); in updateLinkProperties()
|
/frameworks/base/docs/html/tools/devices/ |
D | emulator.jd | 38 <li><a href="#dns">Configuring the Emulator's DNS Settings</a></li> 956 <h3 id="dns">Configuring the Emulator's DNS Settings</h3> 971 <code>-dns-server <serverList></code> option to manually specify the
|
/frameworks/base/docs/html/tools/help/ |
D | emulator.jd | 344 <td><code>-dns-server <servers></code></td>
|