Searched refs:ResolverStats (Results 1 – 5 of 5) sorted by relevance
/system/netd/resolv/ |
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 | ResolverController.cpp | 98 res_params* params, std::vector<android::net::ResolverStats>* stats, in getDnsInfo() 101 using android::net::ResolverStats; in getDnsInfo() 102 static_assert(ResolverStats::STATS_SUCCESSES == IDnsResolver::RESOLVER_STATS_SUCCESSES && in getDnsInfo() 103 ResolverStats::STATS_ERRORS == IDnsResolver::RESOLVER_STATS_ERRORS && in getDnsInfo() 104 ResolverStats::STATS_TIMEOUTS == IDnsResolver::RESOLVER_STATS_TIMEOUTS && in getDnsInfo() 105 ResolverStats::STATS_INTERNAL_ERRORS == in getDnsInfo() 107 ResolverStats::STATS_RTT_AVG == IDnsResolver::RESOLVER_STATS_RTT_AVG && in getDnsInfo() 108 ResolverStats::STATS_LAST_SAMPLE_TIME == in getDnsInfo() 110 ResolverStats::STATS_USABLE == IDnsResolver::RESOLVER_STATS_USABLE && in getDnsInfo() 111 ResolverStats::STATS_COUNT == IDnsResolver::RESOLVER_STATS_COUNT, in getDnsInfo() [all …]
|
D | ResolverController.h | 34 struct ResolverStats;
|
D | dnsresolver_binder_test.cpp | 53 using android::net::ResolverStats; 319 std::vector<ResolverStats> stats; in TEST_F() 320 ResolverStats::decodeAll(stats32, &stats); in TEST_F()
|
D | resolver_test.cpp | 81 using android::net::ResolverStats; 112 std::vector<ResolverStats>* stats, in GetResolverInfo() 139 return ResolverStats::decodeAll(stats32, stats); in GetResolverInfo() 276 std::vector<ResolverStats> res_stats; in RunGetAddrInfoStressTest_Binder() 545 std::vector<ResolverStats> res_stats; in TEST_F() 716 std::vector<ResolverStats> res_stats; in TEST_F() 972 std::vector<ResolverStats> res_stats; in TEST_F() 1002 std::vector<ResolverStats> res_stats; in TEST_F() 1112 std::vector<ResolverStats> res_stats; in TEST_F() 1126 TEST_F(ResolverTest, ResolverStats) { in TEST_F() argument [all …]
|