Searched refs:WriteStatus (Results 1 – 3 of 3) sorted by relevance
/system/core/fastboot/device/ |
D | commands.cpp | 135 return device->WriteStatus(FastbootResult::FAIL, "Invalid arguments"); in EraseHandler() 139 return device->WriteStatus(FastbootResult::FAIL, "Erase is not allowed on locked devices"); in EraseHandler() 144 return device->WriteStatus(FastbootResult::FAIL, "Partition doesn't exist"); in EraseHandler() 147 return device->WriteStatus(FastbootResult::OKAY, "Erasing succeeded"); in EraseHandler() 149 return device->WriteStatus(FastbootResult::FAIL, "Erasing failed"); in EraseHandler() 155 return device->WriteStatus(FastbootResult::FAIL, "Unable to open fastboot HAL"); in OemCmdHandler() 161 return device->WriteStatus(FastbootResult::FAIL, "Unable to do OEM command"); in OemCmdHandler() 164 return device->WriteStatus(FastbootResult::FAIL, ret.message); in OemCmdHandler() 167 return device->WriteStatus(FastbootResult::OKAY, ret.message); in OemCmdHandler() 172 return device->WriteStatus(FastbootResult::FAIL, "size argument unspecified"); in DownloadHandler() [all …]
|
D | fastboot_device.cpp | 88 bool FastbootDevice::WriteStatus(FastbootResult result, const std::string& message) { in WriteStatus() function in FastbootDevice 149 WriteStatus(FastbootResult::FAIL, "Unrecognized command " + args[0]); in ExecuteCommands() 159 return WriteStatus(FastbootResult::OKAY, message); in WriteOkay() 163 return WriteStatus(FastbootResult::FAIL, message); in WriteFail() 167 return WriteStatus(FastbootResult::INFO, message); in WriteInfo()
|
D | fastboot_device.h | 40 bool WriteStatus(FastbootResult result, const std::string& message);
|