Searched refs:findPackageItemOrFail (Results 1 – 1 of 1) sorted by relevance
670 PermissionInfo declaredPermission = (PermissionInfo) findPackageItemOrFail( in assertTestPackageInfo()681 ActivityInfo activity = findPackageItemOrFail(pkgInfo.activities, ACTIVITY_NAME); in assertTestPackageInfo()688 ServiceInfo service = findPackageItemOrFail(pkgInfo.services, SERVICE_NAME); in assertTestPackageInfo()695 ProviderInfo provider = findPackageItemOrFail(pkgInfo.providers, PROVIDER_NAME); in assertTestPackageInfo()702 ActivityInfo receiver = findPackageItemOrFail(pkgInfo.receivers, RECEIVER_NAME); in assertTestPackageInfo()726 ApplicationInfo app = findPackageItemOrFail( in testGetInstalledApplications()747 private <T extends PackageItemInfo> T findPackageItemOrFail(T[] items, String name) { in findPackageItemOrFail() method in PackageManagerTest