Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
Dres_stats.cpp124 << ", rtt = " << rtt_avg << ", min_samples = " << unsigned(params->min_samples); in res_stats_usable_server()
125 if (total >= params->min_samples) { in res_stats_usable_server()
DResolverController.cpp222 res_params.min_samples = resolverParams.minSamples; in setResolverConfiguration()
258 (*params)[IDnsResolver::RESOLVER_PARAMS_MIN_SAMPLES] = res_params.min_samples; in getResolverInfo()
338 params.sample_validity, params.success_threshold, params.min_samples, in dump()
Dparams.h31 uint8_t min_samples; // min # samples needed for statistics to be considered meaningful member
/packages/modules/DnsResolver/tests/
Dresolv_callback_unit_test.cpp126 .min_samples = 8, in SetResolvers()
Dresolv_cache_unit_test.cpp124 return std::tie(a.sample_validity, a.success_threshold, a.min_samples, a.max_samples, in operator ==()
126 std::tie(b.sample_validity, b.success_threshold, b.min_samples, b.max_samples, in operator ==()
137 .min_samples = 8,
Dresolv_gold_test.cpp254 .min_samples = 8,
Dresolv_unit_test.cpp144 .min_samples = 8,
Dresolv_integration_test.cpp706 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_MIN_SAMPLES], res_params.min_samples); in TEST_F()
1509 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_MIN_SAMPLES], res_params.min_samples); in TEST_F()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.cpp112 .min_samples = in GetResolverInfo()