Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/android/telephony/data/
DDataCallResponse.java44 private final List<InetAddress> mDnses; field in DataCallResponse
85 mDnses = (dnses == null) ? new ArrayList<>() : dnses; in DataCallResponse()
100 mDnses = new ArrayList<>(); in DataCallResponse()
101 source.readList(mDnses, InetAddress.class.getClassLoader()); in DataCallResponse()
153 public List<InetAddress> getDnses() { return mDnses; } in getDnses()
186 .append(" dnses=").append(mDnses) in toString()
211 && mDnses.size() == other.mDnses.size() in equals()
212 && mDnses.containsAll(other.mDnses) in equals()
223 mDnses, mGateways, mPcscfs, mMtu); in hashCode()
240 dest.writeList(mDnses); in writeToParcel()
/frameworks/base/core/java/android/net/
DLinkProperties.java52 private ArrayList<InetAddress> mDnses = new ArrayList<InetAddress>(); field in LinkProperties
170 for (InetAddress i : source.getDnsServers()) mDnses.add(i); in LinkProperties()
356 if (dnsServer != null && !mDnses.contains(dnsServer)) { in addDnsServer()
357 mDnses.add(dnsServer); in addDnsServer()
372 return mDnses.remove(dnsServer); in removeDnsServer()
385 mDnses.clear(); in setDnsServers()
398 return Collections.unmodifiableList(mDnses); in getDnsServers()
744 mDnses.clear(); in clear()
771 for (InetAddress addr : mDnses) dns += addr.getHostAddress() + ","; in toString()
896 for (InetAddress ia : mDnses) { in hasIPv4DnsServer()
[all …]
/frameworks/base/services/net/java/android/net/ip/
DRouterAdvertisementDaemon.java168 private final HashMap<Inet6Address, Integer> mDnses = new HashMap<>(); field in RouterAdvertisementDaemon.DeprecatedInfoTracker
184 Set<Inet6Address> getDnses() { return mDnses.keySet(); } in getDnses()
188 mDnses.put(dns, MAX_URGENT_RTR_ADVERTISEMENTS); in putDnses()
194 mDnses.remove(dns); in removeDnses()
198 boolean isEmpty() { return mPrefixes.isEmpty() && mDnses.isEmpty(); } in isEmpty()
202 removed |= decrementCounter(mDnses); in decrementCounters()