Searched refs:permissionStates (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionMigrationHelperImpl.java | 103 legacyState.getPackagePermissions().forEach((packageName, permissionStates) -> { in getLegacyPermissionStates() 104 if (!permissionStates.isEmpty()) { in getLegacyPermissionStates() 109 toLegacyPermissionStates(permissionStates)); in getLegacyPermissionStates() 117 legacyState.getSharedUserPermissions().forEach((sharedUserName, permissionStates) -> { in getLegacyPermissionStates() 118 if (!permissionStates.isEmpty()) { in getLegacyPermissionStates() 123 toLegacyPermissionStates(permissionStates)); in getLegacyPermissionStates()
|
D | PermissionManagerServiceInternal.java | 349 private PackageInstalledParams(@NonNull ArrayMap<String, Integer> permissionStates, in PackageInstalledParams() argument 352 mPermissionStates = permissionStates; in PackageInstalledParams() 403 @NonNull ArrayMap<String, Integer> permissionStates) { in setPermissionStates() argument 404 Objects.requireNonNull(permissionStates); in setPermissionStates() 405 mPermissionStates = permissionStates; in setPermissionStates()
|
D | PermissionManagerServiceImpl.java | 3598 @Nullable ArrayMap<String, Integer> permissionStates, int userId) { 3613 Integer permissionState = permissionStates.get(permission); 3885 final List<PermissionState> permissionStates = uidState.getPermissionStates(); 3886 final int permissionStatesSize = permissionStates.size(); 3888 PermissionState permissionState = permissionStates.get(i); 4511 @NonNull Collection<LegacyPermissionState.PermissionState> permissionStates) { 4512 for (final LegacyPermissionState.PermissionState permissionState : permissionStates) { 4567 final List<PermissionState> permissionStates = uidState.getPermissionStates(); 4568 final int permissionStatesSize = permissionStates.size(); 4570 final PermissionState permissionState = permissionStates.get(i); [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | InstallArgs.java | 73 @NonNull ArrayMap<String, Integer> permissionStates, in InstallArgs() argument 89 mPermissionStates = permissionStates; in InstallArgs()
|
D | PackageInstallerService.java | 904 var permissionStates = params.getPermissionStates(); 905 if (!permissionStates.isEmpty()) { 907 for (int index = 0; index < permissionStates.size(); index++) { 908 var permissionName = permissionStates.keyAt(index);
|
D | InstallPackageHelper.java | 2465 var permissionStates = new ArrayMap<String, Integer>(); in updateSettingsInternalLI() local 2467 permissionStates.put(permissionName, in updateSettingsInternalLI() 2470 permissionParamsBuilder.setPermissionStates(permissionStates); in updateSettingsInternalLI() 2472 var permissionStates = installRequest.getPermissionStates(); in updateSettingsInternalLI() local 2473 if (permissionStates != null) { in updateSettingsInternalLI() 2475 .setPermissionStates(permissionStates); in updateSettingsInternalLI()
|
D | Settings.java | 5747 Collection<PermissionState> permissionStates, boolean dumpAll) { 5749 for (PermissionState permissionState : permissionStates) { 5757 for (PermissionState permissionState : permissionStates) { 5803 Collection<PermissionState> permissionStates = permissionsState.getPermissionStates( 5805 for (PermissionState permissionState : permissionStates) { 6247 Collection<PermissionState> permissionStates = 6250 for (PermissionState permissionState : permissionStates) {
|
D | PackageInstallerSession.java | 5544 var permissionStates = params.getPermissionStates(); 5545 for (int index = 0; index < permissionStates.size(); index++) { 5546 var permissionName = permissionStates.keyAt(index); 5547 var state = permissionStates.valueAt(index);
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageInstallerSessionTest.kt | 126 assertThat(permissionStates) in <lambda>() 285 assertThat(expected.permissionStates).isEqualTo(actual.permissionStates) in <lambda>()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | PermissionService.kt | 826 permissionStates: ArrayMap<String, Int> in <lambda>() 829 permissionStates.forEachIndexed { _, permissionName, permissionState -> in <lambda>() 1135 val permissionStates = ArrayMap<String, PermissionState>() in <lambda>() constant 1139 permissionStates[permissionName] = PermissionState(granted, apiFlags) in <lambda>() 1141 return permissionStates in <lambda>() 2412 setRequestedPermissionStates(packageState, userId, params.permissionStates) in <lambda>()
|