Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DBackupPasswordManagerTest.java91 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()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupPasswordManager.java96 boolean backupPasswordMatches(String password) { in backupPasswordMatches() method in BackupPasswordManager
DUserBackupManagerService.java1133 public boolean backupPasswordMatches(String currentPw) { in backupPasswordMatches() method in UserBackupManagerService
1134 return mBackupPasswordManager.backupPasswordMatches(currentPw); in backupPasswordMatches()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformAdbRestoreTask.java140 if (!mBackupManagerService.backupPasswordMatches(mCurrentPassword)) { in run()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformAdbBackupTask.java327 if (!mUserBackupManagerService.backupPasswordMatches(mCurrentPassword)) { in run()