Searched refs:permissionInfo (Results 1 – 4 of 4) sorted by relevance
463 PermissionInfo permissionInfo; in generatePermissionInfo() local466 permissionInfo = PackageParser.generatePermissionInfo(perm, flags); in generatePermissionInfo()467 if (protectionLevelChanged && permissionInfo == perm.info) { in generatePermissionInfo()469 permissionInfo = new PermissionInfo(permissionInfo); in generatePermissionInfo()470 permissionInfo.protectionLevel = adjustedProtectionLevel; in generatePermissionInfo()472 return permissionInfo; in generatePermissionInfo()474 permissionInfo = new PermissionInfo(); in generatePermissionInfo()475 permissionInfo.name = name; in generatePermissionInfo()476 permissionInfo.packageName = sourcePackageName; in generatePermissionInfo()477 permissionInfo.nonLocalizedLabel = name; in generatePermissionInfo()[all …]
560 private void addOpIfRestricted(@NonNull PermissionInfo permissionInfo, in addOpIfRestricted() argument562 final String permission = permissionInfo.name; in addOpIfRestricted()566 if (!permissionInfo.isRestricted()) { in addOpIfRestricted()574 if (permissionInfo.isHardRestricted()) { in addOpIfRestricted()582 } else if (permissionInfo.isSoftRestricted()) { in addOpIfRestricted()656 private void addOpIfFgPermissions(@NonNull PermissionInfo permissionInfo, in addOpIfFgPermissions() argument658 final String bgPermissionName = permissionInfo.backgroundPermission; in addOpIfFgPermissions()664 final String permission = permissionInfo.name; in addOpIfFgPermissions()730 final PermissionInfo permissionInfo; in addPackage() local732 permissionInfo = mPackageManager.getPermissionInfo(permission, 0); in addPackage()[all …]
2039 PermissionInfo permissionInfo; in pullDangerousPermissionState() local2042 permissionInfo = pm.getPermissionInfo(permName, 0); in pullDangerousPermissionState()2050 if (permissionInfo.getProtection() != PROTECTION_DANGEROUS) { in pullDangerousPermissionState()
11884 PermissionInfo permissionInfo = packageManager.getPermissionInfo(permissionName, 0); in isRuntimePermission() local11885 return (permissionInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in isRuntimePermission()