Home
last modified time | relevance | path

Searched refs:parsedPackage (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DLegacyManifestParserTest.java33 Package parsedPackage = LegacyManifestParser.createPackage(androidManifest); in createPackage_signatureOrPrivileged_shouldParseCorrectFlags() local
35 getPermissionInfo(parsedPackage.permissions, "signature_or_privileged_permission") in createPackage_signatureOrPrivileged_shouldParseCorrectFlags()
43 Package parsedPackage = LegacyManifestParser.createPackage(androidManifest); in createPackage_protectionLevelNotDeclated_shouldParseToNormal() local
45 getPermissionInfo(parsedPackage.permissions, "permission_with_minimal_fields") in createPackage_protectionLevelNotDeclated_shouldParseToNormal()
52 Package parsedPackage = LegacyManifestParser.createPackage(androidManifest); in createPackage_protectionLevelVendorOrOem_shouldParseCorrectFlags() local
54 getPermissionInfo(parsedPackage.permissions, "vendor_privileged_or_oem_permission") in createPackage_protectionLevelVendorOrOem_shouldParseCorrectFlags()
63 Package parsedPackage = LegacyManifestParser.createPackage(androidManifest); in createPackage_protectionLevelDangerous_shouldParseCorrectFlags() local
65 getPermissionInfo(parsedPackage.permissions, "dangerous_permission").protectionLevel; in createPackage_protectionLevelDangerous_shouldParseCorrectFlags()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DParallelUniverse.java124 PackageParser.Package parsedPackage; in setUpApplicationState() local
130 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 …]