Home
last modified time | relevance | path

Searched refs:renameTo (Results 1 – 15 of 15) 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/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/rule/
DBackAndRestoreRule.kt81 if (!dbDirectory().renameTo(dbBackUp())) { in savePreviousState()
92 if (!dbBackUp().renameTo(dbDirectory())) { in restorePreviousState()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DMigrateSystemAppsSnapshotTask.java85 boolean success = file.renameTo(destination); in migrateIfNecessary()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DPerformanceTest.java312 assertThat(testDir.renameTo(renamedTestDir)).isTrue(); in doDirOperations()
324 assertThat(file.renameTo(newFile)).isTrue(); in doDirOperations()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoStore.java213 if (file.renameTo(target)) { in insert()
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/groovy/
DAarDepsPlugins.groovy111 classesJarFile.get().renameTo(outJarFile.get());
/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/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/java/
DRoboJarFetcherTask.kt128 tempFile.renameTo(out) in downloadAndroidJarFromServer()
/packages/apps/Camera2/src/com/android/camera/
DStorage.java331 return inputPath.renameTo(newFilePath); in renameFile()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionaryFileDumper.java327 if (!FileUtils.renameTo(outputFile, finalFile)) { in installWordListToStaging()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java699 if (before.renameTo(after)) { in finalizeDestination()
DDownloadStorageProvider.java765 if (!before.renameTo(after)) { in renameMediaStoreDownload()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DStubProvider.java331 boolean result = before.renameTo(after); in renameDocument()