/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/ |
D | TestNetworkTracker.kt | 70 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN) 71 .removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED)
|
/frameworks/base/tests/vcn/java/com/android/server/vcn/ |
D | UnderlyingNetworkTrackerTest.java | 82 .removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED) 86 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED) 298 .removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED) in getExpectedRequestBase() 299 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in getExpectedRequestBase() 300 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED); in getExpectedRequestBase()
|
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/ |
D | NetworkCapabilitiesUtilsTest.kt | 102 nc.removeCapability(NET_CAPABILITY_OEM_PAID) in testInferRestrictedCapability() 107 nc.removeCapability(NET_CAPABILITY_INTERNET) in testInferRestrictedCapability()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | ApnContextTest.java | 122 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in testNetworkRequestNormal() 149 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in testNetworkRequestDetach()
|
D | DcTrackerTest.java | 1599 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in testTrySetupRestrictedDataDisabled() 1627 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in testTrySetupRestrictedRoamingDisabled()
|
/frameworks/base/services/core/java/com/android/server/vcn/ |
D | UnderlyingNetworkTracker.java | 361 .removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED) in getBaseNetworkRequestBuilder() 362 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in getBaseNetworkRequestBuilder() 363 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED); in getBaseNetworkRequestBuilder()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnection.java | 335 capabilities = removeCapability(capabilities, in applyLocalCallCapabilities() 355 capabilities = removeCapability(capabilities, in applyRemoteCallCapabilities() 1063 capabilities = removeCapability(capabilities, in updateMediaCapabilities()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CaptivePortalLoginActivity.java | 283 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in requestNetworkForCaptivePortal()
|
/frameworks/base/services/core/java/com/android/server/ |
D | VcnManagementService.java | 908 ncBuilder.removeCapability( in getUnderlyingNetworkPolicy() 915 ncBuilder.removeCapability( in getUnderlyingNetworkPolicy()
|
/frameworks/base/core/java/com/android/ims/internal/uce/common/ |
D | CapInfo.java | 780 public void removeCapability(String featureTagName) { in removeCapability() method in CapInfo
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | DeviceStateMonitor.java | 103 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED)
|
D | Connection.java | 978 public static int removeCapability(int capabilities, int capability) { in removeCapability() method in Connection
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssNetworkConnectivityHandler.java | 295 networkRequestBuilder.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN); in registerNetworkCallbacks()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataConnection.java | 1913 builder.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in getNetworkCapabilities() 1922 builder.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in getNetworkCapabilities() 1935 builder.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in getNetworkCapabilities() 1937 builder.removeCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in getNetworkCapabilities() 1969 builder.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VCN_MANAGED); in getNetworkCapabilities()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerBaseTest.java | 417 builder.removeCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED); in setConnectivityCommon()
|
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/ |
D | JobInfo.java | 1162 builder.removeCapability(NET_CAPABILITY_NOT_VPN); in setRequiredNetworkType()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | ConnectivityControllerTest.java | 247 createCapabilitiesBuilder().removeCapability(NET_CAPABILITY_NOT_SUSPENDED) in testInsane()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | ConnectivityController.java | 646 builder.removeCapability(NET_CAPABILITY_NOT_METERED); in isRelaxedSatisfied()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 464 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN) in Vpn() 1268 capsBuilder.removeCapability(NET_CAPABILITY_NOT_METERED);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | TelephonyMetricsTest.java | 324 caps.removeCapability(NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED); in testWriteNetworkCapabilitiesChangedEvent()
|
/frameworks/base/tests/vcn/java/com/android/server/ |
D | VcnManagementServiceTest.java | 1038 .removeCapability(NET_CAPABILITY_NOT_RESTRICTED) in testGetUnderlyingNetworkPolicyVcnWifi_unrestrictingExistingNetworkRequiresRestart()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSwitcherTest.java | 1470 netCap.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in addInternetNetworkRequest()
|
/frameworks/base/core/api/ |
D | test-lint-baseline.txt | 226 BuilderSetStyle: android.net.NetworkCapabilities.Builder#removeCapability(int):
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 11893 HSPLandroid/net/NetworkCapabilities;->removeCapability(I)Landroid/net/NetworkCapabilities; 11979 HSPLandroid/net/NetworkRequest$Builder;->removeCapability(I)Landroid/net/NetworkRequest$Builder;+]L…
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 11885 HSPLandroid/net/NetworkCapabilities;->removeCapability(I)Landroid/net/NetworkCapabilities; 11971 HSPLandroid/net/NetworkRequest$Builder;->removeCapability(I)Landroid/net/NetworkRequest$Builder;+]L…
|