Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DPermissionInfo.java97 public int protectionLevel; field in PermissionInfo
174 protectionLevel = orig.protectionLevel; in PermissionInfo()
217 dest.writeInt(protectionLevel); in writeToParcel()
236 protectionLevel = source.readInt(); in PermissionInfo()
DPackageParser.java2246 perm.info.protectionLevel = sa.getInt( in parsePermission()
2255 if (perm.info.protectionLevel == -1) { in parsePermission()
2261 perm.info.protectionLevel = PermissionInfo.fixProtectionLevel(perm.info.protectionLevel); in parsePermission()
2263 if ((perm.info.protectionLevel&PermissionInfo.PROTECTION_MASK_FLAGS) != 0) { in parsePermission()
2264 if ((perm.info.protectionLevel&PermissionInfo.PROTECTION_MASK_BASE) != in parsePermission()
2318 perm.info.protectionLevel = PermissionInfo.PROTECTION_NORMAL; in parsePermissionTree()
/frameworks/base/services/core/java/com/android/server/pm/
DBasePermission.java37 int protectionLevel; field in BasePermission
52 protectionLevel = PermissionInfo.PROTECTION_SIGNATURE; in BasePermission()
DSettings.java1909 if (bp.protectionLevel != PermissionInfo.PROTECTION_NORMAL) { in writePermissionLPr()
1910 serializer.attribute(null, "protection", Integer.toString(bp.protectionLevel)); in writePermissionLPr()
2541 bp.protectionLevel = readInt(parser, null, "protection", in readPermissionsLPw()
2543 bp.protectionLevel = PermissionInfo.fixProtectionLevel(bp.protectionLevel); in readPermissionsLPw()
2550 pi.protectionLevel = bp.protectionLevel; in readPermissionsLPw()
3610 pw.println(PermissionInfo.protectionToString(p.protectionLevel)); in dumpPermissionsLPr()
DPackageManagerService.java2031 pi.protectionLevel = bp.protectionLevel; in generatePermissionInfo()
2495 if (pi1.protectionLevel != pi2.protectionLevel) return false; in comparePermissionInfos()
2544 int fixedLevel = PermissionInfo.fixProtectionLevel(info.protectionLevel); in addPermissionLocked()
2554 if (bp.protectionLevel == fixedLevel in addPermissionLocked()
2561 bp.protectionLevel = fixedLevel; in addPermissionLocked()
2563 info.protectionLevel = fixedLevel; in addPermissionLocked()
2618 ((bp.protectionLevel&PermissionInfo.PROTECTION_MASK_BASE) in checkGrantRevokePermissions()
2621 ((bp.protectionLevel&PermissionInfo.PROTECTION_MASK_BASE) in checkGrantRevokePermissions()
2624 ((bp.protectionLevel&PermissionInfo.PROTECTION_FLAG_DEVELOPMENT) != 0); in checkGrantRevokePermissions()
6322 bp.protectionLevel = p.info.protectionLevel; in scanPackageDirtyLI()
[all …]
/frameworks/base/core/java/android/widget/
DAppSecurityPermissions.java552 final int base = pInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE; in isDisplayablePermission()
558 ((pInfo.protectionLevel&PermissionInfo.PROTECTION_FLAG_DEVELOPMENT) != 0); in isDisplayablePermission()
575 + ": protlevel=0x" + Integer.toHexString(pInfo.protectionLevel)); in isDisplayablePermission()
/frameworks/base/docs/html/guide/topics/manifest/
Dpermission-element.jd13 android:<a href="#plevel">protectionLevel</a>=["normal" | "dangerous" |
73 <dt><a name="plevel"></a>{@code android:protectionLevel}</dt>
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java686 final int base = pi.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE; in doListPermissions()
719 + PermissionInfo.protectionToString(pi.protectionLevel)); in doListPermissions()
/frameworks/base/docs/html/guide/topics/security/
Dpermissions.jd221 android:protectionLevel=&quot;dangerous&quot; /&gt;
226 &lt;protectionLevel&gt;} attribute is required, telling the system how the
/frameworks/base/docs/html/google/gcm/
Dhelper.jd83 …droid:name=&quot;my_app_package.permission.C2D_MESSAGE&quot; android:protectionLevel=&quot;signatu…
Dclient.jd148 android:protectionLevel="signature" /&gt;
/frameworks/base/docs/html/training/articles/
Dsecurity-tips.jd135 android:protectionLevel}</a> attribute set to {@code "signature"} protection.
552 android:protectionLevel}</a>.</p>
/frameworks/base/api/
Dsystem-current.txt1044 field public static final int protectionLevel = 16842761; // 0x1010009
9246 field public int protectionLevel;
Dcurrent.txt974 field public static final int protectionLevel = 16842761; // 0x1010009
8940 field public int protectionLevel;