• Home
  • Raw
  • Download

Lines Matching refs:res_params

98                res_params* params, std::vector<android::net::ResolverStats>* stats,  in getDnsInfo()
120 *params = res_params{}; in getDnsInfo()
232 res_params res_params = {}; in setResolverConfiguration() local
233 res_params.sample_validity = resolverParams.sampleValiditySeconds; in setResolverConfiguration()
234 res_params.success_threshold = resolverParams.successThreshold; in setResolverConfiguration()
235 res_params.min_samples = resolverParams.minSamples; in setResolverConfiguration()
236 res_params.max_samples = resolverParams.maxSamples; in setResolverConfiguration()
237 res_params.base_timeout_msec = resolverParams.baseTimeoutMsec; in setResolverConfiguration()
238 res_params.retry_count = resolverParams.retryCount; in setResolverConfiguration()
244 server_ptrs.size(), domains_str.c_str(), &res_params); in setResolverConfiguration()
254 res_params res_params; in getResolverInfo() local
256 int ret = getDnsInfo(netId, servers, domains, &res_params, &res_stats, in getResolverInfo()
273 (*params)[IDnsResolver::RESOLVER_PARAMS_SAMPLE_VALIDITY] = res_params.sample_validity; in getResolverInfo()
274 (*params)[IDnsResolver::RESOLVER_PARAMS_SUCCESS_THRESHOLD] = res_params.success_threshold; in getResolverInfo()
275 (*params)[IDnsResolver::RESOLVER_PARAMS_MIN_SAMPLES] = res_params.min_samples; in getResolverInfo()
276 (*params)[IDnsResolver::RESOLVER_PARAMS_MAX_SAMPLES] = res_params.max_samples; in getResolverInfo()
277 (*params)[IDnsResolver::RESOLVER_PARAMS_BASE_TIMEOUT_MSEC] = res_params.base_timeout_msec; in getResolverInfo()
278 (*params)[IDnsResolver::RESOLVER_PARAMS_RETRY_COUNT] = res_params.retry_count; in getResolverInfo()
307 res_params params = {}; in dump()