Home
last modified time | relevance | path

Searched refs:BackupDataWriter (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/jni/
Dandroid_backup_BackupDataOutput.cpp36 return (jlong)new BackupDataWriter(fd); in ctor_native()
42 delete (BackupDataWriter*)w; in dtor_native()
49 BackupDataWriter* writer = (BackupDataWriter*)w; in writeEntityHeader_native()
66 BackupDataWriter* writer = (BackupDataWriter*)w; in writeEntityData_native()
88 BackupDataWriter* writer = (BackupDataWriter*)w; in setKeyPrefix_native()
Dandroid_app_backup_FullBackup.cpp104 BackupDataWriter* writer = (bdo != NULL) in backupToTar()
105 ? (BackupDataWriter*) env->GetLongField(bdo, sBackupDataOutput.mBackupWriter) in backupToTar()
Dandroid_backup_FileBackupHelperBase.cpp49 BackupDataWriter* dataStream = (BackupDataWriter*)data; in performBackup_native()
/frameworks/base/include/androidfw/
DBackupHelpers.h67 class BackupDataWriter
70 BackupDataWriter(int fd);
72 ~BackupDataWriter();
88 explicit BackupDataWriter();
136 int back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapshotFD,
141 BackupDataWriter* outputStream);
/frameworks/base/libs/androidfw/tests/
DBackupData_test.cpp76 BackupDataWriter* writer = new BackupDataWriter(fd); in TEST_F()
118 BackupDataWriter* writer = new BackupDataWriter(fd); in TEST_F()
166 BackupDataWriter* writer = new BackupDataWriter(fd); in TEST_F()
221 BackupDataWriter* writer = new BackupDataWriter(fd); in TEST_F()
260 BackupDataWriter* writer = new BackupDataWriter(fd); in TEST_F()
321 BackupDataWriter* writer = new BackupDataWriter(fd); in TEST_F()
389 BackupDataWriter* writer = new BackupDataWriter(fd); in TEST_F()
/frameworks/base/libs/androidfw/
DBackupData.cpp53 BackupDataWriter::BackupDataWriter(int fd) in BackupDataWriter() function in android::BackupDataWriter
62 BackupDataWriter::~BackupDataWriter() in ~BackupDataWriter()
68 BackupDataWriter::write_padding_for(int n) in write_padding_for()
88 BackupDataWriter::WriteEntityHeader(const String8& key, size_t dataSize) in WriteEntityHeader()
147 BackupDataWriter::WriteEntityData(const void* data, size_t size) in WriteEntityData()
172 BackupDataWriter::SetKeyPrefix(const String8& keyPrefix) in SetKeyPrefix()
DBackupHelpers.cpp205 write_delete_file(BackupDataWriter* dataStream, const String8& key) in write_delete_file()
212 write_update_file(BackupDataWriter* dataStream, int fd, int mode, const String8& key, in write_update_file()
287 write_update_file(BackupDataWriter* dataStream, const String8& key, char const* realFilename) in write_update_file()
334 back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapshotFD, in back_up_files()
474 void send_tarfile_chunk(BackupDataWriter* writer, const char* buffer, size_t size) { in send_tarfile_chunk()
482 BackupDataWriter* writer) in write_tarfile()
1139 test_write_header_and_entity(BackupDataWriter& writer, const char* str) in test_write_header_and_entity()
1176 BackupDataWriter writer(fd); in backup_helper_test_data_writer()
1391 BackupDataWriter dataStream(dataStreamFD); in backup_helper_test_files()
1460 BackupDataWriter dataStream(dataStreamFD); in backup_helper_test_files()
[all …]