Searched refs:TRANSPORT_OK (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/services/robotests/src/com/android/server/backup/internal/ |
D | PerformInitializeTaskTest.java | 20 import static android.app.backup.BackupTransport.TRANSPORT_OK; 102 configureTransport(mTransportBinder, TRANSPORT_OK, TRANSPORT_OK); in testRun_callsTransportCorrectly() 114 configureTransport(mTransportBinder, TRANSPORT_OK, TRANSPORT_OK); in testRun_callsBackupManagerCorrectly() 128 configureTransport(mTransportBinder, TRANSPORT_OK, TRANSPORT_OK); in testRun_callsObserverAndListenerCorrectly() 133 verify(mObserver).onResult(eq(mTransportName), eq(TRANSPORT_OK)); in testRun_callsObserverAndListenerCorrectly() 134 verify(mObserver).backupFinished(eq(TRANSPORT_OK)); in testRun_callsObserverAndListenerCorrectly() 180 configureTransport(mTransportBinder, TRANSPORT_OK, TRANSPORT_ERROR); in testRun_whenFinishBackupFails() 194 configureTransport(mTransportBinder, TRANSPORT_OK, TRANSPORT_ERROR); in testRun_whenFinishBackupFails_callsObserverAndListenerCorrectly() 207 configureTransport(mTransportBinder, TRANSPORT_OK, TRANSPORT_ERROR); in testRun_whenFinishBackupFails_schedulesAlarm() 222 configureTransport(transportMocks.get(1).transport, TRANSPORT_OK, TRANSPORT_OK); in testRun_whenOnlyOneTransportFails() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/internal/ |
D | PerformBackupTask.java | 266 mStatus = BackupTransport.TRANSPORT_OK; in beginBackup() 312 if (mStatus == BackupTransport.TRANSPORT_OK && pmState.length() <= 0) { in beginBackup() 319 if (mStatus == BackupTransport.TRANSPORT_OK) { in beginBackup() 335 if (mStatus == BackupTransport.TRANSPORT_OK) { in beginBackup() 347 if (mStatus != BackupTransport.TRANSPORT_OK) { in beginBackup() 383 if (mStatus != BackupTransport.TRANSPORT_OK) { in backupPm() 405 mStatus = BackupTransport.TRANSPORT_OK; in invokeNextAgent() 509 if (mStatus != BackupTransport.TRANSPORT_OK) { in invokeNextAgent() 521 mStatus = BackupTransport.TRANSPORT_OK; in invokeNextAgent() 529 mStatus = BackupTransport.TRANSPORT_OK; in invokeNextAgent() [all …]
|
D | PerformInitializeTask.java | 113 int result = BackupTransport.TRANSPORT_OK; in run() 134 if (status == BackupTransport.TRANSPORT_OK) { in run() 139 if (status == BackupTransport.TRANSPORT_OK) { in run() 147 notifyResult(transportName, BackupTransport.TRANSPORT_OK); in run()
|
/frameworks/base/core/java/com/android/internal/backup/ |
D | LocalTransport.java | 174 return TRANSPORT_OK; in initializeDevice() 316 return TRANSPORT_OK; in performBackup() 409 return TRANSPORT_OK; in clearBackupData() 441 return TRANSPORT_OK; in tearDownFullBackup() 455 int result = TRANSPORT_OK; in checkFullBackupSize() 462 if (result != TRANSPORT_OK) { in checkFullBackupSize() 496 return TRANSPORT_OK; in performFullBackup() 545 return TRANSPORT_OK; in sendBackupData() 601 return TRANSPORT_OK; in startRestore() 695 return TRANSPORT_OK; in getRestoreData() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | PerformFullTransportBackupTask.java | 379 if (backupPackageStatus == BackupTransport.TRANSPORT_OK) { in run() 395 if (backupPackageStatus == BackupTransport.TRANSPORT_OK) { in run() 452 && backupPackageStatus == BackupTransport.TRANSPORT_OK); in run() 472 if (backupRunnerResult == BackupTransport.TRANSPORT_OK) { in run() 478 if (backupPackageStatus == BackupTransport.TRANSPORT_OK) { in run() 496 if (backupPackageStatus == BackupTransport.TRANSPORT_OK) { in run() 498 if (backupRunnerResult != BackupTransport.TRANSPORT_OK) { in run() 514 if (backupPackageStatus != BackupTransport.TRANSPORT_OK) { in run() 579 } else if (backupPackageStatus != BackupTransport.TRANSPORT_OK) { in run() 850 if (mPreflightResult == BackupTransport.TRANSPORT_OK) { in run() [all …]
|
D | FullBackupEngine.java | 193 return BackupTransport.TRANSPORT_OK; in preflightCheck() 244 result = BackupTransport.TRANSPORT_OK; in backupOnePackage()
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupTransport.java | 40 public static final int TRANSPORT_OK = 0; field in BackupTransport 498 return BackupTransport.TRANSPORT_OK; in checkFullBackupSize() 613 return BackupTransport.TRANSPORT_OK; in abortFullRestore()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | PerformUnifiedRestoreTask.java | 382 if (mStatus != BackupTransport.TRANSPORT_OK) { in startRestore() 701 if (transport.getRestoreData(stage) != BackupTransport.TRANSPORT_OK) { in initiateOneRestore() 864 int status = BackupTransport.TRANSPORT_OK; in run() 888 while (status == BackupTransport.TRANSPORT_OK) { in run() 916 status = BackupTransport.TRANSPORT_OK; in run() 965 if (status == BackupTransport.TRANSPORT_OK) { in run()
|
/frameworks/base/services/robotests/src/com/android/server/backup/ |
D | PerformBackupTaskTest.java | 339 return BackupTransport.TRANSPORT_OK; in mockAndVerifyTransportPerformBackupData() 355 .thenReturn(BackupTransport.TRANSPORT_OK); in testRunTask_whenPerformBackupSucceeds_callsTransportFinishBackup() 433 .thenReturn(BackupTransport.TRANSPORT_OK); in testRunTask_whenTransportRejectsFirstPackageButLastSucceeds() 455 .thenReturn(BackupTransport.TRANSPORT_OK); in testRunTask_whenTransportRejectsLastPackageButFirstSucceeds()
|
/frameworks/base/api/ |
D | system-current.txt | 652 field public static final int TRANSPORT_OK = 0; // 0x0
|
/frameworks/base/config/ |
D | hiddenapi-public-dex.txt | 2458 Landroid/app/backup/BackupTransport;->TRANSPORT_OK:I
|