/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/ |
D | PerformInitializeTaskTest.java | 19 import static android.app.backup.BackupTransport.TRANSPORT_ERROR; 143 configureTransport(mTransportBinder, TRANSPORT_ERROR, 0); in testRun_whenInitializeDeviceFails() 158 configureTransport(mTransportBinder, TRANSPORT_ERROR, 0); in testRun_whenInitializeDeviceFails_callsObserverAndListenerCorrectly() 163 verify(mObserver).onResult(eq(mTransportName), eq(TRANSPORT_ERROR)); in testRun_whenInitializeDeviceFails_callsObserverAndListenerCorrectly() 164 verify(mObserver).backupFinished(eq(TRANSPORT_ERROR)); in testRun_whenInitializeDeviceFails_callsObserverAndListenerCorrectly() 171 configureTransport(mTransportBinder, TRANSPORT_ERROR, 0); in testRun_whenInitializeDeviceFails_schedulesAlarm() 182 configureTransport(mTransportBinder, TRANSPORT_OK, TRANSPORT_ERROR); in testRun_whenFinishBackupFails() 196 configureTransport(mTransportBinder, TRANSPORT_OK, TRANSPORT_ERROR); in testRun_whenFinishBackupFails_callsObserverAndListenerCorrectly() 201 verify(mObserver).onResult(eq(mTransportName), eq(TRANSPORT_ERROR)); in testRun_whenFinishBackupFails_callsObserverAndListenerCorrectly() 202 verify(mObserver).backupFinished(eq(TRANSPORT_ERROR)); in testRun_whenFinishBackupFails_callsObserverAndListenerCorrectly() [all …]
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupTransport.java | 48 public static final int TRANSPORT_ERROR = -1000; field in BackupTransport 245 return BackupTransport.TRANSPORT_ERROR; in initializeDevice() 257 return BackupTransport.TRANSPORT_ERROR; in clearBackupData() 269 return BackupTransport.TRANSPORT_ERROR; in finishBackup() 334 return BackupTransport.TRANSPORT_ERROR; in performBackup() 376 return BackupTransport.TRANSPORT_ERROR; in startRestore() 420 return BackupTransport.TRANSPORT_ERROR; in getRestoreData() 542 return BackupTransport.TRANSPORT_ERROR; in sendBackupData()
|
D | BackupManager.java | 116 public static final int ERROR_TRANSPORT_ABORTED = BackupTransport.TRANSPORT_ERROR;
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/transport/ |
D | IntermediateEncryptingTransport.java | 93 return BackupTransport.TRANSPORT_ERROR; in performBackup() 102 return BackupTransport.TRANSPORT_ERROR; in performBackup() 111 return BackupTransport.TRANSPORT_ERROR; in performBackup() 124 return BackupTransport.TRANSPORT_ERROR; in getRestoreData() 129 return BackupTransport.TRANSPORT_ERROR; in getRestoreData() 141 return BackupTransport.TRANSPORT_ERROR; in getRestoreData() 150 return BackupTransport.TRANSPORT_ERROR; in getRestoreData()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | TaskExceptionTest.java | 40 assertThat(exception.getStatus()).isEqualTo(BackupTransport.TRANSPORT_ERROR); in testStateCompromised() 61 assertThat(exception.getStatus()).isEqualTo(BackupTransport.TRANSPORT_ERROR); in testStateCompromised_whenCauseNotInstanceOfTaskException() 98 assertThat(exception.getStatus()).isEqualTo(BackupTransport.TRANSPORT_ERROR); in testCausedBy_whenCauseNotInstanceOfTaskException() 107 assertThat(exception.getStatus()).isEqualTo(BackupTransport.TRANSPORT_ERROR); in testCreate()
|
D | KeyValueBackupTaskTest.java | 556 .thenReturn(BackupTransport.TRANSPORT_ERROR); in testRunTask_whenTransportReturnsErrorForInitialization() 1873 .thenReturn(BackupTransport.TRANSPORT_ERROR); in testRunTask_whenTransportReturnsError_notifiesCorrectly() 1889 .thenReturn(BackupTransport.TRANSPORT_ERROR); in testRunTask_whenTransportReturnsError_logsBackupTransportFailureEvent() 1903 .thenReturn(BackupTransport.TRANSPORT_ERROR); in testRunTask_whenTransportReturnsError_revertsTask() 1917 .thenReturn(BackupTransport.TRANSPORT_ERROR); in testRunTask_whenTransportReturnsError_updatesFilesAndCleansUp()
|
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/ |
D | LocalTransport.java | 274 return TRANSPORT_ERROR; in performBackupInternal() 337 return TRANSPORT_ERROR; in performBackupInternal() 460 return TRANSPORT_ERROR; in tearDownFullBackup() 499 return TRANSPORT_ERROR; in performFullBackup() 515 return TRANSPORT_ERROR; in performFullBackup() 528 return TRANSPORT_ERROR; in sendBackupData() 546 return TRANSPORT_ERROR; in sendBackupData() 558 return TRANSPORT_ERROR; in sendBackupData() 564 return TRANSPORT_ERROR; in sendBackupData() 706 return TRANSPORT_ERROR; in getRestoreData() [all …]
|
/frameworks/base/packages/EncryptedLocalTransport/src/com/android/encryptedlocaltransport/ |
D | EncryptedLocalTransport.java | 63 return BackupTransport.TRANSPORT_ERROR; in performBackup() 73 return BackupTransport.TRANSPORT_ERROR; in performBackup() 97 return BackupTransport.TRANSPORT_ERROR; in getRestoreData()
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/ |
D | EncryptedFullBackupDataProcessor.java | 121 return BackupTransport.TRANSPORT_ERROR; in pushData() 128 return BackupTransport.TRANSPORT_ERROR; in pushData() 157 return BackupTransport.TRANSPORT_ERROR; in finish()
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/ |
D | EncryptedFullBackupDataProcessorTest.java | 156 assertThat(result).isEqualTo(BackupTransport.TRANSPORT_ERROR); in pushData_ioExceptionOnCopy_returnsError() 169 assertThat(result).isEqualTo(BackupTransport.TRANSPORT_ERROR); in pushData_exceptionDuringUpload_returnsError() 201 assertThat(result).isEqualTo(BackupTransport.TRANSPORT_ERROR); in pushData_unexpectedEncryptedBackup_logs() 260 assertThat(result).isEqualTo(BackupTransport.TRANSPORT_ERROR); in finish_exceptionDuringUpload_returnsTransportError()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | PerformUnifiedRestoreTask.java | 399 mStatus = BackupTransport.TRANSPORT_ERROR; in startRestore() 411 mStatus = BackupTransport.TRANSPORT_ERROR; in startRestore() 423 mStatus = BackupTransport.TRANSPORT_ERROR; in startRestore() 459 mStatus = BackupTransport.TRANSPORT_ERROR; in startRestore() 476 mStatus = BackupTransport.TRANSPORT_ERROR; in startRestore() 988 status = BackupTransport.TRANSPORT_ERROR; in run() 1030 status = BackupTransport.TRANSPORT_ERROR; in run() 1039 if (status == BackupTransport.TRANSPORT_ERROR) { in run()
|
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | TaskException.java | 31 private static final int DEFAULT_STATUS = BackupTransport.TRANSPORT_ERROR;
|
D | KeyValueBackupTask.java | 476 if (result == BackupTransport.TRANSPORT_ERROR in sendNoDataChangedTo() 761 status = BackupTransport.TRANSPORT_ERROR; in finishTask() 806 case BackupTransport.TRANSPORT_ERROR: in getBackupFinishedStatus()
|
/frameworks/base/services/backup/java/com/android/server/backup/internal/ |
D | PerformInitializeTask.java | 171 result = BackupTransport.TRANSPORT_ERROR; in run()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | FullBackupEngine.java | 276 result = BackupTransport.TRANSPORT_ERROR; in backupOnePackage()
|
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
D | Bmgr.java | 628 public int result = BackupTransport.TRANSPORT_ERROR;
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 1052 field public static final int TRANSPORT_ERROR = -1000; // 0xfffffc18
|
/frameworks/base/api/ |
D | system-current.txt | 1104 field public static final int TRANSPORT_ERROR = -1000; // 0xfffffc18
|