Searched refs:dcimDir (Results 1 – 3 of 3) sorted by relevance
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | ScopedStorageDeviceTest.java | 271 final File dcimDir = getDcimDir(); in testTypePathConformity() local 306 new File(dcimDir, NONMEDIA_FILE_NAME).createNewFile(); in testTypePathConformity() 310 new File(dcimDir, AUDIO_FILE_NAME).createNewFile(); in testTypePathConformity() 327 new File(dcimDir, SUBTITLE_FILE_NAME).createNewFile(); in testTypePathConformity() 332 assertCanCreateFile(new File(dcimDir, IMAGE_FILE_NAME)); in testTypePathConformity() 333 assertCanCreateFile(new File(dcimDir, VIDEO_FILE_NAME)); in testTypePathConformity() 729 final File dcimDir = getDcimDir(); in testListDirectoriesWithMediaFiles() local 730 final File dir = new File(dcimDir, TEST_DIRECTORY_NAME); in testListDirectoriesWithMediaFiles() 740 assertThat(listAs(APP_B_NO_PERMS, dcimDir.getPath())).contains(TEST_DIRECTORY_NAME); in testListDirectoriesWithMediaFiles() 745 assertThat(listAs(APP_A_HAS_RES, dcimDir.getPath())).contains(TEST_DIRECTORY_NAME); in testListDirectoriesWithMediaFiles() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/media/ |
D | MediaStore_Images_MediaTest.java | 307 File dcimDir = new File(dir, Environment.DIRECTORY_DCIM); 311 file = copyResourceToFile(R.raw.scenery, dcimDir, "cts" + System.nanoTime() + ".jpg"); 317 final File insertedFile = new File(dcimDir, "cts" + System.nanoTime() + ".jpg"); 344 File dcimDir = new File(dir, Environment.DIRECTORY_DCIM); 348 file = copyResourceToFile(R.raw.scenery, dcimDir, "cts" + System.nanoTime() + ".jpg");
|
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/ |
D | LegacyStorageTest.java | 370 final File dcimDir = getDcimDir(); in testInsertHiddenFile() local 372 final File hiddenImageFile = new File(dcimDir, hiddenImageFileName); in testInsertHiddenFile()
|