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.java66 final File file = stageFile(R.raw.testmp3, new File(mDir, "cts.mp3")); in testCreateAudioThumbnail()
74 final File file = stageFile(R.raw.monotestmp3, new File(mDir, "audio.mp3")); in testCreateAudioThumbnail_SeparateFile()
75 stageFile(R.raw.volantis, new File(mDir, "AlbumArt.jpg")); in testCreateAudioThumbnail_SeparateFile()
84 final File file = stageFile(R.raw.monotestmp3, new File(mDir, "cts.mp3")); in testCreateAudioThumbnail_None()
94 final File file = stageFile(R.raw.volantis, new File(mDir, "cts.jpg")); in testCreateImageThumbnail()
102 final File file = stageFile( in testCreateVideoThumbnail()
110 private static File stageFile(int resId, File file) throws IOException { in stageFile() method in ThumbnailUtilsTest
DExifInterfaceTest.java497 stageFile(R.raw.lg_g4_iso_800, new File(Environment.getExternalStorageDirectory(), in testReadExifDataFromLgG4Iso800Jpg()
584 private void stageFile(int resId, File file) throws IOException { in stageFile() method in ExifInterfaceTest
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_Audio_MediaTest.java178 ProviderTestUtils.stageFile(R.raw.testmp3_2, new File(dir, "a.mp3"))); in testCanonicalize()
180 ProviderTestUtils.stageFile(R.raw.testmp3, new File(dir, "b.mp3"))); in testCanonicalize()
182 ProviderTestUtils.stageFile(R.raw.testmp3_2, new File(dir, "c.mp3"))); in testCanonicalize()
199 ProviderTestUtils.stageFile(R.raw.testmp3, new File(dir, "d.mp3"))); in testCanonicalize()
DMediaStore_Images_MediaTest.java112 ProviderTestUtils.stageFile(R.raw.scenery, file); in testInsertImageWithImagePath()
128 ProviderTestUtils.stageFile(R.raw.scenery, file); in testInsertImageWithImagePath()
415 ProviderTestUtils.stageFile(R.raw.scenery, new File(dir, "a.jpg")));
417 ProviderTestUtils.stageFile(R.raw.lg_g4_iso_800_jpg, new File(dir, "b.jpg")));
419 ProviderTestUtils.stageFile(R.raw.scenery, new File(dir, "c.jpg")));
436 ProviderTestUtils.stageFile(R.raw.lg_g4_iso_800_jpg, new File(dir, "d.jpg")));
DMediaStore_Video_MediaTest.java198 ProviderTestUtils.stageFile(R.raw.testvideo, file); in insertVideo()
326 ProviderTestUtils.stageFile(R.raw.testvideo, new File(dir, "a.mp4"))); in testCanonicalize()
328 ProviderTestUtils.stageFile(R.raw.testvideo_meta, new File(dir, "b.mp4"))); in testCanonicalize()
330 ProviderTestUtils.stageFile(R.raw.testvideo, new File(dir, "c.mp4"))); in testCanonicalize()
347 ProviderTestUtils.stageFile(R.raw.testvideo_meta, new File(dir, "d.mp4"))); in testCanonicalize()
DMediaStore_FilesTest.java169 ProviderTestUtils.stageFile(R.raw.testmp3, file); in testCaseSensitivity()
258 ProviderTestUtils.stageFile(R.raw.testmp3, file); in testUpdateMediaType()
287 ProviderTestUtils.stageFile(R.raw.testmp3, file); in testDateAddedFrozen()
307 ProviderTestUtils.stageFile(R.raw.scenery, file); in testInPlaceUpdate_mediaFileWithInvalidRelativePath()
DMediaStore_VideoTest.java78 ProviderTestUtils.stageFile(R.raw.testvideo, file); in testQuery()
DMediaStorePlacementTest.java202 final File file = ProviderTestUtils.stageFile(R.drawable.scenery, Environment.buildPath(dir, in testDirectory_InsideSandbox()
DMediaStore_Video_ThumbnailsTest.java202 ProviderTestUtils.stageFile(R.raw.testthumbvideo, file); in insertVideo()
DMediaStoreTest.java183 ProviderTestUtils.stageFile(R.raw.volantis, file); in testContributedMedia()
DMediaStore_Audio_AlbumsTest.java169 ProviderTestUtils.stageFile(R.raw.testmp3, path); in testAlbumArt()
DProviderTestUtils.java194 static File stageFile(int resId, File file) throws IOException { in stageFile() method in ProviderTestUtils
DMediaStore_Images_ThumbnailsTest.java151 ProviderTestUtils.stageFile(R.raw.scenery, file); in testQueryExternalThumbnails()
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
DMediaStorageTest.java97 final File jpg = stageFile(TEST_JPG); in testStageFiles()
99 final File pdf = stageFile(TEST_PDF); in testStageFiles()
444 static File stageFile(File file) throws IOException { in stageFile() method in MediaStorageTest
/cts/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java394 mFile = stageFile(R.raw.text, file); in prepareFile()
483 static File stageFile(int resId, File file) throws IOException { in stageFile() method in MediaStoreUiTest