/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiNetworkAgentSpecifierTest.java | 158 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 …]
|
D | WifiNetworkSpecifierTest.java | 399 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/ |
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()
|
/frameworks/base/tests/net/java/android/net/ |
D | TelephonyNetworkSpecifierTest.java | 105 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/ |
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 | 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/src_servicescommon/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 | 77 public boolean canBeSatisfiedBy(@Nullable NetworkSpecifier other) { in canBeSatisfiedBy() method in WifiNetworkAgentSpecifier
|
D | WifiNetworkSpecifier.java | 555 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in canBeSatisfiedBy() method in WifiNetworkSpecifier
|
/frameworks/base/wifi/java/android/net/wifi/aware/ |
D | WifiAwareAgentNetworkSpecifier.java | 123 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in canBeSatisfiedBy() method in WifiAwareAgentNetworkSpecifier
|
D | WifiAwareNetworkSpecifier.java | 215 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 3074 public boolean canBeSatisfiedBy(NetworkSpecifier other) { in testInvalidNetworkSpecifier() method in ConnectivityServiceTest.NonParcelableSpecifier
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 6290 method public boolean canBeSatisfiedBy(@Nullable android.net.NetworkSpecifier);
|
/frameworks/base/api/ |
D | system-current.txt | 6342 method public boolean canBeSatisfiedBy(@Nullable android.net.NetworkSpecifier);
|
D | current.txt | 30341 method public boolean canBeSatisfiedBy(@Nullable android.net.NetworkCapabilities);
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 14300 HSPLandroid/net/NetworkRequest;->canBeSatisfiedBy(Landroid/net/NetworkCapabilities;)Z
|