Home
last modified time | relevance | path

Searched refs:protectionLevel (Results 1 – 2 of 2) sorted by relevance

/development/apps/Development/src/com/android/development/
DPermissionDetails.java203 setProtectionLevel(R.id.perm_protection, pInfo.protectionLevel); in onCreate()
239 private void setProtectionLevel(int viewId, int protectionLevel) { in setProtectionLevel() argument
241 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()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyPermissionUtil.java112 return pi.group != null && pi.protectionLevel == PermissionInfo.PROTECTION_DANGEROUS in shouldTargetPermission()