Searched refs:targetDir (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackStore.java | 219 File targetDir = new File(data.backupDir, packageName); in backupPackageCodePath() local 220 targetDir.mkdirs(); in backupPackageCodePath() 221 File targetFile = new File(targetDir, sourceFile.getName()); in backupPackageCodePath() 232 File targetDir = new File(data.backupDir, packageName); in getPackageCodePaths() local 233 File[] files = targetDir.listFiles(); in getPackageCodePaths() 246 File targetDir = new File(data.backupDir, info.getPackageName()); in deletePackageCodePaths() local 247 removeFile(targetDir); in deletePackageCodePaths()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerServiceUtils.java | 847 public static int copyPackage(String packagePath, File targetDir) { in copyPackage() argument 855 copyFile(pkg.baseCodePath, targetDir, "base.apk"); in copyPackage() 858 copyFile(pkg.splitCodePaths[i], targetDir, in copyPackage() 869 private static void copyFile(String sourcePath, File targetDir, String targetName) in copyFile() argument 876 final File targetFile = new File(targetDir, targetName); in copyFile()
|
D | PackageManagerService.java | 15786 final File targetDir = codeFile.getParentFile(); 15788 final File afterCodeFile = getNextCodePath(targetDir, pkg.packageName); 16009 private File getNextCodePath(File targetDir, String packageName) { 16016 result = new File(targetDir, packageName + "-" + suffix);
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 519 private static int moveFiles(File sourceDir, File targetDir, final String prefix) { in moveFiles() argument 529 final File targetFile = new File(targetDir, sourceFile.getName()); in moveFiles()
|