Searched refs:res_stats (Results 1 – 2 of 2) sorted by relevance
/system/netd/server/ |
D | ResolverController.cpp | 90 __res_stats res_stats[MAXNS]; in getDnsInfo() local 96 res_domains, params, res_stats); in getDnsInfo() 113 android_net_res_stats_get_usable_servers(params, res_stats, nscount, valid_servers); in getDnsInfo() 130 android_net_res_stats_aggregate(&res_stats[i], &cur_stats.successes, &cur_stats.errors, in getDnsInfo() 182 std::vector<ResolverStats> res_stats; in getResolverInfo() local 183 int ret = getDnsInfo(netId, servers, domains, &res_params, &res_stats); in getResolverInfo() 189 ResolverStats::encodeAll(res_stats, stats); in getResolverInfo()
|
/system/netd/tests/ |
D | netd_test.cpp | 349 std::vector<ResolverStats> res_stats; in TEST_F() local 350 ASSERT_TRUE(GetResolverInfo(&res_servers, &res_domains, &res_params, &res_stats)); in TEST_F() 360 EXPECT_EQ(servers.size(), res_stats.size()); in TEST_F() 617 std::vector<ResolverStats> res_stats; in TEST_F() local 618 ASSERT_TRUE(GetResolverInfo(&res_servers, &res_domains, &res_params, &res_stats)); in TEST_F() 682 std::vector<ResolverStats> res_stats; in TEST_F() local 683 ASSERT_TRUE(GetResolverInfo(&res_servers, &res_domains, &res_params, &res_stats)); in TEST_F()
|