/packages/modules/DnsResolver/ |
D | ResolverController.cpp | 78 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 …]
|
D | stats.h | 52 res_params* params, res_stats stats[MAXNS], 56 int android_net_res_stats_get_usable_servers(const res_params* params, res_stats stats[],
|
D | resolv_cache.h | 81 const std::vector<std::string>& domains, const res_params& params, 119 unsigned netid, res_params* params, res_stats stats[MAXNS],
|
D | res_stats.cpp | 111 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()
|
D | res_send.cpp | 146 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()
|
D | params.h | 27 struct res_params { struct
|
D | ResolverController.h | 29 struct res_params;
|
D | res_cache.cpp | 1029 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/ |
D | resolv_stress_test.cpp | 87 res_params res_params; in RunGetAddrInfoStressTest() local 92 &res_tls_servers, &res_params, &res_stats, &wait_for_pending_req_timeout_count)); in RunGetAddrInfoStressTest()
|
D | resolv_integration_test.cpp | 340 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 …]
|
D | resolv_cache_unit_test.cpp | 60 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()
|
D | resolv_callback_unit_test.cpp | 123 const res_params params = { in SetResolvers()
|
D | resolv_gold_test.cpp | 251 static constexpr res_params kParams = {
|
D | resolv_unit_test.cpp | 141 const res_params params = {
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder_client_ndk.cpp | 94 std::vector<std::string>* tlsServers, res_params* params, in GetResolverInfo() 107 *params = res_params{ in GetResolverInfo()
|
D | dns_responder_client_ndk.h | 116 std::vector<std::string>* tlsServers, res_params* params,
|