Searched refs:addUnwantedCapability (Results 1 – 5 of 5) sorted by relevance
370 request.addUnwantedCapability(NET_CAPABILITY_WIFI_P2P); in testUnwantedCapabilities()371 request.addUnwantedCapability(NET_CAPABILITY_NOT_METERED); in testUnwantedCapabilities()381 request.addUnwantedCapability(NET_CAPABILITY_NOT_RESTRICTED); in testUnwantedCapabilities()432 nc1.addUnwantedCapability(NET_CAPABILITY_INTERNET); in testEqualsNetCapabilities()434 nc2.addUnwantedCapability(NET_CAPABILITY_INTERNET); in testEqualsNetCapabilities()486 nc1.addUnwantedCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testCombineCapabilities()495 nc1.addUnwantedCapability(NET_CAPABILITY_NOT_ROAMING); in testCombineCapabilities()580 nc2.addUnwantedCapability(cap); in testSetCapabilities()653 nc1.addUnwantedCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in testSet()662 nc1.addUnwantedCapability(NET_CAPABILITY_NOT_ROAMING); in testSet()
240 public Builder addUnwantedCapability(@NetworkCapabilities.NetCapability int capability) { in addUnwantedCapability() method in NetworkRequest.Builder241 mNetworkCapabilities.addUnwantedCapability(capability); in addUnwantedCapability()
477 public void addUnwantedCapability(@NetCapability int capability) { in addUnwantedCapability() method in NetworkCapabilities
377 .addUnwantedCapability(NET_CAPABILITY_OEM_PAID) in testRequiredNetwork()
44276 Landroid/net/NetworkCapabilities;->addUnwantedCapability(I)V44574 Landroid/net/NetworkRequest$Builder;->addUnwantedCapability(I)Landroid/net/NetworkRequest$Builder;