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.java309 public void tieManagedProfileLockIfNecessary(int managedUserId, byte[] managedUserPassword) { in tieManagedProfileLockIfNecessary() argument
310 if (DEBUG) Slog.v(TAG, "Check child profile lock for user: " + managedUserId); in tieManagedProfileLockIfNecessary()
312 if (!mUserManager.getUserInfo(managedUserId).isManagedProfile()) { in tieManagedProfileLockIfNecessary()
316 if (mLockPatternUtils.isSeparateProfileChallengeEnabled(managedUserId)) { in tieManagedProfileLockIfNecessary()
320 if (mStorage.hasChildProfileLock(managedUserId)) { in tieManagedProfileLockIfNecessary()
324 final int parentId = mUserManager.getProfileParent(managedUserId).id; in tieManagedProfileLockIfNecessary()
352 quality, managedUserId, false, /* isLockTiedToParent= */ true); in tieManagedProfileLockIfNecessary()
356 setLong(LockPatternUtils.PASSWORD_TYPE_KEY, quality, managedUserId); in tieManagedProfileLockIfNecessary()
357 tieProfileLockToParent(managedUserId, newPassword); in tieManagedProfileLockIfNecessary()
1322 final int managedUserId = profile.id; in getDecryptedPasswordsForAllTiedProfiles() local
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java10565 final int managedUserId = getManagedUserId(callingUserId); in startManagedQuickContact() local
10566 if (managedUserId < 0) { in startManagedQuickContact()
10569 if (isCrossProfileQuickContactDisabled(managedUserId)) { in startManagedQuickContact()
10572 "Cross-profile contacts access disabled for user " + managedUserId); in startManagedQuickContact()
10577 mContext, intent, new UserHandle(managedUserId)); in startManagedQuickContact()