/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | BasePermission.java | 90 int protectionLevel; field in BasePermission 113 protectionLevel = PermissionInfo.PROTECTION_SIGNATURE; in BasePermission() 126 return protectionLevel; in getProtectionLevel() 183 return (protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in isNormal() 187 return (protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in isRuntime() 218 return (protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) == in isSignature() 223 return (protectionLevel & PermissionInfo.PROTECTION_FLAG_APPOP) != 0; in isAppOp() 227 && (protectionLevel & PermissionInfo.PROTECTION_FLAG_DEVELOPMENT) != 0; in isDevelopment() 230 return (protectionLevel & PermissionInfo.PROTECTION_FLAG_INSTALLER) != 0; in isInstaller() 233 return (protectionLevel & PermissionInfo.PROTECTION_FLAG_INSTANT) != 0; in isInstant() [all …]
|
D | PermissionManagerService.java | 558 int protectionLevel, String packageName, int uid) { in adjustPermissionProtectionFlagsLocked() argument 560 final int protectionLevelMasked = protectionLevel in adjustPermissionProtectionFlagsLocked() 565 return protectionLevel; in adjustPermissionProtectionFlagsLocked() 571 return protectionLevel; in adjustPermissionProtectionFlagsLocked() 576 return protectionLevel; in adjustPermissionProtectionFlagsLocked() 584 return protectionLevel; in adjustPermissionProtectionFlagsLocked() 587 return protectionLevel; in adjustPermissionProtectionFlagsLocked() 589 return protectionLevel; in adjustPermissionProtectionFlagsLocked() 816 int fixedLevel = PermissionInfo.fixProtectionLevel(info.protectionLevel); in addDynamicPermission() 3195 @PermissionInfo.Protection int protectionLevel) { in getAllPermissionWithProtectionLevel() [all …]
|
D | PermissionManagerServiceInternal.java | 201 @PermissionInfo.Protection int protectionLevel); in getAllPermissionWithProtectionLevel()
|
/frameworks/base/core/java/android/content/pm/ |
D | PermissionInfo.java | 300 public int protectionLevel; field in PermissionInfo 528 protectionLevel = orig.protectionLevel; in PermissionInfo() 566 return protectionLevel & PROTECTION_MASK_BASE; in getProtection() 574 return protectionLevel & ~PROTECTION_MASK_BASE; in getProtectionFlags() 592 dest.writeInt(protectionLevel); in writeToParcel() 630 return (protectionLevel & PermissionInfo.PROTECTION_FLAG_APPOP) != 0; in isAppOp() 652 protectionLevel = source.readInt(); in PermissionInfo()
|
D | PackageParser.java | 3236 perm.info.protectionLevel = sa.getInt( in parsePermission() 3258 if (perm.info.protectionLevel == -1) { in parsePermission() 3264 perm.info.protectionLevel = PermissionInfo.fixProtectionLevel(perm.info.protectionLevel); in parsePermission() 3267 if ( (perm.info.protectionLevel&PermissionInfo.PROTECTION_FLAG_INSTANT) == 0 in parsePermission() 3268 && (perm.info.protectionLevel&PermissionInfo.PROTECTION_FLAG_RUNTIME_ONLY) == 0 in parsePermission() 3269 && (perm.info.protectionLevel&PermissionInfo.PROTECTION_MASK_BASE) != in parsePermission() 3324 perm.info.protectionLevel = PermissionInfo.PROTECTION_NORMAL; in parsePermissionTree()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageParserTest.java | 383 private void assertPermission(String name, String packageName, int protectionLevel, in assertPermission() argument 387 assertEquals(protectionLevel, permission.info.protectionLevel); in assertPermission()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageParserTest.java | 337 assertEquals(a.info.protectionLevel, b.info.protectionLevel); in assertPermissionsEqual()
|
/frameworks/base/packages/SystemUI/docs/ |
D | plugins.md | 201 android:protectionLevel="signature" />
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 2895 final int base = pi.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE; in doListPermissions() 2928 + PermissionInfo.protectionToString(pi.protectionLevel)); in doListPermissions()
|
D | PackageManagerService.java | 17521 if ((perm.info.protectionLevel & PermissionInfo.PROTECTION_FLAG_INSTANT) != 0 17526 perm.info.protectionLevel &= ~PermissionInfo.PROTECTION_FLAG_INSTANT; 17586 if ((perm.info.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) 17592 perm.info.protectionLevel = bp.getProtectionLevel();
|
D | Settings.java | 4701 pw.print(PermissionInfo.protectionToString(perm.info.protectionLevel)); in dumpPackageLPr()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastQueue.java | 933 if ((pi.protectionLevel & (PermissionInfo.PROTECTION_MASK_BASE in isSignaturePerm()
|
D | ActivityManagerService.java | 5819 return (info.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in isRuntimePermission()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 11876 return (permissionInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in isRuntimePermission()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 974 field public static final int protectionLevel = 16842761; // 0x1010009 8938 field public int protectionLevel;
|
/frameworks/base/api/ |
D | current.txt | 1090 field public static final int protectionLevel = 16842761; // 0x1010009 11903 field @Deprecated public int protectionLevel;
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 97146 Lcom/android/internal/R$attr;->protectionLevel:I
|