Home
last modified time | relevance | path

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

/frameworks/base/services/permission/java/com/android/server/permission/access/
DAccessPolicy.kt76 state.mutateExternalState().apply { in <lambda>()
105 newState.mutateExternalState().mutateUserIds() += userId in <lambda>()
117 newState.mutateExternalState().mutateUserIds() -= userId in <lambda>()
131 newState.mutateExternalState().apply { in <lambda>()
186 newState.mutateExternalState().apply { in <lambda>()
215 newState.mutateExternalState().apply { in <lambda>()
245 newState.mutateExternalState().apply { in <lambda>()
265 newState.mutateExternalState().apply { in <lambda>()
274 newState.mutateExternalState().setSystemReady(true) in <lambda>()
DAccessState.kt74 fun mutateExternalState(): MutableExternalState = externalStateReference.mutate() in toMutable() method
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DBasePermissionPolicyTest.kt83 oldState.mutateExternalState().setPackageStates(ArrayMap()) in <lambda>()
84 oldState.mutateExternalState().setDisabledSystemPackageStates(ArrayMap()) in <lambda>()
90 oldState.mutateExternalState().mutateUserIds().add(userId) in <lambda>()
265 state.mutateExternalState().apply { in <lambda>()
278 state.mutateExternalState().apply { in <lambda>()
290 ) = state.mutateExternalState().apply { in <lambda>()
DAppIdPermissionPolicyPermissionStatesTest.kt296 state.mutateExternalState().setPrivilegedPermissionAllowlistPackages( in setupAllowlist()
304 state.mutateExternalState().setPermissionAllowlist(mockAllowlist) in setupAllowlist()
412 oldState.mutateExternalState().setLeanback(true) in testEvaluatePermissionState_leanbackNotificationPermissionsForPostM_getsImplicitGranted()
439 oldState.mutateExternalState().setImplicitToSourcePermissions( in testEvaluatePermissionState_implicitSourceFromNonRuntime_getsImplicitGranted()
749 oldState.mutateExternalState().setImplicitToSourcePermissions( in testInheritImplicitPermissionStates()
/frameworks/base/services/
Dart-wear-profile17134 HSPLcom/android/server/permission/access/MutableAccessState;->mutateExternalState()Lcom/android/ser…