Home
last modified time | relevance | path

Searched refs:containsAll (Results 1 – 25 of 71) 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/errorprone/tests/java/com/google/errorprone/bugpatterns/android/
DRequiresPermissionCheckerTest.java59 assertTrue(a.containsAll(b)); in testParser_AllOf()
60 assertFalse(b.containsAll(a)); in testParser_AllOf()
67 assertTrue(a.containsAll(b)); in testParser_AnyOf()
68 assertTrue(b.containsAll(a)); in testParser_AnyOf()
75 assertTrue(a.containsAll(b)); in testParser_AnyOf_AllOf()
76 assertFalse(b.containsAll(a)); in testParser_AnyOf_AllOf()
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DTrackRecordTest.kt101 assertTrue(record.containsAll(TEST_VALUES)) in <lambda>()
102 assertTrue(record.containsAll(TEST_VALUES.sorted())) in <lambda>()
103 assertTrue(record.containsAll(TEST_VALUES.sortedDescending())) in <lambda>()
104 assertTrue(record.containsAll(TEST_VALUES.distinct())) in <lambda>()
105 assertTrue(record.containsAll(TEST_VALUES.subList(0, TEST_VALUES.size / 2))) in <lambda>()
106 assertTrue(record.containsAll(TEST_VALUES.subList(0, TEST_VALUES.size / 2).sorted())) in <lambda>()
107 assertTrue(record.containsAll(listOf())) in <lambda>()
108 assertFalse(record.containsAll(listOf(ABSENT_VALUE))) in <lambda>()
109 assertFalse(record.containsAll(TEST_VALUES + listOf(ABSENT_VALUE))) in <lambda>()
/frameworks/base/core/tests/coretests/src/android/os/
DPackageTagsListTest.java56 assertTrue(list.containsAll("package2")); in testPackageTagsList()
61 assertFalse(list.containsAll("package1")); in testPackageTagsList()
85 assertTrue(list.containsAll("package2")); in testPackageTagsList_BuildFromMap()
89 assertFalse(list.containsAll("package1")); in testPackageTagsList_BuildFromMap()
124 assertTrue(list.containsAll("package2")); in testPackageTagsList_Remove()
/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/framework/com/android/net/module/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/
DNetworkSlicingConfig.java123 && mUrspRules.containsAll(that.mUrspRules) in equals()
125 && mSliceInfo.containsAll(that.mSliceInfo); in equals()
DDataCallResponse.java472 && mQosBearerSessions.containsAll(other.mQosBearerSessions); in equals()
478 && mTrafficDescriptors.containsAll(other.mTrafficDescriptors); in equals()
487 && mAddresses.containsAll(other.mAddresses) in equals()
489 && mDnsAddresses.containsAll(other.mDnsAddresses) in equals()
491 && mGatewayAddresses.containsAll(other.mGatewayAddresses) in equals()
493 && mPcscfAddresses.containsAll(other.mPcscfAddresses) in equals()
DUrspRule.java163 && mTrafficDescriptors.containsAll(that.mTrafficDescriptors) in equals()
165 && mRouteSelectionDescriptor.containsAll(that.mRouteSelectionDescriptor); in equals()
DRouteSelectionDescriptor.java247 && mSliceInfo.containsAll(that.mSliceInfo) in equals()
249 && mDnn.containsAll(that.mDnn); in equals()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
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.java203 public boolean containsAll(Collection<?> collection) { in containsAll() method in MapCollections.EntrySet
294 public boolean containsAll(Collection<?> collection) { in containsAll() method in MapCollections.KeySet
382 public boolean containsAll(Collection<?> collection) { in containsAll() method in MapCollections.ValuesCollection
523 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/libs/net/common/testutils/hostdevice/com/android/net/module/util/
DTrackRecord.kt81 override fun containsAll(elements: Collection<E>) = lock.withLock { in <lambda>() method
82 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/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()
DDateTimeKeyListener.java85 mNeedsAdvancedInput = !ArrayUtils.containsAll(CHARACTERS, mCharacters); in DateTimeKeyListener()
DTimeKeyListener.java85 mNeedsAdvancedInput = !ArrayUtils.containsAll(CHARACTERS, mCharacters); in TimeKeyListener()
/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/
DRequiresPermissionChecker.java165 if (!expectedPerm.containsAll(nodePerm)) { in matchMethod()
187 if (!actualPerm.containsAll(expectedPerm)) { in matchMethod()
231 public boolean containsAll(ParsedRequiresPermission perm) { in containsAll() method in RequiresPermissionChecker.ParsedRequiresPermission
232 boolean allMet = allOf.containsAll(perm.allOf); in containsAll()
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
DNativeScanResultTest.java85 assertTrue(scanResult.radioChainInfos.containsAll(scanResultDeserialized.radioChainInfos)); in canSerializeAndDeserialize()
/frameworks/base/core/java/android/content/pm/
DSignature.java315 return (a.length == b.length) && ArrayUtils.containsAll(a, b) in areExactMatch()
316 && ArrayUtils.containsAll(b, a); in areExactMatch()

123