Home
last modified time | relevance | path

Searched refs:NET_CAPABILITY_DUN (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitor.java25 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()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java22 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()
/frameworks/base/tests/net/java/android/net/
DConnectivityManagerTest.java20 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;
133 ConnectivityManager.TYPE_MOBILE_DUN, NET_CAPABILITY_DUN); in testNetworkCapabilitiesForTypeMobileDun()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnContext.java462 NetworkCapabilities.NET_CAPABILITY_DUN)) { in hasRestrictedRequests()
568 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)) { in getApnTypeFromNetworkRequest()
DTelephonyNetworkFactory.java138 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in makeNetworkFilter()
DDataConnection.java1363 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()
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java149 NET_CAPABILITY_DUN,
192 public static final int NET_CAPABILITY_DUN = 2; field in NetworkCapabilities
393 (1 << NET_CAPABILITY_DUN) |
1893 case NET_CAPABILITY_DUN: return "DUN"; in capabilityNameOf()
DConnectivityManager.java1552 if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)) { in legacyTypeForNetworkCapabilities()
1689 sLegacyTypeToCapability.put(TYPE_MOBILE_DUN, NetworkCapabilities.NET_CAPABILITY_DUN); in sLegacyTypeToCapability.put() argument
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto58 NET_CAPABILITY_DUN = 2; enumerator
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java589 .hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)); in testNetworkCapability()
606 .hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)); in testNetworkCapability()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSwitcher.java396 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in PhoneSwitcher()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java49 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()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17117 field public static final int NET_CAPABILITY_DUN = 2; // 0x2
/frameworks/base/non-updatable-api/
Dcurrent.txt29031 field public static final int NET_CAPABILITY_DUN = 2; // 0x2
/frameworks/base/api/
Dcurrent.txt29161 field public static final int NET_CAPABILITY_DUN = 2; // 0x2
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44370 Landroid/net/NetworkCapabilitiesProto;->NET_CAPABILITY_DUN:I