/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 | StaticIpConfiguration.java | 107 for (InetAddress dns : dnsServers) { in toLinkProperties() 108 lp.addDnsServer(dns); in toLinkProperties()
|
D | LinkProperties.java | 557 String dns = "DnsAddresses: ["; in toString() local 558 for (InetAddress addr : mDnses) dns += addr.getHostAddress() + ","; in toString() 559 dns += "] "; in toString() 583 return "{" + ifaceName + linkAddresses + routes + dns + domainName + mtu in toString()
|
/frameworks/base/core/jni/ |
D | android_net_NetUtils.cpp | 38 const char *dns[], 49 const char *dns[], 107 const char *dns[5] = {dns1, dns2, dns3, dns4, NULL}; in android_net_utils_runDhcpCommon() local 119 dns, server, &lease, vendorInfo, domains, mtu); in android_net_utils_runDhcpCommon() 122 dns, server, &lease, vendorInfo, domains, mtu); in android_net_utils_runDhcpCommon()
|
D | Android.mk | 181 $(TOP)/bionic/libc/dns/include \
|
/frameworks/base/core/java/android/os/ |
D | INetworkManagementService.aidl | 168 void setDnsForwarders(in Network network, in String[] dns); in setDnsForwarders() argument
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 1108 for (InetAddress dns : dhcpResults.dnsServers) { in getDhcpInfo() 1109 if (dns instanceof Inet4Address) { in getDhcpInfo() 1111 info.dns1 = NetworkUtils.inetAddressToInt((Inet4Address)dns); in getDhcpInfo() 1113 info.dns2 = NetworkUtils.inetAddressToInt((Inet4Address)dns); in getDhcpInfo()
|
D | WifiStateMachine.java | 3819 for (InetAddress dns : netlinkLinkProperties.getDnsServers()) { in updateLinkProperties() 3820 newLp.addDnsServer(dns); in updateLinkProperties() 3831 for (InetAddress dns : mDhcpResults.dnsServers) { in updateLinkProperties() 3832 newLp.addDnsServer(dns); in updateLinkProperties()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 624 String dns = Settings.Global.getString(context.getContentResolver(), in ConnectivityService() local 626 if (dns == null || dns.length() == 0) { in ConnectivityService() 627 dns = context.getResources().getString( in ConnectivityService() 631 mDefaultDns = NetworkUtils.numericToInetAddress(dns); in ConnectivityService() 633 loge("Error setting defaultDns using " + dns); in ConnectivityService() 3691 for (InetAddress dns : dnses) { in setDefaultDnsSystemProperties() 3694 String value = dns.getHostAddress(); in setDefaultDnsSystemProperties()
|
D | NetworkManagementService.java | 1214 public void setDnsForwarders(Network network, String[] dns) { in setDnsForwarders() argument 1220 for (String s : dns) { in setDnsForwarders()
|
/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>
|