Searched refs:getDownloadDir (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | ScopedStorageDeviceTest.java | 57 import static android.scopedstorage.cts.lib.TestUtils.getDownloadDir; 273 final File downloadDir = getDownloadDir(); in testTypePathConformity() 554 final File nonMediaFile = new File(getDownloadDir(), NONMEDIA_FILE_NAME); in testCantAccessOtherAppsContents() 576 final File dirInDownload = new File(getDownloadDir(), TEST_DIRECTORY_NAME); in testCantDeleteOtherAppsContents() 627 final File nonMediaFile = new File(getDownloadDir(), NONMEDIA_FILE_NAME); in testDeleteAlreadyUnlinkedFile() 666 assertThat(getDownloadDir().list()).isNotNull(); in testOpendirRestrictions() 680 String filePath = new File(getDownloadDir(), NONMEDIA_FILE_NAME).toString(); in testLowLevelFileIO() 763 final File downloadDir = getDownloadDir(); in testListDirectoriesWithNonMediaFiles() 1086 File upperCase = new File(getDownloadDir(), "CREATE_LOWER_DELETE_UPPER"); in testCreateLowerCaseDeleteUpperCase() 1087 File lowerCase = new File(getDownloadDir(), "create_lower_delete_upper"); in testCreateLowerCaseDeleteUpperCase() [all …]
|
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/ |
D | ScopedStorageTest.java | 40 import static android.scopedstorage.cts.lib.TestUtils.getDownloadDir; 229 final File otherAppPdf = new File(getDownloadDir(), "other" + NONMEDIA_FILE_NAME); in testManageExternalStorageCanDeleteOtherAppsContents() 257 final File downloadDir = getDownloadDir(); in testAccess_file() 357 final File otherAppPdf = new File(getDownloadDir(), "other" + NONMEDIA_FILE_NAME); in testManageExternalStorageCanRenameOtherAppsContents() 358 final File pdf = new File(getDownloadDir(), NONMEDIA_FILE_NAME); in testManageExternalStorageCanRenameOtherAppsContents() 410 final File otherAppPdf = new File(getDownloadDir(), "other" + NONMEDIA_FILE_NAME); in testManageExternalStorageReaddir() 440 final File otherAppPdf = new File(getDownloadDir(), "other" + NONMEDIA_FILE_NAME); in testManageExternalStorageQueryOtherAppsFile() 466 final File nomediaDir = new File(getDownloadDir(), TEST_DIRECTORY_NAME); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir() 500 final File nomediaDir = new File(getDownloadDir(), TEST_DIRECTORY_NAME); in testScanDoesntSkipDirtySubtree() 552 assertSharedStorageAccess(getDcimDir(), getDownloadDir(), APP_B_NO_PERMS); in testAndroidMedia() [all …]
|
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/ |
D | LegacyStorageTest.java | 444 final File shellFile2 = new File(TestUtils.getDownloadDir(), "LegacyFileAccessTest_shell"); in testCantRename_hasR() 479 final File shellFile2 = new File(TestUtils.getDownloadDir(), "LegacyFileAccessTest_shell"); in testCantRename_noStoragePermission() 539 final File otherAppPdfFile = new File(TestUtils.getDownloadDir(), NONMEDIA_FILE_NAME); in testCanDeleteAllFiles_hasRW()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 1231 public static File getDownloadDir() { in getDownloadDir() method in TestUtils 1282 getDocumentsDir(), getDownloadDir(), getMusicDir(), getMoviesDir(), in getDefaultTopLevelDirs() 1287 getDocumentsDir(), getDownloadDir(), getMusicDir(), getMoviesDir(), in getDefaultTopLevelDirs()
|