/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/ |
D | EncryptedKvBackupTaskTest.java | 152 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/ |
D | KeyValueBackupTaskTest.java | 317 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/ |
D | BackupTransport.java | 330 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()
|
D | BackupHelper.java | 72 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() method
|
D | BackupHelperDispatcher.java | 48 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() method in BackupHelperDispatcher 97 helper.performBackup(oldState, data, newState); in doOneBackup()
|
D | BackupAgentHelper.java | 66 mDispatcher.performBackup(oldState, data, newState); in onBackup()
|
D | AbsoluteFileBackupHelper.java | 57 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() method in AbsoluteFileBackupHelper
|
D | SharedPreferencesBackupHelper.java | 94 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() method in SharedPreferencesBackupHelper
|
D | FileBackupHelper.java | 73 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() method in FileBackupHelper
|
D | WallpaperBackupHelper.java | 77 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() method in WallpaperBackupHelper
|
D | BlobBackupHelper.java | 239 public void performBackup(ParcelFileDescriptor oldStateFd, BackupDataOutput data, in performBackup() method in BlobBackupHelper
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/ |
D | EncryptedBackupTask.java | 103 performBackup( in performNonIncrementalBackup() 126 performBackup( in performIncrementalBackup() 160 private ChunksMetadataProto.ChunkListing performBackup( in performBackup() method in EncryptedBackupTask
|
D | EncryptedKvBackupTask.java | 146 public void performBackup(boolean incremental) in performBackup() method in EncryptedKvBackupTask
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/backup/ |
D | BackupHelper.kt | 133 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/ |
D | EncryptedLocalTransport.java | 51 public int performBackup( in performBackup() method in EncryptedLocalTransport
|
/frameworks/base/core/java/com/android/internal/backup/ |
D | IBackupTransport.aidl | 156 void performBackup(in PackageInfo packageInfo, in ParcelFileDescriptor inFd, int flags, in performBackup() method
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/ |
D | KeyValueEncrypter.java | 61 backupTask.performBackup(/* incremental */ false); in encryptKeyValueData()
|
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/transport/ |
D | BackupTransportClient.java | 166 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/ |
D | LocalTransport.java | 202 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/ |
D | PeopleBackupHelper.java | 121 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/ |
D | BackupTestActivity.java | 145 h.performBackup(null, data, state);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/transport/ |
D | BackupTransportClientTest.java | 230 @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/ |
D | RoundTripTest.java | 178 backupTask.performBackup(/* incremental */ false); in performNonIncrementalKeyValueBackup()
|
/frameworks/base/core/java/com/android/server/backup/ |
D | AccountSyncSettingsBackupHelper.java | 98 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput output, in performBackup() method in AccountSyncSettingsBackupHelper
|
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTask.java | 484 int result = transport.performBackup(packageInfo, pfd, flags); in sendNoDataChangedTo() 1093 status = transport.performBackup(packageInfo, backupData, flags); in transportPerformBackup()
|