Searched refs:protectionLevel (Results 1 – 2 of 2) sorted by relevance
203 setProtectionLevel(R.id.perm_protection, pInfo.protectionLevel); in onCreate()239 private void setProtectionLevel(int viewId, int protectionLevel) { in setProtectionLevel() argument241 if (protectionLevel == PermissionInfo.PROTECTION_NORMAL) { in setProtectionLevel()243 } else if (protectionLevel == PermissionInfo.PROTECTION_DANGEROUS) { in setProtectionLevel()245 } else if (protectionLevel == PermissionInfo.PROTECTION_SIGNATURE) { in setProtectionLevel()247 } else if (protectionLevel == PermissionInfo.PROTECTION_SIGNATURE_OR_SYSTEM) { in setProtectionLevel()
108 return pi.group != null && pi.protectionLevel == PermissionInfo.PROTECTION_DANGEROUS in shouldTargetPermission()