Home
last modified time | relevance | path

Searched refs:canBeSatisfiedBy (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiNetworkAgentSpecifierTest.java158 assertTrue(specifier.canBeSatisfiedBy(null)); in testWifiNetworkAgentSpecifierSatisifiesNullAndAllMatch()
159 assertTrue(specifier.canBeSatisfiedBy(new MatchAllNetworkSpecifier())); in testWifiNetworkAgentSpecifierSatisifiesNullAndAllMatch()
173 assertTrue(specifier2.canBeSatisfiedBy(specifier1)); in testWifiNetworkAgentSpecifierDoesSatisifySame()
199 assertTrue(wifiNetworkSpecifier.canBeSatisfiedBy(wifiNetworkAgentSpecifier)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidPattern()
200 assertTrue(wifiNetworkAgentSpecifier.canBeSatisfiedBy(wifiNetworkSpecifier)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidPattern()
227 assertTrue(wifiNetworkSpecifier.canBeSatisfiedBy(wifiNetworkAgentSpecifier)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithBssidPattern()
228 assertTrue(wifiNetworkAgentSpecifier.canBeSatisfiedBy(wifiNetworkSpecifier)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithBssidPattern()
255 assertTrue(wifiNetworkSpecifier.canBeSatisfiedBy(wifiNetworkAgentSpecifier)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidAndBssidPattern()
256 assertTrue(wifiNetworkAgentSpecifier.canBeSatisfiedBy(wifiNetworkSpecifier)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidAndBssidPattern()
286 assertFalse(wifiNetworkSpecifier.canBeSatisfiedBy(wifiNetworkAgentSpecifier)); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidPattern()
[all …]
DWifiNetworkSpecifierTest.java399 assertFalse(specifier.canBeSatisfiedBy(null)); in testWifiNetworkSpecifierDoesNotSatisfyNullAndAllMatch()
400 assertFalse(specifier.canBeSatisfiedBy(new MatchAllNetworkSpecifier())); in testWifiNetworkSpecifierDoesNotSatisfyNullAndAllMatch()
427 assertTrue(specifier2.canBeSatisfiedBy(specifier1)); in testWifiNetworkSpecifierSatisfiesSame()
456 assertFalse(specifier2.canBeSatisfiedBy(specifier1)); in testWifiNetworkSpecifierDoesNotSatisfyWhenKeyMgmtDifferent()
483 assertFalse(specifier2.canBeSatisfiedBy(specifier1)); in testWifiNetworkSpecifierDoesNotSatisfyWhenSsidDifferent()
510 assertFalse(specifier2.canBeSatisfiedBy(specifier1)); in testWifiNetworkSpecifierDoesNotSatisfyWhenBssidDifferent()
/frameworks/base/tests/net/common/java/android/net/
DNetworkSpecifierTest.kt37 override fun canBeSatisfiedBy(other: NetworkSpecifier?): Boolean = in canBeSatisfiedBy() method in android.net.NetworkSpecifierTest.TestNetworkSpecifier
59 assertFalse(target.canBeSatisfiedBy(null)) in testcanBeSatisfiedBy()
60 assertTrue(target.canBeSatisfiedBy(TestNetworkSpecifier())) in testcanBeSatisfiedBy()
62 assertFalse(target.canBeSatisfiedBy(otherNs)) in testcanBeSatisfiedBy()
63 assertTrue(target.canBeSatisfiedBy(TestNetworkSpecifier(intData = 999))) in testcanBeSatisfiedBy()
64 assertFalse(target.canBeSatisfiedBy(TestNetworkSpecifier(intData = 1))) in testcanBeSatisfiedBy()
65 assertFalse(target.canBeSatisfiedBy(TestNetworkSpecifier(stringData = "diff"))) in testcanBeSatisfiedBy()
/frameworks/base/tests/net/java/android/net/
DTelephonyNetworkSpecifierTest.java105 assertTrue(tns1.canBeSatisfiedBy(tns1)); in testCanBeSatisfiedBy()
106 assertTrue(tns1.canBeSatisfiedBy(tns2)); in testCanBeSatisfiedBy()
109 assertFalse(tns1.canBeSatisfiedBy(null)); in testCanBeSatisfiedBy()
110 assertFalse(tns1.canBeSatisfiedBy(wns)); in testCanBeSatisfiedBy()
111 assertTrue(tns1.canBeSatisfiedBy(mans)); in testCanBeSatisfiedBy()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareAgentNetworkSpecifierTest.java82 collector.checkThat("No match expected", ns.canBeSatisfiedBy(dut), equalTo(false)); in testEmptyDoesntMatchAnything()
94 collector.checkThat("Match expected", nsThis.canBeSatisfiedBy(dut), equalTo(true)); in testSingleMatch()
95 collector.checkThat("No match expected", nsOther.canBeSatisfiedBy(dut), equalTo(false)); in testSingleMatch()
116 collector.checkThat("Match expected", nsThis.canBeSatisfiedBy(dut), equalTo(true)); in testMultipleMatchesAllMembers()
118 collector.checkThat("No match expected", nsOther.canBeSatisfiedBy(dut), equalTo(false)); in testMultipleMatchesAllMembers()
140 collector.checkThat("Match expected", oldNs.canBeSatisfiedBy(newNs), equalTo(true)); in testMatchSuperset()
162 collector.checkThat("Match unexpected", oldNs.canBeSatisfiedBy(newNs), equalTo(false)); in testNoMatchSubset()
/frameworks/base/core/java/android/net/
DNetworkSpecifier.java38 public boolean canBeSatisfiedBy(@Nullable NetworkSpecifier other) { in canBeSatisfiedBy() method in NetworkSpecifier
DStringNetworkSpecifier.java43 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in canBeSatisfiedBy() method in StringNetworkSpecifier
DTelephonyNetworkSpecifier.java100 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in canBeSatisfiedBy() method in TelephonyNetworkSpecifier
DNetworkRequest.java477 public boolean canBeSatisfiedBy(@Nullable NetworkCapabilities nc) { in canBeSatisfiedBy() method in NetworkRequest
DNetworkCapabilities.java1229 return mNetworkSpecifier == null || mNetworkSpecifier.canBeSatisfiedBy(nc.mNetworkSpecifier) in satisfiedBySpecifier()
/frameworks/libs/net/common/src_servicescommon/android/net/
DNetworkFactory.java301 && n.request.canBeSatisfiedBy(mCapabilityFilter) in shouldNeedNetworkFor()
317 || !n.request.canBeSatisfiedBy(mCapabilityFilter) in shouldReleaseNetworkFor()
/frameworks/base/wifi/java/android/net/wifi/
DWifiNetworkAgentSpecifier.java77 public boolean canBeSatisfiedBy(@Nullable NetworkSpecifier other) { in canBeSatisfiedBy() method in WifiNetworkAgentSpecifier
DWifiNetworkSpecifier.java555 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in canBeSatisfiedBy() method in WifiNetworkSpecifier
/frameworks/base/wifi/java/android/net/wifi/aware/
DWifiAwareAgentNetworkSpecifier.java123 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in canBeSatisfiedBy() method in WifiAwareAgentNetworkSpecifier
DWifiAwareNetworkSpecifier.java215 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in canBeSatisfiedBy() method in WifiAwareNetworkSpecifier
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java2924 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in testNetworkSpecifier() method in ConnectivityServiceTest.ConfidentialMatchAllNetworkSpecifier
2952 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in testNetworkSpecifier() method in ConnectivityServiceTest.LocalStringNetworkSpecifier
3074 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in testInvalidNetworkSpecifier() method in ConnectivityServiceTest.NonParcelableSpecifier
/frameworks/base/non-updatable-api/
Dsystem-current.txt6290 method public boolean canBeSatisfiedBy(@Nullable android.net.NetworkSpecifier);
/frameworks/base/api/
Dsystem-current.txt6342 method public boolean canBeSatisfiedBy(@Nullable android.net.NetworkSpecifier);
Dcurrent.txt30341 method public boolean canBeSatisfiedBy(@Nullable android.net.NetworkCapabilities);
/frameworks/base/config/
Dboot-image-profile.txt14300 HSPLandroid/net/NetworkRequest;->canBeSatisfiedBy(Landroid/net/NetworkCapabilities;)Z