/packages/modules/DnsResolver/ |
D | ResolverController.cpp | 96 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 …]
|
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 | 84 const std::vector<std::string>& domains, const res_params& params, 123 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 | resolv_cache_unit_test.cpp | 61 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()
|
D | res_send.cpp | 149 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()
|
D | params.h | 27 struct res_params { struct
|
D | res_cache.cpp | 997 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()
|
D | ResolverController.h | 29 struct res_params;
|
D | resolv_callback_unit_test.cpp | 123 const res_params params = { in SetResolvers()
|
D | resolv_unit_test.cpp | 139 const res_params params = {
|
/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 | 281 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 …]
|
D | resolv_gold_test.cpp | 251 static constexpr res_params kParams = {
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder_client_ndk.cpp | 96 std::vector<std::string>* tlsServers, res_params* params, in GetResolverInfo() 109 *params = res_params{ in GetResolverInfo()
|
D | dns_responder_client_ndk.h | 94 std::vector<std::string>* tlsServers, res_params* params,
|