Lines Matching refs:ResolverStats
71 std::vector<android::net::ResolverStats>* stats) { in getDnsInfo()
72 using android::net::ResolverStats; in getDnsInfo()
74 static_assert(ResolverStats::STATS_SUCCESSES == INetd::RESOLVER_STATS_SUCCESSES && in getDnsInfo()
75 ResolverStats::STATS_ERRORS == INetd::RESOLVER_STATS_ERRORS && in getDnsInfo()
76 ResolverStats::STATS_TIMEOUTS == INetd::RESOLVER_STATS_TIMEOUTS && in getDnsInfo()
77 ResolverStats::STATS_INTERNAL_ERRORS == INetd::RESOLVER_STATS_INTERNAL_ERRORS && in getDnsInfo()
78 ResolverStats::STATS_RTT_AVG == INetd::RESOLVER_STATS_RTT_AVG && in getDnsInfo()
79 ResolverStats::STATS_LAST_SAMPLE_TIME == INetd::RESOLVER_STATS_LAST_SAMPLE_TIME && in getDnsInfo()
80 ResolverStats::STATS_USABLE == INetd::RESOLVER_STATS_USABLE && in getDnsInfo()
81 ResolverStats::STATS_COUNT == INetd::RESOLVER_STATS_COUNT, in getDnsInfo()
126 android::net::ResolverStats& cur_stats = (*stats)[i]; in getDnsInfo()
176 using android::net::ResolverStats; in getResolverInfo()
179 std::vector<ResolverStats> res_stats; in getResolverInfo()
186 ResolverStats::encodeAll(res_stats, stats); in getResolverInfo()
198 using android::net::ResolverStats; in dump()
202 std::vector<ResolverStats> stats; in dump()
217 const ResolverStats& s = stats[i]; in dump()