Searched refs:backupFile (Results 1 – 8 of 8) sorted by relevance
/aosp12/frameworks/base/core/java/com/android/internal/util/ |
H A D | FileRotator.java | 115 final File backupFile = new File(mBasePath, name); in FileRotator() local 120 backupFile.renameTo(file); in FileRotator() 237 final File backupFile; in rewriteSingle() local 249 backupFile = new File(mBasePath, name + SUFFIX_BACKUP); in rewriteSingle() 250 file.renameTo(backupFile); in rewriteSingle() 256 backupFile.delete(); in rewriteSingle() 260 backupFile.renameTo(file); in rewriteSingle() 266 backupFile = new File(mBasePath, name + SUFFIX_NO_BACKUP); in rewriteSingle() 267 backupFile.createNewFile(); in rewriteSingle() 273 backupFile.delete(); in rewriteSingle() [all …]
|
/aosp12/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/ |
H A D | WallpaperBackupAgent.java | 130 backupFile(empty, data); in onFullBackup() 167 backupFile(infoStage, data); in onFullBackup() 178 backupFile(imageStage, data); in onFullBackup() 204 backupFile(lockImageStage, data); in onFullBackup() 227 protected void backupFile(File file, FullBackupDataOutput data) { in backupFile() method in WallpaperBackupAgent
|
/aosp12/frameworks/native/cmds/rawbu/ |
H A D | backup.cpp | 715 const char* backupFile = "/sdcard/backup.dat"; in main() local 718 backupFile = argv[optind]; in main() 734 res = android::restore_data(backupFile); in main() 741 res = android::backup_data(backupFile); in main()
|
/aosp12/frameworks/base/packages/WallpaperBackup/test/src/com/android/wallpaperbackup/ |
H A D | WallpaperBackupAgentTest.java | 251 protected void backupFile(File file, FullBackupDataOutput data) { in backupFile() method in WallpaperBackupAgentTest.IsolatedWallpaperBackupAgent
|
/aosp12/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsDatabase.java | 469 final File backupFile = new File(backupIntervalDir, files[j].getName()); in doUpgradeLocked() local 474 + i + " to " + backupFile.toString()); in doUpgradeLocked() 479 Files.move(files[j].toPath(), backupFile.toPath(), in doUpgradeLocked()
|
/aosp12/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | DatabaseHelper.java | 167 File backupFile = mContext.getDatabasePath(getDatabaseName() in backupDatabase() local 169 if (backupFile.exists()) { in backupDatabase() 172 databaseFile.renameTo(backupFile); in backupDatabase()
|
/aosp12/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
H A D | TelephonyBackupAgent.java | 468 backupFile(chunk, fileName, data); in backupAll() 499 private void backupFile(BackupChunkInformation chunkInformation, String fileName, in backupFile() method in TelephonyBackupAgent
|
/aosp12/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | Settings.java | 1569 File backupFile = getUserPackagesStateBackupFile(userId); 1570 if (backupFile.exists()) { 1572 str = new FileInputStream(backupFile); 1955 File backupFile = getUserPackagesStateBackupFile(userId); 1962 if (!backupFile.exists()) { 1963 if (!userPackagesStateFile.renameTo(backupFile)) { 2092 backupFile.delete();
|