Searched refs:LEGACY_GRANTED (Results 1 – 5 of 5) sorted by relevance
152 const val LEGACY_GRANTED = 1 shl 10 constant309 LEGACY_GRANTED or340 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()
289 PermissionFlags.LEGACY_GRANTED or in <lambda>()
310 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>()
2836 PermissionFlags.LEGACY_GRANTED or PermissionFlags.IMPLICIT in <lambda>()
335 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()