/frameworks/base/tests/net/java/android/net/ |
D | NetworkCapabilitiesTest.java | 26 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 …]
|
D | ConnectivityManagerTest.java | 25 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/ |
D | NetworkCapabilities.java | 129 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/ |
D | TelephonyNetworkFactoryTest.java | 126 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/ |
D | EthernetTracker.java | 159 return nc != null && !nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in isRestrictedInterface() 314 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in createDefaultNetworkCapabilities()
|
D | EthernetNetworkFactory.java | 279 return mCapabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in isRestricted()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSwitcherTest.java | 157 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/ |
D | ConnectivityServiceMock.java | 20 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/ |
D | TelephonyNetworkFactory.java | 119 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in makeNetworkFilter()
|
D | ApnContext.java | 462 NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) == false) { in hasNoRestrictedRequests()
|
D | DataConnection.java | 1012 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in getNetworkCapabilities()
|
D | DcTracker.java | 820 .NET_CAPABILITY_NOT_RESTRICTED) && !netCaps.hasCapability( in reevaluateDataConnections()
|
/frameworks/base/core/proto/android/net/ |
D | networkcapabilities.proto | 92 NET_CAPABILITY_NOT_RESTRICTED = 13; enumerator
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 65 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED)
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PhoneSwitcher.java | 147 netCap.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in PhoneSwitcher()
|
/frameworks/opt/net/lowpan/service/java/com/android/server/lowpan/ |
D | LowpanInterfaceTracker.java | 547 mNetworkCapabilities.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in LowpanInterfaceTracker()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CaptivePortalLoginActivity.java | 296 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in requestNetworkForCaptivePortal()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 32 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/ |
D | WifiAwareDataPathStateManager.java | 136 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in start()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 40 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/ |
D | WifiStateMachine.java | 826 mNetworkCapabilitiesFilter.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in WifiStateMachine()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 17125 field public static final int NET_CAPABILITY_NOT_RESTRICTED = 13; // 0xd
|
/frameworks/base/config/ |
D | hiddenapi-public-dex.txt | 25538 Landroid/net/NetworkCapabilities;->NET_CAPABILITY_NOT_RESTRICTED:I
|
/frameworks/base/api/ |
D | current.txt | 27210 field public static final int NET_CAPABILITY_NOT_RESTRICTED = 13; // 0xd
|