Searched refs:packageFile (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/os/ |
D | RecoverySystem.java | 209 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 …]
|
D | IRecoverySystem.aidl | 25 boolean uncrypt(in String packageFile, IRecoverySystemProgressListener listener); in uncrypt() argument
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
D | DefaultContainerService.java | 83 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/ |
D | TelephonyTester.java | 267 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/ |
D | NativeLibraryHelper.java | 82 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/ |
D | PackageParser.java | 879 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/ |
D | SystemServer.java | 486 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()
|