1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2020 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<configuration description="List MTS media tests">
17    <option name="compatibility:include-filter" value="CtsMediaTestCases" />
18    <option name="compatibility:include-filter" value="CtsMediaV2TestCases" />
19    <option name="compatibility:include-filter" value="CtsMediaStressTestCases" />
20    <option name="compatibility:include-filter" value="CtsMediaParserTestCases" />
21    <option name="compatibility:include-filter" value="Mpeg4H263DecoderTest" />
22
23    <!--b/138964734-->
24    <option name="compatibility:exclude-filter" value="CtsMediaTestCases android.media.cts.MediaCodecCapabilitiesTest#testGetMaxSupportedInstances" />
25
26    <!--Tests from CTS known failures-->
27
28    <!-- b/38224690 -->
29    <option name="compatibility:exclude-filter" value="CtsMediaTestCases android.media.cts.NativeEncoderTest" />
30
31    <!-- b/38280830 -->
32    <option name="compatibility:exclude-filter" value="CtsMediaTestCases android.media.cts.VideoDecoderPerfTest#testVp8Goog0Perf1280x0720" />
33
34    <!-- Exclude tests that are not related to media mainlines -->
35    <option name="compatibility:module-arg" value="CtsMediaTestCases:exclude-annotation:android.media.cts.NonMediaMainlineTest" />
36    <option name="compatibility:module-arg" value="CtsMediaStressTestCases:exclude-annotation:android.mediastress.cts.NonMediaMainlineTest" />
37    <option name="compatibility:module-arg" value="CtsMediaV2TestCases:exclude-annotation:android.mediav2.cts.NonMediaMainlineTest" />
38
39    <!-- Advertise the test suite to media cts. -->
40    <option name="compatibility:module-arg" value="CtsMediaTestCases:instrumentation-arg:mts-media:=true" />
41
42    <!-- Run media v2 tests for codec names starting with c2.android. -->
43    <option name="compatibility:module-arg" value="CtsMediaV2TestCases:instrumentation-arg:codec-prefix:=c2.android." />
44
45    <!-- Unit tests dynamically download test media -->
46    <option name="compatibility:enable-module-dynamic-download" value="true" />
47
48</configuration>
49