Searched refs:ResolverStats (Results 1 – 8 of 8) sorted by relevance
/packages/modules/DnsResolver/ |
D | ResolverController.cpp | 96 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 …]
|
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 | Android.bp | 6 // Used only by dns_responder_client_ndk.cpp for ResolverStats.h
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder_client_ndk.cpp | 38 using android::net::ResolverStats; 97 std::vector<ResolverStats>* stats, in GetResolverInfo() 122 return ResolverStats::decodeAll(stats32, stats); in GetResolverInfo()
|
D | dns_responder_client_ndk.h | 95 std::vector<android::net::ResolverStats>* stats,
|
/packages/modules/DnsResolver/tests/ |
D | resolv_stress_test.cpp | 34 using android::net::ResolverStats; 88 std::vector<ResolverStats> res_stats; in RunGetAddrInfoStressTest()
|
D | dnsresolver_binder_test.cpp | 47 using android::net::ResolverStats; 323 std::vector<ResolverStats> stats; in TEST_F() 324 ResolverStats::decodeAll(stats32, &stats); in TEST_F()
|
D | resolv_integration_test.cpp | 95 using android::net::ResolverStats; 282 std::vector<ResolverStats> res_stats; in expectStatsFromGetResolverInfo() 611 std::vector<ResolverStats> res_stats; in TEST_F() 800 std::vector<ResolverStats> res_stats; in TEST_F() 1071 std::vector<ResolverStats> res_stats; in TEST_F() 1327 std::vector<ResolverStats> res_stats; in TEST_F() 1389 std::vector<ResolverStats> res_stats; in getResolverDomains() 1514 std::vector<ResolverStats> res_stats; in TEST_F() 1529 TEST_F(ResolverTest, ResolverStats) { in TEST_F() argument
|