Home
last modified time | relevance | path

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

/system/core/fastboot/device/
Dcommands.cpp192 device->WriteStatus(FastbootResult::FAIL, ret.message); in OemPostWipeData()
194 device->WriteStatus(FastbootResult::OKAY, "Erasing succeeded"); in OemPostWipeData()
202 return device->WriteStatus(FastbootResult::FAIL, "Invalid arguments"); in EraseHandler()
206 return device->WriteStatus(FastbootResult::FAIL, "Erase is not allowed on locked devices"); in EraseHandler()
217 return device->WriteStatus(FastbootResult::FAIL, "Partition doesn't exist"); in EraseHandler()
227 return device->WriteStatus(FastbootResult::OKAY, "Erasing succeeded"); in EraseHandler()
233 return device->WriteStatus(FastbootResult::FAIL, "Erasing failed"); in EraseHandler()
239 return device->WriteStatus(FastbootResult::FAIL, "Unable to open fastboot HAL"); in OemCmdHandler()
244 return device->WriteStatus(FastbootResult::FAIL, "Unable to do oem postwipedata userdata"); in OemCmdHandler()
250 return device->WriteStatus(FastbootResult::FAIL, "Unable to do OEM command"); in OemCmdHandler()
[all …]
Dfastboot_device.cpp111 bool FastbootDevice::WriteStatus(FastbootResult result, const std::string& message) { in WriteStatus() function in FastbootDevice
172 WriteStatus(FastbootResult::FAIL, "Unrecognized command " + args[0]); in ExecuteCommands()
182 return WriteStatus(FastbootResult::OKAY, message); in WriteOkay()
186 return WriteStatus(FastbootResult::FAIL, message); in WriteFail()
190 return WriteStatus(FastbootResult::INFO, message); in WriteInfo()
Dfastboot_device.h41 bool WriteStatus(FastbootResult result, const std::string& message);