Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/dns_metrics_listener/
Ddns_metrics_listener.cpp34 bool DnsMetricsListener::DnsEvent::operator==(const DnsMetricsListener::DnsEvent& o) const { in operator ==()
40 std::ostream& operator<<(std::ostream& os, const DnsMetricsListener::DnsEvent& data) { in operator <<()
46 ::ndk::ScopedAStatus DnsMetricsListener::onNat64PrefixEvent(int32_t netId, bool added, in onNat64PrefixEvent()
55 ::ndk::ScopedAStatus DnsMetricsListener::onPrivateDnsValidationEvent( in onPrivateDnsValidationEvent()
67 ::ndk::ScopedAStatus DnsMetricsListener::onDnsEvent(int32_t netId, int32_t eventType, in onDnsEvent()
80 bool DnsMetricsListener::waitForNat64Prefix(ExpectNat64PrefixStatus status, milliseconds timeout) { in waitForNat64Prefix()
96 bool DnsMetricsListener::waitForPrivateDnsValidation(const std::string& serverAddr, in waitForPrivateDnsValidation()
112 bool DnsMetricsListener::findAndRemoveValidationRecord(const ServerKey& key, const bool value) { in findAndRemoveValidationRecord()
121 std::optional<DnsMetricsListener::DnsEvent> DnsMetricsListener::popDnsEvent() { in popDnsEvent()
Ddns_metrics_listener.h40 class DnsMetricsListener : public BaseMetricsListener {
56 DnsMetricsListener() = delete;
57 DnsMetricsListener(int32_t netId) : mNetId(netId){}; in DnsMetricsListener() function
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp97 using android::net::metrics::DnsMetricsListener;
194 sDnsMetricsListener = ndk::SharedRefBase::make<DnsMetricsListener>( in SetUpTestSuite()
254 const DnsMetricsListener::DnsEvent expect = { in ExpectDnsEvent()
358 static std::shared_ptr<DnsMetricsListener>
367 std::shared_ptr<DnsMetricsListener> ResolverTest::sDnsMetricsListener;