Add Stop menu item.

BUG=None
TEST=Manual

Change-Id: Ic1092b9241e1f55ab509a7db188679a6e7a9f077
Reviewed-on: https://gerrit.chromium.org/gerrit/23835
Commit-Ready: Jon Salz <jsalz@chromium.org>
Reviewed-by: Jon Salz <jsalz@chromium.org>
Tested-by: Jon Salz <jsalz@chromium.org>
Finish collecting system info.

BUG=None
TEST=Manual

Change-Id: Ic561ec514b4cc32e554a6b8a91284222f57ad0a5
Reviewed-on: https://gerrit.chromium.org/gerrit/23827
Tested-by: Jon Salz <jsalz@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Commit-Ready: Jon Salz <jsalz@chromium.org>
Support explicit syncing of event logs to shopfloor server.

BUG=None
TEST=Manual

Change-Id: I6f8892bcfd15ee143b0c4ef3ccd2733c17d3410a
Reviewed-on: https://gerrit.chromium.org/gerrit/23832
Tested-by: Jon Salz <jsalz@chromium.org>
Reviewed-by: Hsinyu Chao <hychao@chromium.org>
Commit-Ready: <jsalz@google.com>
Tested-by: <jsalz@google.com>
factory: Add ALS calib. test and improve the camera perf test

The CL adds the ALS calibration feature for the Camera/ALS test.
The test will now control the test fixture through RS232 serial
port and record ALS values for different light settings. The CL
also refactors the i2c library to expose useful functions.

Besides, the CL improves the camera performance test in several
aspects. 1) The test now captures multiple images and average
them to reduce the image noise. 2) The test now supports an
'unit-test' mode so that the developers can verify the test
integrity when the test fixture is not available. 3) The test
now computes the image shift and tilt amount and check if they
are within the spec. Finally, the CL adds a sample test
parameter file under the src directory so that the developer can
have a reference.

BUG=chrome-os-partner:6616,chrome-os-partner:6617,chrome-os-partner:9992
TEST=Test it on link and on the test fixture -> works

Change-Id: Ic79c6cc9bef0e0e3c5c3833b15ab4eac6720a044
Reviewed-on: https://gerrit.chromium.org/gerrit/23501
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Tested-by: Tai-Hsu Lin <sheckylin@chromium.org>
Commit-Ready: Tai-Hsu Lin <sheckylin@chromium.org>
Add SMT component verification test.

Simple wrapper around corresponding gooftool functionality.

BUG=chrome-os-partner:7950
TEST=run the test

Change-Id: I7a1b4796b5f4564c0a185e4003e403aec078a885
Reviewed-on: https://gerrit.chromium.org/gerrit/23815
Commit-Ready: Jon Salz <jsalz@chromium.org>
Reviewed-by: Jon Salz <jsalz@chromium.org>
Tested-by: Jon Salz <jsalz@chromium.org>
UI fixes.

Make top-level context menu accessible by left click.  Add down arrow
to make it look like a menu.

BUG=None
TEST=Manual

Change-Id: I9c57d7a6816b6242324dc64b92813b93b91913b3
Reviewed-on: https://gerrit.chromium.org/gerrit/23849
Reviewed-by: Jon Salz <jsalz@chromium.org>
Tested-by: Jon Salz <jsalz@chromium.org>
Commit-Ready: Jon Salz <jsalz@chromium.org>
"Localize" context menu.

BUG=None
TEST=Manual

Change-Id: Ie9b137197efa508f1cc77720fba702f34726ccc5
Reviewed-on: https://gerrit.chromium.org/gerrit/23855
Commit-Ready: Jon Salz <jsalz@chromium.org>
Reviewed-by: Jon Salz <jsalz@chromium.org>
Tested-by: Jon Salz <jsalz@chromium.org>
Suppress error if ectool fails.

BUG=None
TEST=Manual

Change-Id: I64030b5a04aa9a13da44301ce9934a91a67ab1a4
Reviewed-on: https://gerrit.chromium.org/gerrit/23852
Reviewed-by: Jon Salz <jsalz@chromium.org>
Tested-by: Jon Salz <jsalz@chromium.org>
Commit-Ready: Jon Salz <jsalz@chromium.org>
Log power measurements for performance tests.

BUG=None
TEST=Manual on device

Change-Id: I241c1c2f34b864981ab184094faab6ba8731e478
Reviewed-on: https://gerrit.chromium.org/gerrit/23633
Tested-by: Jon Salz <jsalz@chromium.org>
Reviewed-by: Chun-Ta Lin <itspeter@chromium.org>
Commit-Ready: Jon Salz <jsalz@chromium.org>
factory: Add a test to dump MAC address.

Add a HTML5 factory test to display the MAC address on the screen. Failed if
MAC address is missing.

BUG=None
TEST=Manually on Alex.

Change-Id: I55df2f3a6c5567d53c67914ba95a5d6575c240b6
Reviewed-on: https://gerrit.chromium.org/gerrit/23860
Reviewed-by: Jon Salz <jsalz@chromium.org>
Tested-by: Chun-Ta Lin <itspeter@chromium.org>
Commit-Ready: Chun-Ta Lin <itspeter@chromium.org>
Modify StressTest to be a more complete stress runin.

