Home
last modified time | relevance | path

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

/base/update/updater/services/flashd/daemon/
Dcommander_factory.cpp26 …{ Hdc::CMDSTR_FLASH_PARTITION, [](callbackFun callback) { return std::make_unique<FlashCommander>(… in __anond6671b3e0102()
27 …{ Hdc::CMDSTR_ERASE_PARTITION, [](callbackFun callback) { return std::make_unique<EraseCommander>(… in __anond6671b3e0202()
28 …{ Hdc::CMDSTR_UPDATE_SYSTEM, [](callbackFun callback) { return std::make_unique<UpdateCommander>(c… in __anond6671b3e0302()
29 …{ Hdc::CMDSTR_FORMAT_PARTITION, [](callbackFun callback) { return std::make_unique<FormatCommander… in __anond6671b3e0402()
Ddaemon_updater.cpp23 namespace Hdc { namespace
47 buffer.push_back(Hdc::MSG_FAIL); in CommandDispatch()
49 SendToAnother(Hdc::CMD_UPDATER_FINISH, buffer.data(), buffer.size()); in CommandDispatch()
82 SendToAnother(Hdc::CMD_UPDATER_PROGRESS, &percentage, sizeof(percentage)); in SendToHost()
88 SendToAnother(Hdc::CMD_UPDATER_PROGRESS, &percentage, sizeof(percentage)); in SendToHost()
90 std::string echo = Hdc::Base::ReplaceAll(msg, "\n", " "); in SendToHost()
93 buffer.push_back((state == Flashd::UpdaterState::SUCCESS) ? Hdc::MSG_OK : Hdc::MSG_FAIL); in SendToHost()
95 SendToAnother(Hdc::CMD_UPDATER_FINISH, buffer.data(), buffer.size()); in SendToHost()
Dsystem_depend.cpp31 namespace Hdc { namespace
Ddaemon_updater.h24 namespace Hdc {
Dflashd_main.cpp22 using namespace Hdc;
Ddaemon.cpp22 namespace Hdc { namespace
/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…
Dflash_host_unittest.cpp29 using namespace Hdc;
/base/update/updater/services/flashd/common/
Dflashd_define.h30 namespace Hdc {