3bc8fb6e9d3d0e051b4b15d87ad15283bdc02691 |
|
26-Apr-2017 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] chameleon: Allow line-out to be detected The audio board is connected to chameleon line-in, so it is reasonable for Cros device to detect a LineOut node when its audio jack is connected to audio board. Add 'LINEOUT' to CRAS output node types. Accept 'LINEOUT' node type in check_audio_nodes when 'HEADPHONE' is requested. Fix the server side audio tests: - audio_AudioBasicHeadphone and audio_MediaBasicVerification: They should use check_audio_nodes in audio_test_utils. - Other BT and HDMI tests: they check whether headphone is plugged because in some Chameleon setup DUT is connected to audio board permanently. They should check either headphone or line-out. BUG=chromium:710903 TEST=run audio_AudioBasicHeadphone and audio_MediaBasicVerification tests. Change-Id: Ic156f21c6683fc8de680768930ad7675a7755f5a Reviewed-on: https://chromium-review.googlesource.com/487785 Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Wai-Hong Tam <waihong@google.com> Reviewed-by: Kalin Stoyanov <kalin@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicHeadphone/audio_AudioBasicHeadphone.py
|
6c2f8934bf579f9eaf5cdb2d2779dcb4495cec67 |
|
17-Jan-2017 |
Ruchi Jahagirdar <rjahagir@google.com> |
[Autotest] Adding silence to AudioBasicHeadphone Adding silence while recording to AudioBasicHeadphone to detect any audio spikes that may occur. BUG=chromium:679552 TEST=Tested on device at desk and in lab Change-Id: I5788f41e15dbdf9788008ae63ce18d0c27b10543 Reviewed-on: https://chromium-review.googlesource.com/428953 Commit-Ready: Ruchi Jahagirdar <rjahagir@chromium.org> Tested-by: Ruchi Jahagirdar <rjahagir@chromium.org> Reviewed-by: Kalin Stoyanov <kalin@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicHeadphone/audio_AudioBasicHeadphone.py
|
b3ebbcf7345116fd6b1ceefac8dc6300eca990f4 |
|
22-Nov-2016 |
Cheng-Yi Chiang <cychiang@chromium.org> |
audio_AudioBasicHeadphone: Skip board that does not have headphone ChromeBit does not have headphones. Skip it on headphone test. BUG=chromium:666242 TEST=run the test on mickey Change-Id: I82ad508989ba9cbdb25584027c487ee0bbdd04fc Reviewed-on: https://chromium-review.googlesource.com/413377 Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Kalin Stoyanov <kalin@chromium.org> Reviewed-by: Shyh-In Hwang <josephsih@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicHeadphone/audio_AudioBasicHeadphone.py
|
6971b1811c477104bdcd440686757718893e341a |
|
10-Nov-2016 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] Use artifact algorithm for 3.5mm quality test The new artifact algorithm can detect rattling noise. Use it for basic headphoen and external microphone quality test. BUG=chromium:663616 TEST=run the test on samus, can pass. On chell, can fail. Change-Id: I073324f8037f71cd6cbc3d491a06444280a39de7 Reviewed-on: https://chromium-review.googlesource.com/409894 Commit-Ready: 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_AudioBasicHeadphone/audio_AudioBasicHeadphone.py
|
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_AudioBasicHeadphone/audio_AudioBasicHeadphone.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_AudioBasicHeadphone/audio_AudioBasicHeadphone.py
|
9da3fda8d20b6daa86215bca2e79794ce0e5742a |
|
05-Jan-2016 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] audio_AudioBasic*: Add quality test for 3.5mm jack Add control.quality test for audio_AudioBasicExternalMicrophone and audio_AudioBasicHeadphone. The original control files does not check quality since quality check is not stable for some boards now. We should remain the basic control files for functional check. BUG=chromium:573154 TEST=run audio_AudioBasicExternalMicrophone.quality and audio_AudioBasicHeadphone.quality tests. Change-Id: Ife9fbfc60cbc0795ed15ef68fd58763ce2c6152b Reviewed-on: https://chromium-review.googlesource.com/320585 Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Hsinyu Chao <hychao@chromium.org> Reviewed-by: Chinyue Chen <chinyue@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicHeadphone/audio_AudioBasicHeadphone.py
|
5bbea9a6d52185b9de17a321667899b27ddb3849 |
|
05-Jan-2016 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] audio_AudioBasic*: Remove filters in BT and 3.5mm tests Bluetooth and 3.5mm jack tests do not need filter because analog signal path is through audio cable. Remove the filters so we can check the real signal. BUG=chromium:573154 TEST=run the tests. Change-Id: If3a20a856c922d0a5a48f04ad2d0da79a1c222ad Reviewed-on: https://chromium-review.googlesource.com/320584 Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Chinyue Chen <chinyue@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicHeadphone/audio_AudioBasicHeadphone.py
|
0dac9c47c58aec0267dc7e3c060f340f1b7ee597 |
|
18-Nov-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] audio_AudioBasicHeadphone: Use spectral analysis tool Use spectral analysis tool to check recorded data frequency. This is more robust and more accurate than sox frequency estimation. BUG=chromium:550395 TEST=run the test. Change-Id: Ic000e467f770a8f4f52fb0900b4395457b8354d3 Reviewed-on: https://chromium-review.googlesource.com/313077 Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Rohit Makasana <rohitbm@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicHeadphone/audio_AudioBasicHeadphone.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_AudioBasicHeadphone/audio_AudioBasicHeadphone.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_AudioBasicHeadphone/audio_AudioBasicHeadphone.py
|
87412a73c0e6e905a21a19b29b3ee3e9bc4c60f1 |
|
12-Oct-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] audio_AudioBasicHeadphone: Add filter to filter noise Headphone test data has 1KHz and 2KHz audio on two channels. Filter out high frequency noise over 4KHz so the test can pass on peach_pit. BUG=chromium:541658 TEST=Run the test on peach_pit Change-Id: I4ed698e1bf3edacfe43cea8e414618fa56e40e26 Reviewed-on: https://chromium-review.googlesource.com/305171 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_AudioBasicHeadphone/audio_AudioBasicHeadphone.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_AudioBasicHeadphone/audio_AudioBasicHeadphone.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_AudioBasicHeadphone/audio_AudioBasicHeadphone.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_AudioBasicHeadphone/audio_AudioBasicHeadphone.py
|
497ecd6541afd43105f06871ec6faef48d8c0eba |
|
22-May-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
audio_AudioBasicHeadphone: remove 0.5 seconds of recorded data from head This is to remove Chameleon codec initialization artifacts. BUG=chromium:437678 TEST=run audio_AudioBasicHeadphone test on jerry. Change-Id: I9a7b711a563e281e1b1c299058603a046ee0c3f6 Reviewed-on: https://chromium-review.googlesource.com/273146 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_AudioBasicHeadphone/audio_AudioBasicHeadphone.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_AudioBasicHeadphone/audio_AudioBasicHeadphone.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_AudioBasicHeadphone/audio_AudioBasicHeadphone.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_AudioBasicHeadphone/audio_AudioBasicHeadphone.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_AudioBasicHeadphone/audio_AudioBasicHeadphone.py
|
73c6e1e9d092f8a03a896cb08340af12575ee4b0 |
|
18-Jan-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
audio: Simplify the path in AudioTestData and playback API Now AudioTestData only maintains one path. Also simplify the API provided by multimedia server to play an audio file. To play an audio file, the multimedia client will do 1. Send file to multimedia server using CrosHost send_file method. 2. Send data path and format to multimedia server so server knows what and how to play. BUG=chromium:437678 TEST=run audio_AudioBasicHeadphone and audio_AudioBasicExternalMicrophone test Change-Id: I1eb8bbf701b09eb0b534ff3b311cad55f88a710d Reviewed-on: https://chromium-review.googlesource.com/241404 Reviewed-by: Wai-Hong Tam <waihong@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Commit-Queue: Cheng-Yi Chiang <cychiang@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicHeadphone/audio_AudioBasicHeadphone.py
|
e266d2347ea2432fd0dbdad782cb87f8ffd84313 |
|
12-Dec-2014 |
Tom Wai-Hong Tam <waihong@chromium.org> |
Rename server audio tests from audiovideo_xxx to audio_xxx BUG=chromium:330126 TEST=None Change-Id: Id189b9b61626c86fb9f8ef22e6d885be7b244e56 Reviewed-on: https://chromium-review.googlesource.com/234870 Tested-by: Wai-Hong Tam <waihong@chromium.org> Reviewed-by: Rohit Makasana <rohitbm@chromium.org> Commit-Queue: Wai-Hong Tam <waihong@chromium.org>
/external/autotest/server/site_tests/audio_AudioBasicHeadphone/audio_AudioBasicHeadphone.py
|