Searched refs:mAnswers (Results 1 – 3 of 3) sorted by relevance
587 private final List<InetAddress> mAnswers; field in DnsResolverTest.VerifyCancelInetAddressCallback594 mAnswers = new ArrayList<>(); in VerifyCancelInetAddressCallback()606 return mAnswers.isEmpty(); in isAnswerEmpty()610 for (InetAddress answer : mAnswers) { in hasIpv6Answer()617 for (InetAddress answer : mAnswers) { in hasIpv4Answer()637 mAnswers.clear(); in onAnswer()638 mAnswers.addAll(answerList); in onAnswer()
1187 private final List<DnsEntry> mAnswers = new ArrayList<>(); field in EpdgSelectorTest.FakeDns1191 mAnswers.clear(); in clearAll()1196 return mAnswers.stream() in getAnswer()1208 mAnswers.removeIf(entry -> entry.matches(hostname, type)); in setAnswer()1210 mAnswers.add(record); in setAnswer()
418 private final ArrayList<DnsEntry> mAnswers = new ArrayList<DnsEntry>(); field in NetworkMonitorTest.FakeDns428 synchronized (mAnswers) { in clearAll()429 mAnswers.clear(); in clearAll()442 synchronized (mAnswers) { in getAnswer()443 answerSupplier = mAnswers.stream() in getAnswer()474 synchronized (mAnswers) { in setAnswer()476 mAnswers.removeIf(entry -> entry.matches(hostname, type)); in setAnswer()478 mAnswers.add(record); in setAnswer()