Home
last modified time | relevance | path

Searched refs:MISC_FILE (Results 1 – 8 of 8) sorted by relevance

/base/update/updater/test/unittest/updaterkits_test/
Dupdaterkits_unittest.cpp27 const std::string MISC_FILE = "/data/updater/misc_ut"; variable
42 bool ret = RebootAndInstallUpgradePackage(MISC_FILE, packageName1);
46 auto fp = std::unique_ptr<FILE, decltype(&fclose)>(fopen(MISC_FILE.c_str(), "wb+"), fclose);
48 ret = RebootAndInstallUpgradePackage(MISC_FILE, packageName2);
50 unlink(MISC_FILE.c_str());
56 bool ret = RebootAndCleanUserData(MISC_FILE, cmd1);
60 auto fp = std::unique_ptr<FILE, decltype(&fclose)>(fopen(MISC_FILE.c_str(), "wb+"), fclose);
62 ret = RebootAndCleanUserData(MISC_FILE, cmd2);
64 unlink(MISC_FILE.c_str());
/base/update/updater/test/unittest/misc_info_test/
Dmisc_info_unittest.cpp28 const std::string MISC_FILE = "/data/updater/misc_ut"; variable
42 auto fp = std::unique_ptr<FILE, decltype(&fclose)>(fopen(MISC_FILE.c_str(), "wb"), fclose);
54 path = MISC_FILE;
63 path = MISC_FILE;
/base/update/updater/test/unittest/updater_main_test/
Dupdater_main_unittest.cpp37 const std::string MISC_FILE = "/dev/block/platform/soc/10100000.himci.eMMC/by-name/misc"; variable
104 bool ret = WriteUpdaterMessage(MISC_FILE, boot);
132 bool ret = WriteUpdaterMessage(MISC_FILE, boot);
145 ret = WriteUpdaterMessage(MISC_FILE, boot);
153 ret = WriteUpdaterMessage(MISC_FILE, boot);
158 ret = ReadUpdaterMessage(MISC_FILE, boot);
/base/update/updater/interfaces/kits/misc_info/
Dmisc_info.cpp92 path = MISC_FILE; in WriteUpdaterMiscMsg()
103 path = MISC_FILE; in ReadUpdaterMiscMsg()
/base/update/updateservice/frameworks/js/napi/client/
Dlocal_updater.cpp22 const std::string MISC_FILE = "/dev/block/by-name/misc"; variable
134 …return UpdateServiceKits::GetInstance().ApplyNewVersion(upgradeInfo, MISC_FILE, upgradeFiles[0].fi… in ApplyNewVersion()
/base/update/updater/services/include/updater/
Dupdater_const.h32 constexpr const char *MISC_FILE = "/dev/block/platform/soc/10100000.himci.eMMC/by-name/misc"; variable
/base/update/updater/services/
Dupdater_utils.cpp73 miscBlockDev = MISC_FILE; in ClearMisc()
/base/update/updateservice/services/engine/src/
Dupdate_service.cpp64 const std::string MISC_FILE = "/dev/block/by-name/misc"; variable
478 bool ret = RebootAndInstallUpgradePackage(MISC_FILE, updaterPkgName); in DoUpdate()
821 … int32_t ret = RebootAndCleanUserData(MISC_FILE, CMD_WIPE_DATA) ? INT_CALL_SUCCESS : INT_CALL_FAIL; in FactoryReset()