Home
last modified time | relevance | path

Searched refs:ResolverStats (Results 1 – 8 of 8) sorted by relevance

/packages/modules/DnsResolver/
DResolverController.cpp78 res_params* params, std::vector<android::net::ResolverStats>* stats, in getDnsInfo()
81 using android::net::ResolverStats; in getDnsInfo()
82 static_assert(ResolverStats::STATS_SUCCESSES == IDnsResolver::RESOLVER_STATS_SUCCESSES && in getDnsInfo()
83 ResolverStats::STATS_ERRORS == IDnsResolver::RESOLVER_STATS_ERRORS && in getDnsInfo()
84 ResolverStats::STATS_TIMEOUTS == IDnsResolver::RESOLVER_STATS_TIMEOUTS && in getDnsInfo()
85 ResolverStats::STATS_INTERNAL_ERRORS == in getDnsInfo()
87 ResolverStats::STATS_RTT_AVG == IDnsResolver::RESOLVER_STATS_RTT_AVG && in getDnsInfo()
88 ResolverStats::STATS_LAST_SAMPLE_TIME == in getDnsInfo()
90 ResolverStats::STATS_USABLE == IDnsResolver::RESOLVER_STATS_USABLE && in getDnsInfo()
91 ResolverStats::STATS_COUNT == IDnsResolver::RESOLVER_STATS_COUNT, in getDnsInfo()
[all …]
DResolverStats.h25 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()
DAndroid.bp38 // Used only by dns_responder_client_ndk.cpp for ResolverStats.h
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.cpp35 using android::net::ResolverStats;
95 std::vector<ResolverStats>* stats, in GetResolverInfo()
120 return ResolverStats::decodeAll(stats32, stats); in GetResolverInfo()
Ddns_responder_client_ndk.h117 std::vector<android::net::ResolverStats>* stats,
/packages/modules/DnsResolver/tests/
Dresolv_stress_test.cpp34 using android::net::ResolverStats;
88 std::vector<ResolverStats> res_stats; in RunGetAddrInfoStressTest()
Ddnsresolver_binder_test.cpp57 using android::net::ResolverStats;
549 std::vector<ResolverStats> stats; in TEST_F()
550 ResolverStats::decodeAll(stats32, &stats); in TEST_F()
Dresolv_integration_test.cpp118 using android::net::ResolverStats;
341 std::vector<ResolverStats> res_stats; in expectStatsFromGetResolverInfo()
693 std::vector<ResolverStats> res_stats; in TEST_F()
882 std::vector<ResolverStats> res_stats; in TEST_F()
1198 std::vector<ResolverStats> res_stats; in TEST_F()
1496 std::vector<ResolverStats> res_stats; in TEST_F()
1558 std::vector<ResolverStats> res_stats; in getResolverDomains()
1683 std::vector<ResolverStats> res_stats; in TEST_F()
1698 TEST_F(ResolverTest, ResolverStats) { in TEST_F() argument