/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiNetworkAgentSpecifierTest.java | 168 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 …]
|
D | WifiNetworkSpecifierTest.java | 402 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/ |
D | NetworkSpecifierTest.kt | 37 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()
|
D | MatchAllNetworkSpecifierTest.kt | 48 specifier.canBeSatisfiedBy(wifiAwareNetworkSpecifier) in testCanBeSatisfiedBy()
|
/frameworks/base/wifi/tests/src/android/net/wifi/aware/ |
D | WifiAwareAgentNetworkSpecifierTest.java | 82 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/ |
D | NetworkSpecifier.java | 38 public boolean canBeSatisfiedBy(@Nullable NetworkSpecifier other) { in canBeSatisfiedBy() method in NetworkSpecifier
|
D | MatchAllNetworkSpecifier.java | 47 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in canBeSatisfiedBy() method in MatchAllNetworkSpecifier
|
D | StringNetworkSpecifier.java | 43 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in canBeSatisfiedBy() method in StringNetworkSpecifier
|
D | TelephonyNetworkSpecifier.java | 100 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in canBeSatisfiedBy() method in TelephonyNetworkSpecifier
|
D | NetworkRequest.java | 477 public boolean canBeSatisfiedBy(@Nullable NetworkCapabilities nc) { in canBeSatisfiedBy() method in NetworkRequest
|
D | NetworkCapabilities.java | 1229 return mNetworkSpecifier == null || mNetworkSpecifier.canBeSatisfiedBy(nc.mNetworkSpecifier) in satisfiedBySpecifier()
|
/frameworks/libs/net/common/device/android/net/ |
D | NetworkFactory.java | 301 && n.request.canBeSatisfiedBy(mCapabilityFilter) in shouldNeedNetworkFor() 317 || !n.request.canBeSatisfiedBy(mCapabilityFilter) in shouldReleaseNetworkFor()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiNetworkAgentSpecifier.java | 107 public boolean canBeSatisfiedBy(@Nullable NetworkSpecifier other) { in canBeSatisfiedBy() method in WifiNetworkAgentSpecifier
|
D | WifiNetworkSpecifier.java | 586 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in canBeSatisfiedBy() method in WifiNetworkSpecifier
|
/frameworks/base/wifi/java/android/net/wifi/aware/ |
D | WifiAwareAgentNetworkSpecifier.java | 124 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in canBeSatisfiedBy() method in WifiAwareAgentNetworkSpecifier
|
D | WifiAwareNetworkSpecifier.java | 230 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in canBeSatisfiedBy() method in WifiAwareNetworkSpecifier
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 2924 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/ |
D | system-current.txt | 4665 method public boolean canBeSatisfiedBy(@Nullable android.net.NetworkSpecifier);
|
D | current.txt | 29240 method public boolean canBeSatisfiedBy(@Nullable android.net.NetworkCapabilities);
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 4665 method public boolean canBeSatisfiedBy(@Nullable android.net.NetworkSpecifier);
|
D | current.txt | 29110 method public boolean canBeSatisfiedBy(@Nullable android.net.NetworkCapabilities);
|