/external/apache-commons-io/src/test/java/org/apache/commons/io/file/ |
D | PathUtilsDeleteTest.java | 43 Files.deleteIfExists(tempDirPath); in testDeleteDirectory1FileSize0() 53 Files.deleteIfExists(tempDirPath); in testDeleteDirectory1FileSize0() 90 Files.deleteIfExists(tempDirPath); in testDeleteDirectory1FileSize1() 101 Files.deleteIfExists(tempDirPath); in testDeleteDirectory1FileSize1() 137 Files.deleteIfExists(tempDirPath); in testDeleteEmptyDirectory() 146 Files.deleteIfExists(tempDirPath); in testDeleteEmptyDirectory() 186 Files.deleteIfExists(tempDirPath); in testDeleteFileDoesNotExist()
|
D | PathUtilsDeleteDirectoryTest.java | 41 Files.deleteIfExists(tempDirPath); in testDeleteDirectory1FileSize0() 52 Files.deleteIfExists(tempDirPath); in testDeleteDirectory1FileSize0() 73 Files.deleteIfExists(tempDirPath); in testDeleteDirectory1FileSize1() 84 Files.deleteIfExists(tempDirPath); in testDeleteDirectory2FileSize2() 94 Files.deleteIfExists(tempDirPath); in testDeleteEmptyDirectory()
|
D | PathUtilsDeleteFileTest.java | 51 Files.deleteIfExists(tempDir); in afterEach() 85 Files.deleteIfExists(tempDir); in testDeleteFileDirectory1FileSize0() 97 Files.deleteIfExists(tempDir); in testDeleteFileDirectory1FileSize1() 107 Files.deleteIfExists(tempDir); in testDeleteFileDoesNotExist() 121 Files.deleteIfExists(tempDir); in testDeleteFileEmptyDirectory() 140 Files.deleteIfExists(tempDir); in testDeleteReadOnlyFileDirectory1FileSize1() 160 Files.deleteIfExists(tempDir); in testSetReadOnlyFileDirectory1FileSize1()
|
D | DeletingPathVisitorTest.java | 54 Files.deleteIfExists(tempDir); in testDeleteEmptyDirectory() 65 Files.deleteIfExists(tempDir); in testDeleteEmptyDirectoryNullCtorArg() 77 Files.deleteIfExists(tempDir); in testDeleteFolders1FileSize0() 89 Files.deleteIfExists(tempDir); in testDeleteFolders1FileSize1() 116 Files.deleteIfExists(tempDir); in testDeleteFolders2FileSize2()
|
D | FilesUncheckTest.java | 91 Files.deleteIfExists(NEW_FILE_PATH); in deleteFixtures() 92 Files.deleteIfExists(NEW_DIR_PATH); in deleteFixtures() 93 Files.deleteIfExists(NEW_FILE_PATH_LINK); in deleteFixtures() 164 assertFalse(FilesUncheck.deleteIfExists(NEW_FILE_PATH)); in testDeleteIfExists()
|
D | PathUtilsTest.java | 479 Files.deleteIfExists(file); in testTouch()
|
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ant/ |
D | GenerateCodeTask.java | 73 Files.deleteIfExists(cOutPath); in execute() 74 Files.deleteIfExists(javaOutPath); in execute()
|
D | CleanOutputDirectoryTask.java | 323 Files.deleteIfExists(p); in deleteAllFiles()
|
/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/ |
D | DiskLruCache.java | 325 deleteIfExists(journalFileTmp); in processJournal() 335 deleteIfExists(entry.getCleanFile(t)); in processJournal() 336 deleteIfExists(entry.getDirtyFile(t)); in processJournal() 386 private static void deleteIfExists(File file) throws IOException { in deleteIfExists() method in DiskLruCache 394 deleteIfExists(to); in renameTo() 533 deleteIfExists(dirty); in completeEdit()
|
/external/apache-commons-io/src/main/java/org/apache/commons/io/file/ |
D | DeletingPathVisitor.java | 140 Files.deleteIfExists(dir); in postVisitDirectory() 159 Files.deleteIfExists(file); in visitFile()
|
D | CleaningPathVisitor.java | 132 Files.deleteIfExists(file); in visitFile()
|
D | FilesUncheck.java | 240 public static boolean deleteIfExists(final Path path) { in deleteIfExists() method in FilesUncheck 241 return Uncheck.apply(Files::deleteIfExists, path); in deleteIfExists()
|
D | PathUtils.java | 539 if (Files.deleteIfExists(file)) { in deleteFile() 557 if (Files.deleteIfExists(file)) { in deleteFile()
|
/external/guava/android/guava-tests/test/com/google/common/io/ |
D | FilesFileTraverserTest.java | 55 java.nio.file.Files.deleteIfExists(file); in tearDown() 64 java.nio.file.Files.deleteIfExists(dir); in tearDown()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | FilesFileTraverserTest.java | 55 java.nio.file.Files.deleteIfExists(file); in tearDown() 64 java.nio.file.Files.deleteIfExists(dir); in tearDown()
|
D | MoreFilesTest.java | 110 Files.deleteIfExists(file); in tearDown() 120 Files.deleteIfExists(dir); in tearDown() 674 if (Files.deleteIfExists(file)) { in startDirectorySymlinkSwitching()
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/input/ |
D | UnsynchronizedFilterInputStreamTest.java | 77 Files.deleteIfExists(fileName); in tearDown()
|
D | UnsynchronizedBufferedInputStreamTest.java | 95 Files.deleteIfExists(fileName); in tearDown()
|
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | JimfsUnixLikeFileSystemTest.java | 1021 assertFalse(Files.deleteIfExists(path("/test"))); in testDelete_file() 1022 assertFalse(Files.deleteIfExists(path("/foo/bar"))); in testDelete_file() 1032 assertTrue(Files.deleteIfExists(path("/test"))); in testDelete_file() 1096 assertTrue(Files.deleteIfExists(path("/foo"))); in testDelete_directory() 1136 Files.deleteIfExists(path("/foo")); in testDelete_directory_cantDeleteNonEmptyDirectory()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/ |
D | FixedLengthBlockOutputStreamTest.java | 199 Files.deleteIfExists(tempFile); in testWithFileOutputStream()
|