Searched refs:ResolverStats (Results 1 – 7 of 7) sorted by relevance
/packages/modules/DnsResolver/ |
D | ResolverStats.h | 25 struct ResolverStats { struct 58 static void encodeAll(const std::vector<ResolverStats>& stats, std::vector<int32_t>* out); 61 static bool decodeAll(const std::vector<int32_t>& in, std::vector<ResolverStats>* stats); 64 inline void ResolverStats::encode(std::vector<int32_t>* out) const { in encode() 78 inline ssize_t ResolverStats::decode(const std::vector<int32_t>& in, ssize_t ofs) { in decode() 93 inline void ResolverStats::encodeAll(const std::vector<ResolverStats>& stats, in encodeAll() 101 inline bool ResolverStats::decodeAll(const std::vector<int32_t>& in, in decodeAll() 102 std::vector<ResolverStats>* stats) { in decodeAll()
|
D | ResolverController.cpp | 45 using android::net::ResolverStats; 83 res_params* params, std::vector<android::net::ResolverStats>* stats, in getDnsInfo() 85 static_assert(ResolverStats::STATS_SUCCESSES == IDnsResolver::RESOLVER_STATS_SUCCESSES && in getDnsInfo() 86 ResolverStats::STATS_ERRORS == IDnsResolver::RESOLVER_STATS_ERRORS && in getDnsInfo() 87 ResolverStats::STATS_TIMEOUTS == IDnsResolver::RESOLVER_STATS_TIMEOUTS && in getDnsInfo() 88 ResolverStats::STATS_INTERNAL_ERRORS == in getDnsInfo() 90 ResolverStats::STATS_RTT_AVG == IDnsResolver::RESOLVER_STATS_RTT_AVG && in getDnsInfo() 91 ResolverStats::STATS_LAST_SAMPLE_TIME == in getDnsInfo() 93 ResolverStats::STATS_USABLE == IDnsResolver::RESOLVER_STATS_USABLE && in getDnsInfo() 94 ResolverStats::STATS_COUNT == IDnsResolver::RESOLVER_STATS_COUNT, in getDnsInfo() [all …]
|
D | Android.bp | 39 // Used only by dns_responder_client_ndk.cpp for ResolverStats.h
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder_client_ndk.cpp | 36 using android::net::ResolverStats; 115 ResolverStats::decodeAll(stats, &out.stats); in getResolverInfo()
|
D | dns_responder_client_ndk.h | 57 std::vector<android::net::ResolverStats> stats;
|
/packages/modules/DnsResolver/tests/ |
D | dnsresolver_binder_test.cpp | 60 using android::net::ResolverStats; 524 std::vector<ResolverStats> stats; in TEST_F() 525 ResolverStats::decodeAll(stats32, &stats); in TEST_F()
|
D | resolv_integration_test.cpp | 119 using android::net::ResolverStats; 344 const std::vector<ResolverStats>& res_stats = resolvInfo.value().stats; in expectStatsFromGetResolverInfo() 1925 TEST_F(ResolverTest, ResolverStats) { in TEST_F() argument
|