Home
last modified time | relevance | path

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

12

/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java95 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/
DNetworkRequest.java194 public Builder removeCapability(@NetworkCapabilities.NetCapability int capability) { in removeCapability() method in NetworkRequest.Builder
195 mNetworkCapabilities.removeCapability(capability); in removeCapability()
DNetworkCapabilities.java446 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/
DUntrustedWifiNetworkFactoryTest.java57 mNetworkCapabilities.removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java72 .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/
DApnContextTest.java128 .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/
DOsuNetworkConnection.java211 .removeCapability(NET_CAPABILITY_TRUSTED) in connect()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneConnection.java277 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/
DOsuLoginActivity.java157 NetworkCapabilities.TRANSPORT_WIFI).removeCapability( in onCreate()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitorTest.java410 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/
DConnectivityServiceTest.java547 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/
DCaptivePortalLoginActivity.java285 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in requestNetworkForCaptivePortal()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDeviceStateMonitor.java93 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED)
DConnection.java876 public static int removeCapability(int capabilities, int capability) { in removeCapability() method in Connection
/frameworks/base/services/core/java/com/android/server/location/
DGnssNetworkConnectivityHandler.java186 networkRequestBuilder.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN); in registerNetworkCallbacks()
/frameworks/base/telecomm/java/android/telecom/
DConference.java217 public void removeCapability(int capability) { in removeCapability() method in Conference
DConnection.java686 public void removeCapability(int capability) { in removeCapability() method in Connection
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java1242 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/
DNetworkControllerBaseTest.java255 mNetCapabilities.removeCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED); in setConnectivityCommon()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DConnectivityController.java382 .removeCapability(NET_CAPABILITY_NOT_METERED); in isRelaxedSatisfied()
/frameworks/base/core/java/android/app/job/
DJobInfo.java1132 builder.removeCapability(NET_CAPABILITY_NOT_VPN); in setRequiredNetworkType()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1068 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/
DPhoneSwitcherTest.java1110 netCap.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in addInternetNetworkRequest()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java4646 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/
DVpn.java243 mNetworkCapabilities.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN); in Vpn()

12