Home
last modified time | relevance | path

Searched refs:finishBackup (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/app/backup/
DBackupTransport.java268 public int finishBackup() { in finishBackup() method in BackupTransport
713 public int finishBackup() throws RemoteException { in finishBackup() method in BackupTransport.TransportImpl
714 return BackupTransport.this.finishBackup(); in finishBackup()
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/transport/
DDelegatingTransport.java208 public int finishBackup() throws RemoteException { in finishBackup() method in DelegatingTransport
209 return getDelegate().finishBackup(); in finishBackup()
/frameworks/base/core/java/com/android/internal/backup/
DIBackupTransport.aidl165 int finishBackup(); in finishBackup() method
/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/
DPerformInitializeTaskTest.java110 verify(mTransportBinder).finishBackup(); in testRun_callsTransportCorrectly()
149 verify(mTransportBinder, never()).finishBackup(); in testRun_whenInitializeDeviceFails()
188 verify(mTransportBinder).finishBackup(); in testRun_whenFinishBackupFails()
384 when(transportMock.finishBackup()).thenReturn(finishBackupStatus); in configureTransport()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/transport/
DDelegatingTransportTest.java193 when(mBackupTransport.finishBackup()).thenReturn(exp); in testFinishBackup()
195 int ret = mDelegatingTransport.finishBackup(); in testFinishBackup()
198 verify(mBackupTransport, times(1)).finishBackup(); in testFinishBackup()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DPerformClearTask.java69 transport.finishBackup(); in run()
DPerformInitializeTask.java136 status = transport.finishBackup(); in run()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java310 verify(transportMock.transport, never()).finishBackup(); in testRunTask_whenQueueEmpty_doesNotCallTransport()
1353 verify(transportMock.transport, times(2)).finishBackup(); in testRunTask_whenPerformBackupSucceeds_callsTransportFinishBackup()
1359 when(transportMock.transport.finishBackup()).thenReturn(BackupTransport.TRANSPORT_OK); in testRunTask_whenFinishBackupSucceeds_updatesFilesAndCleansUp()
1380 when(transportMock.transport.finishBackup()).thenReturn(BackupTransport.TRANSPORT_OK); in testRunTask_whenFinishBackupSucceedsForPm_cleansUp()
1404 when(transportMock.transport.finishBackup()).thenReturn(BackupTransport.TRANSPORT_OK); in testRunTask_whenFinishBackupSucceedsForPm_doesNotUnbindPm()
1473 verify(transportMock.transport, times(1)).finishBackup(); in testRunTask_whenTransportRejectsPackage_doesNotCallFinishBackup()
2156 verify(transportMock.transport, times(1)).finishBackup(); in testRunTask_whenMarkCancelDuringAgentOnBackup_doesNotCallTransportForPackage()
2182 inOrder.verify(transportMock.transport).finishBackup(); in testRunTask_whenMarkCancelDuringTransportPerformBackup_callsTransportForPackage()
2208 inOrder.verify(transportMock.transport).finishBackup(); in testRunTask_whenMarkCancelDuringSecondAgentOnBackup_callsTransportForFirstPackageButNotForSecond()
2235 inOrder.verify(transportMock.transport).finishBackup(); in testRunTask_whenMarkCancelDuringTransportPerformBackupForFirstPackage_callsTransportForFirstPackageButNotForSecond()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java484 transport.finishBackup(); in sendNoDataChangedTo()
1063 status = transport.finishBackup(); in transportPerformBackup()
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java438 public int finishBackup() { in finishBackup() method in LocalTransport
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformFullTransportBackupTask.java485 final int finishResult = transport.finishBackup(); in run()
/frameworks/base/non-updatable-api/
Dsystem-current.txt1022 method public int finishBackup();
/frameworks/base/api/
Dsystem-current.txt1074 method public int finishBackup();