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.java311 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()
/frameworks/base/core/java/android/net/
DNetworkRequest.java239 public Builder addUnwantedCapability(@NetworkCapabilities.NetCapability int capability) { in addUnwantedCapability() method in NetworkRequest.Builder
240 mNetworkCapabilities.addUnwantedCapability(capability); in addUnwantedCapability()
DNetworkCapabilities.java429 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.txt47519 Landroid/net/NetworkCapabilities;->addUnwantedCapability(I)V
47833 Landroid/net/NetworkRequest$Builder;->addUnwantedCapability(I)Landroid/net/NetworkRequest$Builder;