Home
last modified time | relevance | path

Searched refs:packageFile (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/os/
DRecoverySystem.java209 public static void verifyPackage(File packageFile, in verifyPackage() argument
213 final long fileLen = packageFile.length(); in verifyPackage()
215 final RandomAccessFile raf = new RandomAccessFile(packageFile, "r"); in verifyPackage()
351 if (!readAndVerifyPackageCompatibilityEntry(packageFile)) { in verifyPackage()
387 private static boolean readAndVerifyPackageCompatibilityEntry(File packageFile) in readAndVerifyPackageCompatibilityEntry() argument
389 try (ZipFile zip = new ZipFile(packageFile)) { in readAndVerifyPackageCompatibilityEntry()
434 File packageFile, in processPackage() argument
438 String filename = packageFile.getCanonicalPath(); in processPackage()
495 File packageFile, in processPackage() argument
498 processPackage(context, packageFile, listener, null); in processPackage()
[all …]
DIRecoverySystem.aidl25 boolean uncrypt(in String packageFile, IRecoverySystemProgressListener listener); in uncrypt() argument
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java83 final File packageFile = new File(packagePath);
84 pkg = PackageParser.parsePackageLite(packageFile, 0);
111 final File packageFile = new File(packagePath);
115 pkg = PackageParser.parsePackageLite(packageFile, 0);
120 if (!packageFile.exists()) {
182 final File packageFile = new File(packagePath);
185 pkg = PackageParser.parsePackageLite(packageFile, 0);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyTester.java267 File packageFile = new File(context.getFilesDir(), fileName); in handleTestConferenceEventPackage() local
270 is = new FileInputStream(packageFile); in handleTestConferenceEventPackage()
272 log("Test conference event package file not found: " + packageFile.getAbsolutePath()); in handleTestConferenceEventPackage()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java82 public static Handle create(File packageFile) throws IOException { in create() argument
84 final PackageLite lite = PackageParser.parsePackageLite(packageFile, 0); in create()
87 throw new IOException("Failed to parse package: " + packageFile, e); in create()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java879 public static PackageLite parsePackageLite(File packageFile, int flags) in parsePackageLite() argument
881 if (packageFile.isDirectory()) { in parsePackageLite()
882 return parseClusterPackageLite(packageFile, flags); in parsePackageLite()
884 return parseMonolithicPackageLite(packageFile, flags); in parsePackageLite()
888 private static PackageLite parseMonolithicPackageLite(File packageFile, int flags) in parseMonolithicPackageLite() argument
891 final ApkLite baseApk = parseApkLite(packageFile, flags); in parseMonolithicPackageLite()
892 final String packagePath = packageFile.getAbsolutePath(); in parseMonolithicPackageLite()
1003 public Package parsePackage(File packageFile, int flags, boolean useCaches) in parsePackage() argument
1005 Package parsed = useCaches ? getCachedResult(packageFile, flags) : null; in parsePackage()
1011 if (packageFile.isDirectory()) { in parsePackage()
[all …]
/frameworks/base/services/java/com/android/server/
DSystemServer.java486 File packageFile = new File(UNCRYPT_PACKAGE_FILE); in performPendingShutdown() local
487 if (packageFile.exists()) { in performPendingShutdown()
490 filename = FileUtils.readTextFile(packageFile, 0, null); in performPendingShutdown()