Searched refs:mEffectiveUserId (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Settings/src/com/android/settings/password/ |
D | ConfirmLockPattern.java | 143 mIsManagedProfile = UserManager.get(getActivity()).isManagedProfile(mEffectiveUserId); in onCreateView() 164 mEffectiveUserId)); in onCreateView() 185 && !mLockPatternUtils.isLockPatternEnabled(mEffectiveUserId)) { in onCreateView() 275 long deadline = mLockPatternUtils.getLockoutAttemptDeadline(mEffectiveUserId); in onResume() 382 mLockPatternUtils.getCurrentFailedPasswordAttempts(mEffectiveUserId)); in updateStage() 451 mCredentialCheckResultTracker.setResult(true, new Intent(), 0, mEffectiveUserId); in authenticationSucceeded() 535 mCredentialCheckResultTracker.setResult(false, intent, 0, mEffectiveUserId); 544 final int localEffectiveUserId = mEffectiveUserId; 576 onPatternChecked(false, intent, 0, mEffectiveUserId, false /* newResult */); 580 final int localEffectiveUserId = mEffectiveUserId; [all …]
|
D | ConfirmLockPassword.java | 134 mEffectiveUserId); in onCreateView() 166 mIsManagedProfile = UserManager.get(getActivity()).isManagedProfile(mEffectiveUserId); in onCreateView() 414 long deadline = mLockPatternUtils.getLockoutAttemptDeadline(mEffectiveUserId); in onResume() 422 mLockPatternUtils.getCurrentFailedPasswordAttempts(mEffectiveUserId)); in onResume() 432 mCredentialCheckResultTracker.setResult(true, new Intent(), 0, mEffectiveUserId); in authenticationSucceeded() 437 mLockPatternUtils.getLockoutAttemptDeadline(mEffectiveUserId) != 0; in updatePasswordEntry() 503 mCredentialCheckResultTracker.setResult(false, intent, 0, mEffectiveUserId); in handleNext() 512 final int localEffectiveUserId = mEffectiveUserId; in startVerifyPassword() 539 final int localEffectiveUserId = mEffectiveUserId; in startCheckPassword() 592 mUserManager, mDevicePolicyManager, mEffectiveUserId, in onPasswordChecked() [all …]
|
D | ConfirmDeviceCredentialBaseFragment.java | 100 protected int mEffectiveUserId; field in ConfirmDeviceCredentialBaseFragment 188 mEffectiveUserId = mUserManager.getCredentialOwnerProfile(mUserId); in onCreate() 276 || !mLockPatternUtils.isBiometricAllowedForUser(mEffectiveUserId) in isStrongAuthRequired() 287 updateErrorMessage(mLockPatternUtils.getCurrentFailedPasswordAttempts(mEffectiveUserId)); in refreshLockScreen() 331 mLockPatternUtils.getCurrentFailedPasswordAttempts(mEffectiveUserId) + 1); in reportFailedAttempt() 332 mLockPatternUtils.reportFailedPasswordAttempt(mEffectiveUserId); in reportFailedAttempt() 337 mLockPatternUtils.getMaximumFailedPasswordsForWipe(mEffectiveUserId); in updateErrorMessage() 377 mDevicePolicyManager.getProfileWithMinimumFailedPasswordsForWipe(mEffectiveUserId)); in getUserTypeForWipe()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ConfirmLockPatternTest.java | 180 eq(true), any(), eq(0), eq(fragment.mEffectiveUserId)); in onPatternDetected_remoteValidation_guessValid_checkboxChecked() 181 assertThat(mLockPatternUtils.isSecure(fragment.mEffectiveUserId)).isTrue(); in onPatternDetected_remoteValidation_guessValid_checkboxChecked() 207 eq(true), any(), eq(0), eq(fragment.mEffectiveUserId)); in onPatternDetected_remoteValidation_guessValid_checkboxUnchecked() 208 assertThat(mLockPatternUtils.isSecure(fragment.mEffectiveUserId)).isFalse(); in onPatternDetected_remoteValidation_guessValid_checkboxUnchecked() 233 eq(false), any(), eq(0), eq(fragment.mEffectiveUserId)); in onPatternDetected_remoteValidation_guessInvalid() 234 assertThat(mLockPatternUtils.isSecure(fragment.mEffectiveUserId)).isFalse(); in onPatternDetected_remoteValidation_guessInvalid() 258 eq(false), any(), eq(TIMEOUT_MS), eq(fragment.mEffectiveUserId)); in onPatternDetected_remoteValidation_lockout() 259 assertThat(mLockPatternUtils.isSecure(fragment.mEffectiveUserId)).isFalse(); in onPatternDetected_remoteValidation_lockout() 284 assertThat(mLockPatternUtils.isSecure(fragment.mEffectiveUserId)).isFalse(); in onPatternDetected_noRemainingAttempts_finishActivity()
|
D | ConfirmLockPasswordTest.java | 200 eq(true), any(), eq(0), eq(fragment.mEffectiveUserId)); in handleNext_remoteValidation_correctGuess_checkboxChecked() 201 assertThat(mLockPatternUtils.isSecure(fragment.mEffectiveUserId)).isTrue(); in handleNext_remoteValidation_correctGuess_checkboxChecked() 227 eq(true), any(), eq(0), eq(fragment.mEffectiveUserId)); in handleNext_remoteValidation_correctGuess_checkboxUnchecked() 228 assertThat(mLockPatternUtils.isSecure(fragment.mEffectiveUserId)).isFalse(); in handleNext_remoteValidation_correctGuess_checkboxUnchecked() 253 eq(false), any(), eq(0), eq(fragment.mEffectiveUserId)); in handleNext_remoteValidation_guessInvalid() 254 assertThat(mLockPatternUtils.isSecure(fragment.mEffectiveUserId)).isFalse(); in handleNext_remoteValidation_guessInvalid() 278 eq(false), any(), eq(TIMEOUT_MS), eq(fragment.mEffectiveUserId)); in handleNext_remoteValidation_lockout() 279 assertThat(mLockPatternUtils.isSecure(fragment.mEffectiveUserId)).isFalse(); in handleNext_remoteValidation_lockout() 305 assertThat(mLockPatternUtils.isSecure(fragment.mEffectiveUserId)).isFalse(); in handleNext_remoteValidation_noRemainingAttempts_finishActivity()
|