Searched refs:PROTECTION_GRANTED (Results 1 – 4 of 4) sorted by relevance
77 const val PROTECTION_GRANTED = 1 shl 2 constant337 if (flags.hasBits(PROTECTION_GRANTED)) { in isPermissionGranted()437 flags = flags or (oldFlags and PROTECTION_GRANTED) in fromApiFlags()507 PROTECTION_GRANTED -> "PROTECTION_GRANTED" in flagToString()
125 PermissionFlags.PROTECTION_GRANTED or PermissionFlags.RUNTIME_GRANTED in <lambda>()127 PermissionFlags.PROTECTION_GRANTED in <lambda>()
902 val wasProtectionGranted = oldFlags.hasBits(PermissionFlags.PROTECTION_GRANTED) in <lambda>()907 PermissionFlags.PROTECTION_GRANTED in <lambda>()927 PermissionFlags.PROTECTION_GRANTED in <lambda>()
109 val oldFlags = PermissionFlags.PROTECTION_GRANTED in testEvaluatePermissionState_internalWasGrantedWithMissingPackage_getsProtectionGranted()128 val oldFlags = PermissionFlags.PROTECTION_GRANTED or PermissionFlags.ROLE or in testEvaluatePermissionState_internalAppOpPermission_getsRoleAndUserSetFlagsPreserved()152 val oldFlags = PermissionFlags.PROTECTION_GRANTED or PermissionFlags.RUNTIME_GRANTED in testEvaluatePermissionState_internalDevelopmentPermission_getsRuntimeGrantedPreserved()175 val oldFlags = PermissionFlags.PROTECTION_GRANTED or PermissionFlags.ROLE or in testEvaluatePermissionState_internalRolePermission_getsRoleAndRuntimeGrantedPreserved()251 val expectedNewFlags = PermissionFlags.PROTECTION_GRANTED in testEvaluatePermissionState_nonPrivilegedShouldGrantBySignature_getsProtectionGranted()281 val expectedNewFlags = PermissionFlags.PROTECTION_GRANTED in testEvaluatePermissionState_privilegedAllowlistShouldGrantByProtectionFlags_getsGranted()