Searched refs:TRANSPORT_VPN (Results 1 – 18 of 18) sorted by relevance
30 import android.net.NetworkCapabilities.TRANSPORT_VPN38 TRANSPORT_VPN -> TYPE_VPN in transportToLegacyType()
23 import static android.net.NetworkCapabilities.TRANSPORT_VPN;93 case TRANSPORT_VPN: in NetworkAgentWrapper()
40 import static android.net.NetworkCapabilities.TRANSPORT_VPN;691 nc.addTransportType(TRANSPORT_VPN); in testGetTransportTypes()698 assertEquals(TRANSPORT_VPN, transportTypes[2]); in testGetTransportTypes()852 assertFalse(nc.hasTransport(TRANSPORT_VPN)); in testMultipleTransportTypes()853 nc.addTransportType(TRANSPORT_VPN); in testMultipleTransportTypes()855 assertTrue(nc.hasTransport(TRANSPORT_VPN)); in testMultipleTransportTypes()858 assertTrue(nc.hasTransport(TRANSPORT_VPN)); in testMultipleTransportTypes()859 nc.removeTransportType(TRANSPORT_VPN); in testMultipleTransportTypes()861 assertFalse(nc.hasTransport(TRANSPORT_VPN)); in testMultipleTransportTypes()
165 setConnectivityViaCallback(NetworkCapabilities.TRANSPORT_VPN, false, true); in testVpnWithUnderlyingWifi()166 setConnectivityViaCallback(NetworkCapabilities.TRANSPORT_VPN, true, true); in testVpnWithUnderlyingWifi()
70 import static android.net.NetworkCapabilities.TRANSPORT_VPN;3203 vpnNetworkAgent = new TestNetworkAgentWrapper(TRANSPORT_VPN); in testRegisterDefaultNetworkCallback()5205 .addTransportType(TRANSPORT_VPN).build(); in testVpnNetworkActive()5224 vpnNetworkAgent = new TestNetworkAgentWrapper(TRANSPORT_VPN); in testVpnNetworkActive()5317 vpnNetworkAgent = new TestNetworkAgentWrapper(TRANSPORT_VPN); in testVpnWithoutInternet()5349 vpnNetworkAgent = new TestNetworkAgentWrapper(TRANSPORT_VPN); in testVpnWithInternet()5382 vpnNetworkAgent = new TestNetworkAgentWrapper(TRANSPORT_VPN); in testVpnUnvalidated()5428 .addTransportType(TRANSPORT_VPN) in testVpnStartsWithUnderlyingCaps()5439 final TestNetworkAgentWrapper vpnNetworkAgent = new TestNetworkAgentWrapper(TRANSPORT_VPN); in testVpnStartsWithUnderlyingCaps()5454 assertTrue(nc.hasTransport(TRANSPORT_VPN)); in testVpnStartsWithUnderlyingCaps()[all …]
21 import static android.net.NetworkCapabilities.TRANSPORT_VPN;93 return nai.isVPN() ? TRANSPORT_VPN : getFirstTransportType(nai); in approximateTransportType()
24 import static android.net.NetworkCapabilities.TRANSPORT_VPN;383 TRANSPORT_LINKLAYER_MAP[TRANSPORT_VPN] = IpConnectivityLogClass.UNKNOWN;
285 mNetworkCapabilities.addTransportType(NetworkCapabilities.TRANSPORT_VPN); in Vpn()351 int[] transportTypes = new int[] { NetworkCapabilities.TRANSPORT_VPN }; in applyUnderlyingCapabilities()
30 import static android.net.NetworkCapabilities.TRANSPORT_VPN;620 assertTrue(caps.hasTransport(TRANSPORT_VPN)); in testCapabilities()635 assertTrue(caps.hasTransport(TRANSPORT_VPN)); in testCapabilities()647 assertTrue(caps.hasTransport(TRANSPORT_VPN)); in testCapabilities()659 assertTrue(caps.hasTransport(TRANSPORT_VPN)); in testCapabilities()674 assertTrue(caps.hasTransport(TRANSPORT_VPN)); in testCapabilities()
23 import static android.net.NetworkCapabilities.TRANSPORT_VPN;94 static final int[] TEST_TRANSPORT_TYPES = {TRANSPORT_WIFI, TRANSPORT_VPN};
75 VPN_CAPABILITIES.addTransportType(NetworkCapabilities.TRANSPORT_VPN);
41 TRANSPORT_VPN = 4; enumerator
719 TRANSPORT_VPN,749 public static final int TRANSPORT_VPN = 4; field in NetworkCapabilities
513 if (parsedTransport == NetworkCapabilities.TRANSPORT_VPN in createNetworkCapabilities()
52 import static android.net.NetworkCapabilities.TRANSPORT_VPN;1703 if (nc.hasTransport(TRANSPORT_VPN)) { in maybeSanitizeLocationInfoForCaller()3375 if (!nai.networkCapabilities.hasTransport(TRANSPORT_VPN)) { in disconnectAndDestroyNetwork()6392 if (!newNc.hasTransport(TRANSPORT_VPN)) { in updateCapabilities()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
17135 field public static final int TRANSPORT_VPN = 4; // 0x4
30289 field public static final int TRANSPORT_VPN = 4; // 0x4