/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/ |
D | ConnectivityManagerShimImpl.java | 90 .removeCapability(NET_CAPABILITY_NOT_RESTRICTED) in makeEmptyCapabilitiesRequest() 91 .removeCapability(NET_CAPABILITY_TRUSTED) in makeEmptyCapabilitiesRequest() 92 .removeCapability(NET_CAPABILITY_NOT_VPN); in makeEmptyCapabilitiesRequest()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkProviderTest.kt | 145 .removeCapability(NET_CAPABILITY_TRUSTED) in <lambda>() 159 removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED) in <lambda>() 160 removeCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET) in <lambda>() 261 .removeCapability(NET_CAPABILITY_TRUSTED) in <lambda>() 283 .removeCapability(NET_CAPABILITY_TRUSTED) in <lambda>() 308 removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED) in <lambda>()
|
D | NetworkCapabilitiesTest.java | 146 netCap.removeCapability(NET_CAPABILITY_NOT_METERED); in testMaybeMarkCapabilitiesRestricted() 160 netCap.removeCapability(NET_CAPABILITY_NOT_METERED); in testMaybeMarkCapabilitiesRestricted() 172 netCap.removeCapability(NET_CAPABILITY_NOT_METERED); in testMaybeMarkCapabilitiesRestricted() 186 netCap.removeCapability(NET_CAPABILITY_NOT_METERED); in testMaybeMarkCapabilitiesRestricted() 219 .removeCapability(NET_CAPABILITY_NOT_RESTRICTED); in testDescribeImmutableDifferences() 488 netCap.removeCapability(NET_CAPABILITY_NOT_METERED); in testPrioritizeLatencyAndBandwidth() 499 netCap.removeCapability(NET_CAPABILITY_NOT_METERED); in testPrioritizeLatencyAndBandwidth() 557 network.removeCapability(NET_CAPABILITY_NOT_RESTRICTED); in testForbiddenCapabilities() 577 nc.removeCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testConnectivityManagedCapabilities() 580 nc.removeCapability(NET_CAPABILITY_FOREGROUND); in testConnectivityManagedCapabilities() [all …]
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | NetworkCapabilitiesUtilsTest.kt | 88 nc.removeCapability(NET_CAPABILITY_OEM_PAID) in testInferRestrictedCapability() 93 nc.removeCapability(NET_CAPABILITY_INTERNET) in testInferRestrictedCapability() 98 nc.removeCapability(NET_CAPABILITY_CBS) in testInferRestrictedCapability()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NetworkScoreTest.kt | 134 removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED) in <lambda>() 135 removeCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET) in <lambda>() 136 removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in <lambda>() 139 removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN) in <lambda>()
|
D | NetworkRequestTest.java | 108 assertFalse(new NetworkRequest.Builder().removeCapability(NET_CAPABILITY_MMS).build() in testCapabilities() 139 .removeCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED).build() in testTemporarilyNotMeteredCapability() 366 builder.removeCapability(ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED); in testSetIncludeOtherUidNetworks() 371 otherUidsBuilder.removeCapability(ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED); in testSetIncludeOtherUidNetworks() 432 .removeCapability(ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED).build(); in testBypassingVcn() 451 .removeCapability(ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED).build(); in testBypassingVcn() 549 .removeCapability(NET_CAPABILITY_MMS) in testBuildRequestFromExistingRequestWithBuilder()
|
D | NetworkAgentTest.kt | 306 removeCapability(NET_CAPABILITY_TRUSTED) in makeTestNetworkRequest() 307 removeCapability(NET_CAPABILITY_INTERNET) in makeTestNetworkRequest() 320 if (transports.size > 0) removeCapability(NET_CAPABILITY_NOT_RESTRICTED) in makeTestNetworkRequest() 592 removeCapability(NET_CAPABILITY_NOT_RESTRICTED) in doTestAllowedUids() 910 .removeCapability(NET_CAPABILITY_NOT_VPN) in testSetUnderlyingNetworksAndVpnSpecifier() 911 .removeCapability(NET_CAPABILITY_TRUSTED) // TODO: add to VPN! in testSetUnderlyingNetworksAndVpnSpecifier() 919 removeCapability(NET_CAPABILITY_NOT_VPN) in testSetUnderlyingNetworksAndVpnSpecifier() 1082 .removeCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED) in testTemporarilyUnmeteredCapability() 1214 ncAgent1.removeCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in testRegisterBestMatchingNetworkCallback()
|
D | EthernetNetworkUpdateRequestTest.java | 47 .removeCapability(NET_CAPABILITY_NOT_RESTRICTED).build();
|
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | TestNetworkUtils.java | 73 .removeCapability(NET_CAPABILITY_TRUSTED) in setupAndGetTestNetwork() 74 .removeCapability(NET_CAPABILITY_NOT_VPN) in setupAndGetTestNetwork()
|
/packages/modules/Connectivity/tests/integration/util/com/android/server/ |
D | NetworkAgentWrapper.java | 152 mNetworkCapabilities.removeCapability(NET_CAPABILITY_NOT_VPN); in NetworkAgentWrapper() 155 mNetworkCapabilities.removeCapability(NET_CAPABILITY_NOT_SUSPENDED); in NetworkAgentWrapper() 312 public void removeCapability(int capability) { in removeCapability() method in NetworkAgentWrapper 313 mNetworkCapabilities.removeCapability(capability); in removeCapability() 358 removeCapability(NET_CAPABILITY_NOT_SUSPENDED); in suspend()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | VpnPreferenceController.java | 61 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN) 62 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) 63 .removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED)
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | TestNetworkTracker.kt | 127 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN) 128 .removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED)
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConference.java | 178 removeCapability(Connection.CAPABILITY_MANAGE_CONFERENCE); in onConnectionAdded() 211 removeCapability(Connection.CAPABILITY_HOLD); in setHoldable()
|
D | TelephonyConferenceBase.java | 214 public void removeCapability(int capability) { in removeCapability() method in TelephonyConferenceBase
|
/packages/modules/Connectivity/thread/tests/utils/src/android/net/thread/utils/ |
D | TapTestNetworkTracker.java | 139 .removeCapability(NET_CAPABILITY_TRUSTED) in newNetworkRequest() 147 .removeCapability(NET_CAPABILITY_TRUSTED) in newNetworkCapabilities()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | ParcelableCallUtils.java | 174 capabilities = removeCapability( in toParcelableCall() 179 capabilities = removeCapability(capabilities, in toParcelableCall() 181 capabilities = removeCapability(capabilities, in toParcelableCall() 592 private static int removeCapability(int capabilities, int capability) { in removeCapability() method in ParcelableCallUtils
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/ |
D | CSSatelliteNetworkTest.kt | 222 removeCapability(NET_CAPABILITY_NOT_RESTRICTED) in satelliteNc() 224 removeCapability(NET_CAPABILITY_NOT_BANDWIDTH_CONSTRAINED) in satelliteNc()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiShellCommandTest.java | 917 .removeCapability(NET_CAPABILITY_INTERNET) in testAddNetworkRequest() 932 .removeCapability(NET_CAPABILITY_INTERNET) in testAddNetworkRequest() 948 .removeCapability(NET_CAPABILITY_INTERNET) in testAddNetworkRequest() 964 .removeCapability(NET_CAPABILITY_INTERNET) in testAddNetworkRequest() 980 .removeCapability(NET_CAPABILITY_INTERNET) in testAddNetworkRequest() 996 .removeCapability(NET_CAPABILITY_INTERNET) in testAddNetworkRequest()
|
D | UntrustedWifiNetworkFactoryTest.java | 58 mNetworkCapabilities.removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED); in setUp()
|
D | RestrictedWifiNetworkFactoryTest.java | 63 mNetworkCapabilities.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in setUp()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsNetworkManager.java | 306 builder.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in MmsNetworkManager() 310 builder.removeCapability(NetworkCapabilities in MmsNetworkManager()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkRequest.java | 361 public Builder removeCapability(@NetworkCapabilities.NetCapability int capability) { in removeCapability() method in NetworkRequest.Builder 362 mNetworkCapabilities.removeCapability(capability); in removeCapability()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnSettings.java | 95 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN) 96 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) 97 .removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED)
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | CarrierPrivilegeAuthenticatorTest.java | 335 ncBuilder.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in testNetworkCapabilitiesContainOneSubId() 351 ncBuilder.removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in testNetworkCapabilitiesContainTwoSubIds()
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 431 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN) in startVpn() 432 .removeCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET) in startVpn() 465 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN) in stopVpn() 466 .removeCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET) in stopVpn() 875 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN) in makeVpnNetworkRequest() 1953 .removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN) in doTestDropPacketToVpnAddress() 1954 .removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED) in doTestDropPacketToVpnAddress()
|