当前位置: 首页>>代码示例>>Java>>正文


Java PackageParserJellyBean17类代码示例

本文整理汇总了Java中mirror.android.content.pm.PackageParserJellyBean17的典型用法代码示例。如果您正苦于以下问题:Java PackageParserJellyBean17类的具体用法?Java PackageParserJellyBean17怎么用?Java PackageParserJellyBean17使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


PackageParserJellyBean17类属于mirror.android.content.pm包,在下文中一共展示了PackageParserJellyBean17类的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: parsePackage

import mirror.android.content.pm.PackageParserJellyBean17; //导入依赖的package包/类
public static Package parsePackage(PackageParser parser, File packageFile, int flags) throws Throwable {
    if (API_LEVEL >= M) {
        return PackageParserMarshmallow.parsePackage.callWithException(parser, packageFile, flags);
    } else if (API_LEVEL >= LOLLIPOP_MR1) {
        return PackageParserLollipop22.parsePackage.callWithException(parser, packageFile, flags);
    } else if (API_LEVEL >= LOLLIPOP) {
        return PackageParserLollipop.parsePackage.callWithException(parser, packageFile, flags);
    } else if (API_LEVEL >= JELLY_BEAN_MR1) {
        return PackageParserJellyBean17.parsePackage.callWithException(parser, packageFile, null,
                new DisplayMetrics(), flags);
    } else if (API_LEVEL >= JELLY_BEAN) {
        return PackageParserJellyBean.parsePackage.callWithException(parser, packageFile, null,
                new DisplayMetrics(), flags);
    } else {
        return mirror.android.content.pm.PackageParser.parsePackage.callWithException(parser, packageFile, null,
                new DisplayMetrics(), flags);
    }
}
 
开发者ID:7763sea,项目名称:VirtualHook,代码行数:19,代码来源:PackageParserCompat.java

示例2: generatePackageInfo

import mirror.android.content.pm.PackageParserJellyBean17; //导入依赖的package包/类
public static PackageInfo generatePackageInfo(Package p, int flags, long firstInstallTime, long lastUpdateTime) {
    if (API_LEVEL >= M) {
        return PackageParserMarshmallow.generatePackageInfo.call(p, GIDS, flags, firstInstallTime, lastUpdateTime,
                null, sUserState);
    } else if (API_LEVEL >= LOLLIPOP) {
        if (PackageParserLollipop22.generatePackageInfo != null) {
            return PackageParserLollipop22.generatePackageInfo.call(p, GIDS, flags, firstInstallTime, lastUpdateTime,
                    null, sUserState);
        } else {
            return PackageParserLollipop.generatePackageInfo.call(p, GIDS, flags, firstInstallTime, lastUpdateTime,
                    null, sUserState);
        }
    } else if (API_LEVEL >= JELLY_BEAN_MR1) {
        return PackageParserJellyBean17.generatePackageInfo.call(p, GIDS, flags, firstInstallTime, lastUpdateTime,
                null, sUserState);
    } else if (API_LEVEL >= JELLY_BEAN) {
        return PackageParserJellyBean.generatePackageInfo.call(p, GIDS, flags, firstInstallTime, lastUpdateTime,
                null);
    } else {
        return mirror.android.content.pm.PackageParser.generatePackageInfo.call(p, GIDS, flags, firstInstallTime,
                lastUpdateTime);
    }
}
 
开发者ID:7763sea,项目名称:VirtualHook,代码行数:24,代码来源:PackageParserCompat.java

示例3: collectCertificates

import mirror.android.content.pm.PackageParserJellyBean17; //导入依赖的package包/类
public static void collectCertificates(PackageParser parser, Package p, int flags) throws Throwable {
    if (API_LEVEL >= N) {
        PackageParserNougat.collectCertificates.callWithException(p, flags);
    } else if (API_LEVEL >= M) {
        PackageParserMarshmallow.collectCertificates.callWithException(parser, p, flags);
    } else if (API_LEVEL >= LOLLIPOP_MR1) {
        PackageParserLollipop22.collectCertificates.callWithException(parser, p, flags);
    } else if (API_LEVEL >= LOLLIPOP) {
        PackageParserLollipop.collectCertificates.callWithException(parser, p, flags);
    } else if (API_LEVEL >= JELLY_BEAN_MR1) {
        PackageParserJellyBean17.collectCertificates.callWithException(parser, p, flags);
    } else if (API_LEVEL >= JELLY_BEAN) {
        PackageParserJellyBean.collectCertificates.callWithException(parser, p, flags);
    } else {
        mirror.android.content.pm.PackageParser.collectCertificates.call(parser, p, flags);
    }
}
 
