]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-hardware-interfaces.git/commitdiff
Add command to read fastboot variable 'variant'
authorHridya Valsaraju <hridya@google.com>
Wed, 26 Sep 2018 20:06:21 +0000 (13:06 -0700)
committerHridya Valsaraju <hridya@google.com>
Fri, 28 Sep 2018 18:44:00 +0000 (11:44 -0700)
Bug: 79480454
Test: fastboot getvar variant
Change-Id: I04f588f09d03e121c066449b0a7223f51d2e59af
Merged-In: I04f588f09d03e121c066449b0a7223f51d2e59af
(cherry picked from commit 3f27a7b373305f98117607f159eeb3c4e1fe4f6f)

fastboot/1.0/IFastboot.hal

index 5e42c17042ba21e78afa3b3e05569124ca577584..c5979d9c78aebec3a42b65d0e69cb9fbfe97c78b 100644 (file)
@@ -39,4 +39,15 @@ interface IFastboot {
      *     FAILURE_UNKNOWN for an invalid/unsupported command.
      */
     doOemCommand(string oemCmd) generates (Result result);
+
+    /**
+     * Returns an OEM-defined string indicating the variant of the device, for
+     * example, US and ROW.
+     *
+     * @response variant Indicates the device variant.
+     * @response result Returns the status SUCCESS if the operation is successful,
+     *     FAILURE_UNKNOWN otherwise.
+     */
+    getVariant() generates (string variant, Result result);
+
 };