/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/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/src_frameworkcommon/android/net/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 | DataCallResponse.java | 303 && 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/ |
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 | 201 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/ |
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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttTestUtils.java | 50 return a.containsAll(b) && b.containsAll(a); in compareListContentsNoOrdering()
|
/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 | TimeKeyListener.java | 85 mNeedsAdvancedInput = !ArrayUtils.containsAll(CHARACTERS, mCharacters); in TimeKeyListener()
|
D | DateTimeKeyListener.java | 85 mNeedsAdvancedInput = !ArrayUtils.containsAll(CHARACTERS, mCharacters); in DateTimeKeyListener()
|
/frameworks/base/core/java/android/content/pm/ |
D | Signature.java | 301 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/ |
D | NativeScanResultTest.java | 85 assertTrue(scanResult.radioChainInfos.containsAll(scanResultDeserialized.radioChainInfos)); in canSerializeAndDeserialize()
|
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ |
D | ImsFeatureTest.java | 238 assertTrue(request.getCapabilitiesToDisable().containsAll( in testCapabilityChangeContainsFullSets() 240 assertTrue(request.getCapabilitiesToEnable().containsAll( in testCapabilityChangeContainsFullSets()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothCodecStatus.java | 88 return Arrays.asList(c1).containsAll(Arrays.asList(c2)); in sameCapabilities()
|
/frameworks/base/wifi/java/android/net/wifi/rtt/ |
D | RangingRequest.java | 260 return mRttPeers.size() == lhs.mRttPeers.size() && mRttPeers.containsAll(lhs.mRttPeers); in equals()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | ConnectedClientsTracker.java | 115 || !clients.containsAll(mLastTetheredClients); in updateConnectedClients()
|
/frameworks/base/media/java/android/media/tv/ |
D | TvContentRating.java | 1067 return subRatings.containsAll(subRatingsOther); in contains()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | KeySetManagerService.java | 148 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/ |
D | StaticMetadata.java | 1900 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()
|