Home
last modified time | relevance | path

Searched refs:TRANSPORT_NOT_INITIALIZED (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DTaskExceptionTest.java45 Exception cause = TaskException.forStatus(BackupTransport.TRANSPORT_NOT_INITIALIZED); in testStateCompromised_whenCauseInstanceOfTaskException()
50 assertThat(exception.getStatus()).isEqualTo(BackupTransport.TRANSPORT_NOT_INITIALIZED); in testStateCompromised_whenCauseInstanceOfTaskException()
75 TaskException.forStatus(BackupTransport.TRANSPORT_NOT_INITIALIZED); in testForStatus_whenTransportNotInitialized()
78 assertThat(exception.getStatus()).isEqualTo(BackupTransport.TRANSPORT_NOT_INITIALIZED); in testForStatus_whenTransportNotInitialized()
83 Exception cause = TaskException.forStatus(BackupTransport.TRANSPORT_NOT_INITIALIZED); in testCausedBy_whenCauseInstanceOfTaskException_returnsCause()
141 TaskException.forStatus(BackupTransport.TRANSPORT_NOT_INITIALIZED); in testGetStatus_whenStatusIsTransportNotInitialized()
145 assertThat(status).isEqualTo(BackupTransport.TRANSPORT_NOT_INITIALIZED); in testGetStatus_whenStatusIsTransportNotInitialized()
DKeyValueBackupTaskTest.java1646 .thenReturn(BackupTransport.TRANSPORT_NOT_INITIALIZED); in testRunTask_whenTransportReturnsNotInitialized_cleansUpFiles()
1661 .thenReturn(BackupTransport.TRANSPORT_NOT_INITIALIZED); in testRunTask_whenTransportReturnsNotInitialized_reportsCorrectly()
1678 .thenReturn(BackupTransport.TRANSPORT_NOT_INITIALIZED); in testRunTask_whenTransportReturnsNotInitializedForPm_reportsCorrectly()
1695 .thenReturn(BackupTransport.TRANSPORT_NOT_INITIALIZED); in testRunTask_whenTransportReturnsNotInitialized_doesNotCallSecondAgent()
1710 .thenReturn(BackupTransport.TRANSPORT_NOT_INITIALIZED); in testRunTask_whenTransportReturnsNotInitialized_revertsTask()
1725 .thenReturn(BackupTransport.TRANSPORT_NOT_INITIALIZED); in testRunTask_whenTransportReturnsNotInitialized_triggersTransportInitialization()
1741 .thenReturn(BackupTransport.TRANSPORT_NOT_INITIALIZED); in testRunTask_whenTransportReturnsNotInitialized_cleansUpPmStateFile()
1757 .thenReturn(BackupTransport.TRANSPORT_NOT_INITIALIZED); in testRunTask_whenTransportReturnsNotInitializedForPm_cleansUpPmStateFile()
1773 .thenReturn(BackupTransport.TRANSPORT_NOT_INITIALIZED); in testRunTask_whenTransportReturnsNotInitializedAndThrowsWhenQueryingName_reportsCorrectly()
/frameworks/base/core/java/android/app/backup/
DBackupTransport.java49 public static final int TRANSPORT_NOT_INITIALIZED = -1001; field in BackupTransport
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java555 if (status == BackupTransport.TRANSPORT_NOT_INITIALIZED) { in finishTask()
605 case BackupTransport.TRANSPORT_NOT_INITIALIZED: in getBackupFinishedStatus()
/frameworks/base/api/
Dsystem-current.txt906 field public static final int TRANSPORT_NOT_INITIALIZED = -1001; // 0xfffffc17