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/
DPermissionsState.java507 PermissionState permissionState = permissionData.getPermissionState(userId); in getPermissionStatesInternal() local
508 if (permissionState != null) { in getPermissionStatesInternal()
509 permissionStates.add(permissionState); in getPermissionStatesInternal()
DSettings.java2126 for (PermissionState permissionState : permissionStates) { in writePermissionsLPr()
2128 serializer.attribute(null, ATTR_NAME, permissionState.getName()); in writePermissionsLPr()
2129 serializer.attribute(null, ATTR_GRANTED, String.valueOf(permissionState.isGranted())); in writePermissionsLPr()
2130 serializer.attribute(null, ATTR_FLAGS, Integer.toHexString(permissionState.getFlags())); in writePermissionsLPr()
4843 for (PermissionState permissionState : permissionStates) { in dumpRuntimePermissionsLPr()
4845 && !permissionNames.contains(permissionState.getName())) { in dumpRuntimePermissionsLPr()
4848 pw.print(prefix); pw.print(" "); pw.print(permissionState.getName()); in dumpRuntimePermissionsLPr()
4849 pw.print(": granted="); pw.print(permissionState.isGranted()); in dumpRuntimePermissionsLPr()
4851 permissionState.getFlags())); in dumpRuntimePermissionsLPr()
4882 for (PermissionState permissionState : permissionStates) { in dumpInstallPermissionsLPr()
[all …]
DPackageManagerService.java10088 PermissionState permissionState = origPermissions
10090 int flags = permissionState != null
10091 ? permissionState.getFlags() : 0;
10139 PermissionState permissionState = origPermissions
10141 final int flags = permissionState != null ? permissionState.getFlags() : 0;
14699 PermissionState permissionState = installPermStates.get(i);
14700 if (!usedPermissions.contains(permissionState.getName())) {
14701 BasePermission bp = mSettings.mPermissions.get(permissionState.getName());
14718 PermissionState permissionState = runtimePermStates.get(i);
14719 if (!usedPermissions.contains(permissionState.getName())) {
[all …]