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/libs/androidfw/include/androidfw/
DBackupHelpers.h67 class BackupDataWriter
70 explicit 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.cpp52 BackupDataWriter::BackupDataWriter(int fd) in BackupDataWriter() function in android::BackupDataWriter
61 BackupDataWriter::~BackupDataWriter() in ~BackupDataWriter()
67 BackupDataWriter::write_padding_for(int n) in write_padding_for()
87 BackupDataWriter::WriteEntityHeader(const String8& key, size_t dataSize) in WriteEntityHeader()
146 BackupDataWriter::WriteEntityData(const void* data, size_t size) in WriteEntityData()
171 BackupDataWriter::SetKeyPrefix(const String8& keyPrefix) in SetKeyPrefix()
DBackupHelpers.cpp204 write_delete_file(BackupDataWriter* dataStream, const String8& key) in write_delete_file()
211 write_update_file(BackupDataWriter* dataStream, int fd, int mode, const String8& key, in write_update_file()
286 write_update_file(BackupDataWriter* dataStream, const String8& key, char const* realFilename) in write_update_file()
333 back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapshotFD, in back_up_files()
475 void send_tarfile_chunk(BackupDataWriter* writer, const char* buffer, size_t size) { in send_tarfile_chunk()
483 BackupDataWriter* writer) in write_tarfile()
1144 test_write_header_and_entity(BackupDataWriter& writer, const char* str) in test_write_header_and_entity()
1181 BackupDataWriter writer(fd); in backup_helper_test_data_writer()
1396 BackupDataWriter dataStream(dataStreamFD); in backup_helper_test_files()
1465 BackupDataWriter dataStream(dataStreamFD); in backup_helper_test_files()
[all …]