Home
last modified time | relevance | path

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

/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionFlags.kt152 const val LEGACY_GRANTED = 1 shl 10 constant
309 LEGACY_GRANTED or
340 if (flags.hasBits(LEGACY_GRANTED) || flags.hasBits(IMPLICIT_GRANTED)) { in isPermissionGranted()
382 if (flags.hasBits(LEGACY_GRANTED)) { in toApiFlags()
457 flags = flags or (oldFlags and LEGACY_GRANTED) in fromApiFlags()
515 LEGACY_GRANTED -> "LEGACY_GRANTED" in flagToString()
DAppIdPermissionUpgrade.kt289 PermissionFlags.LEGACY_GRANTED or in <lambda>()
DAppIdPermissionPolicy.kt310 if (newFlags.hasBits(PermissionFlags.LEGACY_GRANTED)) { in <lambda>()
968 newFlags = newFlags or PermissionFlags.LEGACY_GRANTED in <lambda>()
981 val wasGrantedByLegacy = newFlags.hasBits(PermissionFlags.LEGACY_GRANTED) in <lambda>()
984 newFlags = newFlags andInv PermissionFlags.LEGACY_GRANTED in <lambda>()
DPermissionService.kt2836 PermissionFlags.LEGACY_GRANTED or PermissionFlags.IMPLICIT in <lambda>()
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyPermissionStatesTest.kt335 val expectedNewFlags = PermissionFlags.LEGACY_GRANTED or PermissionFlags.IMPLICIT in testEvaluatePermissionState_newPermissionsForPreM_requiresUserReview()
357 val expectedNewFlags = PermissionFlags.LEGACY_GRANTED or PermissionFlags.USER_FIXED or in testEvaluatePermissionState_legacyOrImplicitGrantedPreviouslyRevoked_getsAppOpRevoked()
371 val oldFlags = PermissionFlags.LEGACY_GRANTED or PermissionFlags.IMPLICIT in testEvaluatePermissionState_legacyGrantedForPostM_userReviewRequirementRemoved()
388 val oldFlags = PermissionFlags.LEGACY_GRANTED in testEvaluatePermissionState_legacyGrantedPermissionsAlreadyReviewedForPostM_getsGranted()
467 val oldFlags = PermissionFlags.LEGACY_GRANTED or PermissionFlags.APP_OP_REVOKED or in testEvaluatePermissionState_noLongerLegacyOrImplicitGranted_canBeRequested()