Home
last modified time | relevance | path

Searched refs:effectiveUserId (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialActivity.java176 final int effectiveUserId = mUserManager.getCredentialOwnerProfile(mUserId); in onCreate() local
209 if (isBiometricAllowed(effectiveUserId, mUserId)) { in onCreate()
218 if (isBiometricAllowed(effectiveUserId, mUserId)) { in onCreate()
276 private boolean isStrongAuthRequired(int effectiveUserId) { in isStrongAuthRequired() argument
277 return !mLockPatternUtils.isBiometricAllowedForUser(effectiveUserId) in isStrongAuthRequired()
281 private boolean isBiometricDisabledByAdmin(int effectiveUserId) { in isBiometricDisabledByAdmin() argument
283 mDevicePolicyManager.getKeyguardDisabledFeatures(null, effectiveUserId); in isBiometricDisabledByAdmin()
287 private boolean isBiometricAllowed(int effectiveUserId, int realUserId) { in isBiometricAllowed() argument
288 return !isStrongAuthRequired(effectiveUserId) in isBiometricAllowed()
289 && !isBiometricDisabledByAdmin(effectiveUserId) in isBiometricAllowed()
DCredentialCheckResultTracker.java55 public void setResult(boolean matched, Intent intent, int timeoutMs, int effectiveUserId) { in setResult() argument
59 mResultEffectiveUserId = effectiveUserId; in setResult()
79 int effectiveUserId, boolean newResult); in onCredentialChecked() argument
DConfirmLockPassword.java434 int effectiveUserId, boolean newResult) { in onPasswordChecked() argument
448 effectiveUserId, timeoutMs); in onPasswordChecked()
461 int effectiveUserId, boolean newResult) { in onCredentialChecked() argument
462 onPasswordChecked(matched, intent, timeoutMs, effectiveUserId, newResult); in onCredentialChecked()
DConfirmLockPattern.java486 int effectiveUserId, boolean newResult) { in onPatternChecked() argument
500 effectiveUserId, timeoutMs); in onPatternChecked()
514 int effectiveUserId, boolean newResult) { in onCredentialChecked() argument
515 onPatternChecked(matched, intent, timeoutMs, effectiveUserId, newResult); in onCredentialChecked()
DChooseLockSettingsHelper.java372 final int effectiveUserId = UserManager.get(mActivity).getCredentialOwnerProfile(userId); in launchConfirmationActivity() local
375 switch (mLockPatternUtils.getKeyguardStoredPasswordQuality(effectiveUserId)) { in launchConfirmationActivity()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DConfirmDeviceCredentialActivity.java176 final int effectiveUserId = mUserManager.getCredentialOwnerProfile(mUserId); in onCreate() local
209 if (isBiometricAllowed(effectiveUserId, mUserId)) { in onCreate()
218 if (isBiometricAllowed(effectiveUserId, mUserId)) { in onCreate()
273 private boolean isStrongAuthRequired(int effectiveUserId) { in isStrongAuthRequired() argument
274 return !mLockPatternUtils.isBiometricAllowedForUser(effectiveUserId) in isStrongAuthRequired()
278 private boolean isBiometricDisabledByAdmin(int effectiveUserId) { in isBiometricDisabledByAdmin() argument
280 mDevicePolicyManager.getKeyguardDisabledFeatures(null, effectiveUserId); in isBiometricDisabledByAdmin()
284 private boolean isBiometricAllowed(int effectiveUserId, int realUserId) { in isBiometricAllowed() argument
285 return !isStrongAuthRequired(effectiveUserId) in isBiometricAllowed()
286 && !isBiometricDisabledByAdmin(effectiveUserId) in isBiometricAllowed()
DCredentialCheckResultTracker.java55 public void setResult(boolean matched, Intent intent, int timeoutMs, int effectiveUserId) { in setResult() argument
59 mResultEffectiveUserId = effectiveUserId; in setResult()
79 int effectiveUserId, boolean newResult); in onCredentialChecked() argument
DConfirmLockPassword.java434 int effectiveUserId, boolean newResult) { in onPasswordChecked() argument
448 effectiveUserId, timeoutMs); in onPasswordChecked()
461 int effectiveUserId, boolean newResult) { in onCredentialChecked() argument
462 onPasswordChecked(matched, intent, timeoutMs, effectiveUserId, newResult); in onCredentialChecked()
DConfirmLockPattern.java486 int effectiveUserId, boolean newResult) { in onPatternChecked() argument
500 effectiveUserId, timeoutMs); in onPatternChecked()
514 int effectiveUserId, boolean newResult) { in onCredentialChecked() argument
515 onPatternChecked(matched, intent, timeoutMs, effectiveUserId, newResult); in onCredentialChecked()
DChooseLockSettingsHelper.java366 final int effectiveUserId = UserManager.get(mActivity).getCredentialOwnerProfile(userId); in launchConfirmationActivity() local
369 switch (mLockPatternUtils.getKeyguardStoredPasswordQuality(effectiveUserId)) { in launchConfirmationActivity()