summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fff86f4)
raw | patch | inline | side by side (parent: fff86f4)
author | Hridya Valsaraju <hridya@google.com> | |
Fri, 14 Sep 2018 22:37:40 +0000 (15:37 -0700) | ||
committer | Hridya Valsaraju <hridya@google.com> | |
Mon, 17 Sep 2018 22:37:42 +0000 (15:37 -0700) |
Bug: 79480454
Bug: 78793464
Test: fastboot oem command
Change-Id: Ifa20badace91550812742702f3b16f5abe56be72
Bug: 78793464
Test: fastboot oem command
Change-Id: Ifa20badace91550812742702f3b16f5abe56be72
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;
};