开发者ID:7763sea,项目名称:VirtualHook,代码行数:18,代码来源:PackageParserCompat.java

示例4: createParser

import mirror.android.content.pm.PackageParserJellyBean17; //导入依赖的package包/类
public static PackageParser createParser(File packageFile) {
    if (API_LEVEL >= M) {
        return PackageParserMarshmallow.ctor.newInstance();
    } else if (API_LEVEL >= LOLLIPOP_MR1) {
        return PackageParserLollipop22.ctor.newInstance();
    } else if (API_LEVEL >= LOLLIPOP) {
        return PackageParserLollipop.ctor.newInstance();
    } else if (API_LEVEL >= JELLY_BEAN_MR1) {
        return PackageParserJellyBean17.ctor.newInstance(packageFile.getAbsolutePath());
    } else if (API_LEVEL >= JELLY_BEAN) {
        return PackageParserJellyBean.ctor.newInstance(packageFile.getAbsolutePath());
    } else {
        return mirror.android.content.pm.PackageParser.ctor.newInstance(packageFile.getAbsolutePath());
    }
}
 
开发者ID:7763sea,项目名称:VirtualHook,代码行数:16,代码来源:PackageParserCompat.java

示例5: generateServiceInfo

import mirror.android.content.pm.PackageParserJellyBean17; //导入依赖的package包/类
public static ServiceInfo generateServiceInfo(Service service, int flags) {
    if (API_LEVEL >= M) {
        return PackageParserMarshmallow.generateServiceInfo.call(service, flags, sUserState, myUserId);
    } else if (API_LEVEL >= LOLLIPOP_MR1) {
        return PackageParserLollipop22.generateServiceInfo.call(service, flags, sUserState, myUserId);
    } else if (API_LEVEL >= LOLLIPOP) {
        return PackageParserLollipop.generateServiceInfo.call(service, flags, sUserState, myUserId);
    } else if (API_LEVEL >= JELLY_BEAN_MR1) {
        return PackageParserJellyBean17.generateServiceInfo.call(service, flags, sUserState, myUserId);
    } else if (API_LEVEL >= JELLY_BEAN) {
        return PackageParserJellyBean.generateServiceInfo.call(service, flags, false, 1, myUserId);
    } else {
        return mirror.android.content.pm.PackageParser.generateServiceInfo.call(service, flags);
    }
}
 
开发者ID:7763sea,项目名称:VirtualHook,代码行数:16,代码来源:PackageParserCompat.java

示例6: generateApplicationInfo

import mirror.android.content.pm.PackageParserJellyBean17; //导入依赖的package包/类
public static ApplicationInfo generateApplicationInfo(Package p, int flags) {
    if (API_LEVEL >= M) {
        return PackageParserMarshmallow.generateApplicationInfo.call(p, flags, sUserState);
    } else if (API_LEVEL >= LOLLIPOP_MR1) {
        return PackageParserLollipop22.generateApplicationInfo.call(p, flags, sUserState);
    } else if (API_LEVEL >= LOLLIPOP) {
        return PackageParserLollipop.generateApplicationInfo.call(p, flags, sUserState);
    } else if (API_LEVEL >= JELLY_BEAN_MR1) {
        return PackageParserJellyBean17.generateApplicationInfo.call(p, flags, sUserState);
    } else if (API_LEVEL >= JELLY_BEAN) {
        return PackageParserJellyBean.generateApplicationInfo.call(p, flags, false, 1);
    } else {
        return mirror.android.content.pm.PackageParser.generateApplicationInfo.call(p, flags);
    }
}
 
开发者ID:7763sea,项目名称:VirtualHook,代码行数:16,代码来源:PackageParserCompat.java

示例7: generateActivityInfo

import mirror.android.content.pm.PackageParserJellyBean17; //导入依赖的package包/类
public static ActivityInfo generateActivityInfo(Activity activity, int flags) {
    if (API_LEVEL >= M) {
        return PackageParserMarshmallow.generateActivityInfo.call(activity, flags, sUserState, myUserId);
    } else if (API_LEVEL >= LOLLIPOP_MR1) {
        return PackageParserLollipop22.generateActivityInfo.call(activity, flags, sUserState, myUserId);
    } else if (API_LEVEL >= LOLLIPOP) {
        return PackageParserLollipop.generateActivityInfo.call(activity, flags, sUserState, myUserId);
    } else if (API_LEVEL >= JELLY_BEAN_MR1) {
        return PackageParserJellyBean17.generateActivityInfo.call(activity, flags, sUserState, myUserId);
    } else if (API_LEVEL >= JELLY_BEAN) {
        return PackageParserJellyBean.generateActivityInfo.call(activity, flags, false, 1, myUserId);
    } else {
        return mirror.android.content.pm.PackageParser.generateActivityInfo.call(activity, flags);
    }
}
 
