Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java246 public static long extractPublicFiles(File apkFile, File publicZipFile) in extractPublicFiles() argument
257 Log.d(TAG, "Extracting " + apkFile + " to " + publicZipFile); in extractPublicFiles()
263 final ZipFile privateZip = new ZipFile(apkFile.getAbsolutePath()); in extractPublicFiles()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java826 public Package parseMonolithicPackage(File apkFile, int flags) throws PackageParserException { in parseMonolithicPackage() argument
828 final PackageLite lite = parseMonolithicPackageLite(apkFile, flags); in parseMonolithicPackage()
831 "Not a coreApp: " + apkFile); in parseMonolithicPackage()
837 final Package pkg = parseBaseApk(apkFile, assets, flags); in parseMonolithicPackage()
838 pkg.codePath = apkFile.getAbsolutePath(); in parseMonolithicPackage()
863 private Package parseBaseApk(File apkFile, AssetManager assets, int flags) in parseBaseApk() argument
865 final String apkPath = apkFile.getAbsolutePath(); in parseBaseApk()
868 mArchiveSourcePath = apkFile.getAbsolutePath(); in parseBaseApk()
907 final File apkFile = new File(apkPath); in parseSplitApk() local
1058 private static void collectCertificates(Package pkg, File apkFile, int flags) in collectCertificates() argument
[all …]
DPackageManager.java3131 final File apkFile = new File(archiveFilePath); in getPackageArchiveInfo() local
3133 PackageParser.Package pkg = parser.parseMonolithicPackage(apkFile, 0); in getPackageArchiveInfo()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java4843 File apkFile = new File(mDataDir, info.packageName); in installApk() local
4845 FileOutputStream apkStream = new FileOutputStream(apkFile); in installApk()
4858 apkFile.setReadable(true, false); in installApk()
4861 Uri packageUri = Uri.fromFile(apkFile); in installApk()
4932 apkFile.delete(); in installApk()
6187 File apkFile = new File(mDataDir, info.packageName); in installApk() local
6189 FileOutputStream apkStream = new FileOutputStream(apkFile); in installApk()
6202 apkFile.setReadable(true, false); in installApk()
6205 Uri packageUri = Uri.fromFile(apkFile); in installApk()
6276 apkFile.delete(); in installApk()