Home
last modified time | relevance | path

Searched refs:validateCredential (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/security/
DPasswordHelper.java103 public boolean validateCredential(LockscreenCredential credential) { in validateCredential() method in PasswordHelper
104 mValidationErrors = PasswordMetrics.validateCredential(mMinMetrics, mMinComplexity, in validateCredential()
120 public boolean validateCredential(LockscreenCredential enteredCredential, in validateCredential() method in PasswordHelper
122 if (validateCredential(enteredCredential) in validateCredential()
DChooseLockPinPasswordFragment.java306 return mPasswordHelper.validateCredential(enteredCredential, mExistingCredential) in shouldEnableSubmit()
337 mPasswordHelper.validateCredential(mCurrentEntry, mExistingCredential); in handlePrimaryButtonClick()
413 mPasswordHelper.validateCredential(enteredCredential, mExistingCredential); in updateUi()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/security/
DPasswordHelperTest.java127 assertThat(helper.validateCredential(credential)).isTrue(); in assertCredentialValid()
131 assertThat(helper.validateCredential(credential, mExistingCredential)).isTrue(); in assertCredentialValid()
141 assertThat(helper.validateCredential(credential)).isFalse(); in assertCredentialInvalid()
145 assertThat(helper.validateCredential(credential, mExistingCredential)).isFalse(); in assertCredentialInvalid()
/packages/apps/Car/Settings/src/com/android/car/settings/setupservice/
DInitialLockSetupService.java132 if (!helper.validateCredential(credential)) { in checkValidLock()
155 if (!helper.validateCredential(credential)) { in setLock()
179 helper.validateCredential(credential); in checkValidLockAndReturnError()
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockPassword.java771 mValidationErrors = PasswordMetrics.validateCredential(mMinMetrics, mMinComplexity, in validatePassword()