Searched refs:permissionInfo (Results 1 – 4 of 4) sorted by relevance
460 PermissionInfo permissionInfo; in generatePermissionInfo() local463 permissionInfo = PackageParser.generatePermissionInfo(perm, flags); in generatePermissionInfo()464 if (protectionLevelChanged && permissionInfo == perm.info) { in generatePermissionInfo()466 permissionInfo = new PermissionInfo(permissionInfo); in generatePermissionInfo()467 permissionInfo.protectionLevel = adjustedProtectionLevel; in generatePermissionInfo()469 return permissionInfo; in generatePermissionInfo()471 permissionInfo = new PermissionInfo(); in generatePermissionInfo()472 permissionInfo.name = name; in generatePermissionInfo()473 permissionInfo.packageName = sourcePackageName; in generatePermissionInfo()474 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 …]
1999 PermissionInfo permissionInfo; in pullDangerousPermissionState() local2002 permissionInfo = pm.getPermissionInfo(permName, 0); in pullDangerousPermissionState()2010 if (permissionInfo.getProtection() != PROTECTION_DANGEROUS) { in pullDangerousPermissionState()
11875 PermissionInfo permissionInfo = packageManager.getPermissionInfo(permissionName, 0); in isRuntimePermission() local11876 return (permissionInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in isRuntimePermission()