• Home
  • Raw
  • Download

Lines Matching refs:TEST_NETID

221                 TEST_NETID /*monitor specific network*/);  in SetUpTestSuite()
226 TEST_NETID /*monitor specific network*/); in SetUpTestSuite()
300 TEST_NETID, eventType, returnCode, in ExpectDnsEvent()
344 if (!DnsResponderClient::GetResolverInfo(mDnsClient.resolvService(), TEST_NETID, in expectStatsFromGetResolverInfo()
696 mDnsClient.resolvService(), TEST_NETID, &res_servers, &res_domains, &res_tls_servers, in TEST_F()
885 mDnsClient.resolvService(), TEST_NETID, &res_servers, &res_domains, in TEST_F()
1201 mDnsClient.resolvService(), TEST_NETID, &res_servers, &res_domains, &res_tls_servers, in TEST_F()
1432 EXPECT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
1499 mDnsClient.resolvService(), TEST_NETID, &res_servers, &res_domains, &res_tls_servers, in TEST_F()
1612 const auto& res_domains1 = getResolverDomains(mDnsClient.resolvService(), TEST_NETID); in TEST_F()
1629 const auto& res_domains2 = getResolverDomains(mDnsClient.resolvService(), TEST_NETID); in TEST_F()
1686 mDnsClient.resolvService(), TEST_NETID, &res_servers, &res_domains, &res_tls_servers, in TEST_F()
2057 const unsigned BYPASS_NETID = NETID_USE_LOCAL_NAMESERVERS | TEST_NETID; in TEST_F()
2295 int fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F()
2296 int fd2 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_aaaa, 0); in TEST_F()
2313 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F()
2314 fd2 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_aaaa, 0); in TEST_F()
2358 td.fd = resNetworkQuery(TEST_NETID, td.dname, ns_c_in, td.queryType, 0); in TEST_F()
2393 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_aaaa, 0); in TEST_F()
2400 int fd2 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F()
2403 int fd3 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F()
2420 int fd4 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F()
2466 {"resnsend " + std::to_string(TEST_NETID) + " 0 " + badMsg + '\0', -EILSEQ}, in TEST_F()
2483 std::string cmd = "resnsend " + std::to_string(TEST_NETID) + " 0 " + query + '\0'; in TEST_F()
2519 int fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, in TEST_F()
2522 int fd2 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, in TEST_F()
2525 int fd3 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, in TEST_F()
2538 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F()
2549 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, in TEST_F()
2558 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, in TEST_F()
2560 fd2 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, in TEST_F()
2573 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F()
2583 fd1 = resNetworkQuery(TEST_NETID, "howdy.example2.com", ns_c_in, ns_t_aaaa, in TEST_F()
2585 fd2 = resNetworkQuery(TEST_NETID, "howdy.example2.com", ns_c_in, ns_t_aaaa, in TEST_F()
2598 fd1 = resNetworkQuery(TEST_NETID, "howdy.example2.com", ns_c_in, ns_t_aaaa, 0); in TEST_F()
2599 fd2 = resNetworkQuery(TEST_NETID, "howdy.example2.com", ns_c_in, ns_t_aaaa, 0); in TEST_F()
2614 fd1 = resNetworkQuery(TEST_NETID, "howdy.example3.com", ns_c_in, ns_t_aaaa, 0); in TEST_F()
2621 fd1 = resNetworkQuery(TEST_NETID, "howdy.example3.com", ns_c_in, ns_t_aaaa, testFlag); in TEST_F()
2628 fd1 = resNetworkQuery(TEST_NETID, "howdy.example3.com", ns_c_in, ns_t_a, testFlag); in TEST_F()
2635 fd1 = resNetworkQuery(TEST_NETID, "howdy.example3.com", ns_c_in, ns_t_a, 0); in TEST_F()
2660 int fd = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F()
2673 fd = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, in TEST_F()
2682 fd = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F()
2709 int fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, in TEST_F()
2713 int fd2 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_aaaa, in TEST_F()
2729 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F()
2732 fd2 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_aaaa, 0); in TEST_F()
2774 int fd = resNetworkSend(TEST_NETID, queryBuf1, sizeof(queryBuf1), 0); in TEST_F()
2805 fd = resNetworkSend(TEST_NETID, queryBuf2, sizeof(queryBuf2), 0); in TEST_F()
3097 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3113 EXPECT_TRUE(mDnsClient.resolvService()->stopPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3143 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3180 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3211 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3246 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3311 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3352 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3434 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3478 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3524 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3598 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3679 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3752 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3820 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3847 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3888 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3945 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3965 EXPECT_TRUE(mDnsClient.resolvService()->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
3995 EXPECT_TRUE(resolvService->setPrefix64(TEST_NETID, kNat64Prefix2).isOk()); in TEST_F()
4001 EXPECT_TRUE(resolvService->setPrefix64(TEST_NETID, kNat64Prefix1).isOk()); in TEST_F()
4007 auto status = resolvService->setPrefix64(TEST_NETID, "64:ff9b::/64"); in TEST_F()
4013 status = resolvService->setPrefix64(TEST_NETID, "192.0.2.0/24"); in TEST_F()
4018 status = resolvService->setPrefix64(TEST_NETID, "192.0.2.1"); in TEST_F()
4023 status = resolvService->setPrefix64(TEST_NETID, "hello"); in TEST_F()
4034 EXPECT_TRUE(resolvService->setPrefix64(TEST_NETID, "").isOk()); in TEST_F()
4039 EXPECT_TRUE(resolvService->setPrefix64(TEST_NETID, kNat64Prefix1).isOk()); in TEST_F()
4044 EXPECT_TRUE(resolvService->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
4049 status = resolvService->setPrefix64(TEST_NETID, kNat64Prefix1); in TEST_F()
4055 status = resolvService->setPrefix64(TEST_NETID, ""); in TEST_F()
4061 EXPECT_TRUE(resolvService->stopPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
4062 EXPECT_TRUE(resolvService->setPrefix64(TEST_NETID, kNat64Prefix1).isOk()); in TEST_F()
4068 EXPECT_TRUE(resolvService->stopPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
4081 EXPECT_TRUE(resolvService->startPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
4089 status = resolvService->setPrefix64(TEST_NETID, kNat64Prefix2); in TEST_F()
4095 status = resolvService->setPrefix64(TEST_NETID, ""); in TEST_F()
4104 EXPECT_TRUE(resolvService->stopPrefix64Discovery(TEST_NETID).isOk()); in TEST_F()
4220 ScopedSetNetworkForProcess scopedSetNetworkForProcess(TEST_NETID); in TEST_F()
4221 expectDnsNetIdEquals(TEST_NETID); in TEST_F()
4226 ScopedSetNetworkForProcess scopedSetNetworkForProcess(TEST_NETID | in TEST_F()
4228 expectNetIdWithLocalNameserversFlag(TEST_NETID); in TEST_F()
4233 ScopedSetNetworkForResolv scopedSetNetworkForResolv(TEST_NETID); in TEST_F()
4234 expectDnsNetIdEquals(TEST_NETID); in TEST_F()
4239 ScopedSetNetworkForResolv scopedSetNetworkForResolv(TEST_NETID | in TEST_F()
4241 expectNetIdWithLocalNameserversFlag(TEST_NETID); in TEST_F()
4246 ScopedSetNetworkForResolv scopedSetNetworkForResolv(TEST_NETID); in TEST_F()
4247 expectDnsNetIdWithVpn(mDnsClient.netdService(), TEST_VPN_NETID, TEST_NETID); in TEST_F()
4289 int fd1 = resNetworkQuery(TEST_NETID, host_name, ns_c_in, ns_t_a, 0); in TEST_F()
4290 int fd2 = resNetworkQuery(TEST_NETID, host_name, ns_c_in, ns_t_aaaa, 0); in TEST_F()
4391 const int fd1 = resNetworkQuery(TEST_NETID, host_name, ns_c_in, ns_t_a, 0); in TEST_F()
4392 const int fd2 = resNetworkQuery(TEST_NETID, host_name, ns_c_in, ns_t_aaaa, 0); in TEST_F()
4425 int fd1 = resNetworkQuery(TEST_NETID, host_name, ns_c_in, ns_t_a, 0); in TEST_F()
4426 int fd2 = resNetworkQuery(TEST_NETID, host_name, ns_c_in, ns_t_aaaa, 0); in TEST_F()
4608 int fd = resNetworkQuery(TEST_NETID, hostname, ns_c_in, ns_t_a, cacheFlag); in TEST_F()
4625 int fd = resNetworkQuery(TEST_NETID, hostname, ns_c_in, ns_t_a, cacheFlag); in TEST_F()
4680 int fd = resNetworkQuery(TEST_NETID, hostname1, ns_c_in, ns_t_a, cacheFlag); in TEST_F()
4698 fd = resNetworkQuery(TEST_NETID, hostname2, ns_c_in, ns_t_a, cacheFlag); in TEST_F()
4812 int fd = resNetworkQuery(TEST_NETID, hostname, ns_c_in, ns_t_a, cacheFlag); in TEST_F()
4840 int fd = resNetworkQuery(TEST_NETID, hostname, ns_c_in, ns_t_a, cacheFlag); in TEST_F()
4952 EXPECT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
4971 EXPECT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
5023 EXPECT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
5065 "resnsend " + std::to_string(TEST_NETID) + " 0 " /* ResNsendFlags */ + query + '\0'; in TEST_F()
5136 ASSERT_TRUE(mDnsClient.resolvService()->flushNetworkCache(TEST_NETID).isOk()); in TEST_F()
5938 int fd = resNetworkQuery(TEST_NETID, kHelloExampleCom, ns_c_in, ns_t_a, in TEST_F()