Searched refs:ResolverStats (Results 1 – 4 of 4) sorted by relevance
25 struct ResolverStats { struct58 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);65 inline void ResolverStats::encode(std::vector<int32_t>* out) const { in encode()79 inline ssize_t ResolverStats::decode(const std::vector<int32_t>& in, ssize_t ofs) { in decode()94 inline void ResolverStats::encodeAll(const std::vector<ResolverStats>& stats, in encodeAll()102 inline bool ResolverStats::decodeAll(const std::vector<int32_t>& in, in decodeAll()103 std::vector<ResolverStats>* stats) { in decodeAll()
74 std::vector<android::net::ResolverStats>* stats) { in getDnsInfo()75 using android::net::ResolverStats; in getDnsInfo()77 static_assert(ResolverStats::STATS_SUCCESSES == INetd::RESOLVER_STATS_SUCCESSES && in getDnsInfo()78 ResolverStats::STATS_ERRORS == INetd::RESOLVER_STATS_ERRORS && in getDnsInfo()79 ResolverStats::STATS_TIMEOUTS == INetd::RESOLVER_STATS_TIMEOUTS && in getDnsInfo()80 ResolverStats::STATS_INTERNAL_ERRORS == INetd::RESOLVER_STATS_INTERNAL_ERRORS && in getDnsInfo()81 ResolverStats::STATS_RTT_AVG == INetd::RESOLVER_STATS_RTT_AVG && in getDnsInfo()82 ResolverStats::STATS_LAST_SAMPLE_TIME == INetd::RESOLVER_STATS_LAST_SAMPLE_TIME && in getDnsInfo()83 ResolverStats::STATS_USABLE == INetd::RESOLVER_STATS_USABLE && in getDnsInfo()84 ResolverStats::STATS_COUNT == INetd::RESOLVER_STATS_COUNT, in getDnsInfo()[all …]
30 struct ResolverStats;48 std::vector<android::net::ResolverStats>* stats);
58 using android::net::ResolverStats;155 __res_params* params, std::vector<ResolverStats>* stats) { in GetResolverInfo()173 return ResolverStats::decodeAll(stats32, stats); in GetResolverInfo()349 std::vector<ResolverStats> res_stats; in TEST_F()617 std::vector<ResolverStats> res_stats; in TEST_F()682 std::vector<ResolverStats> res_stats; in TEST_F()