/aosp12/frameworks/base/services/core/java/com/android/server/pm/permission/ |
H A D | Permission.java | 120 newPermissionInfo.protectionLevel = mPermissionInfo.protectionLevel; in setPermissionInfo() 132 return mPermissionInfo.protectionLevel; in getProtectionLevel() 303 return (mPermissionInfo.protectionLevel in isSystemTextClassifier() 316 return (mPermissionInfo.protectionLevel in isIncidentReportApprover() 356 newPermissionInfo.protectionLevel = mPermissionInfo.protectionLevel; in transfer() 367 (mPermissionInfo.protectionLevel != protectionLevel in addToTree() 375 mPermissionInfo.protectionLevel = protectionLevel; in addToTree() 566 permissionInfo.protectionLevel = mPermissionInfo.protectionLevel; in generatePermissionInfo() 572 permissionInfo.protectionLevel = mPermissionInfo.protectionLevel; in generatePermissionInfo() 574 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 | PermissionManagerService.java | 659 int fixedLevel = PermissionInfo.fixProtectionLevel(info.protectionLevel); in addPermission()
|
/aosp12/frameworks/base/core/java/android/content/pm/parsing/component/ |
H A D | ParsedPermission.java | 46 int protectionLevel; field in ParsedPermission 62 this.protectionLevel = other.protectionLevel; in ParsedPermission() 82 return (protectionLevel & PermissionInfo.PROTECTION_FLAG_APPOP) != 0; in isAppOp() 87 return protectionLevel & PermissionInfo.PROTECTION_MASK_BASE; in getProtection() 91 return protectionLevel & ~PermissionInfo.PROTECTION_MASK_BASE; in getProtectionFlags() 136 dest.writeInt(this.protectionLevel); in writeToParcel() 149 this.protectionLevel = in.readInt(); in ParsedPermission() 183 return protectionLevel; in getProtectionLevel() 196 protectionLevel = value; in setProtectionLevel()
|
H A D | ParsedPermissionUtils.java | 86 permission.protectionLevel = sa.getInt( in parsePermission() 141 permission.protectionLevel = PermissionInfo.fixProtectionLevel(permission.protectionLevel); in parsePermission() 191 permission.protectionLevel = PermissionInfo.PROTECTION_NORMAL; in parsePermissionTree()
|
/aosp12/frameworks/base/core/java/android/content/pm/ |
H A D | PermissionInfo.java | 360 public int protectionLevel; field in PermissionInfo 615 protectionLevel = orig.protectionLevel; in PermissionInfo() 653 return protectionLevel & PROTECTION_MASK_BASE; in getProtection() 661 return protectionLevel & ~PROTECTION_MASK_BASE; in getProtectionFlags() 679 dest.writeInt(protectionLevel); in writeToParcel() 718 return (protectionLevel & PermissionInfo.PROTECTION_FLAG_APPOP) != 0; in isAppOp() 740 protectionLevel = source.readInt(); in PermissionInfo()
|
H A D | PackageParser.java | 3171 perm.info.protectionLevel = sa.getInt( in parsePermission() 3193 if (perm.info.protectionLevel == -1) { in parsePermission() 3199 perm.info.protectionLevel = PermissionInfo.fixProtectionLevel(perm.info.protectionLevel); in parsePermission() 3202 if ( (perm.info.protectionLevel&PermissionInfo.PROTECTION_FLAG_INSTANT) == 0 in parsePermission() 3203 && (perm.info.protectionLevel&PermissionInfo.PROTECTION_FLAG_RUNTIME_ONLY) == 0 in parsePermission() 3204 && (perm.info.protectionLevel&PermissionInfo.PROTECTION_MASK_BASE) != in parsePermission() 3259 perm.info.protectionLevel = PermissionInfo.PROTECTION_NORMAL; in parsePermissionTree()
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
H A D | AllAppPermissionsFragment.java | 161 && (perm.protectionLevel & PermissionInfo.PROTECTION_FLAG_INSTANT) == 0) { in updateUi() 165 && (perm.protectionLevel & PermissionInfo.PROTECTION_FLAG_RUNTIME_ONLY) in updateUi() 171 if ((perm.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in updateUi() 175 } else if ((perm.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in updateUi()
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
H A D | AutoAllAppPermissionsFragment.java | 149 && (perm.protectionLevel & PermissionInfo.PROTECTION_FLAG_INSTANT) in updateUi() 154 && (perm.protectionLevel & PermissionInfo.PROTECTION_FLAG_RUNTIME_ONLY) in updateUi() 159 if ((perm.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in updateUi() 172 if ((perm.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in updateUi()
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/ |
H A D | Permission.java | 57 (permissionInfo.protectionLevel & PermissionInfo.PROTECTION_FLAG_INSTANT) != 0; in Permission() 59 (permissionInfo.protectionLevel & PermissionInfo.PROTECTION_FLAG_RUNTIME_ONLY) != 0; in Permission()
|
H A D | AppPermissionGroup.java | 163 if ((permissionInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in create() 310 if ((requestedPermissionInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in create()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PermissionInfoTest.java | 45 permissionInfo.protectionLevel = in createFromParcel_returnsKnownCerts()
|
/aosp12/frameworks/base/core/res/ |
H A D | Android.bp | 177 " | sed -r 's/android:(name|protectionLevel)/\\1/g' " + 179 " '//permission[not(contains(@protectionLevel, \"signature\"))]/@name'" +
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/ |
H A D | PermissionApps.java | 224 if ((permInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in loadPermissionApps() 325 if ((permInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in loadGroupInfo()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/ |
H A D | PackageParserLegacyCoreTest.java | 408 private void assertPermission(String name, int protectionLevel, ParsedPermission permission) { in assertPermission() argument 410 assertEquals(protectionLevel, permission.getProtection()); in assertPermission()
|
/aosp12/frameworks/base/services/robotests/src/com/android/server/pm/ |
H A D | CrossProfileAppsServiceImplRoboTest.java | 436 permissionInfo.protectionLevel = PermissionInfo.PROTECTION_FLAG_APPOP; in createCrossProfilesPermissionInfo()
|
/aosp12/frameworks/base/packages/SystemUI/docs/ |
H A D | plugins.md | 202 android:protectionLevel="signature" />
|
/aosp12/frameworks/base/core/java/android/content/pm/parsing/ |
H A D | PackageInfoWithoutStateUtils.java | 677 pi.protectionLevel = p.getProtectionLevel(); in generatePermissionInfo()
|
/aosp12/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageManagerShellCommand.java | 3503 final int base = pi.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE; in doListPermissions() 3536 + PermissionInfo.protectionToString(pi.protectionLevel)); in doListPermissions()
|
/aosp12/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BroadcastQueue.java | 979 if ((pi.protectionLevel & (PermissionInfo.PROTECTION_MASK_BASE in isSignaturePerm()
|
H A D | ActivityManagerService.java | 5383 return (info.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE) in isRuntimePermission()
|
/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerService.java | 13809 return (permissionInfo.protectionLevel & PermissionInfo.PROTECTION_MASK_BASE)
|
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/aosp12/frameworks/base/core/api/ |
H A D | current.txt | 1157 field public static final int protectionLevel = 16842761; // 0x1010009 12930 field @Deprecated public int protectionLevel;
|
/aosp12/frameworks/opt/setupwizard/tools/docs/ |
H A D | android-22.txt | 974 field public static final int protectionLevel = 16842761; // 0x1010009 8938 field public int protectionLevel;
|