Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/
DNetworkCapabilitiesTest.java23 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED;
62 assertTrue(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in testMaybeMarkCapabilitiesRestricted()
69 assertTrue(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in testMaybeMarkCapabilitiesRestricted()
74 assertTrue(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in testMaybeMarkCapabilitiesRestricted()
82 assertTrue(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in testMaybeMarkCapabilitiesRestricted()
88 assertTrue(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in testMaybeMarkCapabilitiesRestricted()
95 assertFalse(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in testMaybeMarkCapabilitiesRestricted()
100 assertFalse(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in testMaybeMarkCapabilitiesRestricted()
108 assertFalse(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in testMaybeMarkCapabilitiesRestricted()
114 assertFalse(netCap.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in testMaybeMarkCapabilitiesRestricted()
DConnectivityManagerTest.java25 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED;
71 NET_CAPABILITY_NOT_RESTRICTED, in verifyUnrestrictedNetworkCapabilities()
85 assertFalse(nc.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in verifyRestrictedMobileNetworkCapabilities()
159 NET_CAPABILITY_NOT_RESTRICTED, NET_CAPABILITY_NOT_VPN, in testNetworkCapabilitiesForTypeWifiP2p()
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java161 public static final int NET_CAPABILITY_NOT_RESTRICTED = 13; field in NetworkCapabilities
226 (1 << NET_CAPABILITY_NOT_RESTRICTED) |
379 removeCapability(NET_CAPABILITY_NOT_RESTRICTED); in maybeMarkCapabilitiesRestricted()
861 case NET_CAPABILITY_NOT_RESTRICTED: capabilities += "NOT_RESTRICTED"; break; in toString()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactoryTest.java115 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED). in makeSubSpecificDefaultRequest()
123 addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED). in makeSubSpecificMmsRequest()
/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;
960 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.java949 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in getNetworkCapabilities()
DDcTracker.java952 .NET_CAPABILITY_NOT_RESTRICTED)) { in reevaluateDataConnections()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java452 mNetworkCapabilities.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in initNetworkCapabilities()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSwitcher.java146 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in PhoneSwitcher()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java65 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED)
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java266 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in requestNetworkForCaptivePortal()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java110 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in start()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java30 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED;
847 netCap.addCapability(NET_CAPABILITY_NOT_RESTRICTED); in createInternetRequestForTransport()
4083 if (networkCapabilities.hasCapability(NET_CAPABILITY_NOT_RESTRICTED) == false) { in enforceNetworkRequestPermissions()
4514 if (!nc.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)) { in getNetworkPermission()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1614 assertFalse(nc.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in tryNetworkFactoryRequests()
1616 assertTrue(nc.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)); in tryNetworkFactoryRequests()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java942 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/api/
Dcurrent.txt25579 field public static final int NET_CAPABILITY_NOT_RESTRICTED = 13; // 0xd
Dsystem-current.txt27775 field public static final int NET_CAPABILITY_NOT_RESTRICTED = 13; // 0xd