Home
last modified time | relevance | path

Searched refs:updateMsg (Results 1 - 3 of 3) sorted by relevance

/base/update/updater/interfaces/kits/updaterkits/
H A Dupdaterkits.cpp31 static bool WriteToMiscAndRebootToUpdater(const struct UpdateMessage &updateMsg) in WriteToMiscAndRebootToUpdater() argument
35 int ret = strncpy_s(const_cast<char*>(updateMsg.command), sizeof(updateMsg.command), bootCmd, in WriteToMiscAndRebootToUpdater()
36 sizeof(updateMsg.command) - 1); in WriteToMiscAndRebootToUpdater()
41 WriteUpdaterMiscMsg(updateMsg); in WriteToMiscAndRebootToUpdater()
81 static std::string ParsePkgPath(const struct UpdateMessage &updateMsg) in ParsePkgPath() argument
84 std::string pathInfo(updateMsg.update, sizeof(updateMsg.update)); in ParsePkgPath()
99 static bool WriteToMiscAndResultFileRebootToUpdater(const struct UpdateMessage &updateMsg) in WriteToMiscAndResultFileRebootToUpdater() argument
103 int ret = strncpy_s(const_cast<char*>(updateMsg in WriteToMiscAndResultFileRebootToUpdater()
194 struct UpdateMessage updateMsg {}; RebootAndInstallUpgradePackage() struct
229 struct UpdateMessage updateMsg {}; RebootAndCleanUserData() struct
[all...]
/base/update/updater/test/fuzztest/updatermain_fuzzer/
H A Dupdatermain_fuzzer.cpp84 const std::string updateMsg = "--update_package=/data/updater/updater/updater_full.zip"; in MianUpdaterFuzzTest() local
88 if (strncpy_s(boot.update, sizeof(boot.update) - 1, updateMsg.c_str(), updateMsg.size()) != 0) { in MianUpdaterFuzzTest()
126 const std::string updateMsg = "--sdcard_update"; in SdCardUpdateFuzzTest() local
130 if (strncpy_s(boot.update, sizeof(boot.update) - 1, updateMsg.c_str(), updateMsg.size()) != 0) { in SdCardUpdateFuzzTest()
/base/update/updater/test/unittest/service_test/
H A Dupdater_service_unittest.cpp116 std::string updateMsg = ""; in HWTEST_F() local
121 EXPECT_EQ(strncpy_s(boot.update, sizeof(boot.update) - 1, updateMsg.c_str(), updateMsg.size()), 0); in HWTEST_F()
137 updateMsg = "--update_package=updater_full.zip"; in HWTEST_F()
139 EXPECT_EQ(strncpy_s(boot.update, sizeof(boot.update) - 1, updateMsg.c_str(), updateMsg.size()), 0); in HWTEST_F()
162 const std::string updateMsg = "--update_package=/data/updater/updater/updater_full.zip"; in HWTEST_F() local
164 EXPECT_EQ(strncpy_s(boot.update, sizeof(boot.update) - 1, updateMsg.c_str(), updateMsg.size()), 0); in HWTEST_F()
190 const std::string updateMsg in HWTEST_F() local
[all...]

Completed in 2 milliseconds