Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/com/android/internal/util/
DJournaledFile.java61 mTemp.renameTo(mReal); in chooseForRead()
110 mTemp.renameTo(mReal); in commit()
DFileRotator.java127 backupFile.renameTo(file); in FileRotator()
257 file.renameTo(backupFile); in rewriteSingle()
267 backupFile.renameTo(file); in rewriteSingle()
385 file.renameTo(destFile); in maybeRotate()
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/filters/
DAnnotationBasedFilter.kt382 val renameTo = mn.name in <lambda>() constant
384 if (renameFrom == renameTo) { in <lambda>()
391 policiesFromSubstitution[MethodKey(renameTo, mn.desc)] = in <lambda>()
401 substituteToMethods[MethodKey(renameFrom, mn.desc)] = renameTo in <lambda>()
403 log.v("Substitution found: %s%s -> %s", renameFrom, mn.desc, renameTo) in <lambda>()
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/visitors/
DBaseAdapter.kt202 val renameTo = filter.getRenameTo(currentClassName, name, descriptor) in <lambda>() constant
203 if (renameTo != null) { in <lambda>()
204 newName = renameTo in <lambda>()
230 renameTo != null, in <lambda>()
/frameworks/base/services/core/java/com/android/server/integrity/
DIntegrityFileManager.java185 if (!(mRulesDir.renameTo(tmpDir) in switchStagingRulesDir()
186 && mStagingDir.renameTo(mRulesDir) in switchStagingRulesDir()
187 && tmpDir.renameTo(mStagingDir))) { in switchStagingRulesDir()
/frameworks/av/media/mtp/
DMtpUtils.h37 int renameTo(const char *oldPath, const char *newPath);
DMtpUtils.cpp254 int renameTo(const char *oldPath, const char *newPath) { in renameTo() function
/frameworks/base/core/java/com/android/internal/os/
DAtomicDirectory.java259 if (!mBaseDirectory.renameTo(mBackupDirectory)) { in backup()
273 if (!mBackupDirectory.renameTo(mBaseDirectory)) { in restore()
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/dumper/
DApiDumper.kt128 val renameTo = filter.getRenameTo(methodClass.name, method.name, method.desc) in <lambda>() constant
131 renameTo ?: method.name, method.desc, policy) in <lambda>()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerFilePersistedSettings.java71 boolean renamed = stage.renameTo(enableFile); in writeBackupEnableState()
/frameworks/base/cmds/abx/src/com/android/commands/abx/
DAbx.java102 if (!new File(outputArg).renameTo(new File(inputArg))) { in mainInternal()
/frameworks/base/services/core/java/com/android/server/
DCertBlacklister.java95 tmp.renameTo(new File(mPath)); in writeDenylist()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestResultPrinter.java121 swapFile.renameTo(txtFile); in writeToFile()
/frameworks/base/media/tests/MtpTests/src/android/mtp/
DMtpStorageManagerTest.java585 Assert.assertTrue(newFile.renameTo(toFile)); in testObjectMoved()
1091 Assert.assertTrue(newFile.renameTo(renamed)); in testRenameObjectSuccess()
1113 Assert.assertTrue(newDir.renameTo(renamed)); in testRenameObjectDirSuccess()
1143 Assert.assertTrue(newDir.renameTo(renamed)); in testRenameObjectDirVisitedSuccess()
1172 Assert.assertTrue(newFile.renameTo(renamed)); in testRenameObjectDelayed()
1195 Assert.assertTrue(newDir.renameTo(renamed)); in testRenameObjectDirVisitedDelayed()
1287 Assert.assertTrue(newFile.renameTo(moved)); in testMoveObjectSuccess()
1316 Assert.assertTrue(movedDir.renameTo(renamed)); in testMoveObjectDirSuccess()
1353 Assert.assertTrue(movedDir.renameTo(renamed)); in testMoveObjectDirVisitedSuccess()
1392 Assert.assertTrue(newFile.renameTo(moved)); in testMoveObjectDelayed()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DUserFileManagerImpl.kt150 source.renameTo(dest) in <lambda>()
/frameworks/base/services/core/java/com/android/server/updates/
DCertificateTransparencyLogInstallReceiver.java121 tempSymlink.renameTo(currentSymlink.getAbsoluteFile()); in install()
DConfigUpdateInstallReceiver.java209 if (!tmp.renameTo(file)) { in writeUpdate()
/frameworks/base/core/java/android/util/
DAtomicFile.java350 if (!source.renameTo(target)) { in rename()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/
DUserFileManagerImplTest.kt135 tmpFile.renameTo(legacyFile) in testMigrateSharedPrefs()
/frameworks/base/services/core/java/com/android/server/pm/
DResilientAtomicFile.java96 if (!mFile.renameTo(mTemporaryBackup)) { in startWrite()
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java160 mBackupFile.renameTo(mFile); in loadFromDisk()
786 if (!mFile.renameTo(mBackupFile)) { in writeToFile()
/frameworks/base/services/core/java/com/android/server/compat/
DCompatConfig.java728 mBackupOverridesFile.renameTo(mOverridesFile); in initOverrides()
794 if (!mOverridesFile.renameTo(mBackupOverridesFile)) { in saveOverrides()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java289 if (!before.renameTo(after)) { in renameDocument()
321 if (!before.renameTo(after)) { in moveDocument()
/frameworks/base/services/core/java/com/android/server/wm/
DAnrController.java350 tracesFile.renameTo( in preDumpIfLockTooSlow()
/frameworks/base/services/core/java/com/android/server/power/
DShutdownCheckPoints.java414 mBaseFile.renameTo(file); in writeCheckpoints()

123