1// Copyright (C) 2015 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19java_defaults {
20    name: "CtsAppEnumerationQueriesDefaults",
21    srcs: ["src/**/*.java"],
22    static_libs: ["CtsAppEnumerationTestLib"],
23    sdk_version: "test_current",
24}
25
26android_test_helper_app {
27    name: "CtsAppEnumerationQueriesNothing",
28    manifest: "AndroidManifest-queriesNothing.xml",
29    defaults: ["CtsAppEnumerationQueriesDefaults"],
30    // Tag this module as a cts test artifact
31    test_suites: [
32        "cts",
33        "general-tests",
34    ],
35}
36
37android_test_helper_app {
38    name: "CtsAppEnumerationQueriesNothingReceivesUri",
39    manifest: "AndroidManifest-queriesNothing-receivesUri.xml",
40    defaults: ["CtsAppEnumerationQueriesDefaults"],
41    // Tag this module as a cts test artifact
42    test_suites: [
43        "cts",
44        "general-tests",
45    ],
46}
47
48android_test_helper_app {
49    name: "CtsAppEnumerationQueriesNothingReceivesPermissionProtectedUri",
50    manifest: "AndroidManifest-queriesNothing-receivesPermissionProtectedUri.xml",
51    defaults: ["CtsAppEnumerationQueriesDefaults"],
52    // Tag this module as a cts test artifact
53    test_suites: [
54        "cts",
55        "general-tests",
56    ],
57}
58
59android_test_helper_app {
60    name: "CtsAppEnumerationQueriesNothingSeesInstaller",
61    manifest: "AndroidManifest-queriesNothing-seesInstaller.xml",
62    defaults: ["CtsAppEnumerationQueriesDefaults"],
63    // Tag this module as a cts test artifact
64    test_suites: [
65        "cts",
66        "general-tests",
67    ],
68}
69
70android_test_helper_app {
71    name: "CtsAppEnumerationQueriesActivityViaAction",
72    manifest: "AndroidManifest-queriesActivityAction.xml",
73    defaults: ["CtsAppEnumerationQueriesDefaults"],
74    // Tag this module as a cts test artifact
75    test_suites: [
76        "cts",
77        "general-tests",
78    ],
79}
80
81android_test_helper_app {
82    name: "CtsAppEnumerationQueriesServiceViaAction",
83    manifest: "AndroidManifest-queriesServiceAction.xml",
84    defaults: ["CtsAppEnumerationQueriesDefaults"],
85    // Tag this module as a cts test artifact
86    test_suites: [
87        "cts",
88        "general-tests",
89    ],
90}
91
92android_test_helper_app {
93    name: "CtsAppEnumerationQueriesProviderViaAuthority",
94    manifest: "AndroidManifest-queriesProviderAuthority.xml",
95    defaults: ["CtsAppEnumerationQueriesDefaults"],
96    // Tag this module as a cts test artifact
97    test_suites: [
98        "cts",
99        "general-tests",
100    ],
101}
102
103android_test_helper_app {
104    name: "CtsAppEnumerationQueriesProviderViaAction",
105    manifest: "AndroidManifest-queriesProviderAction.xml",
106    defaults: ["CtsAppEnumerationQueriesDefaults"],
107    // Tag this module as a cts test artifact
108    test_suites: [
109        "cts",
110        "general-tests",
111    ],
112}
113
114android_test_helper_app {
115    name: "CtsAppEnumerationQueriesUnexportedActivityViaAction",
116    manifest: "AndroidManifest-queriesUnexportedActivityAction.xml",
117    defaults: ["CtsAppEnumerationQueriesDefaults"],
118    // Tag this module as a cts test artifact
119    test_suites: [
120        "cts",
121        "general-tests",
122    ],
123}
124
125android_test_helper_app {
126    name: "CtsAppEnumerationQueriesUnexportedServiceViaAction",
127    manifest: "AndroidManifest-queriesUnexportedServiceAction.xml",
128    defaults: ["CtsAppEnumerationQueriesDefaults"],
129    // Tag this module as a cts test artifact
130    test_suites: [
131        "cts",
132        "general-tests",
133    ],
134}
135
136android_test_helper_app {
137    name: "CtsAppEnumerationQueriesUnexportedProviderViaAuthority",
138    manifest: "AndroidManifest-queriesUnexportedProviderAuthority.xml",
139    defaults: ["CtsAppEnumerationQueriesDefaults"],
140    // Tag this module as a cts test artifact
141    test_suites: [
142        "cts",
143        "general-tests",
144    ],
145}
146
147android_test_helper_app {
148    name: "CtsAppEnumerationQueriesUnexportedProviderViaAction",
149    manifest: "AndroidManifest-queriesUnexportedProviderAction.xml",
150    defaults: ["CtsAppEnumerationQueriesDefaults"],
151    // Tag this module as a cts test artifact
152    test_suites: [
153        "cts",
154        "general-tests",
155    ],
156}
157
158android_test_helper_app {
159    name: "CtsAppEnumerationQueriesPackage",
160    manifest: "AndroidManifest-queriesPackage.xml",
161    defaults: ["CtsAppEnumerationQueriesDefaults"],
162    // Tag this module as a cts test artifact
163    test_suites: [
164        "cts",
165        "general-tests",
166    ],
167}
168
169android_test_helper_app {
170    name: "CtsAppEnumerationQueriesNothingTargetsQ",
171    manifest: "AndroidManifest-queriesNothing-targetsQ.xml",
172    defaults: ["CtsAppEnumerationQueriesDefaults"],
173    // Tag this module as a cts test artifact
174    test_suites: [
175        "cts",
176        "general-tests",
177    ],
178}
179
180android_test_helper_app {
181    name: "CtsAppEnumerationQueriesNothingHasPermission",
182    manifest: "AndroidManifest-queriesNothing-hasPermission.xml",
183    defaults: ["CtsAppEnumerationQueriesDefaults"],
184    // Tag this module as a cts test artifact
185    test_suites: [
186        "cts",
187        "general-tests",
188    ],
189}
190
191android_test_helper_app {
192    name: "CtsAppEnumerationQueriesNothingUsesLibrary",
193    manifest: "AndroidManifest-queriesNothing-usesLibrary.xml",
194    defaults: ["CtsAppEnumerationQueriesDefaults"],
195    // Tag this module as a cts test artifact
196    test_suites: [
197        "cts",
198        "general-tests",
199    ],
200}
201
202android_test_helper_app {
203    name: "CtsAppEnumerationQueriesNothingUsesOptionalLibrary",
204    manifest: "AndroidManifest-queriesNothing-usesOptionalLibrary.xml",
205    defaults: ["CtsAppEnumerationQueriesDefaults"],
206    // Tag this module as a cts test artifact
207    test_suites: [
208        "cts",
209        "general-tests",
210    ],
211}
212
213android_test_helper_app {
214    name: "CtsAppEnumerationQueriesNothingHasProvider",
215    manifest: "AndroidManifest-queriesNothing-hasProvider.xml",
216    defaults: ["CtsAppEnumerationQueriesDefaults"],
217    // Tag this module as a cts test artifact
218    test_suites: [
219        "cts",
220        "general-tests",
221    ],
222}
223
224android_test_helper_app {
225    name: "CtsAppEnumerationSharedUidSource",
226    manifest: "AndroidManifest-queriesNothing-sharedUser.xml",
227    defaults: ["CtsAppEnumerationQueriesDefaults"],
228    // Tag this module as a cts test artifact
229    test_suites: [
230        "cts",
231        "general-tests",
232    ],
233}
234
235android_test_helper_app {
236    name: "CtsAppEnumerationWildcardActionSource",
237    manifest: "AndroidManifest-queriesWildcardAction.xml",
238    defaults: ["CtsAppEnumerationQueriesDefaults"],
239    // Tag this module as a cts test artifact
240    test_suites: [
241        "cts",
242        "general-tests",
243    ],
244}
245android_test_helper_app {
246    name: "CtsAppEnumerationWildcardBrowsableActivitySource",
247    manifest: "AndroidManifest-queriesWildcard-browsableActivity.xml",
248    defaults: ["CtsAppEnumerationQueriesDefaults"],
249    // Tag this module as a cts test artifact
250    test_suites: [
251        "cts",
252        "general-tests",
253    ],
254}
255
256android_test_helper_app {
257    name: "CtsAppEnumerationWildcardContactsActivitySource",
258    manifest: "AndroidManifest-queriesWildcard-contactsActivity.xml",
259    defaults: ["CtsAppEnumerationQueriesDefaults"],
260    // Tag this module as a cts test artifact
261    test_suites: [
262        "cts",
263        "general-tests",
264    ],
265}
266
267android_test_helper_app {
268    name: "CtsAppEnumerationWildcardDocumentEditorActivitySource",
269    manifest: "AndroidManifest-queriesWildcard-documentEditorActivity.xml",
270    defaults: ["CtsAppEnumerationQueriesDefaults"],
271    // Tag this module as a cts test artifact
272    test_suites: [
273        "cts",
274        "general-tests",
275    ],
276}
277
278android_test_helper_app {
279    name: "CtsAppEnumerationWildcardShareActivitySource",
280    manifest: "AndroidManifest-queriesWildcard-shareActivity.xml",
281    defaults: ["CtsAppEnumerationQueriesDefaults"],
282    // Tag this module as a cts test artifact
283    test_suites: [
284        "cts",
285        "general-tests",
286    ],
287}
288
289android_test_helper_app {
290    name: "CtsAppEnumerationWildcardWebActivitySource",
291    manifest: "AndroidManifest-queriesWildcard-webActivity.xml",
292    defaults: ["CtsAppEnumerationQueriesDefaults"],
293    // Tag this module as a cts test artifact
294    test_suites: [
295        "cts",
296        "general-tests",
297    ],
298}
299
300android_test_helper_app {
301    name: "CtsAppEnumerationWildcardBrowserActivitySource",
302    manifest: "AndroidManifest-queriesWildcard-browserActivity.xml",
303    defaults: ["CtsAppEnumerationQueriesDefaults"],
304    // Tag this module as a cts test artifact
305    test_suites: [
306        "cts",
307        "general-tests",
308    ],
309}
310