开发者ID:7763sea,项目名称:VirtualHook,代码行数:16,代码来源:PackageParserCompat.java

示例8: generateProviderInfo

import mirror.android.content.pm.PackageParserJellyBean17; //导入依赖的package包/类
public static ProviderInfo generateProviderInfo(Provider provider, int flags) {
    if (API_LEVEL >= M) {
        return PackageParserMarshmallow.generateProviderInfo.call(provider, flags, sUserState, myUserId);
    } else if (API_LEVEL >= LOLLIPOP_MR1) {
        return PackageParserLollipop22.generateProviderInfo.call(provider, flags, sUserState, myUserId);
    } else if (API_LEVEL >= LOLLIPOP) {
        return PackageParserLollipop.generateProviderInfo.call(provider, flags, sUserState, myUserId);
    } else if (API_LEVEL >= JELLY_BEAN_MR1) {
        return PackageParserJellyBean17.generateProviderInfo.call(provider, flags, sUserState, myUserId);
    } else if (API_LEVEL >= JELLY_BEAN) {
        return PackageParserJellyBean.generateProviderInfo.call(provider, flags, false, 1, myUserId);
    } else {
        return mirror.android.content.pm.PackageParser.generateProviderInfo.call(provider, flags);
    }
}
 
开发者ID:7763sea,项目名称:VirtualHook,代码行数:16,代码来源:PackageParserCompat.java

示例9: generatePackageInfo

import mirror.android.content.pm.PackageParserJellyBean17; //导入依赖的package包/类
public static PackageInfo generatePackageInfo(Package p, int flags, long firstInstallTime, long lastUpdateTime) {
	if (SDK >= M) {

		return PackageParserMarshmallow.generatePackageInfo.call(p, gids, flags, firstInstallTime, lastUpdateTime,
				null, sUserState);

	} else if (SDK >= LOLLIPOP) {
		if (PackageParserLollipop22.generatePackageInfo != null) {
			return PackageParserLollipop22.generatePackageInfo.call(p, gids, flags, firstInstallTime, lastUpdateTime,
					null, sUserState);
		} else {
			return PackageParserLollipop.generatePackageInfo.call(p, gids, flags, firstInstallTime, lastUpdateTime,
					null, sUserState);
		}

	} else if (SDK >= JELLY_BEAN_MR1) {

		return PackageParserJellyBean17.generatePackageInfo.call(p, gids, flags, firstInstallTime, lastUpdateTime,
				null, sUserState);

	} else if (SDK >= JELLY_BEAN) {

		return PackageParserJellyBean.generatePackageInfo.call(p, gids, flags, firstInstallTime, lastUpdateTime,
				null);

	} else {
		return mirror.android.content.pm.PackageParser.generatePackageInfo.call(p, gids, flags, firstInstallTime,
				lastUpdateTime);
	}
}
 
开发者ID:codehz,项目名称:container,代码行数:31,代码来源:PackageParserCompat.java

示例10: generateServiceInfo

import mirror.android.content.pm.PackageParserJellyBean17; //导入依赖的package包/类
public static ServiceInfo generateServiceInfo(Service service, int flags) {

		if (SDK >= M) {

			return PackageParserMarshmallow.generateServiceInfo.call(service, flags, sUserState, myUserId);

		} else if (SDK >= LOLLIPOP_MR1) {

			return PackageParserLollipop22.generateServiceInfo.call(service, flags, sUserState, myUserId);

		} else if (SDK >= LOLLIPOP) {

			return PackageParserLollipop.generateServiceInfo.call(service, flags, sUserState, myUserId);

		} else if (SDK >= JELLY_BEAN_MR1) {

			return PackageParserJellyBean17.generateServiceInfo.call(service, flags, sUserState, myUserId);

		} else if (SDK >= JELLY_BEAN) {

			return PackageParserJellyBean.generateServiceInfo.call(service, flags, false, 1, myUserId);

		} else {
			return mirror.android.content.pm.PackageParser.generateServiceInfo.call(service, flags);
		}
	}
 
开发者ID:codehz,项目名称:container,代码行数:27,代码来源:PackageParserCompat.java

示例11: generateApplicationInfo

