Home
last modified time | relevance | path

Searched refs:NET_CAPABILITY_NOT_RESTRICTED (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/tests/net/java/android/net/
DNetworkCapabilitiesTest.java26 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED;
81 assertTrue(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in testMaybeMarkCapabilitiesRestricted()
88 assertTrue(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in testMaybeMarkCapabilitiesRestricted()
93 assertTrue(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in testMaybeMarkCapabilitiesRestricted()
101 assertTrue(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in testMaybeMarkCapabilitiesRestricted()
107 assertTrue(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in testMaybeMarkCapabilitiesRestricted()
114 assertFalse(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in testMaybeMarkCapabilitiesRestricted()
119 assertFalse(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in testMaybeMarkCapabilitiesRestricted()
127 assertFalse(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in testMaybeMarkCapabilitiesRestricted()
133 assertFalse(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in testMaybeMarkCapabilitiesRestricted()
[all …]
DConnectivityManagerTest.java25 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED;
100 NET_CAPABILITY_NOT_RESTRICTED, in verifyUnrestrictedNetworkCapabilities()
114 assertFalse(nc.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in verifyRestrictedMobileNetworkCapabilities()
188 NET_CAPABILITY_NOT_RESTRICTED, NET_CAPABILITY_NOT_VPN, in testNetworkCapabilitiesForTypeWifiP2p()
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java129 NET_CAPABILITY_NOT_RESTRICTED,
225 public static final int NET_CAPABILITY_NOT_RESTRICTED = 13; field in NetworkCapabilities
325 (1 << NET_CAPABILITY_NOT_RESTRICTED) |
568 removeCapability(NET_CAPABILITY_NOT_RESTRICTED); in maybeMarkCapabilitiesRestricted()
1525 case NET_CAPABILITY_NOT_RESTRICTED: return "NOT_RESTRICTED"; in capabilityNameOf()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactoryTest.java126 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED). in makeSubSpecificDefaultRequest()
134 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED). in makeSubSpecificMmsRequest()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetTracker.java159 return nc != null && !nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in isRestrictedInterface()
314 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in createDefaultNetworkCapabilities()
DEthernetNetworkFactory.java279 return mCapabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in isRestricted()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSwitcherTest.java157 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED). in makeSubSpecificDefaultRequest()
166 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED). in makeSubSpecificMmsRequest()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DConnectivityServiceMock.java20 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED;
971 netCap.addCapability(NET_CAPABILITY_NOT_RESTRICTED); in addDefaultRequest()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactory.java119 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in makeNetworkFilter()
DApnContext.java462 NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) == false) { in hasNoRestrictedRequests()
DDataConnection.java1012 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in getNetworkCapabilities()
DDcTracker.java820 .NET_CAPABILITY_NOT_RESTRICTED) && !netCaps.hasCapability( in reevaluateDataConnections()
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto92 NET_CAPABILITY_NOT_RESTRICTED = 13; enumerator
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java65 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED)
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSwitcher.java147 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in PhoneSwitcher()
/frameworks/opt/net/lowpan/service/java/com/android/server/lowpan/
DLowpanInterfaceTracker.java547 mNetworkCapabilities.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in LowpanInterfaceTracker()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java296 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in requestNetworkForCaptivePortal()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java32 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED;
937 netCap.addCapability(NET_CAPABILITY_NOT_RESTRICTED); in createDefaultNetworkCapabilitiesForUid()
947 netCap.addCapability(NET_CAPABILITY_NOT_RESTRICTED); in createDefaultInternetRequestForTransport()
4393 if (networkCapabilities.hasCapability(NET_CAPABILITY_NOT_RESTRICTED) == false) { in enforceNetworkRequestPermissions()
4855 if (!nc.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)) { in getNetworkPermission()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java136 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in start()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java40 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED;
2133 assertFalse(nc.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in tryNetworkFactoryRequests()
2135 assertTrue(nc.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in tryNetworkFactoryRequests()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java826 mNetworkCapabilitiesFilter.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in WifiStateMachine()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17125 field public static final int NET_CAPABILITY_NOT_RESTRICTED = 13; // 0xd
/frameworks/base/config/
Dhiddenapi-public-dex.txt25538 Landroid/net/NetworkCapabilities;->NET_CAPABILITY_NOT_RESTRICTED:I
/frameworks/base/api/
Dcurrent.txt27210 field public static final int NET_CAPABILITY_NOT_RESTRICTED = 13; // 0xd