Searched refs:getPermissionInfo (Results 1 – 3 of 3) sorted by relevance
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | LegacyManifestParserTest.java | 35 getPermissionInfo(parsedPackage.permissions, "signature_or_privileged_permission") in createPackage_signatureOrPrivileged_shouldParseCorrectFlags() 45 getPermissionInfo(parsedPackage.permissions, "permission_with_minimal_fields") in createPackage_protectionLevelNotDeclated_shouldParseToNormal() 54 getPermissionInfo(parsedPackage.permissions, "vendor_privileged_or_oem_permission") in createPackage_protectionLevelVendorOrOem_shouldParseCorrectFlags() 65 getPermissionInfo(parsedPackage.permissions, "dangerous_permission").protectionLevel; in createPackage_protectionLevelDangerous_shouldParseCorrectFlags() 69 private PermissionInfo getPermissionInfo(List<Permission> permissions, String name) { in getPermissionInfo() method in LegacyManifestParserTest
|
D | ShadowPackageManagerTest.java | 429 packageManager.getPermissionInfo("org.robolectric.permission_with_minimal_fields", 0); in getPermissionInfo_withMinimalFields() 440 PermissionInfo permission = packageManager.getPermissionInfo("manually_added_permission", 0); in getPermissionInfo_addedPermissions() 2064 public void getPermissionInfo() throws Exception { in getPermissionInfo() method in ShadowPackageManagerTest 2068 .getPermissionInfo("org.robolectric.some_permission", 0); in getPermissionInfo() 2135 packageManager.getPermissionInfo("non_existant_permission", 0); in getPermissionInfo_notFound() 2145 packageManager.getPermissionInfo("org.robolectric.some_permission", 0); in getPermissionInfo_noMetaData() 2158 packageManager.getPermissionInfo( in getPermissionInfo_withMetaData() 2167 packageManager.getPermissionInfo("org.robolectric.permission_with_literal_label", 0); in getPermissionInfo_withLiteralLabel()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowApplicationPackageManager.java | 851 protected PermissionInfo getPermissionInfo(String name, int flags) throws NameNotFoundException { in getPermissionInfo() method in ShadowApplicationPackageManager
|