Searched refs:mDnsClient (Results 1 – 3 of 3) sorted by relevance
/packages/modules/DnsResolver/tests/ |
D | resolv_private_dns_test.cpp | 159 mDnsClient.SetUp(); in SetUp() 165 mDnsClient.TearDown(); in TearDown() 169 EXPECT_EQ(mDnsClient.TearDownOemNetwork(TEST_NETID), 0); in resetNetwork() 170 EXPECT_EQ(mDnsClient.SetupOemNetwork(TEST_NETID), 0); in resetNetwork() 173 void flushCache() { mDnsClient.resolvService()->flushNetworkCache(TEST_NETID); } in flushCache() 242 DnsResponderClient mDnsClient; member in BaseTest 320 EXPECT_EQ(mDnsClient.resolvService()->dump(fd, nullptr, 0), 0); in DumpResolverService() 323 EXPECT_EQ(mDnsClient.resolvService()->dump(fd, querylogCmd, std::size(querylogCmd)), 0); in DumpResolverService() 417 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_P() 485 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_P() [all …]
|
D | resolv_integration_test.cpp | 235 mDnsClient.SetUp(); in SetUp() 240 DnsResponderClient::isRemoteVersionSupported(mDnsClient.resolvService(), 9); in SetUp() 247 mDnsClient.TearDown(); in TearDown() 251 EXPECT_EQ(mDnsClient.TearDownOemNetwork(TEST_NETID), 0); in resetNetwork() 252 EXPECT_EQ(mDnsClient.SetupOemNetwork(TEST_NETID), 0); in resetNetwork() 266 EXPECT_EQ(mDnsClient.resolvService()->dump(fd, nullptr, 0), 0); in DumpResolverService() 269 EXPECT_EQ(mDnsClient.resolvService()->dump(fd, querylogCmd, std::size(querylogCmd)), 0); in DumpResolverService() 338 const auto resolvInfo = mDnsClient.getResolverInfo(); in expectStatsFromGetResolverInfo() 411 DnsResponderClient mDnsClient; member in ResolverTest 447 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F() [all …]
|
D | resolv_stress_test.cpp | 33 ResolverStressTest() { mDnsClient.SetUp(); } in ResolverStressTest() 34 ~ResolverStressTest() { mDnsClient.TearDown(); } in ~ResolverStressTest() 42 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupMappings(num_hosts, domains, &mappings)); in RunGetAddrInfoStressTest() 43 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupDNSServers(MAXNS, mappings, &dns, &servers)); in RunGetAddrInfoStressTest() 45 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in RunGetAddrInfoStressTest() 78 const auto resolvInfo = mDnsClient.getResolverInfo(); in RunGetAddrInfoStressTest() 83 DnsResponderClient mDnsClient; member in ResolverStressTest
|