Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DAtomicFile.java97 if (!baseName.renameTo(backupName)) { in startWrite()
153 backupName.renameTo(baseName); in restoreBackup()
/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/
DDiskLruCache.java212 renameTo(backupFile, journalFile, false); in open()
377 renameTo(journalFile, journalFileBackup, true); in rebuildJournal()
379 renameTo(journalFileTmp, journalFile, false); in rebuildJournal()
392 private static void renameTo(File from, File to, boolean deleteDestination) throws IOException { in renameTo() method in DiskLruCache
396 if (!from.renameTo(to)) { in renameTo()
526 dirty.renameTo(clean); in completeEdit()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
DFileSystem.java84 if (!from.renameTo(to)) {
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/io/
DFileSystem.java86 if (!from.renameTo(to)) {
/external/libchrome/base/android/java/src/org/chromium/base/
DFileUtils.java111 if (!tmpOutputFile.renameTo(outFile)) { in copyFileStreamAtomicWithBuffer()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/network/
DNetworkCache.java106 boolean renamed = file.renameTo(newFile); in renameTempFile()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/
DSimpleCacheSpan.java186 if (!file.renameTo(newCacheFile)) { in upgradeFile()
DCachedContent.java160 if (file.renameTo(newFile)) { in setLastTouchTimestamp()
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DFileUtils.java141 return file.renameTo(new File(file.getParent(), name)); in rename()
/external/cldr/tools/java/org/unicode/cldr/util/
DTempPrintWriter.java114 new File(newFile).renameTo(oldFile2); in replaceDifferentOrDelete()
/external/emma/core/java12/com/vladium/util/
DFiles.java285 return source.renameTo (target); in renameFile()
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DSwatDeprecated.java294 if (!tmpFile.renameTo(bakFile)) { in processFile()
DCodeMangler.java589 outfile.renameTo(backup); in processFile()
/external/guava/guava-tests/test/com/google/common/io/
DFilesTest.java433 public boolean renameTo(File to) { in renameTo() method in FilesTest.UnmovableFile
434 return canRename && super.renameTo(to); in renameTo()
/external/guava/android/guava-tests/test/com/google/common/io/
DFilesTest.java433 public boolean renameTo(File to) { in renameTo() method in FilesTest.UnmovableFile
434 return canRename && super.renameTo(to); in renameTo()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/cache/
DCachedContentIndexTest.java230 assertThat(file1.renameTo(file2)).isTrue(); in legacyEncryption()
DSimpleCacheTest.java213 cacheDir.renameTo(cacheDir2); in reloadCacheWithoutRelease()
/external/vogar/src/vogar/android/
DAndroidSdk.java409 output.renameTo(outputCopy); in fixD8JarOutput()
/external/opencensus-java/contrib/agent/
Dbuild.gradle223 destinationFile.renameTo test.jacoco.destinationFile
/external/guava/guava/src/com/google/common/io/
DFiles.java507 if (!from.renameTo(to)) { in move()
/external/guava/android/guava/src/com/google/common/io/
DFiles.java507 if (!from.renameTo(to)) { in move()
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/filesystem/
DDefaultFileSystem.groovy193 return fileForPath(fromPath).renameTo(toFile)