Searched refs:NET_CAPABILITY_DUN (Results 1 – 15 of 15) sorted by relevance
25 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;223 .addCapability(NET_CAPABILITY_DUN) in registerMobileNetworkRequest()576 if (isCellular(ns) && hasCapability(ns, NET_CAPABILITY_DUN)) return ns; in findFirstDunNetwork()599 builder.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in networkCapabilitiesForType()
22 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;323 assertFalse(netReq.networkCapabilities.hasCapability(NET_CAPABILITY_DUN)); in testSelectPreferredUpstreamType()345 dunAgent.networkCapabilities.addCapability(NET_CAPABILITY_DUN); in testSelectPreferredUpstreamType()359 assertTrue(netReq.networkCapabilities.hasCapability(NET_CAPABILITY_DUN)); in testSelectPreferredUpstreamType()409 dunAgent.networkCapabilities.addCapability(NET_CAPABILITY_DUN); in testGetCurrentPreferredUpstream()480 dunAgent.networkCapabilities.addCapability(NET_CAPABILITY_DUN); in testLocalPrefixes()563 if (req.networkCapabilities.hasCapability(NET_CAPABILITY_DUN)) { in isDunRequested()
463 NetworkCapabilities.NET_CAPABILITY_DUN)) { in hasRestrictedRequests()569 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)) { in getApnTypeFromNetworkRequest()
138 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in makeNetworkFilter()
1345 result.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in getNetworkCapabilities()1361 result.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in getNetworkCapabilities()1410 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in getNetworkCapabilities()
20 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;132 ConnectivityManager.TYPE_MOBILE_DUN, NET_CAPABILITY_DUN); in testNetworkCapabilitiesForTypeMobileDun()
149 NET_CAPABILITY_DUN,192 public static final int NET_CAPABILITY_DUN = 2; field in NetworkCapabilities393 (1 << NET_CAPABILITY_DUN) |1893 case NET_CAPABILITY_DUN: return "DUN"; in capabilityNameOf()
1552 if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)) { in legacyTypeForNetworkCapabilities()1689 sLegacyTypeToCapability.put(TYPE_MOBILE_DUN, NetworkCapabilities.NET_CAPABILITY_DUN); in sLegacyTypeToCapability.put() argument
58 NET_CAPABILITY_DUN = 2; enumerator
585 .hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)); in testNetworkCapability()602 .hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)); in testNetworkCapability()
405 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in PhoneSwitcher()
49 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;2336 if (capability == NET_CAPABILITY_CBS || capability == NET_CAPABILITY_DUN || in tryNetworkFactoryRequests()2432 tryNetworkFactoryRequests(NET_CAPABILITY_DUN); in testNetworkFactoryRequests()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
17117 field public static final int NET_CAPABILITY_DUN = 2; // 0x2
30262 field public static final int NET_CAPABILITY_DUN = 2; // 0x2