/system/core/fastboot/fuzzy_fastboot/ |
D | test_utils.h | 54 sparse = sparse_file_new(block_size, len); in SparseWrapper() 57 SparseWrapper(struct sparse_file* sf) { sparse = sf; } in SparseWrapper() 60 if (sparse) { in ~SparseWrapper() 61 sparse_file_destroy(sparse); in ~SparseWrapper() 66 unsigned bs = sparse_file_block_size(sparse); in Rep() 67 unsigned len = sparse_file_len(sparse, true, false); in Rep() 72 return sparse; 75 struct sparse_file* sparse; member
|
D | main.cpp | 562 SparseWrapper sparse(bs, bs); in TEST_F() local 563 ASSERT_TRUE(*sparse) << "Sparse file creation failed on: " << bs; in TEST_F() 564 EXPECT_EQ(fb->Download(*sparse), SUCCESS) << "Download sparse failed: " << sparse.Rep(); in TEST_F() 565 EXPECT_EQ(fb->Flash("userdata"), SUCCESS) << "Flashing sparse failed: " << sparse.Rep(); in TEST_F() 577 SparseWrapper sparse(bs, bs); in TEST_F() local 578 ASSERT_TRUE(*sparse) << "Sparse file creation failed on: " << bs; in TEST_F() 580 ASSERT_EQ(sparse_file_add_data(*sparse, buf.data(), buf.size(), 0), 0) in TEST_F() 581 << "Adding data failed to sparse file: " << sparse.Rep(); in TEST_F() 582 EXPECT_EQ(fb->Download(*sparse), SUCCESS) << "Download sparse failed: " << sparse.Rep(); in TEST_F() 583 EXPECT_EQ(fb->Flash("userdata"), SUCCESS) << "Flashing sparse failed: " << sparse.Rep(); in TEST_F() [all …]
|
/system/core/libsparse/include/sparse/ |
D | sparse.h | 167 int sparse_file_write(struct sparse_file *s, int fd, bool gz, bool sparse, 182 int64_t sparse_file_len(struct sparse_file *s, bool sparse, bool crc); 209 int sparse_file_callback(struct sparse_file *s, bool sparse, bool crc, 226 int sparse_file_foreach_chunk(struct sparse_file *s, bool sparse, bool crc, 246 int sparse_file_read(struct sparse_file *s, int fd, bool sparse, bool crc);
|
/system/update_engine/sample_images/ |
D | generate_images.sh | 65 sudo dd of="${mntdir}"/sparse-16k-last_block bs=1 \ 72 sudo dd of="${mntdir}"/sparse-10000blocks bs=1 \ 75 sudo truncate --size=16384 "${mntdir}"/sparse-16k-first_block 76 echo "first block" | sudo dd of="${mntdir}"/sparse-16k-first_block status=none 78 sudo truncate --size=16384 "${mntdir}"/sparse-16k-holes 79 echo "a" | sudo dd of="${mntdir}"/sparse-16k-holes bs=1 seek=100 status=none 80 echo "b" | sudo dd of="${mntdir}"/sparse-16k-holes bs=1 seek=10000 status=none 277 --sparse "${IMAGES[@]}"
|
/system/extras/partition_tools/ |
D | README.md | 21 * `--sparse` - If set, the output image will be in sparse format for flashing with fastboot. Otherw… 22 * `-b,--block-size=N` - When writing a sparse image, the device may require a specific block size. … 23 …sparse image, include the contents of FILE as the data for the partition named NAME. The file can … 40 * A path to a non-sparse image from lpmake. 49 lpflash writes a non-sparse image from lpmake to a block device. It is intended to be run on the de…
|
/system/core/libsparse/ |
D | sparse.cpp | 139 int sparse_file_write(struct sparse_file* s, int fd, bool gz, bool sparse, bool crc) { in sparse_file_write() argument 145 out = output_file_open_fd(fd, s->block_size, s->len, gz, sparse, chunks, crc); in sparse_file_write() 156 int sparse_file_callback(struct sparse_file* s, bool sparse, bool crc, in sparse_file_callback() argument 163 out = output_file_open_callback(write, priv, s->block_size, s->len, false, sparse, chunks, crc); in sparse_file_callback() 187 int sparse_file_foreach_chunk(struct sparse_file* s, bool sparse, bool crc, in sparse_file_foreach_chunk() argument 201 out = output_file_open_callback(foreach_chunk_write, &chk, s->block_size, s->len, false, sparse, in sparse_file_foreach_chunk() 224 int64_t sparse_file_len(struct sparse_file* s, bool sparse, bool crc) { in sparse_file_len() argument 230 out = output_file_open_callback(out_counter_write, &count, s->block_size, s->len, false, sparse, in sparse_file_len()
|
D | output_file.h | 29 int sparse, int chunks, int crc); 32 int sparse, int chunks, int crc);
|
D | output_file.cpp | 505 static int output_file_init(struct output_file* out, int block_size, int64_t len, bool sparse, in output_file_init() argument 529 if (sparse) { in output_file_init() 535 if (sparse) { in output_file_init() 594 int sparse, int chunks, int crc) { in output_file_open_callback() argument 609 ret = output_file_init(&outc->out, block_size, len, sparse, chunks, crc); in output_file_open_callback() 619 int sparse, int chunks, int crc) { in output_file_open_fd() argument 634 ret = output_file_init(out, block_size, len, sparse, chunks, crc); in output_file_open_fd()
|
D | Android.bp | 11 "sparse.cpp",
|
D | sparse_read.cpp | 464 int sparse_file_read(struct sparse_file* s, int fd, bool sparse, bool crc) { in sparse_file_read() argument 465 if (crc && !sparse) { in sparse_file_read() 469 if (sparse) { in sparse_file_read()
|
/system/extras/verity/ |
D | build_verity_tree_main.cpp | 51 bool sparse = false; in main() local 86 sparse = true; in main() 158 sparse, verbose)) { in main()
|
D | build_verity_tree.cpp | 29 size_t block_size, bool sparse, bool verbose) { in generate_verity_tree() argument 37 if (sparse) { in generate_verity_tree()
|
/system/extras/verity/include/verity/ |
D | build_verity_tree.h | 31 size_t block_size, bool sparse, bool verbose);
|
/system/extras/verity/fec/ |
D | image.h | 42 bool sparse; member
|
D | main.cpp | 219 if (ctx.inplace && ctx.sparse) { in decode() 305 ctx.sparse = true; in main()
|
D | image.cpp | 101 if (ctx->sparse) { in file_image_load()
|
/system/bt/ |
D | EventLogTags.logtags | 1 # The entries in this file map a sparse set of log tag numbers to tag names.
|
/system/core/liblog/ |
D | event.logtags | 1 # The entries in this file map a sparse set of log tag numbers to tag names.
|
/system/core/storaged/ |
D | EventLogTags.logtags | 1 # The entries in this file map a sparse set of log tag numbers to tag names.
|
/system/core/logd/ |
D | event.logtags | 1 # The entries in this file map a sparse set of log tag numbers to tag names.
|
/system/core/lmkd/ |
D | event.logtags | 1 # The entries in this file map a sparse set of log tag numbers to tag names.
|
/system/core/fs_mgr/liblp/ |
D | io_test.cpp | 603 ImageBuilder sparse(*exported.get(), 512, {}, true /* sparsify */); in TEST() local 604 ASSERT_TRUE(sparse.IsValid()); in TEST() 605 ASSERT_TRUE(sparse.Build()); in TEST() 607 const auto& images = sparse.device_images(); in TEST()
|
/system/core/logcat/ |
D | event.logtags | 1 # The entries in this file map a sparse set of log tag numbers to tag names.
|
/system/update_engine/ |
D | update_metadata.proto | 107 // A sentinel value (kuint64max) as the start block denotes a sparse-hole
|
/system/update_engine/update_engine/ |
D | update_metadata.proto | 107 // A sentinel value (kuint64max) as the start block denotes a sparse-hole
|