Home
last modified time | relevance | path

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

/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DScopedStorageDeviceTest.java182 static final String TEST_DIRECTORY_NAME = "ScopedStorageDeviceTestDirectory" + NONCE; field in ScopedStorageDeviceTest
576 final File dirInDownload = new File(getDownloadDir(), TEST_DIRECTORY_NAME); in testCantDeleteOtherAppsContents()
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()
750 assertThat(dcimDir.list()).asList().contains(TEST_DIRECTORY_NAME); in testListDirectoriesWithMediaFiles()
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()
782 assertThat(listAs(APP_A_HAS_RES, downloadDir.getPath())).contains(TEST_DIRECTORY_NAME); in testListDirectoriesWithNonMediaFiles()
1549 final File nonMediaDir = new File(downloadDir, TEST_DIRECTORY_NAME); in testRenameFile()
[all …]
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/
DScopedStorageTest.java121 static final String TEST_DIRECTORY_NAME = "ScopedStorageTestDirectory" + NONCE; field in ScopedStorageTest
466 final File nomediaDir = new File(getDownloadDir(), TEST_DIRECTORY_NAME); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir()
500 final File nomediaDir = new File(getDownloadDir(), TEST_DIRECTORY_NAME); in testScanDoesntSkipDirtySubtree()
502 final File nomediaSubDir = new File(nomediaDir, "child_" + TEST_DIRECTORY_NAME); in testScanDoesntSkipDirtySubtree()
789 final File dir = new File(getMoviesDir(), TEST_DIRECTORY_NAME); in testRenameFromShell()
790 final File renamedDir = new File(getMusicDir(), TEST_DIRECTORY_NAME); in testRenameFromShell()
893 final File topLevelDir = new File(getExternalStorageDir(), TEST_DIRECTORY_NAME); in testInstantAppsCantAccessExternalStorage()