Home
last modified time | relevance | path

Searched refs:FiemapWriter (Results 1 – 6 of 6) sorted by relevance

/system/core/fs_mgr/libfiemap_writer/include/libfiemap_writer/
Dfiemap_writer.h33 class FiemapWriter; variable
34 using FiemapUniquePtr = std::unique_ptr<FiemapWriter>;
36 class FiemapWriter final {
70 ~FiemapWriter() = default;
80 FiemapWriter(const FiemapWriter&) = delete;
81 FiemapWriter& operator=(const FiemapWriter&) = delete;
82 FiemapWriter& operator=(FiemapWriter&&) = delete;
83 FiemapWriter(FiemapWriter&&) = delete;
107 FiemapWriter() = default;
/system/core/fs_mgr/libfiemap_writer/
Dfiemap_writer_test.cpp89 FiemapUniquePtr fptr = FiemapWriter::Open(testfile, 1099511627997184); in TEST_F()
98 FiemapUniquePtr fptr = FiemapWriter::Open(testfile, gBlockSize + 1); in TEST_F()
104 FiemapUniquePtr fptr = FiemapWriter::Open(testfile, gBlockSize); in TEST_F()
113 FiemapUniquePtr fptr = FiemapWriter::Open(testfile, 1024 * 1024 * 16); in TEST_F()
136 auto ptr = FiemapWriter::Open(testfile, gBlockSize, true, std::move(callback)); in TEST_F()
142 auto ptr = FiemapWriter::Open(testfile, 4096); in TEST_F()
144 EXPECT_TRUE(FiemapWriter::HasPinnedExtents(testfile)); in TEST_F()
148 FiemapUniquePtr fptr = FiemapWriter::Open(testfile, gBlockSize); in TEST_F()
155 FiemapUniquePtr fptr = FiemapWriter::Open(testfile, 32768); in TEST_F()
162 FiemapUniquePtr fptr = FiemapWriter::Open(testfile, testfile_size); in TEST_F()
[all …]
Dsplit_fiemap_writer.cpp90 auto writer = FiemapWriter::Open(chunk_path, chunk_size, true, on_progress); in Create()
133 auto writer = FiemapWriter::Open(file, 0, false); in Open()
181 if (!FiemapWriter::HasPinnedExtents(file->file_path())) { in HasPinnedExtents()
200 FiemapWriter* file = files_[cursor_index_].get(); in Write()
231 if (!FiemapWriter::HasPinnedExtents(file->file_path())) { in Write()
Dutility.cpp31 auto writer = FiemapWriter::Open(file_path, 1); in DetermineMaximumFileSize()
Dfiemap_writer.cpp133 bool FiemapWriter::GetBlockDeviceForFile(const std::string& file_path, std::string* bdev_path, in GetBlockDeviceForFile()
444 bool FiemapWriter::HasPinnedExtents(const std::string& file_path) { in HasPinnedExtents()
566 FiemapUniquePtr FiemapWriter::Open(const std::string& file_path, uint64_t file_size, bool create, in Open()
650 FiemapUniquePtr fmap(new FiemapWriter()); in Open()
/system/gsid/
Dgsi_service.cpp544 if (!FiemapWriter::GetBlockDeviceForFile(system_gsi_path_.c_str(), &block_device, in DetermineReadWriteMethod()