Lines Matching defs:Package
198 final Package owner;
209 ParsePackageItemArgs(Package _owner, String[] _outError,
228 ParseComponentArgs(Package _owner, String[] _outError,
374 public static PackageInfo generatePackageInfo(PackageParser.Package p,
389 public static PackageInfo generatePackageInfo(PackageParser.Package p,
410 public static PackageInfo generatePackageInfo(PackageParser.Package p,
748 * must be done separately in {@link #collectCertificates(Package, int)}.
752 public Package parsePackage(File packageFile, int flags) throws PackageParserException {
767 * must be done separately in {@link #collectCertificates(Package, int)}.
769 private Package parseClusterPackage(File packageDir, int flags) throws PackageParserException {
790 final Package pkg = parseBaseApk(baseApk, assets, flags);
819 * must be done separately in {@link #collectCertificates(Package, int)}.
826 public Package parseMonolithicPackage(File apkFile, int flags) throws PackageParserException {
837 final Package pkg = parseBaseApk(apkFile, assets, flags);
863 private Package parseBaseApk(File apkFile, AssetManager assets, int flags)
883 final Package pkg = parseBaseApk(res, parser, flags, outError);
904 private void parseSplitApk(Package pkg, int splitIndex, AssetManager assets, int flags)
948 private Package parseSplitApk(Package pkg, Resources res, XmlResourceParser parser, int flags,
1019 public void collectManifestDigest(Package pkg) throws PackageParserException {
1041 * populating {@link Package#mSignatures}. This also asserts that all APK
1044 public void collectCertificates(Package pkg, int flags) throws PackageParserException {
1058 private static void collectCertificates(Package pkg, File apkFile, int flags)
1070 "Package " + apkPath + " has no manifest");
1097 "Package " + apkPath + " has no certificates at entry "
1112 INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES, "Package " + apkPath
1171 // TODO: factor signature related items out of Package object
1172 final Package tempPkg = new Package(null);
1337 private Package parseBaseApk(Resources res, XmlResourceParser parser, int flags,
1367 final Package pkg = new Package(pkgName);
1902 private boolean parseUsesPermission(Package pkg, Resources res, XmlResourceParser parser,
2032 private boolean parseKeySets(Package owner, Resources res,
2137 Slog.w(TAG, "Package" + owner.packageName + " AndroidManifext.xml "
2145 Slog.w(TAG, "Package" + owner.packageName + " AndroidManifext.xml "
2150 Slog.w(TAG, "Package" + owner.packageName + " AndroidManifext.xml "
2163 Slog.w(TAG, "Package" + owner.packageName + " AndroidManifext.xml "
2170 private PermissionGroup parsePermissionGroup(Package owner, int flags, Resources res,
2214 private Permission parsePermission(Package owner, Resources res,
2284 private Permission parsePermissionTree(Package owner, Resources res,
2332 private Instrumentation parseInstrumentation(Package owner, Resources res,
2399 private boolean parseBaseApplication(Package owner, Resources res,
2773 private boolean parseSplitApplication(Package owner, Resources res, XmlPullParser parser,
2904 private boolean parsePackageItemInfo(Package owner, PackageItemInfo outInfo,
2945 private Activity parseActivity(Package owner, Resources res,
3250 private Activity parseActivityAlias(Package owner, Resources res,
3416 private Provider parseProvider(Package owner, Resources res,
3727 private Service parseService(Package owner, Resources res,
4186 public final static class Package {
4334 public Package(String packageName) {
4424 return "Package{"
4431 public final Package owner;
4439 public Component(Package _owner) {
4556 public Permission(Package _owner) {
4561 public Permission(Package _owner, PermissionInfo _info) {
4581 public PermissionGroup(Package _owner) {
4586 public PermissionGroup(Package _owner, PermissionGroupInfo _info) {
4603 private static boolean copyNeeded(int flags, Package p,
4633 public static ApplicationInfo generateApplicationInfo(Package p, int flags,
4665 public static ApplicationInfo generateApplicationInfo(Package p, int flags,