Home
last modified time | relevance | path

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

/base/update/updater/services/flashd/daemon/
Ddaemon_updater.cpp105 std::unique_ptr<Flashd::Commander> DaemonUpdater::CreateCommander(const std::string &cmd) in CreateCommander() function in Hdc::DaemonUpdater
115 return Flashd::CommanderFactory::GetInstance().CreateCommander(cmd, callback); in CreateCommander()
135 commander_ = CreateCommander(ctxNow.transferConfig.functionName.c_str()); in CheckCommand()
166 commander_ = CreateCommander(CMDSTR_ERASE_PARTITION); in EraseCommand()
176 commander_ = CreateCommander(CMDSTR_FORMAT_PARTITION); in FormatCommand()
Dcommander_factory.h30 std::unique_ptr<Commander> CreateCommander(const std::string &cmd, callbackFun callback) const;
Dcommander_factory.cpp38 std::unique_ptr<Commander> CommanderFactory::CreateCommander(const std::string &cmd, callbackFun ca… in CreateCommander() function in Flashd::CommanderFactory
Ddaemon_updater.h39 std::unique_ptr<Flashd::Commander> CreateCommander(const std::string &cmd);
/base/update/updater/test/unittest/flashd_test/
Dflashd_unittest.cpp62 …commander = Flashd::CommanderFactory::GetInstance().CreateCommander(Hdc::CMDSTR_FORMAT_PARTITION, …
96 …commander = Flashd::CommanderFactory::GetInstance().CreateCommander(Hdc::CMDSTR_UPDATE_SYSTEM, cal…
130 …commander = Flashd::CommanderFactory::GetInstance().CreateCommander(Hdc::CMDSTR_ERASE_PARTITION, c…
164 …commander = Flashd::CommanderFactory::GetInstance().CreateCommander(Hdc::CMDSTR_FLASH_PARTITION, c…
293 …commander = Flashd::CommanderFactory::GetInstance().CreateCommander(Hdc::CMDSTR_UPDATE_SYSTEM, cal…
323 …commander = Flashd::CommanderFactory::GetInstance().CreateCommander(Hdc::CMDSTR_FLASH_PARTITION, c…