Searched refs:backupPasswordMatches (Results 1 – 5 of 5) sorted by relevance
91 assertThat(mPasswordManager.backupPasswordMatches("anything")).isTrue(); in backupPasswordMatches_isTrueIfNoPassword()98 assertThat(mPasswordManager.backupPasswordMatches(password)).isTrue(); in backupPasswordMatches_isTrueForSamePassword()104 assertThat(mPasswordManager.backupPasswordMatches("corgi")).isFalse(); in backupPasswordMatches_isFalseForDifferentPassword()116 assertThat(mPasswordManager.backupPasswordMatches(password)).isTrue(); in backupPasswordMatches_worksForV1HashIfVersionIsV1()131 assertThat(mPasswordManager.backupPasswordMatches(password)).isFalse(); in backupPasswordMatches_failsForV1HashIfVersionIsV2()141 () -> mPasswordManager.backupPasswordMatches("password123")); in backupPasswordMatches_throwsSecurityExceptionIfLacksPermission()152 assertThat(newManager.backupPasswordMatches(password)).isTrue(); in setBackupPassword_persistsPasswordToFile()166 assertThat(newManager.backupPasswordMatches(secondPassword)).isFalse(); in setBackupPassword_failsIfCurrentPasswordIsWrong()
96 boolean backupPasswordMatches(String password) { in backupPasswordMatches() method in BackupPasswordManager
1133 public boolean backupPasswordMatches(String currentPw) { in backupPasswordMatches() method in UserBackupManagerService1134 return mBackupPasswordManager.backupPasswordMatches(currentPw); in backupPasswordMatches()
140 if (!mBackupManagerService.backupPasswordMatches(mCurrentPassword)) { in run()
327 if (!mUserBackupManagerService.backupPasswordMatches(mCurrentPassword)) { in run()