Searched refs:hasUnwantedCapability (Results 1 – 4 of 4) sorted by relevance
339 assertFalse(nc.hasUnwantedCapability(NET_CAPABILITY_OEM_PAID)); in testOemPaid()382 assertTrue(request.hasUnwantedCapability(NET_CAPABILITY_NOT_RESTRICTED)); in testUnwantedCapabilities()393 assertFalse(request.hasUnwantedCapability(NET_CAPABILITY_NOT_RESTRICTED)); in testUnwantedCapabilities()492 assertTrue(nc2.hasUnwantedCapability(NET_CAPABILITY_CAPTIVE_PORTAL)); in testCombineCapabilities()501 assertTrue(nc2.hasUnwantedCapability(NET_CAPABILITY_NOT_ROAMING)); in testCombineCapabilities()659 assertTrue(nc2.hasUnwantedCapability(NET_CAPABILITY_CAPTIVE_PORTAL)); in testSet()669 assertTrue(nc2.hasUnwantedCapability(NET_CAPABILITY_NOT_ROAMING)); in testSet()
466 public boolean hasUnwantedCapability(@NetCapability int capability) { in hasUnwantedCapability() method in NetworkRequest467 return networkCapabilities.hasUnwantedCapability(capability); in hasUnwantedCapability()
571 public boolean hasUnwantedCapability(@NetCapability int capability) { in hasUnwantedCapability() method in NetworkCapabilities
44309 Landroid/net/NetworkCapabilities;->hasUnwantedCapability(I)Z44589 Landroid/net/NetworkRequest;->hasUnwantedCapability(I)Z