Searched refs:permissionTrees (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | Permission.java | 386 public void updateDynamicPermission(@NonNull Collection<Permission> permissionTrees) { in updateDynamicPermission() argument 392 final Permission tree = findPermissionTree(permissionTrees, mPermissionInfo.name); in updateDynamicPermission() 422 @NonNull Collection<Permission> permissionTrees, boolean isOverridingSystemPermission) { in createOrUpdate() argument 454 final Permission tree = findPermissionTree(permissionTrees, permissionInfo.name); in createOrUpdate() 501 public static Permission enforcePermissionTree(@NonNull Collection<Permission> permissionTrees, in enforcePermissionTree() argument 504 final Permission permissionTree = Permission.findPermissionTree(permissionTrees, in enforcePermissionTree() 517 private static Permission findPermissionTree(@NonNull Collection<Permission> permissionTrees, in findPermissionTree() argument 519 for (final Permission permissionTree : permissionTrees) { in findPermissionTree()
|
D | LegacyPermissionSettings.java | 89 public void replacePermissionTrees(@NonNull List<LegacyPermission> permissionTrees) { in replacePermissionTrees() argument 92 final int permissionsSize = permissionTrees.size(); in replacePermissionTrees() 94 final LegacyPermission permissionTree = permissionTrees.get(i); in replacePermissionTrees()
|
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/ |
D | AppIdPermissionPolicyTest.kt | 290 val permissionTrees: IndexedMap<String, Permission> in testGetPermissionTrees() constant 293 permissionTrees = getPermissionTrees() in testGetPermissionTrees() 297 assertThat(oldState.systemState.permissionTrees).isEqualTo(permissionTrees) in testGetPermissionTrees() 325 assertThat(newState.systemState.permissionTrees[PERMISSION_TREE_NAME]) in testAddPermissionTree()
|
D | BasePermissionPolicyTest.kt | 332 ): Permission? = state.systemState.permissionTrees[permissionTreeName] in <lambda>()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | AppIdPermissionPersistence.kt | 121 serializePermissions(TAG_PERMISSION_TREES, systemState.permissionTrees) in <lambda>()
|
D | AppIdPermissionPolicy.kt | 466 newState.systemState.permissionTrees[permissionName] in <lambda>() 617 newState.systemState.permissionTrees.forEachReversedIndexed { in <lambda>() 1649 state.systemState.permissionTrees in <lambda>() 1652 state.systemState.permissionTrees.firstNotNullOfOrNullIndexed { in <lambda>()
|
D | PermissionService.kt | 2123 state.systemState.permissionTrees.forEachIndexed { _, _, permissionTree -> in <lambda>() 2243 val permissionTrees = with(policy) { getPermissionTrees() } in <lambda>() constant 2244 legacyPermissionSettings.replacePermissionTrees(toLegacyPermissions(permissionTrees)) in <lambda>()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/ |
D | AccessState.kt | 281 val permissionTrees: IndexedMap<String, Permission> constant
|