Home
last modified time | relevance | path

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

/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionFlags.kt77 const val PROTECTION_GRANTED = 1 shl 2 constant
337 if (flags.hasBits(PROTECTION_GRANTED)) { in isPermissionGranted()
437 flags = flags or (oldFlags and PROTECTION_GRANTED) in fromApiFlags()
507 PROTECTION_GRANTED -> "PROTECTION_GRANTED" in flagToString()
DAppIdPermissionMigration.kt125 PermissionFlags.PROTECTION_GRANTED or PermissionFlags.RUNTIME_GRANTED in <lambda>()
127 PermissionFlags.PROTECTION_GRANTED in <lambda>()
DAppIdPermissionPolicy.kt902 val wasProtectionGranted = oldFlags.hasBits(PermissionFlags.PROTECTION_GRANTED) in <lambda>()
907 PermissionFlags.PROTECTION_GRANTED in <lambda>()
927 PermissionFlags.PROTECTION_GRANTED in <lambda>()
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyPermissionStatesTest.kt109 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()