Searched refs:renameTo (Results 1 – 15 of 15) 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()
81 if (!dbDirectory().renameTo(dbBackUp())) { in savePreviousState()92 if (!dbBackUp().renameTo(dbDirectory())) { in restorePreviousState()
85 boolean success = file.renameTo(destination); in migrateIfNecessary()
312 assertThat(testDir.renameTo(renamedTestDir)).isTrue(); in doDirOperations()324 assertThat(file.renameTo(newFile)).isTrue(); in doDirOperations()
213 if (file.renameTo(target)) { in insert()
111 classesJarFile.get().renameTo(outJarFile.get());
300 srcFile.renameTo(mDestinationFile); in resetToOriginalImageIfNeeded()511 boolean success = srcFile.renameTo(newSrcFile); in moveSrcToAuxIfNeeded()
128 tempFile.renameTo(out) in downloadAndroidJarFromServer()
331 return inputPath.renameTo(newFilePath); in renameFile()
327 if (!FileUtils.renameTo(outputFile, finalFile)) { in installWordListToStaging()
699 if (before.renameTo(after)) { in finalizeDestination()
765 if (!before.renameTo(after)) { in renameMediaStoreDownload()
331 boolean result = before.renameTo(after); in renameDocument()