Home
last modified time | relevance | path

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

/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionFlags.kt180 const val IMPLICIT = 1 shl 12 constant
311 IMPLICIT or
379 if (flags.hasBits(IMPLICIT)) { in toApiFlags()
463 flags = flags or IMPLICIT in fromApiFlags()
517 IMPLICIT -> "IMPLICIT" in flagToString()
DAppIdPermissionPolicy.kt311 newFlags = newFlags or PermissionFlags.IMPLICIT in <lambda>()
977 newFlags = newFlags or PermissionFlags.IMPLICIT in <lambda>()
982 val hasImplicitFlag = newFlags.hasBits(PermissionFlags.IMPLICIT) in <lambda>()
1034 newFlags = newFlags andInv PermissionFlags.IMPLICIT in <lambda>()
1045 !accessBackgroundLocationFlags.hasBits(PermissionFlags.IMPLICIT) in <lambda>()
1162 newFlags = newFlags andInv PermissionFlags.IMPLICIT in <lambda>()
1164 newFlags = newFlags or PermissionFlags.IMPLICIT in <lambda>()
DAppIdPermissionUpgrade.kt288 PermissionFlags.IMPLICIT or in <lambda>()
DPermissionService.kt2836 PermissionFlags.LEGACY_GRANTED or PermissionFlags.IMPLICIT in <lambda>()
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyPermissionStatesTest.kt335 val expectedNewFlags = PermissionFlags.LEGACY_GRANTED or PermissionFlags.IMPLICIT in testEvaluatePermissionState_newPermissionsForPreM_requiresUserReview()
371 val oldFlags = PermissionFlags.LEGACY_GRANTED or PermissionFlags.IMPLICIT in testEvaluatePermissionState_legacyGrantedForPostM_userReviewRequirementRemoved()
450 val expectedNewFlags = PermissionFlags.IMPLICIT_GRANTED or PermissionFlags.IMPLICIT in testEvaluatePermissionState_implicitSourceFromNonRuntime_getsImplicitGranted()
484 val oldFlags = PermissionFlags.IMPLICIT or PermissionFlags.RUNTIME_GRANTED or in testEvaluatePermissionState_noLongerImplicit_getsRuntimeAndImplicitFlagsRemoved()
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()
639 PermissionFlags.IMPLICIT in testInheritImplicitPermissionStates_runtimeNewImplicitPermissions_sourceFlagsInherited()
660 val expectedNewFlags = sourceRuntimeFlags or PermissionFlags.IMPLICIT in testInheritImplicitPermissionStates_grantingNewFromRevokeImplicit_onlyInheritFromSource()