blob: 6ecd38f054aa9fe4f173c1179acd5ea7534ede1f [file] [log] [blame]
Joe Onoratocd779472023-08-19 19:49:52 -07001// Copyright (C) 2023 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
Jihoon Kang25d562e2024-02-13 23:30:42 +000015aconfig_declarations_group {
Jihoon Kang46c6fdd2024-01-16 02:25:51 +000016 name: "framework-minus-apex-aconfig-declarations",
Jihoon Kang25d562e2024-02-13 23:30:42 +000017 aconfig_declarations_groups: [
18 "audio-framework-aconfig",
19 ],
20 java_aconfig_libraries: [
21 // !!! KEEP THIS LIST ALPHABETICAL !!!
22 "aconfig_mediacodec_flags_java_lib",
23 "android.adaptiveauth.flags-aconfig-java",
Shashwat Razdan6ef76562024-03-07 13:26:12 -080024 "android.app.contextualsearch.flags-aconfig-java",
Jihoon Kang25d562e2024-02-13 23:30:42 +000025 "android.app.flags-aconfig-java",
sandeepbandaru2369b692024-02-15 18:08:35 +000026 "android.app.ondeviceintelligence-aconfig-java",
Jihoon Kang25d562e2024-02-13 23:30:42 +000027 "android.app.smartspace.flags-aconfig-java",
28 "android.app.usage.flags-aconfig-java",
29 "android.app.wearable.flags-aconfig-java",
30 "android.appwidget.flags-aconfig-java",
31 "android.chre.flags-aconfig-java",
32 "android.companion.flags-aconfig-java",
33 "android.companion.virtual.flags-aconfig-java",
34 "android.companion.virtualdevice.flags-aconfig-java",
35 "android.content.flags-aconfig-java",
36 "android.content.pm.flags-aconfig-java",
37 "android.content.res.flags-aconfig-java",
38 "android.crashrecovery.flags-aconfig-java",
39 "android.credentials.flags-aconfig-java",
40 "android.database.sqlite-aconfig-java",
41 "android.hardware.biometrics.flags-aconfig-java",
Kenneth Ford93081e22024-02-15 17:42:20 +000042 "android.hardware.devicestate.feature.flags-aconfig-java",
Jihoon Kang25d562e2024-02-13 23:30:42 +000043 "android.hardware.flags-aconfig-java",
44 "android.hardware.radio.flags-aconfig-java",
45 "android.hardware.usb.flags-aconfig-java",
46 "android.location.flags-aconfig-java",
47 "android.media.codec-aconfig-java",
48 "android.media.tv.flags-aconfig-java",
49 "android.multiuser.flags-aconfig-java",
50 "android.net.platform.flags-aconfig-java",
51 "android.net.vcn.flags-aconfig-java",
52 "android.net.wifi.flags-aconfig-java",
53 "android.nfc.flags-aconfig-java",
54 "android.os.flags-aconfig-java",
55 "android.os.vibrator.flags-aconfig-java",
56 "android.permission.flags-aconfig-java",
57 "android.provider.flags-aconfig-java",
58 "android.security.flags-aconfig-java",
59 "android.server.app.flags-aconfig-java",
60 "android.service.autofill.flags-aconfig-java",
61 "android.service.chooser.flags-aconfig-java",
62 "android.service.controls.flags-aconfig-java",
63 "android.service.dreams.flags-aconfig-java",
64 "android.service.notification.flags-aconfig-java",
65 "android.service.appprediction.flags-aconfig-java",
66 "android.service.voice.flags-aconfig-java",
67 "android.speech.flags-aconfig-java",
68 "android.systemserver.flags-aconfig-java",
69 "android.tracing.flags-aconfig-java",
70 "android.view.accessibility.flags-aconfig-java",
71 "android.view.contentcapture.flags-aconfig-java",
72 "android.view.contentprotection.flags-aconfig-java",
73 "android.view.flags-aconfig-java",
74 "android.view.inputmethod.flags-aconfig-java",
75 "android.webkit.flags-aconfig-java",
76 "android.widget.flags-aconfig-java",
77 "backup_flags_lib",
78 "camera_platform_flags_core_java_lib",
79 "com.android.hardware.input-aconfig-java",
80 "com.android.input.flags-aconfig-java",
Chip Fukuharacf909692024-02-15 23:49:51 +000081 "com.android.internal.compat.flags-aconfig-java",
Jihoon Kang25d562e2024-02-13 23:30:42 +000082 "com.android.internal.foldables.flags-aconfig-java",
83 "com.android.internal.pm.pkg.component.flags-aconfig-java",
84 "com.android.media.flags.bettertogether-aconfig-java",
85 "com.android.media.flags.editing-aconfig-java",
86 "com.android.media.flags.projection-aconfig-java",
Kangping Dongd7b70b82024-02-19 22:09:13 +080087 "com.android.net.thread.platform.flags-aconfig-java",
Jihoon Kang25d562e2024-02-13 23:30:42 +000088 "com.android.server.flags.services-aconfig-java",
89 "com.android.text.flags-aconfig-java",
90 "com.android.window.flags.window-aconfig-java",
91 "device_policy_aconfig_flags_lib",
92 "display_flags_lib",
93 "framework-jobscheduler-job.flags-aconfig-java",
94 "framework_graphics_flags_java_lib",
95 "hwui_flags_java_lib",
96 "power_flags_lib",
97 "sdk_sandbox_flags_lib",
98 "surfaceflinger_flags_java_lib",
99 "telecom_flags_core_java_lib",
100 "telephony_flags_core_java_lib",
101 // !!! KEEP THIS LIST ALPHABETICAL !!!
Jihoon Kang46c6fdd2024-01-16 02:25:51 +0000102 ],
103}
104
Liz Kammer01544b92023-09-20 15:15:43 +0000105filegroup {
106 name: "framework-minus-apex-aconfig-srcjars",
Jihoon Kang25d562e2024-02-13 23:30:42 +0000107 srcs: [
108 ":framework-minus-apex-aconfig-declarations{.srcjars}",
109 ],
Liz Kammer01544b92023-09-20 15:15:43 +0000110}
111
Joe Onoratocd779472023-08-19 19:49:52 -0700112// Aconfig declarations and libraries for the core framework
113java_defaults {
114 name: "framework-minus-apex-aconfig-libraries",
Joe Onoratocd779472023-08-19 19:49:52 -0700115 // Add java_aconfig_libraries to here to add them to the core framework
Zhi Dou3b92dcb2023-08-30 22:12:17 +0000116 // Add aconfig-annotations-lib as a dependency for the optimization
Jihoon Kang25d562e2024-02-13 23:30:42 +0000117 srcs: [
118 ":framework-minus-apex-aconfig-declarations{.srcjars}",
119 ],
Zhi Dou3b92dcb2023-08-30 22:12:17 +0000120 libs: ["aconfig-annotations-lib"],
Joe Onoratocd779472023-08-19 19:49:52 -0700121}
122
123// Default flags for java_aconfig_libraries that go into framework-minus-apex
124// These libraries will not work standalone
125java_defaults {
126 name: "framework-minus-apex-aconfig-java-defaults",
127 sdk_version: "core_platform",
128 libs: ["fake_device_config"],
129}
130
Chris Li547ae2c2023-07-28 14:01:06 +0800131// Camera
Joe Onoratocd779472023-08-19 19:49:52 -0700132java_aconfig_library {
Eino-Ville Talvala10208502023-08-18 10:15:25 -0700133 name: "camera_platform_flags_core_java_lib",
134 aconfig_declarations: "camera_platform_flags",
Joe Onoratocd779472023-08-19 19:49:52 -0700135 defaults: ["framework-minus-apex-aconfig-java-defaults"],
136}
Chris Li547ae2c2023-07-28 14:01:06 +0800137
Grant Menke417190a2023-08-30 14:39:29 -0700138// Telecom
139java_aconfig_library {
140 name: "telecom_flags_core_java_lib",
141 aconfig_declarations: "telecom_flags",
142 defaults: ["framework-minus-apex-aconfig-java-defaults"],
143}
144
Ling Ma56689852023-09-11 17:59:59 -0700145// Telephony
146java_aconfig_library {
147 name: "telephony_flags_core_java_lib",
148 aconfig_declarations: "telephony_flags",
149 defaults: ["framework-minus-apex-aconfig-java-defaults"],
150}
151
joonhunshin1ff11b02023-10-31 11:18:25 +0000152cc_aconfig_library {
153 name: "telephony_flags_c_lib",
154 aconfig_declarations: "telephony_flags",
155}
156
Chris Li547ae2c2023-07-28 14:01:06 +0800157// Window
158aconfig_declarations {
159 name: "com.android.window.flags.window-aconfig",
160 package: "com.android.window.flags",
161 srcs: ["core/java/android/window/flags/*.aconfig"],
162}
163
164java_aconfig_library {
165 name: "com.android.window.flags.window-aconfig-java",
166 aconfig_declarations: "com.android.window.flags.window-aconfig",
167 defaults: ["framework-minus-apex-aconfig-java-defaults"],
168}
Seigo Nonaka1e157782023-08-22 09:57:46 +0900169
Kenneth Ford93081e22024-02-15 17:42:20 +0000170// DeviceStateManager
171aconfig_declarations {
172 name: "android.hardware.devicestate.feature.flags-aconfig",
173 package: "android.hardware.devicestate.feature.flags",
174 srcs: ["core/java/android/hardware/devicestate/feature/*.aconfig"],
175}
176
177java_aconfig_library {
178 name: "android.hardware.devicestate.feature.flags-aconfig-java",
179 aconfig_declarations: "android.hardware.devicestate.feature.flags-aconfig",
180 defaults: ["framework-minus-apex-aconfig-java-defaults"],
181}
182
Josep del Rioc469f352023-08-24 18:03:06 +0000183// Input
184aconfig_declarations {
185 name: "com.android.hardware.input.input-aconfig",
186 package: "com.android.hardware.input",
187 srcs: ["core/java/android/hardware/input/*.aconfig"],
188}
189
190java_aconfig_library {
191 name: "com.android.hardware.input-aconfig-java",
192 aconfig_declarations: "com.android.hardware.input.input-aconfig",
193 defaults: ["framework-minus-apex-aconfig-java-defaults"],
194}
195
Prabir Pradhan26fc1fa2023-11-03 19:35:51 +0000196java_aconfig_library {
Prabir Pradhan2010e5c2023-11-06 16:50:27 +0000197 name: "com.android.input.flags-aconfig-java",
198 aconfig_declarations: "com.android.input.flags-aconfig",
Prabir Pradhan26fc1fa2023-11-03 19:35:51 +0000199 defaults: ["framework-minus-apex-aconfig-java-defaults"],
200}
201
Seigo Nonaka1e157782023-08-22 09:57:46 +0900202// Text
203aconfig_declarations {
204 name: "com.android.text.flags-aconfig",
205 package: "com.android.text.flags",
206 srcs: ["core/java/android/text/flags/*.aconfig"],
207}
208
209java_aconfig_library {
210 name: "com.android.text.flags-aconfig-java",
211 aconfig_declarations: "com.android.text.flags-aconfig",
212 defaults: ["framework-minus-apex-aconfig-java-defaults"],
213}
Victor Hsieh2ce97f22023-08-21 17:20:25 -0700214
Seigo Nonaka02eee6e2023-08-31 16:38:05 +0900215cc_aconfig_library {
216 name: "aconfig_text_flags_c_lib",
217 aconfig_declarations: "com.android.text.flags-aconfig",
218}
219
Yu-Han Yang30eecd42023-10-12 16:06:40 +0000220// Location
221aconfig_declarations {
222 name: "android.location.flags-aconfig",
223 package: "android.location.flags",
224 srcs: [
225 "location/java/android/location/flags/*.aconfig",
226 ],
227}
228
Yu-Han Yanga8376472023-12-27 18:57:33 +0000229cc_aconfig_library {
230 name: "android_location_flags_c_lib",
231 vendor_available: true,
232 aconfig_declarations: "android.location.flags-aconfig",
233}
234
Yu-Han Yang30eecd42023-10-12 16:06:40 +0000235java_aconfig_library {
236 name: "android.location.flags-aconfig-java",
237 aconfig_declarations: "android.location.flags-aconfig",
238 defaults: ["framework-minus-apex-aconfig-java-defaults"],
239}
240
Roshan Pius51c5d5e2023-06-22 11:15:32 -0700241// NFC
242aconfig_declarations {
243 name: "android.nfc.flags-aconfig",
244 package: "android.nfc",
Roshan Piusb5ff8cf2023-11-13 14:29:09 -0800245 srcs: ["nfc/java/android/nfc/*.aconfig"],
Roshan Pius51c5d5e2023-06-22 11:15:32 -0700246}
247
Brad Lasseyf54d6172023-09-01 11:30:09 -0400248cc_aconfig_library {
249 name: "android_nfc_flags_aconfig_c_lib",
250 vendor_available: true,
251 aconfig_declarations: "android.nfc.flags-aconfig",
252 apex_available: [
253 "//apex_available:platform",
254 "com.android.nfcservices",
255 "nfc_nci.st21nfc.default",
256 ],
257 defaults: ["framework-minus-apex-aconfig-java-defaults"],
258}
259
Roshan Pius51c5d5e2023-06-22 11:15:32 -0700260java_aconfig_library {
261 name: "android.nfc.flags-aconfig-java",
262 aconfig_declarations: "android.nfc.flags-aconfig",
Roshan Piusb5ff8cf2023-11-13 14:29:09 -0800263 min_sdk_version: "34",
Roshan Piusd1ad8ca2023-10-20 14:02:38 +0000264 apex_available: [
265 "//apex_available:platform",
266 "com.android.nfcservices",
267 ],
Roshan Pius51c5d5e2023-06-22 11:15:32 -0700268 defaults: ["framework-minus-apex-aconfig-java-defaults"],
269}
270
Victor Hsieh2ce97f22023-08-21 17:20:25 -0700271// Security
272aconfig_declarations {
273 name: "android.security.flags-aconfig",
274 package: "android.security",
275 srcs: ["core/java/android/security/*.aconfig"],
276}
277
278java_aconfig_library {
279 name: "android.security.flags-aconfig-java",
280 aconfig_declarations: "android.security.flags-aconfig",
281 defaults: ["framework-minus-apex-aconfig-java-defaults"],
282}
Gil Cukierman5fc9dc62023-08-29 15:57:05 +0000283
Victor Hsieh9a5311b2023-08-29 14:04:02 -0700284java_aconfig_library {
285 name: "android.security.flags-aconfig-java-host",
286 aconfig_declarations: "android.security.flags-aconfig",
287 host_supported: true,
Victor Hsieh9a5311b2023-08-29 14:04:02 -0700288 defaults: ["framework-minus-apex-aconfig-java-defaults"],
289}
290
Xin Guan922de822023-08-30 13:34:58 -0500291// UsageStats
292aconfig_declarations {
293 name: "android.app.usage.flags-aconfig",
294 package: "android.app.usage",
295 srcs: ["core/java/android/app/usage/*.aconfig"],
296}
297
298java_aconfig_library {
299 name: "android.app.usage.flags-aconfig-java",
300 aconfig_declarations: "android.app.usage.flags-aconfig",
301 defaults: ["framework-minus-apex-aconfig-java-defaults"],
302}
303
Haiping Yangba65baf2023-12-21 22:24:12 +0000304java_aconfig_library {
305 name: "android.app.usage.flags-aconfig-java-host",
306 aconfig_declarations: "android.app.usage.flags-aconfig",
307 host_supported: true,
308 defaults: ["framework-minus-apex-aconfig-java-defaults"],
309}
310
Gil Cukierman5fc9dc62023-08-29 15:57:05 +0000311// OS
312aconfig_declarations {
313 name: "android.os.flags-aconfig",
314 package: "android.os",
Zhi Doud447c132024-03-04 16:01:48 +0000315 exportable: true,
316 container: "system",
Gil Cukierman5fc9dc62023-08-29 15:57:05 +0000317 srcs: ["core/java/android/os/*.aconfig"],
318}
319
320java_aconfig_library {
321 name: "android.os.flags-aconfig-java",
322 aconfig_declarations: "android.os.flags-aconfig",
323 defaults: ["framework-minus-apex-aconfig-java-defaults"],
324}
Marvin Ramin94357fd2023-08-23 11:07:27 +0200325
Xiang Wanga40ed722023-11-14 16:23:20 -0800326java_aconfig_library {
327 name: "android.os.flags-aconfig-java-host",
328 aconfig_declarations: "android.os.flags-aconfig",
329 host_supported: true,
330 defaults: ["framework-minus-apex-aconfig-java-defaults"],
331}
332
Zhi Doud447c132024-03-04 16:01:48 +0000333java_aconfig_library {
334 name: "android.os.flags-aconfig-java-export",
335 aconfig_declarations: "android.os.flags-aconfig",
336 defaults: ["framework-minus-apex-aconfig-java-defaults"],
337 mode: "exported",
338}
339
Matt Buckley709a2dc2024-02-28 17:09:04 +0000340cc_aconfig_library {
341 name: "android.os.flags-aconfig-cc",
342 aconfig_declarations: "android.os.flags-aconfig",
343}
344
345cc_aconfig_library {
346 name: "android.os.flags-aconfig-cc-test",
347 aconfig_declarations: "android.os.flags-aconfig",
348 mode: "test",
349}
350
Biswarup Pal8a625b62023-11-15 14:53:32 +0000351cc_aconfig_library {
352 name: "android.os.flags-aconfig-cc-host",
353 aconfig_declarations: "android.os.flags-aconfig",
354 host_supported: true,
355}
356
Marvin Ramin94357fd2023-08-23 11:07:27 +0200357// VirtualDeviceManager
Jan Sebechlebsky3aec7f12023-11-17 16:05:41 +0100358cc_aconfig_library {
359 name: "android.companion.virtualdevice.flags-aconfig-cc",
360 aconfig_declarations: "android.companion.virtualdevice.flags-aconfig",
361}
362
363java_aconfig_library {
364 name: "android.companion.virtualdevice.flags-aconfig-java",
365 aconfig_declarations: "android.companion.virtualdevice.flags-aconfig",
366 defaults: ["framework-minus-apex-aconfig-java-defaults"],
367}
368
369aconfig_declarations {
370 name: "android.companion.virtualdevice.flags-aconfig",
371 package: "android.companion.virtualdevice.flags",
372 srcs: ["core/java/android/companion/virtual/flags/*.aconfig"],
373}
374
Marvin Ramin94357fd2023-08-23 11:07:27 +0200375java_aconfig_library {
376 name: "android.companion.virtual.flags-aconfig-java",
377 aconfig_declarations: "android.companion.virtual.flags-aconfig",
378 defaults: ["framework-minus-apex-aconfig-java-defaults"],
379}
380
381aconfig_declarations {
382 name: "android.companion.virtual.flags-aconfig",
383 package: "android.companion.virtual.flags",
384 srcs: ["core/java/android/companion/virtual/*.aconfig"],
385}
Felix Sternd3dc6e02023-08-30 15:46:52 +0000386
387// InputMethod
388aconfig_declarations {
389 name: "android.view.inputmethod.flags-aconfig",
390 package: "android.view.inputmethod",
391 srcs: ["core/java/android/view/inputmethod/flags.aconfig"],
392}
393
394java_aconfig_library {
395 name: "android.view.inputmethod.flags-aconfig-java",
396 aconfig_declarations: "android.view.inputmethod.flags-aconfig",
397 defaults: ["framework-minus-apex-aconfig-java-defaults"],
398}
Yeabkal Wubshitf90fe8d2023-06-29 01:55:43 -0700399
400// Vibrator
401aconfig_declarations {
402 name: "android.os.vibrator.flags-aconfig",
403 package: "android.os.vibrator",
404 srcs: ["core/java/android/os/vibrator/*.aconfig"],
405}
406
407java_aconfig_library {
408 name: "android.os.vibrator.flags-aconfig-java",
409 aconfig_declarations: "android.os.vibrator.flags-aconfig",
410 defaults: ["framework-minus-apex-aconfig-java-defaults"],
411}
Shaneaadd41c2023-08-30 20:36:00 +0000412
413// View
414aconfig_declarations {
415 name: "android.view.flags-aconfig",
416 package: "android.view.flags",
417 srcs: ["core/java/android/view/flags/*.aconfig"],
418}
419
420java_aconfig_library {
421 name: "android.view.flags-aconfig-java",
422 aconfig_declarations: "android.view.flags-aconfig",
423 defaults: ["framework-minus-apex-aconfig-java-defaults"],
424}
Yeabkal Wubshitcbb08ee2023-09-05 21:01:56 -0700425
Alexandra-Mara Smaue1e7f612023-09-11 19:50:17 +0000426cc_aconfig_library {
427 name: "aconfig_view_flags_c_lib",
428 aconfig_declarations: "android.view.flags-aconfig",
429}
430
Tyler Freeman14f2d202023-09-15 02:06:45 +0000431// View.accessibility
432aconfig_declarations {
433 name: "android.view.accessibility.flags-aconfig",
434 package: "android.view.accessibility",
435 srcs: ["core/java/android/view/accessibility/flags/*.aconfig"],
436}
437
438java_aconfig_library {
439 name: "android.view.accessibility.flags-aconfig-java",
440 aconfig_declarations: "android.view.accessibility.flags-aconfig",
441 defaults: ["framework-minus-apex-aconfig-java-defaults"],
442}
443
444cc_aconfig_library {
445 name: "aconfig_view_accessibility_flags_c_lib",
446 aconfig_declarations: "android.view.accessibility.flags-aconfig",
447}
448
Sally Qic65d4842023-08-18 12:03:22 -0700449// Hardware
450aconfig_declarations {
451 name: "android.hardware.flags-aconfig",
452 package: "android.hardware.flags",
453 srcs: ["core/java/android/hardware/flags/*.aconfig"],
454}
455
456java_aconfig_library {
457 name: "android.hardware.flags-aconfig-java",
458 aconfig_declarations: "android.hardware.flags-aconfig",
459 defaults: ["framework-minus-apex-aconfig-java-defaults"],
460}
461
Yeabkal Wubshitcbb08ee2023-09-05 21:01:56 -0700462// Widget
463aconfig_declarations {
464 name: "android.widget.flags-aconfig",
465 package: "android.widget.flags",
466 srcs: ["core/java/android/widget/flags/*.aconfig"],
467}
468
469java_aconfig_library {
470 name: "android.widget.flags-aconfig-java",
471 aconfig_declarations: "android.widget.flags-aconfig",
472 defaults: ["framework-minus-apex-aconfig-java-defaults"],
473}
474
Eric Biggersaa6688e2023-10-20 17:07:37 +0000475rust_aconfig_library {
476 name: "libandroid_security_flags_rust",
477 crate_name: "android_security_flags",
478 aconfig_declarations: "android.security.flags-aconfig",
479}
480
Jakob Schneiderd60b6fb2023-09-06 18:37:52 +0100481// Package Manager
482aconfig_declarations {
483 name: "android.content.pm.flags-aconfig",
484 package: "android.content.pm",
Nikhil Kumar1b2e78e2023-09-19 17:53:37 +0100485 srcs: ["core/java/android/content/pm/flags.aconfig"],
Jakob Schneiderd60b6fb2023-09-06 18:37:52 +0100486}
487
488java_aconfig_library {
489 name: "android.content.pm.flags-aconfig-java",
490 aconfig_declarations: "android.content.pm.flags-aconfig",
491 defaults: ["framework-minus-apex-aconfig-java-defaults"],
492}
493
Jiakai Zhange4240642023-10-10 14:58:43 +0000494java_aconfig_library {
495 name: "android.content.pm.flags-aconfig-java-host",
496 aconfig_declarations: "android.content.pm.flags-aconfig",
497 host_supported: true,
498 defaults: ["framework-minus-apex-aconfig-java-defaults"],
499}
500
Jeremy Meyeraad8fe12023-10-06 15:47:17 -0700501// Resources
502aconfig_declarations {
503 name: "android.content.res.flags-aconfig",
504 package: "android.content.res",
505 srcs: ["core/java/android/content/res/*.aconfig"],
506}
507
508java_aconfig_library {
509 name: "android.content.res.flags-aconfig-java",
510 aconfig_declarations: "android.content.res.flags-aconfig",
511 defaults: ["framework-minus-apex-aconfig-java-defaults"],
512}
513
Brandon Liu209523a52024-01-18 22:56:58 +0000514java_aconfig_library {
515 name: "android.content.res.flags-aconfig-java-host",
516 aconfig_declarations: "android.content.res.flags-aconfig",
517 host_supported: true,
518 defaults: ["framework-minus-apex-aconfig-java-defaults"],
519}
520
Iván Budnikae843cd2023-08-01 17:12:09 +0000521// Media BetterTogether
522aconfig_declarations {
523 name: "com.android.media.flags.bettertogether-aconfig",
524 package: "com.android.media.flags",
Raj Goparaju5db107c2023-12-09 14:20:21 -0800525 srcs: ["media/java/android/media/flags/media_better_together.aconfig"],
Iván Budnikae843cd2023-08-01 17:12:09 +0000526}
527
528java_aconfig_library {
529 name: "com.android.media.flags.bettertogether-aconfig-java",
530 aconfig_declarations: "com.android.media.flags.bettertogether-aconfig",
531 defaults: ["framework-minus-apex-aconfig-java-defaults"],
532}
mrulhania84e95c02023-09-14 08:37:15 -0700533
Santiago Seifert3e8d0382024-01-16 16:30:34 +0000534java_aconfig_library {
535 name: "com.android.media.flags.bettertogether-aconfig-java-host",
536 aconfig_declarations: "com.android.media.flags.bettertogether-aconfig",
537 host_supported: true,
538 defaults: ["framework-minus-apex-aconfig-java-defaults"],
539}
540
Andrew Lewisffd21032024-01-05 17:07:43 +0000541// Media Editing
542aconfig_declarations {
543 name: "com.android.media.flags.editing-aconfig",
544 package: "com.android.media.editing.flags",
545 srcs: [
546 "media/java/android/media/flags/editing.aconfig",
547 ],
548}
549
550java_aconfig_library {
551 name: "com.android.media.flags.editing-aconfig-java",
552 aconfig_declarations: "com.android.media.flags.editing-aconfig",
553 defaults: ["framework-minus-apex-aconfig-java-defaults"],
554}
555
Naomi Musgravef3562892024-02-14 14:42:37 +0000556// MediaProjection
557aconfig_declarations {
558 name: "com.android.media.flags.projection-aconfig",
559 package: "com.android.media.projection.flags",
560 srcs: [
561 "media/java/android/media/flags/projection.aconfig",
562 ],
563}
564
565java_aconfig_library {
566 name: "com.android.media.flags.projection-aconfig-java",
567 aconfig_declarations: "com.android.media.flags.projection-aconfig",
568 defaults: ["framework-minus-apex-aconfig-java-defaults"],
569}
570
David Zhao027648c2023-10-04 18:23:46 -0700571// Media TV
572aconfig_declarations {
573 name: "android.media.tv.flags-aconfig",
574 package: "android.media.tv.flags",
575 srcs: ["media/java/android/media/tv/flags/media_tv.aconfig"],
576}
577
578java_aconfig_library {
579 name: "android.media.tv.flags-aconfig-java",
580 aconfig_declarations: "android.media.tv.flags-aconfig",
581 defaults: ["framework-minus-apex-aconfig-java-defaults"],
582}
583
sandeepbandaru2369b692024-02-15 18:08:35 +0000584// OnDeviceIntelligence
585aconfig_declarations {
586 name: "android.app.ondeviceintelligence-aconfig",
587 package: "android.app.ondeviceintelligence.flags",
588 srcs: ["core/java/android/app/ondeviceintelligence/flags/ondevice_intelligence.aconfig"],
589}
590
591java_aconfig_library {
592 name: "android.app.ondeviceintelligence-aconfig-java",
593 aconfig_declarations: "android.app.ondeviceintelligence-aconfig",
594 defaults: ["framework-minus-apex-aconfig-java-defaults"],
595}
596
mrulhania84e95c02023-09-14 08:37:15 -0700597// Permissions
598aconfig_declarations {
599 name: "android.permission.flags-aconfig",
600 package: "android.permission.flags",
601 srcs: ["core/java/android/permission/flags.aconfig"],
602}
603
604java_aconfig_library {
605 name: "android.permission.flags-aconfig-java",
606 aconfig_declarations: "android.permission.flags-aconfig",
607 defaults: ["framework-minus-apex-aconfig-java-defaults"],
Richard MacGregorf8ed4672023-10-06 19:32:16 -0700608 min_sdk_version: "30",
609 apex_available: [
Nate Myrenb39c0b42023-06-09 14:23:05 -0700610 "//apex_available:platform",
Richard MacGregorf8ed4672023-10-06 19:32:16 -0700611 "com.android.permission",
Roshan Piusb5794a62024-01-11 12:16:40 -0800612 "com.android.nfcservices",
Richard MacGregorf8ed4672023-10-06 19:32:16 -0700613 ],
mrulhania84e95c02023-09-14 08:37:15 -0700614}
John Reck37b52d42023-09-20 16:01:11 -0400615
Lee Shombert0d7afd22023-10-13 17:06:16 +0000616// SQLite
617aconfig_declarations {
618 name: "android.database.sqlite-aconfig",
619 package: "android.database.sqlite",
620 srcs: ["core/java/android/database/sqlite/*.aconfig"],
621}
622
623java_aconfig_library {
624 name: "android.database.sqlite-aconfig-java",
625 aconfig_declarations: "android.database.sqlite-aconfig",
626 defaults: ["framework-minus-apex-aconfig-java-defaults"],
627}
628
Shaquille Johnson4272c4c2023-09-21 15:50:37 +0100629// Biometrics
630aconfig_declarations {
631 name: "android.hardware.biometrics.flags-aconfig",
632 package: "android.hardware.biometrics",
633 srcs: ["core/java/android/hardware/biometrics/flags.aconfig"],
634}
635
636java_aconfig_library {
637 name: "android.hardware.biometrics.flags-aconfig-java",
638 aconfig_declarations: "android.hardware.biometrics.flags-aconfig",
639 defaults: ["framework-minus-apex-aconfig-java-defaults"],
640}
641
John Reck37b52d42023-09-20 16:01:11 -0400642// Graphics
643java_aconfig_library {
644 name: "hwui_flags_java_lib",
645 aconfig_declarations: "hwui_flags",
646 defaults: ["framework-minus-apex-aconfig-java-defaults"],
647}
Fiona Campbellafde0a12023-09-21 16:50:41 +0000648
Carlos Martinez Romeroe0b8a312023-10-11 17:52:00 +0000649java_aconfig_library {
650 name: "framework_graphics_flags_java_lib",
651 aconfig_declarations: "framework_graphics_flags",
652 defaults: ["framework-minus-apex-aconfig-java-defaults"],
653}
654
Fiona Campbellafde0a12023-09-21 16:50:41 +0000655// Display
656java_aconfig_library {
657 name: "display_flags_lib",
658 aconfig_declarations: "display_flags",
659 defaults: ["framework-minus-apex-aconfig-java-defaults"],
660}
Nikhil Kumar1b2e78e2023-09-19 17:53:37 +0100661
dshivangie741d1c2023-09-29 14:18:09 +0000662java_aconfig_library {
663 name: "com.android.internal.foldables.flags-aconfig-java",
664 aconfig_declarations: "fold_lock_setting_flags",
665 defaults: ["framework-minus-apex-aconfig-java-defaults"],
666}
667
Chip Fukuharacf909692024-02-15 23:49:51 +0000668// Platform Compat
669java_aconfig_library {
670 name: "com.android.internal.compat.flags-aconfig-java",
671 aconfig_declarations: "compat_logging_flags",
672 defaults: ["framework-minus-apex-aconfig-java-defaults"],
673}
674
Nikhil Kumar1b2e78e2023-09-19 17:53:37 +0100675// Multi user
676aconfig_declarations {
677 name: "android.multiuser.flags-aconfig",
678 package: "android.multiuser",
679 srcs: ["core/java/android/content/pm/multiuser.aconfig"],
680}
681
682java_aconfig_library {
683 name: "android.multiuser.flags-aconfig-java",
684 aconfig_declarations: "android.multiuser.flags-aconfig",
685 defaults: ["framework-minus-apex-aconfig-java-defaults"],
686}
Yisroel Forta165156c2023-09-19 16:47:52 +0000687
Julia Reynolds6a7ebac2023-10-30 18:26:00 -0400688// android.app
Yisroel Forta165156c2023-09-19 16:47:52 +0000689aconfig_declarations {
690 name: "android.app.flags-aconfig",
691 package: "android.app",
Zoey Chenabb2ea62023-08-15 13:37:15 +0000692 srcs: ["core/java/android/app/*.aconfig"],
Yisroel Forta165156c2023-09-19 16:47:52 +0000693}
694
695java_aconfig_library {
696 name: "android.app.flags-aconfig-java",
697 aconfig_declarations: "android.app.flags-aconfig",
698 defaults: ["framework-minus-apex-aconfig-java-defaults"],
699}
Weilin Xu6f990f12023-09-13 12:36:20 -0700700
701// Broadcast Radio
702aconfig_declarations {
703 name: "android.hardware.radio.flags-aconfig",
704 package: "android.hardware.radio",
705 srcs: ["core/java/android/hardware/radio/*.aconfig"],
706}
707
708java_aconfig_library {
709 name: "android.hardware.radio.flags-aconfig-java",
710 aconfig_declarations: "android.hardware.radio.flags-aconfig",
711 defaults: ["framework-minus-apex-aconfig-java-defaults"],
712}
Becca Hughesb6416af2023-09-26 15:10:08 -0700713
714// Credential Manager
715aconfig_declarations {
716 name: "android.credentials.flags-aconfig",
717 package: "android.credentials.flags",
718 srcs: ["core/java/android/credentials/flags.aconfig"],
719}
720
721java_aconfig_library {
722 name: "android.credentials.flags-aconfig-java",
723 aconfig_declarations: "android.credentials.flags-aconfig",
724 defaults: ["framework-minus-apex-aconfig-java-defaults"],
725}
Nino Jagar1c350532023-10-02 23:37:03 +0000726
727// Content Protection
728aconfig_declarations {
729 name: "android.view.contentprotection.flags-aconfig",
730 package: "android.view.contentprotection.flags",
731 srcs: ["core/java/android/view/contentprotection/flags/*.aconfig"],
732}
733
734java_aconfig_library {
735 name: "android.view.contentprotection.flags-aconfig-java",
736 aconfig_declarations: "android.view.contentprotection.flags-aconfig",
737 defaults: ["framework-minus-apex-aconfig-java-defaults"],
738}
Ajay Gopi0ae049b2023-10-03 14:55:18 +0000739
Edgar Arriagaaf4fb1a2023-12-14 18:23:43 +0000740// Server Services Flags
Edgar Arriaga586efa02023-10-25 20:06:37 +0000741aconfig_declarations {
Edgar Arriagaaf4fb1a2023-12-14 18:23:43 +0000742 name: "com.android.server.flags.services-aconfig",
Edgar Arriaga586efa02023-10-25 20:06:37 +0000743 package: "com.android.server.flags",
Edgar Arriagaaf4fb1a2023-12-14 18:23:43 +0000744 srcs: ["services/core/java/com/android/server/flags/*.aconfig"],
Edgar Arriaga586efa02023-10-25 20:06:37 +0000745}
746
747java_aconfig_library {
Edgar Arriagaaf4fb1a2023-12-14 18:23:43 +0000748 name: "com.android.server.flags.services-aconfig-java",
749 aconfig_declarations: "com.android.server.flags.services-aconfig",
Edgar Arriaga586efa02023-10-25 20:06:37 +0000750 defaults: ["framework-minus-apex-aconfig-java-defaults"],
751}
752
Song Hubfd6be42024-01-28 13:38:03 -0800753// App prediction
754aconfig_declarations {
755 name: "android.service.appprediction.flags-aconfig",
756 package: "android.service.appprediction.flags",
757 srcs: ["core/java/android/service/appprediction/flags/*.aconfig"],
758}
759
760java_aconfig_library {
761 name: "android.service.appprediction.flags-aconfig-java",
762 aconfig_declarations: "android.service.appprediction.flags-aconfig",
763 defaults: ["framework-minus-apex-aconfig-java-defaults"],
764}
765
Lucas Silva04795502023-11-29 10:05:44 -0500766// Controls
767aconfig_declarations {
768 name: "android.service.controls.flags-aconfig",
769 package: "android.service.controls.flags",
770 srcs: ["core/java/android/service/controls/flags/*.aconfig"],
771}
772
773java_aconfig_library {
774 name: "android.service.controls.flags-aconfig-java",
775 aconfig_declarations: "android.service.controls.flags-aconfig",
776 defaults: ["framework-minus-apex-aconfig-java-defaults"],
777}
778
Ajay Gopi0ae049b2023-10-03 14:55:18 +0000779// Voice
780aconfig_declarations {
781 name: "android.service.voice.flags-aconfig",
782 package: "android.service.voice.flags",
783 srcs: ["core/java/android/service/voice/flags/*.aconfig"],
784}
785
786java_aconfig_library {
787 name: "android.service.voice.flags-aconfig-java",
788 aconfig_declarations: "android.service.voice.flags-aconfig",
789 defaults: ["framework-minus-apex-aconfig-java-defaults"],
790}
Alex Salo14114812023-10-04 22:43:28 +0000791
792// Autofill
793aconfig_declarations {
794 name: "android.service.autofill.flags-aconfig",
795 package: "android.service.autofill",
796 srcs: [
797 "services/autofill/bugfixes.aconfig",
Guojing Yuaneecbf2162023-10-11 00:15:53 +0000798 "services/autofill/features.aconfig",
Alex Salo14114812023-10-04 22:43:28 +0000799 ],
800}
801
802java_aconfig_library {
803 name: "android.service.autofill.flags-aconfig-java",
804 aconfig_declarations: "android.service.autofill.flags-aconfig",
805 defaults: ["framework-minus-apex-aconfig-java-defaults"],
806}
Guojing Yuaneecbf2162023-10-11 00:15:53 +0000807
808// Companion
809aconfig_declarations {
810 name: "android.companion.flags-aconfig",
811 package: "android.companion",
812 srcs: ["core/java/android/companion/*.aconfig"],
813}
814
815java_aconfig_library {
816 name: "android.companion.flags-aconfig-java",
817 aconfig_declarations: "android.companion.flags-aconfig",
818 defaults: ["framework-minus-apex-aconfig-java-defaults"],
819}
Motomu Utsumia1123292023-10-13 18:33:54 +0900820
Motomu Utsumi65e2f1d2023-12-07 23:39:45 +0900821// Networking
822aconfig_declarations {
Motomu Utsumie54434c2024-01-23 15:04:18 +0900823 name: "android.net.platform.flags-aconfig",
824 package: "android.net.platform.flags",
Motomu Utsumi65e2f1d2023-12-07 23:39:45 +0900825 srcs: ["core/java/android/net/flags.aconfig"],
Motomu Utsumie54434c2024-01-23 15:04:18 +0900826 visibility: [":__subpackages__"],
Motomu Utsumi65e2f1d2023-12-07 23:39:45 +0900827}
828
Kangping Dong503b0e02024-01-24 16:47:23 +0800829// Thread network
830aconfig_declarations {
Kangping Dongd7b70b82024-02-19 22:09:13 +0800831 name: "com.android.net.thread.platform.flags-aconfig",
832 package: "com.android.net.thread.platform.flags",
Kangping Dong503b0e02024-01-24 16:47:23 +0800833 srcs: ["core/java/android/net/thread/flags.aconfig"],
834}
835
Motomu Utsumia1123292023-10-13 18:33:54 +0900836java_aconfig_library {
Motomu Utsumie54434c2024-01-23 15:04:18 +0900837 name: "android.net.platform.flags-aconfig-java",
838 aconfig_declarations: "android.net.platform.flags-aconfig",
Motomu Utsumia1123292023-10-13 18:33:54 +0900839 defaults: ["framework-minus-apex-aconfig-java-defaults"],
Motomu Utsumie54434c2024-01-23 15:04:18 +0900840 visibility: [":__subpackages__"],
Motomu Utsumia1123292023-10-13 18:33:54 +0900841}
Kholoud Mohamed607c61b2023-10-16 13:49:14 +0000842
Kangping Dong503b0e02024-01-24 16:47:23 +0800843java_aconfig_library {
Kangping Dongd7b70b82024-02-19 22:09:13 +0800844 name: "com.android.net.thread.platform.flags-aconfig-java",
845 aconfig_declarations: "com.android.net.thread.platform.flags-aconfig",
Kangping Dong503b0e02024-01-24 16:47:23 +0800846 defaults: ["framework-minus-apex-aconfig-java-defaults"],
847}
848
Venkatarama Avadhanic35577e2023-09-11 08:47:33 +0530849// Media
850aconfig_declarations {
851 name: "android.media.playback.flags-aconfig",
852 package: "com.android.media.playback.flags",
853 srcs: ["media/jni/playback_flags.aconfig"],
854}
855
856cc_aconfig_library {
857 name: "android.media.playback.flags-aconfig-cc",
858 aconfig_declarations: "android.media.playback.flags-aconfig",
859}
860
861java_aconfig_library {
862 name: "android.media.playback.flags-aconfig-java",
863 aconfig_declarations: "android.media.playback.flags-aconfig",
864 defaults: ["framework-minus-apex-aconfig-java-defaults"],
865}
866
Yan Yan09176112023-10-25 01:55:01 +0000867// VCN
868aconfig_declarations {
869 name: "android.net.vcn.flags-aconfig",
870 package: "android.net.vcn",
871 srcs: ["core/java/android/net/vcn/*.aconfig"],
872}
873
874java_aconfig_library {
875 name: "android.net.vcn.flags-aconfig-java",
876 aconfig_declarations: "android.net.vcn.flags-aconfig",
877 defaults: ["framework-minus-apex-aconfig-java-defaults"],
878}
879
Kholoud Mohamed607c61b2023-10-16 13:49:14 +0000880// DevicePolicy
881aconfig_declarations {
882 name: "device_policy_aconfig_flags",
883 package: "android.app.admin.flags",
884 srcs: [
885 "core/java/android/app/admin/flags/flags.aconfig",
886 ],
887}
888
889java_aconfig_library {
890 name: "device_policy_aconfig_flags_lib",
891 aconfig_declarations: "device_policy_aconfig_flags",
892 defaults: ["framework-minus-apex-aconfig-java-defaults"],
893}
894
Ilyas Sungd14a0c42023-11-28 14:00:34 +0000895java_aconfig_library {
896 name: "device_policy_aconfig_flags_lib_host",
897 aconfig_declarations: "device_policy_aconfig_flags",
898 host_supported: true,
899 defaults: ["framework-minus-apex-aconfig-java-defaults"],
900}
901
Kholoud Mohamed607c61b2023-10-16 13:49:14 +0000902cc_aconfig_library {
903 name: "device_policy_aconfig_flags_c_lib",
904 aconfig_declarations: "device_policy_aconfig_flags",
905}
Alexander Roederer7850a5b2023-10-19 16:14:32 +0000906
Joshua Traskaa3d1ce2023-11-21 16:32:13 +0000907// Chooser / "Sharesheet"
908aconfig_declarations {
909 name: "android.service.chooser.flags-aconfig",
910 package: "android.service.chooser",
911 srcs: ["core/java/android/service/chooser/flags.aconfig"],
912}
913
914java_aconfig_library {
915 name: "android.service.chooser.flags-aconfig-java",
916 aconfig_declarations: "android.service.chooser.flags-aconfig",
Roshan Piusb5794a62024-01-11 12:16:40 -0800917 min_sdk_version: "34",
918 apex_available: [
919 "//apex_available:platform",
920 "com.android.nfcservices",
921 ],
Joshua Traskaa3d1ce2023-11-21 16:32:13 +0000922 defaults: ["framework-minus-apex-aconfig-java-defaults"],
923}
924
Kweku Adamsc7cd8d12023-08-28 21:47:36 +0000925// JobScheduler
926aconfig_declarations {
927 name: "framework-jobscheduler-job.flags-aconfig",
928 package: "android.app.job",
929 srcs: ["apex/jobscheduler/framework/aconfig/job.aconfig"],
930}
931
932java_aconfig_library {
933 name: "framework-jobscheduler-job.flags-aconfig-java",
934 aconfig_declarations: "framework-jobscheduler-job.flags-aconfig",
935 defaults: ["framework-minus-apex-aconfig-java-defaults"],
936}
937
Will Leshner84eedf52023-12-06 13:50:28 -0800938// Dreams
939aconfig_declarations {
940 name: "android.service.dreams.flags-aconfig",
941 package: "android.service.dreams",
942 srcs: ["core/java/android/service/dreams/flags.aconfig"],
943}
944
945java_aconfig_library {
946 name: "android.service.dreams.flags-aconfig-java",
947 aconfig_declarations: "android.service.dreams.flags-aconfig",
948 defaults: ["framework-minus-apex-aconfig-java-defaults"],
949}
950
Alexander Roederer7850a5b2023-10-19 16:14:32 +0000951// Notifications
952aconfig_declarations {
953 name: "android.service.notification.flags-aconfig",
954 package: "android.service.notification",
Zhi Douc8ae8f12024-02-21 21:52:40 +0000955 exportable: true,
956 container: "system",
Alexander Roederer7850a5b2023-10-19 16:14:32 +0000957 srcs: ["core/java/android/service/notification/flags.aconfig"],
958}
959
960java_aconfig_library {
961 name: "android.service.notification.flags-aconfig-java",
962 aconfig_declarations: "android.service.notification.flags-aconfig",
963 defaults: ["framework-minus-apex-aconfig-java-defaults"],
964}
Liam, Lee Pong Lam874b2172023-09-27 17:01:57 +0000965
Zhi Douc8ae8f12024-02-21 21:52:40 +0000966java_aconfig_library {
967 name: "android.service.notification.flags-aconfig-export-java",
968 aconfig_declarations: "android.service.notification.flags-aconfig",
969 defaults: ["framework-minus-apex-aconfig-java-defaults"],
970 mode: "exported",
971 min_sdk_version: "30",
972 apex_available: [
973 "//apex_available:platform",
974 "com.android.extservices",
975 ],
976}
977
Shashwat Razdan6ef76562024-03-07 13:26:12 -0800978// Contextual Search
979aconfig_declarations {
980 name: "android.app.contextualsearch.flags-aconfig",
981 package: "android.app.contextualsearch.flags",
982 srcs: ["core/java/android/app/contextualsearch/flags.aconfig"],
983}
984
985java_aconfig_library {
986 name: "android.app.contextualsearch.flags-aconfig-java",
987 aconfig_declarations: "android.app.contextualsearch.flags-aconfig",
988 defaults: ["framework-minus-apex-aconfig-java-defaults"],
989}
990
Liam, Lee Pong Lam874b2172023-09-27 17:01:57 +0000991// Smartspace
992aconfig_declarations {
993 name: "android.app.smartspace.flags-aconfig",
994 package: "android.app.smartspace.flags",
995 srcs: ["core/java/android/app/smartspace/flags.aconfig"],
996}
997
998java_aconfig_library {
999 name: "android.app.smartspace.flags-aconfig-java",
1000 aconfig_declarations: "android.app.smartspace.flags-aconfig",
1001 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1002}
Tony Huang9a026b22023-10-20 17:14:36 +08001003
1004// SurfaceFlinger
1005java_aconfig_library {
1006 name: "surfaceflinger_flags_java_lib",
1007 aconfig_declarations: "surfaceflinger_flags",
1008 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1009}
MingWei992ea5d2023-11-06 11:10:06 +00001010
1011// Content Capture
1012aconfig_declarations {
1013 name: "android.view.contentcapture.flags-aconfig",
1014 package: "android.view.contentcapture.flags",
1015 srcs: ["core/java/android/view/contentcapture/flags/*.aconfig"],
1016}
1017
1018java_aconfig_library {
1019 name: "android.view.contentcapture.flags-aconfig-java",
1020 aconfig_declarations: "android.view.contentcapture.flags-aconfig",
1021 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1022}
Roy Luofc495442023-09-30 00:27:29 +00001023
1024// USB
1025aconfig_declarations {
1026 name: "android.hardware.usb.flags-aconfig",
1027 package: "android.hardware.usb.flags",
1028 srcs: ["core/java/android/hardware/usb/flags/*.aconfig"],
1029}
1030
1031java_aconfig_library {
1032 name: "android.hardware.usb.flags-aconfig-java",
1033 aconfig_declarations: "android.hardware.usb.flags-aconfig",
1034 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1035}
Pablo Gamito32e1e4f2023-11-07 17:22:46 +00001036
Roy Luo233abf92023-11-22 22:51:47 +00001037java_aconfig_library {
1038 name: "android.hardware.usb.flags-aconfig-java-host",
1039 aconfig_declarations: "android.hardware.usb.flags-aconfig",
1040 host_supported: true,
1041 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1042}
1043
Pablo Gamito32e1e4f2023-11-07 17:22:46 +00001044// WindowingTools
1045aconfig_declarations {
1046 name: "android.tracing.flags-aconfig",
1047 package: "android.tracing",
1048 srcs: ["core/java/android/tracing/flags.aconfig"],
1049}
1050
1051java_aconfig_library {
1052 name: "android.tracing.flags-aconfig-java",
1053 aconfig_declarations: "android.tracing.flags-aconfig",
1054 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1055}
Willie Koomson953b0842023-11-07 17:47:28 +00001056
Pablo Gamito52cc6262024-02-16 16:32:40 +00001057cc_aconfig_library {
1058 name: "android.tracing.flags_c_lib",
1059 aconfig_declarations: "android.tracing.flags-aconfig",
1060}
1061
Willie Koomson953b0842023-11-07 17:47:28 +00001062// App Widgets
1063aconfig_declarations {
1064 name: "android.appwidget.flags-aconfig",
1065 package: "android.appwidget.flags",
1066 srcs: ["core/java/android/appwidget/flags.aconfig"],
1067}
1068
1069java_aconfig_library {
1070 name: "android.appwidget.flags-aconfig-java",
1071 aconfig_declarations: "android.appwidget.flags-aconfig",
1072 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1073}
Ziad Youssef7d93b912023-11-16 16:22:24 +00001074
Andy Yu6e4cd762023-11-13 14:39:21 -08001075// App
1076aconfig_declarations {
1077 name: "android.server.app.flags-aconfig",
1078 package: "android.server.app",
1079 srcs: ["services/core/java/com/android/server/app/flags.aconfig"],
1080}
1081
1082java_aconfig_library {
1083 name: "android.server.app.flags-aconfig-java",
1084 aconfig_declarations: "android.server.app.flags-aconfig",
1085 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1086}
1087
Ziad Youssef7d93b912023-11-16 16:22:24 +00001088// WebView
1089aconfig_declarations {
1090 name: "android.webkit.flags-aconfig",
1091 package: "android.webkit",
1092 srcs: [
1093 "core/java/android/webkit/*.aconfig",
1094 "services/core/java/com/android/server/webkit/*.aconfig",
1095 ],
1096}
1097
1098java_aconfig_library {
1099 name: "android.webkit.flags-aconfig-java",
1100 aconfig_declarations: "android.webkit.flags-aconfig",
1101 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1102}
Songchun Fan2e3d3cd2023-11-22 16:22:33 -08001103
1104// Provider
1105aconfig_declarations {
1106 name: "android.provider.flags-aconfig",
1107 package: "android.provider",
1108 srcs: ["core/java/android/provider/*.aconfig"],
1109}
1110
1111java_aconfig_library {
1112 name: "android.provider.flags-aconfig-java",
1113 aconfig_declarations: "android.provider.flags-aconfig",
1114 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1115}
Matthew Sedam23279ca2024-01-10 19:26:34 +00001116
1117// ContextHub
1118java_aconfig_library {
1119 name: "android.chre.flags-aconfig-java",
1120 aconfig_declarations: "chre_flags",
1121 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1122}
MingWeidf8405142023-12-21 10:26:22 +00001123
1124// Speech
1125aconfig_declarations {
1126 name: "android.speech.flags-aconfig",
1127 package: "android.speech.flags",
1128 srcs: ["core/java/android/speech/flags/*.aconfig"],
1129}
1130
1131java_aconfig_library {
1132 name: "android.speech.flags-aconfig-java",
1133 aconfig_declarations: "android.speech.flags-aconfig",
1134 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1135}
Manish Kushwaha419b6692023-11-27 23:38:01 +00001136
1137// Power
1138java_aconfig_library {
1139 name: "power_flags_lib",
1140 aconfig_declarations: "power_flags",
1141 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1142}
Oluwarotimi Adesinae3ed5b22023-11-28 11:35:55 +00001143
1144// Content
1145aconfig_declarations {
1146 name: "android.content.flags-aconfig",
1147 package: "android.content.flags",
1148 srcs: ["core/java/android/content/flags/flags.aconfig"],
1149}
1150
1151java_aconfig_library {
1152 name: "android.content.flags-aconfig-java",
1153 aconfig_declarations: "android.content.flags-aconfig",
1154 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1155}
Haining Chen22301842024-01-09 17:39:37 -08001156
1157// Adaptive Auth
1158aconfig_declarations {
1159 name: "android.adaptiveauth.flags-aconfig",
1160 package: "android.adaptiveauth",
1161 srcs: ["core/java/android/adaptiveauth/*.aconfig"],
1162}
1163
1164java_aconfig_library {
1165 name: "android.adaptiveauth.flags-aconfig-java",
1166 aconfig_declarations: "android.adaptiveauth.flags-aconfig",
1167 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1168}
Sanal Buvaev41431a32024-01-25 19:58:31 +00001169
1170// CrashRecovery Module
1171aconfig_declarations {
1172 name: "android.crashrecovery.flags-aconfig",
1173 package: "android.crashrecovery.flags",
1174 srcs: ["packages/CrashRecovery/aconfig/flags.aconfig"],
1175}
1176
1177java_aconfig_library {
1178 name: "android.crashrecovery.flags-aconfig-java",
1179 aconfig_declarations: "android.crashrecovery.flags-aconfig",
1180 defaults: ["framework-minus-apex-aconfig-java-defaults"],
Sarp Misoglud13c86c2024-01-25 18:43:57 +00001181}
1182
1183// Backup
1184java_aconfig_library {
1185 name: "backup_flags_lib",
1186 aconfig_declarations: "backup_flags",
1187 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1188}
Nate Jiang8a091a72024-01-24 17:47:14 -08001189
1190// Wifi
1191aconfig_declarations {
1192 name: "android.net.wifi.flags-aconfig",
1193 package: "android.net.wifi.flags",
1194 srcs: ["wifi/*.aconfig"],
1195}
1196
1197java_aconfig_library {
1198 name: "android.net.wifi.flags-aconfig-java",
1199 aconfig_declarations: "android.net.wifi.flags-aconfig",
1200 min_sdk_version: "30",
1201 apex_available: [
1202 "//apex_available:platform",
1203 "com.android.wifi",
1204 ],
1205 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1206}
Tom Chanee44b862024-01-30 16:55:12 +00001207
1208// Wearable Sensing
1209aconfig_declarations {
1210 name: "android.app.wearable.flags-aconfig",
1211 package: "android.app.wearable",
1212 srcs: ["core/java/android/app/wearable/*.aconfig"],
1213}
1214
1215java_aconfig_library {
1216 name: "android.app.wearable.flags-aconfig-java",
1217 aconfig_declarations: "android.app.wearable.flags-aconfig",
1218 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1219}
Jared Duke15620b02023-10-12 23:43:24 +00001220
1221aconfig_declarations {
1222 name: "com.android.internal.pm.pkg.component.flags-aconfig",
1223 package: "com.android.internal.pm.pkg.component.flags",
1224 srcs: ["core/java/com/android/internal/pm/pkg/component/flags/flags.aconfig"],
1225}
1226
1227java_aconfig_library {
1228 name: "com.android.internal.pm.pkg.component.flags-aconfig-java",
1229 aconfig_declarations: "com.android.internal.pm.pkg.component.flags-aconfig",
1230 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1231}
1232
1233java_aconfig_library {
1234 name: "com.android.internal.pm.pkg.component.flags-aconfig-java-host",
1235 aconfig_declarations: "com.android.internal.pm.pkg.component.flags-aconfig",
1236 host_supported: true,
1237 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1238}
Yisroel Fortace4c1d02024-02-06 23:06:21 +00001239
1240// System Server
1241aconfig_declarations {
1242 name: "android.systemserver.flags-aconfig",
1243 package: "android.server",
1244 srcs: ["services/java/com/android/server/flags.aconfig"],
1245}
1246
1247java_aconfig_library {
1248 name: "android.systemserver.flags-aconfig-java",
1249 aconfig_declarations: "android.systemserver.flags-aconfig",
1250 defaults: ["framework-minus-apex-aconfig-java-defaults"],
1251}