Home
last modified time | relevance | path

Searched refs:renameTo (Results 1 – 17 of 17) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DBinaryDictionaryUtils.java71 return dictFile.renameTo(newDictFile); in renameDict()
85 if (!file.renameTo(new File(dictFile, newFileName))) { in renameDict()
89 return dictFile.renameTo(newDictFile); in renameDict()
DDictionaryInfoUtils.java317 if (!FileUtils.renameTo(stagingFile, cacheFile)) {
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DFileUtils.java57 public static boolean renameTo(final File fromFile, final File toFile) { in renameTo() method in FileUtils
59 return fromFile.renameTo(toFile); in renameTo()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DMigrateSystemAppsSnapshotTask.java85 boolean success = file.renameTo(destination); in migrateIfNecessary()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DSaveImage.java300 srcFile.renameTo(mDestinationFile); in resetToOriginalImageIfNeeded()
511 boolean success = srcFile.renameTo(newSrcFile); in moveSrcToAuxIfNeeded()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DSavedWallpaperImages.java166 oldSavedImagesFile.renameTo(savedImagesFile); in moveFromCacheDirectoryIfNecessary()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoStore.java213 if (file.renameTo(target)) { in insert()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DDiskBasedLogger.java219 if (tempLogsFile.exists() && !tempLogsFile.renameTo(logsFile)) { in clearOldLogs()
/packages/apps/Camera2/src/com/android/camera/
DMediaSaverImpl.java230 if (new File(path).renameTo(finalFile)) { in doInBackground()
DStorage.java342 return inputPath.renameTo(newFilePath); in renameFile()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFileUtils.java1745 boolean rename = srcDir.renameTo(destDir); in moveDirectory()
1820 boolean rename = srcFile.renameTo(destFile); in moveFile()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionaryFileDumper.java327 if (!FileUtils.renameTo(outputFile, finalFile)) { in installWordListToStaging()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamTransferManager.java419 if (!srcFile.renameTo(dstFile)) { in processFiles()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java702 if (before.renameTo(after)) { in finalizeDestination()
DDownloadStorageProvider.java775 if (!before.renameTo(after)) { in renameMediaStoreDownload()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPersister.java596 if (!pendingFile.renameTo(mAppContext.getFileStreamPath( in setWallpaperBitmapInRotationLive()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DStubProvider.java311 boolean result = before.renameTo(after); in renameDocument()