Searched refs:NET_CAPABILITY_DUN (Results 1 – 16 of 16) 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()
20 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;133 ConnectivityManager.TYPE_MOBILE_DUN, NET_CAPABILITY_DUN); in testNetworkCapabilitiesForTypeMobileDun()
462 NetworkCapabilities.NET_CAPABILITY_DUN)) { in hasRestrictedRequests()568 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)) { in getApnTypeFromNetworkRequest()
138 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in makeNetworkFilter()
1363 result.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in getNetworkCapabilities()1379 result.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in getNetworkCapabilities()1428 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in getNetworkCapabilities()
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
589 .hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)); in testNetworkCapability()606 .hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)); in testNetworkCapability()
396 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()
17117 field public static final int NET_CAPABILITY_DUN = 2; // 0x2
29031 field public static final int NET_CAPABILITY_DUN = 2; // 0x2
29161 field public static final int NET_CAPABILITY_DUN = 2; // 0x2
44370 Landroid/net/NetworkCapabilitiesProto;->NET_CAPABILITY_DUN:I