summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f461463)
raw | patch | inline | side by side (parent: f461463)
author | Hridya Valsaraju <hridya@google.com> | |
Mon, 1 Oct 2018 22:47:24 +0000 (15:47 -0700) | ||
committer | Hridya Valsaraju <hridya@google.com> | |
Fri, 5 Oct 2018 23:15:31 +0000 (16:15 -0700) |
Bug: 79480454
Test: fastboot getvar battery-soc-ok
Change-Id: I6141993972a3084fe3620d81f707999e1264b997
Merged-In: I6141993972a3084fe3620d81f707999e1264b997
(cherry picked from commit 83f5631deb5169d7b6f897679956bc11d13e6e0b)
Test: fastboot getvar battery-soc-ok
Change-Id: I6141993972a3084fe3620d81f707999e1264b997
Merged-In: I6141993972a3084fe3620d81f707999e1264b997
(cherry picked from commit 83f5631deb5169d7b6f897679956bc11d13e6e0b)
fastboot/1.0/IFastboot.hal | patch | blob | history |
index a96755e4996d5eb32f2efcbeb214adb03033245b..dce3ad796efa459d07a7c9affdfac3522a56b7af 100644 (file)
* 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,
+ * @return result Returns the status SUCCESS if the operation is successful,
* INVALID_ARGUMENT for bad arguments,
* FAILURE_UNKNOWN for an invalid/unsupported command.
*/
* 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,
+ * @return variant Indicates the device variant.
+ * @return result Returns the status SUCCESS if the operation is successful,
* FAILURE_UNKNOWN otherwise.
*/
getVariant() generates (string variant, Result result);
* Returns whether off-mode-charging is enabled. If enabled, the device
* autoboots into a special mode when power is applied.
*
- * @response state Returns whether off mode charging is enabled.
- * @response result Returns the status SUCCESS if the operation is successful,
+ * @return state Returns whether off mode charging is enabled.
+ * @return result Returns the status SUCCESS if the operation is successful,
* FAILURE_UNKNOWN otherwise.
*/
getOffModeChargeState() generates (bool state, Result result);
+
+ /**
+ * Returns the minimum battery voltage required for flashing in mV.
+ *
+ * @return batteryVoltage Minimum batterery voltage (in mV) required for
+ * flashing to be successful.
+ * @return result Returns the status SUCCESS if the operation is successful,
+ * FAILURE_UNKNOWN otherwise.
+ */
+ getBatteryVoltageFlashingThreshold() generates (int32_t batteryVoltage, Result result);
};