/frameworks/base/tests/net/integration/util/com/android/server/ |
D | ConnectivityServiceTestUtils.kt | 30 import android.net.NetworkCapabilities.TRANSPORT_VPN 38 TRANSPORT_VPN -> TYPE_VPN in transportToLegacyType()
|
D | NetworkAgentWrapper.java | 23 import static android.net.NetworkCapabilities.TRANSPORT_VPN; 93 case TRANSPORT_VPN: in NetworkAgentWrapper()
|
/frameworks/base/tests/net/java/android/net/util/ |
D | KeepaliveUtilsTest.kt | 25 import android.net.NetworkCapabilities.TRANSPORT_VPN 114 nc.transportTypes = intArrayOf(TRANSPORT_WIFI, TRANSPORT_VPN) in testGetSupportedKeepalivesForNetworkCapabilities()
|
/frameworks/base/tests/net/common/java/android/net/ |
D | NetworkCapabilitiesTest.java | 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()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerWifiTest.java | 161 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/ |
D | ConnectivityServiceTest.java | 70 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/ |
D | VpnTest.java | 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()
|
D | DnsManagerTest.java | 23 import static android.net.NetworkCapabilities.TRANSPORT_VPN; 94 static final int[] TEST_TRANSPORT_TYPES = {TRANSPORT_WIFI, TRANSPORT_VPN};
|
D | NetworkNotificationManagerTest.java | 75 VPN_CAPABILITIES.addTransportType(NetworkCapabilities.TRANSPORT_VPN);
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkNotificationManager.java | 21 import static android.net.NetworkCapabilities.TRANSPORT_VPN; 93 return nai.isVPN() ? TRANSPORT_VPN : getFirstTransportType(nai); in approximateTransportType()
|
D | IpConnectivityEventBuilder.java | 24 import static android.net.NetworkCapabilities.TRANSPORT_VPN; 383 TRANSPORT_LINKLAYER_MAP[TRANSPORT_VPN] = IpConnectivityLogClass.UNKNOWN;
|
D | NetworkAgentInfo.java | 478 return networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_VPN); in isVPN()
|
D | Vpn.java | 285 mNetworkCapabilities.addTransportType(NetworkCapabilities.TRANSPORT_VPN); in Vpn() 351 int[] transportTypes = new int[] { NetworkCapabilities.TRANSPORT_VPN }; in applyUnderlyingCapabilities()
|
/frameworks/base/core/proto/android/net/ |
D | networkcapabilities.proto | 41 TRANSPORT_VPN = 4; enumerator
|
/frameworks/base/core/java/android/net/ |
D | NetworkCapabilities.java | 719 TRANSPORT_VPN, 749 public static final int TRANSPORT_VPN = 4; field in NetworkCapabilities
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetTracker.java | 513 if (parsedTransport == NetworkCapabilities.TRANSPORT_VPN in createNetworkCapabilities()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 52 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/ |
D | android-22.txt | 17135 field public static final int TRANSPORT_VPN = 4; // 0x4
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 29058 field public static final int TRANSPORT_VPN = 4; // 0x4
|
/frameworks/base/api/ |
D | current.txt | 29188 field public static final int TRANSPORT_VPN = 4; // 0x4
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 44394 Landroid/net/NetworkCapabilitiesProto;->TRANSPORT_VPN:I
|