ad78170c346b5abb156841452cdd75d9f30422c2 |
|
03-Oct-2016 |
Moja Hsu <mojahsu@google.com> |
Chameleon: Merge create_remote_facade_factory into remote_facade_factory. We created an advanced method to create facade factory in audio_test. This method will get MULTIMEDIA_XMLRPC_SERVER_LOG_FILE into results directory. Merge it into remote_facade_factory for non audio related tests. BUG=None TEST=Run audio_AudioBasicHDMI and check if we have the log in results directory. Change-Id: Ic6311428fe99b2ecdd6da381ee2b193cf9d4f573 Reviewed-on: https://chromium-review.googlesource.com/391986 Commit-Ready: Hsu Wei-Cheng <mojahsu@chromium.org> Tested-by: Hsu Wei-Cheng <mojahsu@chromium.org> Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicInternalSpeaker/audio_AudioBasicInternalSpeaker.py
|
2f46422e7c73d027f284eaafe1dadc7b50314434 |
|
01-Feb-2016 |
Moja Hsu <mojahsu@google.com> |
Get chameleon log from board to test's output directory Register get log function by atexit module. We will get all chameleon boards' log to output_directory/chameleond/chameleon-hostname/log . BUG=chromium:504177 TEST=run suite:chameleon_dp, suite:chameleon_dp_stress to see if we can get chameleond log for each test. Change-Id: I0d38827e7334367939c79d53a97436f49bb7d575 Reviewed-on: https://chromium-review.googlesource.com/324744 Commit-Ready: Hsu Wei-Cheng <mojahsu@chromium.org> Tested-by: Hsu Wei-Cheng <mojahsu@chromium.org> Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicInternalSpeaker/audio_AudioBasicInternalSpeaker.py
|
17f5e539b879a985f262ae351785629fb115da7a |
|
25-Nov-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] audio_AudioBasicInternalSpeaker: Ignore 50Hz and 60Hz components Internal speaker test suffer from 60Hz power noise on Chameleon. Ignore that component in the check. Also ignore 50Hz in case this is run in Europe or China where power source is 50Hz. BUG=chromium:561256 TEST=run audio_AudioBasicInternalSpeaker test on veyron_jerry. Change-Id: Ibff10d0a7c3eabda0accddf9a555265ccbd4acef Reviewed-on: https://chromium-review.googlesource.com/314431 Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicInternalSpeaker/audio_AudioBasicInternalSpeaker.py
|
d89dd6cfb740847a97d8626d3ae7ab370ed892e6 |
|
19-Nov-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] audio_AudioBasicInternal*: Use spectral analysis tool Use spectral analysis tool to estimate frequency. BUG=chromium:550395 TEST=run the tests on link. Change-Id: Id292c653fd010c4c8612b0c87c59267ec3430e08 Reviewed-on: https://chromium-review.googlesource.com/313079 Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Kalin Stoyanov <kalin@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicInternalSpeaker/audio_AudioBasicInternalSpeaker.py
|
5de7e2a855b51eba066f77bb11b1f0075cc8330d |
|
22-Oct-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] audio_Audio*: Use create_remote_facade_factory method Use the new method so multimedia server log can be preserved. BUG=chromium:546405 TEST=run the tests Change-Id: I73e15a2b16fc98022b8d544d7970ed9a4c8bca95 Reviewed-on: https://chromium-review.googlesource.com/307694 Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Hsinyu Chao <hychao@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicInternalSpeaker/audio_AudioBasicInternalSpeaker.py
|
08529c0d4b5a19d4628c38b5a52f3a80220d5dbd |
|
15-Oct-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] audio_*: Dump logs for debugging Use audio_test_utils.dump_cros_audio_logs to dump logs. BUG=chromium:542964 TEST=run the tests and check log in results directory. Change-Id: I112a3b66d0a0309a8f75a381da3210fee94dadec Reviewed-on: https://chromium-review.googlesource.com/305952 Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Hsinyu Chao <hychao@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicInternalSpeaker/audio_AudioBasicInternalSpeaker.py
|
e4e12def677e70298dc273799779bd7904f8eb43 |
|
05-Oct-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] audio_AudioBasic*: Skip internal nodes tests on Chromebox Skip tests if Cros device does not have internal speaker or internal microphone. BUG=chromium:539223 TEST=run the tests on panther Change-Id: I3d30e6de879bb32b373cb037eac4b473537dcfec Reviewed-on: https://chromium-review.googlesource.com/303665 Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Hsinyu Chao <hychao@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicInternalSpeaker/audio_AudioBasicInternalSpeaker.py
|
fc41c8e8b1520157890d2abb3db1464d9172e27f |
|
19-Sep-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] audio_Audio*: raise TestFail when node is wrong When the selected node on Cros device is wrong, the test should raise TestFail, not TestError. BUG=None TEST=None Change-Id: I84add0f70fac33d9ca9c078d29d169fb14c07140 Reviewed-on: https://chromium-review.googlesource.com/300648 Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicInternalSpeaker/audio_AudioBasicInternalSpeaker.py
|
b8f9f6bb52321fb59952782ed70974dd2f52617b |
|
18-Sep-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] Use louder test file to fix internal speaker test The microphone we use for Chameleon is not sensitive enough. We need to use louder test file to test internal speaker. BUG=chromium:524944 TEST=run audio_AudioBasicInternalSpeaker test on nyan_big Change-Id: I5e5eee8dd028615a1c43a0a56bacfc8529759c42 Reviewed-on: https://chromium-review.googlesource.com/300627 Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Kalin Stoyanov <kalin@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicInternalSpeaker/audio_AudioBasicInternalSpeaker.py
|
d932cab2d1add38671fc30cbd2d20b5abb229473 |
|
20-Aug-2015 |
Kalin Stoyanov <kalin@chromium.org> |
Fail instead of error out BUG=None TEST=None Change-Id: I26d3fbee73c16be5fae46935e4a126e35859e99a Reviewed-on: https://chromium-review.googlesource.com/294342 Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org> Commit-Queue: Kalin Stoyanov <kalin@chromium.org> Tested-by: Kalin Stoyanov <kalin@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicInternalSpeaker/audio_AudioBasicInternalSpeaker.py
|
981a0ae6eb8914b6355245a913eac00494c2f65a |
|
01-Jun-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
audio_Audio*: Fix argument of AudioWidgetFactory Now test should pass host into chameleon_audio_helper.AudioWidgetFactory. BUG=chromium:476860 TEST=run the tests. Change-Id: I3d97569f98e3de4f0492456a4f1be8445dd9aa89 Reviewed-on: https://chromium-review.googlesource.com/274340 Commit-Queue: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicInternalSpeaker/audio_AudioBasicInternalSpeaker.py
|
21833f5fb416171df282cd3d2176db6e55a8c6ae |
|
22-May-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
audio_Audio*: Use new API for playback and recording Audio widgets now provide new API for playback and recording. Time consuming task is handled in set_playback_data and read_recorded_binary methods. The start_playback and stop_recording method now returns right away. This usage will be helpful when multiple playback/recording are used in time-sensitive sequence in the test. BUG=chromium:491058 TEST=run audio_AudioBasic* tests. Change-Id: I26feb458d1d54189cab4ffaa9f4164c1aae07e8e Reviewed-on: https://chromium-review.googlesource.com/273145 Reviewed-by: Hung-ying Tyan <tyanh@chromium.org> Commit-Queue: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicInternalSpeaker/audio_AudioBasicInternalSpeaker.py
|
51876573ba85aedf3bf6c7f8f94388f7fb12f4d2 |
|
22-May-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] Install sox command in AudioTest for audio tests Let audio tests base AudioTest so sox command can be installed in the autotest drone. BUG=chromium:483063 TEST=run the test in chroot and in autotest lab. Change-Id: Ifbf27ae6f41a328c1b5013f0d07cdf51cc7174a5 Reviewed-on: https://chromium-review.googlesource.com/272816 Reviewed-by: Dan Shi <dshi@chromium.org> Commit-Queue: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicInternalSpeaker/audio_AudioBasicInternalSpeaker.py
|
bb052f834fe0a51fb81be4e4e40995964edf51d6 |
|
27-May-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
audio_AudioBasic*: Fix get_selected_node_types usage The method get_selected_node_types now returns a tuple with each field being a list of selected nodes because there may be multiple selected nodes at the same time. Fix the usage in site_tests. BUG=chromium:491931 TEST=run audio_AudioBasic* test. Change-Id: Ib6f925adadb8d5606368617d23e53975894ebeda Reviewed-on: https://chromium-review.googlesource.com/273461 Reviewed-by: Hsinyu Chao <hychao@chromium.org> Commit-Queue: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicInternalSpeaker/audio_AudioBasicInternalSpeaker.py
|
4a2a2557eb4041e69d2583afc3b66ae03f00357a |
|
05-May-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
audio_AudioBasciInternalSpeaker: Remove recorded data from the head Remove 0.5 seconds of recorded data from the head to avoid codec initialization artifact on Chameleon. BUG=chromium:463813 TEST=run audio_AudioBasicInternalSpeaker test on squawks Change-Id: I5179dd0929cab476a4bdbd6e1ca521f6edcf21b4 Reviewed-on: https://chromium-review.googlesource.com/269252 Reviewed-by: Tom Tam <waihong@google.com> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Commit-Queue: Cheng-Yi Chiang <cychiang@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicInternalSpeaker/audio_AudioBasicInternalSpeaker.py
|
b3520e614e86db0380b1eeeed428dac731b78ef4 |
|
05-May-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
audio_AudioBasic*: Fail earlier if node selected by cras is incorrect We should fail earlier if the node selected by cras is incorrect. Otherwise the recorded data is meaningless. BUG=chromium:463813 TEST=run audio_AudioBasic* tests with audio jack wrongly plugged. Change-Id: Ida9f41dacc576cfd9889f3c51aa25791654bc2b2 Reviewed-on: https://chromium-review.googlesource.com/269223 Reviewed-by: Tom Tam <waihong@google.com> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Commit-Queue: Cheng-Yi Chiang <cychiang@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicInternalSpeaker/audio_AudioBasicInternalSpeaker.py
|
4115e8ee704e820f7db1512f62b63358396ef204 |
|
04-May-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
audio_AudioBasicInternalSpeaker: Use Mic on Chameleon to record Use Mic on Chameleon to record audio from Cros device. The microphone is directly connected to Chameleon MIC port so we do not need binder to combine them. BUG=chromium:463813 TEST=run audio_AudioBasicInternalSpeaker test. Change-Id: Ie13c5122dc01836333071952a4ea0028a0598c41 Reviewed-on: https://chromium-review.googlesource.com/269221 Reviewed-by: Tom Tam <waihong@google.com> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Commit-Queue: Cheng-Yi Chiang <cychiang@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicInternalSpeaker/audio_AudioBasicInternalSpeaker.py
|
44b1997589a379bf5cb21636b4f4d8e3becba8b7 |
|
26-Mar-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
audio_AudioBasicInternalSpeaker: Add basic internal speaker test This test plays sine tone on Cros device using internal speaker. Chameleon records audio using peripheral mic through audio board. The recorded data is then compared with the test data to make sure internal speaker on Cros device is functional. BUG=chromium:463813 TEST=test_that --args "chameleon_host=$CHAMELEON_IP" $DUT_IP audio_AudioBasicInternalSpeaker --board=squawk Change-Id: I29c2e7fd53bf794e5319a0458b4b391f85445f44 Reviewed-on: https://chromium-review.googlesource.com/262549 Reviewed-by: Wai-Hong Tam <waihong@chromium.org> Commit-Queue: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicInternalSpeaker/audio_AudioBasicInternalSpeaker.py
|