Home
last modified time | relevance | path

Searched refs:CommandDispatch (Results 1 - 4 of 4) sorted by relevance

/base/update/updater/test/unittest/flashd_test/
H A Dflash_host_unittest.cpp65 flashHost->CommandDispatch(command, in TestFlashHost()
87 flashHost->CommandDispatch(command, in TestFlashProgress()
92 flashHost->CommandDispatch(CMD_UPDATER_BEGIN, const_cast<uint8_t *>(data.data()), data.size()); in TestFlashProgress()
95 flashHost->CommandDispatch(CMD_UPDATER_CHECK, in TestFlashProgress()
98 flashHost->CommandDispatch(CMD_UPDATER_DATA, const_cast<uint8_t *>(data.data()), data.size()); in TestFlashProgress()
101 flashHost->CommandDispatch(CMD_UPDATER_FINISH, in TestFlashProgress()
107 flashHost->CommandDispatch(CMD_UPDATER_PROGRESS, in TestFlashProgress()
113 flashHost->CommandDispatch(CMD_UPDATER_PROGRESS, in TestFlashProgress()
H A Dflashd_unittest.cpp482 bool ret = testDaemonUpdater->CommandDispatch(CMD_UPDATER_UPDATE_INIT, in HWTEST_F()
485 ret = testDaemonUpdater->CommandDispatch(CMD_UPDATER_DATA, in HWTEST_F()
488 ret = testDaemonUpdater->CommandDispatch(CMD_UPDATER_CHECK, in HWTEST_F()
491 ret = testDaemonUpdater->CommandDispatch(CMD_UPDATER_DATA, in HWTEST_F()
494 ret = testDaemonUpdater->CommandDispatch(CMD_UPDATER_ERASE, in HWTEST_F()
497 ret = testDaemonUpdater->CommandDispatch(CMD_UPDATER_FORMAT, in HWTEST_F()
/base/update/updater/services/flashd/daemon/
H A Ddaemon_updater.h30 bool CommandDispatch(const uint16_t command, uint8_t *payload, const int payloadSize) override;
53 bool CommandDispatch(const uint16_t command, uint8_t *payload, const int payloadSize) override;
H A Ddaemon_updater.cpp41 bool DaemonUpdater::CommandDispatch(const uint16_t command, uint8_t *payload, const int payloadSize) in CommandDispatch() function in Hdc::DaemonUpdater
212 bool InvalidDaemon::CommandDispatch(const uint16_t command, uint8_t *payload, const int payloadSize) in CommandDispatch() function in Hdc::InvalidDaemon

Completed in 3 milliseconds