Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DLockSettingsService.java222 public void tieManagedProfileLockIfNecessary(int managedUserId, String managedUserPassword) { in tieManagedProfileLockIfNecessary() argument
223 if (DEBUG) Slog.v(TAG, "Check child profile lock for user: " + managedUserId); in tieManagedProfileLockIfNecessary()
225 if (!UserManager.get(mContext).getUserInfo(managedUserId).isManagedProfile()) { in tieManagedProfileLockIfNecessary()
229 if (mLockPatternUtils.isSeparateProfileChallengeEnabled(managedUserId)) { in tieManagedProfileLockIfNecessary()
233 if (mStorage.hasChildProfileLock(managedUserId)) { in tieManagedProfileLockIfNecessary()
237 final int parentId = mUserManager.getProfileParent(managedUserId).id; in tieManagedProfileLockIfNecessary()
247 setLockPasswordInternal(newPassword, managedUserPassword, managedUserId); in tieManagedProfileLockIfNecessary()
252 DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC, managedUserId); in tieManagedProfileLockIfNecessary()
253 tieProfileLockToParent(managedUserId, newPassword); in tieManagedProfileLockIfNecessary()
864 final int managedUserId = profile.id; in onUserLockChanged() local
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java7658 final int managedUserId = getManagedUserId(callingUserId); in startManagedQuickContact() local
7659 if (managedUserId < 0) { in startManagedQuickContact()
7662 if (isCrossProfileQuickContactDisabled(managedUserId)) { in startManagedQuickContact()
7665 "Cross-profile contacts access disabled for user " + managedUserId); in startManagedQuickContact()
7670 mContext, intent, new UserHandle(managedUserId)); in startManagedQuickContact()