Home
last modified time | relevance | path

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

/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java339 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()
/frameworks/base/core/java/android/net/
DNetworkRequest.java466 public boolean hasUnwantedCapability(@NetCapability int capability) { in hasUnwantedCapability() method in NetworkRequest
467 return networkCapabilities.hasUnwantedCapability(capability); in hasUnwantedCapability()
DNetworkCapabilities.java571 public boolean hasUnwantedCapability(@NetCapability int capability) { in hasUnwantedCapability() method in NetworkCapabilities
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44309 Landroid/net/NetworkCapabilities;->hasUnwantedCapability(I)Z
44589 Landroid/net/NetworkRequest;->hasUnwantedCapability(I)Z