Home
last modified time | relevance | path

Searched refs:success_threshold (Results 1 – 11 of 11) sorted by relevance

/packages/modules/DnsResolver/
Dparams.h30 uint8_t success_threshold; // 0: disable, value / 100 otherwise member
DResolverController.cpp261 (*params)[IDnsResolver::RESOLVER_PARAMS_SUCCESS_THRESHOLD] = res_params.success_threshold; in getResolverInfo()
344 params.sample_validity, params.success_threshold, params.min_samples, in dump()
Dres_stats.cpp128 if (success_rate < params->success_threshold) { in res_stats_usable_server()
Dres_cache.cpp1678 netconfig->params.success_threshold = params.successThreshold; in resolv_set_nameservers()
/packages/modules/DnsResolver/tests/
Dresolv_callback_unit_test.cpp128 .success_threshold = 25, in SetResolvers()
Dresolv_cache_unit_test.cpp130 return std::tie(a.sample_validity, a.success_threshold, a.min_samples, a.max_samples, in operator ==()
132 std::tie(b.sample_validity, b.success_threshold, b.min_samples, b.max_samples, in operator ==()
142 .success_threshold = 25,
Dresolv_test_utils.h456 params.successThreshold = res_params.success_threshold;
Dresolv_gold_test.cpp253 .success_threshold = 25,
Dresolv_unit_test.cpp146 .success_threshold = 25,
Dresolv_integration_test.cpp703 EXPECT_EQ(resolverParams.successThreshold, resolvInfo.value().params.success_threshold); in TEST_F()
1751 EXPECT_EQ(0U, resolvInfo.value().params.success_threshold); in TEST_F()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.cpp103 .success_threshold = static_cast<uint8_t>( in getResolverInfo()