Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DResolverController.cpp96 res_params* params, std::vector<android::net::ResolverStats>* stats, in getDnsInfo()
99 using android::net::ResolverStats; in getDnsInfo()
100 static_assert(ResolverStats::STATS_SUCCESSES == IDnsResolver::RESOLVER_STATS_SUCCESSES && in getDnsInfo()
101 ResolverStats::STATS_ERRORS == IDnsResolver::RESOLVER_STATS_ERRORS && in getDnsInfo()
102 ResolverStats::STATS_TIMEOUTS == IDnsResolver::RESOLVER_STATS_TIMEOUTS && in getDnsInfo()
103 ResolverStats::STATS_INTERNAL_ERRORS == in getDnsInfo()
105 ResolverStats::STATS_RTT_AVG == IDnsResolver::RESOLVER_STATS_RTT_AVG && in getDnsInfo()
106 ResolverStats::STATS_LAST_SAMPLE_TIME == in getDnsInfo()
108 ResolverStats::STATS_USABLE == IDnsResolver::RESOLVER_STATS_USABLE && in getDnsInfo()
109 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.bp6 // Used only by dns_responder_client_ndk.cpp for ResolverStats.h
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.cpp38 using android::net::ResolverStats;
97 std::vector<ResolverStats>* stats, in GetResolverInfo()
122 return ResolverStats::decodeAll(stats32, stats); in GetResolverInfo()
Ddns_responder_client_ndk.h95 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.cpp47 using android::net::ResolverStats;
323 std::vector<ResolverStats> stats; in TEST_F()
324 ResolverStats::decodeAll(stats32, &stats); in TEST_F()
Dresolv_integration_test.cpp90 using android::net::ResolverStats;
238 std::vector<ResolverStats> res_stats; in expectStatsFromGetResolverInfo()
554 std::vector<ResolverStats> res_stats; in TEST_F()
743 std::vector<ResolverStats> res_stats; in TEST_F()
1012 std::vector<ResolverStats> res_stats; in TEST_F()
1232 std::vector<ResolverStats> res_stats; in TEST_F()
1294 std::vector<ResolverStats> res_stats; in getResolverDomains()
1419 std::vector<ResolverStats> res_stats; in TEST_F()
1434 TEST_F(ResolverTest, ResolverStats) { in TEST_F() argument