Home
last modified time | relevance | path

Searched refs:USER_SET (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionFlags.kt100 const val USER_SET = 1 shl 5 constant
304 USER_SET or
364 if (flags.hasBits(USER_SET)) { in toApiFlags()
443 flags = flags or USER_SET in fromApiFlags()
510 USER_SET -> "USER_SET" in flagToString()
DAppIdPermissionUpgrade.kt174 PermissionFlags.isAppOpGranted(flags) && flags.hasBits(PermissionFlags.USER_SET) in <lambda>()
246 PermissionFlags.isAppOpGranted(flags) && flags.hasBits(PermissionFlags.USER_SET) in <lambda>()
299 PermissionFlags.USER_SET or in <lambda>()
DAppIdPermissionPolicy.kt897 (oldFlags and (PermissionFlags.ROLE or PermissionFlags.USER_SET)) in <lambda>()
934 newFlags or (oldFlags and (PermissionFlags.ROLE or PermissionFlags.USER_SET)) in <lambda>()
1056 PermissionFlags.USER_SET or in <lambda>()
1823 PermissionFlags.USER_SET or in <lambda>()
DPermissionService.kt1259 return flags.hasBits(PermissionFlags.USER_SET) in <lambda>()
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyPermissionStatesTest.kt90 val oldFlags = PermissionFlags.ROLE or PermissionFlags.USER_SET in testEvaluatePermissionState_normalAppOpPermission_getsRoleAndUserSetFlagsPreserved()
129 PermissionFlags.USER_SET in testEvaluatePermissionState_internalAppOpPermission_getsRoleAndUserSetFlagsPreserved()
485 PermissionFlags.USER_SET or PermissionFlags.USER_FIXED in testEvaluatePermissionState_noLongerImplicit_getsRuntimeAndImplicitFlagsRemoved()
634 val sourceRuntimeFlags = PermissionFlags.RUNTIME_GRANTED or PermissionFlags.USER_SET in testInheritImplicitPermissionStates_runtimeNewImplicitPermissions_sourceFlagsInherited()
652 val sourceRuntimeFlags = PermissionFlags.RUNTIME_GRANTED or PermissionFlags.USER_SET in testInheritImplicitPermissionStates_grantingNewFromRevokeImplicit_onlyInheritFromSource()
678 val sourceRuntimeFlags = PermissionFlags.RUNTIME_GRANTED or PermissionFlags.USER_SET in testInheritImplicitPermissionStates_mediaImplicitPermissions_getsImplicitFlagRemoved()
704 sourceRuntimeFlags: Int = PermissionFlags.RUNTIME_GRANTED or PermissionFlags.USER_SET, in testInheritImplicitPermissionStates()