Home
last modified time | relevance | path

Searched refs:addForbiddenCapability (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java457 request.addForbiddenCapability(NET_CAPABILITY_WIFI_P2P); in testForbiddenCapabilities()
458 request.addForbiddenCapability(NET_CAPABILITY_NOT_METERED); in testForbiddenCapabilities()
468 request.addForbiddenCapability(NET_CAPABILITY_NOT_RESTRICTED); in testForbiddenCapabilities()
520 nc1.addForbiddenCapability(NET_CAPABILITY_INTERNET); in testEqualsNetCapabilities()
522 nc2.addForbiddenCapability(NET_CAPABILITY_INTERNET); in testEqualsNetCapabilities()
585 nc1.addForbiddenCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testCombineCapabilities()
598 nc1.addForbiddenCapability(NET_CAPABILITY_NOT_ROAMING); in testCombineCapabilities()
707 nc2.addForbiddenCapability(cap); in testSetCapabilities()
779 nc1.addForbiddenCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testSet()
792 nc1.addForbiddenCapability(NET_CAPABILITY_NOT_ROAMING); in testSet()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java328 public Builder addForbiddenCapability(@NetworkCapabilities.NetCapability int capability) { in addForbiddenCapability() method in NetworkRequest.Builder
329 mNetworkCapabilities.addForbiddenCapability(capability); in addForbiddenCapability()
DNetworkCapabilities.java610 public void addForbiddenCapability(@NetCapability int capability) { in addForbiddenCapability() method in NetworkCapabilities
/packages/modules/Connectivity/framework/api/
Dmodule-lib-current.txt133 method @NonNull public android.net.NetworkRequest.Builder addForbiddenCapability(int);