diff options
author | Jingwei Guo <jingweiguo@google.com> | 2016-10-12 11:45:26 -0700 |
---|---|---|
committer | Jingwei Guo <jingweiguo@google.com> | 2016-11-15 10:42:46 -0800 |
commit | 67173bdc459b75ca89d99096624e9fa289205275 (patch) | |
tree | 764a8812cc06d733eb7c4c776803a4747fef6531 /res/config/google | |
parent | e7c46fe81817b5e8852c7c3684d295270632caac (diff) | |
download | contrib-67173bdc459b75ca89d99096624e9fa289205275.tar.gz |
Add AudioWaltTest
This is a generic test for audio related WALT tests.
The test would first connect the device to host and start
the permission granting script for WALT board.
Then the host would issue the corresponding audio test commands
, swtich the FTDI board making device connected to WALT,
wait for a configurable amount of time, switch the device
to connect back to host, pull the result csv files from WALT
and post-processing them.
And the config file for this test is also included.
For more information about WALT project:
https://github.com/google/walt
Change-Id: I6c49e6452d7f59331393dcdcafb7e326bb44c43d
Diffstat (limited to 'res/config/google')
-rw-r--r-- | res/config/google/test/framework/media/audio-walt-midi.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/res/config/google/test/framework/media/audio-walt-midi.xml b/res/config/google/test/framework/media/audio-walt-midi.xml new file mode 100644 index 0000000..2ef3e43 --- /dev/null +++ b/res/config/google/test/framework/media/audio-walt-midi.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright 2016 Google Inc. All Rights Reserved --> +<configuration description="Run Audio WALT Test on device and get results"> + + <target_preparer class="com.android.tradefed.targetprep.InstallApkSetup"> + <option name="apk-path" value="/google/data/ro/teams/tradefed/testdata/media/apps/walt.apk" /> + <option name="apk-path" value="/google/data/ro/teams/tradefed/testdata/media/apps/walt-permission.apk" /> + <option name="apk-path" value="/google/data/ro/teams/tradefed/testdata/media/apps/walt-permission-instrumentation.apk" /> + </target_preparer> + + <option name="test-tag" value="AudioWalt" /> + + <option name="switch-script-path" value="/google/data/ro/teams/tradefed/testdata/media/scripts/walt-switch.py"/> + + <option name="permission-script-path" value="/google/data/ro/teams/tradefed/testdata/media/scripts/walt-permission.sh"/> + + <option name="test-type" value="MidiIn"/> + + <option name="fields" value="time_to_midi,time_total"/> + + <test class="com.android.media.tests.AudioWaltTest" /> + +</configuration> + + |