Lines Matching refs:TEST_NETID
62 resolv_create_cache_for_net(TEST_NETID); in SetUp()
66 resolv_delete_cache_for_net(TEST_NETID); in TearDown()
129 return resolv_set_nameservers(TEST_NETID, servers, domains, params, std::nullopt); in SetResolvers()
133 .app_netid = TEST_NETID,
135 .dns_netid = TEST_NETID,
1505 EXPECT_EQ(0, resolv_set_nameservers(TEST_NETID, servers, domains, params, resolverOptions, in TEST_F()
1507 EXPECT_THAT(getCustomizedTableByName(TEST_NETID, hostnameV4V6), in TEST_F()
1511 ASSERT_TRUE(getCustomizedTableByName(TEST_NETID, "not.in.cust.table").empty()); in TEST_F()
1514 ASSERT_TRUE(getCustomizedTableByName(TEST_NETID + 1, hostnameV4V6).empty()); in TEST_F()
1515 resolv_create_cache_for_net(TEST_NETID + 1); in TEST_F()
1516 EXPECT_EQ(0, resolv_set_nameservers(TEST_NETID + 1, servers, domains, params, resolverOptions, in TEST_F()
1518 EXPECT_THAT(getCustomizedTableByName(TEST_NETID + 1, hostnameV4V6), in TEST_F()
1527 EXPECT_EQ(0, resolv_set_nameservers(TEST_NETID, servers, domains, params, resolverOptions, in TEST_F()
1529 EXPECT_EQ(android::net::NT_WIFI_VPN, resolv_get_network_types_for_net(TEST_NETID)); in TEST_F()