Home
last modified time | relevance | path

Searched refs:permissionStates (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionMigrationHelperImpl.java103 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()
DPermissionManagerServiceInternal.java349 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()
DPermissionManagerServiceImpl.java3598 @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/
DInstallArgs.java73 @NonNull ArrayMap<String, Integer> permissionStates, in InstallArgs() argument
89 mPermissionStates = permissionStates; in InstallArgs()
DPackageInstallerService.java904 var permissionStates = params.getPermissionStates();
905 if (!permissionStates.isEmpty()) {
907 for (int index = 0; index < permissionStates.size(); index++) {
908 var permissionName = permissionStates.keyAt(index);
DInstallPackageHelper.java2465 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()
DSettings.java5747 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) {
DPackageInstallerSession.java5544 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/
DPackageInstallerSessionTest.kt126 assertThat(permissionStates) in <lambda>()
285 assertThat(expected.permissionStates).isEqualTo(actual.permissionStates) in <lambda>()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionService.kt826 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>()