/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | ThumbnailUtilsTest.java | 111 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/ |
D | MediaStoreTrashedTest.java | 81 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()
|
D | MediaStore_Video_MediaTest.java | 123 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()
|
D | MediaStore_Images_MediaTest.java | 121 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")));
|
D | MediaStore_Audio_MediaTest.java | 237 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()
|
D | MediaStore_FilesTest.java | 181 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()
|
D | MediaStore_VideoTest.java | 79 MediaProviderTestUtils.stageFile(R.raw.testvideo, file); in testQuery()
|
D | MediaStorePlacementTest.java | 216 final File file = MediaProviderTestUtils.stageFile(R.drawable.scenery, in testDirectory_InsideSandbox() 321 MediaProviderTestUtils.stageFile(R.raw.scenery, file)); in stageImageInAudio()
|
D | MediaStore_Audio_AlbumsTest.java | 170 MediaProviderTestUtils.stageFile(R.raw.testmp3, path); in testAlbumArt()
|
D | MediaStore_Video_ThumbnailsTest.java | 207 MediaProviderTestUtils.stageFile(R.raw.testthumbvideo, file); in insertVideo()
|
D | MediaProviderTestUtils.java | 161 public static File stageFile(int resId, File file) throws IOException { in stageFile() method
|
D | MediaStore_Images_ThumbnailsTest.java | 151 MediaProviderTestUtils.stageFile(R.raw.scenery, file); in testQueryExternalThumbnails()
|
/cts/tests/providerui/src/android/providerui/cts/ |
D | MediaStoreUiTest.java | 422 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/ |
D | MediaStorageTest.java | 140 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/ |
D | DownloadManagerTest.java | 732 stageFile("testmp3.mp3", file); in testDownload_onMediaStoreDownloadsDeleted() 853 private File stageFile(String resId, File file) throws IOException { in stageFile() method in DownloadManagerTest
|