Home
last modified time | relevance | path

Searched refs:satisfiedByNetworkCapabilities (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java415 assertTrue(nr.satisfiedByNetworkCapabilities(nc)); in testOemPaid()
418 assertFalse(nr.satisfiedByNetworkCapabilities(new NetworkCapabilities())); in testOemPaid()
442 assertTrue(nr.satisfiedByNetworkCapabilities(nc)); in testOemPrivate()
445 assertFalse(nr.satisfiedByNetworkCapabilities(new NetworkCapabilities())); in testOemPrivate()
454 request.satisfiedByNetworkCapabilities(network)); in testForbiddenCapabilities()
459 assertTrue(request.satisfiedByNetworkCapabilities(network)); in testForbiddenCapabilities()
473 assertFalse(request.satisfiedByNetworkCapabilities(network)); in testForbiddenCapabilities()
475 assertTrue(request.satisfiedByNetworkCapabilities(network)); in testForbiddenCapabilities()
482 assertFalse(request.satisfiedByNetworkCapabilities(network)); in testForbiddenCapabilities()
484 assertTrue(request.satisfiedByNetworkCapabilities(network)); in testForbiddenCapabilities()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java1776 private boolean satisfiedByNetworkCapabilities(NetworkCapabilities nc, boolean onlyImmutable) { in satisfiedByNetworkCapabilities() method in NetworkCapabilities
1797 public boolean satisfiedByNetworkCapabilities(@Nullable NetworkCapabilities nc) { in satisfiedByNetworkCapabilities() method in NetworkCapabilities
1798 return satisfiedByNetworkCapabilities(nc, false); in satisfiedByNetworkCapabilities()
1809 return satisfiedByNetworkCapabilities(nc, true); in satisfiedByImmutableNetworkCapabilities()
DNetworkRequest.java653 return networkCapabilities.satisfiedByNetworkCapabilities(nc); in canBeSatisfiedBy()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTestConnectivityManager.java336 return typeNc.satisfiedByNetworkCapabilities(nc); in matchesLegacyType()
DUpstreamNetworkMonitorTest.java588 assertTrue(nc.satisfiedByNetworkCapabilities(ns.networkCapabilities)); in assertSatisfiesLegacyType()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitor.java611 if (!nc.satisfiedByNetworkCapabilities(value.networkCapabilities)) { in findFirstAvailableUpstreamByType()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java311 request.networkCapabilities.satisfiedByNetworkCapabilities(nc)); in assertCorrectlySatisfies()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkAgentInfo.java887 request.networkCapabilities.satisfiedByNetworkCapabilities(networkCapabilities); in satisfies()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt283 method public boolean satisfiedByNetworkCapabilities(@Nullable android.net.NetworkCapabilities);
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt636 Landroid/net/NetworkCapabilities;->satisfiedByNetworkCapabilities(Landroid/net/NetworkCapabilities;…
637 Landroid/net/NetworkCapabilities;->satisfiedByNetworkCapabilities(Landroid/net/NetworkCapabilities;…
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java1796 if (requiredCaps.satisfiedByNetworkCapabilities(vpnNai.networkCapabilities)) { in getActiveNetworkForUidInternal()