Searched refs:systemState (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | AppIdPermissionPersistence.kt | 59 val systemState = state.mutateSystemState(WriteMode.NONE) in <lambda>() constant 62 systemState.mutatePermissionTrees() in <lambda>() 64 systemState.mutatePermissions() in <lambda>() 85 systemState.requestWriteMode(WriteMode.ASYNCHRONOUS) in <lambda>() 120 val systemState = state.systemState in <lambda>() constant 121 serializePermissions(TAG_PERMISSION_TREES, systemState.permissionTrees) in <lambda>() 122 serializePermissions(TAG_PERMISSIONS, systemState.permissions) in <lambda>()
|
D | AppIdPermissionPolicy.kt | 185 val permission = newState.systemState.permissions[permissionName] ?: return@forEach in <lambda>() 283 val permission = newState.systemState.permissions[permissionName] ?: return@forEach in <lambda>() 327 newState.systemState.permissions.forEachIndexed permissions@{ in <lambda>() 405 val oldPermissionGroup = newState.systemState.permissionGroups[permissionGroupName] in <lambda>() 466 newState.systemState.permissionTrees[permissionName] in <lambda>() 468 newState.systemState.permissions[permissionName] in <lambda>() 617 newState.systemState.permissionTrees.forEachReversedIndexed { in <lambda>() 635 newState.systemState.permissions.forEachReversedIndexed { in <lambda>() 855 val permission = newState.systemState.permissions[permissionName] in <lambda>() 1001 newState.systemState.permissions[sourcePermissionName] in <lambda>() [all …]
|
D | AppIdPermissionMigration.kt | 90 val permission = state.systemState.permissions[permissionName] in <lambda>()
|
D | AppIdPermissionUpgrade.kt | 269 val permission = newState.systemState.permissions[permissionName]!! in <lambda>()
|
D | PermissionService.kt | 2100 state.systemState.permissions.forEachIndexed { _, _, permission -> in <lambda>() 2116 state.systemState.permissionGroups.forEachIndexed { _, _, permissionGroup -> in <lambda>() 2123 state.systemState.permissionTrees.forEachIndexed { _, _, permissionTree -> in <lambda>()
|
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/ |
D | AppIdPermissionPolicyTest.kt | 297 assertThat(oldState.systemState.permissionTrees).isEqualTo(permissionTrees) in testGetPermissionTrees() 325 assertThat(newState.systemState.permissionTrees[PERMISSION_TREE_NAME]) in testAddPermissionTree() 338 assertThat(oldState.systemState.permissionGroups).isEqualTo(permissionGroups) in testGetPermissionGroups() 350 assertThat(oldState.systemState.permissions).isEqualTo(permissions) in testGetPermissions() 363 assertThat(newState.systemState.permissions[PERMISSION_NAME_0]).isEqualTo(permission) in testAddPermission() 377 assertThat(newState.systemState.permissions[PERMISSION_NAME_0]).isNull() in testRemovePermission()
|
D | BasePermissionPolicyTest.kt | 327 ): Permission? = state.systemState.permissions[permissionName] in <lambda>() 332 ): Permission? = state.systemState.permissionTrees[permissionTreeName] in <lambda>() 337 ): PermissionGroupInfo? = state.systemState.permissionGroups[permissionGroupName] in <lambda>()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/ |
D | AccessState.kt | 44 val systemState: SystemState constant in com.android.server.permission.access.AccessState 316 systemState: SystemState in toMutable() 318 systemState.permissionGroupsReference.toImmutable(), in toMutable() 319 systemState.permissionTreesReference.toImmutable(), in toMutable() 320 systemState.permissionsReference.toImmutable(), in toMutable()
|
D | AccessPersistence.kt | 71 state.systemState.write(state, UserHandle.USER_ALL) in <lambda>() 101 state.systemState.write(state, UserHandle.USER_ALL) in <lambda>()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | IconProvider.java | 89 public String getSystemStateForPackage(String systemState, String packageName) { in getSystemStateForPackage() argument 91 return systemState + SYSTEM_STATE_SEPARATOR + getDay(); in getSystemStateForPackage() 93 return systemState; in getSystemStateForPackage()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/immutable/ |
D | Immutable.md | 90 val permission = state.systemState.permissions[permissionName]
|