Home
last modified time | relevance | path

Searched refs:WriteEntityHeader (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DBackupData_test.cpp78 EXPECT_EQ(NO_ERROR, writer->WriteEntityHeader(mKey1, sizeof(DATA1))) in TEST_F()
119 writer->WriteEntityHeader(mKey1, sizeof(DATA1)); in TEST_F()
121 writer->WriteEntityHeader(mKey2, sizeof(DATA2)); in TEST_F()
167 writer->WriteEntityHeader(mKey1, sizeof(DATA1)); in TEST_F()
169 writer->WriteEntityHeader(mKey2, sizeof(DATA2)); in TEST_F()
171 writer->WriteEntityHeader(mKey3, sizeof(DATA3)); in TEST_F()
222 writer->WriteEntityHeader(mKey1, sizeof(DATA1)); in TEST_F()
224 writer->WriteEntityHeader(mKey2, -1); in TEST_F()
261 writer->WriteEntityHeader(mKey1, sizeof(DATA1)); in TEST_F()
263 writer->WriteEntityHeader(mKey2, -1); in TEST_F()
[all …]
/frameworks/base/core/jni/
Dandroid_backup_BackupDataOutput.cpp55 err = writer->WriteEntityHeader(String8(keyUTF), dataSize); in writeEntityHeader_native()
/frameworks/base/libs/androidfw/include/androidfw/
DBackupHelpers.h74 status_t WriteEntityHeader(const String8& key, size_t dataSize);
/frameworks/base/libs/androidfw/
DBackupData.cpp87 BackupDataWriter::WriteEntityHeader(const String8& key, size_t dataSize) in WriteEntityHeader() function in android::BackupDataWriter
DBackupHelpers.cpp207 return dataStream->WriteEntityHeader(key, -1); in write_delete_file()
233 err = dataStream->WriteEntityHeader(key, bytesLeft); in write_update_file()
1149 err = writer.WriteEntityHeader(text, text.length()+1); in test_write_header_and_entity()