Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DBackupHelper.java560 void restore(@NonNull AppPermissions appPerms, boolean restoreBackgroundPerms) { in restore() argument
561 AppPermissionGroup group = appPerms.getGroupForPermission(mPermissionName); in restore()
564 + appPerms.getPackageInfo().packageName); in restore()
673 AppPermissions appPerms = new AppPermissions(context, pkgInfo, false, null); in fromAppPermissions() local
676 List<AppPermissionGroup> groups = appPerms.getPermissionGroups(); in fromAppPermissions()
727 AppPermissions appPerms = new AppPermissions(context, pkgInfo, false, true, null); in restore() local
733 mPermissionsToRestore.get(i).restore(appPerms, false); in restore()
736 mPermissionsToRestore.get(i).restore(appPerms, true); in restore()
739 int numGroups = appPerms.getPermissionGroups().size(); in restore()
741 AppPermissionGroup group = appPerms.getPermissionGroups().get(i); in restore()
[all …]
DPermissionControllerServiceImpl.java197 @NonNull ArrayList<String> permissions, @NonNull AppPermissions appPerms) { in getRevocableGroupsForPermissions() argument
199 int numGroups = appPerms.getPermissionGroups().size(); in getRevocableGroupsForPermissions()
201 AppPermissionGroup group = appPerms.getPermissionGroups().get(groupNum); in getRevocableGroupsForPermissions()
335 AppPermissions appPerms = new AppPermissions(this, pkgInfo, false, true, null); in onRevokeRuntimePermissions() local
341 expandedPerms, appPerms); in onRevokeRuntimePermissions()
347 appsWithRevokedPerms.add(appPerms); in onRevokeRuntimePermissions()