Home
last modified time | relevance | path

Searched refs:getDownloadDir (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java61 import static android.scopedstorage.cts.lib.TestUtils.getDownloadDir;
294 final File downloadDir = getDownloadDir(); in testTypePathConformity()
575 final File nonMediaFile = new File(getDownloadDir(), NONMEDIA_FILE_NAME); in testCantAccessOtherAppsContents()
597 final File dirInDownload = new File(getDownloadDir(), TEST_DIRECTORY_NAME); in testCantDeleteOtherAppsContents()
648 final File nonMediaFile = new File(getDownloadDir(), NONMEDIA_FILE_NAME); in testDeleteAlreadyUnlinkedFile()
687 assertThat(getDownloadDir().list()).isNotNull(); in testOpendirRestrictions()
701 String filePath = new File(getDownloadDir(), NONMEDIA_FILE_NAME).toString(); in testLowLevelFileIO()
784 final File downloadDir = getDownloadDir(); in testListDirectoriesWithNonMediaFiles()
1166 File upperCase = new File(getDownloadDir(), "CREATE_LOWER_DELETE_UPPER"); in testCreateLowerCaseDeleteUpperCase()
1167 File lowerCase = new File(getDownloadDir(), "create_lower_delete_upper"); in testCreateLowerCaseDeleteUpperCase()
[all …]
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/
DScopedStorageTest.java49 import static android.scopedstorage.cts.lib.TestUtils.getDownloadDir;
323 final File otherAppPdf = new File(getDownloadDir(), "other" + NONMEDIA_FILE_NAME); in testManageExternalStorageCanDeleteOtherAppsContents()
436 final File downloadDir = getDownloadDir(); in testAccess_MediaFile()
523 final File downloadDir = getDownloadDir(); in testAccess_file()
624 final File otherAppPdf = new File(getDownloadDir(), "other" + NONMEDIA_FILE_NAME); in testManageExternalStorageCanRenameOtherAppsContents()
625 final File pdf = new File(getDownloadDir(), NONMEDIA_FILE_NAME); in testManageExternalStorageCanRenameOtherAppsContents()
677 final File otherAppPdf = new File(getDownloadDir(), "other" + NONMEDIA_FILE_NAME); in testManageExternalStorageReaddir()
707 final File otherAppPdf = new File(getDownloadDir(), "other" + NONMEDIA_FILE_NAME); in testManageExternalStorageQueryOtherAppsFile()
733 final File nomediaDir = new File(getDownloadDir(), TEST_DIRECTORY_NAME); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir()
767 final File nomediaDir = new File(getDownloadDir(), TEST_DIRECTORY_NAME); in testScanDoesntSkipDirtySubtree()
[all …]
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/
DLegacyStorageTest.java471 final File shellFile2 = new File(TestUtils.getDownloadDir(), "LegacyStorageTest_shell"); in testCantRename_hasR()
506 final File shellFile2 = new File(TestUtils.getDownloadDir(), "LegacyStorageTest_shell"); in testCantRename_noStoragePermission()
566 final File otherAppPdfFile = new File(TestUtils.getDownloadDir(), NONMEDIA_FILE_NAME); in testCanDeleteAllFiles_hasRW()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java1719 public static File getDownloadDir() { in getDownloadDir() method in TestUtils
1778 getDownloadDir(), in getDefaultTopLevelDirs()
1793 getDownloadDir(), in getDefaultTopLevelDirs()