1{
2  "adservices-mainline-presubmit": [
3    {
4      "name": "AdServicesApkUINotificationTests",
5      "options": [
6        {
7          "exclude-annotation": "androidx.test.filters.FlakyTest"
8        }
9      ]
10    },
11    {
12      "name": "AdServicesApkUISettingsTests",
13      "options": [
14        {
15          "exclude-annotation": "androidx.test.filters.FlakyTest"
16        }
17      ]
18    },
19    {
20      "name": "AdServicesApkUITestsAppConsent",
21      "options": [
22        {
23          "exclude-annotation": "androidx.test.filters.FlakyTest"
24        }
25      ]
26    },
27    {
28      "name": "AdServicesApkUISettingsGaOtaTests",
29      "options": [
30        {
31          "exclude-annotation": "androidx.test.filters.FlakyTest"
32        }
33      ]
34    },
35    {
36      "name": "AdServicesApkUnitTests",
37      "options": [
38        {
39          "exclude-annotation": "androidx.test.filters.FlakyTest"
40        }
41      ]
42    },
43    {
44      "name": "AdServicesApkUISettingsGaUXSelectorTests",
45      "options": [
46        {
47          "exclude-annotation": "androidx.test.filters.FlakyTest"
48        }
49      ]
50    },
51    {
52      "name": "AdServicesCobaltUnitTests",
53      "options": [
54        {
55          "exclude-annotation": "androidx.test.filters.FlakyTest"
56        }
57      ]
58    },
59    {
60      "name": "AdServicesFrameworkUnitTests",
61      "options": [
62        {
63          "exclude-annotation": "androidx.test.filters.FlakyTest"
64        }
65      ]
66    },
67    {
68      "name": "AdServicesServiceCoreUnitTests",
69      "options": [
70        {
71          "exclude-annotation": "androidx.test.filters.FlakyTest"
72        }
73      ]
74    },
75    {
76      "name": "AdServicesServiceCoreAdIdUnitTests",
77      "options": [
78        {
79          "exclude-annotation": "androidx.test.filters.FlakyTest"
80        }
81      ]
82    },
83    {
84      "name": "AdServicesServiceCoreCommonUnitTests",
85      "options": [
86        {
87          "exclude-annotation": "androidx.test.filters.FlakyTest"
88        }
89      ]
90    },
91    {
92      "name": "AdServicesServiceCoreAppSearchUnitTests",
93      "options": [
94        {
95          "exclude-annotation": "androidx.test.filters.FlakyTest"
96        }
97      ]
98    },
99    {
100      "name": "AdServicesServiceCoreAppsetIdUnitTests",
101      "options": [
102        {
103          "exclude-annotation": "androidx.test.filters.FlakyTest"
104        }
105      ]
106    },
107    {
108      "name": "AdServicesServiceCoreMeasurementUnitTests",
109      "options": [
110        {
111          "exclude-annotation": "androidx.test.filters.FlakyTest"
112        }
113      ]
114    },
115    {
116      "name": "AdServicesServiceCoreTopicsUnitTests",
117      "options": [
118        {
119          "exclude-annotation": "androidx.test.filters.FlakyTest"
120        }
121      ]
122    },
123    {
124      "name": "AdServicesJsEngineUnitTests",
125      "options": [
126        {
127          "exclude-annotation": "androidx.test.filters.FlakyTest"
128        }
129      ]
130    },
131    {
132      "name": "CtsAdServicesDeviceTestCases",
133      "options": [
134        {
135          "exclude-annotation": "androidx.test.filters.FlakyTest"
136        }
137      ]
138    },
139    {
140      "name": "CtsAdServicesDebuggableDeviceTestCases",
141      "options": [
142        {
143          "exclude-annotation": "androidx.test.filters.FlakyTest"
144        }
145      ]
146    },
147    {
148      "name": "CtsAdServicesRootTestCases",
149      "options": [
150        {
151          "exclude-annotation": "androidx.test.filters.FlakyTest"
152        }
153      ]
154    },
155    {
156      "name": "CtsAdServicesEndToEndTests",
157      "options": [
158        {
159          "exclude-annotation": "androidx.test.filters.FlakyTest"
160        }
161      ]
162    },
163    {
164      "name": "CtsAdServicesEndToEndTestMeasurement",
165      "options": [
166        {
167          "exclude-annotation": "androidx.test.filters.FlakyTest"
168        }
169      ]
170    },
171    {
172      "name": "CtsAdServicesPermissionsValidEndToEndTests",
173      "options": [
174        {
175          "exclude-annotation": "androidx.test.filters.FlakyTest"
176        }
177      ]
178    },
179    {
180      "name": "CtsAdServicesPermissionsAppOptOutEndToEndTests",
181      "options": [
182        {
183          "exclude-annotation": "androidx.test.filters.FlakyTest"
184        }
185      ]
186    },
187    {
188      "name": "CtsAdServicesPermissionsNoPermEndToEndTests",
189      "options": [
190        {
191          "exclude-annotation": "androidx.test.filters.FlakyTest"
192        }
193      ]
194    },
195    {
196      "name": "CtsAdServicesNotInAllowListEndToEndTests",
197      "options": [
198        {
199          "exclude-annotation": "androidx.test.filters.FlakyTest"
200        }
201      ]
202    },
203    {
204      "name": "CtsAdServicesTopicsAppUpdateTests",
205      "options": [
206        {
207          "exclude-annotation": "androidx.test.filters.FlakyTest"
208        }
209      ]
210    },
211    {
212      "name": "CtsAdServicesTopicsConnectionTests",
213      "options": [
214        {
215          "exclude-annotation": "androidx.test.filters.FlakyTest"
216        }
217      ]
218    },
219    {
220      "name": "CtsAdServicesMddTests",
221      "options": [
222        {
223          "exclude-annotation": "androidx.test.filters.FlakyTest"
224        }
225      ]
226    },
227    {
228      "name": "CtsSandboxedAdIdManagerTests",
229      "options": [
230        {
231          "exclude-annotation": "androidx.test.filters.FlakyTest"
232        }
233      ]
234    },
235    {
236      "name": "CtsSandboxedTopicsManagerTests",
237      "options": [
238        {
239          "exclude-annotation": "androidx.test.filters.FlakyTest"
240        }
241      ]
242    },
243    {
244      "name": "CtsSandboxedMeasurementManagerTests",
245      "options": [
246        {
247          "exclude-annotation": "androidx.test.filters.FlakyTest"
248        }
249      ]
250    },
251    {
252      "name": "CtsSandboxedFledgeManagerTests",
253      "options": [
254        {
255          "exclude-annotation": "androidx.test.filters.FlakyTest"
256        }
257      ]
258    },
259    {
260      "name": "CtsAdIdEndToEndTest",
261      "options": [
262        {
263          "exclude-annotation": "androidx.test.filters.FlakyTest"
264        }
265      ]
266    },
267    {
268      "name": "CtsAppSetIdEndToEndTest",
269      "options": [
270        {
271          "exclude-annotation": "androidx.test.filters.FlakyTest"
272        }
273      ]
274    },
275    {
276      "name": "CtsAdServicesCobaltTest",
277      "options": [
278        {
279          "exclude-annotation": "androidx.test.filters.FlakyTest"
280        }
281      ]
282    },
283    {
284      "name": "CtsAdServicesHostTests",
285      "options": [
286        {
287          // NOTE: host-side tests use a different package
288          "exclude-annotation": "android.platform.test.annotations.FlakyTest"
289        }
290      ]
291    },
292    {
293      "name": "AdServicesUIUnitTests",
294      "options": [
295        {
296          "exclude-annotation": "androidx.test.filters.FlakyTest"
297        }
298      ]
299    },
300    {
301      "name": "AdServicesManagerServiceTests",
302      "options": [
303        {
304          "exclude-annotation": "androidx.test.filters.FlakyTest"
305        }
306      ]
307    },
308    {
309      "name": "CtsAdServicesExtDataStorageServiceTest",
310      "options": [
311        {
312          "exclude-annotation": "androidx.test.filters.FlakyTest"
313        }
314      ]
315    }
316  ],
317  "extservices-mainline-presubmit": [
318    {
319      "name": "AdExtServicesApkUINotificationTests",
320      "options": [
321        {
322          "exclude-annotation": "androidx.test.filters.FlakyTest"
323        }
324      ]
325    },
326    {
327      "name": "AdExtServicesApkUISettingsTests",
328      "options": [
329        {
330          "exclude-annotation": "androidx.test.filters.FlakyTest"
331        }
332      ]
333    },
334    {
335      "name": "AdExtServicesApkUITestsAppConsent",
336      "options": [
337        {
338          "exclude-annotation": "androidx.test.filters.FlakyTest"
339        }
340      ]
341    },
342    {
343      "name": "AdExtServicesApkUISettingsGaOtaTests",
344      "options": [
345        {
346          "exclude-annotation": "androidx.test.filters.FlakyTest"
347        }
348      ]
349    },
350    {
351      "name": "AdExtServicesApkUnitTests",
352      "options": [
353        {
354          "exclude-annotation": "androidx.test.filters.FlakyTest"
355        }
356      ]
357    },
358    {
359      "name": "AdExtServicesCobaltUnitTests",
360      "options": [
361        {
362          "exclude-annotation": "androidx.test.filters.FlakyTest"
363        }
364      ]
365    },
366    {
367      "name": "AdExtServicesFrameworkUnitTests",
368      "options": [
369        {
370          "exclude-annotation": "androidx.test.filters.FlakyTest"
371        }
372      ]
373    },
374    {
375      "name": "AdExtServicesServiceCoreUnitTests",
376      "options": [
377        {
378          "exclude-annotation": "androidx.test.filters.FlakyTest"
379        }
380      ]
381    },
382    {
383      "name": "AdExtServicesServiceCoreAdIdUnitTests",
384      "options": [
385        {
386          "exclude-annotation": "androidx.test.filters.FlakyTest"
387        }
388      ]
389    },
390    {
391      "name": "AdExtServicesServiceCoreCommonUnitTests",
392      "options": [
393        {
394          "exclude-annotation": "androidx.test.filters.FlakyTest"
395        }
396      ]
397    },
398    {
399      "name": "AdExtServicesServiceCoreAppSearchUnitTests",
400      "options": [
401        {
402          "exclude-annotation": "androidx.test.filters.FlakyTest"
403        }
404      ]
405    },
406    {
407      "name": "AdExtServicesServiceCoreAppsetIdUnitTests",
408      "options": [
409        {
410          "exclude-annotation": "androidx.test.filters.FlakyTest"
411        }
412      ]
413    },
414    {
415      "name": "AdExtServicesServiceCoreMeasurementUnitTests",
416      "options": [
417        {
418          "exclude-annotation": "androidx.test.filters.FlakyTest"
419        }
420      ]
421    },
422    {
423      "name": "AdExtServicesServiceCoreTopicsUnitTests",
424      "options": [
425        {
426          "exclude-annotation": "androidx.test.filters.FlakyTest"
427        }
428      ]
429    },
430    {
431      "name": "AdExtServicesJsEngineUnitTests",
432      "options": [
433        {
434          "exclude-annotation": "androidx.test.filters.FlakyTest"
435        }
436      ]
437    },
438    {
439      "name": "CtsAdExtServicesDeviceTestCases",
440      "options": [
441        {
442          "exclude-annotation": "androidx.test.filters.FlakyTest"
443        }
444      ]
445    },
446    {
447      "name": "CtsAdExtServicesDebuggableDeviceTestCases",
448      "options": [
449        {
450          "exclude-annotation": "androidx.test.filters.FlakyTest"
451        }
452      ]
453    },
454    {
455      "name": "CtsAdExtServicesEndToEndTests",
456      "options": [
457        {
458          "exclude-annotation": "androidx.test.filters.FlakyTest"
459        }
460      ]
461    },
462    {
463      "name": "CtsAdExtServicesEndToEndTestMeasurement",
464      "options": [
465        {
466          "exclude-annotation": "androidx.test.filters.FlakyTest"
467        }
468      ]
469    },
470    {
471      "name": "CtsAdExtServicesPermissionsValidEndToEndTests",
472      "options": [
473        {
474          "exclude-annotation": "androidx.test.filters.FlakyTest"
475        }
476      ]
477    },
478    {
479      "name": "CtsAdExtServicesPermissionsAppOptOutEndToEndTests",
480      "options": [
481        {
482          "exclude-annotation": "androidx.test.filters.FlakyTest"
483        }
484      ]
485    },
486    {
487      "name": "CtsAdExtServicesPermissionsNoPermEndToEndTests",
488      "options": [
489        {
490          "exclude-annotation": "androidx.test.filters.FlakyTest"
491        }
492      ]
493    },
494    {
495      "name": "CtsAdExtServicesNotInAllowListEndToEndTests",
496      "options": [
497        {
498          "exclude-annotation": "androidx.test.filters.FlakyTest"
499        }
500      ]
501    },
502    {
503      "name": "CtsAdExtServicesTopicsAppUpdateTests",
504      "options": [
505        {
506          "exclude-annotation": "androidx.test.filters.FlakyTest"
507        }
508      ]
509    },
510    {
511      "name": "CtsAdExtServicesTopicsConnectionTests",
512      "options": [
513        {
514          "exclude-annotation": "androidx.test.filters.FlakyTest"
515        }
516      ]
517    },
518    {
519      "name": "CtsAdExtServicesMddTests",
520      "options": [
521        {
522          "exclude-annotation": "androidx.test.filters.FlakyTest"
523        }
524      ]
525    },
526    {
527      "name": "CtsAdExtServicesAdIdEndToEndTest",
528      "options": [
529        {
530          "exclude-annotation": "androidx.test.filters.FlakyTest"
531        }
532      ]
533    },
534    {
535      "name": "CtsAdExtServicesExtDataStorageServiceTest",
536      "options": [
537        {
538          "exclude-annotation": "androidx.test.filters.FlakyTest"
539        }
540      ]
541    },
542    {
543      "name": "CtsAdExtServicesAppSetIdEndToEndTest",
544      "options": [
545        {
546          "exclude-annotation": "androidx.test.filters.FlakyTest"
547        }
548      ]
549    },
550    {
551      "name": "CtsAdExtServicesAdServicesCobaltTest",
552      "options": [
553        {
554          "exclude-annotation": "androidx.test.filters.FlakyTest"
555        }
556      ]
557    },
558    {
559      "name": "CtsAdExtServicesHostTests",
560      "options": [
561        {
562          // NOTE: host-side tests use a different package
563          "exclude-annotation": "android.platform.test.annotations.FlakyTest"
564        }
565      ]
566    },
567    {
568      "name": "AdExtServicesEndToEndTests",
569      "options": [
570        {
571          "exclude-annotation": "androidx.test.filters.FlakyTest"
572        }
573      ]
574    },
575    {
576      "name": "AdExtServicesUIUnitTests",
577      "options": [
578        {
579          "exclude-annotation": "androidx.test.filters.FlakyTest"
580        }
581      ]
582    }
583  ],
584  "mainline-presubmit": [
585    {
586      // Install com.google.android.adservices.apex and run AdServicesApkUINotificationTests.
587      "name": "AdServicesApkUINotificationTests[com.google.android.adservices.apex]",
588      "options": [
589        {
590          "exclude-annotation": "androidx.test.filters.FlakyTest"
591        }
592      ]
593    },
594    {
595      // Install com.google.android.extservices.apex and run AdExtServicesApkUINotificationTests.
596      "name": "AdExtServicesApkUINotificationTests[com.google.android.extservices.apex]",
597      "options": [
598        {
599          "exclude-annotation": "androidx.test.filters.FlakyTest"
600        }
601      ]
602    },
603    {
604      // Install com.google.android.adservices.apex and run AdServicesApkUISettingsTests.
605      "name": "AdServicesApkUISettingsTests[com.google.android.adservices.apex]",
606      "options": [
607        {
608          "exclude-annotation": "androidx.test.filters.FlakyTest"
609        }
610      ]
611    },
612    {
613      // Install com.google.android.extservices.apex and run AdExtServicesApkUISettingsTests.
614      "name": "AdExtServicesApkUISettingsTests[com.google.android.extservices.apex]",
615      "options": [
616        {
617          "exclude-annotation": "androidx.test.filters.FlakyTest"
618        }
619      ]
620    },
621    {
622      // Install com.google.android.adservices.apex and run AdServicesApkUITestsAppConsent.
623      "name": "AdServicesApkUITestsAppConsent[com.google.android.adservices.apex]",
624      "options": [
625        {
626          "exclude-annotation": "androidx.test.filters.FlakyTest"
627        }
628      ]
629    },
630    {
631      // Install com.google.android.extservices.apex and run AdExtServicesApkUITestsAppConsent.
632      "name": "AdExtServicesApkUITestsAppConsent[com.google.android.extservices.apex]",
633      "options": [
634        {
635          "exclude-annotation": "androidx.test.filters.FlakyTest"
636        }
637      ]
638    },
639    {
640      // Install com.google.android.adservices.apex and run AdServicesApkUISettingsGaOtaTests.
641      "name": "AdServicesApkUISettingsGaOtaTests[com.google.android.adservices.apex]",
642      "options": [
643        {
644          "exclude-annotation": "androidx.test.filters.FlakyTest"
645        }
646      ]
647    },
648    {
649      // Install com.google.android.extservices.apex and run AdExtServicesApkUISettingsGaOtaTests.
650      "name": "AdExtServicesApkUISettingsGaOtaTests[com.google.android.extservices.apex]",
651      "options": [
652        {
653          "exclude-annotation": "androidx.test.filters.FlakyTest"
654        }
655      ]
656    },
657    {
658      // Install com.google.android.adservices.apex and run AdServicesApkUnitTests.
659      "name": "AdServicesApkUnitTests[com.google.android.adservices.apex]",
660      "options": [
661        {
662          "exclude-annotation": "androidx.test.filters.FlakyTest"
663        }
664      ]
665    },
666    {
667      // Install com.google.android.extservices.apex and run AdExtServicesApkUnitTests.
668      "name": "AdExtServicesApkUnitTests[com.google.android.extservices.apex]",
669      "options": [
670        {
671          "exclude-annotation": "androidx.test.filters.FlakyTest"
672        }
673      ]
674    },
675    {
676      // Install com.google.android.adservices.apex and run AdServicesApkUISettingsGaUXSelectorTests.
677      "name": "AdServicesApkUISettingsGaUXSelectorTests[com.google.android.adservices.apex]",
678      "options": [
679        {
680          "exclude-annotation": "androidx.test.filters.FlakyTest"
681        }
682      ]
683    },
684    {
685      // Install com.google.android.adservices.apex and run AdServicesCobaltUnitTests.
686      "name": "AdServicesCobaltUnitTests[com.google.android.adservices.apex]",
687      "options": [
688        {
689          "exclude-annotation": "androidx.test.filters.FlakyTest"
690        }
691      ]
692    },
693    {
694      // Install com.google.android.extservices.apex and run AdExtServicesCobaltUnitTests.
695      "name": "AdExtServicesCobaltUnitTests[com.google.android.extservices.apex]",
696      "options": [
697        {
698          "exclude-annotation": "androidx.test.filters.FlakyTest"
699        }
700      ]
701    },
702    {
703      // Install com.google.android.adservices.apex and run AdServicesFrameworkUnitTests.
704      "name": "AdServicesFrameworkUnitTests[com.google.android.adservices.apex]",
705      "options": [
706        {
707          "exclude-annotation": "androidx.test.filters.FlakyTest"
708        }
709      ]
710    },
711    {
712      // Install com.google.android.extservices.apex and run AdExtServicesFrameworkUnitTests.
713      "name": "AdExtServicesFrameworkUnitTests[com.google.android.extservices.apex]",
714      "options": [
715        {
716          "exclude-annotation": "androidx.test.filters.FlakyTest"
717        }
718      ]
719    },
720    {
721      // Install com.google.android.adservices.apex and run AdServicesServiceCoreUnitTests.
722      "name": "AdServicesServiceCoreUnitTests[com.google.android.adservices.apex]",
723      "options": [
724        {
725          "exclude-annotation": "androidx.test.filters.FlakyTest"
726        }
727      ]
728    },
729    {
730      // Install com.google.android.extservices.apex and run AdExtServicesServiceCoreUnitTests.
731      "name": "AdExtServicesServiceCoreUnitTests[com.google.android.extservices.apex]",
732      "options": [
733        {
734          "exclude-annotation": "androidx.test.filters.FlakyTest"
735        }
736      ]
737    },
738    {
739      // Install com.google.android.adservices.apex and run AdServicesServiceCoreAdIdUnitTests.
740      "name": "AdServicesServiceCoreAdIdUnitTests[com.google.android.adservices.apex]",
741      "options": [
742        {
743          "exclude-annotation": "androidx.test.filters.FlakyTest"
744        }
745      ]
746    },
747    {
748      // Install com.google.android.extservices.apex and run AdExtServicesServiceCoreAdIdUnitTests.
749      "name": "AdExtServicesServiceCoreAdIdUnitTests[com.google.android.extservices.apex]",
750      "options": [
751        {
752          "exclude-annotation": "androidx.test.filters.FlakyTest"
753        }
754      ]
755    },
756    {
757      // Install com.google.android.adservices.apex and run AdServicesServiceCoreCommonUnitTests.
758      "name": "AdServicesServiceCoreCommonUnitTests[com.google.android.adservices.apex]",
759      "options": [
760        {
761          "exclude-annotation": "androidx.test.filters.FlakyTest"
762        }
763      ]
764    },
765    {
766      // Install com.google.android.adservices.apex and run AdExtServicesServiceCoreCommonUnitTests.
767      "name": "AdExtServicesServiceCoreCommonUnitTests[com.google.android.extservices.apex]",
768      "options": [
769        {
770          "exclude-annotation": "androidx.test.filters.FlakyTest"
771        }
772      ]
773    },
774    {
775      // Install com.google.android.adservices.apex and run AdServicesServiceCoreAppSearchUnitTests.
776      "name": "AdServicesServiceCoreAppSearchUnitTests[com.google.android.adservices.apex]",
777      "options": [
778        {
779          "exclude-annotation": "androidx.test.filters.FlakyTest"
780        }
781      ]
782    },
783    {
784      // Install com.google.android.extservices.apex and run AdExtServicesServiceCoreAppSearchUnitTests.
785      "name": "AdExtServicesServiceCoreAppSearchUnitTests[com.google.android.extservices.apex]",
786      "options": [
787        {
788          "exclude-annotation": "androidx.test.filters.FlakyTest"
789        }
790      ]
791    },
792    {
793      // Install com.google.android.adservices.apex and run AdServicesServiceCoreAppsetIdUnitTests.
794      "name": "AdServicesServiceCoreAppsetIdUnitTests[com.google.android.adservices.apex]",
795      "options": [
796        {
797          "exclude-annotation": "androidx.test.filters.FlakyTest"
798        }
799      ]
800    },
801    {
802      // Install com.google.android.extservices.apex and run AdExtServicesServiceCoreAppsetIdUnitTests.
803      "name": "AdExtServicesServiceCoreAppsetIdUnitTests[com.google.android.extservices.apex]",
804      "options": [
805        {
806          "exclude-annotation": "androidx.test.filters.FlakyTest"
807        }
808      ]
809    },
810    {
811      // Install com.google.android.adservices.apex and run
812      // AdServicesServiceCoreMeasurementUnitTests.
813      "name": "AdServicesServiceCoreMeasurementUnitTests[com.google.android.adservices.apex]",
814      "options": [
815        {
816          "exclude-annotation": "androidx.test.filters.FlakyTest"
817        }
818      ]
819    },
820    {
821      // Install com.google.android.adservices.apex and run
822      // AdServicesServiceCoreTopicsUnitTests.
823      "name": "AdServicesServiceCoreTopicsUnitTests[com.google.android.adservices.apex]",
824      "options": [
825        {
826          "exclude-annotation": "androidx.test.filters.FlakyTest"
827        }
828      ]
829    },
830    {
831      // Install com.google.android.extservices.apex and run
832      // AdExtServicesServiceCoreMeasurementUnitTests.
833      "name": "AdExtServicesServiceCoreMeasurementUnitTests[com.google.android.extservices.apex]",
834      "options": [
835        {
836          "exclude-annotation": "androidx.test.filters.FlakyTest"
837        }
838      ]
839    },
840    {
841      // Install com.google.android.extservices.apex and run
842      // AdExtServicesServiceCoreTopicsUnitTests.
843      "name": "AdExtServicesServiceCoreTopicsUnitTests[com.google.android.extservices.apex]",
844      "options": [
845        {
846          "exclude-annotation": "androidx.test.filters.FlakyTest"
847        }
848      ]
849    },
850    {
851      // Install com.google.android.adservices.apex and run AdServicesJsEngineUnitTests.
852      "name": "AdServicesJsEngineUnitTests[com.google.android.adservices.apex]",
853      "options": [
854        {
855          "exclude-annotation": "androidx.test.filters.FlakyTest"
856        }
857      ]
858    },
859    {
860      // Install com.google.android.extservices.apex and run AdExtServicesJsEngineUnitTests.
861      "name": "AdExtServicesJsEngineUnitTests[com.google.android.extservices.apex]",
862      "options": [
863        {
864          "exclude-annotation": "androidx.test.filters.FlakyTest"
865        }
866      ]
867    },
868    {
869      // Install com.google.android.adservices.apex and run CtsAdServicesDeviceTestCases.
870      "name": "CtsAdServicesDeviceTestCases[com.google.android.adservices.apex]",
871      "options": [
872        {
873          "exclude-annotation": "androidx.test.filters.FlakyTest"
874        }
875      ]
876    },
877    {
878      // Install com.google.android.extservices.apex and run CtsAdExtServicesDeviceTestCases.
879      "name": "CtsAdExtServicesDeviceTestCases[com.google.android.extservices.apex]",
880      "options": [
881        {
882          "exclude-annotation": "androidx.test.filters.FlakyTest"
883        }
884      ]
885    },
886    {
887      // Install com.google.android.adservices.apex and run CtsAdServicesDebuggableDeviceTestCases.
888      "name": "CtsAdServicesDebuggableDeviceTestCases[com.google.android.adservices.apex]",
889      "options": [
890        {
891          "exclude-annotation": "androidx.test.filters.FlakyTest"
892        }
893      ]
894    },
895    {
896      // Install com.google.android.adservices.apex and run CtsAdServicesRootTestCases.
897      "name": "CtsAdServicesRootTestCases[com.google.android.adservices.apex]",
898      "options": [
899        {
900          "exclude-annotation": "androidx.test.filters.FlakyTest"
901        }
902      ]
903    },
904    {
905      // Install com.google.android.extservices.apex and run CtsAdExtServicesDebuggableDeviceTestCases.
906      "name": "CtsAdExtServicesDebuggableDeviceTestCases[com.google.android.extservices.apex]",
907      "options": [
908        {
909          "exclude-annotation": "androidx.test.filters.FlakyTest"
910        }
911      ]
912    },
913    {
914      // Install com.google.android.adservices.apex and run CtsAdServicesEndToEndTests.
915      "name": "CtsAdServicesEndToEndTests[com.google.android.adservices.apex]",
916      "options": [
917        {
918          "exclude-annotation": "androidx.test.filters.FlakyTest"
919        }
920      ]
921    },
922    {
923      // Install com.google.android.extservices.apex and run CtsAdExtServicesEndToEndTests.
924      "name": "CtsAdExtServicesEndToEndTests[com.google.android.extservices.apex]",
925      "options": [
926        {
927          "exclude-annotation": "androidx.test.filters.FlakyTest"
928        }
929      ]
930    },
931    {
932      "name": "CtsAdServicesEndToEndTestMeasurement[com.google.android.adservices.apex]",
933      "options": [
934        {
935          "exclude-annotation": "androidx.test.filters.FlakyTest"
936        }
937      ]
938    },
939    {
940      "name": "CtsAdExtServicesEndToEndTestMeasurement[com.google.android.extservices.apex]",
941      "options": [
942        {
943          "exclude-annotation": "androidx.test.filters.FlakyTest"
944        }
945      ]
946    },
947    {
948      "name": "CtsAdServicesPermissionsValidEndToEndTests[com.google.android.adservices.apex]",
949      "options": [
950        {
951          "exclude-annotation": "androidx.test.filters.FlakyTest"
952        }
953      ]
954    },
955    {
956      "name": "CtsAdExtServicesPermissionsValidEndToEndTests[com.google.android.extservices.apex]",
957      "options": [
958        {
959          "exclude-annotation": "androidx.test.filters.FlakyTest"
960        }
961      ]
962    },
963    {
964      "name": "CtsAdServicesPermissionsAppOptOutEndToEndTests[com.google.android.adservices.apex]",
965      "options": [
966        {
967          "exclude-annotation": "androidx.test.filters.FlakyTest"
968        }
969      ]
970    },
971    {
972      "name": "CtsAdExtServicesPermissionsAppOptOutEndToEndTests[com.google.android.extservices.apex]",
973      "options": [
974        {
975          "exclude-annotation": "androidx.test.filters.FlakyTest"
976        }
977      ]
978    },
979    {
980      "name": "CtsAdServicesPermissionsNoPermEndToEndTests[com.google.android.adservices.apex]",
981      "options": [
982        {
983          "exclude-annotation": "androidx.test.filters.FlakyTest"
984        }
985      ]
986    },
987    {
988      "name": "CtsAdExtServicesPermissionsNoPermEndToEndTests[com.google.android.extservices.apex]",
989      "options": [
990        {
991          "exclude-annotation": "androidx.test.filters.FlakyTest"
992        }
993      ]
994    },
995    {
996      "name": "CtsAdServicesNotInAllowListEndToEndTests[com.google.android.adservices.apex]",
997      "options": [
998        {
999          "exclude-annotation": "androidx.test.filters.FlakyTest"
1000        }
1001      ]
1002    },
1003    {
1004      "name": "CtsAdExtServicesNotInAllowListEndToEndTests[com.google.android.extservices.apex]",
1005      "options": [
1006        {
1007          "exclude-annotation": "androidx.test.filters.FlakyTest"
1008        }
1009      ]
1010    },
1011    {
1012      "name": "CtsAdServicesTopicsAppUpdateTests[com.google.android.adservices.apex]",
1013      "options": [
1014        {
1015          "exclude-annotation": "androidx.test.filters.FlakyTest"
1016        }
1017      ]
1018    },
1019    {
1020      "name": "CtsAdExtServicesTopicsAppUpdateTests[com.google.android.extservices.apex]",
1021      "options": [
1022        {
1023          "exclude-annotation": "androidx.test.filters.FlakyTest"
1024        }
1025      ]
1026    },
1027    {
1028      "name": "CtsAdServicesTopicsConnectionTests[com.google.android.adservices.apex]",
1029      "options": [
1030        {
1031          "exclude-annotation": "androidx.test.filters.FlakyTest"
1032        }
1033      ]
1034    },
1035    {
1036      "name": "CtsAdExtServicesTopicsConnectionTests[com.google.android.extservices.apex]",
1037      "options": [
1038        {
1039          "exclude-annotation": "androidx.test.filters.FlakyTest"
1040        }
1041      ]
1042    },
1043    {
1044      "name": "CtsAdServicesMddTests[com.google.android.adservices.apex]",
1045      "options": [
1046        {
1047          "exclude-annotation": "androidx.test.filters.FlakyTest"
1048        }
1049      ]
1050    },
1051    {
1052      "name": "CtsAdExtServicesMddTests[com.google.android.extservices.apex]",
1053      "options": [
1054        {
1055          "exclude-annotation": "androidx.test.filters.FlakyTest"
1056        }
1057      ]
1058    },
1059    {
1060      // Install com.google.android.adservices.apex and run CtsSandboxedAdIdManagerTests.
1061      "name": "CtsSandboxedAdIdManagerTests[com.google.android.adservices.apex]",
1062      "options": [
1063        {
1064          "exclude-annotation": "androidx.test.filters.FlakyTest"
1065        }
1066      ]
1067    },
1068    {
1069      // Install com.google.android.adservices.apex and run CtsSandboxedTopicsManagerTests.
1070      "name": "CtsSandboxedTopicsManagerTests[com.google.android.adservices.apex]",
1071      "options": [
1072        {
1073          "exclude-annotation": "androidx.test.filters.FlakyTest"
1074        }
1075      ]
1076    },
1077    {
1078      // Install com.google.android.adservices.apex and run CtsSandboxedMeasurementManagerTests.
1079      "name": "CtsSandboxedMeasurementManagerTests[com.google.android.adservices.apex]",
1080      "options": [
1081        {
1082          "exclude-annotation": "androidx.test.filters.FlakyTest"
1083        }
1084      ]
1085    },
1086    {
1087      // Install com.google.android.adservices.apex and run SandboxedFledgeManagerTests.
1088      "name": "CtsSandboxedFledgeManagerTests[com.google.android.adservices.apex]",
1089      "options": [
1090        {
1091          "exclude-annotation": "androidx.test.filters.FlakyTest"
1092        }
1093      ]
1094    },
1095    {
1096      // Install com.google.android.adservices.apex and run CtsAdIdEndToEndTest.
1097      "name": "CtsAdIdEndToEndTest[com.google.android.adservices.apex]",
1098      "options": [
1099        {
1100          "exclude-annotation": "androidx.test.filters.FlakyTest"
1101        }
1102      ]
1103    },
1104    {
1105      // Install com.google.android.extservices.apex and run CtsAdExtServicesAdIdEndToEndTest.
1106      "name": "CtsAdExtServicesAdIdEndToEndTest[com.google.android.extservices.apex]",
1107      "options": [
1108        {
1109          "exclude-annotation": "androidx.test.filters.FlakyTest"
1110        }
1111      ]
1112    },
1113    {
1114      // Install com.google.android.extservices.apex and run CtsAdExtServicesExtDataStorageServiceTest.
1115      "name": "CtsAdExtServicesExtDataStorageServiceTest[com.google.android.extservices.apex]",
1116      "options": [
1117        {
1118          "exclude-annotation": "androidx.test.filters.FlakyTest"
1119        }
1120      ]
1121    },
1122    {
1123      // Install com.google.android.adservices.apex and run CtsAppSetIdEndToEndTest.
1124      "name": "CtsAppSetIdEndToEndTest[com.google.android.adservices.apex]",
1125      "options": [
1126        {
1127          "exclude-annotation": "androidx.test.filters.FlakyTest"
1128        }
1129      ]
1130    },
1131    {
1132      // Install com.google.android.adservices.apex and run CtsAdServicesCobaltTest.
1133      "name": "CtsAdServicesCobaltTest[com.google.android.adservices.apex]",
1134      "options": [
1135        {
1136          "exclude-annotation": "androidx.test.filters.FlakyTest"
1137        }
1138      ]
1139    },
1140    {
1141      // Install com.google.android.extservices.apex and run CtsAdExtServicesAppSetIdEndToEndTest.
1142      "name": "CtsAdExtServicesAppSetIdEndToEndTest[com.google.android.extservices.apex]",
1143      "options": [
1144        {
1145          "exclude-annotation": "androidx.test.filters.FlakyTest"
1146        }
1147      ]
1148    },
1149    {
1150      // Install com.google.android.extservices.apex and run CtsAdExtServicesAdServicesCobaltTest.
1151      "name": "CtsAdExtServicesAdServicesCobaltTest[com.google.android.extservices.apex]",
1152      "options": [
1153        {
1154          "exclude-annotation": "androidx.test.filters.FlakyTest"
1155        }
1156      ]
1157    },
1158    {
1159      // Install com.google.android.adservices.apex and run CtsAdServicesHostTests.
1160      "name": "CtsAdServicesHostTests[com.google.android.adservices.apex]",
1161      "options": [
1162        {
1163          // NOTE: host-side tests use a different package
1164          "exclude-annotation": "android.platform.test.annotations.FlakyTest"
1165        }
1166      ]
1167    },
1168    {
1169      // Install com.google.android.extservices.apex and run CtsAdExtServicesHostTests.
1170      "name": "CtsAdExtServicesHostTests[com.google.android.extservices.apex]",
1171      "options": [
1172        {
1173          // NOTE: host-side tests use a different package
1174          "exclude-annotation": "android.platform.test.annotations.FlakyTest"
1175        }
1176      ]
1177    },
1178    {
1179      // Install com.google.android.extservices.apex and run AdExtServicesEndToEndTests.
1180      "name": "AdExtServicesEndToEndTests[com.google.android.extservices.apex]",
1181      "options": [
1182        {
1183          "exclude-annotation": "androidx.test.filters.FlakyTest"
1184        }
1185      ]
1186    },
1187    {
1188      "name": "AdServicesUIUnitTests[com.google.android.adservices.apex]",
1189      "options": [
1190        {
1191          "exclude-annotation": "androidx.test.filters.FlakyTest"
1192        }
1193      ]
1194    },
1195    {
1196      // Install com.google.android.extservices.apex and run AdExtServicesEndToEndTests.
1197      "name": "AdExtServicesUIUnitTests[com.google.android.extservices.apex]",
1198      "options": [
1199        {
1200          "exclude-annotation": "androidx.test.filters.FlakyTest"
1201        }
1202      ]
1203    },
1204    {
1205      "name": "AdServicesManagerServiceTests[com.google.android.adservices.apex]",
1206      "options": [
1207        {
1208          "exclude-annotation": "androidx.test.filters.FlakyTest"
1209        }
1210      ]
1211    },
1212    {
1213      "name": "CtsAdServicesExtDataStorageServiceTest[com.google.android.adservices.apex]",
1214      "options": [
1215        {
1216          "exclude-annotation": "androidx.test.filters.FlakyTest"
1217        }
1218      ]
1219    }
1220  ],
1221
1222  // Tests in platform presubmit are running against the git_main branch. This list should only include AdServices tests.
1223  // Add ExtServices tests to "mainline-presubmit".
1224  "presubmit": [
1225    {
1226      "name": "AdServicesCobaltUnitTests",
1227      "options": [
1228        {
1229          "exclude-annotation": "androidx.test.filters.FlakyTest"
1230        }
1231      ]
1232    },
1233    {
1234      "name": "AdServicesFrameworkUnitTests",
1235      "options": [
1236        {
1237          "exclude-annotation": "androidx.test.filters.FlakyTest"
1238        }
1239      ]
1240    },
1241    {
1242      "name": "AdServicesServiceCoreUnitTests",
1243      "options": [
1244        {
1245          "exclude-annotation": "androidx.test.filters.FlakyTest"
1246        }
1247      ]
1248    },
1249    {
1250      "name": "AdServicesServiceCoreAdIdUnitTests",
1251      "options": [
1252        {
1253          "exclude-annotation": "androidx.test.filters.FlakyTest"
1254        }
1255      ]
1256    },
1257    {
1258      "name": "AdServicesServiceCoreCommonUnitTests",
1259      "options": [
1260        {
1261          "exclude-annotation": "androidx.test.filters.FlakyTest"
1262        }
1263      ]
1264    },
1265    {
1266      "name": "AdServicesServiceCoreAppSearchUnitTests",
1267      "options": [
1268        {
1269          "exclude-annotation": "androidx.test.filters.FlakyTest"
1270        }
1271      ]
1272    },
1273    {
1274      "name": "AdServicesServiceCoreAppsetIdUnitTests",
1275      "options": [
1276        {
1277          "exclude-annotation": "androidx.test.filters.FlakyTest"
1278        }
1279      ]
1280    },
1281    {
1282      "name": "AdServicesServiceCoreMeasurementUnitTests",
1283      "options": [
1284        {
1285          "exclude-annotation": "androidx.test.filters.FlakyTest"
1286        }
1287      ]
1288    },
1289    {
1290      "name": "AdServicesServiceCoreTopicsUnitTests",
1291      "options": [
1292        {
1293          "exclude-annotation": "androidx.test.filters.FlakyTest"
1294        }
1295      ]
1296    },
1297    {
1298      "name": "AdServicesJsEngineUnitTests",
1299      "options": [
1300        {
1301          "exclude-annotation": "androidx.test.filters.FlakyTest"
1302        }
1303      ]
1304    },
1305    {
1306      "name": "AdServicesEndToEndTests",
1307      "options": [
1308        {
1309          "exclude-annotation": "androidx.test.filters.FlakyTest"
1310        }
1311      ]
1312    },
1313    {
1314      "name": "CtsAdServicesTopicsAppUpdateTests",
1315      "options": [
1316        {
1317          "exclude-annotation": "androidx.test.filters.FlakyTest"
1318        }
1319      ]
1320    },
1321    {
1322      "name": "CtsAdServicesTopicsConnectionTests",
1323      "options": [
1324        {
1325          "exclude-annotation": "androidx.test.filters.FlakyTest"
1326        }
1327      ]
1328    },
1329    {
1330      "name": "CtsAdServicesMddTests",
1331      "options": [
1332        {
1333          "exclude-annotation": "androidx.test.filters.FlakyTest"
1334        }
1335      ]
1336    },
1337    {
1338      "name": "CtsAdServicesDeviceTestCases",
1339      "options": [
1340        {
1341          "exclude-annotation": "androidx.test.filters.FlakyTest"
1342        }
1343      ]
1344    },
1345    {
1346      "name": "CtsAdServicesDebuggableDeviceTestCases",
1347      "options": [
1348        {
1349          "exclude-annotation": "androidx.test.filters.FlakyTest"
1350        }
1351      ]
1352    },
1353    {
1354      "name": "AdServicesApkUINotificationTests",
1355      "options": [
1356        {
1357          "exclude-annotation": "androidx.test.filters.FlakyTest"
1358        }
1359      ]
1360    },
1361    {
1362      "name": "AdServicesApkUISettingsTests",
1363      "options": [
1364        {
1365          "exclude-annotation": "androidx.test.filters.FlakyTest"
1366        }
1367      ]
1368    },
1369    {
1370      "name": "AdServicesApkUISettingsGaOtaTests",
1371      "options": [
1372        {
1373          "exclude-annotation": "androidx.test.filters.FlakyTest"
1374        }
1375      ]
1376    },
1377    {
1378      "name": "AdServicesApkUISettingsGaUXSelectorTests",
1379      "options": [
1380        {
1381          "exclude-annotation": "androidx.test.filters.FlakyTest"
1382        }
1383      ]
1384    },
1385    {
1386      "name": "AdServicesApkUITestsAppConsent",
1387      "options": [
1388        {
1389          "exclude-annotation": "androidx.test.filters.FlakyTest"
1390        }
1391      ]
1392    },
1393    {
1394      "name": "CtsAdServicesEndToEndTests",
1395      "options": [
1396        {
1397          "exclude-annotation": "androidx.test.filters.FlakyTest"
1398        }
1399      ]
1400    },
1401    {
1402      "name": "AdServicesManagerServiceTests",
1403      "options": [
1404        {
1405          "exclude-annotation": "androidx.test.filters.FlakyTest"
1406        }
1407      ]
1408    },
1409    {
1410      "name": "AdServicesApkUnitTests",
1411      "options": [
1412        {
1413          "exclude-annotation": "androidx.test.filters.FlakyTest"
1414        }
1415      ]
1416    },
1417    {
1418      "name": "CtsAdIdEndToEndTest",
1419      "options": [
1420        {
1421          "exclude-annotation": "androidx.test.filters.FlakyTest"
1422        }
1423      ]
1424    },
1425    {
1426      "name": "CtsAdServicesExtDataStorageServiceTest",
1427      "options": [
1428        {
1429          "exclude-annotation": "androidx.test.filters.FlakyTest"
1430        }
1431      ]
1432    },
1433    {
1434      "name": "CtsAppSetIdEndToEndTest",
1435      "options": [
1436        {
1437          "exclude-annotation": "androidx.test.filters.FlakyTest"
1438        }
1439      ]
1440    },
1441    {
1442      "name": "CtsAdServicesCobaltTest",
1443      "options": [
1444        {
1445          "exclude-annotation": "androidx.test.filters.FlakyTest"
1446        }
1447      ]
1448    }
1449  ],
1450
1451  // Tests in platform postsubmit are running against the git_main branch. This list should only include AdServices tests.
1452  // Add ExtServices tests to "mainline-presubmit".
1453  "postsubmit": [
1454    {
1455      "name": "AdServicesMddIntegrationTests",
1456      "options": [
1457        {
1458          "exclude-annotation": "androidx.test.filters.FlakyTest"
1459        }
1460      ]
1461    },
1462    {
1463      "name": "CtsAdServicesHostTests",
1464      "options": [
1465        {
1466          "exclude-annotation": "androidx.test.filters.FlakyTest"
1467        }
1468      ]
1469    },
1470    {
1471      "name": "AdServicesUIUnitTests",
1472      "options": [
1473        {
1474          "exclude-annotation": "androidx.test.filters.FlakyTest"
1475        }
1476      ]
1477    }
1478  ]
1479}
1480