Home
last modified time | relevance | path

Searched refs:origPermissions (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java2573 PermissionsState origPermissions = permissionsState; in restorePermissionState() local
2580 origPermissions = new PermissionsState(permissionsState); in restorePermissionState()
2629 if (!origPermissions.hasRequestedPermission(permName) in restorePermissionState()
2654 && origPermissions.hasInstallPermission(splitPermName)) { in restorePermissionState()
2700 if (origPermissions.hasInstallPermission(bp.getName()) in restorePermissionState()
2711 allowedSig = grantSignaturePermission(perm, pkg, ps, bp, origPermissions); in restorePermissionState()
2727 if (!allowedSig && !origPermissions.hasInstallPermission(perm)) { in restorePermissionState()
2744 if (origPermissions.getRuntimePermissionState( in restorePermissionState()
2747 origPermissions.revokeRuntimePermission(bp, userId); in restorePermissionState()
2748 origPermissions.updatePermissionFlags(bp, userId, in restorePermissionState()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1366 final ArrayList<String> origPermissions = new ArrayList<>(mCallerPermissions); in dumpsys() local
1377 mCallerPermissions.addAll(origPermissions); in dumpsys()