1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2023 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="Include tests depending on APKs not in gsi_$arch">
17    <!--
18        This file is modified from cts-on-gsi-exclude.xml by
19        replacing all the "compatibility:exclude-filter" in the latter
20        with "compatibility:include-filter".
21        Please remember to update this file when that file is modified.
22    -->
23
24    <!-- No Calendar -->
25    <option name="compatibility:include-filter" value="CtsContentTestCases android.content.cts.AvailableIntentsTest#testCalendarAddAppointment" />
26
27    <!-- No Contacts -->
28    <option name="compatibility:include-filter" value="CtsContactsProviderTestCases android.provider.cts.contacts.ContactsContractIntentsTest#testPickContactDir" />
29    <option name="compatibility:include-filter" value="CtsContactsProviderTestCases android.provider.cts.contacts.ContactsContractIntentsTest#testViewContactDir" />
30    <option name="compatibility:include-filter" value="CtsContactsProviderTestCases android.provider.cts.contacts.ContactsContract_ContactsTest#testContentUri" />
31    <option name="compatibility:include-filter" value="CtsContentTestCases android.content.cts.AvailableIntentsTest#testContactsCallLogs" />
32
33    <!-- No DeskClock -->
34    <option name="compatibility:include-filter" value="CtsContentTestCases android.content.cts.AvailableIntentsTest#testAlarmClockDismissAlarm" />
35    <option name="compatibility:include-filter" value="CtsContentTestCases android.content.cts.AvailableIntentsTest#testAlarmClockSetAlarm" />
36    <option name="compatibility:include-filter" value="CtsContentTestCases android.content.cts.AvailableIntentsTest#testAlarmClockSetTimer" />
37    <option name="compatibility:include-filter" value="CtsContentTestCases android.content.cts.AvailableIntentsTest#testAlarmClockShowAlarms" />
38    <option name="compatibility:include-filter" value="CtsContentTestCases android.content.cts.AvailableIntentsTest#testAlarmClockShowTimers" />
39    <option name="compatibility:include-filter" value="CtsContentTestCases android.content.cts.AvailableIntentsTest#testAlarmClockSnoozeAlarm" />
40
41    <!-- No Gallery2 -->
42    <option name="compatibility:include-filter" value="CtsAppSecurityHostTestCases android.appsecurity.cts.ExternalStorageHostTest#testSystemGalleryExists" />
43    <option name="compatibility:include-filter" value="CtsOsTestCases android.os.cts.StrictModeTest#testFileUriExposure" />
44    <option name="compatibility:include-filter" value="CtsOsTestCases android.os.cts.StrictModeTest#testVmPenaltyListener" />
45    <option name="compatibility:include-filter" value="CtsOsTestCases android.os.cts.StrictModeTest#testContentUriWithoutPermission" />
46    <option name="compatibility:include-filter" value="CtsOsTestCases android.os.cts.AutoRevokeTest" />
47
48    <!-- No Gallery2, Music -->
49    <option name="compatibility:include-filter" value="CtsMediaProviderTestCases android.provider.cts.media.MediaStoreIntentsTest" />
50
51    <!-- No Music -->
52    <option name="compatibility:include-filter" value="CtsContentTestCases android.content.cts.AvailableIntentsTest#testMusicPlayback" />
53
54    <!-- No QuickSearchBox -->
55    <option name="compatibility:include-filter" value="CtsContentTestCases android.content.cts.AvailableIntentsTest#testWebSearchNormalUrl" />
56    <option name="compatibility:include-filter" value="CtsContentTestCases android.content.cts.AvailableIntentsTest#testWebSearchPlainText" />
57    <option name="compatibility:include-filter" value="CtsContentTestCases android.content.cts.AvailableIntentsTest#testWebSearchSecureUrl" />
58
59    <!-- No SettingsIntelligence -->
60    <option name="compatibility:include-filter" value="CtsContentTestCases android.content.cts.AvailableIntentsTest#testSettingsSearchIntent" />
61
62    <!-- No AccessibilityService -->
63    <option name="compatibility:include-filter" value="CtsAccessibilityServiceTestCases android.accessibilityservice.cts" />
64
65    <!-- No Statsd -->
66    <option name="compatibility:include-filter" value="CtsStatsdHostTestCases" />
67
68    <!-- No AppOps -->
69    <option name="compatibility:include-filter" value="CtsStatsdAtomHostTestCases android.cts.statsdatom.appops.AppOpsTests" />
70
71    <!-- b/183654427 Remove CtsTelecomTestCases from cts-on-gsi -->
72    <option name="compatibility:include-filter" value="CtsTelecomTestCases" />
73
74    <!-- b/183655483 Remove CtsTelephonySdk28TestCases from cts-on-gsi -->
75    <option name="compatibility:include-filter" value="CtsTelephonySdk28TestCases" />
76
77    <!-- b/183234756, b/80388296, b/110260628, b/159295445, b/159294948 CtsDevicePolicyManagerTestCases -->
78    <option name="compatibility:include-filter" value="CtsDevicePolicyManagerTestCases" />
79    <option name="compatibility:include-filter" value="CtsDevicePolicyTestCases" />
80
81    <!-- b/183985653 -->
82    <option name="compatibility:module-arg" value="CtsDeqpTestCases:include-filter:dEQP-EGL.*" />
83    <option name="compatibility:module-arg" value="CtsDeqpTestCases:include-filter:dEQP-GLES2.functional.prerequisite#*" />
84    <option name="compatibility:module-arg" value="CtsDeqpTestCases:include-filter:dEQP-GLES3.functional.prerequisite#*" />
85    <option name="compatibility:module-arg" value="CtsDeqpTestCases:include-filter:dEQP-VK.api.smoke#*" />
86
87    <!-- b/183636777 Remove CtsShortcutManagerPackage4 from cts-on-gsi -->
88    <option name="compatibility:include-filter" value="CtsShortcutManagerPackage4" />
89
90    <!-- b/230829938 Remove CtsShortcutHostTestCases from cts-on-gsi -->
91    <option name="compatibility:include-filter" value="CtsShortcutHostTestCases" />
92
93    <!-- b/185451791. Can't have single overlay package for both AOSP version and Google-signed mainline modules -->
94    <option name="compatibility:include-filter" value="CtsWifiTestCases android.net.wifi.cts.ConcurrencyTest#testPersistentGroupOperation" />
95    <option name="compatibility:include-filter" value="CtsWifiTestCases android.net.wifi.cts.ConcurrencyTest#testRequestNetworkInfo" />
96
97    <!-- b/192916298, b/192013761, b/193544088  CtsAppCloningHostTest from cts-on-gsi -->
98    <option name="compatibility:include-filter" value="CtsAppCloningHostTest android.scopedstorage.cts.host.AppCloningHostTest#testCreateCloneUserFile" />
99
100    <!-- b/194146521 -->
101    <option name="compatibility:include-filter" value="CtsPermissionUiTestCases android.permissionui.cts.PermissionTest23#testNoResidualPermissionsOnUninstall" />
102
103      <!-- b/199996926 - No UWB stack support in AOSP for Android S -->
104    <option name="compatibility:include-filter" value="CtsUwbTestCases" />
105
106    <!-- b/183653612: CtsTransitionTestCases -->
107    <option name="compatibility:include-filter" value="CtsTransitionTestCases" />
108
109    <!-- b/198226244 -->
110    <!-- b/259733096 Performance tests are disabled in GSI builds -->
111    <option name="compatibility:include-filter" value="CtsVideoTestCases android.video.cts.CodecEncoderPerformanceTest" />
112
113    <!-- b/203177211 -->
114    <option name="compatibility:include-filter" value="CtsAppSecurityHostTestCases android.appsecurity.cts.ListeningPortsTest#testNoRemotelyAccessibleListeningUdpPorts" />
115
116    <!-- b/192912975 Remove CtsMediaTestCases android.media.cts.DecodeAccuracyTest from cts-on-gsi -->
117    <option name="compatibility:include-filter" value="CtsMediaTestCases android.media.cts.DecodeAccuracyTest" />
118
119    <!-- b/228390608 No Tv Input Service implementation on GSI -->
120    <option name="compatibility:include-filter" value="CtsHdmiCecHostTestCases android.hdmicec.cts.tv.HdmiCecRemoteControlPassThroughTest" />
121    <option name="compatibility:include-filter" value="CtsHdmiCecHostTestCases android.hdmicec.cts.tv.HdmiCecRoutingControlTest" />
122    <option name="compatibility:include-filter" value="CtsHdmiCecHostTestCases android.hdmicec.cts.tv.HdmiCecTvOneTouchPlayTest" />
123
124    <!-- b/192113622, b/203031609, b/204402327, b/204615046, b/204860049  Remove tests for S "optional" algorithms for GRF devices -->
125    <option name="compatibility:include-filter" value="CtsNetTestCases android.net.cts.IpSecAlgorithmImplTest#testChaCha20Poly1305" />
126    <option name="compatibility:include-filter" value="CtsNetTestCases android.net.cts.IpSecManagerTest#testChaCha20Poly1305Tcp4" />
127    <option name="compatibility:include-filter" value="CtsNetTestCases android.net.cts.IpSecManagerTest#testChaCha20Poly1305Tcp6" />
128    <option name="compatibility:include-filter" value="CtsNetTestCases android.net.cts.IpSecManagerTest#testChaCha20Poly1305Udp4" />
129    <option name="compatibility:include-filter" value="CtsNetTestCases android.net.cts.IpSecManagerTest#testChaCha20Poly1305Udp6" />
130    <option name="compatibility:include-filter" value="CtsNetTestCases android.net.cts.IpSecManagerTest#testChaCha20Poly1305Udp4UdpEncap" />
131    <option name="compatibility:include-filter" value="CtsNetTestCases android.net.cts.IpSecManagerTest#testChaCha20Poly1305Tcp4UdpEncap" />
132
133    <!-- b/234409652 Stable API does not exist to enforce this requirement on variable geometry devices -->
134    <option name="compatibility:include-filter" value="CtsCameraTestCases android.hardware.camera2.cts.ExtendedCameraCharacteristicsTest#testCameraOrientationAlignedWithDevice"/>
135
136    <!-- b/235453601 -->
137    <option name="compatibility:include-filter" value="CtsMediaPerformanceClassTestCases android.mediapc.cts.MultiDecoderPerfTest" />
138
139    <!-- b/238155422 -->
140    <option name="compatibility:include-filter" value="CtsNetTestCases android.net.cts.ConnectivityManagerTest#testSetAirplaneMode" />
141
142</configuration>
143