Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DThumbnailUtilsTest.java108 final File file = stageFile("testmp3.mp3", new File(mDir, "cts.mp3")); in testCreateAudioThumbnail()
116 final File file = stageFile("monotestmp3.mp3", new File(mDir, "audio.mp3")); in testCreateAudioThumbnail_SeparateFile()
117 stageFile("volantis.jpg", new File(mDir, "AlbumArt.jpg")); in testCreateAudioThumbnail_SeparateFile()
126 final File file = stageFile("monotestmp3.mp3", new File(mDir, "cts.mp3")); in testCreateAudioThumbnail_None()
136 final File file = stageFile("volantis.jpg", new File(mDir, "cts.jpg")); in testCreateImageThumbnail()
154 final File file = stageFile(res, new File(mDir, "cts.jpg")); in testCreateImageThumbnail_sampleWithThumbnail()
163 final File file = stageFile(res, new File(mDir, "cts.jpg")); in testCreateImageThumbnail_strippedSample()
177 final File file = stageFile(res, new File(mDir, "cts.heic")); in testCreateImageThumbnail_HEICSample()
186 final File file = stageFile("sample.avif", new File(mDir, "cts.avif")); in testCreateImageThumbnailAvif()
195 final File file = stageFile( in testCreateVideoThumbnail()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStoreTrashedTest.java83 final File file = ProviderTestUtils.stageFile(R.drawable.scenery, in testOwned()
99 final File file = ProviderTestUtils.stageFile(R.drawable.scenery, in testUnowned()
115 final File file = ProviderTestUtils.stageFile(R.drawable.scenery, in testAtypical()
DMediaStore_Video_MediaTest.java121 final File videoFile = ProviderTestUtils.stageFile(R.raw.testvideo, in testStoreVideoMediaExternal()
201 ProviderTestUtils.stageFile(R.raw.testvideo, file); in insertVideo()
355 ProviderTestUtils.stageFile(R.raw.testvideo, new File(dir, "a.mp4"))); in testCanonicalize()
357 ProviderTestUtils.stageFile(R.raw.testvideo_meta, new File(dir, "b.mp4"))); in testCanonicalize()
359 ProviderTestUtils.stageFile(R.raw.testvideo, new File(dir, "c.mp4"))); in testCanonicalize()
376 ProviderTestUtils.stageFile(R.raw.testvideo_meta, new File(dir, "d.mp4"))); in testCanonicalize()
DMediaStore_Audio_MediaTest.java200 ProviderTestUtils.stageFile(R.raw.testmp3_2, new File(dir, "a.mp3"))); in testCanonicalize()
202 ProviderTestUtils.stageFile(R.raw.testmp3, new File(dir, "b.mp3"))); in testCanonicalize()
204 ProviderTestUtils.stageFile(R.raw.testmp3_2, new File(dir, "c.mp3"))); in testCanonicalize()
221 ProviderTestUtils.stageFile(R.raw.testmp3, new File(dir, "d.mp3"))); in testCanonicalize()
DMediaStore_Images_MediaTest.java117 ProviderTestUtils.stageFile(R.raw.scenery, file); in testInsertImageWithImagePath()
122 ProviderTestUtils.stageFile(R.raw.scenery, file); in testInsertImageWithImagePath()
238 final File file = ProviderTestUtils.stageFile(R.raw.scenery, in testStoreImagesMediaExternal()
491 ProviderTestUtils.stageFile(R.raw.scenery, new File(dir, "a.jpg")));
493 ProviderTestUtils.stageFile(R.raw.lg_g4_iso_800_jpg, new File(dir, "b.jpg")));
495 ProviderTestUtils.stageFile(R.raw.scenery, new File(dir, "c.jpg")));
512 ProviderTestUtils.stageFile(R.raw.lg_g4_iso_800_jpg, new File(dir, "d.jpg")));
DMediaStore_FilesTest.java181 ProviderTestUtils.stageFile(R.raw.testmp3, file); in testCaseSensitivity()
270 ProviderTestUtils.stageFile(R.raw.testmp3, file); in testUpdateMediaType()
318 ProviderTestUtils.stageFile(R.raw.testmp3, file); in testDateAddedFrozen()
338 ProviderTestUtils.stageFile(R.raw.testmp3, file); in testInPlaceUpdate_mediaFileWithInvalidRelativePath()
DMediaStore_VideoTest.java81 ProviderTestUtils.stageFile(R.raw.testvideo, file); in testQuery()
DMediaStorePlacementTest.java216 final File file = ProviderTestUtils.stageFile(R.drawable.scenery, Environment.buildPath(dir, in testDirectory_InsideSandbox()
318 ProviderTestUtils.stageFile(R.raw.scenery, file)); in stageImageInAudio()
DMediaStore_Audio_AlbumsTest.java172 ProviderTestUtils.stageFile(R.raw.testmp3, path); in testAlbumArt()
DMediaStore_Video_ThumbnailsTest.java209 ProviderTestUtils.stageFile(R.raw.testthumbvideo, file); in insertVideo()
DMediaStore_Images_ThumbnailsTest.java156 ProviderTestUtils.stageFile(R.raw.scenery, file); in testQueryExternalThumbnails()
/cts/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java317 mFile = stageFile(R.raw.text, file); in prepareFile()
426 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()
875 static File stageFile(File file) throws Exception { in stageFile() method in MediaStorageTest
/cts/tests/app/src/android/app/cts/
DDownloadManagerTest.java704 stageFile("testmp3.mp3", file); in testDownload_onMediaStoreDownloadsDeleted()
825 private File stageFile(String resId, File file) throws IOException { in stageFile() method in DownloadManagerTest
/cts/tests/tests/provider/src/android/provider/cts/
DProviderTestUtils.java259 public static File stageFile(int resId, File file) throws IOException { in stageFile() method