Home
last modified time | relevance | path

Searched refs:PasswordHelper (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DPasswordHelperTest.java34 private PasswordHelper mPasswordHelper;
35 private PasswordHelper mPinHelper;
39 mPasswordHelper = new PasswordHelper(/* isPin= */ false); in initObjects()
40 mPinHelper = new PasswordHelper(/* isPin= */ true); in initObjects()
51 .isEqualTo(PasswordHelper.TOO_SHORT); in testValidatePasswordTooShort()
61 .isEqualTo(PasswordHelper.NO_ERROR); in testValidatePasswordWhiteSpace()
72 .isEqualTo(PasswordHelper.CONTAINS_INVALID_CHARACTERS); in testValidatePasswordNonAscii()
82 .isEqualTo(PasswordHelper.CONTAINS_NON_DIGITS); in testValidatePinContainingNonDigits()
92 .isEqualTo(PasswordHelper.TOO_SHORT); in testValidatePinWithTooFewDigits()
/packages/apps/Car/Settings/src/com/android/car/settings/setupservice/
DInitialLockSetupService.java28 import com.android.car.settings.security.PasswordHelper;
112 return new LockConfig(/* enabled= */true, PasswordHelper.MIN_LENGTH); in getLockConfig()
120 PasswordHelper passwordHelper; in checkValidLock()
123 passwordHelper = new PasswordHelper(/* isPin= */ false); in checkValidLock()
126 passwordHelper = new PasswordHelper(/* isPin= */ true); in checkValidLock()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DChooseLockPinPasswordFragment.java67 private int mErrorCode = PasswordHelper.NO_ERROR;
89 private PasswordHelper mPasswordHelper;
138 mExistingPassword = args.getByteArray(PasswordHelper.EXTRA_CURRENT_SCREEN_LOCK); in onCreate()
141 mPasswordHelper = new PasswordHelper(mIsPin); in onCreate()
301 && getEnteredPassword().length >= PasswordHelper.MIN_LENGTH in shouldEnableSubmit()
339 if (mErrorCode == PasswordHelper.NO_ERROR) { in handlePrimaryButtonClick()
577 mErrorCode = PasswordHelper.NO_ERROR; in handleMessage()
DPasswordHelper.java33 public class PasswordHelper { class
45 private static final Logger LOG = new Logger(PasswordHelper.class);
48 public PasswordHelper(boolean isPin) { in PasswordHelper() method in PasswordHelper
DChooseLockTypeFragment.java51 mCurrPassword = args.getByteArray(PasswordHelper.EXTRA_CURRENT_SCREEN_LOCK); in onAttach()
DLockTypeBasePreferenceController.java105 args.putByteArray(PasswordHelper.EXTRA_CURRENT_SCREEN_LOCK, mCurrentPassword); in handlePreferenceClicked()
DSettingsScreenLockActivity.java84 bundle.putByteArray(PasswordHelper.EXTRA_CURRENT_SCREEN_LOCK, lock); in onLockVerified()
DChooseLockPatternFragment.java168 mCurrentPattern = args.getByteArray(PasswordHelper.EXTRA_CURRENT_SCREEN_LOCK); in onCreate()