Searched refs:addForbiddenCapability (Results 1 – 4 of 4) sorted by relevance
457 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()
328 public Builder addForbiddenCapability(@NetworkCapabilities.NetCapability int capability) { in addForbiddenCapability() method in NetworkRequest.Builder329 mNetworkCapabilities.addForbiddenCapability(capability); in addForbiddenCapability()
610 public void addForbiddenCapability(@NetCapability int capability) { in addForbiddenCapability() method in NetworkCapabilities
133 method @NonNull public android.net.NetworkRequest.Builder addForbiddenCapability(int);