Home
last modified time | relevance | path

Searched refs:targetDir (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackStore.java219 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/
DPackageManagerServiceUtils.java847 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()
DPackageManagerService.java15786 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/
DContextImpl.java519 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()