Home
last modified time | relevance | path

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

/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.java134 File packageFile = new File(context.getFilesDir(), fileName); in handleTestConferenceEventPackage() local
137 is = new FileInputStream(packageFile); in handleTestConferenceEventPackage()
139 log("Test conference event package file not found: " + packageFile.getAbsolutePath()); in handleTestConferenceEventPackage()
/frameworks/base/core/java/android/os/
DRecoverySystem.java148 public static void verifyPackage(File packageFile, in verifyPackage() argument
152 long fileLen = packageFile.length(); in verifyPackage()
154 RandomAccessFile raf = new RandomAccessFile(packageFile, "r"); in verifyPackage()
333 public static void installPackage(Context context, File packageFile) in installPackage() argument
335 String filename = packageFile.getCanonicalPath(); in installPackage()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java78 public static Handle create(File packageFile) throws IOException { in create() argument
80 final PackageLite lite = PackageParser.parsePackageLite(packageFile, 0); in create()
83 throw new IOException("Failed to parse package: " + packageFile, e); in create()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java648 public static PackageLite parsePackageLite(File packageFile, int flags) in parsePackageLite() argument
650 if (packageFile.isDirectory()) { in parsePackageLite()
651 return parseClusterPackageLite(packageFile, flags); in parsePackageLite()
653 return parseMonolithicPackageLite(packageFile, flags); in parsePackageLite()
657 private static PackageLite parseMonolithicPackageLite(File packageFile, int flags) in parseMonolithicPackageLite() argument
659 final ApkLite baseApk = parseApkLite(packageFile, flags); in parseMonolithicPackageLite()
660 final String packagePath = packageFile.getAbsolutePath(); in parseMonolithicPackageLite()
752 public Package parsePackage(File packageFile, int flags) throws PackageParserException { in parsePackage() argument
753 if (packageFile.isDirectory()) { in parsePackage()
754 return parseClusterPackage(packageFile, flags); in parsePackage()
[all …]
/frameworks/base/docs/html/tools/help/
DMonkeyDevice.jd172 Installs the Android application or test package contained in packageFile onto this
695 Installs the Android application or test package contained in packageFile