Add command to read fastboot variable 'variant'

Bug: 79480454
Test: fastboot getvar variant
Change-Id: I04f588f09d03e121c066449b0a7223f51d2e59af
Merged-In: I04f588f09d03e121c066449b0a7223f51d2e59af
(cherry picked from commit 3f27a7b373305f98117607f159eeb3c4e1fe4f6f)
diff --git a/fastboot/1.0/IFastboot.hal b/fastboot/1.0/IFastboot.hal
index 5e42c17..c5979d9 100644
--- a/fastboot/1.0/IFastboot.hal
+++ b/fastboot/1.0/IFastboot.hal
@@ -39,4 +39,15 @@
      *     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);
+
 };