History log of /external/autotest/server/brillo/feedback/closed_loop_audio_client.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
88b56ad3962dcb75f4cff6d019b2882176b8f74f 06-Apr-2016 Ralph Nathan <ralphnathan@google.com> brillo: Remove root from tests.

Since ADBHost runs adb commands as root anyways, there's no need to
explicity have 'su root' in the command.

BUG:b/28045203
TEST=These tests pass:
- brillo_PingTest
- brillo_PlaybackAudioTest.opensles.must
- brillo_RecordingAudioTest.opensles.must

Change-Id: I99e6fc4a367b2677aebf2cd9c97eb712ca5ce654
Reviewed-on: https://chromium-review.googlesource.com/337348
Commit-Ready: Ralph Nathan <ralphnathan@chromium.org>
Tested-by: Ralph Nathan <ralphnathan@chromium.org>
Reviewed-by: David Pursell <dpursell@chromium.org>
/external/autotest/server/brillo/feedback/closed_loop_audio_client.py
66a2e050c292795513ad6ac607a876a87a949a48 04-Mar-2016 Ralph Nathan <ralphnathan@google.com> brillo: Remove headset workaround.

Now that Brillo supports headset detection, remove the workaround that
manually updated audio_policy.conf.

BUG=b:27150696
TEST=suite:brillo-audio passes

Change-Id: I4ab783e2b571d6339389389c8c7027dcc2361dc3
Reviewed-on: https://chromium-review.googlesource.com/330442
Commit-Ready: Ralph Nathan <ralphnathan@chromium.org>
Tested-by: Ralph Nathan <ralphnathan@chromium.org>
Reviewed-by: Christopher Wiley <wiley@chromium.org>
/external/autotest/server/brillo/feedback/closed_loop_audio_client.py
d3472e17c0e02bfb046c31274d2db23af0bc6273 13-Feb-2016 Ralph Nathan <ralphnathan@google.com> brillo: Move Brillo specific audio utils to audio_utils.py.

Move the Brillo specific audio util functions to
server/brillo/audio_utils.py.

BUG:b/27166458
TEST=test_droid.py suite:brillo-audio + unittests pass

Change-Id: I95cf604283524b7fd94948be1c3352c6ac8e3a7f
Reviewed-on: https://chromium-review.googlesource.com/327684
Commit-Ready: Ralph Nathan <ralphnathan@chromium.org>
Tested-by: Ralph Nathan <ralphnathan@chromium.org>
Reviewed-by: Christopher Wiley <wiley@chromium.org>
/external/autotest/server/brillo/feedback/closed_loop_audio_client.py
b4e70f40b1259d70428b5598bf1cb5553f0bc9da 10-Feb-2016 Ralph Nathan <ralphnathan@google.com> brillo: Compare audio signals for the recording test.

Allow the audio recording test to compare the recorded audio to what was
produced on the device so see if they are the same.

BUG=b:25803625
TEST=test_droid.py suite:brillo-audio passes

Change-Id: I7e416b687992dc08fcce538febe5250cbd117fac
Reviewed-on: https://chromium-review.googlesource.com/327090
Commit-Ready: Ralph Nathan <ralphnathan@chromium.org>
Tested-by: Ralph Nathan <ralphnathan@chromium.org>
Reviewed-by: Christopher Wiley <wiley@chromium.org>
/external/autotest/server/brillo/feedback/closed_loop_audio_client.py
71e94bd284ce7cb7c6feed21d85c120218aa1757 30-Jan-2016 Ralph Nathan <ralphnathan@google.com> brillo: Add checks to ensure the recorded audio matches what was played.

Compares what was played to the recorded audio to ensure they are the
same. Checks that the frequency is the same and that there are no
extraneous frequencies in the recorded audio.

BUG=b:25803625
TEST=test_droid.py suite:brillo-audio

Change-Id: Iaa0bf06f6da67c3af0fe715ec3f4d42fda99e637
Reviewed-on: https://chromium-review.googlesource.com/324636
Commit-Ready: Ralph Nathan <ralphnathan@chromium.org>
Tested-by: Ralph Nathan <ralphnathan@chromium.org>
Reviewed-by: Gilad Arnold <garnold@chromium.org>
/external/autotest/server/brillo/feedback/closed_loop_audio_client.py
54562ba80ed68d4ebdf912be9bc80efe5974ccf1 25-Jan-2016 Ralph Nathan <ralphnathan@google.com> brillo: Add test for recording using two channels.

Add test for stereo recording.

BUG=26747922
TEST=test_droid.py suite:brillo-audio passes

Change-Id: Ie6b05cc58324bc89230fc894e97e79c577aa5795
Reviewed-on: https://chromium-review.googlesource.com/323710
Commit-Ready: Ralph Nathan <ralphnathan@chromium.org>
Tested-by: Ralph Nathan <ralphnathan@chromium.org>
Reviewed-by: Ralph Nathan <ralphnathan@chromium.org>
/external/autotest/server/brillo/feedback/closed_loop_audio_client.py
582a43ab0519eeed65024483f527e423061516bf 19-Jan-2016 Ralph Nathan <ralphnathan@google.com> Fix patching of audio policy file.

The patching logic for the audio_policy.conf file only patched the
output devices. Fix it to patch input devices as well.

BUG=26642387
TEST=brillo_PlaybackAudioTest works on the abox_edge

Change-Id: Ie1d0feb17d810a0987fcc529bbd936acbe0cdbce
Reviewed-on: https://chromium-review.googlesource.com/322455
Commit-Ready: Ralph Nathan <ralphnathan@chromium.org>
Tested-by: Ralph Nathan <ralphnathan@chromium.org>
Reviewed-by: Gilad Arnold <garnold@chromium.org>
/external/autotest/server/brillo/feedback/closed_loop_audio_client.py
b5746a102355b9a19e34518da636060fd7643d70 08-Dec-2015 Gilad Arnold <garnold@google.com> Closed-loop audio feedback client implementation.

This is an implementation of a feedback client for interactive audio
testing that is based on a closed-loop connection between the DUT's
audio-out/audio-in jacks. This includes logic for both playback and
recording queries.

BUG=b:26162596
TEST=None

Change-Id: I930630a9beedbdbc1d9c879aeb50c27285682116
Reviewed-on: https://chromium-review.googlesource.com/319198
Commit-Ready: Gilad Arnold <garnold@chromium.org>
Tested-by: Gilad Arnold <garnold@chromium.org>
Reviewed-by: Ralph Nathan <ralphnathan@chromium.org>
/external/autotest/server/brillo/feedback/closed_loop_audio_client.py