/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | ArrayUtilsTest.java | 70 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/ |
D | RequiresPermissionCheckerTest.java | 59 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/ |
D | TrackRecordTest.kt | 101 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/ |
D | PackageTagsListTest.java | 56 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/ |
D | CodeUtilsTest.kt | 128 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/ |
D | UserBackupPreferencesTest.java | 64 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/ |
D | LinkPropertiesUtils.java | 161 ? 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/ |
D | SparseArrayUtils.kt | 103 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/ |
D | PulledStatsTest.java | 90 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/ |
D | NetworkSlicingConfig.java | 123 && mUrspRules.containsAll(that.mUrspRules) in equals() 125 && mSliceInfo.containsAll(that.mSliceInfo); in equals()
|
D | DataCallResponse.java | 472 && 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()
|
D | UrspRule.java | 163 && mTrafficDescriptors.containsAll(that.mTrafficDescriptors) in equals() 165 && mRouteSelectionDescriptor.containsAll(that.mRouteSelectionDescriptor); in equals()
|
D | RouteSelectionDescriptor.java | 247 && mSliceInfo.containsAll(that.mSliceInfo) in equals() 249 && mDnn.containsAll(that.mDnn); in equals()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | TimeLimitedMotionEventBuffer.java | 123 public boolean containsAll(Collection<?> c) { in containsAll() method in TimeLimitedMotionEventBuffer 124 return mMotionEvents.containsAll(c); in containsAll()
|
/frameworks/base/core/java/android/util/ |
D | MapCollections.java | 203 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/ |
D | EventHistoryImplTest.java | 169 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/ |
D | TrackRecord.kt | 81 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/ |
D | ArrayMapTests.java | 183 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/ |
D | AbstractCollection.java | 60 public boolean containsAll(Collection<?> collection) { in containsAll() method in AbstractCollection
|
/frameworks/base/core/java/android/text/method/ |
D | DateKeyListener.java | 74 mNeedsAdvancedInput = !ArrayUtils.containsAll(CHARACTERS, mCharacters); in DateKeyListener()
|
D | DateTimeKeyListener.java | 85 mNeedsAdvancedInput = !ArrayUtils.containsAll(CHARACTERS, mCharacters); in DateTimeKeyListener()
|
D | TimeKeyListener.java | 85 mNeedsAdvancedInput = !ArrayUtils.containsAll(CHARACTERS, mCharacters); in TimeKeyListener()
|
/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/ |
D | RequiresPermissionChecker.java | 165 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/ |
D | NativeScanResultTest.java | 85 assertTrue(scanResult.radioChainInfos.containsAll(scanResultDeserialized.radioChainInfos)); in canSerializeAndDeserialize()
|
/frameworks/base/core/java/android/content/pm/ |
D | Signature.java | 315 return (a.length == b.length) && ArrayUtils.containsAll(a, b) in areExactMatch() 316 && ArrayUtils.containsAll(b, a); in areExactMatch()
|