Home
last modified time | relevance | path

Searched refs:dcimDir (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java292 final File dcimDir = getDcimDir(); in testTypePathConformity() local
327 new File(dcimDir, NONMEDIA_FILE_NAME).createNewFile(); in testTypePathConformity()
331 new File(dcimDir, AUDIO_FILE_NAME).createNewFile(); in testTypePathConformity()
348 new File(dcimDir, SUBTITLE_FILE_NAME).createNewFile(); in testTypePathConformity()
353 assertCanCreateFile(new File(dcimDir, IMAGE_FILE_NAME)); in testTypePathConformity()
354 assertCanCreateFile(new File(dcimDir, VIDEO_FILE_NAME)); in testTypePathConformity()
750 final File dcimDir = getDcimDir(); in testListDirectoriesWithMediaFiles() local
751 final File dir = new File(dcimDir, TEST_DIRECTORY_NAME); in testListDirectoriesWithMediaFiles()
761 assertThat(listAs(APP_B_NO_PERMS, dcimDir.getPath())).contains(TEST_DIRECTORY_NAME); in testListDirectoriesWithMediaFiles()
766 assertThat(listAs(APP_A_HAS_RES, dcimDir.getPath())).contains(TEST_DIRECTORY_NAME); in testListDirectoriesWithMediaFiles()
[all …]
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStore_Images_MediaTest.java316 File dcimDir = new File(dir, Environment.DIRECTORY_DCIM);
320 file = copyResourceToFile(R.raw.scenery, dcimDir, "cts" + System.nanoTime() + ".jpg");
326 final File insertedFile = new File(dcimDir, "cts" + System.nanoTime() + ".jpg");
358 File dcimDir = new File(dir, Environment.DIRECTORY_DCIM);
362 file = copyResourceToFile(R.raw.scenery, dcimDir, "cts" + System.nanoTime() + ".jpg");
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/
DLegacyStorageTest.java380 final File dcimDir = getDcimDir(); in testInsertHiddenFile() local
382 final File hiddenImageFile = new File(dcimDir, hiddenImageFileName); in testInsertHiddenFile()