Searched refs:kDefaultParams (Results 1 – 4 of 4) sorted by relevance
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 592 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 …]
|
D | resolv_stress_test.cpp | 51 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers, domains, kDefaultParams)); in RunGetAddrInfoStressTest()
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder_client_ndk.h | 33 inline const std::vector<int> kDefaultParams = { variable 69 const std::vector<int>& params = kDefaultParams);
|
D | dns_responder_client_ndk.cpp | 167 return makeResolverParamsParcel(TEST_NETID, kDefaultParams, kDefaultServers, in GetDefaultResolverParamsParcel()
|