Home
last modified time | relevance | path

Searched refs:UPGRADE_EXEMPT (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionFlags.kt234 const val UPGRADE_EXEMPT = 1 shl 17 constant
316 UPGRADE_EXEMPT or
325 const val MASK_EXEMPT = INSTALLER_EXEMPT or SYSTEM_EXEMPT or UPGRADE_EXEMPT
400 if (flags.hasBits(UPGRADE_EXEMPT)) { in toApiFlags()
478 flags = flags or UPGRADE_EXEMPT in fromApiFlags()
522 UPGRADE_EXEMPT -> "UPGRADE_EXEMPT" in flagToString()
DAppIdPermissionUpgrade.kt93 PermissionFlags.UPGRADE_EXEMPT, in <lambda>()
94 PermissionFlags.UPGRADE_EXEMPT in <lambda>()
212 PermissionFlags.UPGRADE_EXEMPT, in <lambda>()
213 PermissionFlags.UPGRADE_EXEMPT, in <lambda>()
DAppIdPermissionPolicy.kt200 PermissionFlags.UPGRADE_EXEMPT, in <lambda>()
1079 newFlags = newFlags or PermissionFlags.UPGRADE_EXEMPT in <lambda>()
DPermissionService.kt1658 queryFlags = queryFlags or PermissionFlags.UPGRADE_EXEMPT in <lambda>()
1845 exemptMask = exemptMask or PermissionFlags.UPGRADE_EXEMPT 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()
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()
DAppIdPermissionPolicyPermissionStatesTest.kt583 val expectedNewFlags = PermissionFlags.UPGRADE_EXEMPT in testEvaluatePermissionState_restrictedPermissionsIsExempted_clearsRestrictionFlags()