Lines Matching refs:resolvService
178 auto resolvService = aidl::android::net::IDnsResolver::fromBinder(resolvBinder); in SetUpTestSuite() local
179 ASSERT_NE(nullptr, resolvService.get()); in SetUpTestSuite()
196 ASSERT_TRUE(resolvService->registerEventListener(sDnsMetricsListener).isOk()); in SetUpTestSuite()
233 EXPECT_EQ(mDnsClient.resolvService()->dump(fd, nullptr, 0), 0); in DumpResolverService()
236 EXPECT_EQ(mDnsClient.resolvService()->dump(fd, querylogCmd, std::size(querylogCmd)), 0); in DumpResolverService()
285 if (!DnsResponderClient::GetResolverInfo(mDnsClient.resolvService(), TEST_NETID, in expectStatsFromGetResolverInfo()
614 mDnsClient.resolvService(), TEST_NETID, &res_servers, &res_domains, &res_tls_servers, in TEST_F()
803 mDnsClient.resolvService(), TEST_NETID, &res_servers, &res_domains, in TEST_F()
1074 mDnsClient.resolvService(), TEST_NETID, &res_servers, &res_domains, &res_tls_servers, in TEST_F()
1193 ASSERT_TRUE(mDnsClient.resolvService()->setResolverConfiguration(resolverParams).isOk()); in TEST_F()
1268 ASSERT_TRUE(mDnsClient.resolvService()->setResolverConfiguration(resolverParams).isOk()); in TEST_F()
1281 EXPECT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
1304 ASSERT_TRUE(mDnsClient.resolvService()->setResolverConfiguration(resolverParams).isOk()); in TEST_F()
1312 ASSERT_TRUE(mDnsClient.resolvService()->setResolverConfiguration(resolverParams).isOk()); in TEST_F()
1330 mDnsClient.resolvService(), TEST_NETID, &res_servers, &res_domains, &res_tls_servers, in TEST_F()
1443 const auto& res_domains1 = getResolverDomains(mDnsClient.resolvService(), TEST_NETID); in TEST_F()
1460 const auto& res_domains2 = getResolverDomains(mDnsClient.resolvService(), TEST_NETID); in TEST_F()
1517 mDnsClient.resolvService(), TEST_NETID, &res_servers, &res_domains, &res_tls_servers, in TEST_F()
2933 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
2949 EXPECT_TRUE(mDnsClient.resolvService()->stopPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
2979 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3016 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3047 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3082 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3147 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3188 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3270 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3314 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3360 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3434 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3515 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3588 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3656 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3683 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3724 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3781 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3801 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3823 auto resolvService = mDnsClient.resolvService(); in TEST_F() local
3831 EXPECT_TRUE(resolvService->setPrefix64(TEST_NETID, kNat64Prefix2).isOk()); in TEST_F()
3837 EXPECT_TRUE(resolvService->setPrefix64(TEST_NETID, kNat64Prefix1).isOk()); in TEST_F()
3843 auto status = resolvService->setPrefix64(TEST_NETID, "64:ff9b::/64"); in TEST_F()
3849 status = resolvService->setPrefix64(TEST_NETID, "192.0.2.0/24"); in TEST_F()
3854 status = resolvService->setPrefix64(TEST_NETID, "192.0.2.1"); in TEST_F()
3859 status = resolvService->setPrefix64(TEST_NETID, "hello"); in TEST_F()
3870 EXPECT_TRUE(resolvService->setPrefix64(TEST_NETID, "").isOk()); in TEST_F()
3875 EXPECT_TRUE(resolvService->setPrefix64(TEST_NETID, kNat64Prefix1).isOk()); in TEST_F()
3880 EXPECT_TRUE(resolvService->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3885 status = resolvService->setPrefix64(TEST_NETID, kNat64Prefix1); in TEST_F()
3891 status = resolvService->setPrefix64(TEST_NETID, ""); in TEST_F()
3897 EXPECT_TRUE(resolvService->stopPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3898 EXPECT_TRUE(resolvService->setPrefix64(TEST_NETID, kNat64Prefix1).isOk()); in TEST_F()
3904 EXPECT_TRUE(resolvService->stopPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3917 EXPECT_TRUE(resolvService->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3925 status = resolvService->setPrefix64(TEST_NETID, kNat64Prefix2); in TEST_F()
3931 status = resolvService->setPrefix64(TEST_NETID, ""); in TEST_F()
3940 EXPECT_TRUE(resolvService->stopPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
4155 ASSERT_TRUE(mDnsClient.resolvService()->setResolverConfiguration(parcel).isOk()); in TEST_F()
4176 ASSERT_TRUE(mDnsClient.resolvService()->setResolverConfiguration(parcel).isOk()); in TEST_F()
4261 SKIP_IF_REMOTE_VERSION_LESS_THAN(mDnsClient.resolvService(), 4); in TEST_F()
4273 EXPECT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
4280 SKIP_IF_REMOTE_VERSION_LESS_THAN(mDnsClient.resolvService(), 4); in TEST_F()
4292 EXPECT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
4306 SKIP_IF_REMOTE_VERSION_LESS_THAN(mDnsClient.resolvService(), 4); in TEST_F()
4344 EXPECT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
4431 ASSERT_EQ(mDnsClient.resolvService()->setResolverConfiguration(parcel).isOk(), config.ret); in TEST_F()
4446 ASSERT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
4451 ASSERT_EQ(mDnsClient.resolvService()->setResolverConfiguration(parcel).isOk(), config.ret); in TEST_F()
4762 ASSERT_TRUE(mDnsClient.resolvService()->setResolverConfiguration(parcel).isOk()); in TEST_F()
4766 auto status = mDnsClient.resolvService()->setResolverConfiguration(parcel); in TEST_F()
5259 ASSERT_NE(mDnsClient.resolvService(), nullptr); in SetUp()
5278 return {getFreeNetId(), type, mDnsClient.netdService(), mDnsClient.resolvService()}; in CreateScopedNetwork()
5431 mDnsClient.netdService(), mDnsClient.resolvService()); in TEST_F()
5468 SKIP_IF_REMOTE_VERSION_LESS_THAN(mDnsClient.resolvService(), 4); in TEST_F()
5507 EXPECT_TRUE(mDnsClient.resolvService()->flushNetworkCache(network1.netId()).isOk()); in TEST_F()