Home
last modified time | relevance | path

Searched refs:IMPLICIT_GRANTED (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionFlags.kt167 const val IMPLICIT_GRANTED = 1 shl 11 constant
310 IMPLICIT_GRANTED or
340 if (flags.hasBits(LEGACY_GRANTED) || flags.hasBits(IMPLICIT_GRANTED)) { in isPermissionGranted()
458 flags = flags or (oldFlags and IMPLICIT_GRANTED) in fromApiFlags()
516 IMPLICIT_GRANTED -> "IMPLICIT_GRANTED" in flagToString()
DAppIdPermissionPolicy.kt989 val wasGrantedByImplicit = newFlags.hasBits(PermissionFlags.IMPLICIT_GRANTED) in <lambda>()
1012 newFlags = newFlags or PermissionFlags.IMPLICIT_GRANTED in <lambda>()
1017 newFlags = newFlags andInv PermissionFlags.IMPLICIT_GRANTED in <lambda>()
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyPermissionStatesTest.kt420 val expectedNewFlags = PermissionFlags.IMPLICIT_GRANTED in testEvaluatePermissionState_leanbackNotificationPermissionsForPostM_getsImplicitGranted()
450 val expectedNewFlags = PermissionFlags.IMPLICIT_GRANTED or PermissionFlags.IMPLICIT in testEvaluatePermissionState_implicitSourceFromNonRuntime_getsImplicitGranted()
502 val oldFlags = PermissionFlags.IMPLICIT_GRANTED or PermissionFlags.IMPLICIT in testEvaluatePermissionState_noLongerImplicitNearbyWasGranted_getsRuntimeGranted()
537 val oldFlags = PermissionFlags.IMPLICIT_GRANTED or PermissionFlags.IMPLICIT or in testEvaluatePermissionState_noLongerImplicitSystemOrPolicyFixedWasGranted_runtimeGranted()
602 val expectedNewFlags = oldImplicitPermissionFlags or PermissionFlags.IMPLICIT_GRANTED or in testInheritImplicitPermissionStates_runtimeExistingImplicit_sourceFlagsNotInherited()
638 val expectedNewFlags = sourceRuntimeFlags or PermissionFlags.IMPLICIT_GRANTED or in testInheritImplicitPermissionStates_runtimeNewImplicitPermissions_sourceFlagsInherited()
689 val expectedNewFlags = sourceRuntimeFlags or PermissionFlags.IMPLICIT_GRANTED in testInheritImplicitPermissionStates_mediaImplicitPermissions_getsImplicitFlagRemoved()