Searched refs:mediaIds (Results 1 – 3 of 3) sorted by relevance
/cts/tests/PhotoPicker/src/android/photopicker/cts/ |
D | CloudPhotoPickerTest.java | 145 final List<String> mediaIds = extractMediaIds(clipData, 1); in testCloudOnlySync() local 147 assertThat(mediaIds).containsExactly(CLOUD_ID1); in testCloudOnlySync() 156 final List<String> mediaIds = extractMediaIds(clipData, 2); in testCloudPlusLocalSyncWithoutDedupe() local 158 assertThat(mediaIds).containsExactly(CLOUD_ID1, mUriList.get(0).getLastPathSegment()); in testCloudPlusLocalSyncWithoutDedupe() 168 final List<String> mediaIds = extractMediaIds(clipData, 1); in testCloudPlusLocalSyncWithDedupe() local 170 containsExcept(mediaIds, mUriList.get(0).getLastPathSegment(), CLOUD_ID1); in testCloudPlusLocalSyncWithDedupe() 179 List<String> mediaIds = extractMediaIds(clipData, 2); in testDeleteCloudMedia() local 181 assertThat(mediaIds).containsExactly(CLOUD_ID1, CLOUD_ID2); in testDeleteCloudMedia() 188 mediaIds = extractMediaIds(clipData, 1); in testDeleteCloudMedia() 190 containsExcept(mediaIds, CLOUD_ID2, CLOUD_ID1); in testDeleteCloudMedia() [all …]
|
D | PhotoPickerCloudUtils.java | 84 final List<String> mediaIds = new ArrayList<>(); in extractMediaIds() local 86 mediaIds.add(clipData.getItemAt(i).getUri().getLastPathSegment()); in extractMediaIds() 89 return mediaIds; in extractMediaIds() 136 public static void containsExcept(List<String> mediaIds, String contained, in containsExcept() argument 138 assertThat(mediaIds).contains(contained); in containsExcept() 139 assertThat(mediaIds).containsNoneIn(Collections.singletonList(notContained)); in containsExcept()
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | MediaBrowserTest.java | 731 String[] mediaIds, int pageIndex, int pageSize, int itemsCount) { in getMediaIdsCurrentPage() argument 733 return Arrays.copyOfRange(mediaIds, pageOffset, pageOffset + itemsCount); in getMediaIdsCurrentPage()
|