diff options
author | David Anderson <dvander@google.com> | 2018-09-04 18:11:03 -0700 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2018-09-05 12:52:15 -0700 |
commit | c091c176cbc93044c4d70d7f733fef4c59672f96 (patch) | |
tree | 4d5f6a962c878c75d5fe530200301e0b6146e436 /fastboot/device/variables.h | |
parent | 56843eec457cc06ccf7d39db56ebcd3dba25df8b (diff) | |
download | system_core-c091c176cbc93044c4d70d7f733fef4c59672f96.tar.gz system_core-c091c176cbc93044c4d70d7f733fef4c59672f96.tar.bz2 system_core-c091c176cbc93044c4d70d7f733fef4c59672f96.zip |
fastbootd: Implement getvar hw-revision.
Bug: 78793464
Test: fastboot getvar hw-revision works
fuzzy_fastboot Conformance.GetVarRevision passes
Change-Id: I5a3e9893d61e18567f2f818ef06cad8e862d637f
Diffstat (limited to 'fastboot/device/variables.h')
-rw-r--r-- | fastboot/device/variables.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fastboot/device/variables.h b/fastboot/device/variables.h index c3a64cfab..a44e72928 100644 --- a/fastboot/device/variables.h +++ b/fastboot/device/variables.h @@ -48,6 +48,8 @@ bool GetPartitionIsLogical(FastbootDevice* device, const std::vector<std::string std::string* message); bool GetIsUserspace(FastbootDevice* device, const std::vector<std::string>& args, std::string* message); +bool GetHardwareRevision(FastbootDevice* device, const std::vector<std::string>& args, + std::string* message); // Helpers for getvar all. std::vector<std::vector<std::string>> GetAllPartitionArgsWithSlot(FastbootDevice* device); |