Home
last modified time | relevance | path

Searched refs:GetMaxBlocks (Results 1 – 5 of 5) sorted by relevance

/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dmock_cow_writer.h37 MOCK_METHOD(std::optional<uint32_t>, GetMaxBlocks, (), (override, const));
Dcow_writer.h106 virtual std::optional<uint32_t> GetMaxBlocks() const = 0;
/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
Dwriter_base.h46 std::optional<uint32_t> GetMaxBlocks() const override { return options_.max_blocks; } in GetMaxBlocks() function
/system/update_engine/payload_consumer/
Dsnapshot_extent_writer_unittest.cc92 std::optional<uint32_t> GetMaxBlocks() const override { return {}; } in GetMaxBlocks() function in chromeos_update_engine::FakeCowWriter
/system/core/fs_mgr/libsnapshot/
Dsnapshot_test.cpp1232 if (!writer->GetMaxBlocks()) { in WriteRandomSnapshotData()
1236 const auto num_blocks = writer->GetMaxBlocks().value(); in WriteRandomSnapshotData()
1266 if (!writer->GetMaxBlocks() || !*writer->GetMaxBlocks()) { in ShiftAllSnapshotBlocks()
1272 uint64_t max_blocks = *writer->GetMaxBlocks(); in ShiftAllSnapshotBlocks()