Searched refs:DnsMetricsListener (Results 1 – 3 of 3) sorted by relevance
34 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()
40 class DnsMetricsListener : public BaseMetricsListener {56 DnsMetricsListener() = delete;57 DnsMetricsListener(int32_t netId) : mNetId(netId){}; in DnsMetricsListener() function
97 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;