Home
last modified time | relevance | path

Searched refs:NET_CAPABILITY_ENTERPRISE (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkCapabilitiesUtils.java23 import static android.net.NetworkCapabilities.NET_CAPABILITY_ENTERPRISE;
97 (1L << NET_CAPABILITY_ENTERPRISE) |
113 (1L << NET_CAPABILITY_ENTERPRISE) |
/packages/modules/Connectivity/tests/unit/java/com/android/metrics/
DConnectivitySampleMetricsTest.kt7 import android.net.NetworkCapabilities.NET_CAPABILITY_ENTERPRISE in <lambda>()
108 .addCapability(NET_CAPABILITY_ENTERPRISE) in testSampleConnectivityState_Network()
122 .addCapability(NET_CAPABILITY_ENTERPRISE) in testSampleConnectivityState_Network()
143 0L != (it.capabilities and (1L shl NET_CAPABILITY_ENTERPRISE)) in testSampleConnectivityState_Network()
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DConstantsShim.java47 public static final int NET_CAPABILITY_ENTERPRISE = 29; field in ConstantsShim
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java304 if (hasCapability(NET_CAPABILITY_ENTERPRISE) && mEnterpriseId == 0) { in getEnterpriseIds()
321 if (hasCapability(NET_CAPABILITY_ENTERPRISE) && mEnterpriseId == 0) { in hasEnterpriseId()
457 NET_CAPABILITY_ENTERPRISE,
683 public static final int NET_CAPABILITY_ENTERPRISE = 29; field in NetworkCapabilities
1142 if (capability == NET_CAPABILITY_ENTERPRISE) { in getCapabilityCarrierName()
2630 case NET_CAPABILITY_ENTERPRISE: return "ENTERPRISE"; in capabilityNameOf()
3398 && !mCaps.hasCapability(NET_CAPABILITY_ENTERPRISE)) { in build()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java26 import static android.net.NetworkCapabilities.NET_CAPABILITY_ENTERPRISE;
931 .addCapability(NET_CAPABILITY_ENTERPRISE) in testEnterpriseId()
938 .addCapability(NET_CAPABILITY_ENTERPRISE) in testEnterpriseId()
948 .addCapability(NET_CAPABILITY_ENTERPRISE) in testEnterpriseId()
983 .addCapability(NET_CAPABILITY_ENTERPRISE) in testEnterpriseId()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsUtils.java401 case NetworkCapabilities.NET_CAPABILITY_ENTERPRISE: in networkCapabilityToString()
454 return NetworkCapabilities.NET_CAPABILITY_ENTERPRISE; in getNetworkCapabilityFromString()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DQnsUtilsTest.java1199 NetworkCapabilities.NET_CAPABILITY_ENTERPRISE, in testGetNetworkCapabilityFromString()
1244 QnsUtils.networkCapabilityToString(NetworkCapabilities.NET_CAPABILITY_ENTERPRISE)); in testNetworkCapabilityToString()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java104 import static android.net.NetworkCapabilities.NET_CAPABILITY_ENTERPRISE;
4238 || capability == NET_CAPABILITY_ENTERPRISE || capability == NET_CAPABILITY_MMTEL) {
4370 tryNetworkFactoryRequests(NET_CAPABILITY_ENTERPRISE);
15977 workNc.addCapability(NET_CAPABILITY_ENTERPRISE);
15984 workNc.addCapability(NET_CAPABILITY_ENTERPRISE);
16000 .addCapability(NET_CAPABILITY_ENTERPRISE)
16118 && c.hasCapability(NET_CAPABILITY_ENTERPRISE)
16226 c -> c.hasCapability(NET_CAPABILITY_ENTERPRISE)
16698 .addCapability(NET_CAPABILITY_ENTERPRISE).addEnterpriseId(id).build();
/packages/modules/Connectivity/framework/api/
Dcurrent.txt329 field public static final int NET_CAPABILITY_ENTERPRISE = 29; // 0x1d
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java76 import static android.net.NetworkCapabilities.NET_CAPABILITY_ENTERPRISE;
10463 if (nai.networkCapabilities.hasCapability(NET_CAPABILITY_ENTERPRISE)) {
13187 nc.addCapability(NET_CAPABILITY_ENTERPRISE);
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java2633 .getCapabilityCarrierName(ConstantsShim.NET_CAPABILITY_ENTERPRISE));