Autotest now logs the hwid as a test keyval.

As part of investigating performance test results, it's helpful to have
information about the physical device on which the tests ran.  This CL
adds the "hwid" to the set of test keyvals outputted by an autotest run.
From the hwid, we can look up detailed information about a device.

This CL also adds some docstrings to existing code in order to get
presubmit checks to pass.

TEST=Verified the hwid appears in the test "keyval" file when running a
sample test on a local device.

Change-Id: I886762900171234bce3897ed74f0a14d69b3a928
Reviewed-by: Scott Zawalski <>
Commit-Queue: Dennis Jeffrey <>
Tested-by: Dennis Jeffrey <>
2 files changed