Home
last modified time | relevance | path

Searched refs:containsAll (Results 1 – 25 of 61) 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/base/tools/protologtool/tests/com/android/protolog/tool/
DCodeUtilsTest.kt128 assertTrue(imported.containsAll(listOf("a", "b"))) in staticallyImportedMethods_ab()
140 assertTrue(imported.containsAll(listOf("a"))) in staticallyImportedMethods_differentClass()
152 assertTrue(imported.containsAll(listOf("a"))) in staticallyImportedMethods_notStatic()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DUserBackupPreferencesTest.java64 assertTrue(excludedKeys.containsAll(EXCLUDED_KEYS_1)); in testGetExcludedKeysForPackage_returnsExcludedKeys()
65 assertTrue(excludedKeys.containsAll(EXCLUDED_KEYS_2)); in testGetExcludedKeysForPackage_returnsExcludedKeys()
/frameworks/libs/net/common/src_frameworkcommon/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/packages/SystemUI/src/com/android/systemui/util/
DSparseArrayUtils.kt103 override fun containsAll(elements: Collection<Map.Entry<Int, T>>): Boolean = in asMap() method in com.android.systemui.util.SparseArrayMapWrapper
119 override fun containsAll(elements: Collection<Int>): Boolean = in asMap() method in com.android.systemui.util.SparseArrayMapWrapper
137 override fun containsAll(elements: Collection<T>): Boolean = in asMap() method in com.android.systemui.util.SparseArrayMapWrapper
/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/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/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/services/tests/servicestests/src/com/android/server/people/data/
DEventHistoryImplTest.java169 assertTrue(events.containsAll(Lists.newArrayList(E4, E5))); in testPersistenceAndRestoration()
196 assertTrue(events.containsAll(Lists.newArrayList(E4, E5))); in testMimicDevicePowerOff()
239 assertTrue(events.containsAll(Lists.newArrayList(E4, E5))); in testEventHistoriesImplFromDisk()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttTestUtils.java50 return a.containsAll(b) && b.containsAll(a); in compareListContentsNoOrdering()
/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/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()
/frameworks/base/core/java/android/content/pm/
DSignature.java301 return (a.length == b.length) && ArrayUtils.containsAll(a, b) in areExactMatch()
302 && ArrayUtils.containsAll(b, a); in areExactMatch()
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
DNativeScanResultTest.java85 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/packages/Tethering/src/com/android/networkstack/tethering/
DConnectedClientsTracker.java115 || !clients.containsAll(mLastTetheredClients); in updateConnectedClients()
/frameworks/base/media/java/android/media/tv/
DTvContentRating.java1067 return subRatings.containsAll(subRatingsOther); in contains()
/frameworks/base/services/core/java/com/android/server/pm/
DKeySetManagerService.java148 return pkgKeys.containsAll(testKeys); in packageIsSignedByLPr()
214 if (definedMapping == null || !(definedMapping.keySet().containsAll(upgradeAliases))) { in assertScannedPackageValid()
372 && pkg.getSigningDetails().publicKeys.containsAll(upgradeSet)) { in checkUpgradeKeySetLocked()
/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()

123