Home
last modified time | relevance | path

Searched refs:TRANSPORT_VPN (Results 1 – 21 of 21) 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/java/android/net/util/
DKeepaliveUtilsTest.kt25 import android.net.NetworkCapabilities.TRANSPORT_VPN
114 nc.transportTypes = intArrayOf(TRANSPORT_WIFI, TRANSPORT_VPN) in testGetSupportedKeepalivesForNetworkCapabilities()
/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.java161 setConnectivityViaCallback(NetworkCapabilities.TRANSPORT_VPN, false, true); in testVpnWithUnderlyingWifi()
162 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;
3211 vpnNetworkAgent = new TestNetworkAgentWrapper(TRANSPORT_VPN); in testRegisterDefaultNetworkCallback()
5213 .addTransportType(TRANSPORT_VPN).build(); in testVpnNetworkActive()
5232 vpnNetworkAgent = new TestNetworkAgentWrapper(TRANSPORT_VPN); in testVpnNetworkActive()
5325 vpnNetworkAgent = new TestNetworkAgentWrapper(TRANSPORT_VPN); in testVpnWithoutInternet()
5357 vpnNetworkAgent = new TestNetworkAgentWrapper(TRANSPORT_VPN); in testVpnWithInternet()
5390 vpnNetworkAgent = new TestNetworkAgentWrapper(TRANSPORT_VPN); in testVpnUnvalidated()
5436 .addTransportType(TRANSPORT_VPN) in testVpnStartsWithUnderlyingCaps()
5447 final TestNetworkAgentWrapper vpnNetworkAgent = new TestNetworkAgentWrapper(TRANSPORT_VPN); in testVpnStartsWithUnderlyingCaps()
5462 assertTrue(nc.hasTransport(TRANSPORT_VPN)); in testVpnStartsWithUnderlyingCaps()
[all …]
/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/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;
DNetworkAgentInfo.java478 return networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_VPN); in isVPN()
DVpn.java285 mNetworkCapabilities.addTransportType(NetworkCapabilities.TRANSPORT_VPN); in Vpn()
351 int[] transportTypes = new int[] { NetworkCapabilities.TRANSPORT_VPN }; in applyUnderlyingCapabilities()
/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()
3367 if (!nai.networkCapabilities.hasTransport(TRANSPORT_VPN)) { in disconnectAndDestroyNetwork()
6377 if (!newNc.hasTransport(TRANSPORT_VPN)) { in updateCapabilities()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17135 field public static final int TRANSPORT_VPN = 4; // 0x4
/frameworks/base/non-updatable-api/
Dcurrent.txt29058 field public static final int TRANSPORT_VPN = 4; // 0x4
/frameworks/base/api/
Dcurrent.txt29188 field public static final int TRANSPORT_VPN = 4; // 0x4
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44394 Landroid/net/NetworkCapabilitiesProto;->TRANSPORT_VPN:I