Searched refs:permissionInfo (Results 1 – 3 of 3) sorted by relevance
72 public static int getProtection(@NonNull PermissionInfo permissionInfo) { in getProtection() argument74 return permissionInfo.getProtection(); in getProtection()76 return permissionInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE; in getProtection()85 public static int getProtectionFlags(@NonNull PermissionInfo permissionInfo) { in getProtectionFlags() argument87 return permissionInfo.getProtectionFlags(); in getProtectionFlags()89 return permissionInfo.protectionLevel & ~PermissionInfo.PROTECTION_MASK_BASE; in getProtectionFlags()
414 PermissionInfo permissionInfo; in generatePermissionInfo() local417 permissionInfo = PackageParser.generatePermissionInfo(perm, flags); in generatePermissionInfo()418 if (protectionLevelChanged && permissionInfo == perm.info) { in generatePermissionInfo()420 permissionInfo = new PermissionInfo(permissionInfo); in generatePermissionInfo()421 permissionInfo.protectionLevel = adjustedProtectionLevel; in generatePermissionInfo()423 return permissionInfo; in generatePermissionInfo()425 permissionInfo = new PermissionInfo(); in generatePermissionInfo()426 permissionInfo.name = name; in generatePermissionInfo()427 permissionInfo.packageName = sourcePackageName; in generatePermissionInfo()428 permissionInfo.nonLocalizedLabel = name; in generatePermissionInfo()[all …]
10894 PermissionInfo permissionInfo = packageManager.getPermissionInfo(permissionName, 0); in isRuntimePermission() local10895 return (permissionInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in isRuntimePermission()