Searched refs:FlashdImageWriter (Results 1 – 4 of 4) sorted by relevance
/base/update/updater/services/flashd/image_writer/ |
D | image_writer.cpp | 73 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()
|
D | image_writer.h | 43 class FlashdImageWriter { 44 DISALLOW_COPY_MOVE(FlashdImageWriter); 52 static FlashdImageWriter &GetInstance(); 57 FlashdImageWriter(); 58 ~FlashdImageWriter() {} in ~FlashdImageWriter()
|
/base/update/updater/services/flashd/daemon/ |
D | flash_commander.cpp | 85 std::unique_ptr<FlashdWriter> writer = FlashdImageWriter::GetInstance().GetWriter( in InitPartition()
|
/base/update/updater/test/unittest/flashd_test/ |
D | flashd_unittest.cpp | 223 …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);
|