Home
last modified time | relevance | path

Searched refs:FlashdImageWriter (Results 1 – 4 of 4) sorted by relevance

/base/update/updater/services/flashd/image_writer/
Dimage_writer.cpp73 FlashdImageWriter::FlashdImageWriter() in FlashdImageWriter() function in Flashd::FlashdImageWriter
76 writerGet.checkImage = std::bind(&FlashdImageWriter::IsRawImage, this, _1, _2, _3); in FlashdImageWriter()
77 writerGet.getWriter = std::bind(&FlashdImageWriter::GetRawWriter, this); in FlashdImageWriter()
81 FlashdImageWriter &FlashdImageWriter::GetInstance() in GetInstance()
83 static FlashdImageWriter instance; in GetInstance()
87 void FlashdImageWriter::RegisterUserWriter(CheckImageProcess checkImage, GetWriterProcess getWriter) in RegisterUserWriter()
93 std::unique_ptr<FlashdWriter> FlashdImageWriter::GetWriter(const std::string &partition, in GetWriter()
105 bool FlashdImageWriter::IsRawImage(const std::string &partition, [[maybe_unused]] const uint8_t *da… in IsRawImage()
113 std::unique_ptr<FlashdWriter> FlashdImageWriter::GetRawWriter() const in GetRawWriter()
Dimage_writer.h43 class FlashdImageWriter {
44 DISALLOW_COPY_MOVE(FlashdImageWriter);
52 static FlashdImageWriter &GetInstance();
57 FlashdImageWriter();
58 ~FlashdImageWriter() {} in ~FlashdImageWriter()
/base/update/updater/services/flashd/daemon/
Dflash_commander.cpp85 std::unique_ptr<FlashdWriter> writer = FlashdImageWriter::GetInstance().GetWriter( in InitPartition()
/base/update/updater/test/unittest/flashd_test/
Dflashd_unittest.cpp223 …std::unique_ptr<FlashdWriter> writer = FlashdImageWriter::GetInstance().GetWriter(partName, buffer…
230 writer = FlashdImageWriter::GetInstance().GetWriter(partName, buffer, bufferSize);
264 writer = FlashdImageWriter::GetInstance().GetWriter(partName, buffer, bufferSize);