Home
last modified time | relevance | path

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

/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiNetworkAgentSpecifierTest.java168 assertTrue(specifier.canBeSatisfiedBy(null)); in testWifiNetworkAgentSpecifierSatisifiesNullAndAllMatch()
169 assertTrue(specifier.canBeSatisfiedBy(new MatchAllNetworkSpecifier())); in testWifiNetworkAgentSpecifierSatisifiesNullAndAllMatch()
183 assertTrue(specifier2.canBeSatisfiedBy(specifier1)); in testWifiNetworkAgentSpecifierDoesSatisifySame()
210 assertTrue(wifiNetworkSpecifier.canBeSatisfiedBy(wifiNetworkAgentSpecifier)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidPattern()
211 assertTrue(wifiNetworkAgentSpecifier.canBeSatisfiedBy(wifiNetworkSpecifier)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidPattern()
239 assertTrue(wifiNetworkSpecifier.canBeSatisfiedBy(wifiNetworkAgentSpecifier)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithBssidPattern()
240 assertTrue(wifiNetworkAgentSpecifier.canBeSatisfiedBy(wifiNetworkSpecifier)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithBssidPattern()
268 assertTrue(wifiNetworkSpecifier.canBeSatisfiedBy(wifiNetworkAgentSpecifier)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidAndBssidPattern()
269 assertTrue(wifiNetworkAgentSpecifier.canBeSatisfiedBy(wifiNetworkSpecifier)); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidAndBssidPattern()
301 assertFalse(wifiNetworkSpecifier.canBeSatisfiedBy(wifiNetworkAgentSpecifier)); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidPattern()
[all …]
DWifiNetworkSpecifierTest.java402 assertTrue(specifier.canBeSatisfiedBy(null)); in testWifiNetworkSpecifierSatisfiesNullAndAllMatch()
403 assertTrue(specifier.canBeSatisfiedBy(new MatchAllNetworkSpecifier())); in testWifiNetworkSpecifierSatisfiesNullAndAllMatch()
432 assertTrue(specifier2.canBeSatisfiedBy(specifier1)); in testWifiNetworkSpecifierSatisfiesSame()
463 assertFalse(specifier2.canBeSatisfiedBy(specifier1)); in testWifiNetworkSpecifierDoesNotSatisfyWhenKeyMgmtDifferent()
492 assertFalse(specifier2.canBeSatisfiedBy(specifier1)); in testWifiNetworkSpecifierDoesNotSatisfyWhenSsidDifferent()
520 assertFalse(specifier2.canBeSatisfiedBy(specifier1)); in testWifiNetworkSpecifierDoesNotSatisfyWhenBssidDifferent()
549 assertFalse(specifier2.canBeSatisfiedBy(specifier1)); in testWifiNetworkSpecifierDoesNotSatisfyWhenPackageNameDifferent()
/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()
DMatchAllNetworkSpecifierTest.kt48 specifier.canBeSatisfiedBy(wifiAwareNetworkSpecifier) 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
DMatchAllNetworkSpecifier.java47 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in canBeSatisfiedBy() method in MatchAllNetworkSpecifier
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/device/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.java107 public boolean canBeSatisfiedBy(@Nullable NetworkSpecifier other) { in canBeSatisfiedBy() method in WifiNetworkAgentSpecifier
DWifiNetworkSpecifier.java586 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in canBeSatisfiedBy() method in WifiNetworkSpecifier
/frameworks/base/wifi/java/android/net/wifi/aware/
DWifiAwareAgentNetworkSpecifier.java124 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in canBeSatisfiedBy() method in WifiAwareAgentNetworkSpecifier
DWifiAwareNetworkSpecifier.java230 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
3082 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in testInvalidNetworkSpecifier() method in ConnectivityServiceTest.NonParcelableSpecifier
/frameworks/base/api/
Dsystem-current.txt4665 method public boolean canBeSatisfiedBy(@Nullable android.net.NetworkSpecifier);
Dcurrent.txt29240 method public boolean canBeSatisfiedBy(@Nullable android.net.NetworkCapabilities);
/frameworks/base/non-updatable-api/
Dsystem-current.txt4665 method public boolean canBeSatisfiedBy(@Nullable android.net.NetworkSpecifier);
Dcurrent.txt29110 method public boolean canBeSatisfiedBy(@Nullable android.net.NetworkCapabilities);