Home
last modified time | relevance | path

Searched refs:backupFinished (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/
DPerformInitializeTaskTest.java136 verify(mObserver).backupFinished(eq(TRANSPORT_OK)); in testRun_callsObserverAndListenerCorrectly()
164 verify(mObserver).backupFinished(eq(TRANSPORT_ERROR)); in testRun_whenInitializeDeviceFails_callsObserverAndListenerCorrectly()
202 verify(mObserver).backupFinished(eq(TRANSPORT_ERROR)); in testRun_whenFinishBackupFails_callsObserverAndListenerCorrectly()
259 verify(mObserver).backupFinished(eq(TRANSPORT_ERROR)); in testRun_whenOnlyOneTransportFails()
320 verify(mObserver).backupFinished(eq(TRANSPORT_OK)); in testRun_whenTransportNotRegistered()
351 verify(mObserver).backupFinished(eq(TRANSPORT_ERROR)); in testRun_whenTransportNotAvailable()
366 verify(mObserver).backupFinished(eq(TRANSPORT_ERROR)); in testRun_whenTransportThrowsDeadObjectException()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DBackupObserverUtilsTest.java109 verify(mBackupObserverMock).backupFinished(1); in sendBackupFinished_callsObserver()
118 verify(mBackupObserverMock).backupFinished(1); in sendBackupFinished_handlesRemoteException()
/frameworks/base/core/java/android/app/backup/
DBackupObserver.java57 public void backupFinished(int status) { in backupFinished() method in BackupObserver
DIBackupObserver.aidl56 void backupFinished(int status); in backupFinished() method
DBackupManager.java1003 mObserver.backupFinished(msg.arg1); in BackupObserverWrapper()
1028 public void backupFinished(int status) { in backupFinished() method in BackupManager.BackupObserverWrapper
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java323 verify(mObserver).backupFinished(SUCCESS); in testRunTask_whenQueueEmpty_notifiesCorrectly()
364 verify(mObserver).backupFinished(ERROR_TRANSPORT_ABORTED); in testRunTask_whenOnePackageAndTransportUnavailable()
601 verify(mObserver).backupFinished(SUCCESS); in testRunTask_whenPackageUnknown()
631 verify(mObserver).backupFinished(SUCCESS); in testRunTask_whenPackageNotEligibleForBackup()
660 verify(mObserver).backupFinished(SUCCESS); in testRunTask_whenPackageDoesFullBackup()
688 verify(mObserver).backupFinished(SUCCESS); in testRunTask_whenPackageIsStopped()
744 verify(mObserver).backupFinished(BackupManager.SUCCESS); in testRunTask_whenAgentUnavailable()
777 verify(mObserver).backupFinished(BackupManager.SUCCESS); in testRunTask_whenNonIncrementalAndAgentUnavailable()
794 verify(mObserver).backupFinished(BackupManager.SUCCESS); in testRunTask_whenBindToAgentThrowsSecurityException()
812 verify(mObserver).backupFinished(BackupManager.SUCCESS); in testRunTask_whenNonIncrementalAndBindToAgentThrowsSecurityException()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupObserverUtils.java72 observer.backupFinished(status); in sendBackupFinished()
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java344 public void backupFinished(int status) { in backupFinished() method in Bmgr.Observer
394 public void backupFinished(int status) { in backupFinished() method in Bmgr.BackupObserver
395 super.backupFinished(status); in backupFinished()
631 public void backupFinished(int status) { in backupFinished() method in Bmgr.InitObserver
632 super.backupFinished(status); in backupFinished()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java839 verify(mObserver).backupFinished(BackupManager.ERROR_TRANSPORT_ABORTED); in testRequestBackup_whenPackagesNull()
855 verify(mObserver).backupFinished(BackupManager.ERROR_TRANSPORT_ABORTED); in testRequestBackup_whenPackagesEmpty()
871 verify(mObserver).backupFinished(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenBackupDisabled()
888 verify(mObserver).backupFinished(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenNotProvisioned()
907 verify(mObserver).backupFinished(BackupManager.ERROR_TRANSPORT_ABORTED); in testRequestBackup_whenTransportNotRegistered()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DPerformInitializeTask.java102 mObserver.backupFinished(status); in notifyFinished()
/frameworks/base/non-updatable-api/
Dsystem-current.txt997 method public void backupFinished(int);
/frameworks/base/api/
Dsystem-current.txt1049 method public void backupFinished(int);