Home
last modified time | relevance | path

Searched refs:CmdType (Results 1 – 9 of 9) sorted by relevance

/base/update/updater/services/flashd/daemon/
Derase_commander.cpp37 NotifyFail(CmdType::ERASE); in DoCommand()
45 NotifyFail(CmdType::ERASE); in DoCommand()
50 NotifyFail(CmdType::ERASE); in DoCommand()
53 NotifySuccess(CmdType::ERASE); in DoCommand()
Dflash_commander.cpp36 NotifyFail(CmdType::FLASH); in DoCommand()
46 NotifyFail(CmdType::FLASH); in DoCommand()
60 NotifyFail(CmdType::FLASH); in DoCommand()
66 NotifyFail(CmdType::FLASH); in DoCommand()
74 NotifySuccess(CmdType::FLASH); in DoCommand()
77 UpdateProgress(CmdType::FLASH); in DoCommand()
Dupdate_commander.cpp47 NotifyFail(CmdType::UPDATE); in DoCommand()
53 NotifyFail(CmdType::UPDATE); in DoCommand()
65 NotifyFail(CmdType::UPDATE); in DoCommand()
74 NotifyFail(CmdType::UPDATE); in DoCommand()
80 NotifyFail(CmdType::UPDATE); in DoCommand()
108 NotifySuccess(CmdType::UPDATE); in DoUpdate()
111 UpdateProgress(CmdType::UPDATE); in DoUpdate()
Dcommander.h29 using callbackFun = std::function<void(CmdType type, UpdaterState state, const std::string &msg)>;
40 void NotifySuccess(CmdType type, const std::string &msg = "") const;
41 void NotifyFail(CmdType type, const std::string &msg = "") const;
51 void UpdateProgress(CmdType type) const;
Dformat_commander.cpp38 NotifyFail(CmdType::FORMAT); in DoCommand()
46 NotifyFail(CmdType::FORMAT); in DoCommand()
52 NotifyFail(CmdType::FORMAT); in DoCommand()
57 NotifySuccess(CmdType::FORMAT); in DoCommand()
Dcommander.cpp21 void Commander::NotifySuccess(CmdType type, const std::string &msg) const in NotifySuccess()
29 void Commander::NotifyFail(CmdType type, const std::string &msg) const in NotifyFail()
38 void Commander::UpdateProgress(CmdType type) const in UpdateProgress()
Ddaemon_updater.h38 bool SendToHost(Flashd::CmdType type, Flashd::UpdaterState state, const std::string &msg);
Ddaemon_updater.cpp69 bool DaemonUpdater::SendToHost(Flashd::CmdType type, Flashd::UpdaterState state, const std::string … in SendToHost()
114 … auto callback = [this](Flashd::CmdType type, Flashd::UpdaterState state, const std::string &msg) { in CreateCommander()
/base/update/updater/services/include/flashd/
Dflashd.h36 enum class CmdType : uint8_t { enum