Run SAT, load test, battery, and graphics tests parallelly.

BUG=chrome-os-partner:9743
TEST=Run factory_StressTest.

Change-Id: I1af23cd2d5e25ed0ec984a7ef79c277a7361dd9e
Reviewed-on: https://gerrit.chromium.org/gerrit/23836
Reviewed-by: Rong Chang <rongchang@chromium.org>
Commit-Ready: Chinyue Chen <chinyue@chromium.org>
Tested-by: Chinyue Chen <chinyue@chromium.org>
Extend audio loop test to test between multiple input/output devices

BUG=chrome-os-partner:9838
TEST=Manual run with default args passes.

Change-Id: I66068287ba9c52cddac02bf2f196005a77114e40
Reviewed-on: https://gerrit.chromium.org/gerrit/23861
Reviewed-by: Vic Yang <victoryang@chromium.org>
Tested-by: Hsinyu Chao <hychao@chromium.org>
Commit-Ready: Hsinyu Chao <hychao@chromium.org>
Modify audio quality test for different amixer controls

Extract more readible mixer settings for some audio test
configurations, so we can replace them by test_list arguments
for different boards.

BUG=chrome-os-partner:6646
TEST=Manual run with mock test software

Change-Id: I9dd7cb0fc3e63552224b6365be07f355a5e90d57
Reviewed-on: https://gerrit.chromium.org/gerrit/23840
Reviewed-by: Chun-Ta Lin <itspeter@chromium.org>
Commit-Ready: Hsinyu Chao <hychao@chromium.org>
Tested-by: Hsinyu Chao <hychao@chromium.org>
Allow SyncEventLogs to operate even if shopfloor URL has not been set
yet.

BUG=None
TEST=Manual

Change-Id: I32aaf5b15a1736dfcf7387fe386e0d47e60d22e7
Reviewed-on: https://gerrit.chromium.org/gerrit/23873
Tested-by: Jon Salz <jsalz@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Commit-Ready: Jon Salz <jsalz@chromium.org>
Use shopfloor URL detection.

BUG=None
TEST=Manual

Change-Id: I4fa38357d142720feff797757383a888c9c42e92
Reviewed-on: https://gerrit.chromium.org/gerrit/23880
Reviewed-by: Jon Salz <jsalz@chromium.org>
Tested-by: Jon Salz <jsalz@chromium.org>
Commit-Ready: Jon Salz <jsalz@chromium.org>
Use mosys info -l for EC version.

BUG=None
TEST=Manual

Change-Id: Ia5dddb4766ecc92b39f55e49ce71f2818664eed3
Reviewed-on: https://gerrit.chromium.org/gerrit/23877
Commit-Ready: Jon Salz <jsalz@chromium.org>
Reviewed-by: Jon Salz <jsalz@chromium.org>
Tested-by: Jon Salz <jsalz@chromium.org>
Improve exception handling so it's easy to see the underlying error(s).

BUG=None
TEST=event_log_watcher_unittest.py

Change-Id: I8cfc6e93633c3be15dab8e95b13fc9441f7df645
Reviewed-on: https://gerrit.chromium.org/gerrit/23881
Commit-Ready: Jon Salz <jsalz@chromium.org>
Reviewed-by: Jon Salz <jsalz@chromium.org>
Tested-by: Jon Salz <jsalz@chromium.org>
Clean up behavior if updating is disabled on server.

BUG=None
TEST=Manual

Change-Id: Ia298a23d4fae737f53dd045fe652edb8d8d25725
Reviewed-on: https://gerrit.chromium.org/gerrit/23883
Reviewed-by: Jon Salz <jsalz@chromium.org>
Tested-by: Jon Salz <jsalz@chromium.org>
Commit-Ready: Jon Salz <jsalz@chromium.org>
autotest: wifi: Don't run 5GHz tests on non-5Ghz DUTs

Auto-detect both clients that don't have 5GHz radios and testss
that require them.  Bundle this in a framework that also allows
tests to explicitly supply requirements.

BUG=None
TEST=Ran network_WiFiMatFunc.002Check11a on both a device with
a dual band and single band radio.

Change-Id: Iee96cb2dff8f107a331e5915563865030703c51f
Reviewed-on: https://gerrit.chromium.org/gerrit/23796
Commit-Ready: Paul Stewart <pstew@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
autotest: provide a fake implementation of the ModemManager1 interface

A python pseudo modem which can be used to test shill with the newest
ModemManager1 dbus interface on a virtual machine.  This will allow
one to write autotests which do not depend on physical hardware.

BUG=none
TEST=none

Change-Id: I71886b5d6d17dc46656875a06447e7b94f7ab126
Reviewed-on: https://gerrit.chromium.org/gerrit/23068
Commit-Ready: Jason Glasgow <jglasgow@chromium.org>
Reviewed-by: Jason Glasgow <jglasgow@chromium.org>
Tested-by: Jason Glasgow <jglasgow@chromium.org>