Searched refs:res_params (Results 1 – 14 of 14) sorted by relevance
/packages/modules/DnsResolver/ |
D | ResolverController.cpp | 83 res_params* params, std::vector<android::net::ResolverStats>* stats, in getDnsInfo() 104 *params = res_params{}; in getDnsInfo() 243 res_params res_params; in getResolverInfo() local 245 int ret = getDnsInfo(netId, servers, domains, &res_params, &res_stats, interfaceNames, in getResolverInfo() 260 (*params)[IDnsResolver::RESOLVER_PARAMS_SAMPLE_VALIDITY] = res_params.sample_validity; in getResolverInfo() 261 (*params)[IDnsResolver::RESOLVER_PARAMS_SUCCESS_THRESHOLD] = res_params.success_threshold; in getResolverInfo() 262 (*params)[IDnsResolver::RESOLVER_PARAMS_MIN_SAMPLES] = res_params.min_samples; in getResolverInfo() 263 (*params)[IDnsResolver::RESOLVER_PARAMS_MAX_SAMPLES] = res_params.max_samples; in getResolverInfo() 264 (*params)[IDnsResolver::RESOLVER_PARAMS_BASE_TIMEOUT_MSEC] = res_params.base_timeout_msec; in getResolverInfo() 265 (*params)[IDnsResolver::RESOLVER_PARAMS_RETRY_COUNT] = res_params.retry_count; in getResolverInfo() [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 | 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 | params.h | 27 struct res_params { struct
|
D | ResolverController.h | 29 struct res_params;
|
D | res_send.cpp | 158 static int send_dg(ResState* statp, res_params* params, span<const uint8_t> msg, span<uint8_t> ans, 160 static int send_vc(ResState* statp, res_params* params, span<const uint8_t> msg, span<uint8_t> ans, 540 res_params params; in res_nsend() 687 static struct timespec get_timeout(ResState* statp, const res_params* params, const int addrIndex) { in get_timeout() 708 static int send_vc(ResState* statp, res_params* params, span<const uint8_t> msg, span<uint8_t> ans, in send_vc() 1085 static int send_dg(ResState* statp, res_params* params, span<const uint8_t> msg, span<uint8_t> ans, in send_dg()
|
D | resolv_cache.h | 126 unsigned netid, res_params* params, res_stats stats[MAXNS],
|
D | res_cache.cpp | 1051 res_params params{}; 1817 res_params* params, struct res_stats stats[MAXNS], in android_net_res_stats_get_info_for_net() 1886 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_test_utils.h | 444 const std::vector<std::string>& domains, const res_params& res_params, 455 params.sampleValiditySeconds = res_params.sample_validity; 456 params.successThreshold = res_params.success_threshold; 457 params.minSamples = res_params.min_samples; 458 params.maxSamples = res_params.max_samples; 459 params.baseTimeoutMsec = res_params.base_timeout_msec; 460 params.retryCount = res_params.retry_count;
|
D | resolv_cache_unit_test.cpp | 66 res_params params; 129 bool operator==(const res_params& a, const res_params& b) { in operator ==() 140 static constexpr res_params kParams = { 226 res_params params = {}; in expectCacheStats() 903 res_params params; in TEST_F()
|
D | resolv_callback_unit_test.cpp | 126 const res_params params = { in SetResolvers()
|
D | resolv_gold_test.cpp | 251 static constexpr res_params kParams = {
|
D | resolv_unit_test.cpp | 144 const res_params params = {
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder_client_ndk.h | 56 res_params params;
|