Home
last modified time | relevance | path

Searched refs:BackupDataInput (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupDataTest.java83 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor()); in testSingle()
104 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor()); in testMultiple()
125 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor()); in testDelete()
149 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor()); in testMixed()
167 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor()); in testReadMockData()
196 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor()); in testReadRealData()
262 private void readAndVerifyEntity(BackupDataInput bdi, String expectedKey, byte[] expectedData) in readAndVerifyEntity()
277 private void readAndVerifyDeletedEntity(BackupDataInput bdi, String expectedKey) in readAndVerifyDeletedEntity()
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbRestoreEngine.java9 import android.app.backup.BackupDataInput;
111 BackupDataInput reader = new BackupDataInput(inputStream.getFD()); in sortKeyValueData()
124 private void copyKeysInLexicalOrder(BackupDataInput in, BackupDataOutput out) in copyKeysInLexicalOrder()
DPackageManagerBackupAgent.java20 import android.app.backup.BackupDataInput;
416 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) in onRestore()
438 private int getAncestralRecordVersionValue(BackupDataInput data) throws IOException { in getAncestralRecordVersionValue()
667 void consumeRestoreData(BackupDataInput data) throws IOException; in consumeRestoreData()
672 public void consumeRestoreData(BackupDataInput data) throws IOException { in consumeRestoreData()
759 public void consumeRestoreData(BackupDataInput data) throws IOException { in consumeRestoreData()
/frameworks/base/core/java/android/app/backup/
DBackupDataInputStream.java47 BackupDataInput mData;
51 BackupDataInputStream(BackupDataInput data) { in BackupDataInputStream()
DBackupDataInput.java64 public class BackupDataInput { class
79 public BackupDataInput(FileDescriptor fd) { in BackupDataInput() method in BackupDataInput
DFullBackupAgent.java37 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) in onRestore()
DBackupAgentHelper.java73 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) in onRestore()
DBackupAgent.java315 public abstract void onRestore(BackupDataInput data, int appVersionCode, in onRestore()
323 public void onRestore(BackupDataInput data, long appVersionCode, in onRestore()
1030 BackupDataInput input = new BackupDataInput(data.getFileDescriptor()); in doRestore()
DBackupHelperDispatcher.java107 public void performRestore(BackupDataInput input, int appVersionCode, in performRestore()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowBackupDataInput.java19 import android.app.backup.BackupDataInput;
35 @Implements(BackupDataInput.class)
/frameworks/base/services/robotests/backup/src/android/app/backup/
DForwardingBackupAgent.java63 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) in onRestore()
69 public void onRestore(BackupDataInput data, long appVersionCode, ParcelFileDescriptor newState) in onRestore()
/frameworks/base/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java21 import android.app.backup.BackupDataInput;
160 BackupDataInput data = new BackupDataInput(dataFile.getFD());
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
DHugeAgent.java20 import android.app.backup.BackupDataInput;
220 public void onRestore(BackupDataInput data, int appVersionCode, in onRestore()
/frameworks/base/core/java/com/android/server/backup/
DSystemBackupAgent.java21 import android.app.backup.BackupDataInput;
110 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) in onRestore()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/
DAppMetadataBackupWriterTest.java17 import android.app.backup.BackupDataInput;
402 BackupDataInput input = new BackupDataInput(new FileInputStream(file).getFD()); in getWrittenBytes()
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperBackupAgent.java25 import android.app.backup.BackupDataInput;
367 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) in onRestore()
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java20 import android.app.backup.BackupDataInput;
334 BackupDataInput changeSet = new BackupDataInput(data.getFileDescriptor()); in parseBackupStream()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java22 import android.app.backup.BackupDataInput;
223 public void onRestore(BackupDataInput data, int appVersionCode, in onRestore()
580 private void restoreSettings(BackupDataInput data, Uri contentUri, in restoreSettings()
746 private void restoreLockSettings(@UserIdInt int userId, BackupDataInput data) { in restoreLockSettings()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java33 import android.app.backup.BackupDataInput;
932 BackupDataInput backupDataInput = new BackupDataInput(backupData.getFileDescriptor()); in checkBackupData()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java76 import android.app.backup.BackupDataInput;
1298 BackupDataInput backupData = new BackupDataInput(inputStream.getFD()); in testRunTask_whenAgentWritesData_callsTransportPerformBackupWithAgentData()
1330 BackupDataInput backupData = new BackupDataInput(inputStream.getFD()); in testRunTask_whenPmAgentWritesData_callsTransportPerformBackupWithAgentData()
1851 BackupDataInput backupData = new BackupDataInput(inputStream.getFD()); in testRunTask_whenIncrementalAndTransportRequestsNonIncremental()
1856 BackupDataInput backupData = new BackupDataInput(inputStream.getFD()); in testRunTask_whenIncrementalAndTransportRequestsNonIncremental()
2763 private void assertDataHasKeyValue(BackupDataInput backupData, String key, byte[] value) in assertDataHasKeyValue()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java33 import android.app.backup.BackupDataInput;
726 BackupDataInput in = new BackupDataInput(stage.getFileDescriptor()); in initiateOneRestore()
/frameworks/base/config/
Dpreloaded-classes533 android.app.backup.BackupDataInput$EntityHeader
534 android.app.backup.BackupDataInput
Dboot-image-profile.txt2649 HPLandroid/app/backup/BackupDataInput;-><init>(Ljava/io/FileDescriptor;)V
2650 HPLandroid/app/backup/BackupDataInput;->finalize()V
2651 HPLandroid/app/backup/BackupDataInput;->getKey()Ljava/lang/String;
2652 HPLandroid/app/backup/BackupDataInput;->readNextHeader()Z
2653 HPLandroid/app/backup/BackupDataInput;->skipEntityData()V
32595 Landroid/app/backup/BackupDataInput$EntityHeader;
32596 Landroid/app/backup/BackupDataInput;
/frameworks/base/api/
Dsystem-current.txt759 public class BackupDataInput {
760 ctor public BackupDataInput(java.io.FileDescriptor);
/frameworks/base/non-updatable-api/
Dsystem-current.txt759 public class BackupDataInput {
760 ctor public BackupDataInput(java.io.FileDescriptor);

12