Searched refs:MISC_FILE (Results 1 – 8 of 8) sorted by relevance
/base/update/updater/test/unittest/updaterkits_test/ |
D | updaterkits_unittest.cpp | 27 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/ |
D | misc_info_unittest.cpp | 28 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/ |
D | updater_main_unittest.cpp | 37 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/ |
D | misc_info.cpp | 92 path = MISC_FILE; in WriteUpdaterMiscMsg() 103 path = MISC_FILE; in ReadUpdaterMiscMsg()
|
/base/update/updateservice/frameworks/js/napi/client/ |
D | local_updater.cpp | 22 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/ |
D | updater_const.h | 32 constexpr const char *MISC_FILE = "/dev/block/platform/soc/10100000.himci.eMMC/by-name/misc"; variable
|
/base/update/updater/services/ |
D | updater_utils.cpp | 73 miscBlockDev = MISC_FILE; in ClearMisc()
|
/base/update/updateservice/services/engine/src/ |
D | update_service.cpp | 64 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()
|