Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DDnsPinger.java110 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()
DLinkProperties.java212 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/
Dandroid_net_NetUtils.cpp36 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/
DINetworkManagementService.aidl178 void setDnsForwarders(in String[] dns); in setDnsForwarders() argument
/frameworks/base/services/java/com/android/server/wifi/
DWifiService.java953 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/
DConnectivityService.java475 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()
DNetworkManagementService.java965 public void setDnsForwarders(String[] dns) { in setDnsForwarders() argument
969 for (String s : dns) { in setDnsForwarders()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfigStore.java1434 for (InetAddress dns : config.linkProperties.getDnses()) { in copyIpSettingsFromConfig()
1435 linkProperties.addDns(dns); in copyIpSettingsFromConfig()
DWifiStateMachine.java2128 for (InetAddress dns: lp.getDnses()) { in updateLinkProperties()
2129 newLp.addDns(dns); in updateLinkProperties()
/frameworks/base/docs/html/tools/devices/
Demulator.jd38 <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 &lt;serverList&gt;</code> option to manually specify the
/frameworks/base/docs/html/tools/help/
Demulator.jd344 <td><code>-dns-server &lt;servers&gt;</code></td>