Searched refs:deleteRecursively (Results 1 – 5 of 5) sorted by relevance
47 import static android.scopedstorage.cts.lib.TestUtils.deleteRecursively;544 deleteRecursively(externalFilesDir); in testCreateAndDeleteEmptyDir()558 assertThat(deleteRecursively(dir2)).isTrue(); in testCreateAndDeleteEmptyDir()559 assertThat(deleteRecursively(dir1)).isTrue(); in testCreateAndDeleteEmptyDir()560 assertThat(deleteRecursively(externalFilesDir)).isTrue(); in testCreateAndDeleteEmptyDir()608 assertThat(deleteRecursively(dirInDownload)).isFalse(); in testCantDeleteOtherAppsContents()616 assertThat(deleteRecursively(dirInDownload)).isFalse(); in testCantDeleteOtherAppsContents()623 assertThat(deleteRecursively(dirInDownload)).isFalse(); in testCantDeleteOtherAppsContents()631 assertThat(deleteRecursively(dirInDownload)).isTrue(); in testCantDeleteOtherAppsContents()638 deleteRecursively(dirInDownload); in testCantDeleteOtherAppsContents()[all …]
36 import static android.scopedstorage.cts.lib.TestUtils.deleteRecursively;354 deleteRecursively(newDir); in testReadOnlyExternalStorage_hasR()439 deleteRecursively(nonMediaDir1); in testCanRename_hasRW()440 deleteRecursively(nonMediaDir2); in testCanRename_hasRW()551 deleteRecursively(directoryOldPath); in testRenameDirectoryAndUpdateDB_hasW()552 deleteRecursively(directoryNewPath); in testRenameDirectoryAndUpdateDB_hasW()729 deleteRecursively(directoryNoMedia); in testCanRenameAFileWithNoDBRow_hasRW()917 deleteRecursively(topLevelTestDirectory); in testLegacySystemGalleryCanUpdateToExistingDirectory()
42 import static android.scopedstorage.cts.lib.TestUtils.deleteRecursively;759 deleteRecursively(nomediaDir); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir()796 deleteRecursively(nomediaSubDir); in testScanDoesntSkipDirtySubtree()797 deleteRecursively(nomediaDir); in testScanDoesntSkipDirtySubtree()1104 deleteRecursively(dir); in testRenameFromShell()1105 deleteRecursively(renamedDir); in testRenameFromShell()
54 import static android.scopedstorage.cts.lib.TestUtils.deleteRecursively;472 intent.putExtra(queryType, deleteRecursively(file)); in accessFile()
1193 public static boolean deleteRecursively(@NonNull File path) { in deleteRecursively() method in TestUtils1196 if (!deleteRecursively(child)) { in deleteRecursively()1411 deleteRecursively(oldDirectory); in renameDirectoryWithOptionalFallbackToCopy()