Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DResolverController.cpp78 res_params* params, std::vector<android::net::ResolverStats>* stats, in getDnsInfo()
100 *params = res_params{}; in getDnsInfo()
219 res_params res_params = {}; in setResolverConfiguration() local
220 res_params.sample_validity = resolverParams.sampleValiditySeconds; in setResolverConfiguration()
221 res_params.success_threshold = resolverParams.successThreshold; in setResolverConfiguration()
222 res_params.min_samples = resolverParams.minSamples; in setResolverConfiguration()
223 res_params.max_samples = resolverParams.maxSamples; in setResolverConfiguration()
224 res_params.base_timeout_msec = resolverParams.baseTimeoutMsec; in setResolverConfiguration()
225 res_params.retry_count = resolverParams.retryCount; in setResolverConfiguration()
228 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.h81 const std::vector<std::string>& domains, const res_params& params,
119 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()
Dres_send.cpp146 static int send_vc(res_state statp, res_params* params, const uint8_t* buf, int buflen,
149 static int send_dg(res_state statp, res_params* params, const uint8_t* buf, int buflen,
486 res_params params; in res_nsend()
634 static struct timespec get_timeout(res_state statp, const res_params* params, const int ns) { in get_timeout()
655 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
DResolverController.h29 struct res_params;
Dres_cache.cpp1029 res_params params{};
1541 static void resolv_set_experiment_params(res_params* params) { in resolv_set_experiment_params()
1619 const std::vector<std::string>& domains, const res_params& params, in resolv_set_nameservers()
1761 res_params* params, struct res_stats stats[MAXNS], in android_net_res_stats_get_info_for_net()
1827 int resolv_cache_get_resolver_stats(unsigned netid, res_params* params, res_stats stats[MAXNS], in resolv_cache_get_resolver_stats()
/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.cpp340 res_params res_params; in expectStatsFromGetResolverInfo() local
346 &res_params, &res_stats, in expectStatsFromGetResolverInfo()
692 res_params res_params; in TEST_F() local
697 &res_params, &res_stats, &wait_for_pending_req_timeout_count)); in TEST_F()
703 res_params.sample_validity); in TEST_F()
705 res_params.success_threshold); in TEST_F()
706 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_MIN_SAMPLES], res_params.min_samples); in TEST_F()
707 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_MAX_SAMPLES], res_params.max_samples); in TEST_F()
709 res_params.base_timeout_msec); in TEST_F()
881 res_params res_params; in TEST_F() local
[all …]
Dresolv_cache_unit_test.cpp60 res_params params;
123 bool operator==(const res_params& a, const res_params& b) { in operator ==()
134 static constexpr res_params kParams = {
221 res_params params = {}; in expectCacheStats()
880 res_params params; in TEST_F()
Dresolv_callback_unit_test.cpp123 const res_params params = { in SetResolvers()
Dresolv_gold_test.cpp251 static constexpr res_params kParams = {
Dresolv_unit_test.cpp141 const res_params params = {
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.cpp94 std::vector<std::string>* tlsServers, res_params* params, in GetResolverInfo()
107 *params = res_params{ in GetResolverInfo()
Ddns_responder_client_ndk.h116 std::vector<std::string>* tlsServers, res_params* params,