Home
last modified time | relevance | path

Searched refs:cow_writer (Results 1 – 14 of 14) sorted by relevance

/system/update_engine/payload_consumer/
Dcow_writer_file_descriptor_unittest.cc61 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 …]
Dsnapshot_extent_writer.cc29 android::snapshot::ICowWriter* cow_writer) in SnapshotExtentWriter() argument
30 : cow_writer_(cow_writer) { in SnapshotExtentWriter()
31 CHECK_NE(cow_writer, nullptr); in SnapshotExtentWriter()
Dvabc_partition_writer.cc100 android::snapshot::ICowWriter* cow_writer, in WriteAllCowOps() argument
111 cow_writer->AddCopy(cow_op.dst_block, cow_op.src_block)); in WriteAllCowOps()
124 TEST_AND_RETURN_FALSE(cow_writer->AddRawBlocks( in WriteAllCowOps()
Dcow_writer_file_descriptor.cc29 std::unique_ptr<android::snapshot::ISnapshotWriter> cow_writer) in CowWriterFileDescriptor() argument
30 : cow_writer_(std::move(cow_writer)), in CowWriterFileDescriptor()
Dsnapshot_extent_writer.h32 explicit SnapshotExtentWriter(android::snapshot::ICowWriter* cow_writer);
Dvabc_partition_writer.h52 android::snapshot::ICowWriter* cow_writer,
Dcow_writer_file_descriptor.h32 std::unique_ptr<android::snapshot::ISnapshotWriter> cow_writer);
/system/update_engine/payload_generator/
Dcow_size_estimator.cc69 android::snapshot::ICowWriter* cow_writer, in WriteAllCowOps() argument
80 cow_writer->AddCopy(cow_op.dst_block, cow_op.src_block)); in WriteAllCowOps()
94 TEST_AND_RETURN_FALSE(cow_writer->AddRawBlocks( in WriteAllCowOps()
111 android::snapshot::CowWriter cow_writer{ in EstimateCowSize() local
116 cow_writer.Initialize(android::base::borrowed_fd{-1}); in EstimateCowSize()
118 target_fd, operations, merge_operations, block_size, &cow_writer)); in EstimateCowSize()
119 CHECK(cow_writer.Finalize()); in EstimateCowSize()
120 return cow_writer.GetCowSize(); in EstimateCowSize()
129 android::snapshot::CowWriter* cow_writer) { in CowDryRun() argument
131 WriteAllCowOps(block_size, converted, cow_writer, target_fd); in CowDryRun()
[all …]
Dcow_size_estimator.h45 android::snapshot::CowWriter* cow_writer);
/system/update_engine/aosp/
Dcow_converter.cc60 android::snapshot::CowWriter cow_writer{ in ProcessPartition() local
62 TEST_AND_RETURN_FALSE(cow_writer.Initialize(output_fd)); in ProcessPartition()
67 &cow_writer)); in ProcessPartition()
68 TEST_AND_RETURN_FALSE(cow_writer.Finalize()); in ProcessPartition()
Ddynamic_partition_control_android.cc1427 auto cow_writer = in OpenCowFd() local
1429 if (cow_writer == nullptr) { in OpenCowFd()
1432 if (!cow_writer->InitializeAppend(kEndOfInstallLabel)) { in OpenCowFd()
1435 return std::make_shared<CowWriterFileDescriptor>(std::move(cow_writer)); in OpenCowFd()
/system/core/fs_mgr/libsnapshot/
DAndroid.bp160 "cow_writer.cpp",
/system/update_engine/
Dupdate_metadata.proto359 // See system/core/fs_mgr/libsnapshot/cow_writer.cpp for available options,
/system/update_engine/update_engine/
Dupdate_metadata.proto359 // See system/core/fs_mgr/libsnapshot/cow_writer.cpp for available options,