Searched refs:dns (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/java/android/net/
H A DDnsPinger.java73 //Invalidates old dns requests upon a cancel
79 * Async response packet for dns pings.
110 InetAddress dns; field in class:DnsPinger.DnsArg
114 dns = d;
145 InetAddress dnsAddress = dnsArg.dns;
253 loge("getDns::LinkProps has null dns - returning default");
263 * @param dns address of dns server to ping
267 public int pingDnsAsync(InetAddress dns, int timeout, int delay) { argument
270 new DnsArg(dns, mCurrentToke
[all...]
H A DLinkProperties.java35 * multiple dns servers but only one http proxy.
37 * Because it's a single network, the dns's
44 * the local network. The dns servers all return
115 public void addDns(InetAddress dns) { argument
116 if (dns != null) mDnses.add(dns);
161 String dns = "DnsAddresses: [";
162 for (InetAddress addr : mDnses) dns += addr.getHostAddress() + ",";
163 dns += "] ";
170 return ifaceName + linkAddresses + routes + dns
[all...]
/frameworks/base/core/java/android/os/
H A DINetworkManagementService.aidl182 void setDnsForwarders(in String[] dns);
/frameworks/base/services/java/com/android/server/
H A DConnectivityService.java380 // read our default dns server ip
381 String dns = Settings.Global.getString(context.getContentResolver(),
383 if (dns == null || dns.length() == 0) {
384 dns = context.getResources().getString(
388 mDefaultDns = NetworkUtils.numericToInetAddress(dns);
390 loge("Error setting defaultDns using " + dns);
1152 // this gets used for per-pid dns when connected
1167 // add the pid-specific dns
1193 // this gets used for per-pid dns whe
[all...]
H A DNetworkManagementService.java901 public void setDnsForwarders(String[] dns) { argument
904 final Command cmd = new Command("tether", "dns", "set");
905 for (String s : dns) {
921 mConnector.executeForList("tether", "dns", "list"), TetherDnsFwdTgtListResult);
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfigStore.java139 private static final String DNS_KEY = "dns";
1295 for (InetAddress dns : config.linkProperties.getDnses()) {
1296 linkProperties.addDns(dns);

Completed in 38 milliseconds