Home
last modified time | relevance | path

Searched refs:NET_CAPABILITY_DUN (Results 1 – 15 of 15) 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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnContext.java463 NetworkCapabilities.NET_CAPABILITY_DUN)) { in hasRestrictedRequests()
569 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)) { in getApnTypeFromNetworkRequest()
DTelephonyNetworkFactory.java138 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in makeNetworkFilter()
DDataConnection.java1345 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()
/frameworks/base/tests/net/java/android/net/
DConnectivityManagerTest.java20 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;
132 ConnectivityManager.TYPE_MOBILE_DUN, NET_CAPABILITY_DUN); in testNetworkCapabilitiesForTypeMobileDun()
/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.java585 .hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)); in testNetworkCapability()
602 .hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)); in testNetworkCapability()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSwitcher.java405 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/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17117 field public static final int NET_CAPABILITY_DUN = 2; // 0x2
/frameworks/base/api/
Dcurrent.txt30262 field public static final int NET_CAPABILITY_DUN = 2; // 0x2