Home
last modified time | relevance | path

Searched refs:network2 (Results 1 – 2 of 2) sorted by relevance

/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DCaptivePortalLoginActivityTest.java262 final Network network2 = new Network(TEST_NETID + 2); in configVpnNetwork() local
263 final Network[] networks = new Network[] {network1, network2}; in configVpnNetwork()
271 doReturn(vpnCapabilities).when(sConnectivityManager).getNetworkCapabilities(network2); in configVpnNetwork()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp5472 ScopedNetwork network2 = CreateScopedNetwork(ConnectivityType::V4V6); in TEST_F() local
5474 ASSERT_RESULT_OK(network2.init()); in TEST_F()
5477 const Result<DnsServerPair> dnsPair2 = network2.addIpv4Dns(); in TEST_F()
5492 parcel.netId = network2.netId(); in TEST_F()
5495 ASSERT_TRUE(network2.startTunForwarder()); in TEST_F()
5499 int fd2 = resNetworkQuery(network2.netId(), host_name, ns_c_in, ns_t_a, 0); in TEST_F()
5509 fd2 = resNetworkQuery(network2.netId(), host_name, ns_c_in, ns_t_a, 0); in TEST_F()