Home
last modified time | relevance | path

Searched refs:NET_CAPABILITY_CBS (Results 1 – 19 of 19) sorted by relevance

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DNetworkCapabilitiesUtilsTest.kt22 import android.net.NetworkCapabilities.NET_CAPABILITY_CBS
89 nc.addCapability(NET_CAPABILITY_CBS) in testInferRestrictedCapability()
98 nc.removeCapability(NET_CAPABILITY_CBS) in testInferRestrictedCapability()
110 assertEquals((1 shl NET_CAPABILITY_CBS).toLong() and RESTRICTED_CAPABILITIES, in testRestrictedUnrestrictedCapabilities()
111 (1 shl NET_CAPABILITY_CBS).toLong()) in testRestrictedUnrestrictedCapabilities()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkCapabilitiesUtils.java20 import static android.net.NetworkCapabilities.NET_CAPABILITY_CBS;
94 (1L << NET_CAPABILITY_CBS) |
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsUtils.java353 case NetworkCapabilities.NET_CAPABILITY_CBS: in networkCapabilityToString()
440 return NetworkCapabilities.NET_CAPABILITY_CBS; in getNetworkCapabilityFromString()
482 return NetworkCapabilities.NET_CAPABILITY_CBS; in getNetCapabilityFromApnType()
504 case NetworkCapabilities.NET_CAPABILITY_CBS: in getApnTypeFromNetCapability()
528 case NetworkCapabilities.NET_CAPABILITY_CBS: in getNameOfNetCapability()
DQnsCarrierConfigManager.java1986 } else if (netCapability == NetworkCapabilities.NET_CAPABILITY_CBS) { in getQnsSupportedTransportType()
2015 case NetworkCapabilities.NET_CAPABILITY_CBS: in getWwanHysteresisTimer()
2049 case NetworkCapabilities.NET_CAPABILITY_CBS: in getWlanHysteresisTimer()
2435 netCapabilities.add(NetworkCapabilities.NET_CAPABILITY_CBS); in getQnsSupportedNetCapabilities()
2562 case NetworkCapabilities.NET_CAPABILITY_CBS: in getRatPreference()
DRestrictManager.java1555 case NetworkCapabilities.NET_CAPABILITY_CBS: in getGuardingTimeMillis()
DAccessNetworkEvaluator.java1469 && mNetCapability != NetworkCapabilities.NET_CAPABILITY_CBS) { in useDifferentApnOverIwlan()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DQnsCarrierConfigManagerTest.java587 supportedNetCapabilities.add(NetworkCapabilities.NET_CAPABILITY_CBS); in testGetQnsSupportedNetCapabilitiesWithTestBundle()
601 supportedNetCapabilities.add(NetworkCapabilities.NET_CAPABILITY_CBS); in testGetQnsSupportedNetCapabilitiesWithTestBundle()
704 ratPreference = mConfigManager.getRatPreference(NetworkCapabilities.NET_CAPABILITY_CBS); in testGetRatPreference()
726 mConfigManager.getQnsSupportedTransportType(NetworkCapabilities.NET_CAPABILITY_CBS); in testGetQnsSupportedTransportTypeWithDefaultValues()
794 NetworkCapabilities.NET_CAPABILITY_CBS, CALL_TYPE_IDLE); in testGetWwanHysteresisTimerWithDefaultValues()
798 NetworkCapabilities.NET_CAPABILITY_CBS, CALL_TYPE_VOICE); in testGetWwanHysteresisTimerWithDefaultValues()
802 NetworkCapabilities.NET_CAPABILITY_CBS, CALL_TYPE_VIDEO); in testGetWwanHysteresisTimerWithDefaultValues()
942 NetworkCapabilities.NET_CAPABILITY_CBS, CALL_TYPE_IDLE); in testGetWlanHysteresisTimerWithDefaultValues()
946 NetworkCapabilities.NET_CAPABILITY_CBS, CALL_TYPE_VOICE); in testGetWlanHysteresisTimerWithDefaultValues()
950 NetworkCapabilities.NET_CAPABILITY_CBS, CALL_TYPE_VIDEO); in testGetWlanHysteresisTimerWithDefaultValues()
[all …]
DQnsUtilsTest.java1181 NetworkCapabilities.NET_CAPABILITY_CBS, in testGetNetworkCapabilityFromString()
1228 "CBS", QnsUtils.networkCapabilityToString(NetworkCapabilities.NET_CAPABILITY_CBS)); in testNetworkCapabilityToString()
1264 NetworkCapabilities.NET_CAPABILITY_CBS in testTransitionBtwApnTypeAndNetCapability()
1290 NetworkCapabilities.NET_CAPABILITY_CBS in testTransitionBtwApnTypeNameAndNetCapabilityName()
1319 NetworkCapabilities.NET_CAPABILITY_CBS in testGetNetCapabilitiesFromApnTypesString()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/atoms/
DAtomsQnsRatPreferenceMismatchInfoTest.java101 mInfoDefault.setNetCapability(QnsProtoEnums.NET_CAPABILITY_CBS); in testGetSetNetCapability()
105 assertEquals(QnsProtoEnums.NET_CAPABILITY_CBS, mInfoDefault.getNetCapability()); in testGetSetNetCapability()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java23 import static android.net.NetworkCapabilities.NET_CAPABILITY_CBS;
122 Set.of(NET_CAPABILITY_CBS, NET_CAPABILITY_DUN, NET_CAPABILITY_RCS);
178 netCap.addCapability(NET_CAPABILITY_CBS); in testMaybeMarkCapabilitiesRestricted()
184 netCap.addCapability(NET_CAPABILITY_CBS); in testMaybeMarkCapabilitiesRestricted()
993 .addCapability(NET_CAPABILITY_CBS) in testEnterpriseId()
1252 .addCapability(NET_CAPABILITY_CBS) in testBuilder()
1253 .removeCapability(NET_CAPABILITY_CBS) in testBuilder()
1274 assertFalse(nc.hasCapability(NET_CAPABILITY_CBS)); in testBuilder()
/packages/services/Telephony/testapps/TestSliceApp/app/src/main/java/com/google/android/sample/testsliceapp/
DCBS.java107 builder.addCapability(NetworkCapabilities.NET_CAPABILITY_CBS); in onCreateView()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java433 NET_CAPABILITY_CBS,
503 public static final int NET_CAPABILITY_CBS = 5; field in NetworkCapabilities
858 (1L << NET_CAPABILITY_CBS) |
2606 case NET_CAPABILITY_CBS: return "CBS"; in capabilityNameOf()
DConnectivityManager.java2186 if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_CBS)) { in legacyTypeForNetworkCapabilities()
2331 sLegacyTypeToCapability.put(TYPE_MOBILE_CBS, NetworkCapabilities.NET_CAPABILITY_CBS); in sLegacyTypeToCapability.put() argument
/packages/modules/Connectivity/tests/unit/java/android/net/
DConnectivityManagerTest.java20 import static android.net.NetworkCapabilities.NET_CAPABILITY_CBS;
152 ConnectivityManager.TYPE_MOBILE_CBS, NET_CAPABILITY_CBS); in testNetworkCapabilitiesForTypeMobileCbs()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java260 sCapabilityNames.put(NetworkCapabilities.NET_CAPABILITY_CBS, "[CBS]"); in sCapabilityNames.put() argument
/packages/modules/Connectivity/framework/api/
Dcurrent.txt326 field public static final int NET_CAPABILITY_CBS = 5; // 0x5
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt669 Landroid/net/NetworkCapabilitiesProto;->NET_CAPABILITY_CBS:I
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java101 import static android.net.NetworkCapabilities.NET_CAPABILITY_CBS;
4233 if (capability == NET_CAPABILITY_CBS || capability == NET_CAPABILITY_DUN
4364 tryNetworkFactoryRequests(NET_CAPABILITY_CBS);
6810 TRANSPORT_CELLULAR).addCapability(NET_CAPABILITY_CBS).build();
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java8157 return ((networkCapabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_CBS)
8163 return (networkCapabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_CBS)