Searched refs:CompressedSnapshotWriter (Results 1 – 6 of 6) sorted by relevance
53 CompressedSnapshotWriter::CompressedSnapshotWriter(const CowOptions& options) in CompressedSnapshotWriter() function in android::snapshot::CompressedSnapshotWriter56 bool CompressedSnapshotWriter::SetCowDevice(android::base::unique_fd&& cow_device) { in SetCowDevice()62 bool CompressedSnapshotWriter::Finalize() { in Finalize()66 uint64_t CompressedSnapshotWriter::GetCowSize() { in GetCowSize()70 std::unique_ptr<FileDescriptor> CompressedSnapshotWriter::OpenReader() { in OpenReader()100 bool CompressedSnapshotWriter::EmitCopy(uint64_t new_block, uint64_t old_block) { in EmitCopy()104 bool CompressedSnapshotWriter::EmitRawBlocks(uint64_t new_block_start, const void* data, in EmitRawBlocks()109 bool CompressedSnapshotWriter::EmitZeroBlocks(uint64_t new_block_start, uint64_t num_blocks) { in EmitZeroBlocks()113 bool CompressedSnapshotWriter::EmitLabel(uint64_t label) { in EmitLabel()117 bool CompressedSnapshotWriter::Initialize() { in Initialize()[all …]
35 android::snapshot::CompressedSnapshotWriter snapshot_writer{options}; in TEST_F()
158 auto writer = std::make_unique<CompressedSnapshotWriter>(options); in TEST_F()
3178 auto writer = std::make_unique<CompressedSnapshotWriter>(cow_options); in OpenCompressedSnapshotWriter()
36 using android::snapshot::CompressedSnapshotWriter;51 std::unique_ptr<CompressedSnapshotWriter> GetCowWriter() { in GetCowWriter()53 auto snapshot_writer = std::make_unique<CompressedSnapshotWriter>(options); in GetCowWriter()
61 class CompressedSnapshotWriter : public ISnapshotWriter {63 CompressedSnapshotWriter(const CowOptions& options);