Home
last modified time | relevance | path

Searched refs:stageFile (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/media/misc/src/android/media/misc/cts/
DThumbnailUtilsTest.java111 final File file = stageFile("testmp3.mp3", new File(mDir, "cts.mp3")); in testCreateAudioThumbnail()
119 final File file = stageFile("monotestmp3.mp3", new File(mDir, "audio.mp3")); in testCreateAudioThumbnail_SeparateFile()
120 stageFile("volantis.jpg", new File(mDir, "AlbumArt.jpg")); in testCreateAudioThumbnail_SeparateFile()
129 final File file = stageFile("monotestmp3.mp3", new File(mDir, "cts.mp3")); in testCreateAudioThumbnail_None()
139 final File file = stageFile("volantis.jpg", new File(mDir, "cts.jpg")); in testCreateImageThumbnail()
157 final File file = stageFile(res, new File(mDir, "cts.jpg")); in testCreateImageThumbnail_sampleWithThumbnail()
166 final File file = stageFile(res, new File(mDir, "cts.jpg")); in testCreateImageThumbnail_strippedSample()
180 final File file = stageFile(res, new File(mDir, "cts.heic")); in testCreateImageThumbnail_HEICSample()
193 final File file = stageFile("sample.avif", new File(mDir, "cts.avif")); in testCreateImageThumbnailAvif()
202 final File file = stageFile( in testCreateVideoThumbnail()
[all …]
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStoreTrashedTest.java81 final File file = MediaProviderTestUtils.stageFile(R.drawable.scenery, in testOwned()
97 final File file = MediaProviderTestUtils.stageFile(R.drawable.scenery, in testUnowned()
113 final File file = MediaProviderTestUtils.stageFile(R.drawable.scenery, in testAtypical()
DMediaStore_Video_MediaTest.java123 final File videoFile = MediaProviderTestUtils.stageFile(R.raw.testvideo, in testStoreVideoMediaExternal()
203 MediaProviderTestUtils.stageFile(R.raw.testvideo, file); in insertVideo()
363 MediaProviderTestUtils.stageFile(R.raw.testvideo, new File(dir, "a.mp4"))); in testCanonicalize()
365 MediaProviderTestUtils.stageFile(R.raw.testvideo_meta, new File(dir, "b.mp4"))); in testCanonicalize()
367 MediaProviderTestUtils.stageFile(R.raw.testvideo, new File(dir, "c.mp4"))); in testCanonicalize()
384 MediaProviderTestUtils.stageFile(R.raw.testvideo_meta, new File(dir, "d.mp4"))); in testCanonicalize()
DMediaStore_Images_MediaTest.java121 MediaProviderTestUtils.stageFile(R.raw.scenery, file); in testInsertImageWithImagePath()
126 MediaProviderTestUtils.stageFile(R.raw.scenery, file); in testInsertImageWithImagePath()
242 final File file = MediaProviderTestUtils.stageFile(R.raw.scenery, in testStoreImagesMediaExternal()
512 MediaProviderTestUtils.stageFile(R.raw.scenery, new File(dir, "a.jpg")));
514 MediaProviderTestUtils.stageFile(R.raw.lg_g4_iso_800_jpg, new File(dir, "b.jpg")));
516 MediaProviderTestUtils.stageFile(R.raw.scenery, new File(dir, "c.jpg")));
533 MediaProviderTestUtils.stageFile(R.raw.lg_g4_iso_800_jpg, new File(dir, "d.jpg")));
DMediaStore_Audio_MediaTest.java237 MediaProviderTestUtils.stageFile(R.raw.testmp3_2, new File(dir, "a.mp3"))); in testCanonicalize()
239 MediaProviderTestUtils.stageFile(R.raw.testmp3, new File(dir, "b.mp3"))); in testCanonicalize()
241 MediaProviderTestUtils.stageFile(R.raw.testmp3_2, new File(dir, "c.mp3"))); in testCanonicalize()
258 MediaProviderTestUtils.stageFile(R.raw.testmp3, new File(dir, "d.mp3"))); in testCanonicalize()
DMediaStore_FilesTest.java181 MediaProviderTestUtils.stageFile(R.raw.testmp3, file); in testCaseSensitivity()
276 MediaProviderTestUtils.stageFile(R.raw.testmp3, file); in testUpdateMediaType()
324 MediaProviderTestUtils.stageFile(R.raw.testmp3, file); in testDateAddedFrozen()
344 MediaProviderTestUtils.stageFile(R.raw.testmp3, file); in testInPlaceUpdate_mediaFileWithInvalidRelativePath()
DMediaStore_VideoTest.java79 MediaProviderTestUtils.stageFile(R.raw.testvideo, file); in testQuery()
DMediaStorePlacementTest.java216 final File file = MediaProviderTestUtils.stageFile(R.drawable.scenery, in testDirectory_InsideSandbox()
321 MediaProviderTestUtils.stageFile(R.raw.scenery, file)); in stageImageInAudio()
DMediaStore_Audio_AlbumsTest.java170 MediaProviderTestUtils.stageFile(R.raw.testmp3, path); in testAlbumArt()
DMediaStore_Video_ThumbnailsTest.java207 MediaProviderTestUtils.stageFile(R.raw.testthumbvideo, file); in insertVideo()
DMediaProviderTestUtils.java161 public static File stageFile(int resId, File file) throws IOException { in stageFile() method
DMediaStore_Images_ThumbnailsTest.java151 MediaProviderTestUtils.stageFile(R.raw.scenery, file); in testQueryExternalThumbnails()
/cts/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java422 mFile = stageFile(R.raw.text, file); in prepareFile()
554 static File stageFile(int resId, File file) throws IOException { in stageFile() method in MediaStoreUiTest
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
DMediaStorageTest.java140 final File jpg = stageFile(TEST_JPG); in testStageFiles()
142 final File pdf = stageFile(TEST_PDF); in testStageFiles()
1098 static File stageFile(File file) throws Exception { in stageFile() method in MediaStorageTest
/cts/tests/app/src/android/app/cts/
DDownloadManagerTest.java732 stageFile("testmp3.mp3", file); in testDownload_onMediaStoreDownloadsDeleted()
853 private File stageFile(String resId, File file) throws IOException { in stageFile() method in DownloadManagerTest