Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java894 PermissionsState origPermissions = permissionsState; in restorePermissionState() local
906 origPermissions = new PermissionsState(permissionsState); in restorePermissionState()
953 if (!origPermissions.hasRequestedPermission(permName) in restorePermissionState()
979 && origPermissions.hasInstallPermission(splitPermName)) { in restorePermissionState()
1023 if (origPermissions.hasInstallPermission(bp.getName()) in restorePermissionState()
1034 allowedSig = grantSignaturePermission(perm, pkg, bp, origPermissions); in restorePermissionState()
1050 if (!allowedSig && !origPermissions.hasInstallPermission(perm)) { in restorePermissionState()
1067 if (origPermissions.getRuntimePermissionState( in restorePermissionState()
1070 origPermissions.revokeRuntimePermission(bp, userId); in restorePermissionState()
1071 origPermissions.updatePermissionFlags(bp, userId, in restorePermissionState()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1342 final ArrayList<String> origPermissions = new ArrayList<>(mCallerPermissions); in dumpsys() local
1353 mCallerPermissions.addAll(origPermissions); in dumpsys()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java921 final List origPermissions = new ArrayList(mContext.callerPermissions); in checkGetDeviceOwnerInfoApi() local
1042 mContext.callerPermissions.addAll(origPermissions); in checkGetDeviceOwnerInfoApi()