platform_system_core/libsparse
Jerry Zhang db69f0d47f libsparse: Add sparse typed callback
Currently, sparse_file_callback uses libsparse's
own logic for reading a file into a buffer. However,
a caller may want to use their own logic for doing
this in order to customize the buffer size and parallelize
the reads/writes. Also, a caller may want to implement
fill blocks with their own logic as well. To do this
add sparse_file_typed_callback which calls a different
callback function depending on the type of the sparse
chunk being written.

Test: Use typed callback for fd writes
Bug: 78793464
Change-Id: I75955a464fc05991f806339830fdfa05fda354b9
2018-07-25 11:04:03 -07:00
..
include/sparse libsparse: Add sparse typed callback 2018-07-25 11:04:03 -07:00
.clang-format libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
Android.bp libsparse: Change source files to cpp 2018-06-13 11:17:22 -07:00
Android.mk Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
append2simg.cpp libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
backed_block.cpp [libsparse] Modernize codebase by replacing NULL with nullptr 2018-07-23 23:32:01 +00:00
backed_block.h libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
defs.h libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
img2simg.cpp libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
output_file.cpp libsparse: Add sparse typed callback 2018-07-25 11:04:03 -07:00
output_file.h libsparse: Add sparse typed callback 2018-07-25 11:04:03 -07:00
OWNERS libsparse: add OWNERS. 2018-06-13 12:43:08 -07:00
simg2img.cpp libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
simg2simg.cpp [libsparse] Modernize codebase by replacing NULL with nullptr 2018-07-23 23:32:01 +00:00
simg_dump.py libsparse: Add .csv and sha1 options for simg_dump.py 2016-10-03 15:34:37 -07:00
sparse.cpp libsparse: Add sparse typed callback 2018-07-25 11:04:03 -07:00
sparse_crc32.cpp libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
sparse_crc32.h libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
sparse_defs.h libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
sparse_err.cpp libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
sparse_file.h libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
sparse_format.h libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
sparse_read.cpp [libsparse] Modernize codebase by replacing NULL with nullptr 2018-07-23 23:32:01 +00:00