summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 338b0c7)
raw | patch | inline | side by side (parent: 338b0c7)
author | Hridya Valsaraju <hridya@google.com> | |
Thu, 27 Sep 2018 17:21:07 +0000 (10:21 -0700) | ||
committer | Hridya Valsaraju <hridya@google.com> | |
Fri, 28 Sep 2018 21:17:48 +0000 (14:17 -0700) |
Bug: 78793464
Bug: 79480454
Test: fastboot getvar off-mode-charge
Change-Id: I1bd4148ff3476acf110e4aa95a40084300608875
Merged-In: I1bd4148ff3476acf110e4aa95a40084300608875
(cherry picked from commit 3d76cf0d8e6abe52e459bb7bc741e58b34b9790d)
Bug: 79480454
Test: fastboot getvar off-mode-charge
Change-Id: I1bd4148ff3476acf110e4aa95a40084300608875
Merged-In: I1bd4148ff3476acf110e4aa95a40084300608875
(cherry picked from commit 3d76cf0d8e6abe52e459bb7bc741e58b34b9790d)
fastboot/1.0/IFastboot.hal | patch | blob | history |
index c5979d9c78aebec3a42b65d0e69cb9fbfe97c78b..a96755e4996d5eb32f2efcbeb214adb03033245b 100644 (file)
*/
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,
+ * FAILURE_UNKNOWN otherwise.
+ */
+ getOffModeChargeState() generates (bool state, Result result);
};