Home
last modified time | relevance | path

Searched refs:min_samples (Results 1 – 6 of 6) sorted by relevance

/system/netd/resolv/include/netd_resolv/
Dparams.h32 uint8_t min_samples; // min # samples needed for statistics to be considered meaningful member
/system/netd/resolv/
Dres_stats.cpp125 << ", rtt = " << rtt_avg << ", min_samples = " << unsigned(params->min_samples); in res_stats_usable_server()
126 if (total >= params->min_samples && (errors > 0 || timeouts > 0)) { in res_stats_usable_server()
DResolverController.cpp235 res_params.min_samples = resolverParams.minSamples; in setResolverConfiguration()
275 (*params)[IDnsResolver::RESOLVER_PARAMS_MIN_SAMPLES] = res_params.min_samples; in getResolverInfo()
353 params.sample_validity, params.success_threshold, params.min_samples, in dump()
Dlibnetd_resolv_test.cpp91 .min_samples = 8,
Dresolver_test.cpp131 .min_samples = in GetResolverInfo()
557 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_MIN_SAMPLES], res_params.min_samples); in TEST_F()
1014 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_MIN_SAMPLES], res_params.min_samples); in TEST_F()
Dres_cache.cpp1700 params->min_samples = 0; in resolv_set_default_params()