Searched refs:NET_CAPABILITY_DUN (Results 1 – 25 of 25) sorted by relevance
19 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;84 capsMatchCriteria.put(NET_CAPABILITY_DUN, MATCH_ANY); in capsMatchCriteria.put() argument316 return mCapabilitiesMatchCriteria.get(NET_CAPABILITY_DUN); in getDun()640 mCapabilitiesMatchCriteria.put(NET_CAPABILITY_DUN, matchCriteria); in setDun()
107 allowedCaps.add(NetworkCapabilities.NET_CAPABILITY_DUN);128 NetworkCapabilities.NET_CAPABILITY_DUN,
79 case "DUN" -> NetworkCapabilities.NET_CAPABILITY_DUN; in getNetworkCapabilityFromString()134 case NetworkCapabilities.NET_CAPABILITY_DUN -> "DUN"; in networkCapabilityToString()277 case NetworkCapabilities.NET_CAPABILITY_DUN -> ApnSetting.TYPE_DUN;305 case ApnSetting.TYPE_DUN -> NetworkCapabilities.NET_CAPABILITY_DUN;
108 new SimpleImmutableEntry<>(NetworkCapabilities.NET_CAPABILITY_DUN,
143 .addCapability(NetworkCapabilities.NET_CAPABILITY_DUN) in makeNetworkFilter()
919 .addCapability(NetworkCapabilities.NET_CAPABILITY_DUN) in isTetheringDataProfileExisting()
2219 return !(networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN) in isValidRestrictedRequest()2224 if (networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN) in isValidRestrictedRequest()
603 .addCapability(NetworkCapabilities.NET_CAPABILITY_DUN) in PhoneSwitcher()
20 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;84 new int[] {NET_CAPABILITY_IMS, NET_CAPABILITY_INTERNET, NET_CAPABILITY_DUN},86 new int[] {NET_CAPABILITY_FOTA, NET_CAPABILITY_DUN},448 || exposedCaps.contains(NET_CAPABILITY_DUN))) { in verifyMobileDataToggledUpdatesGatewayConnections()
20 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;166 if (cap == NET_CAPABILITY_INTERNET || cap == NET_CAPABILITY_DUN) { in verifyBuildNetworkCapabilitiesCommon()
22 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;279 NET_CAPABILITY_INTERNET, NET_CAPABILITY_DUN); in testCreatedTransformsAreAppliedWithDun()
19 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;84 Arrays.asList(NET_CAPABILITY_INTERNET, NET_CAPABILITY_DUN);526 || exposedCaps.contains(NET_CAPABILITY_DUN)) { in handleMobileDataToggled()
19 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;1923 && exposedCaps.contains(NET_CAPABILITY_DUN)) { in applyTransform()2248 && (cap == NET_CAPABILITY_INTERNET || cap == NET_CAPABILITY_DUN)) { in buildNetworkCapabilities()
97 .addCapability(NetworkCapabilities.NET_CAPABILITY_DUN)
20 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;121 .addCapability(NetworkCapabilities.NET_CAPABILITY_DUN)331 cm, subId, Collections.singleton(NET_CAPABILITY_DUN), Collections.emptySet()); in testNetworkCallbacksRegisteredOnStartupForNonInternetCapabilities()
43 NET_CAPABILITY_DUN = 2; enumerator
60 public static final int[] UNDERLYING_CAPS = new int[] {NetworkCapabilities.NET_CAPABILITY_DUN};
410 case NetworkCapabilities.NET_CAPABILITY_DUN: in networkCapabilityToApnType()
3704 netCaps.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in testDataDisableTearingDownTetheringNetwork()3714 verifyConnectedNetworkHasCapabilities(NetworkCapabilities.NET_CAPABILITY_DUN); in testDataDisableTearingDownTetheringNetwork()3772 createNetworkRequest(NetworkCapabilities.NET_CAPABILITY_DUN)); in testSetPreferredDataProfileMultiInternetDataProfile()3820 netCaps.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in testDataDisableNotAllowingBringingUpTetheringNetwork()4130 createNetworkRequest(NetworkCapabilities.NET_CAPABILITY_DUN)); in testSinglePdnArbitration()4132 verifyConnectedNetworkHasCapabilities(NetworkCapabilities.NET_CAPABILITY_DUN); in testSinglePdnArbitration()4138 verifyConnectedNetworkHasCapabilities(NetworkCapabilities.NET_CAPABILITY_DUN); in testSinglePdnArbitration()4148 verifyNoConnectedNetworkHasCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in testSinglePdnArbitration()4161 verifyConnectedNetworkHasCapabilities(NetworkCapabilities.NET_CAPABILITY_DUN); in testSinglePdnArbitration()
919 .addCapability(NetworkCapabilities.NET_CAPABILITY_DUN) in testGetDataProfileForNetworkRequest()932 .addCapability(NetworkCapabilities.NET_CAPABILITY_DUN) in testGetDataProfileForNetworkRequest()1092 .addCapability(NetworkCapabilities.NET_CAPABILITY_DUN) in testSetPreferredDataProfile()
212 NetworkCapabilities.NET_CAPABILITY_DUN, in testDataSetupRetryRulesParsingFromString()
682 NetworkCapabilities.NET_CAPABILITY_DUN,
902 eq(NetworkCapabilities.NET_CAPABILITY_DUN)); in setUp()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
17117 field public static final int NET_CAPABILITY_DUN = 2; // 0x2