Home
last modified time | relevance | path

Searched refs:addUnwantedCapability (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java370 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()
/frameworks/base/core/java/android/net/
DNetworkRequest.java240 public Builder addUnwantedCapability(@NetworkCapabilities.NetCapability int capability) { in addUnwantedCapability() method in NetworkRequest.Builder
241 mNetworkCapabilities.addUnwantedCapability(capability); in addUnwantedCapability()
DNetworkCapabilities.java477 public void addUnwantedCapability(@NetCapability int capability) { in addUnwantedCapability() method in NetworkCapabilities
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java377 .addUnwantedCapability(NET_CAPABILITY_OEM_PAID) in testRequiredNetwork()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44276 Landroid/net/NetworkCapabilities;->addUnwantedCapability(I)V
44574 Landroid/net/NetworkRequest$Builder;->addUnwantedCapability(I)Landroid/net/NetworkRequest$Builder;