Home
last modified time | relevance | path

Searched refs:AddRawBlocks (Results 1 – 16 of 16) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dsnapshot_writer_test.cpp42 ASSERT_TRUE(snapshot_writer.AddRawBlocks(0, buffer.data(), buffer.size())); in TEST_F()
46 ASSERT_TRUE(snapshot_writer.AddRawBlocks(1, buffer.data(), buffer.size())); in TEST_F()
47 ASSERT_TRUE(snapshot_writer.AddRawBlocks(2, buffer.data(), buffer.size())); in TEST_F()
Dcow_api_test.cpp76 ASSERT_TRUE(writer.AddRawBlocks(50, data.data(), data.size())); in TEST_F()
154 ASSERT_TRUE(writer.AddRawBlocks(50, data.data(), data.size())); in TEST_F()
190 ASSERT_TRUE(writer.AddRawBlocks(50, data.data(), data.size())); in TEST_F()
194 ASSERT_TRUE(writer.AddRawBlocks(51, data2.data(), data2.size())); in TEST_F()
255 ASSERT_TRUE(writer.AddRawBlocks(50, data.data(), data.size())); in TEST_F()
298 ASSERT_TRUE(writer.AddRawBlocks(50, data.data(), data.size())); in TEST_P()
332 ASSERT_TRUE(writer.AddRawBlocks(50, data.data(), data.size())); in TEST_F()
352 ASSERT_TRUE(writer->AddRawBlocks(50, data.data(), data.size())); in TEST_F()
363 ASSERT_TRUE(writer->AddRawBlocks(51, data2.data(), data2.size())); in TEST_F()
419 ASSERT_TRUE(writer->AddRawBlocks(50, data.data(), data.size())); in TEST_F()
[all …]
Dsnapshot_writer.cpp106 return cow_->AddRawBlocks(new_block_start, data, size); in EmitRawBlocks()
Dsnapshot_reader_test.cpp68 ASSERT_TRUE(writer->AddRawBlocks(5, new_block.data(), new_block.size())); in WriteCow()
Dmake_cow_from_ab_ota.cpp404 if (!writer_->AddRawBlocks(extent.start_block(), &dest[dest_pos], size)) { in ProcessDiff()
603 if (!writer_->AddRawBlocks(extent.start_block(), buffer.get() + buffer_pos, extent_size)) { in ProcessReplace()
Dtest_helpers.cpp156 if (!writer->AddRawBlocks(i, block.data(), block.size())) { in WriteRandomData()
Dcow_snapuserd_test.cpp555 ASSERT_TRUE(writer.AddRawBlocks(source_blk, random_buffer_1_.get(), size_)); in CreateCowDevice()
564 ASSERT_TRUE(writer.AddRawBlocks(blk_random2_replace_start, random_buffer_1_.get(), size_)); in CreateCowDevice()
898 ASSERT_TRUE(writer.AddRawBlocks(source_blk, random_buffer_1_.get(), size_)); in CreateCowDevice()
Destimate_cow_from_nonab_ota.cpp373 if (!writer->AddRawBlocks(block_number, chunk.data(), chunk.size())) { in AnalyzePartition()
Dcow_writer.cpp46 bool ICowWriter::AddRawBlocks(uint64_t new_block_start, const void* data, size_t size) { in AddRawBlocks() function in android::snapshot::ICowWriter
Dsnapshot_test.cpp532 ASSERT_TRUE(writer->AddRawBlocks(0, test_string.data(), test_string.size())); in TEST_F()
/system/update_engine/payload_consumer/
Dsnapshot_extent_writer.cc56 if (!cow_writer_->AddRawBlocks( in ConsumeWithBuffer()
83 if (!cow_writer_->AddRawBlocks( in ConsumeWithBuffer()
Dcow_writer_file_descriptor_unittest.cc82 ASSERT_TRUE(cow_writer->AddRawBlocks(0, buffer.data(), buffer.size())); in TEST_F()
88 cow_writer->AddRawBlocks(4, verity_data.data(), verity_data.size())); in TEST_F()
Dcow_writer_file_descriptor.cc83 auto success = cow_writer_->AddRawBlocks( in Write()
Dvabc_partition_writer.cc124 TEST_AND_RETURN_FALSE(cow_writer->AddRawBlocks( in WriteAllCowOps()
/system/update_engine/payload_generator/
Dcow_size_estimator.cc51 TEST_AND_RETURN_FALSE(writer->AddRawBlocks( in PerformReplaceOp()
94 TEST_AND_RETURN_FALSE(cow_writer->AddRawBlocks( in WriteAllCowOps()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dcow_writer.h56 bool AddRawBlocks(uint64_t new_block_start, const void* data, size_t size);