]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-hardware-interfaces.git/commitdiff
Revert "Add command to pass oem commands to HAL"
authorHridya Valsaraju <hridya@google.com>
Fri, 21 Sep 2018 22:38:57 +0000 (22:38 +0000)
committerHridya Valsaraju <hridya@google.com>
Fri, 21 Sep 2018 22:38:57 +0000 (22:38 +0000)
This reverts commit ddaa8ecb379479a3450c954161df33fda1348685.

Reason for revert: This needs to go to master first to prevent build breaks.

Change-Id: I6418f1ba5dab492dc11b8c24e5d83ea7257d9699

fastboot/1.0/IFastboot.hal
fastboot/1.0/types.hal

index 5e42c17042ba21e78afa3b3e05569124ca577584..653fd79ef5e25f03176fbf99e74c22cfc81c13cd 100644 (file)
@@ -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);
 };
index 3fbe63959c6e9f70875e9dacd4fed5b689d306e9..8453deb2a421c0b9bff0b1e3336c0a6675ca8704 100644 (file)
@@ -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;
 };