Lines Matching refs:WriteFail

154         return device->WriteFail("Missing argument");  in GetVarHandler()
168 return device->WriteFail("Unknown variable"); in GetVarHandler()
174 return device->WriteFail(message); in GetVarHandler()
213 return device->WriteFail(message); in EraseHandler()
323 return device->WriteFail("Cannot change slots while a snapshot update is in progress"); in SetActiveHandler()
461 return device->WriteFail("Invalid partition name and size"); in CreatePartitionHandler()
471 return device->WriteFail("Invalid partition size"); in CreatePartitionHandler()
476 return device->WriteFail("Could not open super partition"); in CreatePartitionHandler()
480 return device->WriteFail("Partition already exists"); in CreatePartitionHandler()
485 return device->WriteFail("Failed to add partition"); in CreatePartitionHandler()
489 return device->WriteFail("Not enough space for partition"); in CreatePartitionHandler()
492 return device->WriteFail("Failed to write partition table"); in CreatePartitionHandler()
499 return device->WriteFail("Invalid partition name and size"); in DeletePartitionHandler()
510 return device->WriteFail("Could not open super partition"); in DeletePartitionHandler()
514 return device->WriteFail("Failed to write partition table"); in DeletePartitionHandler()
521 return device->WriteFail("Invalid partition name and size"); in ResizePartitionHandler()
531 return device->WriteFail("Invalid partition size"); in ResizePartitionHandler()
536 return device->WriteFail("Could not open super partition"); in ResizePartitionHandler()
541 return device->WriteFail("Partition does not exist"); in ResizePartitionHandler()
549 return device->WriteFail("Not enough space to resize partition"); in ResizePartitionHandler()
552 return device->WriteFail("Failed to write partition table"); in ResizePartitionHandler()
584 return device->WriteFail(message); in FlashHandler()
600 return device->WriteFail("Invalid arguments"); in UpdateSuperHandler()
613 return device->WriteFail("Invalid arguments"); in GsiHandler()
618 return device->WriteFail("Could not find GSI install"); in GsiHandler()
641 if (!hal) return device->WriteFail("Not supported"); in SnapshotUpdateHandler()
649 return device->WriteFail("Could not determine update status"); in SnapshotUpdateHandler()
658 return device->WriteFail("Invalid arguments"); in SnapshotUpdateHandler()
671 return device->WriteFail("No snapshot merge is in progress"); in SnapshotUpdateHandler()
676 return device->WriteFail("Unable to create SnapshotManager"); in SnapshotUpdateHandler()
679 return device->WriteFail("Unable to finish snapshot merge"); in SnapshotUpdateHandler()
682 return device->WriteFail("Invalid parameter to snapshot-update"); in SnapshotUpdateHandler()
693 return device->WriteFail("Fetch is not allowed on user build"); in Fetch()
697 return device->WriteFail("Fetch is not allowed on locked devices"); in Fetch()
716 ret_ = device_->WriteFail("Missing partition arg"); in Open()
723 ret_ = device_->WriteFail("Fetch is only allowed on [" + in Open()
729 ret_ = device_->WriteFail( in Open()
744 ret_ = device_->WriteFail("Invalid offset, must be integer"); in Open()
748 ret_ = device_->WriteFail( in Open()
754 ret_ = device_->WriteFail(android::base::StringPrintf( in Open()
772 ret_ = device_->WriteFail(android::base::StringPrintf( in Open()
780 ret_ = device_->WriteFail(android::base::StringPrintf( in Open()
795 ret_ = device_->WriteFail(android::base::StringPrintf( in Fetch()