Home
last modified time | relevance | path

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

/base/update/updater/test/unittest/utils/
Dutils_unittest.cpp263 string rebootTarget = ""; variable
264 Utils::DoReboot(rebootTarget);
270 rebootTarget = "updater";
276 Utils::DoReboot(rebootTarget);
280 rebootTarget = "flashd";
286 Utils::DoReboot(rebootTarget);
290 rebootTarget = "bootloader";
296 Utils::DoReboot(rebootTarget);
300 rebootTarget = "updater";
304 Utils::DoReboot(rebootTarget, extData);
/base/update/updater/utils/
Dutils.cpp178 void DoReboot(const std::string& rebootTarget, const std::string &extData) in DoReboot() argument
180 LOG(INFO) << ", rebootTarget: " << rebootTarget; in DoReboot()
184 if (rebootTarget.empty()) { in DoReboot()
195 if (rebootTarget == "updater" && strcmp(msg.command, "boot_updater") != 0) { in DoReboot()
198 } else if (rebootTarget == "flashd" && strcmp(msg.command, "flashd") != 0) { in DoReboot()
201 } else if (rebootTarget == "bootloader" && strcmp(msg.command, "boot_loader") != 0) { in DoReboot()
220 …reboot, LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, LINUX_REBOOT_CMD_RESTART2, rebootTarget.c_str()); in DoReboot()
/base/update/updater/utils/include/
Dutils.h55 void DoReboot(const std::string& rebootTarget, const std::string& extData = "");
/base/update/updater/test/unittest/test_data/applypatch/
DTestGZipModeImagePatch.old.gz