Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DRecoverySystem.java172 public static void verifyPackage(File packageFile, in verifyPackage() argument
176 final long fileLen = packageFile.length(); in verifyPackage()
178 final RandomAccessFile raf = new RandomAccessFile(packageFile, "r"); in verifyPackage()
331 File packageFile, in processPackage() argument
335 String filename = packageFile.getCanonicalPath(); in processPackage()
391 File packageFile, in processPackage() argument
394 processPackage(context, packageFile, listener, null); in processPackage()
411 public static void installPackage(Context context, File packageFile) in installPackage() argument
413 installPackage(context, packageFile, false); in installPackage()
432 public static void installPackage(Context context, File packageFile, boolean processed) in installPackage() argument
[all …]
DIRecoverySystem.aidl25 boolean uncrypt(in String packageFile, IRecoverySystemProgressListener listener); in uncrypt() argument
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java105 final File packageFile = new File(packagePath);
106 pkg = PackageParser.parsePackageLite(packageFile, 0);
135 final File packageFile = new File(packagePath);
136 pkg = PackageParser.parsePackageLite(packageFile, 0);
164 final File packageFile = new File(packagePath);
168 pkg = PackageParser.parsePackageLite(packageFile, 0);
173 if (!packageFile.exists()) {
253 final File packageFile = new File(packagePath);
256 pkg = PackageParser.parsePackageLite(packageFile, 0);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyTester.java197 File packageFile = new File(context.getFilesDir(), fileName); in handleTestConferenceEventPackage() local
200 is = new FileInputStream(packageFile); in handleTestConferenceEventPackage()
202 log("Test conference event package file not found: " + packageFile.getAbsolutePath()); in handleTestConferenceEventPackage()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java80 public static Handle create(File packageFile) throws IOException { in create() argument
82 final PackageLite lite = PackageParser.parsePackageLite(packageFile, 0); in create()
85 throw new IOException("Failed to parse package: " + packageFile, e); in create()
/frameworks/base/services/java/com/android/server/
DSystemServer.java376 File packageFile = new File(UNCRYPT_PACKAGE_FILE); in performPendingShutdown() local
377 if (packageFile.exists()) { in performPendingShutdown()
380 filename = FileUtils.readTextFile(packageFile, 0, null); in performPendingShutdown()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java693 public static PackageLite parsePackageLite(File packageFile, int flags) in parsePackageLite() argument
695 if (packageFile.isDirectory()) { in parsePackageLite()
696 return parseClusterPackageLite(packageFile, flags); in parsePackageLite()
698 return parseMonolithicPackageLite(packageFile, flags); in parsePackageLite()
702 private static PackageLite parseMonolithicPackageLite(File packageFile, int flags) in parseMonolithicPackageLite() argument
704 final ApkLite baseApk = parseApkLite(packageFile, flags); in parseMonolithicPackageLite()
705 final String packagePath = packageFile.getAbsolutePath(); in parseMonolithicPackageLite()
797 public Package parsePackage(File packageFile, int flags) throws PackageParserException { in parsePackage() argument
798 if (packageFile.isDirectory()) { in parsePackage()
799 return parseClusterPackage(packageFile, flags); in parsePackage()
[all …]