Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DNetworkMonitorUtils.java19 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;
109 if (isDunValidationRequired && nc.hasCapability(NET_CAPABILITY_DUN)) { in isValidationRequired()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkCapabilitiesUtils.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;
95 (1L << NET_CAPABILITY_DUN) |
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitor.java25 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;
248 .addCapability(NET_CAPABILITY_DUN) in registerMobileNetworkRequest()
642 if (isCellular(ns) && hasCapability(ns, NET_CAPABILITY_DUN)) return ns; in findFirstDunNetwork()
679 builder.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in networkCapabilitiesForType()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSLocalAgentTests.kt26 import android.net.NetworkCapabilities.NET_CAPABILITY_DUN
686 .addCapability(NET_CAPABILITY_DUN) in keepScore()
702 nc = nc(TRANSPORT_CELLULAR, NET_CAPABILITY_INTERNET, NET_CAPABILITY_DUN)) in keepScore()
704 nc = nc(TRANSPORT_WIFI, NET_CAPABILITY_INTERNET, NET_CAPABILITY_DUN)) in keepScore()
756 nc = nc(TRANSPORT_WIFI, NET_CAPABILITY_INTERNET, NET_CAPABILITY_DUN)) in keepScore()
770 nc = nc(TRANSPORT_WIFI, NET_CAPABILITY_INTERNET, NET_CAPABILITY_DUN)) in keepScore()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java22 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;
91 .addTransportType(TRANSPORT_CELLULAR).addCapability(NET_CAPABILITY_DUN).build();
423 dunAgent.networkCapabilities.addCapability(NET_CAPABILITY_DUN); in testGetCurrentPreferredUpstream()
682 if (nri.request.networkCapabilities.hasCapability(NET_CAPABILITY_DUN)) { in isDunRequested()
DTestConnectivityManager.java19 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;
201 && !req.hasCapability(NET_CAPABILITY_DUN) in looksLikeDefaultRequest()
DTetheringTest.java30 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;
636 buildUpstreamCapabilities(TRANSPORT_CELLULAR, NET_CAPABILITY_DUN), in buildDunUpstreamState()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java20 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;
278 NET_CAPABILITY_DUN,
DNetworkCapabilities.java430 NET_CAPABILITY_DUN,
485 public static final int NET_CAPABILITY_DUN = 2; field in NetworkCapabilities
859 (1L << NET_CAPABILITY_DUN) |
2603 case NET_CAPABILITY_DUN: return "DUN"; in capabilityNameOf()
DConnectivityManager.java2195 if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)) { in legacyTypeForNetworkCapabilities()
2332 sLegacyTypeToCapability.put(TYPE_MOBILE_DUN, NetworkCapabilities.NET_CAPABILITY_DUN); in sLegacyTypeToCapability.put() argument
/packages/modules/Connectivity/tests/cts/tethering/src/android/tethering/cts/
DTetheringManagerTest.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;
470 ? NET_CAPABILITY_DUN : NET_CAPABILITY_INTERNET; in testTetheringUpstream()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsUtils.java347 case NetworkCapabilities.NET_CAPABILITY_DUN: in networkCapabilityToString()
434 return NetworkCapabilities.NET_CAPABILITY_DUN; in getNetworkCapabilityFromString()
/packages/modules/Connectivity/tests/unit/java/android/net/
DConnectivityManagerTest.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;
158 ConnectivityManager.TYPE_MOBILE_DUN, NET_CAPABILITY_DUN); in testNetworkCapabilitiesForTypeMobileDun()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java19 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;
478 .addCapability(NET_CAPABILITY_DUN).build(); in testBypassingVcn()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DQnsUtilsTest.java1172 NetworkCapabilities.NET_CAPABILITY_DUN, in testGetNetworkCapabilityFromString()
1221 "DUN", QnsUtils.networkCapabilityToString(NetworkCapabilities.NET_CAPABILITY_DUN)); in testNetworkCapabilityToString()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java261 sCapabilityNames.put(NetworkCapabilities.NET_CAPABILITY_DUN, "[DUN]"); in sCapabilityNames.put() argument
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java24 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;
122 Set.of(NET_CAPABILITY_CBS, NET_CAPABILITY_DUN, NET_CAPABILITY_RCS);
/packages/modules/Connectivity/framework/api/
Dcurrent.txt327 field public static final int NET_CAPABILITY_DUN = 2; // 0x2
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java102 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;
4233 if (capability == NET_CAPABILITY_CBS || capability == NET_CAPABILITY_DUN
4361 tryNetworkFactoryRequests(NET_CAPABILITY_DUN);
19218 .addCapability(NET_CAPABILITY_DUN)
19223 NetworkCapabilities nc = new NetworkCapabilities().addCapability(NET_CAPABILITY_DUN);
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java2217 .addCapability(NetworkCapabilities.NET_CAPABILITY_DUN) in makeDunNetworkCaps()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt670 Landroid/net/NetworkCapabilitiesProto;->NET_CAPABILITY_DUN:I