Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DDnsResolverTest.java587 private final List<InetAddress> mAnswers; field in DnsResolverTest.VerifyCancelInetAddressCallback
594 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()
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgSelectorTest.java1187 private final List<DnsEntry> mAnswers = new ArrayList<>(); field in EpdgSelectorTest.FakeDns
1191 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()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java418 private final ArrayList<DnsEntry> mAnswers = new ArrayList<DnsEntry>(); field in NetworkMonitorTest.FakeDns
428 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()