49 lines
2.5 KiB
XML
49 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2018 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<configuration description="Runs Audio Test Harness Tests">
|
|
|
|
<target_preparer class="com.android.tradefed.targetprep.DeviceSetup">
|
|
<option name="disable-audio" value="false"/>
|
|
<option name="screen-saver" value="off"/>
|
|
<option name="set-system-setting" key="volume_music_speaker" value="15" />
|
|
<option name="set-system-setting" key="volume_music_headset" value="15" />
|
|
<option name="set-system-setting" key="volume_music_headphone" value="15" />
|
|
<option name="set-property" key="audio.safemedia.bypass" value="1"/>
|
|
</target_preparer>
|
|
|
|
<target_preparer class="com.android.tradefed.targetprep.InstallApkSetup">
|
|
<option name="apk-path" value="out/target/product/generic/testcases/audiotestharness-instrumentation-app/arm/audiotestharness-instrumentation-app.apk"/>
|
|
</target_preparer>
|
|
|
|
<metrics_collector class="com.android.media.audiotestharness.tradefed.AudioTestHarnessHermeticServerManagingMetricCollector">
|
|
<option name="capture-device" value="UMM-6"/>
|
|
</metrics_collector>
|
|
|
|
<metrics_collector class="com.android.tradefed.device.metric.FilePullerLogCollector">
|
|
<option name="directory-keys" value="/data/data/com.android.media.audiotestharness.instrumentation/files" />
|
|
<option name="compress-directories" value="true" />
|
|
<option name="collect-on-run-ended-only" value="true" />
|
|
<option name="clean-up" value="false" />
|
|
</metrics_collector>
|
|
|
|
<option name="test-tag" value="AudioTestHarnessTest" />
|
|
<test class="com.android.tradefed.testtype.AndroidJUnitTest" >
|
|
<option name="package" value="com.android.media.audiotestharness.instrumentation" />
|
|
<option name="runner" value=".AudioTestHarnessInstrumentationTestRunner" />
|
|
<option name="hidden-api-checks" value="false"/>
|
|
</test>
|
|
|
|
</configuration> |