Searched refs:CreateCommander (Results 1 – 5 of 5) sorted by relevance
105 std::unique_ptr<Flashd::Commander> DaemonUpdater::CreateCommander(const std::string &cmd) in CreateCommander() function in Hdc::DaemonUpdater115 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()
30 std::unique_ptr<Commander> CreateCommander(const std::string &cmd, callbackFun callback) const;
38 std::unique_ptr<Commander> CommanderFactory::CreateCommander(const std::string &cmd, callbackFun ca… in CreateCommander() function in Flashd::CommanderFactory
39 std::unique_ptr<Flashd::Commander> CreateCommander(const std::string &cmd);
62 …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…