/frameworks/native/cmds/installd/ |
D | CrateManager.cpp | 61 void CrateManager::traverseChildDir(const std::string& targetDir, in traverseChildDir() argument 63 char* argv[] = {(char*)targetDir.c_str(), nullptr}; in traverseChildDir() 66 PLOG(WARNING) << "Failed to fts_open " << targetDir; in traverseChildDir()
|
D | CrateManager.h | 61 static void traverseChildDir(const std::string& targetDir,
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackStore.java | 260 File targetDir = new File(rollback.getBackupDir(), packageName); in backupPackageCodePath() local 261 targetDir.mkdirs(); in backupPackageCodePath() 262 File targetFile = new File(targetDir, sourceFile.getName()); in backupPackageCodePath() 264 boolean fallbackToCopy = !isLinkPossible(sourceFile, targetDir); in backupPackageCodePath() 297 File targetDir = new File(rollback.getBackupDir(), packageName); in getPackageCodePaths() local 298 File[] files = targetDir.listFiles(); in getPackageCodePaths() 311 File targetDir = new File(rollback.getBackupDir(), info.getPackageName()); in deletePackageCodePaths() local 312 removeFile(targetDir); in deletePackageCodePaths()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerServiceUtils.java | 1025 public static int copyPackage(String packagePath, File targetDir) { in copyPackage() argument 1040 copyFile(pkg.getBaseApkPath(), targetDir, "base.apk"); in copyPackage() local 1043 copyFile(pkg.getSplitApkPaths()[i], targetDir, in copyPackage() local 1054 private static void copyFile(String sourcePath, File targetDir, String targetName) in copyFile() argument 1061 final File targetFile = new File(targetDir, targetName); in copyFile() 1077 public static void makeDirRecursive(File targetDir, int mode) throws ErrnoException { in makeDirRecursive() argument 1078 final Path targetDirPath = targetDir.toPath(); in makeDirRecursive() 1216 public static File getNextCodePath(File targetDir, String packageName) { in getNextCodePath() argument 1224 firstLevelDir = new File(targetDir, firstLevelDirName); in getNextCodePath()
|
D | InstallPackageHelper.java | 1981 final File targetDir = resolveTargetDir(request.getInstallFlags(), request.getCodeFile()); in doRenameLI() local 1983 final File afterCodeFile = PackageManagerServiceUtils.getNextCodePath(targetDir, in doRenameLI()
|
/frameworks/base/services/incremental/ |
D | ServiceWrappers.cpp | 45 const std::string& backingPath, const std::string& targetDir, int32_t flags, in mountIncFs() argument 48 return mInterface->mountIncFs(backingPath, targetDir, flags, sysfsName, _aidl_return); in mountIncFs() 54 const std::string& targetDir) const final { in bindMount() 55 return mInterface->bindMount(sourceDir, targetDir); in bindMount()
|
D | ServiceWrappers.h | 53 const std::string& backingPath, const std::string& targetDir, int32_t flags, 58 const std::string& targetDir) const = 0;
|
/frameworks/base/services/incremental/test/ |
D | IncrementalServiceTest.cpp | 53 binder::Status(const std::string& backingPath, const std::string& targetDir, 95 const std::string& targetDir, int32_t flags, in getInvalidControlParcel() argument 101 binder::Status incFsSuccess(const std::string& imagePath, const std::string& targetDir, in incFsSuccess() argument
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 693 private static int moveFiles(File sourceDir, File targetDir, final String prefix) { in moveFiles() argument 703 final File targetFile = new File(targetDir, sourceFile.getName()); in moveFiles()
|