/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/ |
D | ConnectivityManagerShimImpl.java | 20 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/ |
D | TestNetworkUtils.java | 19 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/ |
D | NetworkMonitorUtils.java | 22 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/ |
D | ConnectivityManagerTest.java | 27 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/ |
D | DeviceLockControllerSchedulerImplTest.java | 21 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/ |
D | SetupWizardCompletionTimeoutWorker.java | 21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN; 118 .addCapability(NET_CAPABILITY_NOT_VPN)
|
D | PauseProvisioningWorker.java | 21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN; 77 .addCapability(NET_CAPABILITY_NOT_VPN) in reportProvisionPausedByUser()
|
D | ReportDeviceProvisionStateWorker.java | 21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN; 117 .addCapability(NET_CAPABILITY_NOT_VPN) in enqueueReportWork()
|
D | DeviceCheckInHelper.java | 21 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/ |
D | CSIngressDiscardRuleTests.kt | 25 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/ |
D | NextProvisionFailedStepReceiverTest.java | 21 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/ |
D | FinalizationControllerImpl.java | 21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN; 251 .addCapability(NET_CAPABILITY_NOT_VPN)
|
D | ProvisionHelperImpl.java | 21 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN; 374 .addCapability(NET_CAPABILITY_NOT_VPN) in getIsDeviceInApprovedCountryWork()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkRequest.java | 30 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN; 286 NET_CAPABILITY_NOT_VPN,
|
D | NetworkCapabilities.java | 443 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/ |
D | TestNetworkTracker.kt | 127 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN)
|
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/provision/worker/ |
D | DeviceCheckInHelperTest.java | 21 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/ |
D | NetworkProviderTest.kt | 163 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/ |
D | NetworkAgentWrapper.java | 21 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/ |
D | UpstreamNetworkMonitor.java | 28 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/ |
D | DeviceLockControllerSchedulerImpl.java | 21 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/ |
D | ConnectivityDiagnosticsManagerTest.java | 35 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN; 130 .removeCapability(NET_CAPABILITY_NOT_VPN)
|
D | NetworkRequestTest.java | 26 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN; 525 assertTrue(defaultNR.hasCapability(NET_CAPABILITY_NOT_VPN)); in testDefaultCapabilities()
|
D | NetworkAgentTest.kt | 47 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/ |
D | VpnPreferenceController.java | 61 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN)
|