Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/
DConnectivityManagerTest.java20 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;
103 ConnectivityManager.TYPE_MOBILE_DUN, NET_CAPABILITY_DUN); in testNetworkCapabilitiesForTypeMobileDun()
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java94 public static final int NET_CAPABILITY_DUN = 2; field in NetworkCapabilities
237 (1 << NET_CAPABILITY_DUN) |
850 case NET_CAPABILITY_DUN: capabilities += "DUN"; break; in toString()
DConnectivityManager.java1277 } else if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)) { in inferLegacyTypeForNetworkCapabilities()
1312 if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)) { in legacyTypeForNetworkCapabilities()
1446 sLegacyTypeToCapability.put(TYPE_MOBILE_DUN, NetworkCapabilities.NET_CAPABILITY_DUN); in sLegacyTypeToCapability.put() argument
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitorTest.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_DUN;
283 if (req.networkCapabilities.hasCapability(NET_CAPABILITY_DUN)) { in isDunRequested()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcRequest.java95 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)) { in apnIdForNetworkRequest()
DApnContext.java458 NetworkCapabilities.NET_CAPABILITY_DUN)) { in hasNoRestrictedRequests()
592 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)) { in apnIdForNetworkRequest()
DTelephonyNetworkFactory.java111 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in makeNetworkFilter()
DDataConnection.java904 result.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in getNetworkCapabilities()
951 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in getNetworkCapabilities()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSwitcher.java138 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in PhoneSwitcher()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1610 if (capability == NET_CAPABILITY_CBS || capability == NET_CAPABILITY_DUN || in tryNetworkFactoryRequests()
1703 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/api/
Dcurrent.txt25571 field public static final int NET_CAPABILITY_DUN = 2; // 0x2
Dsystem-current.txt27767 field public static final int NET_CAPABILITY_DUN = 2; // 0x2