Lines Matching refs:mDnsClient

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()
494 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
541 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
560 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
609 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
672 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupMappings(1, domains, &mappings)); in TEST_F()
673 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupDNSServers(4, mappings, &dns, &servers)); in TEST_F()
682 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(resolverParams)); in TEST_F()
697 const auto resolvInfo = mDnsClient.getResolverInfo(); in TEST_F()
728 ASSERT_TRUE(mDnsClient.SetResolversForNetwork({listen_addr})); in TEST_F()
752 ASSERT_TRUE(mDnsClient.SetResolversForNetwork({listen_addr2})); in TEST_F()
772 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
785 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
804 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
822 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
875 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(ResolverParams::Builder() in TEST_F()
891 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(ResolverParams::Builder() in TEST_F()
902 const auto resolvInfo = mDnsClient.getResolverInfo(); in TEST_F()
910 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(ResolverParams::Builder() in TEST_F()
934 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
990 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
1047 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
1116 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
1136 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
1154 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
1177 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
1217 ASSERT_TRUE(mDnsClient.SetResolversForNetwork({"127.0.0.6"}, searchDomains)); in TEST_F()
1236 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
1268 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(ResolverParams::Builder() in TEST_F()
1326 mDnsClient.SetResolversFromParcel(ResolverParams::Builder() in TEST_F()
1380 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(serverSubset)); in TEST_F()
1395 const auto resolvInfo = mDnsClient.getResolverInfo(); in TEST_F()
1423 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(setupParams)); in TEST_F()
1445 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(cleanupParams)); in TEST_F()
1477 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(setupParams)); in TEST_F()
1501 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(cleanupParams)); in TEST_F()
1523 ASSERT_TRUE(mDnsClient.resolvService()->setResolverConfiguration(resolverParams).isOk()); in TEST_F()
1525 ASSERT_TRUE(mDnsClient.resolvService() in TEST_F()
1607 ASSERT_TRUE(mDnsClient.resolvService()->setResolverConfiguration(resolverParams).isOk()); in TEST_F()
1610 ASSERT_TRUE(mDnsClient.resolvService() in TEST_F()
1626 EXPECT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
1653 ASSERT_TRUE(mDnsClient.resolvService()->setResolverConfiguration(resolverParams).isOk()); in TEST_F()
1656 ASSERT_TRUE(mDnsClient.resolvService() in TEST_F()
1670 ASSERT_TRUE(mDnsClient.resolvService()->setResolverConfiguration(resolverParams).isOk()); in TEST_F()
1672 ASSERT_TRUE(mDnsClient.resolvService() in TEST_F()
1697 ASSERT_TRUE(mDnsClient.resolvService()->setResolverConfiguration(resolverParams).isOk()); in TEST_F()
1700 ASSERT_TRUE(mDnsClient.resolvService() in TEST_F()
1744 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(ResolverParamsParcel{.netId = TEST_NETID})); in TEST_F()
1745 const auto resolvInfo = mDnsClient.getResolverInfo(); in TEST_F()
1771 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers, domains)); in TEST_F()
1782 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers, domains)); in TEST_F()
1825 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers, testDomains1)); in TEST_F()
1836 auto resolvInfo = mDnsClient.getResolverInfo(); in TEST_F()
1845 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers, testDomains2)); in TEST_F()
1855 resolvInfo = mDnsClient.getResolverInfo(); in TEST_F()
1890 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupMappings(1, domains, &mappings)); in TEST_F()
1891 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupDNSServers(MAXNS + 1, mappings, &dns, &servers)); in TEST_F()
1900 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
1912 const auto resolvInfo = mDnsClient.getResolverInfo(); in TEST_F()
1946 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
1982 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
2008 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
2030 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(ResolverParams::Builder().build())); in TEST_F()
2064 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(ResolverParams::Builder().build())); in TEST_F()
2091 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
2112 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(ResolverParams::Builder().build())); in TEST_F()
2137 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
2171 ASSERT_TRUE(mDnsClient.SetResolversFromParcel( in TEST_F()
2203 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2216 ASSERT_TRUE(mDnsClient.SetResolversFromParcel( in TEST_F()
2229 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
2246 ASSERT_TRUE(mDnsClient.SetResolversFromParcel( in TEST_F()
2340 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2344 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(builder.build())); in TEST_F()
2409 ASSERT_TRUE(mDnsClient.SetResolversFromParcel( in TEST_F()
2505 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2553 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2596 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2661 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2726 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2862 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2911 ASSERT_TRUE(mDnsClient.SetResolversForNetwork({listen_addr0, listen_addr1})); in TEST_F()
2967 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3147 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
3152 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(ResolverParams::Builder().build())); in TEST_F()
3158 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(ResolverParams::Builder().build())); in TEST_F()
3169 ASSERT_TRUE(mDnsClient.SetResolversFromParcel( in TEST_F()
3218 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
3237 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(ResolverParams::Builder().build())); in TEST_F()
3266 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(ResolverParams::Builder().build())); in TEST_F()
3295 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3296 ASSERT_TRUE(mDnsClient.resolvService()->setPrefix64(TEST_NETID, kNat64Prefix).isOk()); in TEST_F()
3311 EXPECT_TRUE(mDnsClient.resolvService()->stopPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3329 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
3330 ASSERT_TRUE(mDnsClient.resolvService()->setPrefix64(TEST_NETID, kNat64Prefix).isOk()); in TEST_F()
3353 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3354 ASSERT_TRUE(mDnsClient.resolvService()->setPrefix64(TEST_NETID, kNat64Prefix).isOk()); in TEST_F()
3398 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3399 ASSERT_TRUE(mDnsClient.resolvService()->setPrefix64(TEST_NETID, kNat64Prefix).isOk()); in TEST_F()
3430 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3431 ASSERT_TRUE(mDnsClient.resolvService()->setPrefix64(TEST_NETID, kNat64Prefix).isOk()); in TEST_F()
3452 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3453 ASSERT_TRUE(mDnsClient.resolvService()->setPrefix64(TEST_NETID, kNat64Prefix).isOk()); in TEST_F()
3482 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3483 ASSERT_TRUE(mDnsClient.resolvService()->setPrefix64(TEST_NETID, kNat64Prefix).isOk()); in TEST_F()
3540 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3541 ASSERT_TRUE(mDnsClient.resolvService()->setPrefix64(TEST_NETID, kNat64Prefix).isOk()); in TEST_F()
3579 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3580 ASSERT_TRUE(mDnsClient.resolvService()->setPrefix64(TEST_NETID, kNat64Prefix).isOk()); in TEST_F()
3655 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3656 ASSERT_TRUE(mDnsClient.resolvService()->setPrefix64(TEST_NETID, kNat64Prefix).isOk()); in TEST_F()
3694 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3695 ASSERT_TRUE(mDnsClient.resolvService()->setPrefix64(TEST_NETID, kNat64Prefix).isOk()); in TEST_F()
3736 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3737 ASSERT_TRUE(mDnsClient.resolvService()->setPrefix64(TEST_NETID, kNat64Prefix).isOk()); in TEST_F()
3776 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
3805 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3806 ASSERT_TRUE(mDnsClient.resolvService()->setPrefix64(TEST_NETID, kNat64Prefix).isOk()); in TEST_F()
3881 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3882 ASSERT_TRUE(mDnsClient.resolvService()->setPrefix64(TEST_NETID, kNat64Prefix).isOk()); in TEST_F()
3950 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3951 ASSERT_TRUE(mDnsClient.resolvService()->setPrefix64(TEST_NETID, kNat64Prefix).isOk()); in TEST_F()
3988 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
4013 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
4014 ASSERT_TRUE(mDnsClient.resolvService()->setPrefix64(TEST_NETID, kNat64Prefix).isOk()); in TEST_F()
4035 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
4036 ASSERT_TRUE(mDnsClient.resolvService()->setPrefix64(TEST_NETID, kNat64Prefix).isOk()); in TEST_F()
4072 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
4073 ASSERT_TRUE(mDnsClient.resolvService()->setPrefix64(TEST_NETID, kNat64Prefix).isOk()); in TEST_F()
4126 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(builder.build())); in TEST_F()
4132 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
4143 EXPECT_TRUE(mDnsClient.resolvService()->stopPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
4147 EXPECT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
4164 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
4166 auto resolvService = mDnsClient.resolvService(); in TEST_F()
4394 expectDnsNetIdIsDefaultNetwork(mDnsClient.netdService()); in TEST_F()
4395 expectDnsNetIdWithVpn(mDnsClient.netdService(), TEST_VPN_NETID, TEST_VPN_NETID); in TEST_F()
4426 expectDnsNetIdWithVpn(mDnsClient.netdService(), TEST_VPN_NETID, TEST_NETID); in TEST_F()
4454 INetd* netdService = mDnsClient.netdService(); in TEST_F()
4462 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
4508 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
4521 INetd* netdService = mDnsClient.netdService(); in TEST_F()
4552 INetd* netdService = mDnsClient.netdService(); in TEST_F()
4562 ASSERT_TRUE(mDnsClient.resolvService()->setResolverConfiguration(parcel).isOk()); in TEST_F()
4594 ASSERT_TRUE(mDnsClient.resolvService()->setResolverConfiguration(parcel).isOk()); in TEST_F()
4596 ASSERT_TRUE(mDnsClient.resolvService() in TEST_F()
4633 ASSERT_TRUE(mDnsClient.resolvService() in TEST_F()
4683 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
4723 ASSERT_TRUE(mDnsClient.resolvService() in TEST_F()
4794 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
4884 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
4960 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
5066 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
5203 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
5214 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
5279 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
5306 SKIP_IF_REMOTE_VERSION_LESS_THAN(mDnsClient.resolvService(), 4); in TEST_F()
5309 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
5328 EXPECT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
5336 SKIP_IF_REMOTE_VERSION_LESS_THAN(mDnsClient.resolvService(), 4); in TEST_F()
5341 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
5348 EXPECT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
5362 SKIP_IF_REMOTE_VERSION_LESS_THAN(mDnsClient.resolvService(), 4); in TEST_F()
5374 ASSERT_TRUE(mDnsClient.SetResolversForNetwork({listen_addr1})); in TEST_F()
5388 ASSERT_TRUE(mDnsClient.SetResolversForNetwork({listen_addr2})); in TEST_F()
5400 EXPECT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
5418 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
5488 ASSERT_EQ(mDnsClient.resolvService()->setResolverConfiguration(parcel).isOk(), in TEST_F()
5491 ASSERT_TRUE(mDnsClient.resolvService()->setResolverConfiguration(parcel).isOk()); in TEST_F()
5494 ASSERT_EQ(mDnsClient.resolvService() in TEST_F()
5513 ASSERT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
5519 ASSERT_EQ(mDnsClient.resolvService()->setResolverConfiguration(parcel).isOk(), in TEST_F()
5522 ASSERT_TRUE(mDnsClient.resolvService()->setResolverConfiguration(parcel).isOk()); in TEST_F()
5532 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
5533 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
5534 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
5546 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
5638 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
5670 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
5709 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
5714 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
5807 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
5845 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(setupOffmode)); in TEST_F()
5857 ASSERT_TRUE(mDnsClient.resolvService()->setResolverConfiguration(parcel).isOk()); in TEST_F()
5861 auto status = mDnsClient.resolvService()->setResolverConfiguration(parcel); in TEST_F()
5972 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_P()
6098 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_P()
6110 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_P()
6162 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(builder.setParams(params).build())); in TEST_F()
6207 ASSERT_TRUE(mDnsClient.SetResolversFromParcel( in TEST_F()
6241 ASSERT_TRUE(mDnsClient.SetResolversFromParcel( in TEST_F()
6277 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
6281 ScopeBlockedUIDRule scopeBlockUidRule(mDnsClient.netdService(), TEST_UID); in TEST_F()
6342 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(setupParams)); in TEST_F()
6395 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel)); in TEST_F()
6460 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
6498 ASSERT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
6559 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(setupParams)); in TEST_F()
6591 ASSERT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
6620 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
6678 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
6710 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
6757 ASSERT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
6785 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(setupParams)); in TEST_F()
6829 ASSERT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
6841 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
6880 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
6908 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
6933 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
6970 ASSERT_TRUE(mDnsClient.SetResolversForNetwork()); in TEST_F()
7004 ASSERT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
7214 ASSERT_NE(mDnsClient.netdService(), nullptr); in SetUp()
7215 ASSERT_NE(mDnsClient.resolvService(), nullptr); in SetUp()
7222 mDnsClient.netdService()->networkSetDefault(mStoredDefaultNetwork); in TearDown()
7228 return {getFreeNetId(), type, mDnsClient.netdService(), mDnsClient.resolvService(), name}; in CreateScopedPhysicalNetwork()
7232 return {getFreeNetId(), type, mDnsClient.netdService(), mDnsClient.resolvService(), in CreateScopedVirtualNetwork()
7239 ASSERT_TRUE(mDnsClient.netdService()->networkGetDefault(&mStoredDefaultNetwork).isOk()); in setDefaultNetwork()
7241 ASSERT_TRUE(mDnsClient.netdService()->networkSetDefault(netId).isOk()); in setDefaultNetwork()
7255 EXPECT_TRUE(mDnsClient.resolvService()->flushNetworkCache(expectedDnsNetId).isOk()); in expectDnsQueryCountsFn()
7483 mDnsClient.netdService(), in TEST_F()
7484 mDnsClient.resolvService()); in TEST_F()
7517 SKIP_IF_REMOTE_VERSION_LESS_THAN(mDnsClient.resolvService(), 4); in TEST_F()
7550 EXPECT_TRUE(mDnsClient.resolvService()->flushNetworkCache(network1.netId()).isOk()); in TEST_F()
7562 SKIP_IF_REMOTE_VERSION_LESS_THAN(mDnsClient.resolvService(), 4); in TEST_F()
7681 SKIP_IF_REMOTE_VERSION_LESS_THAN(mDnsClient.netdService(), 6); in TEST_F()
7722 mDnsClient.netdService() in TEST_F()
7784 ASSERT_TRUE(mDnsClient.netdService() in TEST_F()
7803 EXPECT_TRUE(mDnsClient.resolvService()->flushNetworkCache(network.netId()).isOk()); in TEST_F()
7809 mDnsClient.netdService()->interfaceAddAddress(network.ifname(), v6Addr, 128).isOk()); in TEST_F()
7836 ASSERT_TRUE(mDnsClient.netdService() in TEST_F()
7888 ASSERT_TRUE(mDnsClient.SetResolversFromParcel(setupParams)); in TEST_F()
7890 const auto resolvInfo = mDnsClient.getResolverInfo(); in TEST_F()
7901 ScopedDefaultNetwork scopedDefaultNetwork(mDnsClient.netdService(), NETID_UNSET); in TEST_F()
7926 SKIP_IF_REMOTE_VERSION_LESS_THAN(mDnsClient.netdService(), 13); in TEST_F()
7991 mDnsClient.netdService() in TEST_F()
8022 EXPECT_TRUE(mDnsClient.netdService()->setNetworkAllowlist({}).isOk()); in TEST_F()