/frameworks/base/core/java/com/android/internal/util/ |
D | JournaledFile.java | 61 mTemp.renameTo(mReal); in chooseForRead() 110 mTemp.renameTo(mReal); in commit()
|
D | FileRotator.java | 120 backupFile.renameTo(file); in FileRotator() 250 file.renameTo(backupFile); in rewriteSingle() 260 backupFile.renameTo(file); in rewriteSingle() 357 file.renameTo(destFile); in maybeRotate()
|
/frameworks/base/services/core/java/com/android/server/integrity/ |
D | IntegrityFileManager.java | 185 if (!(mRulesDir.renameTo(tmpDir) in switchStagingRulesDir() 186 && mStagingDir.renameTo(mRulesDir) in switchStagingRulesDir() 187 && tmpDir.renameTo(mStagingDir))) { in switchStagingRulesDir()
|
/frameworks/av/media/mtp/ |
D | MtpUtils.h | 37 int renameTo(const char *oldPath, const char *newPath);
|
D | MtpUtils.cpp | 254 int renameTo(const char *oldPath, const char *newPath) { in renameTo() function
|
/frameworks/base/core/java/com/android/internal/os/ |
D | AtomicDirectory.java | 259 if (!mBaseDirectory.renameTo(mBackupDirectory)) { in backup() 273 if (!mBackupDirectory.renameTo(mBaseDirectory)) { in restore()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerFilePersistedSettings.java | 71 boolean renamed = stage.renameTo(enableFile); in writeBackupEnableState()
|
/frameworks/base/services/core/java/com/android/server/ |
D | CertBlacklister.java | 95 tmp.renameTo(new File(mPath)); in writeBlacklist()
|
D | DropBoxManagerService.java | 816 if (!temp.renameTo(file)) { in EntryFile()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestResultPrinter.java | 121 swapFile.renameTo(txtFile); in writeToFile()
|
/frameworks/base/media/tests/MtpTests/src/android/mtp/ |
D | MtpStorageManagerTest.java | 582 Assert.assertTrue(newFile.renameTo(toFile)); in testObjectMoved() 1088 Assert.assertTrue(newFile.renameTo(renamed)); in testRenameObjectSuccess() 1110 Assert.assertTrue(newDir.renameTo(renamed)); in testRenameObjectDirSuccess() 1140 Assert.assertTrue(newDir.renameTo(renamed)); in testRenameObjectDirVisitedSuccess() 1169 Assert.assertTrue(newFile.renameTo(renamed)); in testRenameObjectDelayed() 1192 Assert.assertTrue(newDir.renameTo(renamed)); in testRenameObjectDirVisitedDelayed() 1284 Assert.assertTrue(newFile.renameTo(moved)); in testMoveObjectSuccess() 1313 Assert.assertTrue(movedDir.renameTo(renamed)); in testMoveObjectDirSuccess() 1350 Assert.assertTrue(movedDir.renameTo(renamed)); in testMoveObjectDirVisitedSuccess() 1389 Assert.assertTrue(newFile.renameTo(moved)); in testMoveObjectDelayed() [all …]
|
/frameworks/base/services/core/java/com/android/server/updates/ |
D | CertificateTransparencyLogInstallReceiver.java | 121 tempSymlink.renameTo(currentSymlink.getAbsoluteFile()); in install()
|
D | ConfigUpdateInstallReceiver.java | 202 if (!tmp.renameTo(file)) { in writeUpdate()
|
/frameworks/base/core/java/android/util/ |
D | AtomicFile.java | 319 if (!source.renameTo(target)) { in rename()
|
/frameworks/base/core/java/android/app/ |
D | SharedPreferencesImpl.java | 152 mBackupFile.renameTo(mFile); in loadFromDisk() 778 if (!mFile.renameTo(mBackupFile)) { in writeToFile()
|
D | DownloadManager.java | 1348 if (!before.renameTo(after)) { in rename()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | FileSystemProvider.java | 280 if (!before.renameTo(after)) { in renameDocument() 309 if (!before.renameTo(after)) { in moveDocument()
|
/frameworks/multidex/library/src/androidx/multidex/ |
D | MultiDexExtractor.java | 412 if (!tmp.renameTo(extractTo)) { in extract()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | InputManagerCallback.java | 164 tracesFile.renameTo(new File(tracesFile.getParent(), tracesFile.getName() + "_pre")); in preDumpIfLockTooSlow()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsDatabase.java | 249 if (!file.getBaseFile().renameTo(checkedInFile)) { in checkinDailyFiles() 713 file.getBaseFile().renameTo(newFile); in onTimeChanged()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportProgressService.java | 1398 if (!tmpZip.renameTo(info.bugreportFile)) { in addDetailsToZipFileLocked() 2017 newFile = oldFile.renameTo(renamedFile) ? renamedFile : oldFile; in renameScreenshots() 2038 if (bugreportFile.renameTo(newBugreportFile)) { in renameBugreportFile()
|
/frameworks/base/telephony/java/android/telephony/ |
D | MbmsDownloadSession.java | 1043 if (!testFile.renameTo(testFileDestination)) { in checkDownloadRequestDestination()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ShutdownThread.java | 711 tmp.renameTo(new File(METRICS_FILE_BASENAME + ".txt")); in saveMetrics()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 568 boolean success = oldPath.toFile().renameTo(newPath.toFile()); in renameFile()
|
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTask.java | 1276 mNewStateFile.renameTo(mSavedStateFile); in applyStateTransaction()
|