Home
last modified time | relevance | path

Searched refs:removeCapability (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/
DTestNetworkTracker.kt70 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN)
71 .removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED)
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DUnderlyingNetworkTrackerTest.java82 .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/
DNetworkCapabilitiesUtilsTest.kt102 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/
DApnContextTest.java122 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in testNetworkRequestNormal()
149 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in testNetworkRequestDetach()
DDcTrackerTest.java1599 .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/
DUnderlyingNetworkTracker.java361 .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/
DImsPhoneConnection.java335 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/
DCaptivePortalLoginActivity.java283 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in requestNetworkForCaptivePortal()
/frameworks/base/services/core/java/com/android/server/
DVcnManagementService.java908 ncBuilder.removeCapability( in getUnderlyingNetworkPolicy()
915 ncBuilder.removeCapability( in getUnderlyingNetworkPolicy()
/frameworks/base/core/java/com/android/ims/internal/uce/common/
DCapInfo.java780 public void removeCapability(String featureTagName) { in removeCapability() method in CapInfo
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDeviceStateMonitor.java103 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED)
DConnection.java978 public static int removeCapability(int capabilities, int capability) { in removeCapability() method in Connection
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssNetworkConnectivityHandler.java295 networkRequestBuilder.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN); in registerNetworkCallbacks()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java1913 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/
DNetworkControllerBaseTest.java417 builder.removeCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED); in setConnectivityCommon()
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DJobInfo.java1162 builder.removeCapability(NET_CAPABILITY_NOT_VPN); in setRequiredNetworkType()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java247 createCapabilitiesBuilder().removeCapability(NET_CAPABILITY_NOT_SUSPENDED) in testInsane()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DConnectivityController.java646 builder.removeCapability(NET_CAPABILITY_NOT_METERED); in isRelaxedSatisfied()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java464 .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/
DTelephonyMetricsTest.java324 caps.removeCapability(NetworkCapabilities.NET_CAPABILITY_TEMPORARILY_NOT_METERED); in testWriteNetworkCapabilitiesChangedEvent()
/frameworks/base/tests/vcn/java/com/android/server/
DVcnManagementServiceTest.java1038 .removeCapability(NET_CAPABILITY_NOT_RESTRICTED) in testGetUnderlyingNetworkPolicyVcnWifi_unrestrictingExistingNetworkRequiresRestart()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSwitcherTest.java1470 netCap.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in addInternetNetworkRequest()
/frameworks/base/core/api/
Dtest-lint-baseline.txt226 BuilderSetStyle: android.net.NetworkCapabilities.Builder#removeCapability(int):
/frameworks/base/boot/
Dboot-image-profile.txt11893 HSPLandroid/net/NetworkCapabilities;->removeCapability(I)Landroid/net/NetworkCapabilities;
11979 HSPLandroid/net/NetworkRequest$Builder;->removeCapability(I)Landroid/net/NetworkRequest$Builder;+]L…
/frameworks/base/config/
Dboot-image-profile.txt11885 HSPLandroid/net/NetworkCapabilities;->removeCapability(I)Landroid/net/NetworkCapabilities;
11971 HSPLandroid/net/NetworkRequest$Builder;->removeCapability(I)Landroid/net/NetworkRequest$Builder;+]L…

12