/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | BasePermission.java | 88 int protectionLevel; field in BasePermission 111 protectionLevel = PermissionInfo.PROTECTION_SIGNATURE; in BasePermission() 124 return protectionLevel; in getProtectionLevel() 176 return (protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in isNormal() 180 return (protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in isRuntime() 206 return (protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) == in isSignature() 211 return (protectionLevel & PermissionInfo.PROTECTION_FLAG_APPOP) != 0; in isAppOp() 215 && (protectionLevel & PermissionInfo.PROTECTION_FLAG_DEVELOPMENT) != 0; in isDevelopment() 218 return (protectionLevel & PermissionInfo.PROTECTION_FLAG_INSTALLER) != 0; in isInstaller() 221 return (protectionLevel & PermissionInfo.PROTECTION_FLAG_INSTANT) != 0; in isInstant() [all …]
|
D | PermissionManagerService.java | 606 int fixedLevel = PermissionInfo.fixProtectionLevel(info.protectionLevel); in addPermission() 2233 int protectionLevel, String packageName, int uid) { in adjustPermissionProtectionFlagsLocked() argument 2235 final int protectionLevelMasked = protectionLevel in adjustPermissionProtectionFlagsLocked() 2240 return protectionLevel; in adjustPermissionProtectionFlagsLocked() 2246 return protectionLevel; in adjustPermissionProtectionFlagsLocked() 2251 return protectionLevel; in adjustPermissionProtectionFlagsLocked() 2260 return protectionLevel; in adjustPermissionProtectionFlagsLocked() 2263 return protectionLevel; in adjustPermissionProtectionFlagsLocked() 2265 return protectionLevel; in adjustPermissionProtectionFlagsLocked()
|
/frameworks/base/core/java/android/content/pm/parsing/component/ |
D | ParsedPermission.java | 38 int protectionLevel; field in ParsedPermission 52 this.protectionLevel = other.protectionLevel; in ParsedPermission() 67 this.protectionLevel = pendingPermissionInfo.protectionLevel; in ParsedPermission() 88 return (protectionLevel & PermissionInfo.PROTECTION_FLAG_APPOP) != 0; in isAppOp() 93 return protectionLevel & PermissionInfo.PROTECTION_MASK_BASE; in getProtection() 97 return protectionLevel & ~PermissionInfo.PROTECTION_MASK_BASE; in getProtectionFlags() 125 dest.writeInt(this.protectionLevel); in writeToParcel() 137 this.protectionLevel = in.readInt(); in ParsedPermission() 170 return protectionLevel; in getProtectionLevel() 183 protectionLevel = value; in setProtectionLevel()
|
D | ParsedPermissionUtils.java | 86 permission.protectionLevel = sa.getInt( in parsePermission() 110 if (permission.protectionLevel == -1) { in parsePermission() 114 permission.protectionLevel = PermissionInfo.fixProtectionLevel(permission.protectionLevel); in parsePermission() 117 if ((permission.protectionLevel & PermissionInfo.PROTECTION_FLAG_INSTANT) == 0 in parsePermission() 118 && (permission.protectionLevel & PermissionInfo.PROTECTION_FLAG_RUNTIME_ONLY) in parsePermission() 120 && (permission.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) != in parsePermission() 165 permission.protectionLevel = PermissionInfo.PROTECTION_NORMAL; in parsePermissionTree()
|
/frameworks/base/core/java/android/content/pm/ |
D | PermissionInfo.java | 324 public int protectionLevel; field in PermissionInfo 555 protectionLevel = orig.protectionLevel; in PermissionInfo() 593 return protectionLevel & PROTECTION_MASK_BASE; in getProtection() 601 return protectionLevel & ~PROTECTION_MASK_BASE; in getProtectionFlags() 619 dest.writeInt(protectionLevel); in writeToParcel() 657 return (protectionLevel & PermissionInfo.PROTECTION_FLAG_APPOP) != 0; in isAppOp() 679 protectionLevel = source.readInt(); in PermissionInfo()
|
D | PackageParser.java | 3160 perm.info.protectionLevel = sa.getInt( in parsePermission() 3182 if (perm.info.protectionLevel == -1) { in parsePermission() 3188 perm.info.protectionLevel = PermissionInfo.fixProtectionLevel(perm.info.protectionLevel); in parsePermission() 3191 if ( (perm.info.protectionLevel&PermissionInfo.PROTECTION_FLAG_INSTANT) == 0 in parsePermission() 3192 && (perm.info.protectionLevel&PermissionInfo.PROTECTION_FLAG_RUNTIME_ONLY) == 0 in parsePermission() 3193 && (perm.info.protectionLevel&PermissionInfo.PROTECTION_MASK_BASE) != in parsePermission() 3248 perm.info.protectionLevel = PermissionInfo.PROTECTION_NORMAL; in parsePermissionTree()
|
/frameworks/base/core/res/ |
D | Android.bp | 67 " | sed -r 's/android:(name|protectionLevel)/\\1/g' " + 69 " '//permission[not(contains(@protectionLevel, \"signature\"))]/@name'" +
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/ |
D | PackageParserLegacyCoreTest.java | 399 private void assertPermission(String name, int protectionLevel, ParsedPermission permission) { in assertPermission() argument 401 assertEquals(protectionLevel, permission.getProtection()); in assertPermission()
|
/frameworks/base/services/robotests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplRoboTest.java | 420 permissionInfo.protectionLevel = PermissionInfo.PROTECTION_FLAG_APPOP; in createCrossProfilesPermissionInfo()
|
/frameworks/base/packages/SystemUI/docs/ |
D | plugins.md | 201 android:protectionLevel="signature" />
|
/frameworks/base/core/java/android/content/pm/parsing/ |
D | PackageInfoWithoutStateUtils.java | 611 pi.protectionLevel = p.getProtectionLevel(); in generatePermissionInfo()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 3434 final int base = pi.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE; in doListPermissions() 3467 + PermissionInfo.protectionToString(pi.protectionLevel)); in doListPermissions()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastQueue.java | 931 if ((pi.protectionLevel & (PermissionInfo.PROTECTION_MASK_BASE in isSignaturePerm()
|
D | ActivityManagerService.java | 6130 return (info.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in isRuntimePermission()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/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 | 1110 field public static final int protectionLevel = 16842761; // 0x1010009 12318 field @Deprecated public int protectionLevel;
|