Home
last modified time | relevance | path

Searched refs:getProtection (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedPermissionUtils.java154 && getProtection(permission) != PermissionInfo.PROTECTION_SIGNATURE in parsePermission()
155 && getProtection(permission) != PermissionInfo.PROTECTION_INTERNAL) { in parsePermission()
259 return getProtection(permission) == PermissionInfo.PROTECTION_DANGEROUS; in isRuntime()
267 public static int getProtection(@NonNull ParsedPermission permission) { in getProtection() method in ParsedPermissionUtils
/frameworks/base/core/java/android/content/pm/
DPermissionInfo.java712 public int getProtection() { in getProtection() method in PermissionInfo
783 return getProtection() == PROTECTION_DANGEROUS; in isRuntime()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/
DPackageParserLegacyCoreTest.java461 assertEquals(protectionLevel, ParsedPermissionUtils.getProtection(permission)); in assertPermission()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermission.java540 public int getProtection() { in getProtection() method in Permission
DPermissionManagerServiceImpl.java2192 final int newProtection = ParsedPermissionUtils.getProtection(newPermission);
2933 Slog.wtf(LOG_TAG, "Unknown permission protection " + bp.getProtection()
5217 if (permission.getProtection() == protection) {
DDefaultPermissionGrantPolicy.java1698 return pi.getProtection() == PermissionInfo.PROTECTION_DANGEROUS; in isPermissionDangerous()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageParserTest.java1062 assertEquals(ParsedPermissionUtils.getProtection(a), in assertPermissionsEqual()
1063 ParsedPermissionUtils.getProtection(b)); in assertPermissionsEqual()
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppRegistry.java1050 && (permissionInfo.getProtection() == PermissionInfo.PROTECTION_DANGEROUS
DPackageManagerShellCommand.java2736 if (pi.getProtection() != PermissionInfo.PROTECTION_DANGEROUS) { in getRequestedRuntimePermissions()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java899 if (permInfo.getProtection() == PROTECTION_DANGEROUS) { in initializePullersState()
3667 permissionFlags, permissionInfo.getProtection()
3676 permissionFlags, permissionInfo.getProtection()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java4315 return permInfo.getProtection() == PROTECTION_DANGEROUS in shouldCollectNotes()
6942 if (permissionInfo.getProtection() == PROTECTION_DANGEROUS) {
/frameworks/base/core/java/android/app/
DActivityThread.java8775 return (pi != null) && pi.getProtection() == PermissionInfo.PROTECTION_SIGNATURE; in isProtectedComponent()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt4658 HSPLandroid/content/pm/PermissionInfo;->getProtection()I
/frameworks/base/config/
Dboot-image-profile.txt4661 HSPLandroid/content/pm/PermissionInfo;->getProtection()I
/frameworks/base/core/api/
Dcurrent.txt13406 method public int getProtection();