Home
last modified time | relevance | path

Searched refs:containsAll (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DArrayUtilsTest.java70 assertTrue(ArrayUtils.containsAll(new Object[] { C, B, A }, new Object[] { A, B, C })); in testContainsAll()
71 assertTrue(ArrayUtils.containsAll(new Object[] { A, B }, new Object[] { A })); in testContainsAll()
72 assertTrue(ArrayUtils.containsAll(new Object[] { A }, new Object[] { A })); in testContainsAll()
73 assertTrue(ArrayUtils.containsAll(new Object[] { A }, new Object[] { })); in testContainsAll()
74 assertTrue(ArrayUtils.containsAll(new Object[] { }, new Object[] { })); in testContainsAll()
75 assertTrue(ArrayUtils.containsAll(new Object[] { null }, new Object[] { })); in testContainsAll()
76 assertTrue(ArrayUtils.containsAll(new Object[] { null }, new Object[] { null })); in testContainsAll()
77 assertTrue(ArrayUtils.containsAll(new Object[] { A, null, C }, new Object[] { C, null })); in testContainsAll()
79 assertFalse(ArrayUtils.containsAll(new Object[] { }, new Object[] { A })); in testContainsAll()
80 assertFalse(ArrayUtils.containsAll(new Object[] { B }, new Object[] { A })); in testContainsAll()
[all …]
/frameworks/libs/net/common/framework/android/net/util/
DLinkPropertiesUtils.java161 ? leftAddresses.containsAll(rightAddresses) : false; in isIdenticalAddresses()
184 ? leftDnses.containsAll(rightDnses) : false; in isIdenticalDnses()
223 ? leftRoutes.containsAll(rightRoutes) : false; in isIdenticalRoutes()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPulledStatsTest.java90 assertTrue("missing packages", actualPkgs.containsAll(expectedPkgs)); in testPulledStats_RemoteViewReportPackages()
91 assertTrue("unexpected packages", expectedPkgs.containsAll(actualPkgs)); in testPulledStats_RemoteViewReportPackages()
/frameworks/base/telephony/java/android/telephony/data/
DDataCallResponse.java303 && mAddresses.containsAll(other.mAddresses) in equals()
305 && mDnsAddresses.containsAll(other.mDnsAddresses) in equals()
307 && mGatewayAddresses.containsAll(other.mGatewayAddresses) in equals()
309 && mPcscfAddresses.containsAll(other.mPcscfAddresses) in equals()
/frameworks/base/core/java/android/util/
DMapCollections.java201 public boolean containsAll(Collection<?> collection) { in containsAll() method in MapCollections.EntrySet
292 public boolean containsAll(Collection<?> collection) { in containsAll() method in MapCollections.KeySet
380 public boolean containsAll(Collection<?> collection) { in containsAll() method in MapCollections.ValuesCollection
521 return set.size() == s.size() && set.containsAll(s); in equalsSetHelper()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DTimeLimitedMotionEventBuffer.java123 public boolean containsAll(Collection<?> c) { in containsAll() method in TimeLimitedMotionEventBuffer
124 return mMotionEvents.containsAll(c); in containsAll()
/frameworks/libs/net/common/hostdevice/com/android/net/module/util/
DTrackRecord.kt80 override fun containsAll(elements: Collection<E>) = lock.withLock { in <lambda>() method
81 this.elements.containsAll(elements) in <lambda>()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DArrayMapTests.java183 if (!map.keySet().containsAll(array.keySet())) { in compareMaps()
188 if (!array.keySet().containsAll(map.keySet())) { in compareMaps()
193 if (!array.containsAll(map.keySet())) { in compareMaps()
198 if (!map.entrySet().containsAll(array.entrySet())) { in compareMaps()
203 if (!array.entrySet().containsAll(map.entrySet())) { in compareMaps()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttTestUtils.java52 return a.containsAll(b) && b.containsAll(a); in compareListContentsNoOrdering()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DAbstractCollection.java60 public boolean containsAll(Collection<?> collection) { in containsAll() method in AbstractCollection
/frameworks/base/core/java/android/content/pm/
DSignature.java286 return (a.length == b.length) && ArrayUtils.containsAll(a, b) in areExactMatch()
287 && ArrayUtils.containsAll(b, a); in areExactMatch()
/frameworks/base/core/java/android/text/method/
DDateKeyListener.java74 mNeedsAdvancedInput = !ArrayUtils.containsAll(CHARACTERS, mCharacters); in DateKeyListener()
DTimeKeyListener.java85 mNeedsAdvancedInput = !ArrayUtils.containsAll(CHARACTERS, mCharacters); in TimeKeyListener()
DDateTimeKeyListener.java85 mNeedsAdvancedInput = !ArrayUtils.containsAll(CHARACTERS, mCharacters); in DateTimeKeyListener()
DDigitsKeyListener.java130 mNeedsAdvancedInput = !ArrayUtils.containsAll(COMPATIBILITY_CHARACTERS[kind], mAccepted); in calculateNeedForAdvancedInput()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/wificond/
DNativeScanResultTest.java86 assertTrue(scanResult.radioChainInfos.containsAll(scanResultDeserialized.radioChainInfos)); in canSerializeAndDeserialize()
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DImsFeatureTest.java238 assertTrue(request.getCapabilitiesToDisable().containsAll( in testCapabilityChangeContainsFullSets()
240 assertTrue(request.getCapabilitiesToEnable().containsAll( in testCapabilityChangeContainsFullSets()
/frameworks/base/core/java/android/bluetooth/
DBluetoothCodecStatus.java88 return Arrays.asList(c1).containsAll(Arrays.asList(c2)); in sameCapabilities()
/frameworks/base/wifi/java/android/net/wifi/rtt/
DRangingRequest.java260 return mRttPeers.size() == lhs.mRttPeers.size() && mRttPeers.containsAll(lhs.mRttPeers); in equals()
/frameworks/base/media/java/android/media/tv/
DTvContentRating.java1067 return subRatings.containsAll(subRatingsOther); in contains()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DConnectedClientsTracker.java115 || !clients.containsAll(mLastTetheredClients); in updateConnectedClients()
/frameworks/base/services/core/java/com/android/server/pm/
DKeySetManagerService.java145 return pkgKeys.containsAll(testKeys); in packageIsSignedByLPr()
213 if (definedMapping == null || !(definedMapping.keySet().containsAll(upgradeAliases))) { in assertScannedPackageValid()
374 if (upgradeSet != null && newPkg.mSigningDetails.publicKeys.containsAll(upgradeSet)) { in checkUpgradeKeySetLocked()
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java229 public static <T> boolean containsAll(@Nullable T[] array, T[] check) { in containsAll() method in ArrayUtils
286 public static <T> boolean containsAll(@Nullable char[] array, char[] check) { in containsAll() method in ArrayUtils
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DStaticMetadata.java1900 return mCharacteristics.getKeys().containsAll(keys); in areCharacteristicsKeysAvailable()
1917 return mCharacteristics.getAvailableCaptureResultKeys().containsAll(keys); in areResultKeysAvailable()
1935 return mCharacteristics.getAvailableCaptureRequestKeys().containsAll(keys); in areRequestKeysAvailable()
2391 if (observedModes.containsAll(coupledModes)) { in containsAllOrNone()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java482 if (packageSignature.containsAll(systemSignature)) {

123