1// Ths mapping file defines configurations for various test groups including pre-submit and
2// flag ramp testing in Gantry. Please ensure ALL groups are updated appropriately by reading any
3// prerequisites that are mentioned.
4
5// This group is used to configure the tests for AdServices pre-submit testing. Only add tests to
6// this group that are:
7// (a) Not flaky
8// (b) Targets T+ SDK version
9{
10  "adservices-mainline-presubmit": [
11    {
12      "name": "AdServicesApkUITestsAppConsent",
13      "options": [
14        {
15          "exclude-annotation": "androidx.test.filters.FlakyTest"
16        }
17      ]
18    },
19    {
20      "name": "AdServicesApkUnitTests",
21      "options": [
22        {
23          "exclude-annotation": "androidx.test.filters.FlakyTest"
24        }
25      ]
26    },
27    {
28      "name": "AdServicesApkUINotificationTests",
29      "options": [
30        {
31          "exclude-annotation": "androidx.test.filters.FlakyTest"
32        }
33      ]
34    },
35    {
36      "name": "AdServicesApkUISettingsTests",
37      "options": [
38        {
39          "exclude-annotation": "androidx.test.filters.FlakyTest"
40        }
41      ]
42    },
43    {
44      "name": "AdServicesApkUISettingsGaOtaTests",
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": "AdServicesServiceCoreProtectedAudienceUnitTests",
125      "options": [
126        {
127          "exclude-annotation": "androidx.test.filters.FlakyTest"
128        }
129      ]
130    },
131    {
132      "name": "AdServicesServiceCoreDatabaseMigrationUnitTests",
133      "options": [
134        {
135          "exclude-annotation": "androidx.test.filters.FlakyTest"
136        }
137      ]
138    },
139    {
140      "name": "AdServicesJsEngineUnitTests",
141      "options": [
142        {
143          "exclude-annotation": "androidx.test.filters.FlakyTest"
144        }
145      ]
146    },
147    {
148      "name": "AdServicesMddIntegrationTests",
149      "options": [
150        {
151          "exclude-annotation": "androidx.test.filters.FlakyTest"
152        }
153      ]
154    },
155    {
156      "name": "CtsAdServicesDeviceTestCases",
157      "options": [
158        {
159          "exclude-annotation": "androidx.test.filters.FlakyTest"
160        }
161      ]
162    },
163    {
164      "name": "CtsAdServicesDebuggableDeviceTestCases",
165      "options": [
166        {
167          "exclude-annotation": "androidx.test.filters.FlakyTest"
168        }
169      ]
170    },
171    {
172      "name": "CtsAdServicesRootTestCases",
173      "options": [
174        {
175          "exclude-annotation": "androidx.test.filters.FlakyTest"
176        }
177      ]
178    },
179    {
180      "name": "CtsAdServicesEndToEndTests",
181      "options": [
182        {
183          "exclude-annotation": "androidx.test.filters.FlakyTest"
184        }
185      ]
186    },
187    {
188      "name": "CtsAdServicesEndToEndTestMeasurement",
189      "options": [
190        {
191          "exclude-annotation": "androidx.test.filters.FlakyTest"
192        }
193      ]
194    },
195    {
196      "name": "CtsAdServicesPermissionsValidEndToEndTests",
197      "options": [
198        {
199          "exclude-annotation": "androidx.test.filters.FlakyTest"
200        }
201      ]
202    },
203    {
204      "name": "CtsAdServicesPermissionsAppOptOutEndToEndTests",
205      "options": [
206        {
207          "exclude-annotation": "androidx.test.filters.FlakyTest"
208        }
209      ]
210    },
211    {
212      "name": "CtsAdServicesPermissionsNoPermEndToEndTests",
213      "options": [
214        {
215          "exclude-annotation": "androidx.test.filters.FlakyTest"
216        }
217      ]
218    },
219    {
220      "name": "CtsAdServicesNotInAllowListEndToEndTests",
221      "options": [
222        {
223          "exclude-annotation": "androidx.test.filters.FlakyTest"
224        }
225      ]
226    },
227    {
228      "name": "CtsAdServicesTopicsAppUpdateTests",
229      "options": [
230        {
231          "exclude-annotation": "androidx.test.filters.FlakyTest"
232        }
233      ]
234    },
235    {
236      "name": "CtsAdServicesTopicsConnectionTests",
237      "options": [
238        {
239          "exclude-annotation": "androidx.test.filters.FlakyTest"
240        }
241      ]
242    },
243    {
244      "name": "CtsAdServicesMddTests",
245      "options": [
246        {
247          "exclude-annotation": "androidx.test.filters.FlakyTest"
248        }
249      ]
250    },
251    {
252      "name": "CtsSandboxedAdIdManagerTests",
253      "options": [
254        {
255          "exclude-annotation": "androidx.test.filters.FlakyTest"
256        }
257      ]
258    },
259    {
260      "name": "CtsSandboxedTopicsManagerTests",
261      "options": [
262        {
263          "exclude-annotation": "androidx.test.filters.FlakyTest"
264        }
265      ]
266    },
267    {
268      "name": "CtsSandboxedMeasurementManagerTests",
269      "options": [
270        {
271          "exclude-annotation": "androidx.test.filters.FlakyTest"
272        }
273      ]
274    },
275    {
276      "name": "CtsSandboxedFledgeManagerTests",
277      "options": [
278        {
279          "exclude-annotation": "androidx.test.filters.FlakyTest"
280        }
281      ]
282    },
283    {
284      "name": "CtsAdIdEndToEndTest",
285      "options": [
286        {
287          "exclude-annotation": "androidx.test.filters.FlakyTest"
288        }
289      ]
290    },
291    {
292      "name": "CtsAppSetIdEndToEndTest",
293      "options": [
294        {
295          "exclude-annotation": "androidx.test.filters.FlakyTest"
296        }
297      ]
298    },
299    {
300      "name": "CtsAdServicesCobaltTest",
301      "options": [
302        {
303          "exclude-annotation": "androidx.test.filters.FlakyTest"
304        }
305      ]
306    },
307    {
308      "name": "CtsAdServicesHostTests",
309      "options": [
310        {
311          // NOTE: host-side tests use a different package
312          "exclude-annotation": "android.platform.test.annotations.FlakyTest"
313        }
314      ]
315    },
316    {
317      "name": "AdServicesUIUnitTests",
318      "options": [
319        {
320          "exclude-annotation": "androidx.test.filters.FlakyTest"
321        }
322      ]
323    },
324    {
325      "name": "AdServicesManagerServiceTests",
326      "options": [
327        {
328          "exclude-annotation": "androidx.test.filters.FlakyTest"
329        }
330      ]
331    },
332    {
333      "name": "CtsAdServicesExtDataStorageServiceTest",
334      "options": [
335        {
336          "exclude-annotation": "androidx.test.filters.FlakyTest"
337        }
338      ]
339    },
340    {
341      "name": "AdServicesApkUISettingsGaUXSelectorTests",
342      "options": [
343        {
344          "exclude-annotation": "androidx.test.filters.FlakyTest"
345        }
346      ]
347    }
348  ],
349  // This group is used to configure AdServices tests for ExtServices pre-submit testing. Only add
350  // tests to this group that are:
351  // (a) Not flaky
352  // (b) Targets compat SDK version (S)
353  "extservices-mainline-presubmit": [
354    {
355      "name": "AdExtServicesApkUINotificationTests",
356      "options": [
357        {
358          "exclude-annotation": "androidx.test.filters.FlakyTest"
359        }
360      ]
361    },
362    {
363      "name": "AdExtServicesApkUISettingsTests",
364      "options": [
365        {
366          "exclude-annotation": "androidx.test.filters.FlakyTest"
367        }
368      ]
369    },
370    {
371      "name": "AdExtServicesApkUITestsAppConsent",
372      "options": [
373        {
374          "exclude-annotation": "androidx.test.filters.FlakyTest"
375        }
376      ]
377    },
378    {
379      "name": "AdExtServicesApkUISettingsGaOtaTests",
380      "options": [
381        {
382          "exclude-annotation": "androidx.test.filters.FlakyTest"
383        }
384      ]
385    },
386    {
387      "name": "AdExtServicesApkUnitTests",
388      "options": [
389        {
390          "exclude-annotation": "androidx.test.filters.FlakyTest"
391        }
392      ]
393    },
394    {
395      "name": "AdExtServicesCobaltUnitTests",
396      "options": [
397        {
398          "exclude-annotation": "androidx.test.filters.FlakyTest"
399        }
400      ]
401    },
402    {
403      "name": "AdExtServicesFrameworkUnitTests",
404      "options": [
405        {
406          "exclude-annotation": "androidx.test.filters.FlakyTest"
407        }
408      ]
409    },
410    {
411      "name": "AdExtServicesFrameworkRvcUnitTests",
412      "options": [
413        {
414          "exclude-annotation": "androidx.test.filters.FlakyTest"
415        }
416      ]
417    },
418    {
419      "name": "AdExtServicesServiceCoreUnitTests",
420      "options": [
421        {
422          "exclude-annotation": "androidx.test.filters.FlakyTest"
423        }
424      ]
425    },
426    {
427      "name": "AdExtServicesServiceCoreAdIdUnitTests",
428      "options": [
429        {
430          "exclude-annotation": "androidx.test.filters.FlakyTest"
431        }
432      ]
433    },
434    {
435      "name": "AdExtServicesServiceCoreAdIdRvcUnitTests",
436      "options": [
437        {
438          "exclude-annotation": "androidx.test.filters.FlakyTest"
439        }
440      ]
441    },
442    {
443      "name": "AdExtServicesServiceCoreCommonUnitTests",
444      "options": [
445        {
446          "exclude-annotation": "androidx.test.filters.FlakyTest"
447        }
448      ]
449    },
450    {
451      "name": "AdExtServicesServiceCoreAppSearchUnitTests",
452      "options": [
453        {
454          "exclude-annotation": "androidx.test.filters.FlakyTest"
455        }
456      ]
457    },
458    {
459      "name": "AdExtServicesServiceCoreAppsetIdUnitTests",
460      "options": [
461        {
462          "exclude-annotation": "androidx.test.filters.FlakyTest"
463        }
464      ]
465    },
466    {
467      "name": "AdExtServicesServiceCoreMeasurementUnitTests",
468      "options": [
469        {
470          "exclude-annotation": "androidx.test.filters.FlakyTest"
471        }
472      ]
473    },
474    {
475      "name": "AdExtServicesServiceCoreMeasurementRvcUnitTests",
476      "options": [
477        {
478          "exclude-annotation": "androidx.test.filters.FlakyTest"
479        }
480      ]
481    },
482    {
483      "name": "AdExtServicesServiceCoreTopicsUnitTests",
484      "options": [
485        {
486          "exclude-annotation": "androidx.test.filters.FlakyTest"
487        }
488      ]
489    },
490    {
491      "name": "AdExtServicesServiceCoreProtectedAudienceUnitTests",
492      "options": [
493        {
494          "exclude-annotation": "androidx.test.filters.FlakyTest"
495        }
496      ]
497    },
498    {
499      "name": "AdExtServicesJsEngineUnitTests",
500      "options": [
501        {
502          "exclude-annotation": "androidx.test.filters.FlakyTest"
503        }
504      ]
505    },
506    {
507      "name": "AdExtServicesMddIntegrationTests",
508      "options": [
509        {
510          "exclude-annotation": "androidx.test.filters.FlakyTest"
511        }
512      ]
513    },
514    {
515      "name": "CtsAdExtServicesDeviceTestCases",
516      "options": [
517        {
518          "exclude-annotation": "androidx.test.filters.FlakyTest"
519        }
520      ]
521    },
522    {
523      "name": "CtsAdExtServicesRvcDeviceTestCases",
524      "options": [
525        {
526          "exclude-annotation": "androidx.test.filters.FlakyTest"
527        }
528      ]
529    },
530    {
531      "name": "CtsAdExtServicesDebuggableDeviceTestCases",
532      "options": [
533        {
534          "exclude-annotation": "androidx.test.filters.FlakyTest"
535        }
536      ]
537    },
538    {
539      "name": "CtsAdExtServicesEndToEndTests",
540      "options": [
541        {
542          "exclude-annotation": "androidx.test.filters.FlakyTest"
543        }
544      ]
545    },
546    {
547      "name": "CtsAdExtServicesEndToEndTestMeasurement",
548      "options": [
549        {
550          "exclude-annotation": "androidx.test.filters.FlakyTest"
551        }
552      ]
553    },
554    {
555      "name": "CtsAdExtServicesEndToEndRvcTestMeasurement",
556      "options": [
557        {
558          "exclude-annotation": "androidx.test.filters.FlakyTest"
559        }
560      ]
561    },
562    {
563      "name": "CtsAdExtServicesPermissionsValidEndToEndTests",
564      "options": [
565        {
566          "exclude-annotation": "androidx.test.filters.FlakyTest"
567        }
568      ]
569    },
570    {
571      "name": "CtsAdExtServicesPermissionsAppOptOutEndToEndTests",
572      "options": [
573        {
574          "exclude-annotation": "androidx.test.filters.FlakyTest"
575        }
576      ]
577    },
578    {
579      "name": "CtsAdExtServicesPermissionsNoPermEndToEndTests",
580      "options": [
581        {
582          "exclude-annotation": "androidx.test.filters.FlakyTest"
583        }
584      ]
585    },
586    {
587      "name": "CtsAdExtServicesNotInAllowListEndToEndTests",
588      "options": [
589        {
590          "exclude-annotation": "androidx.test.filters.FlakyTest"
591        }
592      ]
593    },
594    {
595      "name": "CtsAdExtServicesTopicsAppUpdateTests",
596      "options": [
597        {
598          "exclude-annotation": "androidx.test.filters.FlakyTest"
599        }
600      ]
601    },
602    {
603      "name": "CtsAdExtServicesTopicsConnectionTests",
604      "options": [
605        {
606          "exclude-annotation": "androidx.test.filters.FlakyTest"
607        }
608      ]
609    },
610    {
611      "name": "CtsAdExtServicesMddTests",
612      "options": [
613        {
614          "exclude-annotation": "androidx.test.filters.FlakyTest"
615        }
616      ]
617    },
618    {
619      "name": "CtsAdExtServicesAdIdEndToEndTest",
620      "options": [
621        {
622          "exclude-annotation": "androidx.test.filters.FlakyTest"
623        }
624      ]
625    },
626    {
627      "name": "CtsAdExtServicesAdIdRvcEndToEndTest",
628      "options": [
629        {
630          "exclude-annotation": "androidx.test.filters.FlakyTest"
631        }
632      ]
633    },
634    {
635      "name": "CtsAdExtServicesExtDataStorageServiceTest",
636      "options": [
637        {
638          "exclude-annotation": "androidx.test.filters.FlakyTest"
639        }
640      ]
641    },
642    {
643      "name": "CtsAdExtServicesAppSetIdEndToEndTest",
644      "options": [
645        {
646          "exclude-annotation": "androidx.test.filters.FlakyTest"
647        }
648      ]
649    },
650    {
651      "name": "CtsAdExtServicesAdServicesCobaltTest",
652      "options": [
653        {
654          "exclude-annotation": "androidx.test.filters.FlakyTest"
655        }
656      ]
657    },
658    {
659      "name": "CtsAdExtServicesHostTests",
660      "options": [
661        {
662          // NOTE: host-side tests use a different package
663          "exclude-annotation": "android.platform.test.annotations.FlakyTest"
664        }
665      ]
666    },
667    {
668      "name": "AdExtServicesEndToEndTests",
669      "options": [
670        {
671          "exclude-annotation": "androidx.test.filters.FlakyTest"
672        }
673      ]
674    },
675    {
676      "name": "AdExtServicesRvcEndToEndTests",
677      "options": [
678        {
679          "exclude-annotation": "androidx.test.filters.FlakyTest"
680        }
681      ]
682    },
683    {
684      "name": "AdExtServicesUIUnitTests",
685      "options": [
686        {
687          "exclude-annotation": "androidx.test.filters.FlakyTest"
688        }
689      ]
690    }
691  ],
692  "mainline-presubmit": [
693    {
694      // Install com.google.android.adservices.apex and run AdServicesApkUINotificationTests.
695      "name": "AdServicesApkUINotificationTests[com.google.android.adservices.apex]",
696      "options": [
697        {
698          "exclude-annotation": "androidx.test.filters.FlakyTest"
699        }
700      ]
701    },
702    {
703      // Install com.google.android.extservices.apex and run AdExtServicesApkUINotificationTests.
704      "name": "AdExtServicesApkUINotificationTests[com.google.android.extservices.apex]",
705      "options": [
706        {
707          "exclude-annotation": "androidx.test.filters.FlakyTest"
708        }
709      ]
710    },
711    {
712      // Install com.google.android.adservices.apex and run AdServicesApkUISettingsTests.
713      "name": "AdServicesApkUISettingsTests[com.google.android.adservices.apex]",
714      "options": [
715        {
716          "exclude-annotation": "androidx.test.filters.FlakyTest"
717        }
718      ]
719    },
720    {
721      // Install com.google.android.extservices.apex and run AdExtServicesApkUISettingsTests.
722      "name": "AdExtServicesApkUISettingsTests[com.google.android.extservices.apex]",
723      "options": [
724        {
725          "exclude-annotation": "androidx.test.filters.FlakyTest"
726        }
727      ]
728    },
729    {
730      // Install com.google.android.adservices.apex and run AdServicesApkUITestsAppConsent.
731      "name": "AdServicesApkUITestsAppConsent[com.google.android.adservices.apex]",
732      "options": [
733        {
734          "exclude-annotation": "androidx.test.filters.FlakyTest"
735        }
736      ]
737    },
738    {
739      // Install com.google.android.extservices.apex and run AdExtServicesApkUITestsAppConsent.
740      "name": "AdExtServicesApkUITestsAppConsent[com.google.android.extservices.apex]",
741      "options": [
742        {
743          "exclude-annotation": "androidx.test.filters.FlakyTest"
744        }
745      ]
746    },
747    {
748      // Install com.google.android.adservices.apex and run AdServicesApkUISettingsGaOtaTests.
749      "name": "AdServicesApkUISettingsGaOtaTests[com.google.android.adservices.apex]",
750      "options": [
751        {
752          "exclude-annotation": "androidx.test.filters.FlakyTest"
753        }
754      ]
755    },
756    {
757      // Install com.google.android.extservices.apex and run AdExtServicesApkUISettingsGaOtaTests.
758      "name": "AdExtServicesApkUISettingsGaOtaTests[com.google.android.extservices.apex]",
759      "options": [
760        {
761          "exclude-annotation": "androidx.test.filters.FlakyTest"
762        }
763      ]
764    },
765    {
766      // Install com.google.android.adservices.apex and run AdServicesApkUnitTests.
767      "name": "AdServicesApkUnitTests[com.google.android.adservices.apex]",
768      "options": [
769        {
770          "exclude-annotation": "androidx.test.filters.FlakyTest"
771        }
772      ]
773    },
774    {
775      // Install com.google.android.extservices.apex and run AdExtServicesApkUnitTests.
776      "name": "AdExtServicesApkUnitTests[com.google.android.extservices.apex]",
777      "options": [
778        {
779          "exclude-annotation": "androidx.test.filters.FlakyTest"
780        }
781      ]
782    },
783    {
784      // Install com.google.android.adservices.apex and run AdServicesApkUISettingsGaUXSelectorTests.
785      "name": "AdServicesApkUISettingsGaUXSelectorTests[com.google.android.adservices.apex]",
786      "options": [
787        {
788          "exclude-annotation": "androidx.test.filters.FlakyTest"
789        }
790      ]
791    },
792    {
793      // Install com.google.android.adservices.apex and run AdServicesCobaltUnitTests.
794      "name": "AdServicesCobaltUnitTests[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 AdExtServicesCobaltUnitTests.
803      "name": "AdExtServicesCobaltUnitTests[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 AdServicesMddIntegrationTests.
812      "name": "AdServicesMddIntegrationTests[com.google.android.adservices.apex]",
813      "options": [
814        {
815          "exclude-annotation": "androidx.test.filters.FlakyTest"
816        }
817      ]
818    },
819    {
820      // Install com.google.android.extservices.apex and run AdExtServicesMddIntegrationTests.
821      "name": "AdExtServicesMddIntegrationTests[com.google.android.extservices.apex]",
822      "options": [
823        {
824          "exclude-annotation": "androidx.test.filters.FlakyTest"
825        }
826      ]
827    },
828    {
829      // Install com.google.android.adservices.apex and run AdServicesFrameworkUnitTests.
830      "name": "AdServicesFrameworkUnitTests[com.google.android.adservices.apex]",
831      "options": [
832        {
833          "exclude-annotation": "androidx.test.filters.FlakyTest"
834        }
835      ]
836    },
837    {
838      // Install com.google.android.extservices.apex and run AdExtServicesFrameworkUnitTests.
839      "name": "AdExtServicesFrameworkUnitTests[com.google.android.extservices.apex]",
840      "options": [
841        {
842          "exclude-annotation": "androidx.test.filters.FlakyTest"
843        }
844      ]
845    },
846    {
847      // Install com.google.android.extservices.apex and run AdExtServicesFrameworkRvcUnitTests.
848      "name": "AdExtServicesFrameworkRvcUnitTests[com.google.android.extservices.apex]",
849      "options": [
850        {
851          "exclude-annotation": "androidx.test.filters.FlakyTest"
852        }
853      ]
854    },
855    {
856      // Install com.google.android.adservices.apex and run AdServicesServiceCoreUnitTests.
857      "name": "AdServicesServiceCoreUnitTests[com.google.android.adservices.apex]",
858      "options": [
859        {
860          "exclude-annotation": "androidx.test.filters.FlakyTest"
861        }
862      ]
863    },
864    {
865      // Install com.google.android.extservices.apex and run AdExtServicesServiceCoreUnitTests.
866      "name": "AdExtServicesServiceCoreUnitTests[com.google.android.extservices.apex]",
867      "options": [
868        {
869          "exclude-annotation": "androidx.test.filters.FlakyTest"
870        }
871      ]
872    },
873    {
874      // Install com.google.android.adservices.apex and run AdServicesServiceCoreAdIdUnitTests.
875      "name": "AdServicesServiceCoreAdIdUnitTests[com.google.android.adservices.apex]",
876      "options": [
877        {
878          "exclude-annotation": "androidx.test.filters.FlakyTest"
879        }
880      ]
881    },
882    {
883      // Install com.google.android.extservices.apex and run AdExtServicesServiceCoreAdIdUnitTests.
884      "name": "AdExtServicesServiceCoreAdIdUnitTests[com.google.android.extservices.apex]",
885      "options": [
886        {
887          "exclude-annotation": "androidx.test.filters.FlakyTest"
888        }
889      ]
890    },
891    {
892      // Install com.google.android.extservices.apex and run AdExtServicesServiceCoreAdIdRvcUnitTests.
893      "name": "AdExtServicesServiceCoreAdIdRvcUnitTests[com.google.android.extservices.apex]",
894      "options": [
895        {
896          "exclude-annotation": "androidx.test.filters.FlakyTest"
897        }
898      ]
899    },
900    {
901      // Install com.google.android.adservices.apex and run AdServicesServiceCoreCommonUnitTests.
902      "name": "AdServicesServiceCoreCommonUnitTests[com.google.android.adservices.apex]",
903      "options": [
904        {
905          "exclude-annotation": "androidx.test.filters.FlakyTest"
906        }
907      ]
908    },
909    {
910      // Install com.google.android.adservices.apex and run AdExtServicesServiceCoreCommonUnitTests.
911      "name": "AdExtServicesServiceCoreCommonUnitTests[com.google.android.extservices.apex]",
912      "options": [
913        {
914          "exclude-annotation": "androidx.test.filters.FlakyTest"
915        }
916      ]
917    },
918    {
919      // Install com.google.android.adservices.apex and run AdServicesServiceCoreAppSearchUnitTests.
920      "name": "AdServicesServiceCoreAppSearchUnitTests[com.google.android.adservices.apex]",
921      "options": [
922        {
923          "exclude-annotation": "androidx.test.filters.FlakyTest"
924        }
925      ]
926    },
927    {
928      // Install com.google.android.extservices.apex and run AdExtServicesServiceCoreAppSearchUnitTests.
929      "name": "AdExtServicesServiceCoreAppSearchUnitTests[com.google.android.extservices.apex]",
930      "options": [
931        {
932          "exclude-annotation": "androidx.test.filters.FlakyTest"
933        }
934      ]
935    },
936    {
937      // Install com.google.android.adservices.apex and run AdServicesServiceCoreAppsetIdUnitTests.
938      "name": "AdServicesServiceCoreAppsetIdUnitTests[com.google.android.adservices.apex]",
939      "options": [
940        {
941          "exclude-annotation": "androidx.test.filters.FlakyTest"
942        }
943      ]
944    },
945    {
946      // Install com.google.android.extservices.apex and run AdExtServicesServiceCoreAppsetIdUnitTests.
947      "name": "AdExtServicesServiceCoreAppsetIdUnitTests[com.google.android.extservices.apex]",
948      "options": [
949        {
950          "exclude-annotation": "androidx.test.filters.FlakyTest"
951        }
952      ]
953    },
954    {
955      // Install com.google.android.adservices.apex and run
956      // AdServicesServiceCoreMeasurementUnitTests.
957      "name": "AdServicesServiceCoreMeasurementUnitTests[com.google.android.adservices.apex]",
958      "options": [
959        {
960          "exclude-annotation": "androidx.test.filters.FlakyTest"
961        }
962      ]
963    },
964    {
965      // Install com.google.android.extservices.apex and run
966      // AdExtServicesServiceCoreMeasurementUnitTests.
967      "name": "AdExtServicesServiceCoreMeasurementUnitTests[com.google.android.extservices.apex]",
968      "options": [
969        {
970          "exclude-annotation": "androidx.test.filters.FlakyTest"
971        }
972      ]
973    },
974    {
975      // Install com.google.android.extservices.apex and run
976      // AdExtServicesServiceCoreMeasurementRvcUnitTests.
977      "name": "AdExtServicesServiceCoreMeasurementRvcUnitTests[com.google.android.extservices.apex]",
978      "options": [
979        {
980          "exclude-annotation": "androidx.test.filters.FlakyTest"
981        }
982      ]
983    },
984    {
985      // Install com.google.android.adservices.apex and run
986      // AdServicesServiceCoreTopicsUnitTests.
987      "name": "AdServicesServiceCoreTopicsUnitTests[com.google.android.adservices.apex]",
988      "options": [
989        {
990          "exclude-annotation": "androidx.test.filters.FlakyTest"
991        }
992      ]
993    },
994    {
995      // Install com.google.android.extservices.apex and run
996      // AdExtServicesServiceCoreTopicsUnitTests.
997      "name": "AdExtServicesServiceCoreTopicsUnitTests[com.google.android.extservices.apex]",
998      "options": [
999        {
1000          "exclude-annotation": "androidx.test.filters.FlakyTest"
1001        }
1002      ]
1003    },
1004    {
1005      // Install com.google.android.adservices.apex and run
1006      // AdServicesServiceCoreProtectedAudienceUnitTests.
1007      "name": "AdServicesServiceCoreProtectedAudienceUnitTests[com.google.android.adservices.apex]",
1008      "options": [
1009        {
1010          "exclude-annotation": "androidx.test.filters.FlakyTest"
1011        }
1012      ]
1013    },
1014    {
1015      // Install com.google.android.adservices.apex and run
1016      // AdServicesServiceCoreDatabaseMigrationUnitTests.
1017      "name": "AdServicesServiceCoreDatabaseMigrationUnitTests[com.google.android.adservices.apex]",
1018      "options": [
1019        {
1020          "exclude-annotation": "androidx.test.filters.FlakyTest"
1021        }
1022      ]
1023    },
1024    {
1025      // Install com.google.android.extservices.apex and run
1026      // AdExtServicesServiceCoreProtectedAudienceUnitTests.
1027      "name": "AdExtServicesServiceCoreProtectedAudienceUnitTests[com.google.android.extservices.apex]",
1028      "options": [
1029        {
1030          "exclude-annotation": "androidx.test.filters.FlakyTest"
1031        }
1032      ]
1033    },
1034    {
1035      // Install com.google.android.adservices.apex and run AdServicesJsEngineUnitTests.
1036      "name": "AdServicesJsEngineUnitTests[com.google.android.adservices.apex]",
1037      "options": [
1038        {
1039          "exclude-annotation": "androidx.test.filters.FlakyTest"
1040        }
1041      ]
1042    },
1043    {
1044      // Install com.google.android.extservices.apex and run AdExtServicesJsEngineUnitTests.
1045      "name": "AdExtServicesJsEngineUnitTests[com.google.android.extservices.apex]",
1046      "options": [
1047        {
1048          "exclude-annotation": "androidx.test.filters.FlakyTest"
1049        }
1050      ]
1051    },
1052    {
1053      // Install com.google.android.adservices.apex and run CtsAdServicesDeviceTestCases.
1054      "name": "CtsAdServicesDeviceTestCases[com.google.android.adservices.apex]",
1055      "options": [
1056        {
1057          "exclude-annotation": "androidx.test.filters.FlakyTest"
1058        }
1059      ]
1060    },
1061    {
1062      // Install com.google.android.extservices.apex and run CtsAdExtServicesDeviceTestCases.
1063      "name": "CtsAdExtServicesDeviceTestCases[com.google.android.extservices.apex]",
1064      "options": [
1065        {
1066          "exclude-annotation": "androidx.test.filters.FlakyTest"
1067        }
1068      ]
1069    },
1070    {
1071      // Install com.google.android.extservices.apex and run CtsAdExtServicesRvcDeviceTestCases.
1072      "name": "CtsAdExtServicesRvcDeviceTestCases[com.google.android.extservices.apex]",
1073      "options": [
1074        {
1075          "exclude-annotation": "androidx.test.filters.FlakyTest"
1076        }
1077      ]
1078    },
1079    {
1080      // Install com.google.android.adservices.apex and run CtsAdServicesDebuggableDeviceTestCases.
1081      "name": "CtsAdServicesDebuggableDeviceTestCases[com.google.android.adservices.apex]",
1082      "options": [
1083        {
1084          "exclude-annotation": "androidx.test.filters.FlakyTest"
1085        }
1086      ]
1087    },
1088    {
1089      // Install com.google.android.adservices.apex and run CtsAdServicesRootTestCases.
1090      "name": "CtsAdServicesRootTestCases[com.google.android.adservices.apex]",
1091      "options": [
1092        {
1093          "exclude-annotation": "androidx.test.filters.FlakyTest"
1094        }
1095      ]
1096    },
1097    {
1098      // Install com.google.android.extservices.apex and run CtsAdExtServicesDebuggableDeviceTestCases.
1099      "name": "CtsAdExtServicesDebuggableDeviceTestCases[com.google.android.extservices.apex]",
1100      "options": [
1101        {
1102          "exclude-annotation": "androidx.test.filters.FlakyTest"
1103        }
1104      ]
1105    },
1106    {
1107      // Install com.google.android.adservices.apex and run CtsAdServicesEndToEndTests.
1108      "name": "CtsAdServicesEndToEndTests[com.google.android.adservices.apex]",
1109      "options": [
1110        {
1111          "exclude-annotation": "androidx.test.filters.FlakyTest"
1112        }
1113      ]
1114    },
1115    {
1116      // Install com.google.android.extservices.apex and run CtsAdExtServicesEndToEndTests.
1117      "name": "CtsAdExtServicesEndToEndTests[com.google.android.extservices.apex]",
1118      "options": [
1119        {
1120          "exclude-annotation": "androidx.test.filters.FlakyTest"
1121        }
1122      ]
1123    },
1124    {
1125      "name": "CtsAdServicesEndToEndTestMeasurement[com.google.android.adservices.apex]",
1126      "options": [
1127        {
1128          "exclude-annotation": "androidx.test.filters.FlakyTest"
1129        }
1130      ]
1131    },
1132    {
1133      "name": "CtsAdExtServicesEndToEndTestMeasurement[com.google.android.extservices.apex]",
1134      "options": [
1135        {
1136          "exclude-annotation": "androidx.test.filters.FlakyTest"
1137        }
1138      ]
1139    },
1140    {
1141      "name": "CtsAdExtServicesEndToEndRvcTestMeasurement[com.google.android.extservices.apex]",
1142      "options": [
1143        {
1144          "exclude-annotation": "androidx.test.filters.FlakyTest"
1145        }
1146      ]
1147    },
1148    {
1149      "name": "CtsAdServicesPermissionsValidEndToEndTests[com.google.android.adservices.apex]",
1150      "options": [
1151        {
1152          "exclude-annotation": "androidx.test.filters.FlakyTest"
1153        }
1154      ]
1155    },
1156    {
1157      "name": "CtsAdExtServicesPermissionsValidEndToEndTests[com.google.android.extservices.apex]",
1158      "options": [
1159        {
1160          "exclude-annotation": "androidx.test.filters.FlakyTest"
1161        }
1162      ]
1163    },
1164    {
1165      "name": "CtsAdServicesPermissionsAppOptOutEndToEndTests[com.google.android.adservices.apex]",
1166      "options": [
1167        {
1168          "exclude-annotation": "androidx.test.filters.FlakyTest"
1169        }
1170      ]
1171    },
1172    {
1173      "name": "CtsAdExtServicesPermissionsAppOptOutEndToEndTests[com.google.android.extservices.apex]",
1174      "options": [
1175        {
1176          "exclude-annotation": "androidx.test.filters.FlakyTest"
1177        }
1178      ]
1179    },
1180    {
1181      "name": "CtsAdServicesPermissionsNoPermEndToEndTests[com.google.android.adservices.apex]",
1182      "options": [
1183        {
1184          "exclude-annotation": "androidx.test.filters.FlakyTest"
1185        }
1186      ]
1187    },
1188    {
1189      "name": "CtsAdExtServicesPermissionsNoPermEndToEndTests[com.google.android.extservices.apex]",
1190      "options": [
1191        {
1192          "exclude-annotation": "androidx.test.filters.FlakyTest"
1193        }
1194      ]
1195    },
1196    {
1197      "name": "CtsAdServicesNotInAllowListEndToEndTests[com.google.android.adservices.apex]",
1198      "options": [
1199        {
1200          "exclude-annotation": "androidx.test.filters.FlakyTest"
1201        }
1202      ]
1203    },
1204    {
1205      "name": "CtsAdExtServicesNotInAllowListEndToEndTests[com.google.android.extservices.apex]",
1206      "options": [
1207        {
1208          "exclude-annotation": "androidx.test.filters.FlakyTest"
1209        }
1210      ]
1211    },
1212    {
1213      "name": "CtsAdServicesTopicsAppUpdateTests[com.google.android.adservices.apex]",
1214      "options": [
1215        {
1216          "exclude-annotation": "androidx.test.filters.FlakyTest"
1217        }
1218      ]
1219    },
1220    {
1221      "name": "CtsAdExtServicesTopicsAppUpdateTests[com.google.android.extservices.apex]",
1222      "options": [
1223        {
1224          "exclude-annotation": "androidx.test.filters.FlakyTest"
1225        }
1226      ]
1227    },
1228    {
1229      "name": "CtsAdServicesTopicsConnectionTests[com.google.android.adservices.apex]",
1230      "options": [
1231        {
1232          "exclude-annotation": "androidx.test.filters.FlakyTest"
1233        }
1234      ]
1235    },
1236    {
1237      "name": "CtsAdExtServicesTopicsConnectionTests[com.google.android.extservices.apex]",
1238      "options": [
1239        {
1240          "exclude-annotation": "androidx.test.filters.FlakyTest"
1241        }
1242      ]
1243    },
1244    {
1245      "name": "CtsAdServicesMddTests[com.google.android.adservices.apex]",
1246      "options": [
1247        {
1248          "exclude-annotation": "androidx.test.filters.FlakyTest"
1249        }
1250      ]
1251    },
1252    {
1253      "name": "CtsAdExtServicesMddTests[com.google.android.extservices.apex]",
1254      "options": [
1255        {
1256          "exclude-annotation": "androidx.test.filters.FlakyTest"
1257        }
1258      ]
1259    },
1260    {
1261      // Install com.google.android.adservices.apex and run CtsSandboxedAdIdManagerTests.
1262      "name": "CtsSandboxedAdIdManagerTests[com.google.android.adservices.apex]",
1263      "options": [
1264        {
1265          "exclude-annotation": "androidx.test.filters.FlakyTest"
1266        }
1267      ]
1268    },
1269    {
1270      // Install com.google.android.adservices.apex and run CtsSandboxedTopicsManagerTests.
1271      "name": "CtsSandboxedTopicsManagerTests[com.google.android.adservices.apex]",
1272      "options": [
1273        {
1274          "exclude-annotation": "androidx.test.filters.FlakyTest"
1275        }
1276      ]
1277    },
1278    {
1279      // Install com.google.android.adservices.apex and run CtsSandboxedMeasurementManagerTests.
1280      "name": "CtsSandboxedMeasurementManagerTests[com.google.android.adservices.apex]",
1281      "options": [
1282        {
1283          "exclude-annotation": "androidx.test.filters.FlakyTest"
1284        }
1285      ]
1286    },
1287    {
1288      // Install com.google.android.adservices.apex and run SandboxedFledgeManagerTests.
1289      "name": "CtsSandboxedFledgeManagerTests[com.google.android.adservices.apex]",
1290      "options": [
1291        {
1292          "exclude-annotation": "androidx.test.filters.FlakyTest"
1293        }
1294      ]
1295    },
1296    {
1297      // Install com.google.android.adservices.apex and run CtsAdIdEndToEndTest.
1298      "name": "CtsAdIdEndToEndTest[com.google.android.adservices.apex]",
1299      "options": [
1300        {
1301          "exclude-annotation": "androidx.test.filters.FlakyTest"
1302        }
1303      ]
1304    },
1305    {
1306      // Install com.google.android.extservices.apex and run CtsAdExtServicesAdIdEndToEndTest.
1307      "name": "CtsAdExtServicesAdIdEndToEndTest[com.google.android.extservices.apex]",
1308      "options": [
1309        {
1310          "exclude-annotation": "androidx.test.filters.FlakyTest"
1311        }
1312      ]
1313    },
1314    {
1315      // Install com.google.android.extservices.apex and run CtsAdExtServicesAdIdRvcEndToEndTest.
1316      "name": "CtsAdExtServicesAdIdRvcEndToEndTest[com.google.android.extservices.apex]",
1317      "options": [
1318        {
1319          "exclude-annotation": "androidx.test.filters.FlakyTest"
1320        }
1321      ]
1322    },
1323    {
1324      // Install com.google.android.extservices.apex and run CtsAdExtServicesExtDataStorageServiceTest.
1325      "name": "CtsAdExtServicesExtDataStorageServiceTest[com.google.android.extservices.apex]",
1326      "options": [
1327        {
1328          "exclude-annotation": "androidx.test.filters.FlakyTest"
1329        }
1330      ]
1331    },
1332    {
1333      // Install com.google.android.adservices.apex and run CtsAppSetIdEndToEndTest.
1334      "name": "CtsAppSetIdEndToEndTest[com.google.android.adservices.apex]",
1335      "options": [
1336        {
1337          "exclude-annotation": "androidx.test.filters.FlakyTest"
1338        }
1339      ]
1340    },
1341    {
1342      // Install com.google.android.adservices.apex and run CtsAdServicesCobaltTest.
1343      "name": "CtsAdServicesCobaltTest[com.google.android.adservices.apex]",
1344      "options": [
1345        {
1346          "exclude-annotation": "androidx.test.filters.FlakyTest"
1347        }
1348      ]
1349    },
1350    {
1351      // Install com.google.android.extservices.apex and run CtsAdExtServicesAppSetIdEndToEndTest.
1352      "name": "CtsAdExtServicesAppSetIdEndToEndTest[com.google.android.extservices.apex]",
1353      "options": [
1354        {
1355          "exclude-annotation": "androidx.test.filters.FlakyTest"
1356        }
1357      ]
1358    },
1359    {
1360      // Install com.google.android.extservices.apex and run CtsAdExtServicesAdServicesCobaltTest.
1361      "name": "CtsAdExtServicesAdServicesCobaltTest[com.google.android.extservices.apex]",
1362      "options": [
1363        {
1364          "exclude-annotation": "androidx.test.filters.FlakyTest"
1365        }
1366      ]
1367    },
1368    {
1369      // Install com.google.android.adservices.apex and run CtsAdServicesHostTests.
1370      "name": "CtsAdServicesHostTests[com.google.android.adservices.apex]",
1371      "options": [
1372        {
1373          // NOTE: host-side tests use a different package
1374          "exclude-annotation": "android.platform.test.annotations.FlakyTest"
1375        }
1376      ]
1377    },
1378    {
1379      // Install com.google.android.extservices.apex and run CtsAdExtServicesHostTests.
1380      "name": "CtsAdExtServicesHostTests[com.google.android.extservices.apex]",
1381      "options": [
1382        {
1383          // NOTE: host-side tests use a different package
1384          "exclude-annotation": "android.platform.test.annotations.FlakyTest"
1385        }
1386      ]
1387    },
1388    {
1389      // Install com.google.android.extservices.apex and run AdExtServicesEndToEndTests.
1390      "name": "AdExtServicesEndToEndTests[com.google.android.extservices.apex]",
1391      "options": [
1392        {
1393          "exclude-annotation": "androidx.test.filters.FlakyTest"
1394        }
1395      ]
1396    },
1397    {
1398      // Install com.google.android.extservices.apex and run AdExtServicesRvcEndToEndTests.
1399      "name": "AdExtServicesRvcEndToEndTests[com.google.android.extservices.apex]",
1400      "options": [
1401        {
1402          "exclude-annotation": "androidx.test.filters.FlakyTest"
1403        }
1404      ]
1405    },
1406    {
1407      "name": "AdServicesUIUnitTests[com.google.android.adservices.apex]",
1408      "options": [
1409        {
1410          "exclude-annotation": "androidx.test.filters.FlakyTest"
1411        }
1412      ]
1413    },
1414    {
1415      // Install com.google.android.extservices.apex and run AdExtServicesEndToEndTests.
1416      "name": "AdExtServicesUIUnitTests[com.google.android.extservices.apex]",
1417      "options": [
1418        {
1419          "exclude-annotation": "androidx.test.filters.FlakyTest"
1420        }
1421      ]
1422    },
1423    {
1424      "name": "AdServicesManagerServiceTests[com.google.android.adservices.apex]",
1425      "options": [
1426        {
1427          "exclude-annotation": "androidx.test.filters.FlakyTest"
1428        }
1429      ]
1430    },
1431    {
1432      "name": "CtsAdServicesExtDataStorageServiceTest[com.google.android.adservices.apex]",
1433      "options": [
1434        {
1435          "exclude-annotation": "androidx.test.filters.FlakyTest"
1436        }
1437      ]
1438    }
1439  ],
1440
1441  // Tests in platform presubmit are running against the git_main branch. This list should only include AdServices tests.
1442  // Add ExtServices tests to "mainline-presubmit".
1443  "presubmit": [
1444    {
1445      "name": "AdServicesCobaltUnitTests",
1446      "options": [
1447        {
1448          "exclude-annotation": "androidx.test.filters.FlakyTest"
1449        }
1450      ]
1451    },
1452    {
1453      "name": "AdServicesFrameworkUnitTests",
1454      "options": [
1455        {
1456          "exclude-annotation": "androidx.test.filters.FlakyTest"
1457        }
1458      ]
1459    },
1460    {
1461      "name": "AdServicesServiceCoreUnitTests",
1462      "options": [
1463        {
1464          "exclude-annotation": "androidx.test.filters.FlakyTest"
1465        }
1466      ]
1467    },
1468    {
1469      "name": "AdServicesServiceCoreAdIdUnitTests",
1470      "options": [
1471        {
1472          "exclude-annotation": "androidx.test.filters.FlakyTest"
1473        }
1474      ]
1475    },
1476    {
1477      "name": "AdServicesServiceCoreCommonUnitTests",
1478      "options": [
1479        {
1480          "exclude-annotation": "androidx.test.filters.FlakyTest"
1481        }
1482      ]
1483    },
1484    {
1485      "name": "AdServicesServiceCoreAppSearchUnitTests",
1486      "options": [
1487        {
1488          "exclude-annotation": "androidx.test.filters.FlakyTest"
1489        }
1490      ]
1491    },
1492    {
1493      "name": "AdServicesServiceCoreAppsetIdUnitTests",
1494      "options": [
1495        {
1496          "exclude-annotation": "androidx.test.filters.FlakyTest"
1497        }
1498      ]
1499    },
1500    {
1501      "name": "AdServicesServiceCoreMeasurementUnitTests",
1502      "options": [
1503        {
1504          "exclude-annotation": "androidx.test.filters.FlakyTest"
1505        }
1506      ]
1507    },
1508    {
1509      "name": "AdServicesServiceCoreProtectedAudienceUnitTests",
1510      "options": [
1511        {
1512          "exclude-annotation": "androidx.test.filters.FlakyTest"
1513        }
1514      ]
1515    },
1516    {
1517      "name": "AdServicesServiceCoreTopicsUnitTests",
1518      "options": [
1519        {
1520          "exclude-annotation": "androidx.test.filters.FlakyTest"
1521        }
1522      ]
1523    },
1524    {
1525      "name": "AdServicesJsEngineUnitTests",
1526      "options": [
1527        {
1528          "exclude-annotation": "androidx.test.filters.FlakyTest"
1529        }
1530      ]
1531    },
1532    {
1533      "name": "AdServicesEndToEndTests",
1534      "options": [
1535        {
1536          "exclude-annotation": "androidx.test.filters.FlakyTest"
1537        }
1538      ]
1539    },
1540    {
1541      "name": "CtsAdServicesTopicsAppUpdateTests",
1542      "options": [
1543        {
1544          "exclude-annotation": "androidx.test.filters.FlakyTest"
1545        }
1546      ]
1547    },
1548    {
1549      "name": "CtsAdServicesTopicsConnectionTests",
1550      "options": [
1551        {
1552          "exclude-annotation": "androidx.test.filters.FlakyTest"
1553        }
1554      ]
1555    },
1556    {
1557      "name": "CtsAdServicesMddTests",
1558      "options": [
1559        {
1560          "exclude-annotation": "androidx.test.filters.FlakyTest"
1561        }
1562      ]
1563    },
1564    {
1565      "name": "CtsAdServicesDeviceTestCases",
1566      "options": [
1567        {
1568          "exclude-annotation": "androidx.test.filters.FlakyTest"
1569        }
1570      ]
1571    },
1572    {
1573      "name": "CtsAdServicesDebuggableDeviceTestCases",
1574      "options": [
1575        {
1576          "exclude-annotation": "androidx.test.filters.FlakyTest"
1577        }
1578      ]
1579    },
1580    {
1581      "name": "AdServicesApkUINotificationTests",
1582      "options": [
1583        {
1584          "exclude-annotation": "androidx.test.filters.FlakyTest"
1585        }
1586      ]
1587    },
1588    {
1589      "name": "AdServicesApkUISettingsTests",
1590      "options": [
1591        {
1592          "exclude-annotation": "androidx.test.filters.FlakyTest"
1593        }
1594      ]
1595    },
1596    {
1597      "name": "AdServicesApkUISettingsGaOtaTests",
1598      "options": [
1599        {
1600          "exclude-annotation": "androidx.test.filters.FlakyTest"
1601        }
1602      ]
1603    },
1604    {
1605      "name": "AdServicesApkUISettingsGaUXSelectorTests",
1606      "options": [
1607        {
1608          "exclude-annotation": "androidx.test.filters.FlakyTest"
1609        }
1610      ]
1611    },
1612    {
1613      "name": "AdServicesApkUITestsAppConsent",
1614      "options": [
1615        {
1616          "exclude-annotation": "androidx.test.filters.FlakyTest"
1617        }
1618      ]
1619    },
1620    {
1621      "name": "CtsAdServicesEndToEndTests",
1622      "options": [
1623        {
1624          "exclude-annotation": "androidx.test.filters.FlakyTest"
1625        }
1626      ]
1627    },
1628    {
1629      "name": "AdServicesManagerServiceTests",
1630      "options": [
1631        {
1632          "exclude-annotation": "androidx.test.filters.FlakyTest"
1633        }
1634      ]
1635    },
1636    {
1637      "name": "AdServicesApkUnitTests",
1638      "options": [
1639        {
1640          "exclude-annotation": "androidx.test.filters.FlakyTest"
1641        }
1642      ]
1643    },
1644    {
1645      "name": "CtsAdIdEndToEndTest",
1646      "options": [
1647        {
1648          "exclude-annotation": "androidx.test.filters.FlakyTest"
1649        }
1650      ]
1651    },
1652    {
1653      "name": "CtsAdServicesExtDataStorageServiceTest",
1654      "options": [
1655        {
1656          "exclude-annotation": "androidx.test.filters.FlakyTest"
1657        }
1658      ]
1659    },
1660    {
1661      "name": "CtsAppSetIdEndToEndTest",
1662      "options": [
1663        {
1664          "exclude-annotation": "androidx.test.filters.FlakyTest"
1665        }
1666      ]
1667    },
1668    {
1669      "name": "CtsAdServicesCobaltTest",
1670      "options": [
1671        {
1672          "exclude-annotation": "androidx.test.filters.FlakyTest"
1673        }
1674      ]
1675    }
1676  ],
1677
1678  // Tests in platform postsubmit are running against the git_main branch. This list should only include AdServices tests.
1679  // Add ExtServices tests to "mainline-presubmit".
1680  "postsubmit": [
1681    {
1682      "name": "AdServicesMddIntegrationTests",
1683      "options": [
1684        {
1685          "exclude-annotation": "androidx.test.filters.FlakyTest"
1686        }
1687      ]
1688    },
1689    {
1690      "name": "CtsAdServicesHostTests",
1691      "options": [
1692        {
1693          "exclude-annotation": "androidx.test.filters.FlakyTest"
1694        }
1695      ]
1696    },
1697    {
1698      "name": "AdServicesUIUnitTests",
1699      "options": [
1700        {
1701          "exclude-annotation": "androidx.test.filters.FlakyTest"
1702        }
1703      ]
1704    },
1705    {
1706      "name": "AdServicesApkUINotificationTests",
1707      "options": [
1708        {
1709          "exclude-annotation": "androidx.test.filters.FlakyTest"
1710        }
1711      ]
1712    },
1713    {
1714      "name": "AdServicesApkUISettingsTests",
1715      "options": [
1716        {
1717          "exclude-annotation": "androidx.test.filters.FlakyTest"
1718        }
1719      ]
1720    },
1721    {
1722      "name": "AdServicesApkUISettingsGaOtaTests",
1723      "options": [
1724        {
1725          "exclude-annotation": "androidx.test.filters.FlakyTest"
1726        }
1727      ]
1728    },
1729    {
1730      "name": "AdServicesServiceCoreDatabaseMigrationUnitTests",
1731      "options": [
1732        {
1733          "exclude-annotation": "androidx.test.filters.FlakyTest"
1734        }
1735      ]
1736    }
1737  ],
1738  // This group is used to configure the tests for flag ramp testing in Gantry. Please add to this
1739  // test group ONLY if all the conditions are met:
1740  // (a) The test is an AdServices CTS test
1741  // (b) The test resets flag values after each test by using FlagsSetterRule (i.e. tests extend one
1742  //     of supported CTS test superclasses like AdServicesCtsTestCase).
1743  // (c) The test does not enable flag sync
1744  // (d) The test targets T+ SDK version.
1745  // (e) Test is not flaky
1746  "adservices-flag-ramp-testing": [
1747    {
1748      "name": "CtsAdServicesDeviceTestCases",
1749      "options": [
1750        {
1751          "exclude-annotation": "androidx.test.filters.FlakyTest"
1752        }
1753      ]
1754    },
1755    {
1756      "name": "CtsAdServicesDebuggableDeviceTestCases",
1757      "options": [
1758        {
1759          "exclude-annotation": "androidx.test.filters.FlakyTest"
1760        }
1761      ]
1762    },
1763    {
1764      "name": "CtsAdServicesRootTestCases",
1765      "options": [
1766        {
1767          "exclude-annotation": "androidx.test.filters.FlakyTest"
1768        }
1769      ]
1770    },
1771    {
1772      "name": "CtsAdServicesEndToEndTests",
1773      "options": [
1774        {
1775          "exclude-annotation": "androidx.test.filters.FlakyTest"
1776        }
1777      ]
1778    },
1779    {
1780      "name": "CtsAdServicesEndToEndTestMeasurement",
1781      "options": [
1782        {
1783          "exclude-annotation": "androidx.test.filters.FlakyTest"
1784        }
1785      ]
1786    },
1787    {
1788      "name": "CtsAdServicesPermissionsValidEndToEndTests",
1789      "options": [
1790        {
1791          "exclude-annotation": "androidx.test.filters.FlakyTest"
1792        }
1793      ]
1794    },
1795    {
1796      "name": "CtsAdServicesPermissionsAppOptOutEndToEndTests",
1797      "options": [
1798        {
1799          "exclude-annotation": "androidx.test.filters.FlakyTest"
1800        }
1801      ]
1802    },
1803    {
1804      "name": "CtsAdServicesPermissionsNoPermEndToEndTests",
1805      "options": [
1806        {
1807          "exclude-annotation": "androidx.test.filters.FlakyTest"
1808        }
1809      ]
1810    },
1811    {
1812      "name": "CtsAdServicesNotInAllowListEndToEndTests",
1813      "options": [
1814        {
1815          "exclude-annotation": "androidx.test.filters.FlakyTest"
1816        }
1817      ]
1818    },
1819    {
1820      "name": "CtsAdServicesTopicsAppUpdateTests",
1821      "options": [
1822        {
1823          "exclude-annotation": "androidx.test.filters.FlakyTest"
1824        }
1825      ]
1826    },
1827    {
1828      "name": "CtsAdServicesTopicsConnectionTests",
1829      "options": [
1830        {
1831          "exclude-annotation": "androidx.test.filters.FlakyTest"
1832        }
1833      ]
1834    },
1835    {
1836      "name": "CtsAdServicesMddTests",
1837      "options": [
1838        {
1839          "exclude-annotation": "androidx.test.filters.FlakyTest"
1840        }
1841      ]
1842    },
1843    {
1844      "name": "CtsSandboxedAdIdManagerTests",
1845      "options": [
1846        {
1847          "exclude-annotation": "androidx.test.filters.FlakyTest"
1848        }
1849      ]
1850    },
1851    {
1852      "name": "CtsSandboxedTopicsManagerTests",
1853      "options": [
1854        {
1855          "exclude-annotation": "androidx.test.filters.FlakyTest"
1856        }
1857      ]
1858    },
1859    {
1860      "name": "CtsSandboxedMeasurementManagerTests",
1861      "options": [
1862        {
1863          "exclude-annotation": "androidx.test.filters.FlakyTest"
1864        }
1865      ]
1866    },
1867    {
1868      "name": "CtsSandboxedFledgeManagerTests",
1869      "options": [
1870        {
1871          "exclude-annotation": "androidx.test.filters.FlakyTest"
1872        }
1873      ]
1874    },
1875    {
1876      "name": "CtsAdIdEndToEndTest",
1877      "options": [
1878        {
1879          "exclude-annotation": "androidx.test.filters.FlakyTest"
1880        }
1881      ]
1882    },
1883    {
1884      "name": "CtsAppSetIdEndToEndTest",
1885      "options": [
1886        {
1887          "exclude-annotation": "androidx.test.filters.FlakyTest"
1888        }
1889      ]
1890    },
1891    {
1892      "name": "CtsAdServicesCobaltTest",
1893      "options": [
1894        {
1895          "exclude-annotation": "androidx.test.filters.FlakyTest"
1896        }
1897      ]
1898    },
1899    {
1900      "name": "CtsAdServicesHostTests",
1901      "options": [
1902        {
1903          // NOTE: host-side tests use a different package
1904          "exclude-annotation": "android.platform.test.annotations.FlakyTest"
1905        }
1906      ]
1907    },
1908    {
1909      "name": "CtsAdServicesExtDataStorageServiceTest",
1910      "options": [
1911        {
1912          "exclude-annotation": "androidx.test.filters.FlakyTest"
1913        }
1914      ]
1915    }
1916  ]
1917}
1918