Home
last modified time | relevance | path

Searched refs:targetFile (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/content/pm/dex/
DDexMetadataHelper.java77 public static File findDexMetadataForFile(File targetFile) { in findDexMetadataForFile() argument
78 String dexMetadataPath = buildDexMetadataPathForFile(targetFile); in findDexMetadataForFile()
152 private static String buildDexMetadataPathForFile(File targetFile) { in buildDexMetadataPathForFile() argument
153 return PackageParser.isApkFile(targetFile) in buildDexMetadataPathForFile()
154 ? buildDexMetadataPathForApk(targetFile.getPath()) in buildDexMetadataPathForFile()
155 : targetFile.getPath() + DEX_METADATA_FILE_EXTENSION; in buildDexMetadataPathForFile()
/frameworks/base/core/tests/coretests/src/android/provider/
DMockFontProvider.java220 final File targetFile = getCopiedFile(getContext(), FONT_FILES[id]); in openFile() local
222 return ParcelFileDescriptor.open(targetFile, ParcelFileDescriptor.MODE_READ_ONLY); in openFile()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackStore.java221 File targetFile = new File(targetDir, sourceFile.getName()); in backupPackageCodePath() local
224 Files.copy(sourceFile.toPath(), targetFile.toPath()); in backupPackageCodePath()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java876 final File targetFile = new File(targetDir, targetName); in copyFile() local
877 final FileDescriptor targetFd = Os.open(targetFile.getAbsolutePath(), in copyFile()
879 Os.chmod(targetFile.getAbsolutePath(), 0644); in copyFile()
DPackageInstallerSession.java1621 final File targetFile = new File(mResolvedStageDir, targetName); in validateApkInstallLocked() local
1622 resolveAndStageFile(addedFile, targetFile); in validateApkInstallLocked()
1626 mResolvedBaseFile = targetFile; in validateApkInstallLocked()
1800 private void resolveAndStageFile(File origFile, File targetFile) in resolveAndStageFile() argument
1802 mResolvedStagedFiles.add(targetFile); in resolveAndStageFile()
1803 maybeRenameFile(origFile, targetFile); in resolveAndStageFile()
1828 VerityUtils.getFsveritySignatureFilePath(targetFile.getPath())); in resolveAndStageFile()
/frameworks/base/core/java/android/app/
DContextImpl.java529 final File targetFile = new File(targetDir, sourceFile.getName()); in moveFiles() local
530 Log.d(TAG, "Migrating " + sourceFile + " to " + targetFile); in moveFiles()
532 FileUtils.copyFileOrThrow(sourceFile, targetFile); in moveFiles()
533 FileUtils.copyPermissions(sourceFile, targetFile); in moveFiles()