Home
last modified time | relevance | path

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

/frameworks/base/services/backup/java/com/android/server/backup/internal/
DPerformInitializeTask.java149 mBackupManagerService.resetBackupState(stateFileDir); in run()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java387 mBackupManagerService.resetBackupState(mStateDirectory); in run()
630 mBackupManagerService.resetBackupState(mStateDirectory); in startTask()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/
DPerformInitializeTaskTest.java124 .resetBackupState(eq(new File(mBaseStateDir, mTransport.transportDirName))); in testRun_callsBackupManagerCorrectly()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java447 verify(mBackupManagerService).resetBackupState(getStateDirectory(mTransport).toFile()); in testRunTask_whenTransportReturnsTransportErrorForPm_resetsBackupState()
551 verify(mBackupManagerService).resetBackupState(getStateDirectory(mTransport).toFile()); in testRunTask_whenOnePackageAndNoPmState_initializesTransportAndResetsState()
587 .resetBackupState(getStateDirectory(mTransport).toFile()); in testRunTask_whenTransportReturnsErrorForInitialization()
606 .resetBackupState(getStateDirectory(mTransport).toFile()); in testRunTask_whenTransportThrowsDuringInitialization()
2093 verify(mBackupManagerService).resetBackupState(getStateDirectory(mTransport).toFile()); in testRunTask_whenPmAgentFails_resetsBackupState()
2109 verify(mBackupManagerService).resetBackupState(getStateDirectory(mTransport).toFile()); in testRunTask_whenMarkCancelDuringPmOnBackup_resetsBackupState()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java1245 public void resetBackupState(File stateFileDir) { in resetBackupState() method in UserBackupManagerService