Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/
DBackupRestoreStorageTest.kt63 val unused = performBackup { data, newState -> storage.performBackup(null, data, newState) } in <lambda>()
72 val unused = performBackup { data, newState -> storage.performBackup(null, data, newState) } in <lambda>()
88 performBackup { data, newState -> storage.performBackup(null, data, newState) } in <lambda>()
127 performBackup { data, newState -> storage.performBackup(null, data, newState) } in <lambda>()
138 performBackup { data, newState -> in <lambda>()
140 storage.performBackup(it, data, newState) in <lambda>()
267 performBackup { data, newState -> backupAgentHelper.onBackup(null, data, newState) } in <lambda>()
318 storage.performBackup(null, data, it) in <lambda>()
345 fun performBackup(backup: (BackupDataOutput, ParcelFileDescriptor) -> Unit): Pair<File, File> { in <lambda>() method in com.android.settingslib.datastore.BackupRestoreStorageTest
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java328 verify(transportMock.transport, never()).performBackup(any(), any(), anyInt()); in testRunTask_whenQueueEmpty_doesNotCallTransport()
424 when(transportMock.transport.performBackup( in testRunTask_whenTransportReturnsTransportErrorForPm_cleansUpPmFiles()
439 when(transportMock.transport.performBackup( in testRunTask_whenTransportReturnsTransportErrorForPm_resetsBackupState()
589 verify(transportMock.transport, never()).performBackup(any(), any(), anyInt()); in testRunTask_whenTransportReturnsErrorForInitialization()
608 verify(transportMock.transport, never()).performBackup(any(), any(), anyInt()); in testRunTask_whenTransportThrowsDuringInitialization()
621 .performBackup(argThat(packageInfo(PACKAGE_1)), any(), anyInt()); in testRunTask_whenPackageUnknown()
638 .performBackup(argThat(packageInfo(PACKAGE_2)), any(), anyInt()); in testRunTask_whenFirstPackageUnknown_callsTransportForSecondPackage()
651 .performBackup(argThat(packageInfo(PACKAGE_1)), any(), anyInt()); in testRunTask_whenPackageNotEligibleForBackup()
667 .performBackup(argThat(packageInfo(PACKAGE_2)), any(), anyInt()); in testRunTask_whenFirstPackageNotEligibleForBackup_callsTransportForSecondPackage()
697 .performBackup(argThat(packageInfo(PACKAGE_2)), any(), anyInt()); in testRunTask_whenFirstPackageDoesFullBackup_callsTransportForSecondPackage()
[all …]
/frameworks/base/services/core/java/com/android/server/backup/
DAppGrammaticalGenderBackupHelper.java44 public void performBackup(ParcelFileDescriptor oldStateFd, BackupDataOutput data, in performBackup() method in AppGrammaticalGenderBackupHelper
51 super.performBackup(oldStateFd, data, newStateFd); in performBackup()
DSystemGrammaticalGenderBackupHelper.java44 public void performBackup(ParcelFileDescriptor oldStateFd, BackupDataOutput data, in performBackup() method in SystemGrammaticalGenderBackupHelper
51 super.performBackup(oldStateFd, data, newStateFd); in performBackup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/communal/data/backup/
DCommunalBackupHelperTest.kt87 underTest.performBackup(oldState = null, data = getBackupDataOutput(), newState = null) in backupAndRestoreCommunalHub()
103 underTest.performBackup(oldState = null, data = getBackupDataOutput(), newState = null) in backup_skippedWhenCommunalDisabled()
115 helper.performBackup(oldState = null, data = getBackupDataOutput(), newState = null) in backup_skippedForNonSystemUser()
/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
766 public void performBackup(PackageInfo packageInfo, ParcelFileDescriptor inFd, int flags, in performBackup() method in BackupTransport.TransportImpl
769 int result = BackupTransport.this.performBackup(packageInfo, inFd, flags); in performBackup()
DBackupHelper.java72 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() method
DBackupHelperWithLogger.java35 public abstract void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup() method in BackupHelperWithLogger
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/SystemUI/src/com/android/systemui/backup/
DBackupHelper.kt167 override fun performBackup( in performBackup() method in com.android.systemui.backup.BackupHelper.NoOverwriteFileBackupHelper
172 synchronized(lock) { super.performBackup(oldState, data, newState) } in performBackup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/backup/
DCommunalBackupHelper.kt35 override fun performBackup( in performBackup() method in com.android.systemui.communal.data.backup.CommunalBackupHelper
/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.aidl157 void performBackup(in PackageInfo packageInfo, in ParcelFileDescriptor inFd, int flags, in performBackup() method
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DBackupTransportClient.java169 public int performBackup(PackageInfo packageInfo, ParcelFileDescriptor inFd, int flags) in performBackup() method in BackupTransportClient
173 mTransportBinder.performBackup(packageInfo, inFd, flags, callback); in performBackup()
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java216 public int performBackup(PackageInfo packageInfo, ParcelFileDescriptor data) { in performBackup() method in LocalTransport
217 return performBackup(packageInfo, data, /*flags=*/ 0); in performBackup()
221 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/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/
DBackupRestoreStorage.kt83 final override fun performBackup( in <lambda>() method in com.android.settingslib.datastore.BackupRestoreStorage
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/transport/
DBackupTransportClientTest.java230 @Override public void performBackup(PackageInfo i, ParcelFileDescriptor fd, int f, in performBackup() method in BackupTransportClientTest.FakeTransportBinderBase

12