Home
last modified time | relevance | path

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

/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java294 final File downloadDir = getDownloadDir(); in testTypePathConformity() local
361 assertCanCreateFile(new File(downloadDir, AUDIO_FILE_NAME)); in testTypePathConformity()
362 assertCanCreateFile(new File(downloadDir, IMAGE_FILE_NAME)); in testTypePathConformity()
363 assertCanCreateFile(new File(downloadDir, NONMEDIA_FILE_NAME)); in testTypePathConformity()
364 assertCanCreateFile(new File(downloadDir, PLAYLIST_FILE_NAME)); in testTypePathConformity()
365 assertCanCreateFile(new File(downloadDir, SUBTITLE_FILE_NAME)); in testTypePathConformity()
366 assertCanCreateFile(new File(downloadDir, VIDEO_FILE_NAME)); in testTypePathConformity()
784 final File downloadDir = getDownloadDir(); in testListDirectoriesWithNonMediaFiles() local
785 final File dir = new File(downloadDir, TEST_DIRECTORY_NAME); in testListDirectoriesWithNonMediaFiles()
798 assertThat(listAs(APP_B_NO_PERMS, downloadDir.getPath())).contains(TEST_DIRECTORY_NAME); in testListDirectoriesWithNonMediaFiles()
[all …]
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/
DScopedStorageTest.java436 final File downloadDir = getDownloadDir(); in testAccess_MediaFile() local
440 final File myAppPdf = new File(downloadDir, "my-" + NONMEDIA_FILE_NAME); in testAccess_MediaFile()
523 final File downloadDir = getDownloadDir(); in testAccess_file() local
524 final File otherAppPdf = new File(downloadDir, "other-" + NONMEDIA_FILE_NAME); in testAccess_file()
528 final File myAppPdf = new File(downloadDir, "my-" + NONMEDIA_FILE_NAME); in testAccess_file()
529 final File doesntExistPdf = new File(downloadDir, "nada-" + NONMEDIA_FILE_NAME); in testAccess_file()