Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/ip/
DIpClientLinkObserver.java483 private ArrayList<DnsServerEntry> mAllServers; field in IpClientLinkObserver.DnsServerRepository
498 mAllServers = new ArrayList<>(NUM_SERVERS); in DnsServerRepository()
538 mAllServers.add(entry); in addServers()
545 Collections.sort(mAllServers); in addServers()
565 for (int i = mAllServers.size() - 1; i >= 0; i--) { in updateCurrentServers()
566 if (i >= NUM_SERVERS || mAllServers.get(i).expiry <= now) { in updateCurrentServers()
567 DnsServerEntry removed = mAllServers.remove(i); in updateCurrentServers()
578 for (DnsServerEntry entry : mAllServers) { in updateCurrentServers()