Home
last modified time | relevance | path

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

/system/core/fastboot/device/
Dcommands.cpp193 device->WriteStatus(FastbootResult::FAIL, ret.message); in OemPostWipeData()
195 device->WriteStatus(FastbootResult::OKAY, "Erasing succeeded"); in OemPostWipeData()
203 return device->WriteStatus(FastbootResult::FAIL, "Invalid arguments"); in EraseHandler()
207 return device->WriteStatus(FastbootResult::FAIL, "Erase is not allowed on locked devices"); in EraseHandler()
218 return device->WriteStatus(FastbootResult::FAIL, "Partition doesn't exist"); in EraseHandler()
228 return device->WriteStatus(FastbootResult::OKAY, "Erasing succeeded"); in EraseHandler()
234 return device->WriteStatus(FastbootResult::FAIL, "Erasing failed"); in EraseHandler()
240 return device->WriteStatus(FastbootResult::FAIL, "Unable to open fastboot HAL"); in OemCmdHandler()
245 return device->WriteStatus(FastbootResult::FAIL, "Unable to do oem postwipedata userdata"); in OemCmdHandler()
251 return device->WriteStatus(FastbootResult::FAIL, "Unable to do OEM command"); in OemCmdHandler()
[all …]
Dfastboot_device.cpp112 bool FastbootDevice::WriteStatus(FastbootResult result, const std::string& message) { in WriteStatus()
183 WriteStatus(FastbootResult::FAIL, "Unrecognized command " + args[0]); in ExecuteCommands()
193 return WriteStatus(FastbootResult::OKAY, message); in WriteOkay()
197 return WriteStatus(FastbootResult::FAIL, message); in WriteFail()
201 return WriteStatus(FastbootResult::INFO, message); in WriteInfo()
Dfastboot_device.h41 bool WriteStatus(FastbootResult result, const std::string& message);
Dcommands.h27 enum class FastbootResult { enum