summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0d30dab)
raw | patch | inline | side by side (parent: 0d30dab)
author | Hridya Valsaraju <hridya@google.com> | |
Fri, 21 Sep 2018 23:06:30 +0000 (16:06 -0700) | ||
committer | Hridya Valsaraju <hridya@google.com> | |
Tue, 25 Sep 2018 23:23:36 +0000 (23:23 +0000) |
Test: make
This reverts commit 2e880493d6a227b050dabc6caa294eea408338ca.
Change-Id: I7cdfa6a01b5d776659dd4e7595915574b341cd9c
Merged-In: I7cdfa6a01b5d776659dd4e7595915574b341cd9c
(cherry picked from commit 3c2443ec29984c7c003e8b21a26fc25ad519475d)
This reverts commit 2e880493d6a227b050dabc6caa294eea408338ca.
Change-Id: I7cdfa6a01b5d776659dd4e7595915574b341cd9c
Merged-In: I7cdfa6a01b5d776659dd4e7595915574b341cd9c
(cherry picked from commit 3c2443ec29984c7c003e8b21a26fc25ad519475d)
fastboot/1.0/IFastboot.hal | patch | blob | history | |
fastboot/1.0/types.hal | patch | blob | history |
index 653fd79ef5e25f03176fbf99e74c22cfc81c13cd..5e42c17042ba21e78afa3b3e05569124ca577584 100644 (file)
* 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);
};
diff --git a/fastboot/1.0/types.hal b/fastboot/1.0/types.hal
index 8453deb2a421c0b9bff0b1e3336c0a6675ca8704..3fbe63959c6e9f70875e9dacd4fed5b689d306e9 100644 (file)
--- a/fastboot/1.0/types.hal
+++ b/fastboot/1.0/types.hal
struct Result {
Status status;
/**
- * Error message pertaining to the status. It must be a failure message for
+ * 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 error;
+ string message;
};