Home
last modified time | relevance | path

Searched refs:mDnses (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/net/
DLinkProperties.java53 private ArrayList<InetAddress> mDnses = new ArrayList<InetAddress>(); field in LinkProperties
153 for (InetAddress i : source.getDnsServers()) mDnses.add(i); in LinkProperties()
334 if (dnsServer != null && !mDnses.contains(dnsServer)) { in addDnsServer()
335 mDnses.add(dnsServer); in addDnsServer()
350 return mDnses.remove(dnsServer); in removeDnsServer()
363 mDnses.clear(); in setDnsServers()
376 return Collections.unmodifiableList(mDnses); in getDnsServers()
599 mDnses.clear(); in clear()
624 for (InetAddress addr : mDnses) dns += addr.getHostAddress() + ","; in toString()
732 for (InetAddress ia : mDnses) { in hasIPv4DnsServer()
[all …]
/frameworks/base/services/net/java/android/net/ip/
DRouterAdvertisementDaemon.java167 private final HashMap<Inet6Address, Integer> mDnses = new HashMap<>(); field in RouterAdvertisementDaemon.DeprecatedInfoTracker
183 Set<Inet6Address> getDnses() { return mDnses.keySet(); } in getDnses()
187 mDnses.put(dns, MAX_URGENT_RTR_ADVERTISEMENTS); in putDnses()
193 mDnses.remove(dns); in removeDnses()
197 boolean isEmpty() { return mPrefixes.isEmpty() && mDnses.isEmpty(); } in isEmpty()
201 removed |= decrementCounter(mDnses); in decrementCounters()