Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/parsing/component/
DParsedPermission.java84 return getProtection() == PermissionInfo.PROTECTION_DANGEROUS; in isRuntime()
92 public int getProtection() { in getProtection() method in ParsedPermission
/frameworks/base/core/java/android/content/pm/
DPermissionInfo.java592 public int getProtection() { in getProtection() method in PermissionInfo
662 return getProtection() == PROTECTION_DANGEROUS; in isRuntime()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java456 assertEquals(a.getProtection(), b.getProtection()); in assertPermissionsEqual()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
DPackageParserLegacyCoreTest.java401 assertEquals(protectionLevel, permission.getProtection()); in assertPermission()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java1566 return pi.getProtection() == PermissionInfo.PROTECTION_DANGEROUS; in isPermissionDangerous()
DPermissionManagerService.java2302 final int newProtection = newPermission.getProtection(); in revokeRuntimePermissionsIfGroupChanged()
4765 if (bp.perm != null && bp.perm.getProtection() == protection) { in getAllPermissionsWithProtection()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java739 if (permInfo.getProtection() == PROTECTION_DANGEROUS) { in initializePullersState()
3149 if (permissionInfo.getProtection() != PROTECTION_DANGEROUS) {
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java3668 return permInfo.getProtection() == PROTECTION_DANGEROUS in shouldCollectNotes()
6057 if (permissionInfo.getProtection() == PROTECTION_DANGEROUS) { in isSamplingTarget()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/config/
Dboot-image-profile.txt5888 HSPLandroid/content/pm/PermissionInfo;->getProtection()I
/frameworks/base/api/
Dcurrent.txt12288 method public int getProtection();