Searched refs:parsedPackage (Results 1 – 2 of 2) sorted by relevance
33 Package parsedPackage = LegacyManifestParser.createPackage(androidManifest); in createPackage_signatureOrPrivileged_shouldParseCorrectFlags() local35 getPermissionInfo(parsedPackage.permissions, "signature_or_privileged_permission") in createPackage_signatureOrPrivileged_shouldParseCorrectFlags()43 Package parsedPackage = LegacyManifestParser.createPackage(androidManifest); in createPackage_protectionLevelNotDeclated_shouldParseToNormal() local45 getPermissionInfo(parsedPackage.permissions, "permission_with_minimal_fields") in createPackage_protectionLevelNotDeclated_shouldParseToNormal()52 Package parsedPackage = LegacyManifestParser.createPackage(androidManifest); in createPackage_protectionLevelVendorOrOem_shouldParseCorrectFlags() local54 getPermissionInfo(parsedPackage.permissions, "vendor_privileged_or_oem_permission") in createPackage_protectionLevelVendorOrOem_shouldParseCorrectFlags()63 Package parsedPackage = LegacyManifestParser.createPackage(androidManifest); in createPackage_protectionLevelDangerous_shouldParseCorrectFlags() local65 getPermissionInfo(parsedPackage.permissions, "dangerous_permission").protectionLevel; in createPackage_protectionLevelDangerous_shouldParseCorrectFlags()
124 PackageParser.Package parsedPackage; in setUpApplicationState() local130 parsedPackage = LegacyManifestParser.createPackage(appManifest); in setUpApplicationState()132 parsedPackage = new PackageParser.Package("org.robolectric.default"); in setUpApplicationState()133 parsedPackage.applicationInfo.targetSdkVersion = appManifest.getTargetSdkVersion(); in setUpApplicationState()137 parsedPackage.packageName = config.packageName(); in setUpApplicationState()138 parsedPackage.applicationInfo.packageName = config.packageName(); in setUpApplicationState()140 parsedPackage.packageName = appManifest.getPackageName(); in setUpApplicationState()141 parsedPackage.applicationInfo.packageName = appManifest.getPackageName(); in setUpApplicationState()155 parsedPackage = ShadowPackageParser.callParsePackage(packageFile); in setUpApplicationState()163 ApplicationInfo applicationInfo = parsedPackage.applicationInfo; in setUpApplicationState()[all …]