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.java2493 PermissionState permissionState = installPermStates.get(i); in revokeUnusedSharedUserPermissionsLocked() local
2494 if (!usedPermissions.contains(permissionState.getName())) { in revokeUnusedSharedUserPermissionsLocked()
2495 BasePermission bp = mSettings.getPermissionLocked(permissionState.getName()); in revokeUnusedSharedUserPermissionsLocked()
2512 PermissionState permissionState = runtimePermStates.get(i); in revokeUnusedSharedUserPermissionsLocked() local
2513 if (!usedPermissions.contains(permissionState.getName())) { in revokeUnusedSharedUserPermissionsLocked()
2514 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()
5021 for (PermissionState permissionState : permissionStates) { in dumpRuntimePermissionsLPr()
5023 && !permissionNames.contains(permissionState.getName())) { in dumpRuntimePermissionsLPr()
5026 pw.print(prefix); pw.print(" "); pw.print(permissionState.getName()); in dumpRuntimePermissionsLPr()
5027 pw.print(": granted="); pw.print(permissionState.isGranted()); in dumpRuntimePermissionsLPr()
5029 permissionState.getFlags())); in dumpRuntimePermissionsLPr()
5063 for (PermissionState permissionState : permissionStates) { in dumpInstallPermissionsLPr()
[all …]