/frameworks/base/tests/net/common/java/android/net/ |
D | NetworkCapabilitiesTest.java | 95 netCap.removeCapability(NET_CAPABILITY_NOT_METERED); in testMaybeMarkCapabilitiesRestricted() 109 netCap.removeCapability(NET_CAPABILITY_NOT_METERED); in testMaybeMarkCapabilitiesRestricted() 121 netCap.removeCapability(NET_CAPABILITY_NOT_METERED); in testMaybeMarkCapabilitiesRestricted() 135 netCap.removeCapability(NET_CAPABILITY_NOT_METERED); in testMaybeMarkCapabilitiesRestricted() 168 .removeCapability(NET_CAPABILITY_NOT_RESTRICTED); in testDescribeImmutableDifferences() 328 network.removeCapability(NET_CAPABILITY_NOT_RESTRICTED); in testUnwantedCapabilities() 348 nc.removeCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testConnectivityManagedCapabilities() 351 nc.removeCapability(NET_CAPABILITY_FOREGROUND); in testConnectivityManagedCapabilities() 354 nc.removeCapability(NET_CAPABILITY_PARTIAL_CONNECTIVITY); in testConnectivityManagedCapabilities() 378 nc1.removeCapability(NET_CAPABILITY_INTERNET); in testEqualsNetCapabilities() [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkRequest.java | 194 public Builder removeCapability(@NetworkCapabilities.NetCapability int capability) { in removeCapability() method in NetworkRequest.Builder 195 mNetworkCapabilities.removeCapability(capability); in removeCapability()
|
D | NetworkCapabilities.java | 446 public @NonNull NetworkCapabilities removeCapability(@NetCapability int capability) { in removeCapability() method in NetworkCapabilities 465 removeCapability(capability); in setCapability() 615 removeCapability(NET_CAPABILITY_NOT_RESTRICTED); in maybeMarkCapabilitiesRestricted()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | UntrustedWifiNetworkFactoryTest.java | 57 mNetworkCapabilities.removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED); in setUp()
|
/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/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | ApnContextTest.java | 128 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in testNetworkRequestNormal() 155 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in testNetworkRequestDetach()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 211 .removeCapability(NET_CAPABILITY_TRUSTED) in connect()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnection.java | 277 capabilities = removeCapability(capabilities, in applyLocalCallCapabilities() 297 capabilities = removeCapability(capabilities, in applyRemoteCallCapabilities() 954 capabilities = removeCapability(capabilities, in updateMediaCapabilities()
|
/frameworks/base/packages/OsuLogin/src/com/android/hotspot2/osu/ |
D | OsuLoginActivity.java | 157 NetworkCapabilities.TRANSPORT_WIFI).removeCapability( in onCreate()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | UpstreamNetworkMonitorTest.java | 410 dunAgent.networkCapabilities.removeCapability(NET_CAPABILITY_INTERNET); in testGetCurrentPreferredUpstream() 481 dunAgent.networkCapabilities.removeCapability(NET_CAPABILITY_INTERNET); in testLocalPrefixes()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 547 mNetworkCapabilities.removeCapability(NET_CAPABILITY_NOT_VPN); in MockNetworkAgent() 672 public void removeCapability(int capability) { in removeCapability() method in ConnectivityServiceTest.MockNetworkAgent 673 mNetworkCapabilities.removeCapability(capability); in removeCapability() 2162 mWiFiNetworkAgent.removeCapability(NET_CAPABILITY_NOT_METERED); in testMultipleLingering() 4992 mCellNetworkAgent.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in testStatsIfacesChanged() 5349 .removeCapability(NET_CAPABILITY_NOT_VPN).build(); in testVpnNetworkActive() 5353 .removeCapability(NET_CAPABILITY_NOT_VPN) in testVpnNetworkActive() 5569 .removeCapability(NET_CAPABILITY_NOT_VPN) in testVpnSetUnderlyingNetworks() 5667 .removeCapability(NET_CAPABILITY_NOT_VPN) in testNullUnderlyingNetworks() 5742 mCellNetworkAgent.removeCapability(NET_CAPABILITY_NOT_METERED); in testIsActiveNetworkMeteredOverCell() [all …]
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CaptivePortalLoginActivity.java | 285 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in requestNetworkForCaptivePortal()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | DeviceStateMonitor.java | 93 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED)
|
D | Connection.java | 876 public static int removeCapability(int capabilities, int capability) { in removeCapability() method in Connection
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssNetworkConnectivityHandler.java | 186 networkRequestBuilder.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN); in registerNetworkCallbacks()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Conference.java | 217 public void removeCapability(int capability) { in removeCapability() method in Conference
|
D | Connection.java | 686 public void removeCapability(int capability) { in removeCapability() method in Connection
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataConnection.java | 1242 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in getNetworkCapabilities() 1249 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in getNetworkCapabilities() 1251 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_DUN); in getNetworkCapabilities() 1290 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_CONGESTED); in getNetworkCapabilities()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerBaseTest.java | 255 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 | 1132 builder.removeCapability(NET_CAPABILITY_NOT_VPN); in setRequiredNetworkType()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 1068 netCap.removeCapability(NET_CAPABILITY_NOT_VPN); in createDefaultNetworkCapabilitiesForUid() 5764 newNc.removeCapability(NET_CAPABILITY_VALIDATED); in mixInCapabilities() 5769 newNc.removeCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in mixInCapabilities() 5772 newNc.removeCapability(NET_CAPABILITY_FOREGROUND); in mixInCapabilities() 5777 newNc.removeCapability(NET_CAPABILITY_NOT_SUSPENDED); in mixInCapabilities() 5784 newNc.removeCapability(NET_CAPABILITY_PARTIAL_CONNECTIVITY); in mixInCapabilities()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSwitcherTest.java | 1110 netCap.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in addInternetNetworkRequest()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ClientModeImpl.java | 4646 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED); in getCapabilities() 4654 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in getCapabilities() 4664 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in getCapabilities() 4678 result.removeCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in getCapabilities()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 243 mNetworkCapabilities.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN); in Vpn()
|