Lines Matching refs:password
59 * Keeps the lock pattern/password data and related settings for each user.
81 private static final String LOCK_PASSWORD_FILE = "password.key";
110 // No need to move the password / pattern files. They're already in the right place.
147 // No need to move the password / pattern files. They're already in the right place.
262 private void maybeUpdateKeystore(String password, int userId) {
267 if (TextUtils.isEmpty(password) && keyStore.isEmpty()) {
270 // Update the keystore password
271 keyStore.password(password);
288 public void setLockPassword(String password, int userId) throws RemoteException {
291 maybeUpdateKeystore(password, userId);
293 writeFile(getLockPasswordFilename(userId), mLockPatternUtils.passwordToHash(password));
325 public boolean checkPassword(String password, int userId) throws RemoteException {
337 // Compare the hash from the file with the entered password's hash
338 final byte[] hash = mLockPatternUtils.passwordToHash(password);
340 if (matched && !TextUtils.isEmpty(password)) {
341 maybeUpdateKeystore(password, userId);