Home
last modified time | relevance | path

Searched refs:setBackupPassword (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DBackupPasswordManagerTest.java75 mPasswordManager.setBackupPassword(null, "password1234"); in hasBackupPassword_isTrueIfFileExists()
97 mPasswordManager.setBackupPassword(null, password); in backupPasswordMatches_isTrueForSamePassword()
103 mPasswordManager.setBackupPassword(null, "shiba"); in backupPasswordMatches_isFalseForDifferentPassword()
148 mPasswordManager.setBackupPassword(null, password); in setBackupPassword_persistsPasswordToFile()
158 mPasswordManager.setBackupPassword(null, "first password"); in setBackupPassword_failsIfCurrentPasswordIsWrong()
160 boolean result = mPasswordManager.setBackupPassword( in setBackupPassword_failsIfCurrentPasswordIsWrong()
176 () -> mPasswordManager.setBackupPassword( in setBackupPassword_throwsSecurityExceptionIfLacksPermission()
DTrampolineTest.java674 mTrampoline.setBackupPassword(CURRENT_PASSWORD, NEW_PASSWORD); in setBackupPassword_calledBeforeInitialize_ignored()
681 mTrampoline.setBackupPassword(CURRENT_PASSWORD, NEW_PASSWORD); in setBackupPassword_forwarded()
682 verify(mBackupManagerServiceMock).setBackupPassword(CURRENT_PASSWORD, NEW_PASSWORD); in setBackupPassword_forwarded()
/frameworks/base/core/java/android/app/backup/
DIBackupManager.aidl211 boolean setBackupPassword(in String currentPw, in String newPw); in setBackupPassword() method
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupPasswordManager.java112 boolean setBackupPassword(String currentPassword, String newPassword) { in setBackupPassword() method in BackupPasswordManager
DBackupManagerService.java762 public boolean setBackupPassword(String currentPassword, String newPassword) { in setBackupPassword() method in BackupManagerService
768 && userBackupManagerService.setBackupPassword(currentPassword, newPassword); in setBackupPassword()
DTrampoline.java513 public boolean setBackupPassword(String currentPw, String newPw) throws RemoteException { in setBackupPassword() method in Trampoline
515 return (isUserReadyForBackup(userId)) && mService.setBackupPassword(currentPw, newPw); in setBackupPassword()
DUserBackupManagerService.java1123 public boolean setBackupPassword(String currentPw, String newPw) { in setBackupPassword() method in UserBackupManagerService
1124 return mBackupPasswordManager.setBackupPassword(currentPw, newPw); in setBackupPassword()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DBackupManagerServiceTest.java1233 backupManagerService.setBackupPassword("currentPassword", "newPassword"); in testSetBackupPassword_onRegisteredUser_callsMethodForUser()
1235 verify(mUserOneService).setBackupPassword("currentPassword", "newPassword"); in testSetBackupPassword_onRegisteredUser_callsMethodForUser()
1243 backupManagerService.setBackupPassword("currentPassword", "newPassword"); in testSetBackupPassword_onUnknownUser_doesNotPropagateCall()
1245 verify(mUserOneService, never()).setBackupPassword("currentPassword", "newPassword"); in testSetBackupPassword_onUnknownUser_doesNotPropagateCall()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt4386 Landroid/app/backup/IBackupManager$Stub$Proxy;->setBackupPassword(Ljava/lang/String;Ljava/lang/Stri…
4452 Landroid/app/backup/IBackupManager;->setBackupPassword(Ljava/lang/String;Ljava/lang/String;)Z