Home
last modified time | relevance | path

Searched refs:dns (Results 1 – 12 of 12) 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()
DStaticIpConfiguration.java107 for (InetAddress dns : dnsServers) { in toLinkProperties()
108 lp.addDnsServer(dns); in toLinkProperties()
DLinkProperties.java557 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/
Dandroid_net_NetUtils.cpp38 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()
DAndroid.mk181 $(TOP)/bionic/libc/dns/include \
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl168 void setDnsForwarders(in Network network, in String[] dns); in setDnsForwarders() argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java1108 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()
DWifiStateMachine.java3819 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/
DConnectivityService.java624 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()
DNetworkManagementService.java1214 public void setDnsForwarders(Network network, String[] dns) { in setDnsForwarders() argument
1220 for (String s : dns) { in setDnsForwarders()
/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>