Searched refs:addUnwantedCapability (Results 1 – 4 of 4) sorted by relevance
311 request.addUnwantedCapability(NET_CAPABILITY_WIFI_P2P); in testUnwantedCapabilities()312 request.addUnwantedCapability(NET_CAPABILITY_NOT_METERED); in testUnwantedCapabilities()322 request.addUnwantedCapability(NET_CAPABILITY_NOT_RESTRICTED); in testUnwantedCapabilities()373 nc1.addUnwantedCapability(NET_CAPABILITY_INTERNET); in testEqualsNetCapabilities()375 nc2.addUnwantedCapability(NET_CAPABILITY_INTERNET); in testEqualsNetCapabilities()410 nc1.addUnwantedCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testCombineCapabilities()419 nc1.addUnwantedCapability(NET_CAPABILITY_NOT_ROAMING); in testCombineCapabilities()477 nc2.addUnwantedCapability(cap); in testSetCapabilities()562 nc1.addUnwantedCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testSet()571 nc1.addUnwantedCapability(NET_CAPABILITY_NOT_ROAMING); in testSet()
239 public Builder addUnwantedCapability(@NetworkCapabilities.NetCapability int capability) { in addUnwantedCapability() method in NetworkRequest.Builder240 mNetworkCapabilities.addUnwantedCapability(capability); in addUnwantedCapability()
429 public void addUnwantedCapability(@NetCapability int capability) { in addUnwantedCapability() method in NetworkCapabilities
377 .addUnwantedCapability(NET_CAPABILITY_OEM_PAID) in testRequiredNetwork()