Chameleon: Add Chameleon audio test framework
Moves audio utilities out of ChameleonTest into chameleon_audio_helper
module.
Now audio utilities on Chameleon and DUT are abstracted by widgets.
Audio widgets and binders are created by AudioWidgetFactory.
In autotest, we can create widget, connect/disconnect widgets using
binder, and do playback/record actions on widgets.
Refactors audiovideo_AudioBasicHDMI test to be a simple test.test.
Now the test uses widgets to control the test sequence.
BUG=chromium:429862
TEST=test_that --args "chameleon_host=$CHAMELEON_IP" $DUT_IP
audiovideo_AudioBasicHDMI
Change-Id: I1bfed3d9e93a772d5c3eeec7f5e07486c8f81b49
Reviewed-on: https://chromium-review.googlesource.com/231591
Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>
Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
Commit-Queue: Wai-Hong Tam <waihong@chromium.org>
7 files changed