Home
last modified time | relevance | path

Searched refs:originalSet (Results 1 – 3 of 3) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/framework/src/com/android/adservices/
DAdServicesParcelableUtilTest.java215 ImmutableSet<TestParcelable> originalSet = in testWriteSetToParcelThenRead_success() local
219 AdServicesParcelableUtil.writeSetToParcel(targetParcel, originalSet); in testWriteSetToParcelThenRead_success()
226 assertThat(setFromParcel).containsExactlyElementsIn(originalSet); in testWriteSetToParcelThenRead_success()
253 ImmutableSet<String> originalSet = ImmutableSet.of("one", "two"); in testWriteStringSetToParcelThenRead_success() local
256 AdServicesParcelableUtil.writeStringSetToParcel(targetParcel, originalSet); in testWriteStringSetToParcelThenRead_success()
261 assertThat(setFromParcel).containsExactlyElementsIn(originalSet); in testWriteStringSetToParcelThenRead_success()
288 ImmutableSet<Integer> originalSet = ImmutableSet.of(1, 2); in testWriteIntegerSetToParcelThenRead_success() local
291 AdServicesParcelableUtil.writeIntegerSetToParcel(targetParcel, originalSet); in testWriteIntegerSetToParcelThenRead_success()
297 assertThat(setFromParcel).containsExactlyElementsIn(originalSet); in testWriteIntegerSetToParcelThenRead_success()
302 Set<Integer> originalSet = new HashSet<>(Arrays.asList(1, null, 2)); in testWriteIntegerSetToParcelThenRead_nullValueSkippedSuccess() local
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/common/
DFledgeRoomConvertersTest.java125 final ImmutableSet<String> originalSet = ImmutableSet.of("one", "two", "three"); in testSerializeDeserializeStringSet() local
127 String serializedStringSet = FledgeRoomConverters.serializeStringSet(originalSet); in testSerializeDeserializeStringSet()
131 assertThat(deserializeStringSet).containsExactlyElementsIn(originalSet); in testSerializeDeserializeStringSet()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoPage.java436 MediaSet originalSet = mActivity.getDataManager() in onCreate() local
438 if (mHasCameraScreennailOrPlaceholder && originalSet instanceof ComboAlbum) { in onCreate()
441 ((ComboAlbum) originalSet).useNameOfChild(1); in onCreate()
443 mSelectionManager.setSourceMediaSet(originalSet); in onCreate()