Home
last modified time | relevance | path

Searched refs:TRANSPORT_VPN (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/tests/net/integration/util/com/android/server/
DConnectivityServiceTestUtils.kt30 import android.net.NetworkCapabilities.TRANSPORT_VPN
38 TRANSPORT_VPN -> TYPE_VPN in transportToLegacyType()
DNetworkAgentWrapper.java23 import static android.net.NetworkCapabilities.TRANSPORT_VPN;
93 case TRANSPORT_VPN: in NetworkAgentWrapper()
/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java40 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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java165 setConnectivityViaCallback(NetworkCapabilities.TRANSPORT_VPN, false, true); in testVpnWithUnderlyingWifi()
166 setConnectivityViaCallback(NetworkCapabilities.TRANSPORT_VPN, true, true); in testVpnWithUnderlyingWifi()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java70 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 …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkNotificationManager.java21 import static android.net.NetworkCapabilities.TRANSPORT_VPN;
93 return nai.isVPN() ? TRANSPORT_VPN : getFirstTransportType(nai); in approximateTransportType()
DIpConnectivityEventBuilder.java24 import static android.net.NetworkCapabilities.TRANSPORT_VPN;
383 TRANSPORT_LINKLAYER_MAP[TRANSPORT_VPN] = IpConnectivityLogClass.UNKNOWN;
DVpn.java285 mNetworkCapabilities.addTransportType(NetworkCapabilities.TRANSPORT_VPN); in Vpn()
351 int[] transportTypes = new int[] { NetworkCapabilities.TRANSPORT_VPN }; in applyUnderlyingCapabilities()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java30 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()
DDnsManagerTest.java23 import static android.net.NetworkCapabilities.TRANSPORT_VPN;
94 static final int[] TEST_TRANSPORT_TYPES = {TRANSPORT_WIFI, TRANSPORT_VPN};
DNetworkNotificationManagerTest.java75 VPN_CAPABILITIES.addTransportType(NetworkCapabilities.TRANSPORT_VPN);
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto41 TRANSPORT_VPN = 4; enumerator
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java719 TRANSPORT_VPN,
749 public static final int TRANSPORT_VPN = 4; field in NetworkCapabilities
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetTracker.java513 if (parsedTransport == NetworkCapabilities.TRANSPORT_VPN in createNetworkCapabilities()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java52 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()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17135 field public static final int TRANSPORT_VPN = 4; // 0x4
/frameworks/base/api/
Dcurrent.txt30289 field public static final int TRANSPORT_VPN = 4; // 0x4