Home
last modified time | relevance | path

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

/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/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/connectivity/
DVpnTest.java29 import static android.net.NetworkCapabilities.TRANSPORT_VPN;
574 assertTrue(caps.hasTransport(TRANSPORT_VPN)); in testCapabilities()
588 assertTrue(caps.hasTransport(TRANSPORT_VPN)); in testCapabilities()
599 assertTrue(caps.hasTransport(TRANSPORT_VPN)); in testCapabilities()
610 assertTrue(caps.hasTransport(TRANSPORT_VPN)); in testCapabilities()
624 assertTrue(caps.hasTransport(TRANSPORT_VPN)); in testCapabilities()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java63 import static android.net.NetworkCapabilities.TRANSPORT_VPN;
543 case TRANSPORT_VPN: in MockNetworkAgent()
1371 case TRANSPORT_VPN: in transportToLegacyType()
3313 final MockNetworkAgent vpnNetworkAgent = new MockNetworkAgent(TRANSPORT_VPN); in testRegisterDefaultNetworkCallback()
5341 .addTransportType(TRANSPORT_VPN).build(); in testVpnNetworkActive()
5359 final MockNetworkAgent vpnNetworkAgent = new MockNetworkAgent(TRANSPORT_VPN); in testVpnNetworkActive()
5450 MockNetworkAgent vpnNetworkAgent = new MockNetworkAgent(TRANSPORT_VPN); in testVpnWithoutInternet()
5480 MockNetworkAgent vpnNetworkAgent = new MockNetworkAgent(TRANSPORT_VPN); in testVpnWithInternet()
5511 final MockNetworkAgent vpnNetworkAgent = new MockNetworkAgent(TRANSPORT_VPN); in testVpnUnvalidated()
5557 .addTransportType(TRANSPORT_VPN) in testVpnSetUnderlyingNetworks()
[all …]
/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java37 import static android.net.NetworkCapabilities.TRANSPORT_VPN;
596 nc.addTransportType(TRANSPORT_VPN); in testGetTransportTypes()
603 assertEquals(TRANSPORT_VPN, transportTypes[2]); in testGetTransportTypes()
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityEventBuilder.java24 import static android.net.NetworkCapabilities.TRANSPORT_VPN;
383 TRANSPORT_LINKLAYER_MAP[TRANSPORT_VPN] = IpConnectivityLogClass.UNKNOWN;
DNetworkAgentInfo.java467 return networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_VPN); in isVPN()
DVpn.java242 mNetworkCapabilities.addTransportType(NetworkCapabilities.TRANSPORT_VPN); in Vpn()
309 int[] transportTypes = new int[] { NetworkCapabilities.TRANSPORT_VPN }; in applyUnderlyingCapabilities()
/frameworks/base/core/proto/android/stats/dnsresolver/
Ddns_resolver.proto170 TRANSPORT_VPN = 4; enumerator
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java634 TRANSPORT_VPN,
664 public static final int TRANSPORT_VPN = 4; field in NetworkCapabilities
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto41 TRANSPORT_VPN = 4; enumerator
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetTracker.java363 if (parsedTransport == NetworkCapabilities.TRANSPORT_VPN in createNetworkCapabilities()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java41 import static android.net.NetworkCapabilities.TRANSPORT_VPN;
3058 if (!nai.networkCapabilities.hasTransport(TRANSPORT_VPN)) { in disconnectAndDestroyNetwork()
5861 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/ ...