/system/update_engine/payload_consumer/ |
D | cow_writer_file_descriptor_unittest.cc | 61 auto cow_writer = GetCowWriter(); in GetCowFd() local 62 return CowWriterFileDescriptor{std::move(cow_writer)}; in GetCowFd() 78 auto cow_writer = GetCowWriter(); in TEST_F() local 79 cow_writer->Initialize(); in TEST_F() 82 ASSERT_TRUE(cow_writer->AddRawBlocks(0, buffer.data(), buffer.size())); in TEST_F() 83 ASSERT_TRUE(cow_writer->AddZeroBlocks(1, 2)); in TEST_F() 84 ASSERT_TRUE(cow_writer->AddCopy(3, 1)); in TEST_F() 86 ASSERT_TRUE(cow_writer->AddLabel(23)); in TEST_F() 88 cow_writer->AddRawBlocks(4, verity_data.data(), verity_data.size())); in TEST_F() 89 ASSERT_TRUE(cow_writer->Finalize()); in TEST_F() [all …]
|
D | vabc_partition_writer_unittest.cc | 100 auto cow_writer = in TEST_F() local 104 EXPECT_CALL(*cow_writer, Initialize()).WillOnce(Return(true)); in TEST_F() 105 EXPECT_CALL(*cow_writer, EmitSequenceData(_, _)) in TEST_F() 108 ON_CALL(*cow_writer, EmitCopy(_, _, _)).WillByDefault(Return(true)); in TEST_F() 109 ON_CALL(*cow_writer, EmitLabel(_)).WillByDefault(Return(true)); in TEST_F() 110 return cow_writer; in TEST_F() 125 auto cow_writer = in TEST_F() local 129 EXPECT_CALL(*cow_writer, Initialize()).WillOnce(Return(true)); in TEST_F() 130 EXPECT_CALL(*cow_writer, EmitSequenceData(_, _)) in TEST_F() 133 ON_CALL(*cow_writer, EmitCopy(_, _, _)).WillByDefault(Return(true)); in TEST_F() [all …]
|
D | cow_writer_file_descriptor.cc | 29 std::unique_ptr<android::snapshot::ISnapshotWriter> cow_writer) in CowWriterFileDescriptor() argument 30 : cow_writer_(std::move(cow_writer)), in CowWriterFileDescriptor() 37 std::unique_ptr<android::snapshot::ISnapshotWriter> cow_writer, in CowWriterFileDescriptor() argument 39 : cow_writer_(std::move(cow_writer)), cow_reader_(std::move(cow_reader)) { in CowWriterFileDescriptor()
|
D | snapshot_extent_writer.h | 32 explicit SnapshotExtentWriter(android::snapshot::ICowWriter* cow_writer) in SnapshotExtentWriter() argument 33 : cow_writer_(cow_writer) {} in SnapshotExtentWriter()
|
D | xor_extent_writer.h | 37 android::snapshot::ICowWriter* cow_writer, in XORExtentWriter() argument 43 cow_writer_(cow_writer), in XORExtentWriter()
|
D | cow_writer_file_descriptor.h | 32 std::unique_ptr<android::snapshot::ISnapshotWriter> cow_writer); 36 std::unique_ptr<android::snapshot::ISnapshotWriter> cow_writer,
|
D | vabc_partition_writer.h | 70 android::snapshot::ICowWriter* cow_writer);
|
D | vabc_partition_writer.cc | 206 ICowWriter* cow_writer) { in WriteMergeSequence() argument 255 return cow_writer->AddSequenceData(blocks_merge_order.size(), in WriteMergeSequence()
|
/system/update_engine/payload_generator/ |
D | cow_size_estimator.cc | 45 android::snapshot::CowWriter* cow_writer, in CowDryRun() argument 50 VABCPartitionWriter::WriteMergeSequence(merge_operations, cow_writer); in CowDryRun() 55 cow_writer->AddCopy(op.dst_extent().start_block(), in CowDryRun() 95 CHECK(cow_writer->AddXorBlocks(op.dst_extent().start_block(), in CowDryRun() 105 cow_writer->AddLabel(0); in CowDryRun() 108 cow_writer->AddLabel(0); in CowDryRun() 112 cow_writer->AddZeroBlocks(ext.start_block(), ext.num_blocks()); in CowDryRun() 116 cow_writer->AddLabel(0); in CowDryRun() 131 cow_writer->AddRawBlocks(ext.start_block(), data.data(), data.size()); in CowDryRun() 132 cow_writer->AddLabel(0); in CowDryRun() [all …]
|
D | cow_size_estimator.h | 50 android::snapshot::CowWriter* cow_writer,
|
/system/update_engine/aosp/ |
D | cow_converter.cc | 64 android::snapshot::CowWriter cow_writer{ in ProcessPartition() local 66 TEST_AND_RETURN_FALSE(cow_writer.Initialize(output_fd)); in ProcessPartition() 72 &cow_writer, in ProcessPartition() 75 TEST_AND_RETURN_FALSE(cow_writer.Finalize()); in ProcessPartition()
|
D | dynamic_partition_control_android.cc | 1453 auto cow_writer = in OpenCowFd() local 1455 if (cow_writer == nullptr) { in OpenCowFd() 1458 if (!cow_writer->InitializeAppend(kEndOfInstallLabel)) { in OpenCowFd() 1462 auto reader = cow_writer->OpenReader(); in OpenCowFd() 1467 return std::make_unique<CowWriterFileDescriptor>(std::move(cow_writer), in OpenCowFd()
|
/system/core/fs_mgr/libsnapshot/ |
D | Android.bp | 178 "libsnapshot_cow/cow_writer.cpp",
|
/system/update_engine/update_engine/ |
D | update_metadata.proto | 361 // See system/core/fs_mgr/libsnapshot/cow_writer.cpp for available options,
|
/system/update_engine/ |
D | update_metadata.proto | 361 // See system/core/fs_mgr/libsnapshot/cow_writer.cpp for available options,
|