Home
last modified time | relevance | path

Searched refs:NET_CAPABILITY_NOT_VPN (Results 1 – 25 of 47) sorted by relevance

12

/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/
DConnectivityManagerShimImpl.java20 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN;
80 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN) in registerSystemDefaultNetworkCallback()
92 .removeCapability(NET_CAPABILITY_NOT_VPN); in makeEmptyCapabilitiesRequest()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DTestNetworkUtils.java19 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN;
74 .removeCapability(NET_CAPABILITY_NOT_VPN) in setupAndGetTestNetwork()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DNetworkMonitorUtils.java22 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN;
112 if (!nc.hasCapability(NET_CAPABILITY_NOT_VPN)) { in isValidationRequired()
/packages/modules/Connectivity/tests/unit/java/android/net/
DConnectivityManagerTest.java27 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN;
127 NET_CAPABILITY_NOT_VPN, in verifyUnrestrictedNetworkCapabilities()
136 NET_CAPABILITY_NOT_VPN, in verifyRestrictedMobileNetworkCapabilities()
185 NET_CAPABILITY_NOT_VPN, in testNetworkCapabilitiesForTypeMobileMms()
197 NET_CAPABILITY_NOT_VPN, in testNetworkCapabilitiesForTypeMobileSupl()
214 NET_CAPABILITY_NOT_RESTRICTED, NET_CAPABILITY_NOT_VPN, in testNetworkCapabilitiesForTypeWifiP2p()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/schedule/
DDeviceLockControllerSchedulerImplTest.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN;
264 assertThat(networkRequest.hasCapability(NET_CAPABILITY_NOT_VPN)).isTrue(); in scheduleInitialCheckInWork()
287 assertThat(networkRequest.hasCapability(NET_CAPABILITY_NOT_VPN)).isTrue(); in scheduleRetryCheckInWork()
325 assertThat(networkRequest.hasCapability(NET_CAPABILITY_NOT_VPN)).isTrue(); in rescheduleRetryCheckInWork()
397 assertThat(networkRequest.hasCapability(NET_CAPABILITY_NOT_VPN)).isTrue(); in maybeScheduleInitialCheckIn_noNeedCheckIn_reschedule()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/worker/
DSetupWizardCompletionTimeoutWorker.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN;
118 .addCapability(NET_CAPABILITY_NOT_VPN)
DPauseProvisioningWorker.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN;
77 .addCapability(NET_CAPABILITY_NOT_VPN) in reportProvisionPausedByUser()
DReportDeviceProvisionStateWorker.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN;
117 .addCapability(NET_CAPABILITY_NOT_VPN) in enqueueReportWork()
DDeviceCheckInHelper.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN;
224 .addCapability(NET_CAPABILITY_NOT_VPN) in maybeEnqueueFcmRegistrationTokenRetrievalWork()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSIngressDiscardRuleTests.kt25 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN
54 .removeCapability(NET_CAPABILITY_NOT_VPN) in vpnNc()
76 addCapability(NET_CAPABILITY_NOT_VPN) in vpnNc()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/receivers/
DNextProvisionFailedStepReceiverTest.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN;
164 assertThat(networkRequest.hasCapability(NET_CAPABILITY_NOT_VPN)).isTrue(); in verifyReportProvisionStateWorkScheduled()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/
DFinalizationControllerImpl.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN;
251 .addCapability(NET_CAPABILITY_NOT_VPN)
DProvisionHelperImpl.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN;
374 .addCapability(NET_CAPABILITY_NOT_VPN) in getIsDeviceInApprovedCountryWork()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java30 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN;
286 NET_CAPABILITY_NOT_VPN,
DNetworkCapabilities.java443 NET_CAPABILITY_NOT_VPN,
566 public static final int NET_CAPABILITY_NOT_VPN = 15; field in NetworkCapabilities
816 | (1L << NET_CAPABILITY_NOT_VPN);
844 (1L << NET_CAPABILITY_NOT_VPN) |
2616 case NET_CAPABILITY_NOT_VPN: return "NOT_VPN"; in capabilityNameOf()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DTestNetworkTracker.kt127 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN)
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/provision/worker/
DDeviceCheckInHelperTest.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN;
314 assertThat(networkRequest.hasCapability(NET_CAPABILITY_NOT_VPN)).isTrue(); in assertNetworkRequestCapabilities()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkProviderTest.kt163 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN) in <lambda>()
312 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN) in <lambda>()
/packages/modules/Connectivity/tests/integration/util/com/android/server/
DNetworkAgentWrapper.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN;
152 mNetworkCapabilities.removeCapability(NET_CAPABILITY_NOT_VPN); in NetworkAgentWrapper()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitor.java28 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN;
626 && nc.hasCapability(NET_CAPABILITY_NOT_VPN); in isCellular()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/schedule/
DDeviceLockControllerSchedulerImpl.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN;
494 .addCapability(NET_CAPABILITY_NOT_VPN)
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityDiagnosticsManagerTest.java35 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN;
130 .removeCapability(NET_CAPABILITY_NOT_VPN)
DNetworkRequestTest.java26 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN;
525 assertTrue(defaultNR.hasCapability(NET_CAPABILITY_NOT_VPN)); in testDefaultCapabilities()
DNetworkAgentTest.kt47 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN in <lambda>()
310 if (!transports.contains(TRANSPORT_VPN)) addCapability(NET_CAPABILITY_NOT_VPN) in makeTestNetworkRequest()
910 .removeCapability(NET_CAPABILITY_NOT_VPN) in testSetUnderlyingNetworksAndVpnSpecifier()
919 removeCapability(NET_CAPABILITY_NOT_VPN) in testSetUnderlyingNetworksAndVpnSpecifier()
945 assertFalse(vpnNc.hasCapability(NET_CAPABILITY_NOT_VPN)) in testSetUnderlyingNetworksAndVpnSpecifier()
/packages/apps/Settings/src/com/android/settings/network/
DVpnPreferenceController.java61 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN)

12