Home
last modified time | relevance | path

Searched refs:SOFT_RESTRICTED (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionFlags.kt249 const val SOFT_RESTRICTED = 1 shl 19 constant
318 SOFT_RESTRICTED or
328 const val MASK_RESTRICTED = RESTRICTION_REVOKED or SOFT_RESTRICTED
403 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()
DAppIdPermissionPolicy.kt258 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>()
DPermissionService.kt1005 if (isGranted && oldFlags.hasBits(PermissionFlags.SOFT_RESTRICTED)) { in <lambda>()
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyTest.kt157 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()