Searched refs:min_samples (Results 1 – 9 of 9) sorted by relevance
/packages/modules/DnsResolver/ |
D | res_stats.cpp | 124 << ", 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()
|
D | ResolverController.cpp | 222 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()
|
D | params.h | 31 uint8_t min_samples; // min # samples needed for statistics to be considered meaningful member
|
/packages/modules/DnsResolver/tests/ |
D | resolv_callback_unit_test.cpp | 126 .min_samples = 8, in SetResolvers()
|
D | resolv_cache_unit_test.cpp | 124 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,
|
D | resolv_gold_test.cpp | 254 .min_samples = 8,
|
D | resolv_unit_test.cpp | 144 .min_samples = 8,
|
D | resolv_integration_test.cpp | 706 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/ |
D | dns_responder_client_ndk.cpp | 112 .min_samples = in GetResolverInfo()
|