mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Revert "Add command to pass oem commands to HAL"
This reverts commit ddaa8ecb37.
Test: make
Change-Id: I14c745ade7c19d961bdc588d6e09930bc1360b36
This commit is contained in:
@@ -29,14 +29,4 @@ interface IFastboot {
|
||||
* reformatting.
|
||||
*/
|
||||
getPartitionType(string partitionName) generates (FileSystemType type, Result result);
|
||||
|
||||
/**
|
||||
* Executes a fastboot OEM command.
|
||||
*
|
||||
* @param oemCmdArgs The oem command that is passed to the fastboot HAL.
|
||||
* @response result Returns the status SUCCESS if the operation is successful,
|
||||
* INVALID_ARGUMENT for bad arguments,
|
||||
* FAILURE_UNKNOWN for an invalid/unsupported command.
|
||||
*/
|
||||
doOemCommand(string oemCmd) generates (Result result);
|
||||
};
|
||||
|
||||
@@ -53,9 +53,9 @@ enum FileSystemType : uint8_t {
|
||||
struct Result {
|
||||
Status status;
|
||||
/**
|
||||
* Message pertaining to the status. It must be a failure message for
|
||||
* Error message pertaining to the status. It must be a failure message for
|
||||
* Status FAILURE_UNKNOWN/NOT_SUPPORTED or an informative message for
|
||||
* Status SUCCESS.
|
||||
*/
|
||||
string message;
|
||||
string error;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user