Searched refs:backupDir (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | Rollback.java | 68 public final File backupDir; field in Rollback 111 Rollback(int rollbackId, File backupDir, int stagedSessionId) { in Rollback() argument 117 this.backupDir = backupDir; in Rollback() 126 Rollback(RollbackInfo info, File backupDir, Instant timestamp, int stagedSessionId, in Rollback() argument 129 this.backupDir = backupDir; in Rollback()
|
D | RollbackStore.java | 198 File backupDir = new File(mRollbackDataDir, Integer.toString(rollbackId)); in createNonStagedRollback() local 199 return new Rollback(rollbackId, backupDir, -1); in createNonStagedRollback() 207 File backupDir = new File(mRollbackDataDir, Integer.toString(rollbackId)); in createStagedRollback() local 208 return new Rollback(rollbackId, backupDir, stagedSessionId); in createStagedRollback() 219 File targetDir = new File(rollback.backupDir, packageName); in backupPackageCodePath() 232 File targetDir = new File(rollback.backupDir, packageName); in getPackageCodePaths() 246 File targetDir = new File(rollback.backupDir, info.getPackageName()); in deletePackageCodePaths() 264 PrintWriter pw = new PrintWriter(new File(rollback.backupDir, "rollback.json")); in saveRollback() 276 removeFile(rollback.backupDir); in deleteRollback() 283 private static Rollback loadRollback(File backupDir) throws IOException { in loadRollback() argument [all …]
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsDatabase.java | 414 final File backupDir = new File(mBackupsDir, Long.toString(token)); in doUpgradeLocked() local 415 backupDir.mkdirs(); in doUpgradeLocked() 416 if (!backupDir.exists()) { in doUpgradeLocked() 418 "Failed to create backup directory " + backupDir.getAbsolutePath()); in doUpgradeLocked() 422 new File(backupDir, mVersionFile.getName()).toPath(), in doUpgradeLocked() 430 final File backupIntervalDir = new File(backupDir, mIntervalDirs[i].getName()); in doUpgradeLocked() 480 final File backupDir = new File(mBackupsDir, Long.toString(token)); in continueUpgradeLocked() local 485 final File backedUpInterval = new File(backupDir, mIntervalDirs[i].getName()); in continueUpgradeLocked()
|