Home
last modified time | relevance | path

Searched refs:rebootTarget (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/update/updater/utils/
H A Dutils.cpp199 bool SetRebootMisc(const std::string& rebootTarget, const std::string &extData, struct UpdateMessag… in SetRebootMisc() argument
203 if (rebootTarget == "updater" && strcmp(msg.command, "boot_updater") != 0) { in SetRebootMisc()
205 } else if (rebootTarget == "flashd" && strcmp(msg.command, "flashd") != 0) { in SetRebootMisc()
207 } else if (rebootTarget == "bootloader" && strcmp(msg.command, "boot_loader") != 0) { in SetRebootMisc()
227 void UpdaterDoReboot(const std::string& rebootTarget, const std::string &extData) in UpdaterDoReboot() argument
229 LOG(INFO) << ", rebootTarget: " << rebootTarget; in UpdaterDoReboot()
232 if (rebootTarget.empty()) { in UpdaterDoReboot()
242 if (!SetRebootMisc(rebootTarget, extData, msg)) { in UpdaterDoReboot()
253 DoReboot(rebootTarget.c_str()); in UpdaterDoReboot()
/ohos5.0/base/update/updater/utils/include/
H A Dutils.h67 void UpdaterDoReboot(const std::string& rebootTarget, const std::string& extData = "");
/ohos5.0/base/update/updater/test/unittest/test_data/applypatch/
H A DTestGZipModeImagePatch.old.gz1console:/ # init: Service 'adbd' (pid 112) exited with status 1 2init ...