Home
last modified time | relevance | path

Searched refs:TRANSPORT_ERROR (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/robotests/src/com/android/server/backup/internal/
DPerformInitializeTaskTest.java19 import static android.app.backup.BackupTransport.TRANSPORT_ERROR;
141 configureTransport(mTransportBinder, TRANSPORT_ERROR, 0); in testRun_whenInitializeDeviceFails()
156 configureTransport(mTransportBinder, TRANSPORT_ERROR, 0); in testRun_whenInitializeDeviceFails_callsObserverAndListenerCorrectly()
161 verify(mObserver).onResult(eq(mTransportName), eq(TRANSPORT_ERROR)); in testRun_whenInitializeDeviceFails_callsObserverAndListenerCorrectly()
162 verify(mObserver).backupFinished(eq(TRANSPORT_ERROR)); in testRun_whenInitializeDeviceFails_callsObserverAndListenerCorrectly()
169 configureTransport(mTransportBinder, TRANSPORT_ERROR, 0); in testRun_whenInitializeDeviceFails_schedulesAlarm()
180 configureTransport(mTransportBinder, TRANSPORT_OK, TRANSPORT_ERROR); in testRun_whenFinishBackupFails()
194 configureTransport(mTransportBinder, TRANSPORT_OK, TRANSPORT_ERROR); in testRun_whenFinishBackupFails_callsObserverAndListenerCorrectly()
199 verify(mObserver).onResult(eq(mTransportName), eq(TRANSPORT_ERROR)); in testRun_whenFinishBackupFails_callsObserverAndListenerCorrectly()
200 verify(mObserver).backupFinished(eq(TRANSPORT_ERROR)); in testRun_whenFinishBackupFails_callsObserverAndListenerCorrectly()
[all …]
/frameworks/base/core/java/android/app/backup/
DBackupTransport.java47 public static final int TRANSPORT_ERROR = -1000; field in BackupTransport
218 return BackupTransport.TRANSPORT_ERROR; in initializeDevice()
230 return BackupTransport.TRANSPORT_ERROR; in clearBackupData()
242 return BackupTransport.TRANSPORT_ERROR; in finishBackup()
306 return BackupTransport.TRANSPORT_ERROR; in performBackup()
348 return BackupTransport.TRANSPORT_ERROR; in startRestore()
392 return BackupTransport.TRANSPORT_ERROR; in getRestoreData()
514 return BackupTransport.TRANSPORT_ERROR; in sendBackupData()
DBackupManager.java112 public static final int ERROR_TRANSPORT_ABORTED = BackupTransport.TRANSPORT_ERROR;
/frameworks/base/core/java/com/android/internal/backup/
DLocalTransport.java249 return TRANSPORT_ERROR; in performBackup()
312 return TRANSPORT_ERROR; in performBackup()
435 return TRANSPORT_ERROR; in tearDownFullBackup()
474 return TRANSPORT_ERROR; in performFullBackup()
490 return TRANSPORT_ERROR; in performFullBackup()
503 return TRANSPORT_ERROR; in sendBackupData()
521 return TRANSPORT_ERROR; in sendBackupData()
533 return TRANSPORT_ERROR; in sendBackupData()
539 return TRANSPORT_ERROR; in sendBackupData()
674 return TRANSPORT_ERROR; in getRestoreData()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java384 mStatus = BackupTransport.TRANSPORT_ERROR; in startRestore()
396 mStatus = BackupTransport.TRANSPORT_ERROR; in startRestore()
408 mStatus = BackupTransport.TRANSPORT_ERROR; in startRestore()
444 mStatus = BackupTransport.TRANSPORT_ERROR; in startRestore()
461 mStatus = BackupTransport.TRANSPORT_ERROR; in startRestore()
944 status = BackupTransport.TRANSPORT_ERROR; in run()
986 status = BackupTransport.TRANSPORT_ERROR; in run()
995 if (status == BackupTransport.TRANSPORT_ERROR) { in run()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DPerformBackupTask.java342 mStatus = BackupTransport.TRANSPORT_ERROR; in beginBackup()
377 mStatus = BackupTransport.TRANSPORT_ERROR; in backupPm()
641 case BackupTransport.TRANSPORT_ERROR: in finalizeBackup()
737 : BackupTransport.TRANSPORT_ERROR; in invokeAgentForBackup()
971 mStatus = BackupTransport.TRANSPORT_ERROR; in operationComplete()
1057 mStatus = BackupTransport.TRANSPORT_ERROR; in operationComplete()
DPerformInitializeTask.java168 result = BackupTransport.TRANSPORT_ERROR; in run()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DFullBackupEngine.java263 result = BackupTransport.TRANSPORT_ERROR; in backupOnePackage()
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java519 public int result = BackupTransport.TRANSPORT_ERROR;
/frameworks/base/api/
Dsystem-current.txt649 field public static final int TRANSPORT_ERROR = -1000; // 0xfffffc18
/frameworks/base/config/
Dhiddenapi-public-dex.txt2455 Landroid/app/backup/BackupTransport;->TRANSPORT_ERROR:I