Home
last modified time | relevance | path

Searched refs:res_params (Results 1 – 16 of 16) sorted by relevance

/packages/modules/DnsResolver/
DResolverController.cpp96 res_params* params, std::vector<android::net::ResolverStats>* stats, in getDnsInfo()
118 *params = res_params{}; in getDnsInfo()
226 res_params res_params = {}; in setResolverConfiguration() local
227 res_params.sample_validity = resolverParams.sampleValiditySeconds; in setResolverConfiguration()
228 res_params.success_threshold = resolverParams.successThreshold; in setResolverConfiguration()
229 res_params.min_samples = resolverParams.minSamples; in setResolverConfiguration()
230 res_params.max_samples = resolverParams.maxSamples; in setResolverConfiguration()
231 res_params.base_timeout_msec = resolverParams.baseTimeoutMsec; in setResolverConfiguration()
232 res_params.retry_count = resolverParams.retryCount; in setResolverConfiguration()
235 resolverParams.domains, res_params, in setResolverConfiguration()
[all …]
Dstats.h52 res_params* params, res_stats stats[MAXNS],
56 int android_net_res_stats_get_usable_servers(const res_params* params, res_stats stats[],
Dresolv_cache.h84 const std::vector<std::string>& domains, const res_params& params,
123 unsigned netid, res_params* params, res_stats stats[MAXNS],
Dres_stats.cpp111 static bool res_stats_usable_server(const res_params* params, res_stats* stats) { in res_stats_usable_server()
146 int android_net_res_stats_get_usable_servers(const res_params* params, res_stats stats[], in android_net_res_stats_get_usable_servers()
Dresolv_cache_unit_test.cpp61 res_params params;
124 bool operator==(const res_params& a, const res_params& b) { in operator ==()
135 static constexpr res_params kParams = {
222 res_params params = {}; in expectCacheStats()
881 res_params params; in TEST_F()
Dres_send.cpp149 static int send_vc(res_state statp, res_params* params, const uint8_t* buf, int buflen,
152 static int send_dg(res_state statp, res_params* params, const uint8_t* buf, int buflen,
489 res_params params; in res_nsend()
637 static struct timespec get_timeout(res_state statp, const res_params* params, const int ns) { in get_timeout()
658 static int send_vc(res_state statp, res_params* params, const uint8_t* buf, int buflen, in send_vc()
1000 static int send_dg(res_state statp, res_params* params, const uint8_t* buf, int buflen, in send_dg()
Dparams.h27 struct res_params { struct
Dres_cache.cpp997 res_params params{};
1505 static void resolv_set_experiment_params(res_params* params) { in resolv_set_experiment_params()
1583 const std::vector<std::string>& domains, const res_params& params, in resolv_set_nameservers()
1729 res_params* params, struct res_stats stats[MAXNS], in android_net_res_stats_get_info_for_net()
1795 int resolv_cache_get_resolver_stats(unsigned netid, res_params* params, res_stats stats[MAXNS], in resolv_cache_get_resolver_stats()
DResolverController.h29 struct res_params;
Dresolv_callback_unit_test.cpp123 const res_params params = { in SetResolvers()
Dresolv_unit_test.cpp139 const res_params params = {
/packages/modules/DnsResolver/tests/
Dresolv_stress_test.cpp87 res_params res_params; in RunGetAddrInfoStressTest() local
92 &res_tls_servers, &res_params, &res_stats, &wait_for_pending_req_timeout_count)); in RunGetAddrInfoStressTest()
Dresolv_integration_test.cpp281 res_params res_params; in expectStatsFromGetResolverInfo() local
287 &res_params, &res_stats, in expectStatsFromGetResolverInfo()
610 res_params res_params; in TEST_F() local
615 &res_params, &res_stats, &wait_for_pending_req_timeout_count)); in TEST_F()
621 res_params.sample_validity); in TEST_F()
623 res_params.success_threshold); in TEST_F()
624 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_MIN_SAMPLES], res_params.min_samples); in TEST_F()
625 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_MAX_SAMPLES], res_params.max_samples); in TEST_F()
627 res_params.base_timeout_msec); in TEST_F()
799 res_params res_params; in TEST_F() local
[all …]
Dresolv_gold_test.cpp251 static constexpr res_params kParams = {
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.cpp96 std::vector<std::string>* tlsServers, res_params* params, in GetResolverInfo()
109 *params = res_params{ in GetResolverInfo()
Ddns_responder_client_ndk.h94 std::vector<std::string>* tlsServers, res_params* params,