/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | CardEmulationManager.java | 149 public void onUserSwitched(int userId) { in onUserSwitched() argument 151 mServiceCache.invalidateCache(userId); in onUserSwitched() 152 mPreferredServices.onUserSwitched(userId); in onUserSwitched() 156 mEnabledNfcFServices.onUserSwitched(userId); in onUserSwitched() 158 mNfcFServicesCache.invalidateCache(userId); in onUserSwitched() 195 public void onServicesUpdated(int userId, List<ApduServiceInfo> services) { in onServicesUpdated() argument 197 verifyDefaults(userId, services); in onServicesUpdated() 199 mAidCache.onServicesUpdated(userId, services); in onServicesUpdated() 205 public void onNfcFServicesUpdated(int userId, List<NfcFServiceInfo> services) { in onNfcFServicesUpdated() argument 207 mT3tIdentifiersCache.onServicesUpdated(userId, services); in onNfcFServicesUpdated() [all …]
|
D | RegisteredServicesCache.java | 85 void onServicesUpdated(int userId, final List<ApduServiceInfo> services); in onServicesUpdated() argument 108 private UserServices findOrCreateUserLocked(int userId) { in findOrCreateUserLocked() argument 109 UserServices services = mUserServices.get(userId); in findOrCreateUserLocked() 112 mUserServices.put(userId, services); in findOrCreateUserLocked() 186 public boolean hasService(int userId, ComponentName service) { in hasService() argument 187 return getService(userId, service) != null; in hasService() 190 public ApduServiceInfo getService(int userId, ComponentName service) { in getService() argument 192 UserServices userServices = findOrCreateUserLocked(userId); in getService() 197 public List<ApduServiceInfo> getServices(int userId) { in getServices() argument 200 UserServices userServices = findOrCreateUserLocked(userId); in getServices() [all …]
|
D | RegisteredNfcFServicesCache.java | 79 void onNfcFServicesUpdated(int userId, final List<NfcFServiceInfo> services); in onNfcFServicesUpdated() argument 114 private UserServices findOrCreateUserLocked(int userId) { in findOrCreateUserLocked() argument 115 UserServices userServices = mUserServices.get(userId); in findOrCreateUserLocked() 118 mUserServices.put(userId, userServices); in findOrCreateUserLocked() 195 public boolean hasService(int userId, ComponentName componentName) { in hasService() argument 196 return getService(userId, componentName) != null; in hasService() 199 public NfcFServiceInfo getService(int userId, ComponentName componentName) { in getService() argument 201 UserServices userServices = findOrCreateUserLocked(userId); in getService() 206 public List<NfcFServiceInfo> getServices(int userId) { in getServices() argument 209 UserServices userServices = findOrCreateUserLocked(userId); in getServices() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | DefaultDialerCache.java | 44 String getDefaultDialerApplication(Context context, int userId); in getDefaultDialerApplication() argument 45 boolean setDefaultDialerApplication(Context context, String packageName, int userId); in setDefaultDialerApplication() argument 55 public String getDefaultDialerApplication(Context context, int userId) { in getDefaultDialerApplication() argument 56 return DefaultDialerManager.getDefaultDialerApplication(context, userId); in getDefaultDialerApplication() 61 int userId) { in setDefaultDialerApplication() argument 62 return DefaultDialerManager.setDefaultDialerApplication(context, packageName, userId); in setDefaultDialerApplication() 171 public String getDefaultDialerApplication(int userId) { in getDefaultDialerApplication() argument 172 if (userId == UserHandle.USER_CURRENT) { in getDefaultDialerApplication() 173 userId = ActivityManager.getCurrentUser(); in getDefaultDialerApplication() 176 if (userId < 0) { in getDefaultDialerApplication() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | RedactNotificationPreferenceController.java | 59 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in isChecked() local 62 return getAllowPrivateNotifications(userId); in isChecked() 67 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in setChecked() local 71 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, isChecked ? 1 : 0, userId); in setChecked() 83 int userId = KEY_LOCKSCREEN_REDACT.equals(getPreferenceKey()) in getAvailabilityStatus() local 90 if (!utils.isSecure(userId)) { in getAvailabilityStatus() 95 if (!getLockscreenNotificationsEnabled(userId) in getAvailabilityStatus() 96 || !adminAllowsNotifications(userId) in getAvailabilityStatus() 97 || !adminAllowsUnredactedNotifications(userId)) { in getAvailabilityStatus() 111 private boolean adminAllowsNotifications(int userId) { in adminAllowsNotifications() argument [all …]
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | VendorServiceController.java | 87 int userId = msg.arg1; in handleMessage() local 88 doSwitchUser(userId); in handleMessage() 92 int userId = msg.arg1; in handleMessage() local 94 doUserLockChanged(userId, locked); in handleMessage() 125 private void doSwitchUser(int userId) { in doSwitchUser() argument 128 if (fgUser != userId) { in doSwitchUser() 129 Log.w(CarLog.TAG_PACKAGE, "Received userSwitch event for user " + userId in doSwitchUser() 137 if (connectedUserId != UserHandle.USER_SYSTEM && connectedUserId != userId) { in doSwitchUser() 142 if (userId != UserHandle.USER_SYSTEM) { in doSwitchUser() 143 startOrBindServicesForUser(UserHandle.of(userId)); in doSwitchUser() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowContentResolver.java | 58 protected static SyncAdapterType[] getSyncAdapterTypesAsUser(int userId) { in getSyncAdapterTypesAsUser() argument 63 protected static int getIsSyncableAsUser(Account account, String authority, int userId) { in getIsSyncableAsUser() argument 69 int userId) { in getSyncAutomaticallyAsUser() argument 74 protected static boolean getMasterSyncAutomaticallyAsUser(int userId) { in getMasterSyncAutomaticallyAsUser() argument 75 return sMasterSyncAutomatically.getOrDefault(userId, true); in getMasterSyncAutomaticallyAsUser() 79 protected static List<SyncInfo> getCurrentSyncsAsUser(@UserIdInt int userId) { in getCurrentSyncsAsUser() argument 85 @UserIdInt int userId) { in getSyncStatusAsUser() argument 100 boolean sync, @UserIdInt int userId) { in setSyncAutomaticallyAsUser() argument 105 protected static void setMasterSyncAutomaticallyAsUser(boolean sync, @UserIdInt int userId) { in setMasterSyncAutomaticallyAsUser() argument 106 sMasterSyncAutomatically.put(userId, sync); in setMasterSyncAutomaticallyAsUser() [all …]
|
D | ShadowAccountManager.java | 40 protected Account[] getAccountsAsUser(int userId) { in getAccountsAsUser() argument 41 if (mAccountsAsUserMap.containsKey(userId)) { in getAccountsAsUser() 42 return mAccountsAsUserMap.get(userId).toArray(new Account[]{}); in getAccountsAsUser() 47 public void addAccountAsUser(int userId, Account account) { in addAccountAsUser() argument 48 mAccountsAsUserMap.putIfAbsent(userId, new ArrayList<>()); in addAccountAsUser() 49 mAccountsAsUserMap.get(userId).add(account); in addAccountAsUser() 58 protected AuthenticatorDescription[] getAuthenticatorTypesAsUser(int userId) { in getAuthenticatorTypesAsUser() argument 59 if (mAuthenticatorAsUserMap.containsKey(userId)) { in getAuthenticatorTypesAsUser() 60 return mAuthenticatorAsUserMap.get(userId).toArray(new AuthenticatorDescription[]{}); in getAuthenticatorTypesAsUser() 65 public void addAuthenticatorAsUser(int userId, AuthenticatorDescription authenticator) { in addAuthenticatorAsUser() argument [all …]
|
D | ShadowApplicationPackageManager.java | 84 @UserIdInt int userId) { in resolveContentProviderAsUser() argument 89 protected int getPackageUidAsUser(String packageName, int flags, int userId) in getPackageUidAsUser() argument 106 protected List<ApplicationInfo> getInstalledApplicationsAsUser(int flags, int userId) { in getInstalledApplicationsAsUser() argument 111 protected ApplicationInfo getApplicationInfoAsUser(String packageName, int flags, int userId) in getApplicationInfoAsUser() argument 156 protected String getDefaultBrowserPackageNameAsUser(int userId) { in getDefaultBrowserPackageNameAsUser() argument 157 return mUserIdToDefaultBrowserMap.getOrDefault(userId, null); in getDefaultBrowserPackageNameAsUser() 162 protected boolean setDefaultBrowserPackageNameAsUser(String packageName, int userId) { in setDefaultBrowserPackageNameAsUser() argument 163 mUserIdToDefaultBrowserMap.put(userId, packageName); in setDefaultBrowserPackageNameAsUser() 169 protected int getIntentVerificationStatusAsUser(String packageName, int userId) { in getIntentVerificationStatusAsUser() argument 170 Pair<String, Integer> key = new Pair<>(packageName, userId); in getIntentVerificationStatusAsUser() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/ |
D | OtaController.java | 76 ? userId -> getMissingSystemImePackages(context, UserHandle.of(userId)) in OtaController() 77 : userId -> new ArraySet<>(), in OtaController() 128 void addDeviceOwnerTasks(final int userId, Context context) { in addDeviceOwnerTasks() argument 142 mTaskExecutor.execute(userId, in addDeviceOwnerTasks() 145 mTaskExecutor.execute(userId, in addDeviceOwnerTasks() 150 void addManagedProfileTasks(final int userId, Context context) { in addManagedProfileTasks() argument 152 UserHandle.of(userId)); in addManagedProfileTasks() 154 mTaskExecutor.execute(userId, in addManagedProfileTasks() 158 ComponentName profileOwner = mDevicePolicyManager.getProfileOwnerAsUser(userId); in addManagedProfileTasks() 161 ProvisionLogger.loge("No profile owner on managed profile " + userId); in addManagedProfileTasks() [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/ |
D | OtaControllerTest.java | 247 public synchronized void execute(int userId, AbstractProvisioningTask task) { in execute() argument 248 mTasks.add(Pair.create(userId, task)); in execute() 252 private void addMeatUser(int userId) { in addMeatUser() argument 253 UserInfo ui = new UserInfo(userId, null, 0); in addMeatUser() 255 when(mUserManager.getProfiles(userId)).thenReturn(Collections.singletonList(ui)); in addMeatUser() 258 private void setDeviceOwner(int userId, ComponentName admin) { in setDeviceOwner() argument 259 when(mDevicePolicyManager.getDeviceOwnerUserId()).thenReturn(userId); in setDeviceOwner() 263 private void addManagedProfile(int userId, ComponentName admin) { in addManagedProfile() argument 264 UserInfo ui = new UserInfo(userId, null, UserInfo.FLAG_MANAGED_PROFILE); in addManagedProfile() 266 when(mDevicePolicyManager.getProfileOwnerAsUser(userId)).thenReturn(admin); in addManagedProfile() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | ChooseLockSettingsHelper.java | 135 boolean returnCredentials, int userId) { in launchConfirmationActivity() argument 145 Utils.enforceSameOwner(mActivity, userId) /* userId */); in launchConfirmationActivity() 194 boolean returnCredentials, boolean external, int userId) { in launchConfirmationActivity() argument 204 Utils.enforceSameOwner(mActivity, userId) /* userId */); in launchConfirmationActivity() 245 long challenge, int userId) { in launchConfirmationActivity() argument 255 Utils.enforceSameOwner(mActivity, userId) /* userId */); in launchConfirmationActivity() 274 @Nullable CharSequence description, boolean external, long challenge, int userId) { in launchConfirmationActivityWithExternalAndChallenge() argument 284 Utils.enforceSameOwner(mActivity, userId) /* userId */); in launchConfirmationActivityWithExternalAndChallenge() 294 @Nullable CharSequence description, int userId) { in launchConfirmationActivityForAnyUser() argument 306 userId /* userId */, in launchConfirmationActivityForAnyUser() [all …]
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ChooseLockSettingsHelper.java | 141 boolean returnCredentials, int userId) { in launchConfirmationActivity() argument 151 Utils.enforceSameOwner(mActivity, userId) /* userId */); in launchConfirmationActivity() 200 boolean returnCredentials, boolean external, int userId) { in launchConfirmationActivity() argument 210 Utils.enforceSameOwner(mActivity, userId) /* userId */); in launchConfirmationActivity() 251 long challenge, int userId) { in launchConfirmationActivity() argument 261 Utils.enforceSameOwner(mActivity, userId) /* userId */); in launchConfirmationActivity() 280 @Nullable CharSequence description, boolean external, long challenge, int userId) { in launchConfirmationActivityWithExternalAndChallenge() argument 290 Utils.enforceSameOwner(mActivity, userId) /* userId */); in launchConfirmationActivityWithExternalAndChallenge() 300 @Nullable CharSequence description, int userId) { in launchConfirmationActivityForAnyUser() argument 312 userId /* userId */, in launchConfirmationActivityForAnyUser() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | SetDevicePolicyTask.java | 76 public void run(int userId) { in run() argument 80 mProvisioningParams.inferDeviceAdminComponentName(mUtils, mContext, userId); in run() 84 setActiveAdmin(adminComponent, userId); in run() 86 success = setProfileOwner(adminComponent, userId); in run() 90 userId); in run() 118 private void setActiveAdmin(ComponentName component, int userId) { in setActiveAdmin() argument 120 mDevicePolicyManager.setActiveAdmin(component, true, userId); in setActiveAdmin() 123 private boolean setDeviceOwner(ComponentName component, String owner, int userId) { in setDeviceOwner() argument 124 ProvisionLogger.logd("Setting " + component + " as device owner of user " + userId); in setDeviceOwner() 126 return mDevicePolicyManager.setDeviceOwner(component, owner, userId); in setDeviceOwner() [all …]
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/ |
D | OverlayManagerCompat.java | 55 public boolean setEnabledExclusiveInCategory(String packageName, int userId) { in setEnabledExclusiveInCategory() argument 56 mOverlayManager.setEnabledExclusiveInCategory(packageName, UserHandle.of(userId)); in setEnabledExclusiveInCategory() 64 public boolean disableOverlay(String packageName, int userId) { in disableOverlay() argument 65 mOverlayManager.setEnabled(packageName, false, UserHandle.of(userId)); in disableOverlay() 98 public List<String> getOverlayPackagesForCategory(String category, int userId, in getOverlayPackagesForCategory() argument 101 ensureCategoryMapForUser(userId); in getOverlayPackagesForCategory() 104 : mOverlayByUser.get(userId).getOrDefault(target, Collections.emptyList())) { in getOverlayPackagesForCategory() 113 private void ensureCategoryMapForUser(int userId) { in ensureCategoryMapForUser() argument 117 if (!mOverlayByUser.containsKey(userId)) { in ensureCategoryMapForUser() 120 overlaysByTarget.put(target, getOverlayInfosForTarget(target, userId)); in ensureCategoryMapForUser() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/ |
D | NonRequiredAppsLogic.java | 99 public Set<String> getSystemAppsToRemove(int userId) { in getSystemAppsToRemove() argument 100 if (!shouldDeleteSystemApps(userId)) { in getSystemAppsToRemove() 105 Set<String> newSystemApps = mUtils.getCurrentSystemApps(mIPackageManager, userId); in getSystemAppsToRemove() 109 newSystemApps.removeAll(mSnapshot.getSnapshot(userId)); in getSystemAppsToRemove() 114 mUtils, mContext, userId); in getSystemAppsToRemove() 121 deviceAdminComponentName, userId, mParams.provisioningAction); in getSystemAppsToRemove() 129 public void maybeTakeSystemAppsSnapshot(int userId) { in maybeTakeSystemAppsSnapshot() argument 130 if (shouldDeleteSystemApps(userId)) { in maybeTakeSystemAppsSnapshot() 131 mSnapshot.takeNewSnapshot(userId); in maybeTakeSystemAppsSnapshot() 135 private boolean shouldDeleteSystemApps(int userId) { in shouldDeleteSystemApps() argument [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | Utils.java | 506 final int userId = bundle.getInt(EXTRA_USER_ID, -1); in getUserHandleFromBundle() local 507 if (userId != -1) { in getUserHandleFromBundle() 508 return UserHandle.of(userId); in getUserHandleFromBundle() 662 int userId = bundle.getInt(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in getUserIdFromBundle() local 663 if (userId == LockPatternUtils.USER_FRP) { in getUserIdFromBundle() 664 return allowAnyUser ? userId : enforceSystemUser(context, userId); in getUserIdFromBundle() 666 return allowAnyUser ? userId : enforceSameOwner(context, userId); in getUserIdFromBundle() 675 public static int enforceSystemUser(Context context, int userId) { in enforceSystemUser() argument 677 return userId; in enforceSystemUser() 679 throw new SecurityException("Given user id " + userId + " must only be used from " in enforceSystemUser() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | Utils.java | 511 final int userId = bundle.getInt(EXTRA_USER_ID, -1); in getUserHandleFromBundle() local 512 if (userId != -1) { in getUserHandleFromBundle() 513 return UserHandle.of(userId); in getUserHandleFromBundle() 667 int userId = bundle.getInt(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in getUserIdFromBundle() local 668 if (userId == LockPatternUtils.USER_FRP) { in getUserIdFromBundle() 669 return allowAnyUser ? userId : enforceSystemUser(context, userId); in getUserIdFromBundle() 671 return allowAnyUser ? userId : enforceSameOwner(context, userId); in getUserIdFromBundle() 680 public static int enforceSystemUser(Context context, int userId) { in enforceSystemUser() argument 682 return userId; in enforceSystemUser() 684 throw new SecurityException("Given user id " + userId + " must only be used from " in enforceSystemUser() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/ |
D | AppVpnInfo.java | 14 public final int userId; field in AppVpnInfo 17 public AppVpnInfo(int userId, @NonNull String packageName) { in AppVpnInfo() argument 18 this.userId = userId; in AppVpnInfo() 28 result = that.userId - userId; in compareTo() 37 return userId == that.userId && Objects.equals(packageName, that.packageName); in equals() 44 return Objects.hash(packageName, userId); in hashCode()
|
D | VpnUtils.java | 64 final int userId = context.getUserId(); in isAnyLockdownActive() local 68 return getConnectivityManager(context).getAlwaysOnVpnPackageForUser(userId) != null in isAnyLockdownActive() 70 Settings.Secure.ALWAYS_ON_VPN_LOCKDOWN, /* default */ 0, userId) != 0; in isAnyLockdownActive() 77 public static String getConnectedPackage(IConnectivityManager service, final int userId) in getConnectedPackage() argument 79 final VpnConfig config = service.getVpnConfig(userId); in getConnectedPackage() 92 public static boolean isAlwaysOnVpnSet(ConnectivityManager cm, final int userId) { in isAlwaysOnVpnSet() argument 93 return cm.getAlwaysOnVpnPackageForUser(userId) != null; in isAlwaysOnVpnSet() 98 int userId = context.getUserId(); in disconnectLegacyVpn() local 100 LegacyVpnInfo currentLegacyVpn = connectivityService.getLegacyVpnInfo(userId); in disconnectLegacyVpn() 103 connectivityService.prepareVpn(null, VpnConfig.LEGACY_VPN, userId); in disconnectLegacyVpn()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | AppVpnInfo.java | 14 public final int userId; field in AppVpnInfo 17 public AppVpnInfo(int userId, @NonNull String packageName) { in AppVpnInfo() argument 18 this.userId = userId; in AppVpnInfo() 28 result = that.userId - userId; in compareTo() 37 return userId == that.userId && Objects.equals(packageName, that.packageName); in equals() 44 return Objects.hash(packageName, userId); in hashCode()
|
D | VpnUtils.java | 64 final int userId = context.getUserId(); in isAnyLockdownActive() local 68 return getConnectivityManager(context).getAlwaysOnVpnPackageForUser(userId) != null in isAnyLockdownActive() 70 Settings.Secure.ALWAYS_ON_VPN_LOCKDOWN, /* default */ 0, userId) != 0; in isAnyLockdownActive() 77 public static String getConnectedPackage(IConnectivityManager service, final int userId) in getConnectedPackage() argument 79 final VpnConfig config = service.getVpnConfig(userId); in getConnectedPackage() 92 public static boolean isAlwaysOnVpnSet(ConnectivityManager cm, final int userId) { in isAlwaysOnVpnSet() argument 93 return cm.getAlwaysOnVpnPackageForUser(userId) != null; in isAlwaysOnVpnSet() 98 int userId = context.getUserId(); in disconnectLegacyVpn() local 100 LegacyVpnInfo currentLegacyVpn = connectivityService.getLegacyVpnInfo(userId); in disconnectLegacyVpn() 103 connectivityService.prepareVpn(null, VpnConfig.LEGACY_VPN, userId); in disconnectLegacyVpn()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | NormalizedIconLoader.java | 56 public Drawable getDefaultIcon(int userId) { in getDefaultIcon() argument 58 BitmapInfo info = mDefaultIcons.get(userId); in getDefaultIcon() 61 .getDrawable(android.R.drawable.sym_def_app_icon), userId, 0, false); in getDefaultIcon() 62 mDefaultIcons.put(userId, info); in getDefaultIcon() 70 protected Drawable createBadgedDrawable(Drawable drawable, int userId, TaskDescription desc) { in createBadgedDrawable() argument 71 return new FastBitmapDrawable(getBitmapInfo(drawable, userId, desc.getPrimaryColor(), in createBadgedDrawable() 75 private BitmapInfo getBitmapInfo(Drawable drawable, int userId, in getBitmapInfo() argument 84 return la.createBadgedIconBitmap(drawable, UserHandle.of(userId), in getBitmapInfo() 90 protected Drawable getBadgedActivityIcon(ActivityInfo activityInfo, int userId, in getBadgedActivityIcon() argument 94 userId, in getBadgedActivityIcon()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserSettings.java | 460 private void onRemoveUserClicked(int userId) { in onRemoveUserClicked() argument 463 mRemovingUserId = userId; in onRemoveUserClicked() 485 private void onManageUserClicked(int userId, boolean newUser) { in onManageUserClicked() argument 487 if (userId == UserPreference.USERID_GUEST_DEFAULTS) { in onManageUserClicked() 498 UserInfo info = mUserManager.getUserInfo(userId); in onManageUserClicked() 501 extras.putInt(RestrictedProfileSettings.EXTRA_USER_ID, userId); in onManageUserClicked() 514 extras.putInt(UserDetailsSettings.EXTRA_USER_ID, userId); in onManageUserClicked() 524 private void onUserCreated(int userId) { in onUserCreated() argument 525 mAddedUserId = userId; in onUserCreated() 531 if (mUserManager.getUserInfo(userId).isRestricted()) { in onUserCreated() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/ |
D | UserSettings.java | 456 private void onRemoveUserClicked(int userId) { in onRemoveUserClicked() argument 459 mRemovingUserId = userId; in onRemoveUserClicked() 481 private void onManageUserClicked(int userId, boolean newUser) { in onManageUserClicked() argument 483 if (userId == UserPreference.USERID_GUEST_DEFAULTS) { in onManageUserClicked() 494 UserInfo info = mUserManager.getUserInfo(userId); in onManageUserClicked() 497 extras.putInt(RestrictedProfileSettings.EXTRA_USER_ID, userId); in onManageUserClicked() 510 extras.putInt(UserDetailsSettings.EXTRA_USER_ID, userId); in onManageUserClicked() 520 private void onUserCreated(int userId) { in onUserCreated() argument 521 mAddedUserId = userId; in onUserCreated() 527 if (mUserManager.getUserInfo(userId).isRestricted()) { in onUserCreated() [all …]
|