Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp1088 ResolverParamsParcel setupParams = DnsResponderClient::GetDefaultResolverParamsParcel(); in TEST_F() local
1089 setupParams.servers = {listen_addr1, listen_addr2, listen_addr3}; in TEST_F()
1090 setupParams.minSamples = 2; // Recognize bad servers in two attempts when sorting not enabled. in TEST_F()
1100 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(setupParams)); in TEST_F()
1113 NameserverStats(listen_addr3).setSuccesses(setupParams.maxSamples), in TEST_F()
1133 ResolverParamsParcel setupParams = DnsResponderClient::GetDefaultResolverParamsParcel(); in TEST_F() local
1134 setupParams.servers = {listen_addr1, listen_addr2}; in TEST_F()
1135 setupParams.minSamples = 2; // Recognize bad servers in two attempts when sorting not enabled. in TEST_F()
1152 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(setupParams)); in TEST_F()
1165 NameserverStats(listen_addr2).setSuccesses(setupParams.maxSamples), in TEST_F()