Home
last modified time | relevance | path

Searched refs:backupFile (Results 1 – 5 of 5) sorted by relevance

/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DFileRotator.java117 final File backupFile = new File(mBasePath, name); in FileRotator() local
122 backupFile.renameTo(file); in FileRotator()
239 final File backupFile; in rewriteSingle() local
251 backupFile = new File(mBasePath, name + SUFFIX_BACKUP); in rewriteSingle()
252 file.renameTo(backupFile); in rewriteSingle()
258 backupFile.delete(); in rewriteSingle()
262 backupFile.renameTo(file); in rewriteSingle()
268 backupFile = new File(mBasePath, name + SUFFIX_NO_BACKUP); in rewriteSingle()
269 backupFile.createNewFile(); in rewriteSingle()
275 backupFile.delete(); in rewriteSingle()
[all …]
/aosp14/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
H A DWallpaperBackupAgent.java148 backupFile(empty, data); in onFullBackup()
214 backupFile(infoStage, data); in backupWallpaperInfoFile()
252 backupFile(imageStage, data); in backupSystemWallpaperFile()
310 backupFile(lockImageStage, data); in backupLockWallpaperFileIfItExists()
339 protected void backupFile(File file, FullBackupDataOutput data) { in backupFile() method in WallpaperBackupAgent
/aosp14/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsDatabase.java476 final File backupFile = new File(backupIntervalDir, files[j].getName()); in doUpgradeLocked() local
481 + i + " to " + backupFile.toString()); in doUpgradeLocked()
486 Files.move(files[j].toPath(), backupFile.toPath(), in doUpgradeLocked()
/aosp14/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DDatabaseHelper.java164 File backupFile = mContext.getDatabasePath(getDatabaseName() in backupDatabase() local
166 if (backupFile.exists()) { in backupDatabase()
169 databaseFile.renameTo(backupFile); in backupDatabase()
/aosp14/frameworks/base/packages/WallpaperBackup/test/src/com/android/wallpaperbackup/
H A DWallpaperBackupAgentTest.java926 protected void backupFile(File file, FullBackupDataOutput data) { in backupFile() method in WallpaperBackupAgentTest.IsolatedWallpaperBackupAgent