Home
last modified time | relevance | path

Searched refs:performBackup (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
DEncryptedKvBackupTaskTest.java152 assertThrows(IOException.class, () -> mTask.performBackup(NON_INCREMENTAL)); in testPerformBackup_rotationRequired_deletesListings()
170 () -> mTask.performBackup(INCREMENTAL)); in testPerformBackup_rotationRequiredButIncremental_throws()
185 mTask.performBackup(NON_INCREMENTAL); in testPerformBackup_rotationRequiredAndNonIncremental_performsNonIncrementalBackup()
204 assertThrows(IOException.class, () -> mTask.performBackup(NON_INCREMENTAL)); in testPerformBackup_existingStateButNonIncremental_deletesListings()
221 assertThrows(IOException.class, () -> mTask.performBackup(NON_INCREMENTAL)); in testPerformBackup_keyValueListingMissing_deletesChunkListingAndPerformsNonIncremental()
239 assertThrows(IOException.class, () -> mTask.performBackup(NON_INCREMENTAL)); in testPerformBackup_chunkListingMissing_deletesKeyValueListingAndPerformsNonIncremental()
256 mTask.performBackup(INCREMENTAL); in testPerformBackup_existingStateAndIncremental_performsIncrementalBackup()
267 mTask.performBackup(NON_INCREMENTAL); in testPerformBackup_noExistingStateAndNonIncremental_performsNonIncrementalBackup()
282 mTask.performBackup(INCREMENTAL); in testPerformBackup_incremental_savesNewListings()
294 mTask.performBackup(NON_INCREMENTAL); in testPerformBackup_nonIncremental_savesNewListings()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java317 verify(transportMock.transport, never()).performBackup(any(), any(), anyInt()); in testRunTask_whenQueueEmpty_doesNotCallTransport()
413 when(transportMock.transport.performBackup( in testRunTask_whenTransportReturnsTransportErrorForPm_cleansUpPmFiles()
428 when(transportMock.transport.performBackup( in testRunTask_whenTransportReturnsTransportErrorForPm_resetsBackupState()
578 verify(transportMock.transport, never()).performBackup(any(), any(), anyInt()); in testRunTask_whenTransportReturnsErrorForInitialization()
597 verify(transportMock.transport, never()).performBackup(any(), any(), anyInt()); in testRunTask_whenTransportThrowsDuringInitialization()
610 .performBackup(argThat(packageInfo(PACKAGE_1)), any(), anyInt()); in testRunTask_whenPackageUnknown()
627 .performBackup(argThat(packageInfo(PACKAGE_2)), any(), anyInt()); in testRunTask_whenFirstPackageUnknown_callsTransportForSecondPackage()
640 .performBackup(argThat(packageInfo(PACKAGE_1)), any(), anyInt()); in testRunTask_whenPackageNotEligibleForBackup()
656 .performBackup(argThat(packageInfo(PACKAGE_2)), any(), anyInt()); in testRunTask_whenFirstPackageNotEligibleForBackup_callsTransportForSecondPackage()
686 .performBackup(argThat(packageInfo(PACKAGE_2)), any(), anyInt()); in testRunTask_whenFirstPackageDoesFullBackup_callsTransportForSecondPackage()
[all …]
/frameworks/base/core/java/android/app/backup/
DBackupTransport.java330 public int performBackup(PackageInfo packageInfo, ParcelFileDescriptor inFd, int flags) { in performBackup() method in BackupTransport
331 return performBackup(packageInfo, inFd); in performBackup()
338 public int performBackup(PackageInfo packageInfo, ParcelFileDescriptor inFd) { in performBackup() method in BackupTransport
751 public void performBackup(PackageInfo packageInfo, ParcelFileDescriptor inFd, int flags, in performBackup() method in BackupTransport.TransportImpl
754 int result = BackupTransport.this.performBackup(packageInfo, inFd, flags); in performBackup()
DBackupHelper.java72 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() method
DBackupHelperDispatcher.java48 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() method in BackupHelperDispatcher
97 helper.performBackup(oldState, data, newState); in doOneBackup()
DBackupAgentHelper.java66 mDispatcher.performBackup(oldState, data, newState); in onBackup()
DAbsoluteFileBackupHelper.java57 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() method in AbsoluteFileBackupHelper
DSharedPreferencesBackupHelper.java94 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() method in SharedPreferencesBackupHelper
DFileBackupHelper.java73 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() method in FileBackupHelper
DWallpaperBackupHelper.java77 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() method in WallpaperBackupHelper
DBlobBackupHelper.java239 public void performBackup(ParcelFileDescriptor oldStateFd, BackupDataOutput data, in performBackup() method in BlobBackupHelper
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
DEncryptedBackupTask.java103 performBackup( in performNonIncrementalBackup()
126 performBackup( in performIncrementalBackup()
160 private ChunksMetadataProto.ChunkListing performBackup( in performBackup() method in EncryptedBackupTask
DEncryptedKvBackupTask.java146 public void performBackup(boolean incremental) in performBackup() method in EncryptedKvBackupTask
/frameworks/base/packages/SystemUI/src/com/android/systemui/backup/
DBackupHelper.kt133 override fun performBackup( in performBackup() method in com.android.systemui.backup.BackupHelper.NoOverwriteFileBackupHelper
138 synchronized(lock) { super.performBackup(oldState, data, newState) } in performBackup()
/frameworks/base/packages/EncryptedLocalTransport/src/com/android/encryptedlocaltransport/
DEncryptedLocalTransport.java51 public int performBackup( in performBackup() method in EncryptedLocalTransport
/frameworks/base/core/java/com/android/internal/backup/
DIBackupTransport.aidl156 void performBackup(in PackageInfo packageInfo, in ParcelFileDescriptor inFd, int flags, in performBackup() method
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/
DKeyValueEncrypter.java61 backupTask.performBackup(/* incremental */ false); in encryptKeyValueData()
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/transport/
DBackupTransportClient.java166 public int performBackup(PackageInfo packageInfo, ParcelFileDescriptor inFd, int flags) in performBackup() method in BackupTransportClient
170 mTransportBinder.performBackup(packageInfo, inFd, flags, callback); in performBackup()
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java202 public int performBackup(PackageInfo packageInfo, ParcelFileDescriptor data) { in performBackup() method in LocalTransport
203 return performBackup(packageInfo, data, /*flags=*/ 0); in performBackup()
207 public int performBackup(PackageInfo packageInfo, ParcelFileDescriptor data, int flags) { in performBackup() method in LocalTransport
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleBackupHelper.java121 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() method in PeopleBackupHelper
148 super.performBackup(oldState, data, newState); in performBackup()
/frameworks/base/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java145 h.performBackup(null, data, state);
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/transport/
DBackupTransportClientTest.java230 @Override public void performBackup(PackageInfo i, ParcelFileDescriptor fd, int f, in performBackup() method in BackupTransportClientTest.FakeTransportBinderBase
/frameworks/base/packages/BackupEncryption/test/robolectric-integration/src/com/android/server/backup/encryption/
DRoundTripTest.java178 backupTask.performBackup(/* incremental */ false); in performNonIncrementalKeyValueBackup()
/frameworks/base/core/java/com/android/server/backup/
DAccountSyncSettingsBackupHelper.java98 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput output, in performBackup() method in AccountSyncSettingsBackupHelper
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java484 int result = transport.performBackup(packageInfo, pfd, flags); in sendNoDataChangedTo()
1093 status = transport.performBackup(packageInfo, backupData, flags); in transportPerformBackup()

12