Home | History | Annotate | Download | only in nonrequiredapps

Lines Matching refs:userId

99     public Set<String> getSystemAppsToRemove(int userId) {
100 if (!shouldDeleteSystemApps(userId)) {
105 Set<String> newSystemApps = mUtils.getCurrentSystemApps(mIPackageManager, userId);
109 newSystemApps.removeAll(mSnapshot.getSnapshot(userId));
114 mUtils, mContext, userId);
121 deviceAdminComponentName, userId, mParams.provisioningAction);
129 public void maybeTakeSystemAppsSnapshot(int userId) {
130 if (shouldDeleteSystemApps(userId)) {
131 mSnapshot.takeNewSnapshot(userId);
135 private boolean shouldDeleteSystemApps(int userId) {
136 @Case int which = getCase(userId);
141 private int getCase(int userId) {
149 if (mSnapshot.hasSnapshot(userId)) {