/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | NetworkCapabilitiesUtilsTest.kt | 22 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/ |
D | NetworkCapabilitiesUtils.java | 20 import static android.net.NetworkCapabilities.NET_CAPABILITY_CBS; 94 (1L << NET_CAPABILITY_CBS) |
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | QnsUtils.java | 353 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()
|
D | QnsCarrierConfigManager.java | 1986 } 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()
|
D | RestrictManager.java | 1555 case NetworkCapabilities.NET_CAPABILITY_CBS: in getGuardingTimeMillis()
|
D | AccessNetworkEvaluator.java | 1469 && mNetCapability != NetworkCapabilities.NET_CAPABILITY_CBS) { in useDifferentApnOverIwlan()
|
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | QnsCarrierConfigManagerTest.java | 587 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 …]
|
D | QnsUtilsTest.java | 1181 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/ |
D | AtomsQnsRatPreferenceMismatchInfoTest.java | 101 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/ |
D | NetworkCapabilitiesTest.java | 23 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/ |
D | CBS.java | 107 builder.addCapability(NetworkCapabilities.NET_CAPABILITY_CBS); in onCreateView()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkCapabilities.java | 433 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()
|
D | ConnectivityManager.java | 2186 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/ |
D | ConnectivityManagerTest.java | 20 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/ |
D | ConnectivityFragment.java | 260 sCapabilityNames.put(NetworkCapabilities.NET_CAPABILITY_CBS, "[CBS]"); in sCapabilityNames.put() argument
|
/packages/modules/Connectivity/framework/api/ |
D | current.txt | 326 field public static final int NET_CAPABILITY_CBS = 5; // 0x5
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 669 Landroid/net/NetworkCapabilitiesProto;->NET_CAPABILITY_CBS:I
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 101 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/ |
D | ConnectivityService.java | 8157 return ((networkCapabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_CBS) 8163 return (networkCapabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_CBS)
|