Home
last modified time | relevance | path

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

/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java196 static final String TEST_DIRECTORY_NAME = "ScopedStorageDeviceTestDirectory" + NONCE; field in ScopedStorageDeviceTest
597 final File dirInDownload = new File(getDownloadDir(), TEST_DIRECTORY_NAME); in testCantDeleteOtherAppsContents()
751 final File dir = new File(dcimDir, TEST_DIRECTORY_NAME); in testListDirectoriesWithMediaFiles()
761 assertThat(listAs(APP_B_NO_PERMS, dcimDir.getPath())).contains(TEST_DIRECTORY_NAME); in testListDirectoriesWithMediaFiles()
766 assertThat(listAs(APP_A_HAS_RES, dcimDir.getPath())).contains(TEST_DIRECTORY_NAME); in testListDirectoriesWithMediaFiles()
771 assertThat(dcimDir.list()).asList().contains(TEST_DIRECTORY_NAME); in testListDirectoriesWithMediaFiles()
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()
803 assertThat(listAs(APP_A_HAS_RES, downloadDir.getPath())).contains(TEST_DIRECTORY_NAME); in testListDirectoriesWithNonMediaFiles()
1640 final File nonMediaDir = new File(downloadDir, TEST_DIRECTORY_NAME); in testRenameFile()
[all …]
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/
DScopedStorageTest.java134 static final String TEST_DIRECTORY_NAME = "ScopedStorageTestDirectory" + NONCE; field in ScopedStorageTest
733 final File nomediaDir = new File(getDownloadDir(), TEST_DIRECTORY_NAME); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir()
767 final File nomediaDir = new File(getDownloadDir(), TEST_DIRECTORY_NAME); in testScanDoesntSkipDirtySubtree()
769 final File nomediaSubDir = new File(nomediaDir, "child_" + TEST_DIRECTORY_NAME); in testScanDoesntSkipDirtySubtree()
1072 final File dir = new File(getMoviesDir(), TEST_DIRECTORY_NAME); in testRenameFromShell()
1073 final File renamedDir = new File(getMusicDir(), TEST_DIRECTORY_NAME); in testRenameFromShell()
1179 final File topLevelDir = new File(getExternalStorageDir(), TEST_DIRECTORY_NAME); in testInstantAppsCantAccessExternalStorage()
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/
DLegacyStorageTest.java137 private static final String TEST_DIRECTORY_NAME = "LegacyStorageTestDirectory" + NONCE; field in LegacyStorageTest
896 final File topLevelTestDirectory = new File(getExternalStorageDir(), TEST_DIRECTORY_NAME); in testLegacySystemGalleryCanUpdateToExistingDirectory()