blob: 727842e063dc3c474c9fb79788971123dca08dc5 [file] [log] [blame]
Dan Albert2a8d9c22016-09-23 15:55:49 -07001// Copyright (C) 2016 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
Colin Crosscf3a0b52017-11-16 00:15:28 -080015// Build the master framework library.
16
17// READ ME: ########################################################
18//
19// When updating this list of aidl files, consider if that aidl is
20// part of the SDK API. If it is, also add it to the list in Android.mk
21// that is preprocessed and distributed with the SDK. This list should
22// not contain any aidl files for parcelables, but the one below should
23// if you intend for 3rd parties to be able to send those objects
24// across process boundaries.
25//
26// READ ME: ########################################################
27
Mathew Inwoodbad89e52018-06-28 14:12:10 +010028java_defaults {
29 name: "framework-defaults",
Colin Crossa12c0f52018-06-27 11:00:11 -070030 installable: true,
Colin Crosscf3a0b52017-11-16 00:15:28 -080031
32 srcs: [
33 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
34 "core/java/**/*.java",
35 "graphics/java/**/*.java",
36 "location/java/**/*.java",
37 "lowpan/java/**/*.java",
38 "media/java/**/*.java",
39 "media/mca/effect/java/**/*.java",
40 "media/mca/filterfw/java/**/*.java",
41 "media/mca/filterpacks/java/**/*.java",
42 "drm/java/**/*.java",
43 "opengl/java/**/*.java",
44 "sax/java/**/*.java",
45 "telecomm/java/**/*.java",
46 "telephony/java/**/*.java",
47 "wifi/java/**/*.java",
48 "keystore/java/**/*.java",
49 "rs/java/**/*.java",
50
51 ":framework-javastream-protos",
52
53 "core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl",
54 "core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl",
55 "core/java/android/accounts/IAccountManager.aidl",
56 "core/java/android/accounts/IAccountManagerResponse.aidl",
57 "core/java/android/accounts/IAccountAuthenticator.aidl",
58 "core/java/android/accounts/IAccountAuthenticatorResponse.aidl",
59 "core/java/android/app/IActivityController.aidl",
60 "core/java/android/app/IActivityManager.aidl",
61 "core/java/android/app/IActivityPendingResult.aidl",
Wale Ogunwale65ebd952018-04-25 15:41:44 -070062 "core/java/android/app/IActivityTaskManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -080063 "core/java/android/app/IAlarmCompleteListener.aidl",
64 "core/java/android/app/IAlarmListener.aidl",
65 "core/java/android/app/IAlarmManager.aidl",
66 "core/java/android/app/IAppTask.aidl",
67 "core/java/android/app/IApplicationThread.aidl",
68 "core/java/android/app/IAssistDataReceiver.aidl",
69 "core/java/android/app/ITaskStackListener.aidl",
70 "core/java/android/app/IBackupAgent.aidl",
71 "core/java/android/app/IEphemeralResolver.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -080072 "core/java/android/app/IInstantAppResolver.aidl",
73 "core/java/android/app/IInstrumentationWatcher.aidl",
74 "core/java/android/app/INotificationManager.aidl",
75 "core/java/android/app/IProcessObserver.aidl",
Mark Renouf446251d2019-04-26 10:22:41 -040076 "core/java/android/app/IRequestFinishCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -080077 "core/java/android/app/ISearchManager.aidl",
78 "core/java/android/app/ISearchManagerCallback.aidl",
79 "core/java/android/app/IServiceConnection.aidl",
80 "core/java/android/app/IStopUserCallback.aidl",
81 "core/java/android/app/job/IJobCallback.aidl",
82 "core/java/android/app/job/IJobScheduler.aidl",
83 "core/java/android/app/job/IJobService.aidl",
84 "core/java/android/app/ITransientNotification.aidl",
85 "core/java/android/app/IUidObserver.aidl",
86 "core/java/android/app/IUiAutomationConnection.aidl",
87 "core/java/android/app/IUiModeManager.aidl",
Wale Ogunwale6d50dcc2018-07-21 23:00:40 -070088 "core/java/android/app/IUriGrantsManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -080089 "core/java/android/app/IUserSwitchObserver.aidl",
90 "core/java/android/app/IWallpaperManager.aidl",
91 "core/java/android/app/IWallpaperManagerCallback.aidl",
92 "core/java/android/app/admin/IDeviceAdminService.aidl",
93 "core/java/android/app/admin/IDevicePolicyManager.aidl",
Neda Topoljanac19f29162018-10-22 18:12:16 +010094 "core/java/android/app/admin/StartInstallingUpdateCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -080095 "core/java/android/app/trust/IStrongAuthTracker.aidl",
96 "core/java/android/app/trust/ITrustManager.aidl",
97 "core/java/android/app/trust/ITrustListener.aidl",
Bernardo Rufino2d87f452018-06-22 11:47:49 +010098 "core/java/android/app/backup/IBackupCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -080099 "core/java/android/app/backup/IBackupManager.aidl",
100 "core/java/android/app/backup/IBackupObserver.aidl",
101 "core/java/android/app/backup/IBackupManagerMonitor.aidl",
102 "core/java/android/app/backup/IFullBackupRestoreObserver.aidl",
103 "core/java/android/app/backup/IRestoreObserver.aidl",
104 "core/java/android/app/backup/IRestoreSession.aidl",
105 "core/java/android/app/backup/ISelectBackupTransportCallback.aidl",
Winson Chung3fb0f252019-01-08 17:41:55 -0800106 "core/java/android/app/contentsuggestions/IClassificationsCallback.aidl",
107 "core/java/android/app/contentsuggestions/IContentSuggestionsManager.aidl",
108 "core/java/android/app/contentsuggestions/ISelectionsCallback.aidl",
Sunny Goyal54e91342018-11-14 11:59:02 -0800109 "core/java/android/app/prediction/IPredictionCallback.aidl",
110 "core/java/android/app/prediction/IPredictionManager.aidl",
Hai Zhang31d06ba2018-12-06 18:14:42 -0800111 "core/java/android/app/role/IOnRoleHoldersChangedListener.aidl",
Hai Zhanga4959e52019-03-06 12:21:07 -0800112 "core/java/android/app/role/IRoleController.aidl",
Hai Zhangb7776682018-09-25 15:10:57 -0700113 "core/java/android/app/role/IRoleManager.aidl",
Jason Monk8f5f7ff2017-10-17 14:12:42 -0400114 "core/java/android/app/slice/ISliceManager.aidl",
Jason Monk74f5e362017-12-06 08:56:33 -0500115 "core/java/android/app/slice/ISliceListener.aidl",
Neil Fullerfeeee682018-05-30 14:35:24 +0100116 "core/java/android/app/timedetector/ITimeDetectorService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800117 "core/java/android/app/timezone/ICallback.aidl",
118 "core/java/android/app/timezone/IRulesManager.aidl",
119 "core/java/android/app/usage/ICacheQuotaService.aidl",
120 "core/java/android/app/usage/IStorageStatsManager.aidl",
121 "core/java/android/app/usage/IUsageStatsManager.aidl",
122 ":libbluetooth-binder-aidl",
123 "core/java/android/content/IClipboard.aidl",
124 "core/java/android/content/IContentService.aidl",
125 "core/java/android/content/IIntentReceiver.aidl",
126 "core/java/android/content/IIntentSender.aidl",
127 "core/java/android/content/IOnPrimaryClipChangedListener.aidl",
128 "core/java/android/content/IRestrictionsManager.aidl",
129 "core/java/android/content/ISyncAdapter.aidl",
Philip P. Moltmann486b2412018-01-03 11:29:01 -0800130 "core/java/android/content/ISyncAdapterUnsyncableAccountCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800131 "core/java/android/content/ISyncContext.aidl",
132 "core/java/android/content/ISyncServiceAdapter.aidl",
133 "core/java/android/content/ISyncStatusObserver.aidl",
134 "core/java/android/content/om/IOverlayManager.aidl",
Tony Makb0d22622018-01-18 12:49:49 +0000135 "core/java/android/content/pm/ICrossProfileApps.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800136 "core/java/android/content/pm/IDexModuleRegisterCallback.aidl",
137 "core/java/android/content/pm/ILauncherApps.aidl",
138 "core/java/android/content/pm/IOnAppsChangedListener.aidl",
139 "core/java/android/content/pm/IOnPermissionsChangeListener.aidl",
140 "core/java/android/content/pm/IOtaDexopt.aidl",
141 "core/java/android/content/pm/IPackageDataObserver.aidl",
142 "core/java/android/content/pm/IPackageDeleteObserver.aidl",
143 "core/java/android/content/pm/IPackageDeleteObserver2.aidl",
144 "core/java/android/content/pm/IPackageInstallObserver2.aidl",
145 "core/java/android/content/pm/IPackageInstaller.aidl",
146 "core/java/android/content/pm/IPackageInstallerCallback.aidl",
147 "core/java/android/content/pm/IPackageInstallerSession.aidl",
148 "core/java/android/content/pm/IPackageManager.aidl",
149 ":libbinder_aidl",
150 "core/java/android/content/pm/IPackageMoveObserver.aidl",
151 "core/java/android/content/pm/IPackageStatsObserver.aidl",
152 "core/java/android/content/pm/IPinItemRequest.aidl",
153 "core/java/android/content/pm/IShortcutService.aidl",
Calin Juravle45f8b292017-11-07 18:49:43 -0800154 "core/java/android/content/pm/dex/IArtManager.aidl",
155 "core/java/android/content/pm/dex/ISnapshotRuntimeProfileCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800156 "core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl",
Richard Uhlerb29f1452018-09-12 16:38:15 +0100157 "core/java/android/content/rollback/IRollbackManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800158 "core/java/android/database/IContentObserver.aidl",
Kenny Rootf74bfde2018-01-18 15:42:48 -0800159 "core/java/android/debug/IAdbManager.aidl",
Kenny Root61fd3602018-01-19 09:01:46 -0500160 "core/java/android/debug/IAdbTransport.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800161 ":libcamera_client_aidl",
162 ":libcamera_client_framework_aidl",
163 "core/java/android/hardware/IConsumerIrService.aidl",
164 "core/java/android/hardware/ISerialManager.aidl",
Kevin Chyn5a90a652019-03-25 18:11:16 -0700165 "core/java/android/hardware/biometrics/IBiometricConfirmDeviceCredentialCallback.aidl",
Kevin Chynb7b54a62018-09-28 18:48:12 -0700166 "core/java/android/hardware/biometrics/IBiometricEnabledOnKeyguardCallback.aidl",
Kevin Chyn352adfe2018-09-20 22:28:50 -0700167 "core/java/android/hardware/biometrics/IBiometricService.aidl",
168 "core/java/android/hardware/biometrics/IBiometricServiceReceiver.aidl",
Kevin Chyn23289ef2018-11-28 16:32:36 -0800169 "core/java/android/hardware/biometrics/IBiometricServiceReceiverInternal.aidl",
Kevin Chyna56dff72018-06-19 18:41:12 -0700170 "core/java/android/hardware/biometrics/IBiometricServiceLockoutResetCallback.aidl",
Christine Franks39b03112018-07-03 14:46:07 -0700171 "core/java/android/hardware/display/IColorDisplayManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800172 "core/java/android/hardware/display/IDisplayManager.aidl",
173 "core/java/android/hardware/display/IDisplayManagerCallback.aidl",
174 "core/java/android/hardware/display/IVirtualDisplayCallback.aidl",
Kevin Chynaae4a152018-01-18 11:48:09 -0800175 "core/java/android/hardware/fingerprint/IFingerprintClientActiveCallback.aidl",
Gilad Brettercb51b8b2018-03-22 17:04:51 +0200176 "core/java/android/hardware/face/IFaceService.aidl",
Gilad Brettercb51b8b2018-03-22 17:04:51 +0200177 "core/java/android/hardware/face/IFaceServiceReceiver.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800178 "core/java/android/hardware/fingerprint/IFingerprintService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800179 "core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl",
180 "core/java/android/hardware/hdmi/IHdmiControlCallback.aidl",
181 "core/java/android/hardware/hdmi/IHdmiControlService.aidl",
182 "core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl",
183 "core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl",
184 "core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl",
185 "core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl",
186 "core/java/android/hardware/hdmi/IHdmiRecordListener.aidl",
187 "core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl",
188 "core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl",
189 "core/java/android/hardware/input/IInputManager.aidl",
190 "core/java/android/hardware/input/IInputDevicesChangedListener.aidl",
191 "core/java/android/hardware/input/ITabletModeChangedListener.aidl",
Kevin Chyn51676d22018-11-05 18:00:43 -0800192 "core/java/android/hardware/iris/IIrisService.aidl",
Brian Duddiecfa5b5b2019-01-22 18:01:40 +0000193 "core/java/android/hardware/location/IActivityRecognitionHardware.aidl",
194 "core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl",
195 "core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl",
196 "core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800197 "core/java/android/hardware/location/IGeofenceHardware.aidl",
198 "core/java/android/hardware/location/IGeofenceHardwareCallback.aidl",
199 "core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl",
200 "core/java/android/hardware/location/IContextHubCallback.aidl",
201 "core/java/android/hardware/location/IContextHubClient.aidl",
202 "core/java/android/hardware/location/IContextHubClientCallback.aidl",
203 "core/java/android/hardware/location/IContextHubService.aidl",
204 "core/java/android/hardware/location/IContextHubTransactionCallback.aidl",
Tomasz Wasilczykf151a7b2018-01-11 16:03:46 -0800205 "core/java/android/hardware/radio/IAnnouncementListener.aidl",
206 "core/java/android/hardware/radio/ICloseHandle.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800207 "core/java/android/hardware/radio/IRadioService.aidl",
208 "core/java/android/hardware/radio/ITuner.aidl",
209 "core/java/android/hardware/radio/ITunerCallback.aidl",
210 "core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl",
211 "core/java/android/hardware/usb/IUsbManager.aidl",
Philip P. Moltmanna2c6eea2018-08-24 09:50:40 -0700212 "core/java/android/hardware/usb/IUsbSerialReader.aidl",
Remi NGUYEN VAN5a1b74b2019-02-13 20:58:59 +0900213 "core/java/android/net/ICaptivePortal.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800214 "core/java/android/net/IConnectivityManager.aidl",
Chad Brubaker90f391f2018-10-19 10:26:19 -0700215 "core/java/android/hardware/ISensorPrivacyListener.aidl",
216 "core/java/android/hardware/ISensorPrivacyManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800217 "core/java/android/net/IIpConnectivityMetrics.aidl",
218 "core/java/android/net/IEthernetManager.aidl",
219 "core/java/android/net/IEthernetServiceListener.aidl",
220 "core/java/android/net/INetdEventCallback.aidl",
221 "core/java/android/net/IIpSecService.aidl",
222 "core/java/android/net/INetworkManagementEventObserver.aidl",
223 "core/java/android/net/INetworkPolicyListener.aidl",
224 "core/java/android/net/INetworkPolicyManager.aidl",
225 "core/java/android/net/INetworkRecommendationProvider.aidl",
226 "core/java/android/net/INetworkScoreCache.aidl",
227 "core/java/android/net/INetworkScoreService.aidl",
228 "core/java/android/net/INetworkStatsService.aidl",
229 "core/java/android/net/INetworkStatsSession.aidl",
junyulai7c469172019-01-16 20:23:34 +0800230 "core/java/android/net/ISocketKeepaliveCallback.aidl",
Benedict Wonge40eab62018-11-14 17:50:13 -0800231 "core/java/android/net/ITestNetworkManager.aidl",
markchien6ea34542019-02-27 14:56:11 +0800232 "core/java/android/net/ITetheringEventCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800233 "core/java/android/net/ITetheringStatsProvider.aidl",
234 "core/java/android/net/nsd/INsdManager.aidl",
235 "core/java/android/nfc/IAppCallback.aidl",
236 "core/java/android/nfc/INfcAdapter.aidl",
237 "core/java/android/nfc/INfcAdapterExtras.aidl",
238 "core/java/android/nfc/INfcTag.aidl",
239 "core/java/android/nfc/INfcCardEmulation.aidl",
240 "core/java/android/nfc/INfcFCardEmulation.aidl",
241 "core/java/android/nfc/INfcUnlockHandler.aidl",
242 "core/java/android/nfc/INfcDta.aidl",
243 "core/java/android/nfc/ITagRemovedCallback.aidl",
Ruchi Kandoia1f94012017-12-08 15:07:03 -0800244 "core/java/android/se/omapi/ISecureElementService.aidl",
245 "core/java/android/se/omapi/ISecureElementListener.aidl",
246 "core/java/android/se/omapi/ISecureElementChannel.aidl",
247 "core/java/android/se/omapi/ISecureElementReader.aidl",
248 "core/java/android/se/omapi/ISecureElementSession.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800249 "core/java/android/os/IBatteryPropertiesRegistrar.aidl",
250 "core/java/android/os/ICancellationSignal.aidl",
251 "core/java/android/os/IDeviceIdentifiersPolicyService.aidl",
252 "core/java/android/os/IDeviceIdleController.aidl",
253 "core/java/android/os/IHardwarePropertiesManager.aidl",
Colin Crossbc2dc312018-10-26 22:34:06 -0700254 ":libincident_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800255 "core/java/android/os/IMaintenanceActivityListener.aidl",
256 "core/java/android/os/IMessenger.aidl",
257 "core/java/android/os/INetworkActivityListener.aidl",
258 "core/java/android/os/INetworkManagementService.aidl",
259 "core/java/android/os/IPermissionController.aidl",
260 "core/java/android/os/IProcessInfoService.aidl",
261 "core/java/android/os/IProgressListener.aidl",
262 "core/java/android/os/IPowerManager.aidl",
263 "core/java/android/os/IRecoverySystem.aidl",
264 "core/java/android/os/IRecoverySystemProgressListener.aidl",
265 "core/java/android/os/IRemoteCallback.aidl",
266 "core/java/android/os/ISchedulingPolicyService.aidl",
Colin Crossbc2dc312018-10-26 22:34:06 -0700267 ":statsd_aidl",
Tao Bao07342dc2017-01-24 15:08:21 -0800268 "core/java/android/os/ISystemUpdateManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800269 "core/java/android/os/IThermalEventListener.aidl",
Wei Wang37b17542018-11-12 11:02:09 -0800270 "core/java/android/os/IThermalStatusListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800271 "core/java/android/os/IThermalService.aidl",
272 "core/java/android/os/IUpdateLock.aidl",
273 "core/java/android/os/IUserManager.aidl",
Michael Wrightc390fbe2018-12-12 19:45:09 +0000274 ":libvibrator_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800275 "core/java/android/os/IVibratorService.aidl",
Po-Chien Hsueh4e908c22019-03-07 11:57:17 +0800276 "core/java/android/os/image/IDynamicSystemService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800277 "core/java/android/os/storage/IStorageManager.aidl",
278 "core/java/android/os/storage/IStorageEventListener.aidl",
279 "core/java/android/os/storage/IStorageShutdownObserver.aidl",
280 "core/java/android/os/storage/IObbActionListener.aidl",
Philip P. Moltmannbc054d82018-12-21 09:41:58 -0800281 "core/java/android/permission/IPermissionController.aidl",
Logan Chien404eb2b2018-02-14 13:53:04 +0800282 ":keystore_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800283 "core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl",
Sunny Goyal54e91342018-11-14 11:59:02 -0800284 "core/java/android/service/appprediction/IPredictionService.aidl",
Felipe Leme749b8892018-12-03 16:30:30 -0800285 "core/java/android/service/autofill/augmented/IAugmentedAutofillService.aidl",
286 "core/java/android/service/autofill/augmented/IFillCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800287 "core/java/android/service/autofill/IAutoFillService.aidl",
Felipe Lemebc055b02018-01-05 17:04:10 -0800288 "core/java/android/service/autofill/IAutofillFieldClassificationService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800289 "core/java/android/service/autofill/IFillCallback.aidl",
290 "core/java/android/service/autofill/ISaveCallback.aidl",
291 "core/java/android/service/carrier/ICarrierService.aidl",
292 "core/java/android/service/carrier/ICarrierMessagingCallback.aidl",
293 "core/java/android/service/carrier/ICarrierMessagingService.aidl",
Makoto Onuki05d64cb2019-02-01 16:04:16 -0800294 "core/java/android/service/carrier/ICarrierMessagingClientService.aidl",
Winson Chung3fb0f252019-01-08 17:41:55 -0800295 "core/java/android/service/contentsuggestions/IContentSuggestionsService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800296 "core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl",
297 "core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl",
298 "core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl",
299 "core/java/android/service/euicc/IEuiccService.aidl",
300 "core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl",
301 "core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl",
302 "core/java/android/service/euicc/IGetEidCallback.aidl",
303 "core/java/android/service/euicc/IGetEuiccInfoCallback.aidl",
304 "core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl",
Qingxi Li54058362017-12-13 15:13:02 -0800305 "core/java/android/service/euicc/IGetOtaStatusCallback.aidl",
Qingxi Li6019f9c2017-12-14 15:36:06 -0800306 "core/java/android/service/euicc/IOtaStatusChangedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800307 "core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl",
308 "core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl",
309 "core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl",
Janis Danisevskis037a63f2019-03-29 10:53:23 -0700310 ":gatekeeper_aidl",
Felipe Leme749b8892018-12-03 16:30:30 -0800311 "core/java/android/service/contentcapture/IContentCaptureService.aidl",
Felipe Lemeaf4e4fd2019-01-15 08:32:42 -0800312 "core/java/android/service/contentcapture/IContentCaptureServiceCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800313 "core/java/android/service/notification/INotificationListener.aidl",
314 "core/java/android/service/notification/IStatusBarNotificationHolder.aidl",
315 "core/java/android/service/notification/IConditionListener.aidl",
316 "core/java/android/service/notification/IConditionProvider.aidl",
317 "core/java/android/service/settings/suggestions/ISuggestionService.aidl",
Hongming Jinfa329d32018-10-26 16:18:07 -0700318 "core/java/android/service/sms/IFinancialSmsService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800319 "core/java/android/service/vr/IPersistentVrStateCallbacks.aidl",
320 "core/java/android/service/vr/IVrListener.aidl",
321 "core/java/android/service/vr/IVrManager.aidl",
322 "core/java/android/service/vr/IVrStateCallbacks.aidl",
Zimuzoa3bb67d2019-03-15 18:05:58 +0000323 "core/java/android/service/watchdog/IExplicitHealthCheckService.aidl",
Zimuzo1a9aac72019-04-24 14:07:24 +0100324 "core/java/android/service/watchdog/PackageConfig.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800325 "core/java/android/print/ILayoutResultCallback.aidl",
326 "core/java/android/print/IPrinterDiscoveryObserver.aidl",
327 "core/java/android/print/IPrintDocumentAdapter.aidl",
328 "core/java/android/print/IPrintDocumentAdapterObserver.aidl",
329 "core/java/android/print/IPrintJobStateChangeListener.aidl",
330 "core/java/android/print/IPrintServicesChangeListener.aidl",
331 "core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl",
332 "core/java/android/print/IPrintManager.aidl",
333 "core/java/android/print/IPrintSpooler.aidl",
334 "core/java/android/print/IPrintSpoolerCallbacks.aidl",
335 "core/java/android/print/IPrintSpoolerClient.aidl",
336 "core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl",
337 "core/java/android/printservice/recommendation/IRecommendationService.aidl",
338 "core/java/android/print/IWriteResultCallback.aidl",
339 "core/java/android/printservice/IPrintService.aidl",
340 "core/java/android/printservice/IPrintServiceClient.aidl",
341 "core/java/android/companion/ICompanionDeviceManager.aidl",
342 "core/java/android/companion/ICompanionDeviceDiscoveryService.aidl",
343 "core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl",
344 "core/java/android/companion/IFindDeviceCallback.aidl",
345 "core/java/android/service/dreams/IDreamManager.aidl",
346 "core/java/android/service/dreams/IDreamService.aidl",
347 "core/java/android/service/oemlock/IOemLockService.aidl",
348 "core/java/android/service/persistentdata/IPersistentDataBlockService.aidl",
349 "core/java/android/service/trust/ITrustAgentService.aidl",
350 "core/java/android/service/trust/ITrustAgentServiceCallback.aidl",
351 "core/java/android/service/voice/IVoiceInteractionService.aidl",
352 "core/java/android/service/voice/IVoiceInteractionSession.aidl",
353 "core/java/android/service/voice/IVoiceInteractionSessionService.aidl",
354 "core/java/android/service/wallpaper/IWallpaperConnection.aidl",
355 "core/java/android/service/wallpaper/IWallpaperEngine.aidl",
356 "core/java/android/service/wallpaper/IWallpaperService.aidl",
357 "core/java/android/service/chooser/IChooserTargetService.aidl",
358 "core/java/android/service/chooser/IChooserTargetResult.aidl",
359 "core/java/android/service/resolver/IResolverRankerService.aidl",
360 "core/java/android/service/resolver/IResolverRankerResult.aidl",
Tony Mak9920dbb2019-01-23 19:49:30 +0000361 "core/java/android/service/textclassifier/ITextClassifierCallback.aidl",
Abodunrinwa Tokid32906c2018-01-18 04:34:44 -0800362 "core/java/android/service/textclassifier/ITextClassifierService.aidl",
Alex Salob81472f2018-12-12 14:44:28 -0800363 "core/java/android/service/attention/IAttentionService.aidl",
364 "core/java/android/service/attention/IAttentionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800365 "core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl",
366 "core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl",
367 "core/java/android/view/accessibility/IAccessibilityManager.aidl",
368 "core/java/android/view/accessibility/IAccessibilityManagerClient.aidl",
369 "core/java/android/view/autofill/IAutoFillManager.aidl",
370 "core/java/android/view/autofill/IAutoFillManagerClient.aidl",
Felipe Leme284ad1c2018-11-15 18:16:12 -0800371 "core/java/android/view/autofill/IAugmentedAutofillManagerClient.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800372 "core/java/android/view/autofill/IAutofillWindowPresenter.aidl",
Felipe Lemeb96878492018-12-17 12:22:29 -0800373 "core/java/android/view/contentcapture/IContentCaptureDirectManager.aidl",
Felipe Leme749b8892018-12-03 16:30:30 -0800374 "core/java/android/view/contentcapture/IContentCaptureManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800375 "core/java/android/view/IApplicationToken.aidl",
376 "core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl",
377 "core/java/android/view/IDockedStackListener.aidl",
Adrian Roos962017e2018-11-27 15:11:46 +0100378 "core/java/android/view/IDisplayFoldListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800379 "core/java/android/view/IGraphicsStats.aidl",
380 "core/java/android/view/IGraphicsStatsCallback.aidl",
Michael Wrightc7995232019-02-14 12:33:46 +0000381 "core/java/android/view/IInputMonitorHost.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800382 "core/java/android/view/IInputFilter.aidl",
383 "core/java/android/view/IInputFilterHost.aidl",
384 "core/java/android/view/IOnKeyguardExitResult.aidl",
385 "core/java/android/view/IPinnedStackController.aidl",
386 "core/java/android/view/IPinnedStackListener.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100387 "core/java/android/view/IRemoteAnimationRunner.aidl",
Winson Chunge2d72172018-01-25 17:46:20 +0000388 "core/java/android/view/IRecentsAnimationController.aidl",
389 "core/java/android/view/IRecentsAnimationRunner.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100390 "core/java/android/view/IRemoteAnimationFinishedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800391 "core/java/android/view/IRotationWatcher.aidl",
Adrian Roos4ffc8972019-02-07 20:45:11 +0100392 "core/java/android/view/ISystemGestureExclusionListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800393 "core/java/android/view/IWallpaperVisibilityListener.aidl",
394 "core/java/android/view/IWindow.aidl",
395 "core/java/android/view/IWindowFocusObserver.aidl",
396 "core/java/android/view/IWindowId.aidl",
397 "core/java/android/view/IWindowManager.aidl",
398 "core/java/android/view/IWindowSession.aidl",
399 "core/java/android/view/IWindowSessionCallback.aidl",
400 "core/java/android/webkit/IWebViewUpdateService.aidl",
401 "core/java/android/speech/IRecognitionListener.aidl",
402 "core/java/android/speech/IRecognitionService.aidl",
403 "core/java/android/speech/tts/ITextToSpeechCallback.aidl",
404 "core/java/android/speech/tts/ITextToSpeechService.aidl",
Svetoslav Ganov2d20fb42018-02-08 15:52:10 -0800405 "core/java/com/android/internal/app/IAppOpsActiveCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800406 "core/java/com/android/internal/app/IAppOpsCallback.aidl",
Svet Ganovb3d2ae22018-12-17 22:06:15 -0800407 "core/java/com/android/internal/app/IAppOpsNotedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800408 "core/java/com/android/internal/app/IAppOpsService.aidl",
409 "core/java/com/android/internal/app/IBatteryStats.aidl",
410 "core/java/com/android/internal/app/ISoundTriggerService.aidl",
jiayuzhou21a353b2018-08-16 16:09:43 -0700411 "core/java/com/android/internal/app/IVoiceActionCheckCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800412 "core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl",
413 "core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl",
414 "core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl",
415 "core/java/com/android/internal/app/IVoiceInteractor.aidl",
416 "core/java/com/android/internal/app/IVoiceInteractorCallback.aidl",
417 "core/java/com/android/internal/app/IVoiceInteractorRequest.aidl",
418 "core/java/com/android/internal/app/IMediaContainerService.aidl",
419 "core/java/com/android/internal/app/procstats/IProcessStats.aidl",
420 "core/java/com/android/internal/appwidget/IAppWidgetService.aidl",
421 "core/java/com/android/internal/appwidget/IAppWidgetHost.aidl",
422 "core/java/com/android/internal/backup/IBackupTransport.aidl",
423 "core/java/com/android/internal/backup/IObbBackupService.aidl",
Eugene Susla53f4df32019-05-17 13:23:44 -0700424 "core/java/com/android/internal/infra/IAndroidFuture.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800425 "core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl",
Yohei Yukawac54c1172018-09-06 11:39:50 -0700426 "core/java/com/android/internal/inputmethod/IInputMethodPrivilegedOperations.aidl",
Yohei Yukawabae5bea2018-11-12 15:08:30 -0800427 "core/java/com/android/internal/inputmethod/IMultiClientInputMethod.aidl",
428 "core/java/com/android/internal/inputmethod/IMultiClientInputMethodPrivilegedOperations.aidl",
429 "core/java/com/android/internal/inputmethod/IMultiClientInputMethodSession.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800430 "core/java/com/android/internal/net/INetworkWatchlistManager.aidl",
431 "core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl",
432 "core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl",
433 "core/java/com/android/internal/policy/IKeyguardExitCallback.aidl",
434 "core/java/com/android/internal/policy/IKeyguardService.aidl",
435 "core/java/com/android/internal/policy/IKeyguardStateCallback.aidl",
436 "core/java/com/android/internal/policy/IShortcutService.aidl",
437 "core/java/com/android/internal/os/IDropBoxManagerService.aidl",
438 "core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl",
439 "core/java/com/android/internal/os/IResultReceiver.aidl",
440 "core/java/com/android/internal/os/IShellCallback.aidl",
441 "core/java/com/android/internal/statusbar/IStatusBar.aidl",
442 "core/java/com/android/internal/statusbar/IStatusBarService.aidl",
Yohei Yukawa49efa712019-04-04 11:49:02 -0700443 "core/java/com/android/internal/statusbar/RegisterStatusBarResult.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800444 "core/java/com/android/internal/textservice/ISpellCheckerService.aidl",
445 "core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl",
446 "core/java/com/android/internal/textservice/ISpellCheckerSession.aidl",
447 "core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl",
448 "core/java/com/android/internal/textservice/ITextServicesManager.aidl",
449 "core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl",
450 "core/java/com/android/internal/view/IDragAndDropPermissions.aidl",
451 "core/java/com/android/internal/view/IInputContext.aidl",
452 "core/java/com/android/internal/view/IInputContextCallback.aidl",
453 "core/java/com/android/internal/view/IInputMethod.aidl",
454 "core/java/com/android/internal/view/IInputMethodClient.aidl",
455 "core/java/com/android/internal/view/IInputMethodManager.aidl",
456 "core/java/com/android/internal/view/IInputMethodSession.aidl",
457 "core/java/com/android/internal/view/IInputSessionCallback.aidl",
458 "core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl",
459 "core/java/com/android/internal/widget/ILockSettings.aidl",
460 "core/java/com/android/internal/widget/IRemoteViewsFactory.aidl",
461 "keystore/java/android/security/IKeyChainAliasCallback.aidl",
462 "keystore/java/android/security/IKeyChainService.aidl",
463 "location/java/android/location/IBatchedLocationCallback.aidl",
464 "location/java/android/location/ICountryDetector.aidl",
465 "location/java/android/location/ICountryListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800466 "location/java/android/location/IGeocodeProvider.aidl",
467 "location/java/android/location/IGeofenceProvider.aidl",
468 "location/java/android/location/IGnssStatusListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800469 "location/java/android/location/IGnssMeasurementsListener.aidl",
470 "location/java/android/location/IGnssNavigationMessageListener.aidl",
471 "location/java/android/location/ILocationListener.aidl",
472 "location/java/android/location/ILocationManager.aidl",
473 "location/java/android/location/IFusedGeofenceHardware.aidl",
474 "location/java/android/location/IGpsGeofenceHardware.aidl",
475 "location/java/android/location/INetInitiatedListener.aidl",
476 "location/java/com/android/internal/location/ILocationProvider.aidl",
Soonil Nagarkar1575a042018-10-24 17:54:54 -0700477 "location/java/com/android/internal/location/ILocationProviderManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800478 "media/java/android/media/IAudioFocusDispatcher.aidl",
479 "media/java/android/media/IAudioRoutesObserver.aidl",
Jaewan Kim379e30d2018-01-29 11:57:04 +0900480 "media/java/android/media/IAudioService.aidl",
Eric Laurent1d3cdce2018-01-20 10:31:21 -0800481 "media/java/android/media/IAudioServerStateDispatcher.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800482 "media/java/android/media/IMediaHTTPConnection.aidl",
483 "media/java/android/media/IMediaHTTPService.aidl",
484 "media/java/android/media/IMediaResourceMonitor.aidl",
Kyunglyul Hyund51666d2019-04-11 04:08:40 +0000485 "media/java/android/media/IMediaRoute2Provider.aidl",
Kyunglyul Hyun3aedf022019-04-15 16:38:19 +0900486 "media/java/android/media/IMediaRoute2ProviderClient.aidl",
Kyunglyul Hyuncaae8dc2019-04-29 15:45:23 +0900487 "media/java/android/media/IMediaRouter2Client.aidl",
Kyunglyul Hyun3aedf022019-04-15 16:38:19 +0900488 "media/java/android/media/IMediaRouter2Manager.aidl",
Kyunglyul Hyuncaae8dc2019-04-29 15:45:23 +0900489 "media/java/android/media/IMediaRouterClient.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800490 "media/java/android/media/IMediaRouterService.aidl",
491 "media/java/android/media/IMediaScannerListener.aidl",
492 "media/java/android/media/IMediaScannerService.aidl",
493 "media/java/android/media/IPlaybackConfigDispatcher.aidl",
494 ":libaudioclient_aidl",
495 "media/java/android/media/IRecordingConfigDispatcher.aidl",
496 "media/java/android/media/IRemoteDisplayCallback.aidl",
497 "media/java/android/media/IRemoteDisplayProvider.aidl",
498 "media/java/android/media/IRemoteVolumeController.aidl",
499 "media/java/android/media/IRemoteVolumeObserver.aidl",
500 "media/java/android/media/IRingtonePlayer.aidl",
501 "media/java/android/media/IVolumeController.aidl",
502 "media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl",
503 "media/java/android/media/midi/IBluetoothMidiService.aidl",
504 "media/java/android/media/midi/IMidiDeviceListener.aidl",
505 "media/java/android/media/midi/IMidiDeviceOpenCallback.aidl",
506 "media/java/android/media/midi/IMidiDeviceServer.aidl",
507 "media/java/android/media/midi/IMidiManager.aidl",
508 "media/java/android/media/projection/IMediaProjection.aidl",
509 "media/java/android/media/projection/IMediaProjectionCallback.aidl",
510 "media/java/android/media/projection/IMediaProjectionManager.aidl",
511 "media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl",
512 "media/java/android/media/session/IActiveSessionsListener.aidl",
513 "media/java/android/media/session/ICallback.aidl",
514 "media/java/android/media/session/IOnMediaKeyListener.aidl",
515 "media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl",
Hyundo Moon83ff14c2019-01-30 19:49:15 +0900516 "media/java/android/media/session/ISession.aidl",
Jaewan Kimea911862019-01-07 16:45:14 +0900517 "media/java/android/media/session/ISession2TokensListener.aidl",
Hyundo Moon83ff14c2019-01-30 19:49:15 +0900518 "media/java/android/media/session/ISessionCallback.aidl",
519 "media/java/android/media/session/ISessionController.aidl",
520 "media/java/android/media/session/ISessionControllerCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800521 "media/java/android/media/session/ISessionManager.aidl",
Philip P. Moltmann18e3eb82018-03-09 16:55:55 -0800522 "media/java/android/media/soundtrigger/ISoundTriggerDetectionService.aidl",
523 "media/java/android/media/soundtrigger/ISoundTriggerDetectionServiceClient.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800524 "media/java/android/media/tv/ITvInputClient.aidl",
525 "media/java/android/media/tv/ITvInputHardware.aidl",
526 "media/java/android/media/tv/ITvInputHardwareCallback.aidl",
527 "media/java/android/media/tv/ITvInputManager.aidl",
528 "media/java/android/media/tv/ITvInputManagerCallback.aidl",
529 "media/java/android/media/tv/ITvInputService.aidl",
530 "media/java/android/media/tv/ITvInputServiceCallback.aidl",
531 "media/java/android/media/tv/ITvInputSession.aidl",
532 "media/java/android/media/tv/ITvInputSessionCallback.aidl",
533 "media/java/android/media/tv/ITvRemoteProvider.aidl",
534 "media/java/android/media/tv/ITvRemoteServiceInput.aidl",
Hyundo Moon83ff14c2019-01-30 19:49:15 +0900535 "media/java/android/service/media/IMediaBrowserService.aidl",
536 "media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl",
sqianea8970c2018-06-06 22:54:04 -0700537 "telecomm/java/com/android/internal/telecom/ICallRedirectionAdapter.aidl",
538 "telecomm/java/com/android/internal/telecom/ICallRedirectionService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800539 "telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl",
540 "telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl",
541 "telecomm/java/com/android/internal/telecom/IVideoCallback.aidl",
542 "telecomm/java/com/android/internal/telecom/IVideoProvider.aidl",
543 "telecomm/java/com/android/internal/telecom/IConnectionService.aidl",
544 "telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl",
545 "telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl",
546 "telecomm/java/com/android/internal/telecom/IInCallService.aidl",
Hall Liuc47570d2018-12-06 17:53:25 -0800547 "telecomm/java/com/android/internal/telecom/IPhoneAccountSuggestionCallback.aidl",
548 "telecomm/java/com/android/internal/telecom/IPhoneAccountSuggestionService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800549 "telecomm/java/com/android/internal/telecom/ITelecomService.aidl",
550 "telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl",
Mohamed Abdalkader48e18c52018-01-22 15:43:37 -0800551 "telephony/java/android/telephony/data/IDataService.aidl",
552 "telephony/java/android/telephony/data/IDataServiceCallback.aidl",
Jack Yua3ab5752018-02-20 14:08:57 -0800553 "telephony/java/android/telephony/data/IQualifiedNetworksService.aidl",
554 "telephony/java/android/telephony/data/IQualifiedNetworksServiceCallback.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800555 "telephony/java/android/telephony/ims/aidl/IImsCallSessionListener.aidl",
Brad Ebinger112c36d2018-01-16 09:33:47 -0800556 "telephony/java/android/telephony/ims/aidl/IImsCapabilityCallback.aidl",
557 "telephony/java/android/telephony/ims/aidl/IImsConfig.aidl",
558 "telephony/java/android/telephony/ims/aidl/IImsConfigCallback.aidl",
559 "telephony/java/android/telephony/ims/aidl/IImsMmTelFeature.aidl",
560 "telephony/java/android/telephony/ims/aidl/IImsMmTelListener.aidl",
561 "telephony/java/android/telephony/ims/aidl/IImsRegistration.aidl",
562 "telephony/java/android/telephony/ims/aidl/IImsRegistrationCallback.aidl",
563 "telephony/java/android/telephony/ims/aidl/IImsRcsFeature.aidl",
564 "telephony/java/android/telephony/ims/aidl/IImsServiceController.aidl",
565 "telephony/java/android/telephony/ims/aidl/IImsServiceControllerListener.aidl",
Logan Chien71ddfea2018-02-27 16:43:50 +0800566 "telephony/java/android/telephony/ims/aidl/IImsSmsListener.aidl",
Sahin Caliskan84dd3062018-12-03 14:06:39 -0800567 "telephony/java/android/telephony/ims/aidl/IRcs.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800568 "telephony/java/android/telephony/mbms/IMbmsDownloadSessionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800569 "telephony/java/android/telephony/mbms/IMbmsStreamingSessionCallback.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700570 "telephony/java/android/telephony/mbms/IMbmsGroupCallSessionCallback.aidl",
Hall Liu79539972018-03-19 18:12:23 -0700571 "telephony/java/android/telephony/mbms/IDownloadStatusListener.aidl",
572 "telephony/java/android/telephony/mbms/IDownloadProgressListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800573 "telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700574 "telephony/java/android/telephony/mbms/IGroupCallCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800575 "telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl",
576 "telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700577 "telephony/java/android/telephony/mbms/vendor/IMbmsGroupCallService.aidl",
Nathan Harold2aa2cc12018-09-27 18:49:16 -0700578 "telephony/java/android/telephony/ICellInfoCallback.aidl",
Hongming Jin08496b02019-01-25 13:41:52 -0800579 "telephony/java/android/telephony/IFinancialSmsCallback.aidl",
Jack Yud5f1de12017-12-21 11:00:05 -0800580 "telephony/java/android/telephony/INetworkService.aidl",
581 "telephony/java/android/telephony/INetworkServiceCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800582 "telephony/java/com/android/ims/internal/IImsCallSession.aidl",
583 "telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl",
584 "telephony/java/com/android/ims/internal/IImsConfig.aidl",
585 "telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl",
586 "telephony/java/com/android/ims/internal/IImsEcbm.aidl",
587 "telephony/java/com/android/ims/internal/IImsEcbmListener.aidl",
588 "telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl",
589 "telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl",
590 "telephony/java/com/android/ims/internal/IImsMMTelFeature.aidl",
591 "telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl",
592 "telephony/java/com/android/ims/internal/IImsRcsFeature.aidl",
593 "telephony/java/com/android/ims/internal/IImsService.aidl",
594 "telephony/java/com/android/ims/internal/IImsServiceController.aidl",
595 "telephony/java/com/android/ims/internal/IImsServiceFeatureCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800596 "telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl",
597 "telephony/java/com/android/ims/internal/IImsUt.aidl",
598 "telephony/java/com/android/ims/internal/IImsUtListener.aidl",
599 "telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl",
600 "telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800601 "telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl",
602 "telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl",
603 "telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl",
604 "telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl",
605 "telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl",
606 "telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl",
607 "telephony/java/com/android/ims/ImsConfigListener.aidl",
608 "telephony/java/com/android/internal/telephony/IApnSourceService.aidl",
609 "telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl",
Brad Ebinger360415a2019-04-30 11:37:27 -0700610 "telephony/java/com/android/internal/telephony/IIntegerConsumer.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800611 "telephony/java/com/android/internal/telephony/IMms.aidl",
Hall Liu53140362018-11-28 10:44:22 -0800612 "telephony/java/com/android/internal/telephony/INumberVerificationCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800613 "telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl",
614 "telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl",
615 "telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl",
Malcolm Chenb2b88b32019-02-05 17:19:48 -0800616 "telephony/java/com/android/internal/telephony/ISetOpportunisticDataCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800617 "telephony/java/com/android/internal/telephony/ISms.aidl",
618 "telephony/java/com/android/internal/telephony/ISub.aidl",
Sooraj Sasindranfd617462019-01-08 13:23:17 -0800619 "telephony/java/com/android/internal/telephony/IOns.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800620 "telephony/java/com/android/internal/telephony/ITelephony.aidl",
621 "telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl",
danielwbhuang1f2850c2019-03-06 22:00:29 +0800622 "telephony/java/com/android/internal/telephony/IUpdateAvailableNetworksCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800623 "telephony/java/com/android/internal/telephony/IWapPushManager.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800624 "telephony/java/com/android/internal/telephony/euicc/IAuthenticateServerCallback.aidl",
625 "telephony/java/com/android/internal/telephony/euicc/ICancelSessionCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800626 "telephony/java/com/android/internal/telephony/euicc/IDeleteProfileCallback.aidl",
627 "telephony/java/com/android/internal/telephony/euicc/IDisableProfileCallback.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800628 "telephony/java/com/android/internal/telephony/euicc/IEuiccCardController.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800629 "telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800630 "telephony/java/com/android/internal/telephony/euicc/IGetAllProfilesCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800631 "telephony/java/com/android/internal/telephony/euicc/IGetDefaultSmdpAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800632 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccChallengeCallback.aidl",
633 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo1Callback.aidl",
634 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo2Callback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800635 "telephony/java/com/android/internal/telephony/euicc/IGetProfileCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800636 "telephony/java/com/android/internal/telephony/euicc/IGetRulesAuthTableCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800637 "telephony/java/com/android/internal/telephony/euicc/IGetSmdsAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800638 "telephony/java/com/android/internal/telephony/euicc/IListNotificationsCallback.aidl",
639 "telephony/java/com/android/internal/telephony/euicc/ILoadBoundProfilePackageCallback.aidl",
640 "telephony/java/com/android/internal/telephony/euicc/IPrepareDownloadCallback.aidl",
641 "telephony/java/com/android/internal/telephony/euicc/IRemoveNotificationFromListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800642 "telephony/java/com/android/internal/telephony/euicc/IResetMemoryCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800643 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationCallback.aidl",
644 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800645 "telephony/java/com/android/internal/telephony/euicc/ISetDefaultSmdpAddressCallback.aidl",
646 "telephony/java/com/android/internal/telephony/euicc/ISetNicknameCallback.aidl",
647 "telephony/java/com/android/internal/telephony/euicc/ISwitchToProfileCallback.aidl",
Roshan Pius3c38ee42018-10-09 10:06:33 -0700648 "wifi/java/android/net/wifi/INetworkRequestMatchCallback.aidl",
649 "wifi/java/android/net/wifi/INetworkRequestUserSelectionCallback.aidl",
Mehdi Alizadeh0037dde2017-11-28 15:31:28 -0800650 "wifi/java/android/net/wifi/ISoftApCallback.aidl",
Roshan Pius80fb1372018-07-16 15:43:03 -0700651 "wifi/java/android/net/wifi/ITrafficStateCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800652 "wifi/java/android/net/wifi/IWifiManager.aidl",
Mingguang Xue77cabc2019-03-08 09:58:23 -0800653 "wifi/java/android/net/wifi/IOnWifiUsabilityStatsListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800654 "wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl",
655 "wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl",
656 "wifi/java/android/net/wifi/aware/IWifiAwareMacAddressProvider.aidl",
657 "wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl",
658 "wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl",
659 "wifi/java/android/net/wifi/rtt/IRttCallback.aidl",
660 "wifi/java/android/net/wifi/rtt/IWifiRttManager.aidl",
661 "wifi/java/android/net/wifi/hotspot2/IProvisioningCallback.aidl",
Hai Shalome1afc8d2018-12-07 10:13:43 -0800662 "wifi/java/android/net/wifi/IDppCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800663 "wifi/java/android/net/wifi/IWifiScanner.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800664 "packages/services/PacProcessor/com/android/net/IProxyService.aidl",
665 "packages/services/Proxy/com/android/net/IProxyCallback.aidl",
666 "packages/services/Proxy/com/android/net/IProxyPortListener.aidl",
667 "core/java/android/service/quicksettings/IQSService.aidl",
668 "core/java/android/service/quicksettings/IQSTileService.aidl",
669
670 ":libupdate_engine_aidl",
671
672 ":storaged_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800673 ":vold_aidl",
Howard Chen0a947642019-01-07 14:10:44 +0800674 ":gsiservice_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800675 ":installd_aidl",
Nandana Duttb3f71682018-10-03 10:01:25 +0100676 ":dumpstate_aidl",
Joe Onoratoe21ab7e2018-12-18 15:00:25 -0800677 ":incidentcompanion_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800678
679 "lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl",
680 "lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl",
681 "lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl",
682 "lowpan/java/android/net/lowpan/ILowpanInterface.aidl",
683 "lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl",
684 "lowpan/java/android/net/lowpan/ILowpanManager.aidl",
685
686 "core/java/android/app/admin/SecurityLogTags.logtags",
687 "core/java/android/content/EventLogTags.logtags",
688 "core/java/android/speech/tts/EventLogTags.logtags",
689 "core/java/android/net/EventLogTags.logtags",
Makoto Onuki49392d32018-04-11 13:51:02 -0700690 "core/java/android/os/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800691 "core/java/android/webkit/EventLogTags.logtags",
Ben Gruverc7ffbe62018-01-19 11:28:04 -0800692 "core/java/com/android/internal/app/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800693 "core/java/com/android/internal/logging/EventLogTags.logtags",
Siyuan Zhoubafcd7b2017-12-04 13:02:11 -0800694 "core/java/com/android/server/DropboxLogTags.logtags",
Ricardo Quesadaab086c52017-12-11 11:26:53 -0800695 "core/java/org/chromium/arc/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800696
Dario Freni2ce84342019-04-26 13:06:22 +0100697 ":apex-properties",
Inseob Kimc1246e62018-11-08 13:13:54 +0900698 ":platform-properties",
699
Colin Crosscf3a0b52017-11-16 00:15:28 -0800700 ":framework-statslog-gen",
701 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800702
703 aidl: {
Colin Cross4eb07842017-12-14 15:18:42 -0800704 export_include_dirs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800705 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
706 "core/java",
707 "graphics/java",
708 "location/java",
709 "lowpan/java",
710 "media/java",
Insun Kangf86a56c2019-01-22 17:16:07 +0900711 "media/apex/java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800712 "media/mca/effect/java",
713 "media/mca/filterfw/java",
714 "media/mca/filterpacks/java",
715 "drm/java",
716 "opengl/java",
717 "sax/java",
718 "telecomm/java",
719 "telephony/java",
720 "wifi/java",
721 "keystore/java",
722 "rs/java",
723 ],
724
725 include_dirs: [
726 "system/update_engine/binder_bindings",
727 "frameworks/native/aidl/binder",
Nandana Duttb3f71682018-10-03 10:01:25 +0100728 "frameworks/native/cmds/dumpstate/binder",
Joe Onoratoe21ab7e2018-12-18 15:00:25 -0800729 "frameworks/native/libs/incidentcompanion/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800730 "frameworks/av/camera/aidl",
731 "frameworks/av/media/libaudioclient/aidl",
732 "frameworks/native/aidl/gui",
Joe Onorato99598ee2019-02-11 15:55:13 +0000733 "frameworks/native/libs/incidentcompanion/binder",
Janis Danisevskis037a63f2019-03-29 10:53:23 -0700734 "system/core/gatekeeperd/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800735 "system/core/storaged/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800736 "system/vold/binder",
Howard Chen0a947642019-01-07 14:10:44 +0800737 "system/gsid/aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800738 "system/bt/binder",
Logan Chien404eb2b2018-02-14 13:53:04 +0800739 "system/security/keystore/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800740 ],
Olivier Gaillardb0ea4212018-07-26 11:52:37 +0100741
Tobias Thiererbc050342019-05-23 16:20:12 +0100742 generate_get_transaction_name: true,
Colin Crosscf3a0b52017-11-16 00:15:28 -0800743 },
744
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000745 exclude_srcs: [
Paul Duffina3b69212018-01-25 09:58:32 +0000746 // See comment on framework-atb-backward-compatibility module below
747 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000748 ],
749
Paul Duffin8fcace42019-06-12 13:47:18 +0100750 sdk_version: "core_platform",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800751 libs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800752 "ext",
Insun Kangd5fa8152019-01-24 17:08:10 +0900753 "updatable_media_stubs",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800754 ],
755
Steven Moreland19e8d462019-03-08 10:44:22 -0800756 jarjar_rules: ":framework-jarjar-rules",
Steven Moreland20a18482019-01-17 12:24:54 -0800757
Colin Crosscf3a0b52017-11-16 00:15:28 -0800758 static_libs: [
Dario Frenid8bf22e2018-08-31 14:18:04 +0100759 "apex_aidl_interface-java",
Kalesh Singh759af322019-06-19 12:17:43 -0700760 "suspend_control_aidl_interface-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800761 "framework-protos",
Peiyong Lin9ca1dd82019-01-12 17:44:29 -0800762 "game-driver-protos",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800763 "android.hidl.base-V1.0-java",
Henry Fang5215ac92019-02-01 19:24:55 +0000764 "android.hardware.cas-V1.1-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800765 "android.hardware.cas-V1.0-java",
766 "android.hardware.contexthub-V1.0-java",
767 "android.hardware.health-V1.0-java-constants",
Steven Morelande0dde652019-01-24 12:03:26 -0800768 "android.hardware.radio-V1.0-java",
769 "android.hardware.radio-V1.1-java",
770 "android.hardware.radio-V1.2-java",
771 "android.hardware.radio-V1.3-java",
772 "android.hardware.radio-V1.4-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800773 "android.hardware.thermal-V1.0-java-constants",
Wei Wangfb21bd82019-01-10 14:16:23 -0800774 "android.hardware.thermal-V1.0-java",
Wei Wangbad7c202018-11-01 11:57:39 -0700775 "android.hardware.thermal-V1.1-java",
776 "android.hardware.thermal-V2.0-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800777 "android.hardware.tv.input-V1.0-java-constants",
778 "android.hardware.usb-V1.0-java-constants",
779 "android.hardware.usb-V1.1-java-constants",
Badhri Jagan Sridharane966a382018-12-09 14:49:38 -0800780 "android.hardware.usb-V1.2-java-constants",
Steven Morelande0dde652019-01-24 12:03:26 -0800781 "android.hardware.usb.gadget-V1.0-java",
Michael Wrightf268bf52018-02-07 23:23:34 +0000782 "android.hardware.vibrator-V1.0-java",
783 "android.hardware.vibrator-V1.1-java",
784 "android.hardware.vibrator-V1.2-java",
Harpreet "Eli" Sanghaa456f082018-12-14 12:06:10 +0900785 "android.hardware.vibrator-V1.3-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800786 "android.hardware.wifi-V1.0-java-constants",
arangelov1ab61492018-11-22 13:56:50 +0000787 "devicepolicyprotosnano",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800788 ],
789
Wei Jia0a8a8f02017-12-05 17:05:29 -0800790 required: [
Anton Hansson11905c62018-11-27 12:10:30 +0000791 // TODO: remove gps_debug when the build system propagates "required" properly.
792 "gps_debug.conf",
Logan Chien71ddfea2018-02-27 16:43:50 +0800793 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800794
Colin Crosscf3a0b52017-11-16 00:15:28 -0800795 dxflags: [
796 "--core-library",
797 "--multi-dex",
798 ],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100799
Ashley Roseb47ddd42019-01-28 19:54:09 -0500800 plugins: ["view-inspector-annotation-processor"],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100801}
802
Colin Crossbc2dc312018-10-26 22:34:06 -0700803filegroup {
Steven Moreland19e8d462019-03-08 10:44:22 -0800804 name: "framework-jarjar-rules",
805 srcs: ["jarjar_rules_hidl.txt"],
806}
807
808filegroup {
Colin Crossbc2dc312018-10-26 22:34:06 -0700809 name: "libincident_aidl",
810 srcs: [
811 "core/java/android/os/IIncidentManager.aidl",
812 "core/java/android/os/IIncidentReportStatusListener.aidl",
813 ],
Dan Willemsen4a498502019-06-05 15:51:24 -0700814 path: "core/java",
Colin Crossbc2dc312018-10-26 22:34:06 -0700815}
816
817filegroup {
818 name: "statsd_aidl",
819 srcs: [
820 "core/java/android/os/IStatsCompanionService.aidl",
821 "core/java/android/os/IStatsManager.aidl",
Tej Singha0c89dd2019-01-25 16:39:18 -0800822 "core/java/android/os/IStatsPullerCallback.aidl",
Colin Crossbc2dc312018-10-26 22:34:06 -0700823 ],
Dan Willemsena38ff9f2019-06-11 10:56:01 -0700824 path: "core/java",
Colin Crossbc2dc312018-10-26 22:34:06 -0700825}
826
Michael Wrightc390fbe2018-12-12 19:45:09 +0000827filegroup {
828 name: "libvibrator_aidl",
829 srcs: [
830 "core/java/android/os/IExternalVibrationController.aidl",
831 "core/java/android/os/IExternalVibratorService.aidl",
832 ],
Dan Willemsen4a498502019-06-05 15:51:24 -0700833 path: "core/java",
Michael Wrightc390fbe2018-12-12 19:45:09 +0000834}
835
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100836java_library {
837 name: "framework",
838 defaults: ["framework-defaults"],
839 javac_shard_size: 150,
840}
841
842java_library {
843 name: "framework-annotation-proc",
844 defaults: ["framework-defaults"],
845 // Use UsedByApps annotation processor
Colin Crossa1f8e1a2019-01-21 21:45:20 -0800846 plugins: ["unsupportedappusage-annotation-processor"],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100847}
848
Paul Duffin521975802019-06-05 10:35:08 +0100849// A library including just UnsupportedAppUsage.java classes.
850//
851// Provided for target so that libraries can use it without depending on
852// the whole of framework or the core platform API.
853//
854// Built for host so that the annotation processor can also use this annotation.
855java_library {
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100856 name: "unsupportedappusage-annotation",
Paul Duffin521975802019-06-05 10:35:08 +0100857 host_supported: true,
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100858 srcs: [
859 "core/java/android/annotation/IntDef.java",
860 "core/java/android/annotation/UnsupportedAppUsage.java",
Andrei Onea5e226142019-05-08 13:50:16 +0100861 ":unsupportedappusage_annotation_files",
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100862 ],
Paul Duffin521975802019-06-05 10:35:08 +0100863
864 sdk_version: "core_current",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800865}
866
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000867// A temporary build target that is conditionally included on the bootclasspath if
Paul Duffina3b69212018-01-25 09:58:32 +0000868// android.test.base library has been removed and which provides support for
869// maintaining backwards compatibility for APKs that target pre-P and depend on
870// android.test.base classes. This is used iff REMOVE_ATB_FROM_BCP=true is
871// specified on the build command line.
872java_library {
873 name: "framework-atb-backward-compatibility",
Paul Duffinfab87542019-02-15 11:39:12 +0000874 installable: true,
Paul Duffina3b69212018-01-25 09:58:32 +0000875 srcs: [
876 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
877 ],
878}
879
Colin Crosscf3a0b52017-11-16 00:15:28 -0800880genrule {
881 name: "framework-statslog-gen",
882 tools: ["stats-log-api-gen"],
883 cmd: "$(location stats-log-api-gen) --java $(out)",
David Chen0a368b22017-12-06 16:28:16 -0800884 out: ["android/util/StatsLogInternal.java"],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800885}
886
887gensrcs {
888 name: "framework-javastream-protos",
889 depfile: true,
890
Tobias Thiererbc050342019-05-23 16:20:12 +0100891 tool_files: ["tools/genprotos.sh"],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800892 tools: [
893 "aprotoc",
894 "protoc-gen-javastream",
895 "soong_zip",
896 ],
897
Alex Light159799d2018-08-08 07:05:19 -0700898 // TODO This should not be needed. If you set a custom OUT_DIR or OUT_DIR_COMMON_BASE you can
899 // end up with a command that is extremely long, potentially going passed MAX_ARG_STRLEN due to
900 // the way sbox rewrites the command. See b/70221552.
901 cmd: "$(location tools/genprotos.sh) " +
Tobias Thiererbc050342019-05-23 16:20:12 +0100902 " $(location aprotoc) " +
903 " $(location protoc-gen-javastream) " +
904 " $(location soong_zip) " +
905 " $(genDir) " +
906 " $(depfile) " +
907 " $(in) " +
908 " $(out)",
Yi Jin437aa6e2018-01-10 11:34:26 -0800909 srcs: [
910 "core/proto/**/*.proto",
911 "libs/incident/**/*.proto",
912 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800913 output_extension: "srcjar",
914}
915
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900916filegroup {
Chalard Jean95213512019-01-30 21:04:58 +0900917 name: "framework-annotations",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900918 srcs: [
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900919 "core/java/android/annotation/NonNull.java",
920 "core/java/android/annotation/Nullable.java",
921 "core/java/android/annotation/IntDef.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900922 "core/java/android/annotation/IntRange.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900923 "core/java/android/annotation/UnsupportedAppUsage.java",
Remi NGUYEN VAN231b52b2019-01-29 15:38:52 +0900924 "core/java/com/android/internal/annotations/GuardedBy.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900925 "core/java/com/android/internal/annotations/VisibleForTesting.java",
Tobias Thiererbc050342019-05-23 16:20:12 +0100926 ],
Chalard Jean95213512019-01-30 21:04:58 +0900927}
928
929filegroup {
Remi NGUYEN VANe88516f2019-01-20 09:35:10 +0900930 name: "framework-networkstack-shared-srcs",
931 srcs: [
932 // TODO: remove these annotations as soon as we can use andoid.support.annotations.*
Chalard Jean95213512019-01-30 21:04:58 +0900933 ":framework-annotations",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900934 "core/java/android/net/DhcpResults.java",
Remi NGUYEN VANe88516f2019-01-20 09:35:10 +0900935 "core/java/android/util/LocalLog.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900936 "core/java/com/android/internal/util/HexDump.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900937 "core/java/com/android/internal/util/IndentingPrintWriter.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900938 "core/java/com/android/internal/util/IState.java",
939 "core/java/com/android/internal/util/MessageUtils.java",
940 "core/java/com/android/internal/util/Preconditions.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900941 "core/java/com/android/internal/util/RingBufferIndices.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900942 "core/java/com/android/internal/util/State.java",
943 "core/java/com/android/internal/util/StateMachine.java",
Chalard Jean6a76b7e2019-04-09 11:16:56 +0900944 "core/java/com/android/internal/util/TrafficStatsConstants.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900945 "core/java/com/android/internal/util/WakeupMessage.java",
946 "core/java/android/net/shared/*.java",
Tobias Thiererbc050342019-05-23 16:20:12 +0100947 ],
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900948}
949
Colin Crossd8e02252017-10-02 17:14:22 -0700950// Build ext.jar
951// ============================================================
952java_library {
953 name: "ext",
Colin Crossa12c0f52018-06-27 11:00:11 -0700954 installable: true,
Paul Duffin8fcace42019-06-12 13:47:18 +0100955 sdk_version: "core_platform",
Colin Crossd8e02252017-10-02 17:14:22 -0700956 static_libs: [
957 "libphonenumber-platform",
958 "nist-sip",
959 "tagsoup",
Ricky Wai0d1bc332017-10-31 14:31:01 +0000960 "rappor",
Tony Mak64c4cb22018-09-25 13:38:28 +0100961 "libtextclassifier-java",
962 ],
963 required: [
964 "libtextclassifier",
Colin Crossd8e02252017-10-02 17:14:22 -0700965 ],
966 dxflags: ["--core-library"],
967}
968
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700969// ==== java proto host library ==============================
970java_library_host {
971 name: "platformprotos",
972 srcs: [
973 "cmds/am/proto/instrumentation_data.proto",
Howard Ro0546d542018-08-30 16:23:44 -0700974 "cmds/statsd/src/**/*.proto",
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700975 "core/proto/**/*.proto",
976 "libs/incident/proto/**/*.proto",
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700977 ],
978 proto: {
979 include_dirs: ["external/protobuf/src"],
980 type: "full",
981 },
982 errorprone: {
Tobias Thiererbc050342019-05-23 16:20:12 +0100983 javacflags: ["-Xep:MissingOverride:OFF"], // b/72714520
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700984 },
985}
986
Colin Cross43214162018-08-20 13:57:24 -0700987// ==== java proto device library (for test only) ==============================
988java_library {
989 name: "platformprotosnano",
990 proto: {
991 type: "nano",
992 output_params: ["store_unknown_fields=true"],
993 include_dirs: ["external/protobuf/src"],
994 },
Joe Onorato99598ee2019-02-11 15:55:13 +0000995 exclude_srcs: [
996 "core/proto/android/privacy.proto",
997 "core/proto/android/section.proto",
998 ],
Colin Cross43214162018-08-20 13:57:24 -0700999 sdk_version: "current",
1000 srcs: [
1001 "core/proto/**/*.proto",
1002 "libs/incident/proto/android/os/**/*.proto",
1003 ],
1004}
1005
1006// ==== java proto device library (for test only) ==============================
1007java_library {
1008 name: "platformprotoslite",
1009 proto: {
1010 type: "lite",
1011 include_dirs: ["external/protobuf/src"],
1012 },
1013
1014 srcs: [
1015 "core/proto/**/*.proto",
1016 "libs/incident/proto/android/os/**/*.proto",
1017 ],
Joe Onorato99598ee2019-02-11 15:55:13 +00001018 exclude_srcs: [
1019 "core/proto/android/privacy.proto",
1020 "core/proto/android/section.proto",
1021 ],
Colin Cross43214162018-08-20 13:57:24 -07001022 // Protos have lots of MissingOverride and similar.
1023 errorprone: {
1024 javacflags: ["-XepDisableAllChecks"],
1025 },
1026}
1027
Colin Crossaa0d4352017-05-02 14:14:56 -07001028// ==== c++ proto device library ==============================
Joe Onorato99598ee2019-02-11 15:55:13 +00001029cc_defaults {
1030 name: "libplatformprotos-defaults",
1031
Colin Crossaa0d4352017-05-02 14:14:56 -07001032 proto: {
1033 export_proto_headers: true,
1034 include_dirs: ["external/protobuf/src"],
1035 },
1036
Chih-Hung Hsiehc7edf072017-10-03 09:57:55 -07001037 cflags: [
1038 "-Wall",
1039 "-Werror",
1040 "-Wno-unused-parameter",
1041 ],
Joe Onorato62c220b2017-11-18 20:32:56 -08001042
1043 srcs: [
1044 "core/proto/**/*.proto",
Joe Onorato62c220b2017-11-18 20:32:56 -08001045 ],
Joe Onorato99598ee2019-02-11 15:55:13 +00001046}
1047
1048cc_library {
1049 name: "libplatformprotos",
1050 defaults: ["libplatformprotos-defaults"],
1051 host_supported: true,
Joe Onorato62c220b2017-11-18 20:32:56 -08001052
Colin Crossaa0d4352017-05-02 14:14:56 -07001053 target: {
1054 host: {
1055 proto: {
1056 type: "full",
1057 },
1058 },
1059 android: {
1060 proto: {
1061 type: "lite",
1062 },
Joe Onorato99598ee2019-02-11 15:55:13 +00001063 shared_libs: [
1064 "libprotobuf-cpp-lite",
1065 ],
Colin Crossaa0d4352017-05-02 14:14:56 -07001066 shared: {
Colin Crossaa0d4352017-05-02 14:14:56 -07001067 enabled: false,
1068 },
1069 },
1070 },
Colin Crossaa0d4352017-05-02 14:14:56 -07001071}
1072
Joe Onorato9bd5db72019-04-03 18:19:43 -07001073// This library is meant for vendor code that needs to output protobuf. It links
1074// against the static version of libprotobuf-cpp-lite, for which we can not guarantee
1075// binary compatibility.
1076cc_library {
1077 name: "libplatformprotos-static",
1078 defaults: ["libplatformprotos-defaults"],
1079 host_supported: false,
1080
1081 // This is okay because this library is only built as a static library. The C++
1082 // API is not guaranteed. The proto API is guaranteed to be stable via Metrics Council,
1083 // but is not authorized to be used outside of debugging.
1084 vendor_available: true,
1085
1086 target: {
1087 android: {
1088 proto: {
1089 type: "lite",
1090 },
1091 static_libs: [
1092 "libprotobuf-cpp-lite",
1093 ],
1094 shared: {
1095 enabled: false,
1096 },
1097 },
1098 },
1099}
1100
1101
Joe Onorato99598ee2019-02-11 15:55:13 +00001102// This is the full proto version of libplatformprotos. It may only
1103// be used by test code that is not shipped on the device.
1104cc_library {
1105 name: "libplatformprotos-test",
1106 defaults: ["libplatformprotos-defaults"],
1107 host_supported: false,
1108
1109 target: {
1110 android: {
1111 proto: {
1112 type: "full",
1113 },
1114 shared: {
1115 enabled: false,
1116 },
1117 },
1118 },
1119}
1120
1121
Yi Jin04625ad2017-10-17 18:29:33 -07001122gensrcs {
1123 name: "gen-platform-proto-constants",
1124 depfile: true,
1125
1126 tools: [
1127 "aprotoc",
1128 "protoc-gen-cppstream",
1129 ],
1130
1131 srcs: [
Kweku Adamseadd1232018-02-05 16:45:13 -08001132 "core/proto/android/os/backtrace.proto",
Kweku Adams59e6fd72017-12-27 15:48:14 -08001133 "core/proto/android/os/batterytype.proto",
Yi Jin0eb22342017-11-06 17:17:27 -08001134 "core/proto/android/os/cpufreq.proto",
Yi Jine2f7f792017-11-01 17:08:27 -07001135 "core/proto/android/os/cpuinfo.proto",
Colin Crossbc2dc312018-10-26 22:34:06 -07001136 "core/proto/android/os/data.proto",
Yi Jin04625ad2017-10-17 18:29:33 -07001137 "core/proto/android/os/kernelwake.proto",
1138 "core/proto/android/os/pagetypeinfo.proto",
1139 "core/proto/android/os/procrank.proto",
Kweku Adamsf5cc5752017-12-20 17:59:17 -08001140 "core/proto/android/os/ps.proto",
Yi Jin0dfa7522017-11-06 17:43:47 -08001141 "core/proto/android/os/system_properties.proto",
Yi Jin3c034c92017-12-22 17:36:47 -08001142 "core/proto/android/util/event_log_tags.proto",
Colin Crossbc2dc312018-10-26 22:34:06 -07001143 "core/proto/android/util/log.proto",
Yi Jin04625ad2017-10-17 18:29:33 -07001144 ],
1145
1146 // Append protoc-gen-cppstream tool's PATH otherwise aprotoc can't find the plugin tool
Yi Jin3c034c92017-12-22 17:36:47 -08001147 cmd: "mkdir -p $(genDir) " +
1148 "&& $(location aprotoc) " +
1149 " --plugin=$(location protoc-gen-cppstream) " +
1150 " --dependency_out=$(depfile) " +
1151 " --cppstream_out=$(genDir) " +
1152 " -Iexternal/protobuf/src " +
1153 " -I . " +
1154 " $(in)",
Yi Jin04625ad2017-10-17 18:29:33 -07001155
Logan Chien71ddfea2018-02-27 16:43:50 +08001156 output_extension: "proto.h",
Yi Jin04625ad2017-10-17 18:29:33 -07001157}
1158
Joe Onorato99598ee2019-02-11 15:55:13 +00001159
Dan Albert2a8d9c22016-09-23 15:55:49 -07001160subdirs = [
Yi Jin0a3406f2017-06-22 19:23:11 -07001161 "cmds/*",
Jeff Sharkey0c686e72017-10-23 16:04:31 -06001162 "core/*",
Colin Cross4f8d9e62016-12-01 15:55:00 -08001163 "libs/*",
Colin Cross76de4f62017-05-15 18:10:40 -07001164 "media/*",
Colin Cross747e7c12017-10-24 16:21:22 -07001165 "proto",
Fabien Sanglard19160202017-01-12 14:24:31 -05001166 "tools/*",
Dan Albert2a8d9c22016-09-23 15:55:49 -07001167 "native/android",
Dan Albert7ce8df32016-09-23 16:43:49 -07001168 "native/graphics/jni",
Dan Albert2a8d9c22016-09-23 15:55:49 -07001169]
Svetoslav Ganov74c99832016-12-05 20:07:20 -08001170
1171optional_subdirs = [
1172 "core/tests/utiltests/jni",
1173]
Steven Morelandeddafe92017-10-02 16:58:41 -07001174
Colin Crossa2b78a72018-03-29 13:31:04 -07001175// TODO(b/77285514): remove this once the last few hidl interfaces have been
1176// updated to use hwbinder.stubs.
Steven Morelandeddafe92017-10-02 16:58:41 -07001177java_library {
1178 name: "hwbinder",
Paul Duffin8fcace42019-06-12 13:47:18 +01001179 sdk_version: "core_platform",
Steven Morelandeddafe92017-10-02 16:58:41 -07001180
1181 srcs: [
1182 "core/java/android/os/HidlSupport.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -08001183 "core/java/android/annotation/IntDef.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001184 "core/java/android/annotation/NonNull.java",
Steven Moreland0ff061a2019-03-04 17:56:30 -08001185 "core/java/android/annotation/Nullable.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -08001186 "core/java/android/annotation/SystemApi.java",
Steven Morelandcbba4c72019-01-11 10:19:51 -08001187 "core/java/android/annotation/TestApi.java",
Andrei Onea24ec3212019-03-15 17:35:05 +00001188 "core/java/android/annotation/UnsupportedAppUsage.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001189 "core/java/android/os/HwBinder.java",
1190 "core/java/android/os/HwBlob.java",
1191 "core/java/android/os/HwParcel.java",
1192 "core/java/android/os/IHwBinder.java",
1193 "core/java/android/os/IHwInterface.java",
1194 "core/java/android/os/DeadObjectException.java",
1195 "core/java/android/os/DeadSystemException.java",
Nirav Atre9850dd92018-07-24 17:03:44 -07001196 "core/java/android/os/NativeHandle.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001197 "core/java/android/os/RemoteException.java",
1198 "core/java/android/util/AndroidException.java",
1199 ],
1200
1201 dxflags: ["--core-library"],
1202 installable: false,
1203}
Nan Zhang2db709d2017-11-08 20:48:46 -08001204
1205python_defaults {
1206 name: "base_default",
1207 version: {
1208 py2: {
1209 enabled: true,
1210 embedded_launcher: true,
1211 },
1212 py3: {
1213 enabled: false,
1214 embedded_launcher: false,
1215 },
1216 },
1217}
1218
1219python_binary_host {
1220 name: "fontchain_linter",
1221 defaults: ["base_default"],
1222 main: "tools/fonts/fontchain_linter.py",
1223 srcs: [
1224 "tools/fonts/fontchain_linter.py",
1225 ],
1226 libs: [
1227 "fontTools",
1228 ],
1229}
Nan Zhang172875b2018-02-27 11:24:03 -08001230
1231// TODO: Don't rely on this list once droiddoc can take a list of packages to document
1232frameworks_base_subdirs = [
1233 "core/java",
1234 "graphics/java",
1235 "location/java",
1236 "media/java",
1237 "media/mca/effect/java",
1238 "media/mca/filterfw/java",
1239 "media/mca/filterpacks/java",
1240 "drm/java",
1241 "opengl/java",
1242 "sax/java",
1243 "telecomm/java",
1244 "telephony/java",
1245 "wifi/java",
1246 "lowpan/java",
1247 "keystore/java",
1248 "rs/java",
1249]
1250
1251packages_to_document = [
1252 "android",
1253 "javax/microedition/khronos",
1254 "org/apache/http/conn",
1255 "org/apache/http/params",
1256]
1257
Paul Duffin0440e1f2019-02-11 16:13:25 +00001258// Make the api/current.txt file available for use by modules in other
1259// directories.
1260filegroup {
1261 name: "frameworks-base-api-current.txt",
1262 srcs: [
1263 "api/current.txt",
1264 ],
1265}
1266
Paul Duffincd35de32019-05-30 15:12:47 +01001267// Make the api/system-current.txt file available for use by modules in other
1268// directories.
1269filegroup {
1270 name: "frameworks-base-api-system-current.txt",
1271 srcs: [
1272 "api/system-current.txt",
1273 ],
1274}
1275
1276// Make the api/system-removed.txt file available for use by modules in other
1277// directories.
1278filegroup {
1279 name: "frameworks-base-api-system-removed.txt",
1280 srcs: [
1281 "api/system-removed.txt",
1282 ],
1283}
1284
Nan Zhang7764a4b2018-08-22 11:27:31 -07001285framework_docs_only_args = " -android -manifest $(location core/res/AndroidManifest.xml) " +
Tobias Thiererbc050342019-05-23 16:20:12 +01001286 "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
1287 "-overview $(location core/java/overview.html) " +
1288 // Federate Support Library references against local API file.
1289 "-federate SupportLib https://developer.android.com " +
1290 "-federationapi SupportLib $(location :current-support-api) "
Nan Zhang172875b2018-02-27 11:24:03 -08001291
Nan Zhang7764a4b2018-08-22 11:27:31 -07001292framework_docs_only_libs = [
Nan Zhang7764a4b2018-08-22 11:27:31 -07001293 "voip-common",
1294 "android.test.mock",
1295 "android-support-annotations",
1296 "android-support-compat",
1297 "android-support-core-ui",
1298 "android-support-core-utils",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001299 "android-support-design",
1300 "android-support-dynamic-animation",
1301 "android-support-exifinterface",
1302 "android-support-fragment",
1303 "android-support-media-compat",
1304 "android-support-percent",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001305 "android-support-transition",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001306 "android-support-v7-cardview",
1307 "android-support-v7-gridlayout",
1308 "android-support-v7-mediarouter",
1309 "android-support-v7-palette",
1310 "android-support-v7-preference",
1311 "android-support-v13",
1312 "android-support-v14-preference",
1313 "android-support-v17-leanback",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001314 "android-support-vectordrawable",
1315 "android-support-animatedvectordrawable",
1316 "android-support-v7-appcompat",
1317 "android-support-v7-recyclerview",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001318 "android-support-v8-renderscript",
1319 "android-support-multidex",
1320 "android-support-multidex-instrumentation",
1321]
1322
1323metalava_framework_docs_args = "--manifest $(location core/res/AndroidManifest.xml) " +
1324 "--hide-package com.android.okhttp " +
1325 "--hide-package com.android.org.conscrypt --hide-package com.android.server " +
Adrian Roosc6e2fc82018-12-12 15:08:44 +01001326 "--error UnhiddenSystemApi " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001327 "--hide RequiresPermission " +
1328 "--hide MissingPermission --hide BroadcastBehavior " +
1329 "--hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol " +
Tobias Thierer8f559412019-05-22 20:17:49 +01001330 "--hide SdkConstant --hide HiddenTypeParameter --hide Todo --hide Typo "
1331
1332// http://b/129765390 Rewrite links to "platform" or "technotes" folders
1333// which are siblings (and thus outside of) {@docRoot}.
1334//
1335// We have to escape \ as \\ and $ as $$ here because they get resolved by
1336// different layers of the build tooling. The arguments are wrapped in '' so
1337// that the shell doesn't add yet another level of escaping.
1338metalava_framework_docs_args += " --replace-documentation " +
1339 // packages whose descendants to apply replacement to (all packages from
1340 // libcore/ojluni/src/main/java that contribute to documentation).
1341 "com.sun:java:javax:jdk.net:sun " +
1342 // regex of the string to replace
1343 "'(<a\\s+href\\s?=[\\*\\s]*\")(?:(?:\\{@docRoot\\}/\\.\\./)|(?:(?:\\.\\./)+))((?:platform|technotes).+)\">' " +
1344 // replacement (with $1, $2 backreferences to the regex groups)
1345 "'$$1https://docs.oracle.com/javase/8/docs/$$2\">' "
Nan Zhang7764a4b2018-08-22 11:27:31 -07001346
1347stubs_defaults {
1348 name: "framework-doc-stubs-default",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001349 srcs: [
1350 "test-base/src/**/*.java",
1351 ":opt-telephony-srcs",
1352 ":opt-net-voip-srcs",
Neil Fuller3b1b7032019-02-26 12:00:38 +00001353 ":core_public_api_files",
Insun Kangd5fa8152019-01-24 17:08:10 +09001354 ":updatable-media-srcs-without-aidls",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001355 "test-mock/src/**/*.java",
1356 "test-runner/src/**/*.java",
1357 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001358 srcs_lib: "framework",
1359 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1360 srcs_lib_whitelist_pkgs: packages_to_document,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001361 libs: framework_docs_only_libs,
Nan Zhang3e15ba82018-07-26 18:41:12 +00001362 local_sourcepaths: frameworks_base_subdirs,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001363 create_doc_stubs: true,
1364 annotations_enabled: true,
1365 api_levels_annotations_enabled: true,
1366 api_levels_annotations_dirs: [
1367 "sdk-dir",
1368 "api-versions-jars-dir",
1369 ],
1370 previous_api: ":last-released-public-api",
1371 merge_annotations_dirs: [
1372 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001373 "ojluni-annotated-sdk-stubs",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001374 ],
1375}
1376
1377doc_defaults {
1378 name: "framework-docs-default",
Nan Zhangb03396e2018-10-11 18:06:10 -07001379 libs: framework_docs_only_libs +
Tobias Thiererbc050342019-05-23 16:20:12 +01001380 ["stub-annotations"],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001381 html_dirs: [
1382 "docs/html",
1383 ],
1384 knowntags: [
1385 "docs/knowntags.txt",
1386 ":known-oj-tags",
1387 ],
1388 custom_template: "droiddoc-templates-sdk",
1389 resourcesdir: "docs/html/reference/images/",
1390 resourcesoutdir: "reference/android/images/",
1391 hdf: [
1392 "dac true",
1393 "sdk.codename O",
1394 "sdk.preview.version 1",
1395 "sdk.version 7.0",
1396 "sdk.rel.id 1",
1397 "sdk.preview 0",
1398 ],
1399 arg_files: [
1400 "core/res/AndroidManifest.xml",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001401 "core/java/overview.html",
1402 ":current-support-api",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001403 ],
1404 create_stubs: false,
1405}
1406
Nan Zhang894c9ec2018-09-10 18:58:39 -07001407stubs_defaults {
Nan Zhangd25ad462018-08-22 10:48:15 -07001408 name: "metalava-api-stubs-default",
1409 srcs: [
1410 ":opt-telephony-srcs",
1411 ":opt-net-voip-srcs",
Neil Fuller3b1b7032019-02-26 12:00:38 +00001412 ":core_public_api_files",
Insun Kangd5fa8152019-01-24 17:08:10 +09001413 ":updatable-media-srcs-without-aidls",
Nan Zhangd25ad462018-08-22 10:48:15 -07001414 ],
1415 srcs_lib: "framework",
1416 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1417 srcs_lib_whitelist_pkgs: packages_to_document,
1418 libs: [
Nan Zhangd25ad462018-08-22 10:48:15 -07001419 "ext",
1420 "framework",
1421 "voip-common",
Nan Zhangd25ad462018-08-22 10:48:15 -07001422 ],
1423 local_sourcepaths: frameworks_base_subdirs,
1424 installable: false,
Nan Zhang894c9ec2018-09-10 18:58:39 -07001425 annotations_enabled: true,
1426 previous_api: ":last-released-public-api",
1427 merge_annotations_dirs: [
Nan Zhangd25ad462018-08-22 10:48:15 -07001428 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001429 "ojluni-annotated-sdk-stubs",
Nan Zhangd25ad462018-08-22 10:48:15 -07001430 ],
Nan Zhang91cc7662018-09-18 10:46:10 -07001431 api_levels_annotations_enabled: true,
1432 api_levels_annotations_dirs: [
1433 "sdk-dir",
1434 "api-versions-jars-dir",
1435 ],
Nan Zhangd25ad462018-08-22 10:48:15 -07001436}
1437
Nan Zhang7764a4b2018-08-22 11:27:31 -07001438droidstubs {
1439 name: "framework-doc-stubs",
1440 defaults: ["framework-doc-stubs-default"],
1441 arg_files: [
1442 "core/res/AndroidManifest.xml",
1443 ],
1444 args: metalava_framework_docs_args,
1445}
1446
1447droidstubs {
1448 name: "framework-doc-system-stubs",
1449 defaults: ["framework-doc-stubs-default"],
1450 arg_files: [
1451 "core/res/AndroidManifest.xml",
1452 ],
1453 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi ",
1454}
1455
Nan Zhang3e15ba82018-07-26 18:41:12 +00001456droiddoc {
1457 name: "doc-comment-check-docs",
1458 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001459 srcs: [
1460 ":framework-doc-stubs",
1461 ],
1462 args: framework_docs_only_args + " -referenceonly -parsecomments",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001463 installable: false,
1464}
1465
1466droiddoc {
1467 name: "offline-sdk-docs",
1468 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001469 srcs: [
1470 ":framework-doc-stubs",
1471 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001472 hdf: [
1473 "android.whichdoc offline",
1474 ],
1475 proofread_file: "offline-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001476 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\"",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001477 write_sdk_values: true,
1478 static_doc_index_redirect: "docs/docs-preview-index.html",
1479}
1480
1481droiddoc {
Nan Zhang963612b2018-09-21 17:16:49 -07001482 // Please sync with android-api-council@ before making any changes for the name property below.
1483 // Since there's cron jobs that fetch offline-sdk-referenceonly-docs-docs.zip periodically.
1484 // See b/116221385 for reference.
Nan Zhang3e15ba82018-07-26 18:41:12 +00001485 name: "offline-sdk-referenceonly-docs",
1486 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001487 srcs: [
1488 ":framework-doc-stubs",
1489 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001490 hdf: [
1491 "android.whichdoc offline",
1492 ],
1493 proofread_file: "offline-sdk-referenceonly-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001494 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\" -referenceonly",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001495 write_sdk_values: true,
1496 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
1497 static_doc_properties: "docs/source.properties",
1498}
1499
1500droiddoc {
Nan Zhang963612b2018-09-21 17:16:49 -07001501 // Please sync with android-api-council@ before making any changes for the name property below.
1502 // Since there's cron jobs that fetch offline-system-sdk-referenceonly-docs-docs.zip periodically.
1503 // See b/116221385 for reference.
Nan Zhang3e15ba82018-07-26 18:41:12 +00001504 name: "offline-system-sdk-referenceonly-docs",
1505 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001506 srcs: [
1507 ":framework-doc-system-stubs",
1508 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001509 hdf: [
1510 "android.whichdoc offline",
1511 ],
1512 proofread_file: "offline-system-sdk-referenceonly-docs-proofrerad.txt",
Tobias Thiererbc050342019-05-23 16:20:12 +01001513 args: framework_docs_only_args + " -hide 101 -hide 104 -hide 108" +
1514 " -offlinemode -title \"Android System SDK\" -referenceonly",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001515 write_sdk_values: true,
1516 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
1517 static_doc_properties: "docs/source.properties",
1518}
1519
1520droiddoc {
1521 name: "online-sdk-docs",
1522 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001523 srcs: [
1524 ":framework-doc-stubs",
1525 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001526 hdf: [
1527 "android.whichdoc online",
1528 "android.hasSamples true",
1529 ],
1530 proofread_file: "online-sdk-docs-proofrerad.txt",
Tobias Thiererbc050342019-05-23 16:20:12 +01001531 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001532 " -toroot / -samplegroup Admin " +
1533 " -samplegroup Background " +
1534 " -samplegroup Connectivity " +
1535 " -samplegroup Content " +
1536 " -samplegroup Input " +
1537 " -samplegroup Media " +
1538 " -samplegroup Notification " +
1539 " -samplegroup RenderScript " +
1540 " -samplegroup Security " +
1541 " -samplegroup Sensors " +
1542 " -samplegroup System " +
1543 " -samplegroup Testing " +
1544 " -samplegroup UI " +
1545 " -samplegroup Views " +
1546 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1547}
1548
1549droiddoc {
1550 name: "online-system-api-sdk-docs",
1551 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001552 srcs: [
1553 ":framework-doc-system-stubs",
1554 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001555 hdf: [
1556 "android.whichdoc online",
1557 "android.hasSamples true",
1558 ],
1559 proofread_file: "online-system-api-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001560 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001561 " -referenceonly " +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001562 " -title \"Android SDK - Including system APIs.\" " +
1563 " -hide 101 " +
1564 " -hide 104 " +
1565 " -hide 108 " +
1566 " -toroot / -samplegroup Admin " +
1567 " -samplegroup Background " +
1568 " -samplegroup Connectivity " +
1569 " -samplegroup Content " +
1570 " -samplegroup Input " +
1571 " -samplegroup Media " +
1572 " -samplegroup Notification " +
1573 " -samplegroup RenderScript " +
1574 " -samplegroup Security " +
1575 " -samplegroup Sensors " +
1576 " -samplegroup System " +
1577 " -samplegroup Testing " +
1578 " -samplegroup UI " +
1579 " -samplegroup Views " +
1580 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1581 installable: false,
1582}
1583
1584droiddoc {
1585 name: "ds-docs",
1586 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001587 srcs: [
1588 ":framework-doc-stubs",
1589 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001590 hdf: [
1591 "android.whichdoc online",
1592 "android.hasSamples true",
1593 ],
1594 proofread_file: "ds-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001595 args: framework_docs_only_args +
Dirk Dougherty14b05b12019-02-22 20:36:41 -08001596 " -toroot / -yamlV2 -metalavaApiSince -samplegroup Admin " +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001597 " -samplegroup Background " +
1598 " -samplegroup Connectivity " +
1599 " -samplegroup Content " +
1600 " -samplegroup Input " +
1601 " -samplegroup Media " +
1602 " -samplegroup Notification " +
1603 " -samplegroup RenderScript " +
1604 " -samplegroup Security " +
1605 " -samplegroup Sensors " +
1606 " -samplegroup System " +
1607 " -samplegroup Testing " +
1608 " -samplegroup UI " +
1609 " -samplegroup Views " +
1610 " -samplegroup Wearable -devsite -samplesdir development/samples/browseable ",
1611}
1612
1613droiddoc {
1614 name: "ds-static-docs",
1615 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001616 srcs: [
1617 ":framework-doc-stubs",
1618 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001619 hdf: [
1620 "android.whichdoc online",
1621 ],
1622 proofread_file: "ds-static-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001623 args: framework_docs_only_args +
Tobias Thiererbc050342019-05-23 16:20:12 +01001624 " -staticonly " +
1625 " -toroot / " +
1626 " -devsite " +
1627 " -ignoreJdLinks ",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001628}
1629
1630droiddoc {
1631 name: "ds-ref-navtree-docs",
1632 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001633 srcs: [
1634 ":framework-doc-stubs",
1635 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001636 hdf: [
1637 "android.whichdoc online",
1638 ],
1639 proofread_file: "ds-ref-navtree-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001640 args: framework_docs_only_args +
Tobias Thiererbc050342019-05-23 16:20:12 +01001641 " -toroot / " +
1642 " -atLinksNavtree " +
1643 " -navtreeonly ",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001644}
1645
1646droiddoc {
1647 name: "online-sdk-dev-docs",
1648 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001649 srcs: [
1650 ":framework-doc-stubs",
1651 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001652 hdf: [
1653 "android.whichdoc online",
1654 "android.hasSamples true",
1655 ],
1656 proofread_file: "online-sdk-dev-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001657 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001658 " -toroot / -samplegroup Admin " +
1659 " -samplegroup Background " +
1660 " -samplegroup Connectivity " +
1661 " -samplegroup Content " +
1662 " -samplegroup Input " +
1663 " -samplegroup Media " +
1664 " -samplegroup Notification " +
1665 " -samplegroup RenderScript " +
1666 " -samplegroup Security " +
1667 " -samplegroup Sensors " +
1668 " -samplegroup System " +
1669 " -samplegroup Testing " +
1670 " -samplegroup UI " +
1671 " -samplegroup Views " +
1672 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1673}
1674
1675droiddoc {
1676 name: "hidden-docs",
1677 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001678 srcs: [
1679 ":framework-doc-stubs",
1680 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001681 proofread_file: "hidden-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001682 args: framework_docs_only_args +
Tobias Thiererbc050342019-05-23 16:20:12 +01001683 " -referenceonly " +
1684 " -title \"Android SDK - Including hidden APIs.\"",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001685}
1686
Nan Zhang7764a4b2018-08-22 11:27:31 -07001687droidstubs {
Colin Crossa2b78a72018-03-29 13:31:04 -07001688 name: "hwbinder-stubs-docs",
1689 srcs: [
1690 "core/java/android/os/HidlSupport.java",
1691 "core/java/android/annotation/IntDef.java",
1692 "core/java/android/annotation/NonNull.java",
1693 "core/java/android/annotation/SystemApi.java",
1694 "core/java/android/os/HwBinder.java",
1695 "core/java/android/os/HwBlob.java",
1696 "core/java/android/os/HwParcel.java",
1697 "core/java/android/os/IHwBinder.java",
1698 "core/java/android/os/IHwInterface.java",
1699 "core/java/android/os/DeadObjectException.java",
1700 "core/java/android/os/DeadSystemException.java",
Nirav Atre9850dd92018-07-24 17:03:44 -07001701 "core/java/android/os/NativeHandle.java",
Colin Crossa2b78a72018-03-29 13:31:04 -07001702 "core/java/android/os/RemoteException.java",
1703 "core/java/android/util/AndroidException.java",
1704 ],
Colin Crossa2b78a72018-03-29 13:31:04 -07001705 installable: false,
Paul Duffin8fcace42019-06-12 13:47:18 +01001706 sdk_version: "core_platform",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001707 annotations_enabled: true,
1708 previous_api: ":last-released-public-api",
1709 merge_annotations_dirs: [
1710 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001711 "ojluni-annotated-sdk-stubs",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001712 ],
1713 args: " --show-annotation android.annotation.SystemApi",
Colin Crossa2b78a72018-03-29 13:31:04 -07001714}
1715
1716java_library_static {
1717 name: "hwbinder.stubs",
1718 sdk_version: "core_current",
1719 srcs: [
1720 ":hwbinder-stubs-docs",
1721 ],
1722}
Nan Zhanga0f91af2018-04-09 17:41:51 -07001723
Nan Zhang894c9ec2018-09-10 18:58:39 -07001724droidstubs {
Nan Zhangd25ad462018-08-22 10:48:15 -07001725 name: "hiddenapi-lists-docs",
1726 defaults: ["metalava-api-stubs-default"],
David Brazdil4f9d4d52018-04-26 14:05:13 +01001727 arg_files: [
1728 "core/res/AndroidManifest.xml",
David Brazdil4f9d4d52018-04-26 14:05:13 +01001729 ],
David Brazdil6f6a1262018-05-31 13:58:41 +01001730 dex_api_filename: "public-dex.txt",
David Brazdil4f9d4d52018-04-26 14:05:13 +01001731 private_dex_api_filename: "private-dex.txt",
1732 removed_dex_api_filename: "removed-dex.txt",
Nan Zhangd25ad462018-08-22 10:48:15 -07001733 args: metalava_framework_docs_args +
1734 " --show-unannotated " +
1735 " --show-annotation android.annotation.SystemApi " +
Tobias Thiererbc050342019-05-23 16:20:12 +01001736 " --show-annotation android.annotation.TestApi ",
David Brazdil4f9d4d52018-04-26 14:05:13 +01001737}
1738
Nan Zhang7764a4b2018-08-22 11:27:31 -07001739droidstubs {
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001740 name: "hiddenapi-mappings",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001741 defaults: ["metalava-api-stubs-default"],
Paul Duffina0cb5382018-10-31 10:34:51 +00001742 srcs: [
1743 ":openjdk_java_files",
1744 ":non_openjdk_java_files",
Andrei Onea6dd843a2019-03-13 15:27:23 +00001745 ":opt-telephony-common-srcs",
Andrei Onea77b22e32019-03-22 14:56:51 +00001746 "core/java/**/*.java",
Paul Duffina0cb5382018-10-31 10:34:51 +00001747 ],
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001748 arg_files: [
1749 "core/res/AndroidManifest.xml",
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001750 ],
1751 dex_mapping_filename: "dex-mapping.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001752 args: metalava_framework_docs_args +
Adrian Roos9bdbd302018-12-07 13:53:40 +01001753 " --hide ReferencesHidden " +
Adrian Roosc6e2fc82018-12-12 15:08:44 +01001754 " --hide UnhiddenSystemApi " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001755 " --show-unannotated " +
1756 " --show-annotation android.annotation.SystemApi " +
Tobias Thiererbc050342019-05-23 16:20:12 +01001757 " --show-annotation android.annotation.TestApi ",
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001758}
1759
Nan Zhanga0f91af2018-04-09 17:41:51 -07001760filegroup {
1761 name: "apache-http-stubs-sources",
1762 srcs: [
1763 "core/java/org/apache/http/conn/ConnectTimeoutException.java",
1764 "core/java/org/apache/http/conn/scheme/HostNameResolver.java",
1765 "core/java/org/apache/http/conn/scheme/LayeredSocketFactory.java",
1766 "core/java/org/apache/http/conn/scheme/SocketFactory.java",
1767 "core/java/org/apache/http/conn/ssl/AbstractVerifier.java",
1768 "core/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java",
1769 "core/java/org/apache/http/conn/ssl/AndroidDistinguishedNameParser.java",
1770 "core/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java",
1771 "core/java/org/apache/http/conn/ssl/SSLSocketFactory.java",
1772 "core/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java",
1773 "core/java/org/apache/http/conn/ssl/X509HostnameVerifier.java",
1774 "core/java/org/apache/http/params/CoreConnectionPNames.java",
1775 "core/java/org/apache/http/params/HttpConnectionParams.java",
1776 "core/java/org/apache/http/params/HttpParams.java",
Nan Zhanga0f91af2018-04-09 17:41:51 -07001777 "core/java/android/net/http/SslCertificate.java",
1778 "core/java/android/net/http/SslError.java",
1779 "core/java/com/android/internal/util/HexDump.java",
1780 ],
1781}
Nan Zhang4212eb12018-04-25 17:23:33 -07001782
Nan Zhang894c9ec2018-09-10 18:58:39 -07001783droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001784 name: "api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001785 defaults: ["metalava-api-stubs-default"],
Nan Zhang4212eb12018-04-25 17:23:33 -07001786 api_filename: "public_api.txt",
1787 private_api_filename: "private.txt",
1788 removed_api_filename: "removed.txt",
1789 arg_files: [
1790 "core/res/AndroidManifest.xml",
1791 ],
1792 args: metalava_framework_docs_args,
Nan Zhange5612602018-08-16 16:16:00 -07001793 check_api: {
1794 current: {
1795 api_file: "api/current.txt",
1796 removed_api_file: "api/removed.txt",
1797 },
Nan Zhangcd060d92018-08-20 20:34:26 -07001798 last_released: {
1799 api_file: ":last-released-public-api",
1800 removed_api_file: "api/removed.txt",
1801 },
Nan Zhange5612602018-08-16 16:16:00 -07001802 },
Nan Zhang81f29f52018-09-17 14:33:08 -07001803 jdiff_enabled: true,
Nan Zhang4212eb12018-04-25 17:23:33 -07001804}
1805
Nan Zhang894c9ec2018-09-10 18:58:39 -07001806droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001807 name: "system-api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001808 defaults: ["metalava-api-stubs-default"],
Nan Zhang4d3f5012018-08-07 13:40:33 -07001809 api_tag_name: "SYSTEM",
Nan Zhang4212eb12018-04-25 17:23:33 -07001810 api_filename: "system-api.txt",
1811 private_api_filename: "system-private.txt",
1812 private_dex_api_filename: "system-private-dex.txt",
1813 removed_api_filename: "system-removed.txt",
1814 arg_files: [
1815 "core/res/AndroidManifest.xml",
1816 ],
1817 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi",
Nan Zhange5612602018-08-16 16:16:00 -07001818 check_api: {
1819 current: {
1820 api_file: "api/system-current.txt",
1821 removed_api_file: "api/system-removed.txt",
1822 },
Nan Zhangcd060d92018-08-20 20:34:26 -07001823 last_released: {
1824 api_file: ":last-released-system-api",
1825 removed_api_file: "api/system-removed.txt",
1826 },
Nan Zhange5612602018-08-16 16:16:00 -07001827 },
Nan Zhang81f29f52018-09-17 14:33:08 -07001828 jdiff_enabled: true,
Nan Zhang4212eb12018-04-25 17:23:33 -07001829}
1830
Nan Zhang894c9ec2018-09-10 18:58:39 -07001831droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001832 name: "test-api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001833 defaults: ["metalava-api-stubs-default"],
Nan Zhang4d3f5012018-08-07 13:40:33 -07001834 api_tag_name: "TEST",
Nan Zhang4212eb12018-04-25 17:23:33 -07001835 api_filename: "test-api.txt",
1836 removed_api_filename: "test-removed.txt",
1837 arg_files: [
1838 "core/res/AndroidManifest.xml",
1839 ],
1840 args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi",
Nan Zhange5612602018-08-16 16:16:00 -07001841 check_api: {
1842 current: {
1843 api_file: "api/test-current.txt",
1844 removed_api_file: "api/test-removed.txt",
1845 },
1846 },
Nan Zhang4212eb12018-04-25 17:23:33 -07001847}
Nan Zhangaf251302018-08-30 10:59:51 -07001848
1849filegroup {
1850 name: "framework-annotation-nonnull-srcs",
1851 srcs: [
1852 "core/java/android/annotation/NonNull.java",
1853 ],
1854}
Insun Kang06b25ae2018-11-20 10:05:44 +09001855
1856filegroup {
1857 name: "framework-media-annotation-srcs",
1858 srcs: [
1859 "core/java/android/annotation/CallbackExecutor.java",
Insun Kangf86a56c2019-01-22 17:16:07 +09001860 "core/java/android/annotation/CallSuper.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001861 "core/java/android/annotation/DrawableRes.java",
1862 "core/java/android/annotation/IntDef.java",
1863 "core/java/android/annotation/LongDef.java",
1864 "core/java/android/annotation/NonNull.java",
1865 "core/java/android/annotation/Nullable.java",
1866 "core/java/android/annotation/RequiresPermission.java",
1867 "core/java/android/annotation/SdkConstant.java",
1868 "core/java/android/annotation/StringDef.java",
Sungsoo Limbb3b4012019-01-23 13:17:53 +09001869 "core/java/android/annotation/SystemApi.java",
Dongwon Kang3584c662018-11-27 11:14:08 -08001870 "core/java/android/annotation/TestApi.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001871 "core/java/android/annotation/UnsupportedAppUsage.java",
Dongwon Kang3584c662018-11-27 11:14:08 -08001872 "core/java/com/android/internal/annotations/GuardedBy.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001873 ],
1874}
1875
Andrei Onea7a2985c2019-02-18 15:28:35 +00001876// Creates an index of AIDL methods; used for adding UnsupportedAppUsage
1877// annotations to private apis
1878aidl_mapping {
1879 name: "framework-aidl-mappings",
1880 srcs: [":framework-defaults"],
Tobias Thiererbc050342019-05-23 16:20:12 +01001881 output: "framework-aidl-mappings.txt",
Kyunglyul Hyund51666d2019-04-11 04:08:40 +00001882}