Home
last modified time | relevance | path

Searched refs:RESTRICTION_REVOKED (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionFlags.kt242 const val RESTRICTION_REVOKED = 1 shl 18 constant
317 RESTRICTION_REVOKED or
328 const val MASK_RESTRICTED = RESTRICTION_REVOKED or SOFT_RESTRICTED
343 if (flags.hasBits(RESTRICTION_REVOKED)) { in isPermissionGranted()
403 if (flags.hasBits(RESTRICTION_REVOKED) || flags.hasBits(SOFT_RESTRICTED)) { in toApiFlags()
482 flags = flags or RESTRICTION_REVOKED in fromApiFlags()
523 RESTRICTION_REVOKED -> "RESTRICTION_REVOKED" in flagToString()
DAppIdPermissionPolicy.kt221 newFlags = newFlags or PermissionFlags.RESTRICTION_REVOKED in <lambda>()
229 newFlags = newFlags andInv PermissionFlags.RESTRICTION_REVOKED in <lambda>()
1086 newFlags or PermissionFlags.RESTRICTION_REVOKED in <lambda>()
1088 newFlags andInv PermissionFlags.RESTRICTION_REVOKED in <lambda>()
DPermissionService.kt994 if (isGranted && oldFlags.hasBits(PermissionFlags.RESTRICTION_REVOKED)) { in <lambda>()
2838 PermissionFlags.RESTRICTION_REVOKED or in <lambda>()
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyTest.kt220 val oldFlags = PermissionFlags.RESTRICTION_REVOKED in testOnPackageInstalled_restrictedPermissionsNotExempt_getsRestrictionFlags()
DAppIdPermissionPolicyPermissionStatesTest.kt555 val oldFlags = PermissionFlags.RESTRICTION_REVOKED in testEvaluatePermissionState_restrictedPermissionsNotExempt_getsRestrictionFlags()