Home
last modified time | relevance | path

Searched refs:backupFinished (Results 1 – 11 of 11) 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.java978 mObserver.backupFinished(msg.arg1); in BackupObserverWrapper()
1003 public void backupFinished(int status) { in backupFinished() method in BackupManager.BackupObserverWrapper
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupObserverUtils.java72 observer.backupFinished(status); in sendBackupFinished()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java320 verify(mObserver).backupFinished(SUCCESS); in testRunTask_whenQueueEmpty_notifiesCorrectly()
363 verify(mObserver).backupFinished(ERROR_TRANSPORT_ABORTED); in testRunTask_whenOnePackageAndTransportUnavailable()
600 verify(mObserver).backupFinished(SUCCESS); in testRunTask_whenPackageUnknown()
630 verify(mObserver).backupFinished(SUCCESS); in testRunTask_whenPackageNotEligibleForBackup()
659 verify(mObserver).backupFinished(SUCCESS); in testRunTask_whenPackageDoesFullBackup()
687 verify(mObserver).backupFinished(SUCCESS); in testRunTask_whenPackageIsStopped()
743 verify(mObserver).backupFinished(BackupManager.SUCCESS); in testRunTask_whenAgentUnavailable()
776 verify(mObserver).backupFinished(BackupManager.SUCCESS); in testRunTask_whenNonIncrementalAndAgentUnavailable()
793 verify(mObserver).backupFinished(BackupManager.SUCCESS); in testRunTask_whenBindToAgentThrowsSecurityException()
810 verify(mObserver).backupFinished(BackupManager.SUCCESS); in testRunTask_whenNonIncrementalAndBindToAgentThrowsSecurityException()
[all …]
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java317 public void backupFinished(int status) { in backupFinished() method in Bmgr.Observer
367 public void backupFinished(int status) { in backupFinished() method in Bmgr.BackupObserver
368 super.backupFinished(status); in backupFinished()
610 public void backupFinished(int status) { in backupFinished() method in Bmgr.InitObserver
611 super.backupFinished(status); in backupFinished()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java807 verify(mObserver).backupFinished(BackupManager.ERROR_TRANSPORT_ABORTED); in testRequestBackup_whenPackagesNull()
823 verify(mObserver).backupFinished(BackupManager.ERROR_TRANSPORT_ABORTED); in testRequestBackup_whenPackagesEmpty()
839 verify(mObserver).backupFinished(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenBackupDisabled()
856 verify(mObserver).backupFinished(BackupManager.ERROR_BACKUP_NOT_ALLOWED); in testRequestBackup_whenNotProvisioned()
875 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/api/
Dsystem-current.txt850 method public void backupFinished(int);