Searched refs:SOFT_RESTRICTED (Results 1 – 4 of 4) sorted by relevance
249 const val SOFT_RESTRICTED = 1 shl 19 constant318 SOFT_RESTRICTED or328 const val MASK_RESTRICTED = RESTRICTION_REVOKED or SOFT_RESTRICTED403 if (flags.hasBits(RESTRICTION_REVOKED) || flags.hasBits(SOFT_RESTRICTED)) { in toApiFlags()485 flags = flags or SOFT_RESTRICTED in fromApiFlags()524 SOFT_RESTRICTED -> "SOFT_RESTRICTED" in flagToString()
258 newFlags or PermissionFlags.SOFT_RESTRICTED in <lambda>()260 newFlags andInv PermissionFlags.SOFT_RESTRICTED in <lambda>()1102 newFlags or PermissionFlags.SOFT_RESTRICTED in <lambda>()1104 newFlags andInv PermissionFlags.SOFT_RESTRICTED in <lambda>()
1005 if (isGranted && oldFlags.hasBits(PermissionFlags.SOFT_RESTRICTED)) { in <lambda>()
157 val oldFlags = PermissionFlags.SOFT_RESTRICTED or PermissionFlags.UPGRADE_EXEMPT in testOnPackageInstalled_nonSystemAppIsInstalled_upgradeExemptFlagIsCleared()163 val expectedNewFlags = PermissionFlags.SOFT_RESTRICTED in testOnPackageInstalled_nonSystemAppIsInstalled_upgradeExemptFlagIsCleared()175 val oldFlags = PermissionFlags.SOFT_RESTRICTED or PermissionFlags.UPGRADE_EXEMPT in testOnPackageInstalled_systemAppIsInstalled_upgradeExemptFlagIsRetained()194 val oldFlags = PermissionFlags.SOFT_RESTRICTED or PermissionFlags.UPGRADE_EXEMPT in testOnPackageInstalled_requestedPermissionAlsoRequestedBySystemApp_exemptFlagIsRetained()