platform_system_core/libsparse
David Anderson a7fd7b1689 libsparse: Don't spam errors in sparse_file_import_auto.
This function is intended for use on sparse or non-sparse files. But
when used on non-sparse files, it unintentionally reports errors when
trying to detect if the file is sparse or not.

Since the behavior is the same whether or not the detection fails, this
patch disables verbose errors during the import. Verbose errors are
turned on if a resparse is needed.

Bug: 210846593
Test: fastboot flashall
Change-Id: I8404ca7a67adc7fba8a3ac7b4ffa18abfbcafa9d
2022-06-01 18:36:04 -07:00
..
include/sparse Merge changes from topic "sparse-file-read-enum" 2022-01-28 05:28:04 +00:00
.clang-format libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
Android.bp Add checking for sparse file format 2022-01-14 00:37:48 +00:00
append2simg.cpp libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
backed_block.cpp libsparse: Fix overflow of merged sparse chunk length 2020-08-11 08:34:28 +09:00
backed_block.h libsparse: Fix overflow of merged sparse chunk length 2020-08-11 08:34:28 +09:00
defs.h libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
img2simg.cpp img2simg: Add support for converting holes to "don't care" chunks 2022-01-27 14:49:46 -05:00
output_file.cpp Add checking for sparse file format 2022-01-14 00:37:48 +00:00
output_file.h libsparse: Fix overflow of merged sparse chunk length 2020-08-11 08:34:28 +09: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: no xrange() in python3. 2022-01-18 17:26:56 -08:00
sparse.cpp libsparse: Fix overflow of merged sparse chunk length 2020-08-11 08:34:28 +09: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_fuzzer.cpp sparse_fuzzer: Bug fix 2022-04-04 14:03:55 +05:30
sparse_read.cpp libsparse: Don't spam errors in sparse_file_import_auto. 2022-06-01 18:36:04 -07:00