Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DArrayUtilsTest.java69 assertTrue(ArrayUtils.containsAll(new Object[] { C, B, A }, new Object[] { A, B, C })); in testContainsAll()
70 assertTrue(ArrayUtils.containsAll(new Object[] { A, B }, new Object[] { A })); in testContainsAll()
71 assertTrue(ArrayUtils.containsAll(new Object[] { A }, new Object[] { A })); in testContainsAll()
72 assertTrue(ArrayUtils.containsAll(new Object[] { A }, new Object[] { })); in testContainsAll()
73 assertTrue(ArrayUtils.containsAll(new Object[] { }, new Object[] { })); in testContainsAll()
74 assertTrue(ArrayUtils.containsAll(new Object[] { null }, new Object[] { })); in testContainsAll()
75 assertTrue(ArrayUtils.containsAll(new Object[] { null }, new Object[] { null })); in testContainsAll()
76 assertTrue(ArrayUtils.containsAll(new Object[] { A, null, C }, new Object[] { C, null })); in testContainsAll()
78 assertFalse(ArrayUtils.containsAll(new Object[] { }, new Object[] { A })); in testContainsAll()
79 assertFalse(ArrayUtils.containsAll(new Object[] { B }, new Object[] { A })); in testContainsAll()
[all …]
/frameworks/base/core/java/android/util/
DMapCollections.java202 public boolean containsAll(Collection<?> collection) { in containsAll() method in MapCollections.EntrySet
293 public boolean containsAll(Collection<?> collection) { in containsAll() method in MapCollections.KeySet
381 public boolean containsAll(Collection<?> collection) { in containsAll() method in MapCollections.ValuesCollection
522 return set.size() == s.size() && set.containsAll(s); in equalsSetHelper()
DArraySet.java745 public boolean containsAll(Collection<?> collection) { in containsAll() method in ArraySet
/frameworks/support/compat/java/android/support/v4/util/
DMapCollections.java199 public boolean containsAll(Collection<?> collection) { in containsAll() method in MapCollections.EntrySet
290 public boolean containsAll(Collection<?> collection) { in containsAll() method in MapCollections.KeySet
378 public boolean containsAll(Collection<?> collection) { in containsAll() method in MapCollections.ValuesCollection
520 return set.size() == s.size() && set.containsAll(s); in equalsSetHelper()
DArrayMap.java129 public boolean containsAll(Collection<?> collection) { in containsAll() method in ArrayMap
DArraySet.java735 public boolean containsAll(Collection<?> collection) { in containsAll() method in ArraySet
/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/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.java254 return (a.length == b.length) && ArrayUtils.containsAll(a, b) in areExactMatch()
255 && 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/base/core/java/android/net/
DLinkProperties.java851 sourceAddresses.containsAll(targetAddresses) : false; in isIdenticalAddresses()
870 mDnses.containsAll(targetDnses) : false; in isIdenticalDnses()
883 mRoutes.containsAll(targetRoutes) : false; in isIdenticalRoutes()
DNetworkPolicyManager.java347 if (packageSignature.containsAll(systemSignature)) { in isUidValidForPolicy()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteSelector.java139 return mControlCategories.containsAll(selector.mControlCategories); in contains()
/frameworks/base/media/java/android/media/tv/
DTvContentRating.java954 return subRatings.containsAll(subRatingsOther); in contains()
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java203 public static <T> boolean containsAll(@Nullable T[] array, T[] check) { in containsAll() method in ArrayUtils
259 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.java1903 return mCharacteristics.getKeys().containsAll(keys); in areCharacteristicsKeysAvailable()
1920 return mCharacteristics.getAvailableCaptureResultKeys().containsAll(keys); in areResultKeysAvailable()
1938 return mCharacteristics.getAvailableCaptureRequestKeys().containsAll(keys); in areRequestKeysAvailable()
2394 if (observedModes.containsAll(coupledModes)) { in containsAllOrNone()
/frameworks/base/services/core/java/com/android/server/pm/
DKeySetManagerService.java143 return pkgKeys.containsAll(testKeys); in packageIsSignedByLPr()
211 if (definedMapping == null || !(definedMapping.keySet().containsAll(upgradeAliases))) { in assertScannedPackageValid()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerBaseTest.java215 while (!mFinishedDownloads.containsAll(ids)) { in waitForMultipleDownloadsToFinish()
/frameworks/base/core/java/android/transition/
DTransition.java2176 boolean containsAll = true; in capturePropagationValues()
2179 containsAll = false; in capturePropagationValues()
2183 if (!containsAll) { in capturePropagationValues()
/frameworks/support/transition/src/android/support/transition/
DTransition.java2183 boolean containsAll = true; in capturePropagationValues()
2186 containsAll = false; in capturePropagationValues()
2190 if (!containsAll) { in capturePropagationValues()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DBackgroundScanSchedulerTest.java920 scheduleChannels.getAllChannels().containsAll(channelSet)); in assertSettingsSatisfied()
930 + expectedChannelSet, channelSet.containsAll(expectedChannelSet)); in assertChannels()
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentTransitionCompat21.java506 && targets.containsAll(oldTargets)) { in replaceTargets()

123