/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 | 542 SparseWrapper sparse(bs, bs); in TEST_F() local 543 ASSERT_TRUE(*sparse) << "Sparse file creation failed on: " << bs; in TEST_F() 544 EXPECT_EQ(fb->Download(*sparse), SUCCESS) << "Download sparse failed: " << sparse.Rep(); in TEST_F() 545 EXPECT_EQ(fb->Flash("userdata"), SUCCESS) << "Flashing sparse failed: " << sparse.Rep(); in TEST_F() 557 SparseWrapper sparse(bs, bs); in TEST_F() local 558 ASSERT_TRUE(*sparse) << "Sparse file creation failed on: " << bs; in TEST_F() 560 ASSERT_EQ(sparse_file_add_data(*sparse, buf.data(), buf.size(), 0), 0) in TEST_F() 561 << "Adding data failed to sparse file: " << sparse.Rep(); in TEST_F() 562 EXPECT_EQ(fb->Download(*sparse), SUCCESS) << "Download sparse failed: " << sparse.Rep(); in TEST_F() 563 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 278 --sparse "${IMAGES[@]}"
|
/system/core/libsparse/ |
D | output_file.h | 29 int sparse, int chunks, int crc); 32 int sparse, int chunks, int crc);
|
D | sparse.cpp | 145 int sparse_file_write(struct sparse_file* s, int fd, bool gz, bool sparse, bool crc) { in sparse_file_write() argument 157 out = output_file_open_fd(fd, s->block_size, s->len, gz, sparse, chunks, crc); in sparse_file_write() 168 int sparse_file_callback(struct sparse_file* s, bool sparse, bool crc, in sparse_file_callback() argument 175 out = output_file_open_callback(write, priv, s->block_size, s->len, false, sparse, chunks, crc); in sparse_file_callback() 199 int sparse_file_foreach_chunk(struct sparse_file* s, bool sparse, bool crc, in sparse_file_foreach_chunk() argument 213 out = output_file_open_callback(foreach_chunk_write, &chk, s->block_size, s->len, false, sparse, in sparse_file_foreach_chunk() 236 int64_t sparse_file_len(struct sparse_file* s, bool sparse, bool crc) { in sparse_file_len() argument 242 out = output_file_open_callback(out_counter_write, &count, s->block_size, s->len, false, sparse, in sparse_file_len()
|
D | output_file.cpp | 503 static int output_file_init(struct output_file* out, int block_size, int64_t len, bool sparse, in output_file_init() argument 527 if (sparse) { in output_file_init() 533 if (sparse) { in output_file_init() 592 int sparse, int chunks, int crc) { in output_file_open_callback() argument 607 ret = output_file_init(&outc->out, block_size, len, sparse, chunks, crc); in output_file_open_callback() 617 int sparse, int chunks, int crc) { in output_file_open_fd() argument 632 ret = output_file_init(out, block_size, len, sparse, chunks, crc); in output_file_open_fd()
|
D | Android.bp | 12 "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/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. 70 lpflash writes a non-sparse image from lpmake to a block device. It is intended to be run on the de…
|
/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/memory/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 | 606 ImageBuilder sparse(*exported.get(), 512, {}, true /* sparsify */); in TEST_F() local 607 ASSERT_TRUE(sparse.IsValid()); in TEST_F() 608 ASSERT_TRUE(sparse.Build()); in TEST_F() 610 const auto& images = sparse.device_images(); in TEST_F()
|
/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
|