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/locksettings/
DLockSettingsService.java275 public void tieManagedProfileLockIfNecessary(int managedUserId, String managedUserPassword) { in tieManagedProfileLockIfNecessary() argument
276 if (DEBUG) Slog.v(TAG, "Check child profile lock for user: " + managedUserId); in tieManagedProfileLockIfNecessary()
278 if (!mUserManager.getUserInfo(managedUserId).isManagedProfile()) { in tieManagedProfileLockIfNecessary()
282 if (mLockPatternUtils.isSeparateProfileChallengeEnabled(managedUserId)) { in tieManagedProfileLockIfNecessary()
286 if (mStorage.hasChildProfileLock(managedUserId)) { in tieManagedProfileLockIfNecessary()
290 final int parentId = mUserManager.getProfileParent(managedUserId).id; in tieManagedProfileLockIfNecessary()
313 managedUserPassword, quality, managedUserId); in tieManagedProfileLockIfNecessary()
317 setLong(LockPatternUtils.PASSWORD_TYPE_KEY, quality, managedUserId); in tieManagedProfileLockIfNecessary()
318 tieProfileLockToParent(managedUserId, newPassword); in tieManagedProfileLockIfNecessary()
1219 final int managedUserId = profile.id; in getDecryptedPasswordsForAllTiedProfiles() local
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java9713 final int managedUserId = getManagedUserId(callingUserId); in startManagedQuickContact() local
9714 if (managedUserId < 0) { in startManagedQuickContact()
9717 if (isCrossProfileQuickContactDisabled(managedUserId)) { in startManagedQuickContact()
9720 "Cross-profile contacts access disabled for user " + managedUserId); in startManagedQuickContact()
9725 mContext, intent, new UserHandle(managedUserId)); in startManagedQuickContact()