1{
2  "presubmit-large": [
3    {
4      "name": "FrameworksServicesTests",
5      "options": [
6        {
7          "include-annotation": "android.platform.test.annotations.Presubmit"
8        },
9        {
10          "exclude-annotation": "androidx.test.filters.FlakyTest"
11        },
12        {
13          "exclude-annotation": "org.junit.Ignore"
14        }
15      ]
16    }
17  ],
18  "presubmit-pm": [
19    {
20      "name": "PackageManagerServiceServerTests",
21      "options": [
22        {
23          "include-annotation": "android.platform.test.annotations.Presubmit"
24        },
25        {
26          "exclude-annotation": "androidx.test.filters.FlakyTest"
27        },
28        {
29          "exclude-annotation": "org.junit.Ignore"
30        }
31      ]
32    }
33  ],
34  "presubmit": [
35    {
36      "name": "ManagedProvisioningTests",
37      "options": [
38        {
39          "exclude-annotation": "androidx.test.filters.FlakyTest"
40        }
41      ]
42    },
43    {
44      "file_patterns": [
45        "ApexManager\\.java",
46        "SystemServer\\.java",
47        "services/tests/apexsystemservices/.*"
48      ],
49      "name": "ApexSystemServicesTestCases",
50      "options": [
51        {
52          "exclude-annotation": "androidx.test.filters.FlakyTest"
53        },
54        {
55          "exclude-annotation": "org.junit.Ignore"
56        }
57      ]
58    },
59    {
60      "name": "FrameworksUiServicesTests",
61      "options": [
62        {
63          "exclude-annotation": "androidx.test.filters.FlakyTest"
64        }
65      ]
66    },
67    {
68      "name": "FrameworksInputMethodSystemServerTests",
69      "options": [
70        {"include-filter": "com.android.server.inputmethod"},
71        {"exclude-annotation": "android.platform.test.annotations.FlakyTest"},
72        {"exclude-annotation": "androidx.test.filters.FlakyTest"},
73        {"exclude-annotation": "org.junit.Ignore"}
74      ]
75    },
76    {
77      "name": "ExtServicesUnitTests",
78      "options": [
79        {
80          "exclude-annotation": "androidx.test.filters.FlakyTest"
81        }
82      ]
83    },
84    {
85      "name": "FrameworksCoreTests",
86      "options": [
87        {
88          "include-annotation": "android.platform.test.annotations.Presubmit"
89        },
90        {
91          "exclude-annotation": "androidx.test.filters.FlakyTest"
92        },
93        {
94          "exclude-annotation": "org.junit.Ignore"
95        }
96      ]
97    },
98    {
99      "name": "FrameworkPermissionTests",
100      "options": [
101        {
102          "include-annotation": "android.platform.test.annotations.Presubmit"
103        },
104        {
105          "exclude-annotation": "androidx.test.filters.FlakyTest"
106        },
107        {
108          "exclude-annotation": "org.junit.Ignore"
109        }
110      ]
111    },
112    {
113      "name": "FrameworksInProcessTests",
114      "options": [
115        {
116          "exclude-annotation": "androidx.test.filters.FlakyTest"
117        },
118        {
119          "exclude-annotation": "org.junit.Ignore"
120        }
121      ]
122    }
123  ],
124  "postsubmit-managedprofile-stress": [
125    {
126      "name": "ManagedProfileLifecycleStressTest"
127    }
128  ],
129 "auto-postsubmit": [
130   // Test tag for automotive targets. These are only running in postsubmit so as to harden the
131   // automotive targets to avoid introducing additional test flake and build time. The plan for
132   // presubmit testing for auto is to augment the existing tests to cover auto use cases as well.
133   // Additionally, this tag is used in targeted test suites to limit resource usage on the test
134   // infra during the hardening phase.
135   // TODO: this tag to be removed once the above is no longer an issue.
136   {
137     "name": "FrameworksUiServicesTests",
138     "options": [
139       {
140         "exclude-annotation": "androidx.test.filters.FlakyTest"
141       }
142     ]
143   },
144   {
145     "name": "ExtServicesUnitTests",
146     "options": [
147       {
148         "exclude-annotation": "androidx.test.filters.FlakyTest"
149       }
150     ]
151   },
152   {
153     "name": "TestablesTests",
154     "options": [
155       {
156         "exclude-annotation": "androidx.test.filters.FlakyTest"
157       }
158     ]
159   },
160   {
161     "name": "FrameworksCoreTests",
162     "options": [
163       {
164         "include-annotation": "android.platform.test.annotations.Presubmit"
165       },
166       {
167         "exclude-annotation": "androidx.test.filters.FlakyTest"
168       },
169       {
170         "exclude-annotation": "org.junit.Ignore"
171       }
172     ]
173   },
174   {
175     "name": "FrameworksServicesTests",
176     "options": [
177       {
178         "include-annotation": "android.platform.test.annotations.Presubmit"
179       },
180       {
181         "exclude-annotation": "androidx.test.filters.FlakyTest"
182       },
183       {
184         "exclude-annotation": "org.junit.Ignore"
185       }
186     ]
187   },
188   {
189     "name": "PackageManagerServiceServerTests",
190     "options": [
191       {
192         "include-annotation": "android.platform.test.annotations.Presubmit"
193       },
194       {
195         "exclude-annotation": "androidx.test.filters.FlakyTest"
196       },
197       {
198         "exclude-annotation": "org.junit.Ignore"
199       }
200     ]
201   }
202 ],
203 "auto-features-postsubmit": [
204   // Test tag for automotive feature targets. These are only running in postsubmit.
205   // This tag is used in targeted test features testing to limit resource use.
206   // TODO(b/256932212): this tag to be removed once the above is no longer in use.
207   {
208     "name": "FrameworksMockingServicesTests",
209     "options": [
210       {
211         "include-filter": "com.android.server.pm.UserVisibilityMediatorSUSDTest"
212       },
213       {
214         "include-filter": "com.android.server.pm.UserVisibilityMediatorMUMDTest"
215       },
216       {
217         "include-filter": "com.android.server.pm.UserVisibilityMediatorMUPANDTest"
218       },
219       {
220         "exclude-annotation": "androidx.test.filters.FlakyTest"
221       },
222       {
223         "exclude-annotation": "org.junit.Ignore"
224       }
225     ]
226   }
227 ]
228}
229