import mirror.android.content.pm.PackageParserJellyBean17; //导入依赖的package包/类
public static ApplicationInfo generateApplicationInfo(Package p, int flags) {
	if (SDK >= M) {

		return PackageParserMarshmallow.generateApplicationInfo.call(p, flags, sUserState);

	} else if (SDK >= LOLLIPOP_MR1) {

		return PackageParserLollipop22.generateApplicationInfo.call(p, flags, sUserState);

	} else if (SDK >= LOLLIPOP) {

		return PackageParserLollipop.generateApplicationInfo.call(p, flags, sUserState);

	} else if (SDK >= JELLY_BEAN_MR1) {

		return PackageParserJellyBean17.generateApplicationInfo.call(p, flags, sUserState);

	} else if (SDK >= JELLY_BEAN) {

		return PackageParserJellyBean.generateApplicationInfo.call(p, flags, false, 1);

	} else {
		return mirror.android.content.pm.PackageParser.generateApplicationInfo.call(p, flags);
	}
}
 
开发者ID:codehz,项目名称:container,代码行数:26,代码来源:PackageParserCompat.java

示例12: generateActivityInfo

import mirror.android.content.pm.PackageParserJellyBean17; //导入依赖的package包/类
public static ActivityInfo generateActivityInfo(Activity activity, int flags) {

		if (SDK >= M) {

			return PackageParserMarshmallow.generateActivityInfo.call(activity, flags, sUserState, myUserId);

		} else if (SDK >= LOLLIPOP_MR1) {

			return PackageParserLollipop22.generateActivityInfo.call(activity, flags, sUserState, myUserId);

		} else if (SDK >= LOLLIPOP) {

			return PackageParserLollipop.generateActivityInfo.call(activity, flags, sUserState, myUserId);

		} else if (SDK >= JELLY_BEAN_MR1) {

			return PackageParserJellyBean17.generateActivityInfo.call(activity, flags, sUserState, myUserId);

		} else if (SDK >= JELLY_BEAN) {

			return PackageParserJellyBean.generateActivityInfo.call(activity, flags, false, 1, myUserId);

		} else {
			return mirror.android.content.pm.PackageParser.generateActivityInfo.call(activity, flags);
		}
	}
 
开发者ID:codehz,项目名称:container,代码行数:27,代码来源:PackageParserCompat.java

示例13: generateProviderInfo

import mirror.android.content.pm.PackageParserJellyBean17; //导入依赖的package包/类
public static ProviderInfo generateProviderInfo(Provider provider, int flags) {

		if (SDK >= M) {

			return PackageParserMarshmallow.generateProviderInfo.call(provider, flags, sUserState, myUserId);

		} else if (SDK >= LOLLIPOP_MR1) {

			return PackageParserLollipop22.generateProviderInfo.call(provider, flags, sUserState, myUserId);

		} else if (SDK >= LOLLIPOP) {

			return PackageParserLollipop.generateProviderInfo.call(provider, flags, sUserState, myUserId);

		} else if (SDK >= JELLY_BEAN_MR1) {

			return PackageParserJellyBean17.generateProviderInfo.call(provider, flags, sUserState, myUserId);

		} else if (SDK >= JELLY_BEAN) {

			return PackageParserJellyBean.generateProviderInfo.call(provider, flags, false, 1, myUserId);

		} else {
			return mirror.android.content.pm.PackageParser.generateProviderInfo.call(provider, flags);
		}
	}
 
开发者ID:codehz,项目名称:container,代码行数:27,代码来源:PackageParserCompat.java

示例14: collectCertificates

import mirror.android.content.pm.PackageParserJellyBean17; //导入依赖的package包/类
public static void collectCertificates(PackageParser parser, Package p, int flags) {
	if (SDK >= M) {

		PackageParserMarshmallow.collectCertificates.call(parser, p, flags);

	} else if (SDK >= LOLLIPOP_MR1) {

		PackageParserLollipop22.collectCertificates.call(parser, p, flags);

	} else if (SDK >= LOLLIPOP) {

		PackageParserLollipop.collectCertificates.call(parser, p, flags);

	} else if (SDK >= JELLY_BEAN_MR1) {

		 PackageParserJellyBean17.collectCertificates.call(parser, p, flags);

	} else if (SDK >= JELLY_BEAN) {

		PackageParserJellyBean.collectCertificates.call(parser, p, flags);

	} else {
		mirror.android.content.pm.PackageParser.collectCertificates.call(parser, p, flags);
	}
}
 
开发者ID:codehz,项目名称:container,代码行数:26,代码来源:PackageParserCompat.java


注:本文中的mirror.android.content.pm.PackageParserJellyBean17类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。