Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DResolverController.cpp83 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 …]
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[],
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()
Dparams.h27 struct res_params { struct
DResolverController.h29 struct res_params;
Dres_send.cpp158 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()
Dresolv_cache.h126 unsigned netid, res_params* params, res_stats stats[MAXNS],
Dres_cache.cpp1051 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/
Dresolv_test_utils.h444 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;
Dresolv_cache_unit_test.cpp66 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()
Dresolv_callback_unit_test.cpp126 const res_params params = { in SetResolvers()
Dresolv_gold_test.cpp251 static constexpr res_params kParams = {
Dresolv_unit_test.cpp144 const res_params params = {
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.h56 res_params params;