Home
last modified time | relevance | path

Searched refs:kDefaultParams (Results 1 – 4 of 4) sorted by relevance

/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp592 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers, domains, kDefaultParams)); in TEST_F()
619 ASSERT_EQ(static_cast<size_t>(IDnsResolver::RESOLVER_PARAMS_COUNT), kDefaultParams.size()); in TEST_F()
620 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_SAMPLE_VALIDITY], in TEST_F()
622 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_SUCCESS_THRESHOLD], in TEST_F()
624 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_MIN_SAMPLES], res_params.min_samples); in TEST_F()
625 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_MAX_SAMPLES], res_params.max_samples); in TEST_F()
626 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_BASE_TIMEOUT_MSEC], in TEST_F()
1335 ASSERT_EQ(static_cast<size_t>(IDnsResolver::RESOLVER_PARAMS_COUNT), kDefaultParams.size()); in TEST_F()
1336 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_SAMPLE_VALIDITY], in TEST_F()
1338 EXPECT_EQ(kDefaultParams[IDnsResolver::RESOLVER_PARAMS_SUCCESS_THRESHOLD], in TEST_F()
[all …]
Dresolv_stress_test.cpp51 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers, domains, kDefaultParams)); in RunGetAddrInfoStressTest()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.h33 inline const std::vector<int> kDefaultParams = { variable
69 const std::vector<int>& params = kDefaultParams);
Ddns_responder_client_ndk.cpp167 return makeResolverParamsParcel(TEST_NETID, kDefaultParams, kDefaultServers, in GetDefaultResolverParamsParcel()