Home
last modified time | relevance | path

Searched refs:satisfiedBy (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiNetworkAgentSpecifierTest.java179 assertTrue(specifier.satisfiedBy(null)); in testWifiNetworkAgentSpecifierSatisifiesNullAndAllMatch()
180 assertTrue(specifier.satisfiedBy(new MatchAllNetworkSpecifier())); in testWifiNetworkAgentSpecifierSatisifiesNullAndAllMatch()
194 assertTrue(specifier2.satisfiedBy(specifier1)); in testWifiNetworkAgentSpecifierDoesSatisifySame()
221 assertTrue(wifiNetworkSpecifier.satisfiedBy(wifiNetworkAgentSpecifier)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidPattern()
222 assertTrue(wifiNetworkAgentSpecifier.satisfiedBy(wifiNetworkSpecifier)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidPattern()
250 assertTrue(wifiNetworkSpecifier.satisfiedBy(wifiNetworkAgentSpecifier)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithBssidPattern()
251 assertTrue(wifiNetworkAgentSpecifier.satisfiedBy(wifiNetworkSpecifier)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithBssidPattern()
279 assertTrue(wifiNetworkSpecifier.satisfiedBy(wifiNetworkAgentSpecifier)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidAndBssidPattern()
280 assertTrue(wifiNetworkAgentSpecifier.satisfiedBy(wifiNetworkSpecifier)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidAndBssidPattern()
312 assertFalse(wifiNetworkSpecifier.satisfiedBy(wifiNetworkAgentSpecifier)); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidPattern()
[all …]
DWifiNetworkSpecifierTest.java402 assertTrue(specifier.satisfiedBy(null)); in testWifiNetworkSpecifierSatisfiesNullAndAllMatch()
403 assertTrue(specifier.satisfiedBy(new MatchAllNetworkSpecifier())); in testWifiNetworkSpecifierSatisfiesNullAndAllMatch()
432 assertTrue(specifier2.satisfiedBy(specifier1)); in testWifiNetworkSpecifierSatisfiesSame()
463 assertFalse(specifier2.satisfiedBy(specifier1)); in testWifiNetworkSpecifierDoesNotSatisfyWhenKeyMgmtDifferent()
492 assertFalse(specifier2.satisfiedBy(specifier1)); in testWifiNetworkSpecifierDoesNotSatisfyWhenSsidDifferent()
520 assertFalse(specifier2.satisfiedBy(specifier1)); in testWifiNetworkSpecifierDoesNotSatisfyWhenBssidDifferent()
549 assertFalse(specifier2.satisfiedBy(specifier1)); in testWifiNetworkSpecifierDoesNotSatisfyWhenPackageNameDifferent()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareAgentNetworkSpecifierTest.java82 collector.checkThat("No match expected", ns.satisfiedBy(dut), equalTo(false)); in testEmptyDoesntMatchAnything()
94 collector.checkThat("Match expected", nsThis.satisfiedBy(dut), equalTo(true)); in testSingleMatch()
95 collector.checkThat("No match expected", nsOther.satisfiedBy(dut), equalTo(false)); in testSingleMatch()
116 collector.checkThat("Match expected", nsThis.satisfiedBy(dut), equalTo(true)); in testMultipleMatchesAllMembers()
118 collector.checkThat("No match expected", nsOther.satisfiedBy(dut), equalTo(false)); in testMultipleMatchesAllMembers()
140 collector.checkThat("Match expected", oldNs.satisfiedBy(newNs), equalTo(true)); in testMatchSuperset()
162 collector.checkThat("Match unexpected", oldNs.satisfiedBy(newNs), equalTo(false)); in testNoMatchSubset()
/frameworks/base/core/java/android/net/
DNetworkSpecifier.java34 public abstract boolean satisfiedBy(NetworkSpecifier other); in satisfiedBy() method in NetworkSpecifier
DMatchAllNetworkSpecifier.java41 public boolean satisfiedBy(NetworkSpecifier other) { in satisfiedBy() method in MatchAllNetworkSpecifier
DStringNetworkSpecifier.java42 public boolean satisfiedBy(NetworkSpecifier other) { in satisfiedBy() method in StringNetworkSpecifier
DNetworkCapabilities.java1005 return mNetworkSpecifier == null || mNetworkSpecifier.satisfiedBy(nc.mNetworkSpecifier) in satisfiedBySpecifier()
/frameworks/base/wifi/java/android/net/wifi/aware/
DWifiAwareAgentNetworkSpecifier.java124 public boolean satisfiedBy(NetworkSpecifier other) { in satisfiedBy() method in WifiAwareAgentNetworkSpecifier
DWifiAwareNetworkSpecifier.java230 public boolean satisfiedBy(NetworkSpecifier other) { in satisfiedBy() method in WifiAwareNetworkSpecifier
/frameworks/base/wifi/java/android/net/wifi/
DWifiNetworkAgentSpecifier.java107 public boolean satisfiedBy(@Nullable NetworkSpecifier other) { in satisfiedBy() method in WifiNetworkAgentSpecifier
DWifiNetworkSpecifier.java586 public boolean satisfiedBy(NetworkSpecifier other) { in satisfiedBy() method in WifiNetworkSpecifier
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java2989 public boolean satisfiedBy(NetworkSpecifier other) { in testNetworkSpecifier() method in ConnectivityServiceTest.ConfidentialMatchAllNetworkSpecifier
3017 public boolean satisfiedBy(NetworkSpecifier other) { in testNetworkSpecifier() method in ConnectivityServiceTest.LocalStringNetworkSpecifier
3144 public boolean satisfiedBy(NetworkSpecifier other) { return false; } in testInvalidNetworkSpecifier() method in ConnectivityServiceTest.NonParcelableSpecifier
3187 public boolean satisfiedBy(NetworkSpecifier other) { in testNetworkSpecifierUidSpoofSecurityException() method in ConnectivityServiceTest.UidAwareNetworkSpecifier