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.java286 public void tieManagedProfileLockIfNecessary(int managedUserId, byte[] managedUserPassword) { in tieManagedProfileLockIfNecessary() argument
287 if (DEBUG) Slog.v(TAG, "Check child profile lock for user: " + managedUserId); in tieManagedProfileLockIfNecessary()
289 if (!mUserManager.getUserInfo(managedUserId).isManagedProfile()) { in tieManagedProfileLockIfNecessary()
293 if (mLockPatternUtils.isSeparateProfileChallengeEnabled(managedUserId)) { in tieManagedProfileLockIfNecessary()
297 if (mStorage.hasChildProfileLock(managedUserId)) { in tieManagedProfileLockIfNecessary()
301 final int parentId = mUserManager.getProfileParent(managedUserId).id; in tieManagedProfileLockIfNecessary()
329 quality, managedUserId, false, /* isLockTiedToParent= */ true); in tieManagedProfileLockIfNecessary()
333 setLong(LockPatternUtils.PASSWORD_TYPE_KEY, quality, managedUserId); in tieManagedProfileLockIfNecessary()
334 tieProfileLockToParent(managedUserId, newPassword); in tieManagedProfileLockIfNecessary()
1271 final int managedUserId = profile.id; in getDecryptedPasswordsForAllTiedProfiles() local
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java10556 final int managedUserId = getManagedUserId(callingUserId); in startManagedQuickContact() local
10557 if (managedUserId < 0) { in startManagedQuickContact()
10560 if (isCrossProfileQuickContactDisabled(managedUserId)) { in startManagedQuickContact()
10563 "Cross-profile contacts access disabled for user " + managedUserId); in startManagedQuickContact()
10568 mContext, intent, new UserHandle(managedUserId)); in startManagedQuickContact()