Home
last modified time | relevance | path

Searched refs:checkValidLock (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DInitialLockSetupServiceTest.java106 int result = service.checkValidLock(LockTypes.PASSWORD, "hi".getBytes()); in testCheckValidLock_tooShort()
115 int result = service.checkValidLock(LockTypes.PASSWORD, "password".getBytes()); in testCheckValidLock_longEnough()
124 int result = service.checkValidLock(LockTypes.PIN, "12a3".getBytes()); in testCheckValidLockPin_withLetters()
137 int result = service.checkValidLock(LockTypes.PATTERN, pattern); in testCheckValidLockPattern_tooShort()
150 int result = service.checkValidLock(LockTypes.PATTERN, pattern); in testCheckValidLockPattern_longEnough()
/packages/apps/Car/Settings/src/com/android/car/settings/setupservice/
DInitialLockSetupService.java120 public int checkValidLock(@LockTypes int lockType, byte[] password) { in checkValidLock() method in InitialLockSetupService.InitialLockSetupServiceImpl
149 if (!InitialLockSetupHelper.isValidLockResultCode(checkValidLock(lockType, password))) { in setLock()