Home
last modified time | relevance | path

Searched refs:permissionState (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionsState.java598 PermissionState permissionState = permissionData.getPermissionState(userId); in getPermissionStatesInternal() local
599 if (permissionState != null) { in getPermissionStatesInternal()
600 permissionStates.add(permissionState); in getPermissionStatesInternal()
DPermissionManagerService.java2465 PermissionState permissionState = installPermStates.get(i); in revokeUnusedSharedUserPermissionsLocked() local
2466 if (!usedPermissions.contains(permissionState.getName())) { in revokeUnusedSharedUserPermissionsLocked()
2467 BasePermission bp = mSettings.getPermissionLocked(permissionState.getName()); in revokeUnusedSharedUserPermissionsLocked()
2484 PermissionState permissionState = runtimePermStates.get(i); in revokeUnusedSharedUserPermissionsLocked() local
2485 if (!usedPermissions.contains(permissionState.getName())) { in revokeUnusedSharedUserPermissionsLocked()
2486 BasePermission bp = mSettings.getPermissionLocked(permissionState.getName()); in revokeUnusedSharedUserPermissionsLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java2197 for (PermissionState permissionState : permissionStates) { in writePermissionsLPr()
2199 serializer.attribute(null, ATTR_NAME, permissionState.getName()); in writePermissionsLPr()
2200 serializer.attribute(null, ATTR_GRANTED, String.valueOf(permissionState.isGranted())); in writePermissionsLPr()
2201 serializer.attribute(null, ATTR_FLAGS, Integer.toHexString(permissionState.getFlags())); in writePermissionsLPr()
5016 for (PermissionState permissionState : permissionStates) { in dumpRuntimePermissionsLPr()
5018 && !permissionNames.contains(permissionState.getName())) { in dumpRuntimePermissionsLPr()
5021 pw.print(prefix); pw.print(" "); pw.print(permissionState.getName()); in dumpRuntimePermissionsLPr()
5022 pw.print(": granted="); pw.print(permissionState.isGranted()); in dumpRuntimePermissionsLPr()
5024 permissionState.getFlags())); in dumpRuntimePermissionsLPr()
5058 for (PermissionState permissionState : permissionStates) { in dumpInstallPermissionsLPr()
[all …]