1{
2    "mainline-presubmit": [
3        {
4            "name": "MediaProviderTests[com.google.android.mediaprovider.apex]",
5            "options": [
6                {
7                    // Ignore the tests with @RunOnlyOnPostsubmit annotation
8                    "exclude-annotation": "com.android.providers.media.library.RunOnlyOnPostsubmit"
9                },
10                {
11                  "exclude-annotation": "androidx.test.filters.FlakyTest"
12                }
13            ]
14        },
15        {
16            "name": "CtsScopedStorageCoreHostTest[com.google.android.mediaprovider.apex]",
17            "options": [
18                {
19                  "exclude-annotation": "androidx.test.filters.FlakyTest"
20                }
21            ]
22        },
23        {
24            "name": "CtsScopedStorageHostTest[com.google.android.mediaprovider.apex]",
25            "options": [
26                {
27                  "exclude-annotation": "androidx.test.filters.FlakyTest"
28                }
29            ]
30        },
31        {
32            "name": "CtsScopedStorageDeviceOnlyTest[com.google.android.mediaprovider.apex]",
33            "options": [
34                {
35                  "exclude-annotation": "androidx.test.filters.FlakyTest"
36                }
37            ]
38        },
39        {
40            "name": "CtsScopedStorageBypassDatabaseOperationsTest[com.google.android.mediaprovider.apex]",
41            "options": [
42                {
43                  "exclude-annotation": "androidx.test.filters.FlakyTest"
44                }
45            ]
46        },
47        {
48            "name": "CtsScopedStorageGeneralTest[com.google.android.mediaprovider.apex]",
49            "options": [
50                {
51                  "exclude-annotation": "androidx.test.filters.FlakyTest"
52                }
53            ]
54        },
55        {
56            "name": "CtsScopedStorageRedactUriTest[com.google.android.mediaprovider.apex]",
57            "options": [
58                {
59                  "exclude-annotation": "androidx.test.filters.FlakyTest"
60                }
61            ]
62        },
63        {
64            "name": "CtsMediaProviderTranscodeTests[com.google.android.mediaprovider.apex]",
65            "options": [
66                {
67                  "exclude-annotation": "androidx.test.filters.FlakyTest"
68                }
69            ]
70        }
71    ],
72    "mediaprovider-mainline-presubmit": [
73        {
74            "name": "MediaProviderTests",
75            "options": [
76                {
77                    // Ignore the tests with @RunOnlyOnPostsubmit annotation
78                    "exclude-annotation": "com.android.providers.media.library.RunOnlyOnPostsubmit"
79                },
80                {
81                  "exclude-annotation": "androidx.test.filters.FlakyTest"
82                }
83            ]
84        },
85        {
86            "name": "CtsMediaProviderTestCases",
87            "options": [
88                {
89                    "exclude-annotation": "androidx.test.filters.FlakyTest"
90                }
91            ]
92        },
93        {
94            "name": "CtsScopedStorageCoreHostTest",
95            "options": [
96                {
97                  "exclude-annotation": "androidx.test.filters.FlakyTest"
98                }
99            ]
100        },
101        {
102            "name": "CtsScopedStorageHostTest",
103            "options": [
104                {
105                  "exclude-annotation": "androidx.test.filters.FlakyTest"
106                }
107            ]
108        },
109        {
110            "name": "CtsScopedStorageDeviceOnlyTest",
111            "options": [
112                {
113                  "exclude-annotation": "androidx.test.filters.FlakyTest"
114                }
115            ]
116        },
117        {
118            "name": "CtsScopedStorageBypassDatabaseOperationsTest",
119            "options": [
120                {
121                  "exclude-annotation": "androidx.test.filters.FlakyTest"
122                }
123            ]
124        },
125        {
126            "name": "CtsScopedStorageGeneralTest",
127            "options": [
128                {
129                  "exclude-annotation": "androidx.test.filters.FlakyTest"
130                }
131            ]
132        },
133        {
134            "name": "CtsScopedStorageRedactUriTest",
135            "options": [
136                {
137                  "exclude-annotation": "androidx.test.filters.FlakyTest"
138                }
139            ]
140        },
141        {
142            "name": "CtsMediaProviderTranscodeTests",
143            "options": [
144                {
145                  "exclude-annotation": "androidx.test.filters.FlakyTest"
146                }
147            ]
148        }
149    ],
150    "presubmit": [
151        {
152            "name": "MediaProviderTests",
153            "options": [
154                {
155                    // Ignore the tests with @RunOnlyOnPostsubmit annotation
156                    "exclude-annotation": "com.android.providers.media.library.RunOnlyOnPostsubmit"
157                },
158                {
159                  "exclude-annotation": "androidx.test.filters.FlakyTest"
160                }
161            ]
162        },
163        {
164            "name": "MediaProviderClientTests",
165            "options": [
166                {
167                  "exclude-annotation": "androidx.test.filters.LargeTest"
168                },
169                {
170                  "exclude-annotation": "androidx.test.filters.FlakyTest"
171                }
172            ]
173        },
174        {
175            "name": "CtsMediaProviderTestCases",
176            "options": [
177                {
178                    "exclude-annotation": "androidx.test.filters.FlakyTest"
179                }
180            ]
181        },
182        {
183            // This is a typo and is tracked in b/155715039 but flaky on CF.
184            // Will fix this once the root cause of flake is fixed.
185            "name": "AdoptableHostTest"
186        },
187        {
188            "name": "CtsScopedStorageCoreHostTest",
189            "options": [
190                {
191                  "exclude-annotation": "androidx.test.filters.FlakyTest"
192                }
193            ]
194        },
195        {
196            "name": "CtsScopedStorageHostTest",
197            "options": [
198                {
199                  "exclude-annotation": "androidx.test.filters.FlakyTest"
200                }
201            ]
202        },
203        {
204            "name": "CtsScopedStorageDeviceOnlyTest",
205            "options": [
206                {
207                  "exclude-annotation": "androidx.test.filters.FlakyTest"
208                }
209            ]
210        },
211        {
212            "name": "CtsScopedStorageBypassDatabaseOperationsTest",
213            "options": [
214                {
215                  "exclude-annotation": "androidx.test.filters.FlakyTest"
216                }
217            ]
218        },
219        {
220            "name": "CtsScopedStorageGeneralTest",
221            "options": [
222                {
223                  "exclude-annotation": "androidx.test.filters.FlakyTest"
224                }
225            ]
226        },
227        {
228            "name": "CtsScopedStorageRedactUriTest",
229            "options": [
230                {
231                  "exclude-annotation": "androidx.test.filters.FlakyTest"
232                }
233            ]
234        },
235        {
236            "name": "fuse_node_test"
237        },
238        {
239            "name": "CtsOsTestCases",
240            "options": [
241                {
242                    "include-filter": "android.os.storage.cts.StorageManagerTest"
243                }
244            ]
245        }
246    ],
247    "presubmit-large": [
248        {
249          "name": "CtsScopedStoragePublicVolumeHostTest",
250          "options": [
251                {
252                  "exclude-annotation": "androidx.test.filters.FlakyTest"
253                }
254          ]
255        }
256    ],
257    "postsubmit": [
258        {
259            "name": "MediaProviderClientTests"
260        },
261        {
262            // TODO(b/222253890): Move these tests back to presubmit once the bug is fixed.
263            "name": "CtsMediaProviderTranscodeTests"
264        },
265        {
266            "name": "CtsStorageHostTestCases",
267            "options": [
268                {
269                    "include-filter": "android.appsecurity.cts.ExternalStorageHostTest"
270                }
271            ]
272        },
273        {
274            "name": "CtsPhotoPickerTest"
275        },
276        {
277            "name": "MediaProviderTests",
278            "options": [
279                {
280                    // Only execute the tests with @RunOnlyOnPostsubmit annotation
281                    "include-annotation": "com.android.providers.media.library.RunOnlyOnPostsubmit"
282                }
283            ]
284        }
285    ],
286    "mainline-postsubmit": [
287        {
288            "name": "MediaProviderTests[com.google.android.mediaprovider.apex]",
289            "options": [
290                {
291                    // Only execute the tests with @RunOnlyOnPostsubmit annotation
292                    "include-annotation": "com.android.providers.media.library.RunOnlyOnPostsubmit"
293                }
294            ]
295        },
296        {
297            "name": "CtsPhotoPickerTest[com.google.android.mediaprovider.apex]",
298            "options": [
299                {
300                    "exclude-annotation": "androidx.test.filters.LargeTest"
301                }
302            ]
303        }
304    ]
305}
306