/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiNetworkAgentSpecifierTest.java | 179 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 …]
|
D | WifiNetworkSpecifierTest.java | 402 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/ |
D | WifiAwareAgentNetworkSpecifierTest.java | 82 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/ |
D | NetworkSpecifier.java | 34 public abstract boolean satisfiedBy(NetworkSpecifier other); in satisfiedBy() method in NetworkSpecifier
|
D | MatchAllNetworkSpecifier.java | 41 public boolean satisfiedBy(NetworkSpecifier other) { in satisfiedBy() method in MatchAllNetworkSpecifier
|
D | StringNetworkSpecifier.java | 42 public boolean satisfiedBy(NetworkSpecifier other) { in satisfiedBy() method in StringNetworkSpecifier
|
D | NetworkCapabilities.java | 1005 return mNetworkSpecifier == null || mNetworkSpecifier.satisfiedBy(nc.mNetworkSpecifier) in satisfiedBySpecifier()
|
/frameworks/base/wifi/java/android/net/wifi/aware/ |
D | WifiAwareAgentNetworkSpecifier.java | 124 public boolean satisfiedBy(NetworkSpecifier other) { in satisfiedBy() method in WifiAwareAgentNetworkSpecifier
|
D | WifiAwareNetworkSpecifier.java | 230 public boolean satisfiedBy(NetworkSpecifier other) { in satisfiedBy() method in WifiAwareNetworkSpecifier
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiNetworkAgentSpecifier.java | 107 public boolean satisfiedBy(@Nullable NetworkSpecifier other) { in satisfiedBy() method in WifiNetworkAgentSpecifier
|
D | WifiNetworkSpecifier.java | 586 public boolean satisfiedBy(NetworkSpecifier other) { in satisfiedBy() method in WifiNetworkSpecifier
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 2989 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
|