Home
last modified time | relevance | path

Searched refs:stageMedia (Results 1 – 12 of 12) sorted by relevance

/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStorePlacementTest.java90 final Uri uri = MediaProviderTestUtils.stageMedia(R.drawable.scenery, in testDefault()
102 final Uri uri = MediaProviderTestUtils.stageMedia(R.drawable.scenery, in testIgnored()
129 final Uri uri = MediaProviderTestUtils.stageMedia(R.drawable.scenery, in testDisplayName_SameMime()
144 final Uri uri = MediaProviderTestUtils.stageMedia(R.drawable.scenery, in testDisplayName_DifferentMime()
162 final Uri uri = MediaProviderTestUtils.stageMedia(R.drawable.scenery, in testDirectory_Valid()
202 final Uri uri = MediaProviderTestUtils.stageMedia(R.drawable.scenery, in testDirectory_Invalid()
234 final Uri uri = MediaProviderTestUtils.stageMedia(R.drawable.scenery, in testDirectory_OutsideSandbox()
DMediaStoreMatchTest.java87 final Uri pos = MediaProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages); in verifyMatch()
88 final Uri neg = MediaProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages); in verifyMatch()
DMediaStore_Images_MediaTest.java413 final Uri publishUri = MediaProviderTestUtils.stageMedia(R.raw.lg_g4_iso_800_jpg,
540 final Uri uri = MediaProviderTestUtils.stageMedia(R.raw.lg_g4_iso_800_jpg, mExternalImages,
594 MediaProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages);
595 MediaProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages);
628 final Uri red = MediaProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages); in testLimit()
629 final Uri blue = MediaProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages); in testLimit()
DMediaProviderTestUtils.java205 public static Uri stageMedia(int resId, Uri collectionUri) throws IOException { in stageMedia() method
206 return stageMedia(resId, collectionUri, "image/png"); in stageMedia()
209 public static Uri stageMedia(int resId, Uri collectionUri, String mimeType) throws IOException { in stageMedia() method
DMediaStore_Video_MediaTest.java212 final Uri publishUri = MediaProviderTestUtils.stageMedia(R.raw.testvideo_meta, in testOriginalAccess()
235 final Uri publishUri = MediaProviderTestUtils.stageMedia(R.raw.testvideo_meta, in testXmpLocationRedaction()
280 uris[i] = MediaProviderTestUtils.stageMedia(videoIds[i], mExternalVideo, "video/mp4"); in testIsoLocationRedaction()
391 final Uri uri = MediaProviderTestUtils.stageMedia(R.raw.testvideo_meta, mExternalVideo, in testMetadata()
DMediaStoreTest.java170 final Uri uri = MediaProviderTestUtils.stageMedia(R.raw.volantis, mExternalImages); in testGetStorageVolume()
DMediaStore_Images_ThumbnailsTest.java124 mRed = MediaProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages); in prepareImages()
125 mBlue = MediaProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages); in prepareImages()
DMediaStore_Video_ThumbnailsTest.java216 final Uri finalUri = MediaProviderTestUtils.stageMedia(R.raw.testvideo, in testInsertUpdateDelete()
DMediaStore_Audio_MediaTest.java283 final Uri uri = MediaProviderTestUtils.stageMedia(R.raw.iso88591_11, in testTrack()
DMediaStore_FilesTest.java234 MediaProviderTestUtils.stageMedia(R.raw.volantis, mExternalImages))); in testAccess()
DMediaStore_DownloadsTest.java340 final Uri uri = MediaProviderTestUtils.stageMedia(R.raw.scenery, mExternalDownloads); in testThumbnails()
/cts/tests/PhotoPicker/src/android/photopicker/cts/util/
DPhotoPickerFilesUtils.java167 return stageMedia(resId, collectionUri, mimeType, userContext, isFavorite); in getPermissionAndStageMedia()
173 private static Pair<Uri, String> stageMedia(int resId, Uri collectionUri, String mimeType, in stageMedia() method in PhotoPickerFilesUtils