Home
last modified time | relevance | path

Searched refs:NET_CAPABILITY_NOT_VCN_MANAGED (Results 1 – 25 of 39) sorted by relevance

12

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java25 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED;
214 nc.addCapability(ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED); in addNotVcnManagedCapability()
366 builder.removeCapability(ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED); in testSetIncludeOtherUidNetworks()
371 otherUidsBuilder.removeCapability(ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED); in testSetIncludeOtherUidNetworks()
412 assertTrue(emptyRequest.hasCapability(ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED)); in testBypassingVcn()
417 .addCapability(ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED) in testBypassingVcn()
420 ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED)); in testBypassingVcn()
424 .addCapability(ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED) in testBypassingVcn()
428 ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED)); in testBypassingVcn()
432 .removeCapability(ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED).build(); in testBypassingVcn()
[all …]
DNetworkAgentTest.kt46 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED in <lambda>()
312 addCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in makeTestNetworkRequest()
590 addCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in doTestAllowedUids()
922 addCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in testSetUnderlyingNetworksAndVpnSpecifier()
1188 .addCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in testRegisterBestMatchingNetworkCallback()
1214 ncAgent1.removeCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in testRegisterBestMatchingNetworkCallback()
1217 ncAgent1.addCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in testRegisterBestMatchingNetworkCallback()
DNetworkScoreTest.kt142 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED) in <lambda>()
DRateLimitTest.java148 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED) in setUp()
DDscpPolicyTest.kt39 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED in <lambda>()
268 addCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in <lambda>()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkProviderTest.kt21 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED in <lambda>()
223 .addCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in <lambda>()
281 .addCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in <lambda>()
293 ncFilter3.addCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in <lambda>()
296 ncFilter4.addCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in <lambda>()
309 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED) in <lambda>()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DNetworkMonitorUtils.java49 public static final int NET_CAPABILITY_NOT_VCN_MANAGED = 28; field in NetworkMonitorUtils
73 && !nc.hasCapability(NET_CAPABILITY_NOT_VCN_MANAGED); in isPrivateDnsValidationRequired()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSActiveNetworkInfoTest.kt23 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED
43 .addCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in nc()
DCSCaptivePortalAppTest.kt35 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED
70 addCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in keepScore()
DCSNetworkActivityTest.kt29 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED in <lambda>()
99 .addCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in <lambda>()
112 .addCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in <lambda>()
DCSIngressDiscardRuleTests.kt24 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED
55 .addCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in vpnNc()
69 .addCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in vpnNc()
DCSBlockedReasonsTest.kt37 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED
57 .addCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in cellNc()
65 .addCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in cellNc()
DCSSatelliteNetworkTest.kt31 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED
220 addCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in satelliteNc()
DCSDestroySocketTest.kt52 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED) in cellNc()
DCSLocalAgentTests.kt32 import android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED
74 addCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in <lambda>()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java29 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED;
349 if (capability == NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED) { in addCapability()
363 if (capability == NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED) { in removeCapability()
603 nc.addCapability(NET_CAPABILITY_NOT_VCN_MANAGED); in deduceNotVcnManagedCapability()
DNetworkCapabilities.java456 NET_CAPABILITY_NOT_VCN_MANAGED,
674 public static final int NET_CAPABILITY_NOT_VCN_MANAGED = 28; field in NetworkCapabilities
788 (1L << NET_CAPABILITY_NOT_VCN_MANAGED) |
806 & ~(1L << NET_CAPABILITY_NOT_VCN_MANAGED);
848 (1L << NET_CAPABILITY_NOT_VCN_MANAGED) |
2629 case NET_CAPABILITY_NOT_VCN_MANAGED: return "NOT_VCN_MANAGED"; in capabilityNameOf()
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DConstantsShim.java46 public static final int NET_CAPABILITY_NOT_VCN_MANAGED = 28; field in ConstantsShim
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/
DConstantsShim.java54 public static final int NET_CAPABILITY_NOT_VCN_MANAGED = 28; field in ConstantsShim
/packages/modules/Connectivity/tests/integration/util/com/android/server/
DNetworkAgentWrapper.java20 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED;
129 mNetworkCapabilities.addCapability(NET_CAPABILITY_NOT_VCN_MANAGED); in NetworkAgentWrapper()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pan/
DBluetoothTetheringNetworkFactory.java275 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED) in initNetworkCapabilities()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/base/
DCSTestHelpers.kt80 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED) in <lambda>()
/packages/modules/Connectivity/service/src/com/android/server/
DTestNetworkService.java268 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED); in registerTestNetworkAgent()
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetNetworkFactoryTest.java190 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED); in createInterfaceCapsBuilder()
/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/
DThreadNetworkControllerTest.java23 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED;
829 NET_CAPABILITY_NOT_VCN_MANAGED,

12