/aosp14/frameworks/base/services/core/java/com/android/server/pm/permission/ |
H A D | Permission.java | 129 newPermissionInfo.protectionLevel = mPermissionInfo.protectionLevel; in setPermissionInfo() 141 return mPermissionInfo.protectionLevel; in getProtectionLevel() 308 return (mPermissionInfo.protectionLevel in isSystemTextClassifier() 317 return (mPermissionInfo.protectionLevel in isIncidentReportApprover() 361 newPermissionInfo.protectionLevel = mPermissionInfo.protectionLevel; in transfer() 372 (mPermissionInfo.protectionLevel != protectionLevel in addToTree() 380 mPermissionInfo.protectionLevel = protectionLevel; in addToTree() 570 permissionInfo.protectionLevel = mPermissionInfo.protectionLevel; in generatePermissionInfo() 576 permissionInfo.protectionLevel = mPermissionInfo.protectionLevel; in generatePermissionInfo() 578 permissionInfo.protectionLevel = protection; in generatePermissionInfo() [all …]
|
H A D | LegacyPermission.java | 106 mPermissionInfo.protectionLevel = PermissionInfo.PROTECTION_SIGNATURE; in LegacyPermission() 156 bp.mPermissionInfo.protectionLevel = readInt(parser, null, "protection", in read() 158 bp.mPermissionInfo.protectionLevel = PermissionInfo.fixProtectionLevel( in read() 159 bp.mPermissionInfo.protectionLevel); in read() 183 if (mPermissionInfo.protectionLevel != PermissionInfo.PROTECTION_NORMAL) { in write() 184 serializer.attributeInt(null, "protection", mPermissionInfo.protectionLevel); in write() 224 pw.println(PermissionInfo.protectionToString(mPermissionInfo.protectionLevel)); in dump()
|
H A D | PermissionManagerServiceImpl.java | 663 int fixedLevel = PermissionInfo.fixProtectionLevel(info.protectionLevel); in addPermission()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/component/ |
H A D | ParsedPermissionImpl.java | 52 private int protectionLevel; field in ParsedPermissionImpl 108 dest.writeInt(this.protectionLevel); in writeToParcel() 119 this.protectionLevel = in.readInt(); in ParsedPermissionImpl() 160 int protectionLevel, in ParsedPermissionImpl() argument 167 this.protectionLevel = protectionLevel; in ParsedPermissionImpl() 192 return protectionLevel; in getProtectionLevel() 214 protectionLevel = value; in setProtectionLevel()
|
H A D | ComponentMutateUtils.java | 80 int protectionLevel) { in setProtectionLevel() argument 81 ((ParsedPermissionImpl) permission).setProtectionLevel(protectionLevel); in setProtectionLevel()
|
/aosp14/frameworks/base/core/java/android/content/pm/ |
H A D | PermissionInfo.java | 373 public int protectionLevel; field in PermissionInfo 634 protectionLevel = orig.protectionLevel; in PermissionInfo() 674 return protectionLevel & PROTECTION_MASK_BASE; in getProtection() 682 return protectionLevel & ~PROTECTION_MASK_BASE; in getProtectionFlags() 700 dest.writeInt(protectionLevel); in writeToParcel() 739 return (protectionLevel & PermissionInfo.PROTECTION_FLAG_APPOP) != 0; in isAppOp() 761 protectionLevel = source.readInt(); in PermissionInfo()
|
H A D | PackageParser.java | 3227 perm.info.protectionLevel = sa.getInt( in parsePermission() 3249 if (perm.info.protectionLevel == -1) { in parsePermission() 3255 perm.info.protectionLevel = PermissionInfo.fixProtectionLevel(perm.info.protectionLevel); in parsePermission() 3258 if ( (perm.info.protectionLevel&PermissionInfo.PROTECTION_FLAG_INSTANT) == 0 in parsePermission() 3259 && (perm.info.protectionLevel&PermissionInfo.PROTECTION_FLAG_RUNTIME_ONLY) == 0 in parsePermission() 3260 && (perm.info.protectionLevel&PermissionInfo.PROTECTION_MASK_BASE) != in parsePermission() 3315 perm.info.protectionLevel = PermissionInfo.PROTECTION_NORMAL; in parsePermissionTree()
|
/aosp14/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
H A D | Permission.kt | 45 inline val protectionLevel: Int 47 get() = permissionInfo.protectionLevel
|
H A D | UidPermissionPersistence.kt | 65 protectionLevel = getAttributeIntHexOrThrow(ATTR_PROTECTION_LEVEL) 117 attributeIntHex(ATTR_PROTECTION_LEVEL, permission.protectionLevel)
|
H A D | UidPermissionPolicy.kt | 101 protectionLevel = PermissionInfo.PROTECTION_SIGNATURE 275 protectionLevel = oldPermission.permissionInfo.protectionLevel
|
H A D | PermissionService.kt | 260 protectionLevel = protection 374 permissionInfo.protectionLevel = 375 PermissionInfo.fixProtectionLevel(permissionInfo.protectionLevel)
|
/aosp14/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PermissionInfoTest.java | 47 permissionInfo.protectionLevel = in createFromParcel_returnsKnownCerts()
|
/aosp14/frameworks/base/core/res/ |
H A D | Android.bp | 172 " | sed -r 's/android:(name|protectionLevel)/\\1/g' " + 174 " '//permission[not(contains(@protectionLevel, \"signature\"))]/@name'" +
|
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/ |
H A D | PackageParserLegacyCoreTest.java | 459 private void assertPermission(String name, int protectionLevel, ParsedPermission permission) { in assertPermission() argument 461 assertEquals(protectionLevel, ParsedPermissionUtils.getProtection(permission)); in assertPermission()
|
/aosp14/frameworks/base/services/robotests/src/com/android/server/pm/ |
H A D | CrossProfileAppsServiceImplRoboTest.java | 437 permissionInfo.protectionLevel = PermissionInfo.PROTECTION_FLAG_APPOP; in createCrossProfilesPermissionInfo()
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BroadcastSkipPolicy.java | 648 if ((pi.protectionLevel & (PermissionInfo.PROTECTION_MASK_BASE in isSignaturePerm()
|
H A D | ActivityManagerService.java | 5940 return (info.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in isRuntimePermission()
|
/aosp14/frameworks/base/packages/SystemUI/docs/ |
H A D | plugins.md | 202 android:protectionLevel="signature" />
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
H A D | PackageInfoUtils.java | 723 pi.protectionLevel = p.getProtectionLevel(); in generatePermissionInfo()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageManagerShellCommand.java | 4060 final int base = pi.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE; in doListPermissions() 4093 + PermissionInfo.protectionToString(pi.protectionLevel)); in doListPermissions()
|
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerService.java | 17305 return (permissionInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE)
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/aosp14/frameworks/base/core/api/ |
H A D | current.txt | 1319 field public static final int protectionLevel = 16842761; // 0x1010009 12958 field @Deprecated public int protectionLevel;
|
/aosp14/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 76278 Lcom/android/internal/R$attr;->protectionLevel:I
|