Searched refs:res_stats (Results 1 – 8 of 8) sorted by relevance
/system/netd/resolv/include/netd_resolv/ |
D | stats.h | 37 struct res_stats { struct 47 LIBNETD_RESOLV_PUBLIC void android_net_res_stats_aggregate(res_stats* stats, int* successes, argument 54 char domains[MAXDNSRCH][MAXDNSRCHPATH], res_params* params, res_stats stats[MAXNS], 59 res_stats stats[], int nscount,
|
/system/netd/resolv/ |
D | res_stats.cpp | 44 void _res_stats_clear_samples(res_stats* stats) { in _res_stats_clear_samples() 49 void android_net_res_stats_aggregate(res_stats* stats, int* successes, int* errors, int* timeouts, in android_net_res_stats_aggregate() 112 static bool res_stats_usable_server(const res_params* params, res_stats* stats) { in res_stats_usable_server() 147 int android_net_res_stats_get_usable_servers(const res_params* params, res_stats stats[], in android_net_res_stats_get_usable_servers()
|
D | ResolverController.cpp | 117 res_stats res_stats[MAXNS]; in getDnsInfo() local 124 netId, &nscount, res_servers, &dcount, res_domains, params, res_stats, in getDnsInfo() 142 android_net_res_stats_get_usable_servers(params, res_stats, nscount, valid_servers); in getDnsInfo() 160 android_net_res_stats_aggregate(&res_stats[i], &cur_stats.successes, &cur_stats.errors, in getDnsInfo() 255 std::vector<ResolverStats> res_stats; in getResolverInfo() local 256 int ret = getDnsInfo(netId, servers, domains, &res_params, &res_stats, in getResolverInfo() 263 ResolverStats::encodeAll(res_stats, stats); in getResolverInfo()
|
D | resolv_private.h | 128 int resolv_cache_get_resolver_stats(unsigned netid, res_params* params, res_stats stats[MAXNS]);
|
D | resolver_test.cpp | 276 std::vector<ResolverStats> res_stats; in RunGetAddrInfoStressTest_Binder() local 279 &res_stats, &wait_for_pending_req_timeout_count)); in RunGetAddrInfoStressTest_Binder() 545 std::vector<ResolverStats> res_stats; in TEST_F() local 548 &res_stats, &wait_for_pending_req_timeout_count)); in TEST_F() 561 EXPECT_EQ(servers.size(), res_stats.size()); in TEST_F() 716 std::vector<ResolverStats> res_stats; in TEST_F() local 719 &res_stats, &wait_for_pending_req_timeout_count)); in TEST_F() 972 std::vector<ResolverStats> res_stats; in TEST_F() local 975 &res_stats, &wait_for_pending_req_timeout_count)); in TEST_F() 1002 std::vector<ResolverStats> res_stats; in TEST_F() local [all …]
|
D | Android.bp | 61 "res_stats.cpp",
|
D | res_cache.cpp | 1145 struct res_stats nsstats[MAXNS]; 1916 static void _res_cache_add_stats_sample_locked(res_stats* stats, const res_sample* sample, in _res_cache_add_stats_sample_locked() 1942 res_params* params, struct res_stats stats[MAXNS], in android_net_res_stats_get_info_for_net() 2003 int resolv_cache_get_resolver_stats(unsigned netid, res_params* params, res_stats stats[MAXNS]) { in resolv_cache_get_resolver_stats()
|
D | res_send.cpp | 496 res_stats stats[MAXNS]; in res_nsend()
|