1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2022 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
17    description="Runs stable set of CTS tests for virtual device slim image">
18
19  <include name="cts-virtual-device-stable"/>
20
21  <option name="plan" value="cts-slim-stable"/>
22
23  <!-- These core test suites are inexplicably not included in cts-virtual-device-stable, so add them here -->
24  <option name="compatibility:include-filter" value="CtsAppTestCases"/>
25  <option name="compatibility:include-filter" value="CtsContentTestCases"/>
26  <option name="compatibility:include-filter" value="CtsDisplayTestCases"/>
27  <option name="compatibility:include-filter" value="CtsGraphicsTestCases"/>
28  <option name="compatibility:include-filter" value="CtsOsTestCases"/>
29  <option name="compatibility:include-filter" value="CtsUtilTestCases"/>
30  <option name="compatibility:include-filter" value="CtsViewTestCases"/>
31  <option name="compatibility:include-filter" value="CtsWidgetTestCases"/>
32
33  <!-- flaky tests -->
34  <option name="compatibility:exclude-filter"
35          value="CtsAppTestCases android.app.cts.ActivityManagerFgsBgStartTest#testOverlappedTempAllowList"/>
36  <option name="compatibility:exclude-filter"
37          value="CtsAppTestCases android.app.cts.ActivityManagerProcessStateTest#testBackgroundCheckActivityService"/>
38  <option name="compatibility:exclude-filter"
39          value="CtsAppTestCases android.app.cts.ActivityManagerProcessStateTest#testFgsSticky1"/>
40  <option name="compatibility:exclude-filter"
41      value="CtsAppTestCases android.app.cts.ActivityManagerProcessStateTest#testCantSaveStateLaunchAndSwitch" />
42  <option name="compatibility:exclude-filter"
43          value="CtsAppTestCases android.app.cts.ActivityManagerProcessStateTest#testFgsSticky1"/>
44  <option name="compatibility:exclude-filter"
45          value="CtsAppTestCases android.app.cts.AlertDialog_BuilderTest"/>
46  <option name="compatibility:exclude-filter" value="CtsAppTestCases android.app.cts.NotificationManagerTest#testNotificationUriPermissionsGranted"/>
47  <option name="compatibility:exclude-filter"
48      value="CtsContentTestCases android.content.cts.ContentProviderClientTest#testBulkInsertTimeout"/>
49  <option name="compatibility:exclude-filter"
50      value="CtsContentTestCases android.content.cts.ContentProviderClientTest#testUncanonicalizeTimeout" />
51  <option name="compatibility:exclude-filter"
52      value="CtsContentTestCases android.content.cts.ContentResolverSyncTestCase#testCallMultipleAccounts" />
53  <option name="compatibility:exclude-filter"
54      value="CtsContentTestCases android.content.cts.ContentQueryMapTest#testSetKeepUpdated" />
55  <option name="compatibility:exclude-filter"
56          value="CtsGraphicsTestCases android.graphics.cts.AnimatorLeakTest#testPauseResume"/>
57  <option name="compatibility:exclude-filter"
58      value="CtsLocationFineTestCases android.location.cts.fine.LocationManagerFineTest#testRegisterGnssMeasurementsCallback" />
59  <option name="compatibility:exclude-filter" value="CtsTransitionTestCases"/>
60  <option name="compatibility:exclude-filter"
61      value="CtsVoiceInteractionTestCases android.voiceinteraction.cts.DirectActionsTest" />
62  <option name="compatibility:exclude-filter"
63      value="CtsWidgetTestCases android.widget.cts.ZoomControlsTest#testHasFocus" />
64  <option name="compatibility:exclude-filter"
65          value="CtsWidgetTestCases android.widget.cts.TextViewTest#testOnBackInvokedCallback"/>
66  <option name="compatibility:exclude-filter"
67          value="CtsWidgetTestCases android.widget.cts.TextViewTest#testUndo_imeInsertAndDeleteLatin"/>
68  <option name="compatibility:exclude-filter"
69          value="CtsWidgetTestCases android.widget.cts.TimePickerTest#testConstructorNullContext2"/>
70  <option name="compatibility:exclude-filter"
71          value="CtsWidgetTestCases android.widget.cts.ToggleButtonTest#testAttributesFromLayout"/>
72  <option name="compatibility:exclude-filter"
73          value="CtsWidgetTestCases android.widget.cts.ToggleButtonTest#testSetChecked"/>
74  <option name="compatibility:exclude-filter"
75          value="CtsWidgetTestCases android.widget.cts.ToolbarTest#testNavigationConfiguration"/>
76  <option name="compatibility:exclude-filter"
77          value="CtsWidgetTestCases android.widget.cts.ToolbarTest#testMenuOverflowShowHide"/>
78  <option name="compatibility:exclude-filter"
79          value="CtsWidgetTestCases android.widget.cts.ToolbarTest#testTitleAndSubtitleContent"/>
80  <option name="compatibility:exclude-filter"
81          value="CtsWidgetTestCases android.widget.cts.ToolbarTest#testCurrentContentInsetsRtl"/>
82  <option name="compatibility:exclude-filter"
83          value="CtsWidgetTestCases android.widget.cts.ToolbarTest#testMenuContent"/>
84  <option name="compatibility:exclude-filter"
85          value="CtsWidgetTestCases android.widget.cts.TwoLineListItemTest#testConstructorWithNullContext2"/>
86  <option name="compatibility:exclude-filter"
87          value="CtsWidgetTestCases android.widget.cts.TwoLineListItemTest#testConstructor"/>
88  <option name="compatibility:exclude-filter"
89          value="CtsWidgetTestCases android.widget.cts.ViewAnimatorTest#testAccessDisplayedChild"/>
90  <option name="compatibility:exclude-filter"
91          value="CtsWidgetTestCases android.widget.cts.ViewAnimatorTest#testGetBaseline"/>
92  <option name="compatibility:exclude-filter"
93          value="CtsWidgetTestCases android.widget.cts.ZoomButtonTest#testConstructorWithNullContext2"/>
94  <option name="compatibility:exclude-filter"
95          value="CtsWidgetTestCases android.widget.cts.ZoomControlsTest#testSetZoomSpeed"/>
96  <option name="compatibility:exclude-filter"
97          value="CtsWidgetTestCases android.widget.cts.inline.InlineContentViewTest#testSetSurfaceControlCallback"/>
98<option name="compatibility:exclude-filter"
99          value="CtsWidgetTestCases android.widget.cts.ViewFlipperTest#testConstructorNullContext"/>
100  <option name="compatibility:exclude-filter"
101          value="CtsWidgetTestCases android.widget.cts.ViewFlipperTest#testConstructor"/>
102
103  <!-- also fails on sdk_phone -->
104  <!-- causes bluetooth crash b/254094190 -->
105  <option name="compatibility:exclude-filter"
106          value="CtsAppTestCases android.app.cts.ActivityManagerProcessStateTest#testFgsSticky3"/>
107  <option name="compatibility:exclude-filter"
108      value="CtsAppTestCases android.app.cts.SystemFeaturesTest#testLocationFeatures" />
109  <option name="compatibility:exclude-filter"
110      value="CtsAppTestCases android.app.cts.SystemFeaturesTest#testCameraFeatures" />
111  <option name="compatibility:exclude-filter"
112      value="CtsAppTestCases android.app.cts.SystemFeaturesTest#testSensorFeatures" />
113  <option name="compatibility:exclude-filter"
114      value="CtsContentTestCases android.content.pm.cts.InstallSessionParamsUnitTest#checkSessionParams[11]" />
115  <option name="compatibility:exclude-filter"
116          value="CtsContentTestCases android.content.pm.cts.ChecksumsTest#testFixedFSVerityDefaultChecksumsIncremental"/>
117  <option name="compatibility:exclude-filter"
118          value="CtsContentTestCases android.content.pm.cts.ChecksumsTest#testFixedFSVerityDefaultChecksums"/>
119  <option name="compatibility:exclude-filter"
120          value="CtsGraphicsTestCases android.graphics.cts.VulkanFeaturesTest#testVulkanHardwareFeatures"/>
121
122  <!-- documentsui dependent tests -->
123  <option name="compatibility:exclude-filter"
124      value="CtsAppTestCases android.app.cts.DownloadManagerTest#testDownload_onMediaStoreDownloadsDeleted"/>
125  <option name="compatibility:exclude-filter"
126      value="CtsOsTestCases android.os.cts.StrictModeTest#testVmPenaltyListener" />
127  <option name="compatibility:exclude-filter"
128      value="CtsOsTestCases android.os.cts.StrictModeTest#testContentUriWithoutPermission" />
129  <option name="compatibility:exclude-filter"
130      value="CtsOsTestCases android.os.cts.StrictModeTest#testFileUriExposure" />
131
132  <!-- ime dependent tests -->
133  <option name="compatibility:exclude-filter"
134      value="CtsAppTestCases android.app.cts.ActivityKeyboardShortcutsTest#testRequestShowKeyboardShortcuts"/>
135  <option name="compatibility:exclude-filter" value="CtsInputMethodTestCases"/>
136
137  <!-- systemui dependent tests -->
138  <option name="compatibility:exclude-filter"
139      value="CtsAppTestCases android.app.cts.NotificationManagerTest#testNotificationManagerBubble_setSuppressBubble"/>
140  <option name="compatibility:exclude-filter"
141      value="CtsAppTestCases android.app.cts.NotificationManagerTest#testNotificationManagerBubble_setSuppressBubble_dismissLocusActivity"/>
142  <option name="compatibility:exclude-filter"
143      value="CtsAppTestCases android.app.cts.NotificationManagerTest#testNotificationManagerBubble_checkActivityFlagsDocumentLaunchMode"/>
144  <option name="compatibility:exclude-filter"
145      value="CtsAppTestCases android.app.cts.NotificationManagerTest#testNotificationManagerBubble_checkIsBubbled_pendingIntent"/>
146  <option name="compatibility:exclude-filter"
147      value="CtsAppTestCases android.app.cts.NotificationManagerTest#testNotificationManagerBubble_checkIsBubbled_shortcut"/>
148  <option name="compatibility:exclude-filter" value="CtsAppTestCases android.app.cts.NotificationManagerBubbleTest"/>
149  <option name="compatibility:exclude-filter" value="CtsAppTestCases android.app.cts.NotificationTemplateTest#testPromoteBigPicture_withLargeIcon"/>         |
150  <option name="compatibility:exclude-filter" value="CtsAppTestCases android.app.cts.NotificationTemplateTest#testPromoteBigPicture_withBigLargeIcon"/>
151  <option name="compatibility:exclude-filter"
152      value="CtsOsTestCases android.os.cts.AppHibernationIntegrationTest#testUnusedApp_getsForceStopped" />
153  <option name="compatibility:exclude-filter"
154      value="CtsOsTestCases android.os.cts.AutoRevokeTest#testInstallGrants_notRevokedImmediately" />
155  <option name="compatibility:exclude-filter"
156      value="CtsOsTestCases android.os.cts.AutoRevokeTest#testAutoRevoke_userAllowlisting" />
157  <option name="compatibility:exclude-filter"
158      value="CtsOsTestCases android.os.cts.AutoRevokeTest#testUnusedApp_getsPermissionRevoked" />
159  <option name="compatibility:exclude-filter"
160      value="CtsOsTestCases android.os.cts.AutoRevokeTest#testUnusedApp_uninstallApp" />
161  <option name="compatibility:exclude-filter"
162      value="CtsViewTestCases android.view.cts.ViewTest#testGetWindowVisibleDisplayFrame" />
163  <option name="compatibility:exclude-filter"
164      value="CtsWidgetTestCases android.widget.cts.ToastTest" />
165  <option name="compatibility:exclude-filter" value="CtsSliceTestCases android.slice.cts.SlicePermissionsTest#testPermissionIntent"/>
166
167  <!-- other apps dependent tests -->
168  <option name="compatibility:exclude-filter" value="CtsAppTestCases android.app.cts.ActivityManagerTest#testHomeVisibilityListener"/>
169  <option name="compatibility:exclude-filter" value="CtsAppTestCases android.app.cts.ActivityManagerFgsBgStartTest#testVisibleActivityGracePeriod"/>
170  <option name="compatibility:exclude-filter"
171      value="CtsContentTestCases android.content.cts.AvailableIntentsTest"/>
172  <option name="compatibility:exclude-filter"
173          value="CtsGraphicsTestCases android.graphics.cts.SystemPaletteTest#testThemeStyles"/>
174  <option name="compatibility:exclude-filter"
175      value="CtsOsTestCases android.os.cts.AppHibernationIntegrationTest#testAppInfo_RemovePermissionsAndFreeUpSpaceToggleExists" />
176  <option name="compatibility:exclude-filter"
177      value="CtsLocationFineTestCases android.location.cts.fine.ScanningSettingsTest#testWifiScanningSettings" />
178  <option name="compatibility:exclude-filter"
179      value="CtsLocationFineTestCases android.location.cts.fine.ScanningSettingsTest#testBleScanningSettings" />
180  <option name="compatibility:exclude-filter"
181      value="CtsVoiceInteractionTestCases android.voiceinteraction.cts.HotwordDetectionServiceBasicTest#testHotwordDetectionService_onDetectFromExternalSource_success" />
182
183  <!-- hardware renderer dependent tests -->
184  <option name="compatibility:exclude-filter"
185      value="CtsDisplayTestCases android.display.cts.VirtualDisplayTest#testUntrustedSysDecorVirtualDisplay" />
186  <option name="compatibility:exclude-filter"
187      value="CtsGraphicsTestCases android.graphics.cts.BasicVulkanGpuTest" />
188  <option name="compatibility:exclude-filter"
189      value="CtsGraphicsTestCases android.graphics.cts.BitmapTest#testCreateBitmap_Picture_immutable" />
190  <option name="compatibility:exclude-filter"
191      value="CtsGraphicsTestCases android.graphics.drawable.cts.AnimatedImageDrawableTest#testRepeatCounts" />
192  <option name="compatibility:exclude-filter"
193      value="CtsGraphicsTestCases android.graphics.drawable.cts.AnimatedImageDrawableTest#testAddCallbackAfterStart" />
194  <option name="compatibility:exclude-filter"
195      value="CtsGraphicsTestCases android.graphics.drawable.cts.AnimatedImageDrawableTest#testLifeCycle" />
196  <option name="compatibility:exclude-filter"
197          value="CtsGraphicsTestCases android.graphics.cts.HardwareRendererTest#isDrawingEnabled_defaultsTrue"/>
198  <option name="compatibility:exclude-filter"
199      value="CtsNativeHardwareTestCases" />
200  <option name="compatibility:exclude-filter"
201      value="CtsViewTestCases android.view.cts.ASurfaceControlTest" />
202  <option name="compatibility:exclude-filter"
203      value="CtsViewTestCases android.view.cts.ASurfaceControlBackPressureTest" />
204  <option name="compatibility:exclude-filter"
205      value="CtsViewTestCases android.view.cts.FrameMetricsListenerTest" />
206  <option name="compatibility:exclude-filter"
207      value="CtsViewTestCases android.view.cts.PixelCopyTest" />
208  <option name="compatibility:exclude-filter"
209      value="CtsViewTestCases android.view.cts.TextureViewTest#testSamplingWithTransform" />
210  <option name="compatibility:exclude-filter"
211      value="CtsViewTestCases android.view.cts.TextureViewTest#testTransformScale" />
212  <option name="compatibility:exclude-filter"
213      value="CtsViewTestCases android.view.cts.TextureViewTest#testRotateScale" />
214  <option name="compatibility:exclude-filter"
215      value="CtsViewTestCases android.view.cts.TextureViewTest#testFirstFrames" />
216  <option name="compatibility:exclude-filter"
217      value="CtsWidgetTestCases android.widget.cts.MagnifierTest" />
218
219  <!-- screenshot reliant tests -->
220  <option name="compatibility:exclude-filter"
221      value="CtsGraphicsTestCases android.graphics.drawable.cts.AnimatedVectorDrawableParameterizedTest#testAnimationOnLayer"/>
222  <option name="compatibility:exclude-filter"
223      value="CtsGraphicsTestCases android.graphics.drawable.cts.AnimatedVectorDrawableParameterizedTest#testInfiniteAVD"/>
224  <option name="compatibility:exclude-filter"
225      value="CtsViewTestCases android.view.cts.ViewAnimationMatrixTest#testAnimationMatrixAppliedDuringDrawing"/>
226  <option name="compatibility:exclude-filter"
227      value="CtsViewTestCases android.view.cts.ViewAnimationMatrixTest#testAnimationMatrixClearedWithPassingNull"/>
228  <option name="compatibility:exclude-filter" value="CtsUiRenderingTestCases"/>
229  <option name="compatibility:exclude-filter" value="CtsViewTestCases android.view.cts.TextureViewTest#testCropRect"/>
230
231
232</configuration>
233