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