Searched refs:DaemonUpdater (Results 1 – 4 of 4) sorted by relevance
28 std::atomic<bool> DaemonUpdater::isRunning_ = false;30 DaemonUpdater::DaemonUpdater(HTaskInfo hTaskInfo) : HdcTransferBase(hTaskInfo) in DaemonUpdater() function in Hdc::DaemonUpdater36 DaemonUpdater::~DaemonUpdater() in ~DaemonUpdater()41 bool DaemonUpdater::CommandDispatch(const uint16_t command, uint8_t *payload, const int payloadSize) in CommandDispatch()69 bool DaemonUpdater::SendToHost(Flashd::CmdType type, Flashd::UpdaterState state, const std::string … in SendToHost()71 if (!DaemonUpdater::isRunning_) { in SendToHost()102 DaemonUpdater::isRunning_ = false; in SendToHost()107 std::unique_ptr<Flashd::Commander> DaemonUpdater::CreateCommander(const std::string &cmd) in CreateCommander()109 if (DaemonUpdater::isRunning_) { in CreateCommander()113 DaemonUpdater::isRunning_ = true; in CreateCommander()[all …]
25 class DaemonUpdater : public HdcTransferBase {27 DISALLOW_COPY_MOVE(DaemonUpdater);28 explicit DaemonUpdater(HTaskInfo hTaskInfo);29 virtual ~DaemonUpdater();
137 … ret = TaskCommandDispatch<DaemonUpdater>(hTaskInfo, TASK_UPDATER, command, payload, payloadSize); in RedirectToTask()284 ret = DoTaskRemove<DaemonUpdater>(hTask, op); in RemoveInstanceTask()
170 std::shared_ptr<DaemonUpdater> hdcDamon = std::make_shared<DaemonUpdater>(hTaskInfo); in TestDaemonUpdater()225 std::shared_ptr<DaemonUpdater> hdcDamon = std::make_shared<DaemonUpdater>(hTaskInfo); in TestHdcDaemonInvalid()266 std::shared_ptr<DaemonUpdater> hdcDamon = std::make_shared<DaemonUpdater>(hTaskInfo); in TestHdcDaemonFlash()324 std::shared_ptr<DaemonUpdater> hdcDamon = std::make_shared<DaemonUpdater>(hTaskInfo); in TestHdcDaemonErase()351 std::shared_ptr<DaemonUpdater> hdcDamon = std::make_shared<DaemonUpdater>(hTaskInfo); in TestHdcDaemonFormat()