Home
last modified time | relevance | path

Searched refs:BackupDataOutput (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/base/core/java/android/app/backup/
DFullBackupDataOutput.java15 private final BackupDataOutput mData;
58 mData = new BackupDataOutput(fd.getFileDescriptor(), quota, 0); in FullBackupDataOutput()
65 mData = new BackupDataOutput(fd.getFileDescriptor(), quota, transportFlags); in FullBackupDataOutput()
78 public BackupDataOutput getData() { return mData; } in getData()
DBackupDataOutput.java67 public class BackupDataOutput { class
80 public BackupDataOutput(FileDescriptor fd) { in BackupDataOutput() method in BackupDataOutput
86 public BackupDataOutput(FileDescriptor fd, long quota) { in BackupDataOutput() method in BackupDataOutput
91 public BackupDataOutput(FileDescriptor fd, long quota, int transportFlags) { in BackupDataOutput() method in BackupDataOutput
DBackupHelper.java72 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup()
DFullBackupAgent.java31 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in onBackup()
DBackupHelperWithLogger.java35 public abstract void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup()
DBackupHelperDispatcher.java48 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup()
82 private void doOneBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in doOneBackup()
DBackupAgentHelper.java64 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in onBackup()
DAbsoluteFileBackupHelper.java57 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup()
DSharedPreferencesBackupHelper.java94 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in performBackup()
/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupDataTest.java76 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor()); in testSingle()
95 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor()); in testMultiple()
116 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor()); in testDelete()
138 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor()); in testMixed()
246 private void writeEntity(BackupDataOutput bdo, String key, byte[] data) throws IOException { in writeEntity()
256 private void deleteEntity(BackupDataOutput bdo, String key) throws IOException { in deleteEntity()
/frameworks/base/packages/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/
DBackupRestoreContextTest.kt19 import android.app.backup.BackupDataOutput
34 val data = mock<BackupDataOutput> { on { quota } doReturn 10L } in backupContext_quota()
41 val data = mock<BackupDataOutput> { on { transportFlags } doReturn 5 } in backupContext_transportFlags()
DBackupRestoreStorageTest.kt22 import android.app.backup.BackupDataOutput in <lambda>()
314 val data = mock<BackupDataOutput>() in <lambda>()
345 fun performBackup(backup: (BackupDataOutput, ParcelFileDescriptor) -> Unit): Pair<File, File> { in <lambda>()
377 private fun FileDescriptor.toBackupDataOutput(): BackupDataOutput = in <lambda>()
378 BackupDataOutput::class.java.newInstance(this) in <lambda>()
/frameworks/base/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/
DBackupRestoreContext.kt20 import android.app.backup.BackupDataOutput
34 private val data: BackupDataOutput,
DBackupRestoreEntity.kt19 import android.app.backup.BackupDataOutput
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbRestoreEngine.java10 import android.app.backup.BackupDataOutput;
112 BackupDataOutput writer = new BackupDataOutput(outputStream.getFD()); in sortKeyValueData()
124 private void copyKeysInLexicalOrder(BackupDataInput in, BackupDataOutput out) in copyKeysInLexicalOrder()
/frameworks/base/services/core/java/com/android/server/backup/
DAppGrammaticalGenderBackupHelper.java22 import android.app.backup.BackupDataOutput;
44 public void performBackup(ParcelFileDescriptor oldStateFd, BackupDataOutput data, in performBackup()
DSystemGrammaticalGenderBackupHelper.java22 import android.app.backup.BackupDataOutput;
44 public void performBackup(ParcelFileDescriptor oldStateFd, BackupDataOutput data, in performBackup()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowBackupDataOutput.java19 import android.app.backup.BackupDataOutput;
34 @Implements(BackupDataOutput.class)
DShadowFullBackup.java3 import android.app.backup.BackupDataOutput;
41 BackupDataOutput backupDataOutput = output.getData(); in backupToTar()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/communal/data/backup/
DCommunalBackupHelperTest.kt21 import android.app.backup.BackupDataOutput
152 private fun getBackupDataOutput(): BackupDataOutput { in getBackupDataOutput()
153 return BackupDataOutput(FileOutputStream(backupDataFile).fd) in getBackupDataOutput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/backup/
DCommunalBackupHelper.kt20 import android.app.backup.BackupDataOutput
37 data: BackupDataOutput?, in performBackup()
/frameworks/base/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java22 import android.app.backup.BackupDataOutput;
144 BackupDataOutput data = new BackupDataOutput(dataFile.getFD());
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DPackageManagerBackupAgentTest.java26 import android.app.backup.BackupDataOutput;
244 new BackupDataOutput(backupDataDescriptor.getFileDescriptor()), in runBackupAgentOnBackup()
264 BackupDataOutput output = new BackupDataOutput(outputDescriptor.getFileDescriptor()); in deleteKeyFromBackupData()
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
DHugeAgent.java21 import android.app.backup.BackupDataOutput;
87 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in onBackup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/backup/
DBackupHelper.kt21 import android.app.backup.BackupDataOutput
169 data: BackupDataOutput?, in performBackup()

123