/frameworks/base/tests/net/integration/util/com/android/server/ |
D | NetworkAgentWrapper.java | 94 mNetworkCapabilities.removeCapability(NET_CAPABILITY_NOT_VPN); in NetworkAgentWrapper() 97 mNetworkCapabilities.removeCapability(NET_CAPABILITY_NOT_SUSPENDED); in NetworkAgentWrapper() 179 public void removeCapability(int capability) { in removeCapability() method in NetworkAgentWrapper 180 mNetworkCapabilities.removeCapability(capability); in removeCapability() 214 removeCapability(NET_CAPABILITY_NOT_SUSPENDED); in suspend()
|
/frameworks/base/tests/net/common/java/android/net/ |
D | NetworkCapabilitiesTest.java | 127 netCap.removeCapability(NET_CAPABILITY_NOT_METERED); in testMaybeMarkCapabilitiesRestricted() 141 netCap.removeCapability(NET_CAPABILITY_NOT_METERED); in testMaybeMarkCapabilitiesRestricted() 153 netCap.removeCapability(NET_CAPABILITY_NOT_METERED); in testMaybeMarkCapabilitiesRestricted() 167 netCap.removeCapability(NET_CAPABILITY_NOT_METERED); in testMaybeMarkCapabilitiesRestricted() 200 .removeCapability(NET_CAPABILITY_NOT_RESTRICTED); in testDescribeImmutableDifferences() 387 network.removeCapability(NET_CAPABILITY_NOT_RESTRICTED); in testUnwantedCapabilities() 407 nc.removeCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testConnectivityManagedCapabilities() 410 nc.removeCapability(NET_CAPABILITY_FOREGROUND); in testConnectivityManagedCapabilities() 413 nc.removeCapability(NET_CAPABILITY_PARTIAL_CONNECTIVITY); in testConnectivityManagedCapabilities() 437 nc1.removeCapability(NET_CAPABILITY_INTERNET); in testEqualsNetCapabilities() [all …]
|
D | NetworkProviderTest.kt | 117 removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED) in <lambda>() 118 removeCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET) in <lambda>()
|
/frameworks/libs/net/common/devicetests/com/android/testutils/ |
D | TestNetworkTracker.kt | 69 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN) 70 .removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED)
|
/frameworks/base/core/java/android/net/ |
D | NetworkRequest.java | 195 public Builder removeCapability(@NetworkCapabilities.NetCapability int capability) { in removeCapability() method in NetworkRequest.Builder 196 mNetworkCapabilities.removeCapability(capability); in removeCapability()
|
D | NetworkCapabilities.java | 490 public @NonNull NetworkCapabilities removeCapability(@NetCapability int capability) { in removeCapability() method in NetworkCapabilities 510 removeCapability(capability); in setCapability() 671 removeCapability(NET_CAPABILITY_NOT_RESTRICTED); in maybeMarkCapabilitiesRestricted() 2212 public Builder removeCapability(@NetCapability final int capability) { in removeCapability() method in NetworkCapabilities.Builder
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 72 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN) 73 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) 74 .removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED)
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | UntrustedWifiNetworkFactoryTest.java | 57 mNetworkCapabilities.removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | ApnContextTest.java | 127 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in testNetworkRequestNormal() 154 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in testNetworkRequestDetach()
|
D | DcTrackerTest.java | 1163 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in testTrySetupRestrictedDataDisabled() 1191 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in testTrySetupRestrictedRoamingDisabled()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | UpstreamNetworkMonitor.java | 224 .removeCapability(NET_CAPABILITY_NOT_RESTRICTED) in registerMobileNetworkRequest() 601 builder.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in networkCapabilitiesForType()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 211 .removeCapability(NET_CAPABILITY_TRUSTED) in connect()
|
/frameworks/base/packages/OsuLogin/src/com/android/hotspot2/osu/ |
D | OsuLoginActivity.java | 157 NetworkCapabilities.TRANSPORT_WIFI).removeCapability( in onCreate()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnection.java | 313 capabilities = removeCapability(capabilities, in applyLocalCallCapabilities() 333 capabilities = removeCapability(capabilities, in applyRemoteCallCapabilities() 1028 capabilities = removeCapability(capabilities, in updateMediaCapabilities()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | NetworkNotificationManagerTest.java | 77 VPN_CAPABILITIES.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN);
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | UpstreamNetworkMonitorTest.java | 410 dunAgent.networkCapabilities.removeCapability(NET_CAPABILITY_INTERNET); in testGetCurrentPreferredUpstream() 481 dunAgent.networkCapabilities.removeCapability(NET_CAPABILITY_INTERNET); in testLocalPrefixes()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CaptivePortalLoginActivity.java | 284 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in requestNetworkForCaptivePortal()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 2001 mWiFiNetworkAgent.removeCapability(NET_CAPABILITY_NOT_METERED); in testMultipleLingering() 4822 mCellNetworkAgent.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in testStatsIfacesChanged() 5208 .removeCapability(NET_CAPABILITY_NOT_VPN).build(); in testVpnNetworkActive() 5212 .removeCapability(NET_CAPABILITY_NOT_VPN) in testVpnNetworkActive() 5435 .removeCapability(NET_CAPABILITY_NOT_VPN) in testVpnStartsWithUnderlyingCaps() 5476 .removeCapability(NET_CAPABILITY_NOT_VPN) in testVpnSetUnderlyingNetworks() 5542 mCellNetworkAgent.removeCapability(NET_CAPABILITY_NOT_SUSPENDED); in testVpnSetUnderlyingNetworks() 5580 mCellNetworkAgent.removeCapability(NET_CAPABILITY_NOT_SUSPENDED); in testVpnSetUnderlyingNetworks() 5632 .removeCapability(NET_CAPABILITY_NOT_VPN) in testNullUnderlyingNetworks() 5709 mCellNetworkAgent.removeCapability(NET_CAPABILITY_NOT_METERED); in testIsActiveNetworkMeteredOverCell() [all …]
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssNetworkConnectivityHandler.java | 186 networkRequestBuilder.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN); in registerNetworkCallbacks()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | DeviceStateMonitor.java | 103 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED)
|
D | Connection.java | 925 public static int removeCapability(int capabilities, int capability) { in removeCapability() method in Connection
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataConnection.java | 1421 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in getNetworkCapabilities() 1426 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in getNetworkCapabilities() 1428 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in getNetworkCapabilities() 1452 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED); in getNetworkCapabilities()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerBaseTest.java | 263 mNetCapabilities.removeCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED); in setConnectivityCommon()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | ConnectivityController.java | 382 .removeCapability(NET_CAPABILITY_NOT_METERED); in isRelaxedSatisfied()
|
/frameworks/base/core/java/android/app/job/ |
D | JobInfo.java | 1128 builder.removeCapability(NET_CAPABILITY_NOT_VPN); in setRequiredNetworkType()
|