/cts/tests/tests/media/src/android/media/cts/ |
D | ThumbnailUtilsTest.java | 108 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/ |
D | MediaStoreTrashedTest.java | 83 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()
|
D | MediaStore_Video_MediaTest.java | 121 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()
|
D | MediaStore_Audio_MediaTest.java | 200 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()
|
D | MediaStore_Images_MediaTest.java | 117 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")));
|
D | MediaStore_FilesTest.java | 181 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()
|
D | MediaStore_VideoTest.java | 81 ProviderTestUtils.stageFile(R.raw.testvideo, file); in testQuery()
|
D | MediaStorePlacementTest.java | 216 final File file = ProviderTestUtils.stageFile(R.drawable.scenery, Environment.buildPath(dir, in testDirectory_InsideSandbox() 318 ProviderTestUtils.stageFile(R.raw.scenery, file)); in stageImageInAudio()
|
D | MediaStore_Audio_AlbumsTest.java | 172 ProviderTestUtils.stageFile(R.raw.testmp3, path); in testAlbumArt()
|
D | MediaStore_Video_ThumbnailsTest.java | 209 ProviderTestUtils.stageFile(R.raw.testthumbvideo, file); in insertVideo()
|
D | MediaStore_Images_ThumbnailsTest.java | 156 ProviderTestUtils.stageFile(R.raw.scenery, file); in testQueryExternalThumbnails()
|
/cts/tests/providerui/src/android/providerui/cts/ |
D | MediaStoreUiTest.java | 317 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/ |
D | MediaStorageTest.java | 140 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/ |
D | DownloadManagerTest.java | 704 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/ |
D | ProviderTestUtils.java | 259 public static File stageFile(int resId, File file) throws IOException { in stageFile() method
|