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.cpp30 bool DnsMetricsListener::DnsEvent::operator==(const DnsMetricsListener::DnsEvent& o) const { in operator ==()
36 std::ostream& operator<<(std::ostream& os, const DnsMetricsListener::DnsEvent& data) { in operator <<()
42 ::ndk::ScopedAStatus DnsMetricsListener::onNat64PrefixEvent(int32_t netId, bool added, in onNat64PrefixEvent()
52 ::ndk::ScopedAStatus DnsMetricsListener::onPrivateDnsValidationEvent( in onPrivateDnsValidationEvent()
64 ::ndk::ScopedAStatus DnsMetricsListener::onDnsEvent(int32_t netId, int32_t eventType, in onDnsEvent()
78 bool DnsMetricsListener::waitForNat64Prefix(ExpectNat64PrefixStatus status, milliseconds timeout) { in waitForNat64Prefix()
94 bool DnsMetricsListener::waitForPrivateDnsValidation(const std::string& serverAddr, in waitForPrivateDnsValidation()
102 bool DnsMetricsListener::findAndRemoveValidationRecord(const ServerKey& key, const bool value) { in findAndRemoveValidationRecord()
111 std::optional<DnsMetricsListener::DnsEvent> DnsMetricsListener::popDnsEvent() { in popDnsEvent()
Ddns_metrics_listener.h37 class DnsMetricsListener : public BaseMetricsListener {
53 DnsMetricsListener() = delete;
54 DnsMetricsListener(int32_t netId) : mNetId(netId){}; in DnsMetricsListener() function
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp121 using android::net::metrics::DnsMetricsListener;
211 sDnsMetricsListener = ndk::SharedRefBase::make<DnsMetricsListener>( in SetUpTestSuite()
299 const DnsMetricsListener::DnsEvent expect = { in ExpectDnsEvent()
422 static std::shared_ptr<DnsMetricsListener>
438 std::shared_ptr<DnsMetricsListener> ResolverTest::sDnsMetricsListener;