Home
last modified time | relevance | path

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

123

/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/collections/
DQueryableHashSet.java82 public boolean containsAll(Collection<?> c) { in containsAll() method in QueryableHashSet
83 return mSet.containsAll(c); in containsAll()
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/
DListQuery.java69 <H extends Collection<F>> E containsAll(H... collection); in containsAll() method
DSetQuery.java75 <H extends Collection<F>> E containsAll(H... collections); in containsAll() method
/cts/common/device-side/bedstead/queryable/src/test/java/com/android/queryable/queries/
DBundleKeyQueryHelperTest.java260 bundleKeyQueryHelper.stringListValue().containsAll(STRING_LIST_VALUE); in matches_stringListValueRestriction_meetsRestriction_returnsTrue()
271 bundleKeyQueryHelper.stringListValue().containsAll(DIFFERENT_STRING_LIST_VALUE); in matches_stringListValueRestriction_doesNotMeetRestriction_returnsFalse()
282 bundleKeyQueryHelper.integerListValue().containsAll(INTEGER_LIST_VALUE); in matches_integerListValueRestriction_meetsRestriction_returnsTrue()
293 bundleKeyQueryHelper.integerListValue().containsAll(DIFFERENT_INTEGER_LIST_VALUE); in matches_integerListValueRestriction_doesNotMeetRestriction_returnsFalse()
DSetQueryHelperTest.java174 setQueryHelper.containsAll(Set.of(INTEGER, DIFFERENT_INTEGER)); in matches_containsAll_withNonQueries_doesContain_returnsTrue()
185 setQueryHelper.containsAll(Set.of(INTEGER, DIFFERENT_INTEGER)); in matches_containsAll_withNonQueries_doesNotContain_returnsFalse()
222 setQueryHelper.containsAll(Arrays.asList(1, 2)); in parcel_parcelsCorrectly()
DListQueryHelperTest.java174 listQueryHelper.containsAll(List.of(INTEGER, DIFFERENT_INTEGER)); in matches_containsAll_withNonQueries_doesContain_returnsTrue()
185 listQueryHelper.containsAll(List.of(INTEGER, DIFFERENT_INTEGER)); in matches_containsAll_withNonQueries_doesNotContain_returnsFalse()
/cts/tests/tests/media/common/src/android/media/cts/
DTestUtils.java62 if (!a.keySet().containsAll(b.keySet()) in equals()
63 || !b.keySet().containsAll(a.keySet())) { in equals()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioDevicesForAttributesTest.kt60 allOutDevices.toList().containsAll(audioDevicesForAttributes) in testGetAudioDevicesForAttributes()
/cts/tests/tests/util/src/android/util/cts/
DArraySetTest.java168 assertTrue("HashSet.containsAll(ArraySet) failed", set.containsAll(array)); in compareSets()
169 assertTrue("ArraySet.containsAll(HashSet) failed", array.containsAll(set)); in compareSets()
456 assertTrue("ArraySet.addAll(ArraySet) failed", arraySet.containsAll(testArraySet));
463 assertTrue("ArraySet.addAll(Container) failed", arraySet.containsAll(testArrayList));
464 assertTrue("ArraySet.addAll(Container) failed", arraySet.containsAll(testArraySet));
467 assertTrue("ArraySet.addAll(Container) failed", arraySet.containsAll(testArrayList));
DArrayMapTest.java220 if (!map.keySet().containsAll(array.keySet())) { in compareMaps()
224 if (!array.keySet().containsAll(map.keySet())) { in compareMaps()
228 if (!array.containsAll(map.keySet())) { in compareMaps()
232 if (!map.entrySet().containsAll(array.entrySet())) { in compareMaps()
236 if (!array.entrySet().containsAll(map.entrySet())) { in compareMaps()
/cts/tests/tests/telecom/src/android/telecom/cts/
DAdhocConferenceTest.java81 assertTrue(request.getParticipants().containsAll(PARTICIPANTS)); in testStartConference()
199 assertTrue(conference.mParticipants.containsAll(PARTICIPANTS)); in testConferenceCallAddConferenceParticipants()
DPhoneAccountRegistrarTest.java660 assertTrue(handlesAcrossProfiles.containsAll(handles)); in testGetCallCapablePhoneAccountsAcrossProfiles()
711 assertTrue(handlesAcrossProfiles.containsAll(handlesCurrent)); in testGetCallCapablePhoneAccountsAcrossProfilesWithWorkProfile()
730 assertTrue(handlesAcrossProfiles.containsAll(handlesCurrent)); in testGetCallCapablePhoneAccountsAcrossProfilesWithWorkProfile()
731 assertTrue(handlesAcrossProfilesWithDisabledAccount.containsAll(handlesAcrossProfiles)); in testGetCallCapablePhoneAccountsAcrossProfilesWithWorkProfile()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodRegistrationTest.java201 return imiIds.containsAll(List.of(enable_ime19, enable_ime20)); in testLoadEnabledIMEsAndMore()
213 return imiIds.containsAll(List.of(INITIALLY_DISABLED_IME_1, in testLoadEnabledIMEsAndMore()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DRcsContactUceCapabilityTest.java168 assertTrue(unparceledDuplexModes.containsAll(expectedDuplexModes)); in verifyUnparceledTuple()
173 assertTrue(unparceledUnsupportedModes.containsAll(expectedUnsupportedModes)); in verifyUnparceledTuple()
/cts/tests/location/location_none/src/android/location/cts/none/
DLocationDisabledAppOpsTest.java91 if (mode[0] == MODE_ALLOWED && !ignoreList.containsAll(pi.packageName) in testLocationAppOpIsIgnoredForAppsWhenLocationIsDisabled()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/companion/
DCompanionDeviceTestActivity.java119 if (!newAssociations.containsAll(mInitialAssociations)) { in onActivityResult()
/cts/tests/tests/security/src/android/security/cts/
DLocationDisabledAppOpsTest.java96 if (mode[0] == MODE_ALLOWED && !ignoreList.containsAll(pi.packageName)) { in testLocationAppOpIsIgnoredForAppsWhenLocationIsDisabled()
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/
DTestAppAccountAuthenticator.java136 .split(",")).containsAll(new HashSet<>(Arrays.asList(features))); in hasFeatures()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyProtectionTest.java231 assertTrue(Arrays.asList(originalMgfDigests).containsAll(spec.getMgf1Digests())); in testImmutabilityViaSetterParams()
233 assertTrue(Arrays.asList(originalMgfDigests).containsAll(spec.getMgf1Digests())); in testImmutabilityViaSetterParams()
DKeyGenParameterSpecTest.java309 assertTrue(Arrays.asList(originalMgfDigests).containsAll(spec.getMgf1Digests())); in testImmutabilityViaSetterParams()
311 assertTrue(Arrays.asList(originalMgfDigests).containsAll(spec.getMgf1Digests())); in testImmutabilityViaSetterParams()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/tv/
DHdmiCecRemoteControlPassThroughTest.java201 .that(destinationAddresses.containsAll(Arrays.asList(device1, device2))) in validateMultipleKeyeventToUserControlPress()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DFactoryResetProtectionTest.java171 .containsAll(FACTORY_RESET_PROTECTION_POLICY.getFactoryResetProtectionAccounts())) in isEqualToFactoryResetProtectionPolicy()
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DDistractingPackageTest.java94 || !ArrayUtils.containsAll(failed, expectedToFail)) { in setDistractionFlagsAndAssertResult()
DSuspendTestUtils.java85 || !ArrayUtils.containsAll(failed, expectedToFail)) { in suspendAndAssertResult()
/cts/hostsidetests/appcloning/test-apps/AppCloningTestApp/src/com/android/cts/appcloningtestapp/
DAppCloningDeviceTest.java347 assertThat(volumeListIncludingShared.containsAll(volumeList)).isTrue(); in testStorageManager_verifyInclusionOfSharedProfileVolumes()

123