Home
last modified time | relevance | path

Searched refs:direct_writer (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/payload_consumer/
Dextent_writer_unittest.cc68 DirectExtentWriter direct_writer{fd_}; in TEST_F() local
69 EXPECT_TRUE(direct_writer.Init({extents.begin(), extents.end()}, kBlockSize)); in TEST_F()
70 EXPECT_TRUE(direct_writer.Write(bytes.data(), bytes.size())); in TEST_F()
86 DirectExtentWriter direct_writer{fd_}; in TEST_F() local
87 EXPECT_TRUE(direct_writer.Init({extents.begin(), extents.end()}, kBlockSize)); in TEST_F()
88 EXPECT_TRUE(direct_writer.Write(nullptr, 0)); in TEST_F()
110 DirectExtentWriter direct_writer{fd_}; in WriteAlignedExtents() local
111 EXPECT_TRUE(direct_writer.Init({extents.begin(), extents.end()}, kBlockSize)); in WriteAlignedExtents()
119 EXPECT_TRUE(direct_writer.Write(&data[bytes_written], bytes_to_write)); in WriteAlignedExtents()
150 DirectExtentWriter direct_writer{fd_}; in TEST_F() local
[all …]
/system/update_engine/aosp/
Dota_extractor.cc158 auto direct_writer = std::make_unique<DirectExtentWriter>(out_fd); in ExtractImagesFromOTA() local
161 op, std::move(direct_writer))); in ExtractImagesFromOTA()
166 op, std::move(direct_writer), blob.data())); in ExtractImagesFromOTA()
170 op, std::move(direct_writer), in_fd)); in ExtractImagesFromOTA()
174 op, std::move(direct_writer), in_fd, blob.data(), blob.size())); in ExtractImagesFromOTA()
/system/libziparchive/
Dzip_archive.cc1410 bool direct_writer; in inflateImpl() local
1412 direct_writer = true; in inflateImpl()
1414 direct_writer = false; in inflateImpl()
1500 if (direct_writer) { in inflateImpl()