Home
last modified time | relevance | path

Searched refs:downloadDir (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DScopedStorageDeviceTest.java273 final File downloadDir = getDownloadDir(); in testTypePathConformity() local
340 assertCanCreateFile(new File(downloadDir, AUDIO_FILE_NAME)); in testTypePathConformity()
341 assertCanCreateFile(new File(downloadDir, IMAGE_FILE_NAME)); in testTypePathConformity()
342 assertCanCreateFile(new File(downloadDir, NONMEDIA_FILE_NAME)); in testTypePathConformity()
343 assertCanCreateFile(new File(downloadDir, PLAYLIST_FILE_NAME)); in testTypePathConformity()
344 assertCanCreateFile(new File(downloadDir, SUBTITLE_FILE_NAME)); in testTypePathConformity()
345 assertCanCreateFile(new File(downloadDir, VIDEO_FILE_NAME)); in testTypePathConformity()
763 final File downloadDir = getDownloadDir(); in testListDirectoriesWithNonMediaFiles() local
764 final File dir = new File(downloadDir, TEST_DIRECTORY_NAME); in testListDirectoriesWithNonMediaFiles()
777 assertThat(listAs(APP_B_NO_PERMS, downloadDir.getPath())).contains(TEST_DIRECTORY_NAME); in testListDirectoriesWithNonMediaFiles()
[all …]
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/
DScopedStorageTest.java257 final File downloadDir = getDownloadDir(); in testAccess_file() local
258 final File otherAppPdf = new File(downloadDir, "other-" + NONMEDIA_FILE_NAME); in testAccess_file()
262 final File myAppPdf = new File(downloadDir, "my-" + NONMEDIA_FILE_NAME); in testAccess_file()
263 final File doesntExistPdf = new File(downloadDir, "nada-" + NONMEDIA_FILE_NAME); in testAccess_file()