/external/apache-commons-io/src/test/java/org/apache/commons/io/file/ |
D | PathUtilsDeleteDirectoryTest.java | 39 assertCounts(1, 1, 0, PathUtils.deleteDirectory(tempDirPath)); in testDeleteDirectory1FileSize0() 50 assertCounts(1, 1, 0, PathUtils.deleteDirectory(tempDirPath, options)); in testDeleteDirectory1FileSize0() 71 assertCounts(1, 1, 1, PathUtils.deleteDirectory(tempDirPath)); in testDeleteDirectory1FileSize1() 82 assertCounts(3, 2, 2, PathUtils.deleteDirectory(tempDirPath)); in testDeleteDirectory2FileSize2() 92 assertCounts(1, 0, 0, PathUtils.deleteDirectory(tempDirPath)); in testDeleteEmptyDirectory()
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/ |
D | FileUtilsDeleteDirectoryBaseTest.java | 42 assertThrows(NullPointerException.class, () -> FileUtils.deleteDirectory(null)); in testDeleteDirectoryNullArgument() 69 FileUtils.deleteDirectory(realOuter); in testDeleteDirWithASymlinkDir() 100 FileUtils.deleteDirectory(realOuter); in testDeleteDirWithASymlinkDir2() 130 FileUtils.deleteDirectory(realOuter); in testDeleteDirWithSymlinkFile() 156 FileUtils.deleteDirectory(aFile); in testDeleteInvalidLinks() 157 FileUtils.deleteDirectory(cFile); in testDeleteInvalidLinks() 187 FileUtils.deleteDirectory(symlinkParentDirectory); in testDeleteParentSymlink() 220 FileUtils.deleteDirectory(symlinkParentDirectory); in testDeleteParentSymlink2() 239 FileUtils.deleteDirectory(nested); in testDeletesNested() 253 FileUtils.deleteDirectory(nested); in testDeletesRegular()
|
D | FileUtilsDeleteDirectoryLinuxTest.java | 87 FileUtils.deleteDirectory(nested); in testThrowsOnCannotDeleteFile() 94 FileUtils.deleteDirectory(nested); in testThrowsOnCannotDeleteFile() 110 FileUtils.deleteDirectory(nested); in testThrowsOnNullList() 116 FileUtils.deleteDirectory(nested); in testThrowsOnNullList()
|
D | DeleteDirectoryTest.java | 81 testDeleteDirectory(dir -> FileUtils.deleteDirectory(dir.toFile())); in testDeleteDirectoryWithFileUtils() 86 testDeleteDirectory(PathUtils::deleteDirectory); in testDeleteDirectoryWithPathUtils() 91 …testDeleteDirectory(dir -> PathUtils.deleteDirectory(dir, StandardDeleteOption.OVERRIDE_READ_ONLY)… in testDeleteDirectoryWithPathUtilsOverrideReadOnly()
|
D | FileUtilsTest.java | 245 FileUtils.deleteDirectory(grandParentDir); in createFilesForTestCopyDirectory() 354 FileUtils.deleteDirectory(tempDirFile); 851 FileUtils.deleteDirectory(target); 858 FileUtils.deleteDirectory(target); 866 FileUtils.deleteDirectory(target); 874 FileUtils.deleteDirectory(target); 916 FileUtils.deleteDirectory(destDir); 927 FileUtils.deleteDirectory(destDir); 952 FileUtils.deleteDirectory(destDir); 1010 FileUtils.deleteDirectory(destDir); [all …]
|
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/ |
D | SynchronousFileStorageTest.java | 135 storage.deleteDirectory(file1Uri); in deleteDir_shouldInvokeBackend() 136 verify(fileBackend).deleteDirectory(file1Uri); in deleteDir_shouldInvokeBackend() 155 verify(fileBackend).deleteDirectory(dir2Uri); in deleteRecursively_shouldRecurse() 156 verify(fileBackend).deleteDirectory(dir1Uri); in deleteRecursively_shouldRecurse() 172 verify(fileBackend, never()).deleteDirectory(dir1Uri); in deleteRecursively_failsOnAccessError() 336 storage.deleteDirectory(file1CompressUri); in deleteDirectory_shouldNOTInvokeTransformEncode()
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/spi/ |
D | ForwardingBackend.java | 91 public void deleteDirectory(Uri uri) throws IOException { in deleteDirectory() method in ForwardingBackend 92 delegate().deleteDirectory(rewriteUri(uri)); in deleteDirectory()
|
D | Backend.java | 108 default void deleteDirectory(Uri uri) throws IOException { in deleteDirectory() method
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/ |
D | SynchronousFileStorage.java | 191 public void deleteDirectory(Uri uri) throws IOException { in deleteDirectory() method in SynchronousFileStorage 193 backend.deleteDirectory(stripFragment(uri)); in deleteDirectory() 215 deleteDirectory(uri); in deleteRecursively()
|
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/common/testing/ |
D | FakeFileBackendTest.java | 120 assertThrows(FakeIOException.class, () -> backend.deleteDirectory(dir)); in throwsExceptions_forManage() 130 backend.deleteDirectory(dir); in throwsExceptions_forManage()
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/ |
D | BackendTestBase.java | 434 storage.deleteDirectory(uri); in deleteDirectory_shouldDeleteEmptyDirectory() 448 assertThrows(IOException.class, () -> storage.deleteDirectory(uri)); in deleteDirectory_shouldNOTDeleteNonEmptyDirectory() 452 storage.deleteDirectory(uri); in deleteDirectory_shouldNOTDeleteNonEmptyDirectory() 463 assertThrows(IOException.class, () -> storage.deleteDirectory(uri)); in deleteDirectory_onFileShouldThrow()
|
D | FakeFileBackend.java | 203 public void deleteDirectory(Uri uri) throws IOException { in deleteDirectory() method in FakeFileBackend 205 delegate.deleteDirectory(uri); in deleteDirectory()
|
/external/apache-commons-io/src/main/java/org/apache/commons/io/file/ |
D | PathUtils.java | 422 …return Files.isDirectory(path, LinkOption.NOFOLLOW_LINKS) ? deleteDirectory(path, deleteOptions) :… in delete() 445 …return Files.isDirectory(path, linkOptions) ? deleteDirectory(path, linkOptions, deleteOptions) : … in delete() 455 public static PathCounters deleteDirectory(final Path directory) throws IOException { in deleteDirectory() method in PathUtils 456 return deleteDirectory(directory, EMPTY_DELETE_OPTION_ARRAY); in deleteDirectory() 468 …public static PathCounters deleteDirectory(final Path directory, final DeleteOption... deleteOptio… in deleteDirectory() method in PathUtils 485 …public static PathCounters deleteDirectory(final Path directory, final LinkOption[] linkOptions, f… in deleteDirectory() method in PathUtils
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/openers/ |
D | RecursiveDeleteOpener.java | 87 storage.deleteDirectory(uri); in deleteRecursively()
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | DefaultFileSystemTest.groovy | 245 deleteDirectory(new File(EXISTING_DIR)) 256 private void deleteDirectory(File dirFile) { 260 deleteDirectory(file)
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/monitor/ |
D | FileAlterationObserverTest.java | 113 FileUtils.deleteDirectory(testDirB); in testDirectory() 120 FileUtils.deleteDirectory(testDir); in testDirectory()
|
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/ |
D | JimfsSecureDirectoryStream.java | 160 public void deleteDirectory(Path path) throws IOException { in deleteDirectory() method in JimfsSecureDirectoryStream
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/backends/ |
D | JavaFileBackend.java | 101 public void deleteDirectory(Uri uri) throws IOException { in deleteDirectory() method in JavaFileBackend
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/filefilter/ |
D | FileFilterTest.java | 882 FileUtils.deleteDirectory(file); in testMakeCVSAware() 930 FileUtils.deleteDirectory(fileA); in testMakeDirectoryOnly() 931 FileUtils.deleteDirectory(fileB); in testMakeDirectoryOnly() 969 FileUtils.deleteDirectory(fileA); in testMakeFileOnly() 970 FileUtils.deleteDirectory(fileB); in testMakeFileOnly() 1001 FileUtils.deleteDirectory(file); in testMakeSVNAware()
|
/external/guava/guava/src/com/google/common/io/ |
D | MoreFiles.java | 637 dir.deleteDirectory(path);
|
/external/apache-commons-io/src/main/java/org/apache/commons/io/ |
D | FileUtils.java | 1194 public static void deleteDirectory(final File directory) throws IOException { in deleteDirectory() method in FileUtils 2312 deleteDirectory(srcDir); in moveDirectory()
|
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/internal/ |
D | ExpirationHandlerTest.java | 1719 verify(mockBackend).deleteDirectory(symlinkDirForGroup1); in updateExpiration_expiredGroups_withIsolatedStructure() 1752 verify(mockBackend, never()).deleteDirectory(symlinkDirForGroup1); in updateExpiration_noExpiredGroups_doesNotRemoveIsolatedStructure() 1808 verify(mockBackend).deleteDirectory(symlinkDirForGroup1); in updateExpiration_expiredStaleGroup_withIsolatedStructure_deletesFiles()
|
/external/apache-commons-io/ |
D | RELEASE-NOTES.txt | 24 o IO-724: FileUtils#deleteDirectory(File) exception Javadoc inaccurate update #245. Thanks to lira… 166 o Add org.apache.commons.io.file.PathUtils.deleteDirectory(Path, FileVisitOption...). Thanks to Gar… 173 Add PathUtils.deleteDirectory(Path, DeleteOption...). 535 o IO-435: Document that FileUtils.deleteDirectory, directoryContains and cleanDirectory
|
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | JimfsUnixLikeFileSystemTest.java | 2035 secureStream.deleteDirectory(path("a")); in testSecureDirectoryStream() 2135 stream.deleteDirectory(fs.getPath("a")); in testClosedSecureDirectoryStream()
|
/external/apache-commons-io/src/changes/ |
D | release-notes.vm | 196 o Add org.apache.commons.io.file.PathUtils.deleteDirectory(Path, FileVisitOption...). Thanks to Gar… 203 Add PathUtils.deleteDirectory(Path, DeleteOption...). 565 o IO-435: Document that FileUtils.deleteDirectory, directoryContains and cleanDirectory
|