Searched refs:renameTo (Results 1 – 16 of 16) sorted by relevance
71 return dictFile.renameTo(newDictFile); in renameDict()85 if (!file.renameTo(new File(dictFile, newFileName))) { in renameDict()89 return dictFile.renameTo(newDictFile); in renameDict()
317 if (!FileUtils.renameTo(stagingFile, cacheFile)) {
57 public static boolean renameTo(final File fromFile, final File toFile) { in renameTo() method in FileUtils59 return fromFile.renameTo(toFile); in renameTo()
313 assertThat(testDir.renameTo(renamedTestDir)).isTrue(); in doDirOperations()325 assertThat(file.renameTo(newFile)).isTrue(); in doDirOperations()
85 boolean success = file.renameTo(destination); in migrateIfNecessary()
166 oldSavedImagesFile.renameTo(savedImagesFile); in moveFromCacheDirectoryIfNecessary()
213 if (file.renameTo(target)) { in insert()
219 if (tempLogsFile.exists() && !tempLogsFile.renameTo(logsFile)) { in clearOldLogs()
300 srcFile.renameTo(mDestinationFile); in resetToOriginalImageIfNeeded()511 boolean success = srcFile.renameTo(newSrcFile); in moveSrcToAuxIfNeeded()
297 assertTrue(modernFile.renameTo(destFile)); in testRenameTranscodedFile_FilePath()419 assertTrue(modernFile.renameTo(destFile)); in testTranscodedCacheReuseAfterRename_FilePath()
331 return inputPath.renameTo(newFilePath); in renameFile()
327 if (!FileUtils.renameTo(outputFile, finalFile)) { in installWordListToStaging()
420 if (!srcFile.renameTo(dstFile)) { in processFiles()
698 if (before.renameTo(after)) { in finalizeDestination()
779 if (!before.renameTo(after)) { in renameMediaStoreDownload()
331 boolean result = before.renameTo(after); in renameDocument()