179ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tatepackage android.app.backup; 279ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tate 379ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tateimport android.os.ParcelFileDescriptor; 479ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tate 579ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tate/** 679ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tate * Provides the interface through which a {@link BackupAgent} writes entire files 779ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tate * to a full backup data set, via its {@link BackupAgent#onFullBackup(FullBackupDataOutput)} 879ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tate * method. 979ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tate */ 1079ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tatepublic class FullBackupDataOutput { 1179ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tate // Currently a name-scoping shim around BackupDataOutput 1279ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tate private BackupDataOutput mData; 1379ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tate 1479ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tate /** @hide */ 1579ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tate public FullBackupDataOutput(ParcelFileDescriptor fd) { 1679ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tate mData = new BackupDataOutput(fd.getFileDescriptor()); 1779ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tate } 1879ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tate 1979ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tate /** @hide */ 2079ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tate public BackupDataOutput getData() { return mData; } 2179ec80db70d788f35aa13346e4684ecbd401bd84Christopher Tate} 22