Searched refs:max_samples (Results 1 – 11 of 11) sorted by relevance
/packages/modules/DnsResolver/tests/ |
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 ==() 138 .max_samples = 8, 209 const res_sample& sample, int max_samples) { in cacheAddStats() argument 210 resolv_cache_add_resolver_stats_sample(netId, revision_id, ipsa, sample, max_samples); in cacheAddStats() 753 cacheAddStats(TEST_NETID, 1 /*revision_id*/, IPSockAddr(sin), sample, setup.params.max_samples); in TEST_F() 873 setup.params.max_samples); in TEST_F() 875 setup.params.max_samples); in TEST_F() 877 setup.params.max_samples); in TEST_F() 900 setup.params.max_samples); in TEST_F()
|
D | resolv_callback_unit_test.cpp | 127 .max_samples = 8, in SetResolvers()
|
D | resolv_gold_test.cpp | 255 .max_samples = 8,
|
D | resolv_unit_test.cpp | 145 .max_samples = 8,
|
D | resolv_integration_test.cpp | 707 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_MAX_SAMPLES], res_params.max_samples); in TEST_F() 1510 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_MAX_SAMPLES], res_params.max_samples); in TEST_F()
|
/packages/modules/DnsResolver/ |
D | ResolverController.cpp | 223 res_params.max_samples = resolverParams.maxSamples; in setResolverConfiguration() 259 (*params)[IDnsResolver::RESOLVER_PARAMS_MAX_SAMPLES] = res_params.max_samples; in getResolverInfo() 339 params.max_samples, params.base_timeout_msec, params.retry_count); in dump()
|
D | res_cache.cpp | 1641 uint8_t old_max_samples = netconfig->params.max_samples; in resolv_set_nameservers() 1654 if (netconfig->params.max_samples != old_max_samples) { in resolv_set_nameservers() 1731 int max_samples) { in res_cache_add_stats_sample_locked() argument 1737 if (stats->sample_count < max_samples) { in res_cache_add_stats_sample_locked() 1740 if (++stats->sample_next >= max_samples) { in res_cache_add_stats_sample_locked() 1858 const res_sample& sample, int max_samples) { in resolv_cache_add_resolver_stats_sample() argument 1859 if (max_samples <= 0) return; in resolv_cache_add_resolver_stats_sample() 1868 res_cache_add_stats_sample_locked(&info->nsstats[ns], sample, max_samples); in resolv_cache_add_resolver_stats_sample()
|
D | params.h | 32 uint8_t max_samples; // max # samples taken into account for statistics member
|
D | resolv_cache.h | 127 const res_sample& sample, int max_samples);
|
D | res_send.cpp | 597 statp->netid, revision_id, serverSockAddr, sample, params.max_samples); in res_nsend()
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder_client_ndk.cpp | 114 .max_samples = in GetResolverInfo()
|