blob: e98e1a5dceb22ea41b7e0ac1b10a3a3a90d1788b [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 Danisevskise7a87a92019-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",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800424 "core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl",
Yohei Yukawac54c1172018-09-06 11:39:50 -0700425 "core/java/com/android/internal/inputmethod/IInputMethodPrivilegedOperations.aidl",
Yohei Yukawabae5bea2018-11-12 15:08:30 -0800426 "core/java/com/android/internal/inputmethod/IMultiClientInputMethod.aidl",
427 "core/java/com/android/internal/inputmethod/IMultiClientInputMethodPrivilegedOperations.aidl",
428 "core/java/com/android/internal/inputmethod/IMultiClientInputMethodSession.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800429 "core/java/com/android/internal/net/INetworkWatchlistManager.aidl",
430 "core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl",
431 "core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl",
432 "core/java/com/android/internal/policy/IKeyguardExitCallback.aidl",
433 "core/java/com/android/internal/policy/IKeyguardService.aidl",
434 "core/java/com/android/internal/policy/IKeyguardStateCallback.aidl",
435 "core/java/com/android/internal/policy/IShortcutService.aidl",
436 "core/java/com/android/internal/os/IDropBoxManagerService.aidl",
437 "core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl",
438 "core/java/com/android/internal/os/IResultReceiver.aidl",
439 "core/java/com/android/internal/os/IShellCallback.aidl",
440 "core/java/com/android/internal/statusbar/IStatusBar.aidl",
441 "core/java/com/android/internal/statusbar/IStatusBarService.aidl",
Yohei Yukawa49efa712019-04-04 11:49:02 -0700442 "core/java/com/android/internal/statusbar/RegisterStatusBarResult.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800443 "core/java/com/android/internal/textservice/ISpellCheckerService.aidl",
444 "core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl",
445 "core/java/com/android/internal/textservice/ISpellCheckerSession.aidl",
446 "core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl",
447 "core/java/com/android/internal/textservice/ITextServicesManager.aidl",
448 "core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl",
449 "core/java/com/android/internal/view/IDragAndDropPermissions.aidl",
450 "core/java/com/android/internal/view/IInputContext.aidl",
451 "core/java/com/android/internal/view/IInputContextCallback.aidl",
452 "core/java/com/android/internal/view/IInputMethod.aidl",
453 "core/java/com/android/internal/view/IInputMethodClient.aidl",
454 "core/java/com/android/internal/view/IInputMethodManager.aidl",
455 "core/java/com/android/internal/view/IInputMethodSession.aidl",
456 "core/java/com/android/internal/view/IInputSessionCallback.aidl",
457 "core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl",
458 "core/java/com/android/internal/widget/ILockSettings.aidl",
459 "core/java/com/android/internal/widget/IRemoteViewsFactory.aidl",
460 "keystore/java/android/security/IKeyChainAliasCallback.aidl",
461 "keystore/java/android/security/IKeyChainService.aidl",
462 "location/java/android/location/IBatchedLocationCallback.aidl",
463 "location/java/android/location/ICountryDetector.aidl",
464 "location/java/android/location/ICountryListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800465 "location/java/android/location/IGeocodeProvider.aidl",
466 "location/java/android/location/IGeofenceProvider.aidl",
467 "location/java/android/location/IGnssStatusListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800468 "location/java/android/location/IGnssMeasurementsListener.aidl",
469 "location/java/android/location/IGnssNavigationMessageListener.aidl",
470 "location/java/android/location/ILocationListener.aidl",
471 "location/java/android/location/ILocationManager.aidl",
472 "location/java/android/location/IFusedGeofenceHardware.aidl",
473 "location/java/android/location/IGpsGeofenceHardware.aidl",
474 "location/java/android/location/INetInitiatedListener.aidl",
475 "location/java/com/android/internal/location/ILocationProvider.aidl",
Soonil Nagarkar1575a042018-10-24 17:54:54 -0700476 "location/java/com/android/internal/location/ILocationProviderManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800477 "media/java/android/media/IAudioFocusDispatcher.aidl",
478 "media/java/android/media/IAudioRoutesObserver.aidl",
Jaewan Kim379e30d2018-01-29 11:57:04 +0900479 "media/java/android/media/IAudioService.aidl",
Eric Laurent1d3cdce2018-01-20 10:31:21 -0800480 "media/java/android/media/IAudioServerStateDispatcher.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800481 "media/java/android/media/IMediaHTTPConnection.aidl",
482 "media/java/android/media/IMediaHTTPService.aidl",
483 "media/java/android/media/IMediaResourceMonitor.aidl",
484 "media/java/android/media/IMediaRouterClient.aidl",
485 "media/java/android/media/IMediaRouterService.aidl",
486 "media/java/android/media/IMediaScannerListener.aidl",
487 "media/java/android/media/IMediaScannerService.aidl",
488 "media/java/android/media/IPlaybackConfigDispatcher.aidl",
489 ":libaudioclient_aidl",
490 "media/java/android/media/IRecordingConfigDispatcher.aidl",
491 "media/java/android/media/IRemoteDisplayCallback.aidl",
492 "media/java/android/media/IRemoteDisplayProvider.aidl",
493 "media/java/android/media/IRemoteVolumeController.aidl",
494 "media/java/android/media/IRemoteVolumeObserver.aidl",
495 "media/java/android/media/IRingtonePlayer.aidl",
496 "media/java/android/media/IVolumeController.aidl",
497 "media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl",
498 "media/java/android/media/midi/IBluetoothMidiService.aidl",
499 "media/java/android/media/midi/IMidiDeviceListener.aidl",
500 "media/java/android/media/midi/IMidiDeviceOpenCallback.aidl",
501 "media/java/android/media/midi/IMidiDeviceServer.aidl",
502 "media/java/android/media/midi/IMidiManager.aidl",
503 "media/java/android/media/projection/IMediaProjection.aidl",
504 "media/java/android/media/projection/IMediaProjectionCallback.aidl",
505 "media/java/android/media/projection/IMediaProjectionManager.aidl",
506 "media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl",
507 "media/java/android/media/session/IActiveSessionsListener.aidl",
508 "media/java/android/media/session/ICallback.aidl",
509 "media/java/android/media/session/IOnMediaKeyListener.aidl",
510 "media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl",
Hyundo Moon83ff14c2019-01-30 19:49:15 +0900511 "media/java/android/media/session/ISession.aidl",
Jaewan Kimea911862019-01-07 16:45:14 +0900512 "media/java/android/media/session/ISession2TokensListener.aidl",
Hyundo Moon83ff14c2019-01-30 19:49:15 +0900513 "media/java/android/media/session/ISessionCallback.aidl",
514 "media/java/android/media/session/ISessionController.aidl",
515 "media/java/android/media/session/ISessionControllerCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800516 "media/java/android/media/session/ISessionManager.aidl",
Philip P. Moltmann18e3eb82018-03-09 16:55:55 -0800517 "media/java/android/media/soundtrigger/ISoundTriggerDetectionService.aidl",
518 "media/java/android/media/soundtrigger/ISoundTriggerDetectionServiceClient.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800519 "media/java/android/media/tv/ITvInputClient.aidl",
520 "media/java/android/media/tv/ITvInputHardware.aidl",
521 "media/java/android/media/tv/ITvInputHardwareCallback.aidl",
522 "media/java/android/media/tv/ITvInputManager.aidl",
523 "media/java/android/media/tv/ITvInputManagerCallback.aidl",
524 "media/java/android/media/tv/ITvInputService.aidl",
525 "media/java/android/media/tv/ITvInputServiceCallback.aidl",
526 "media/java/android/media/tv/ITvInputSession.aidl",
527 "media/java/android/media/tv/ITvInputSessionCallback.aidl",
528 "media/java/android/media/tv/ITvRemoteProvider.aidl",
529 "media/java/android/media/tv/ITvRemoteServiceInput.aidl",
Hyundo Moon83ff14c2019-01-30 19:49:15 +0900530 "media/java/android/service/media/IMediaBrowserService.aidl",
531 "media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl",
sqianea8970c2018-06-06 22:54:04 -0700532 "telecomm/java/com/android/internal/telecom/ICallRedirectionAdapter.aidl",
533 "telecomm/java/com/android/internal/telecom/ICallRedirectionService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800534 "telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl",
535 "telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl",
536 "telecomm/java/com/android/internal/telecom/IVideoCallback.aidl",
537 "telecomm/java/com/android/internal/telecom/IVideoProvider.aidl",
538 "telecomm/java/com/android/internal/telecom/IConnectionService.aidl",
539 "telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl",
540 "telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl",
541 "telecomm/java/com/android/internal/telecom/IInCallService.aidl",
Hall Liuc47570d2018-12-06 17:53:25 -0800542 "telecomm/java/com/android/internal/telecom/IPhoneAccountSuggestionCallback.aidl",
543 "telecomm/java/com/android/internal/telecom/IPhoneAccountSuggestionService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800544 "telecomm/java/com/android/internal/telecom/ITelecomService.aidl",
545 "telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl",
Mohamed Abdalkader48e18c52018-01-22 15:43:37 -0800546 "telephony/java/android/telephony/data/IDataService.aidl",
547 "telephony/java/android/telephony/data/IDataServiceCallback.aidl",
Jack Yua3ab5752018-02-20 14:08:57 -0800548 "telephony/java/android/telephony/data/IQualifiedNetworksService.aidl",
549 "telephony/java/android/telephony/data/IQualifiedNetworksServiceCallback.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800550 "telephony/java/android/telephony/ims/aidl/IImsCallSessionListener.aidl",
Brad Ebinger112c36d2018-01-16 09:33:47 -0800551 "telephony/java/android/telephony/ims/aidl/IImsCapabilityCallback.aidl",
552 "telephony/java/android/telephony/ims/aidl/IImsConfig.aidl",
553 "telephony/java/android/telephony/ims/aidl/IImsConfigCallback.aidl",
554 "telephony/java/android/telephony/ims/aidl/IImsMmTelFeature.aidl",
555 "telephony/java/android/telephony/ims/aidl/IImsMmTelListener.aidl",
556 "telephony/java/android/telephony/ims/aidl/IImsRegistration.aidl",
557 "telephony/java/android/telephony/ims/aidl/IImsRegistrationCallback.aidl",
558 "telephony/java/android/telephony/ims/aidl/IImsRcsFeature.aidl",
559 "telephony/java/android/telephony/ims/aidl/IImsServiceController.aidl",
560 "telephony/java/android/telephony/ims/aidl/IImsServiceControllerListener.aidl",
Logan Chien71ddfea2018-02-27 16:43:50 +0800561 "telephony/java/android/telephony/ims/aidl/IImsSmsListener.aidl",
Brad Ebingerd1cb3462019-06-20 14:20:01 -0700562 "telephony/java/android/telephony/ims/aidl/IRcsMessage.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800563 "telephony/java/android/telephony/mbms/IMbmsDownloadSessionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800564 "telephony/java/android/telephony/mbms/IMbmsStreamingSessionCallback.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700565 "telephony/java/android/telephony/mbms/IMbmsGroupCallSessionCallback.aidl",
Hall Liu79539972018-03-19 18:12:23 -0700566 "telephony/java/android/telephony/mbms/IDownloadStatusListener.aidl",
567 "telephony/java/android/telephony/mbms/IDownloadProgressListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800568 "telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700569 "telephony/java/android/telephony/mbms/IGroupCallCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800570 "telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl",
571 "telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700572 "telephony/java/android/telephony/mbms/vendor/IMbmsGroupCallService.aidl",
Nathan Harold2aa2cc12018-09-27 18:49:16 -0700573 "telephony/java/android/telephony/ICellInfoCallback.aidl",
Hongming Jin08496b02019-01-25 13:41:52 -0800574 "telephony/java/android/telephony/IFinancialSmsCallback.aidl",
Jack Yud5f1de12017-12-21 11:00:05 -0800575 "telephony/java/android/telephony/INetworkService.aidl",
576 "telephony/java/android/telephony/INetworkServiceCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800577 "telephony/java/com/android/ims/internal/IImsCallSession.aidl",
578 "telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl",
579 "telephony/java/com/android/ims/internal/IImsConfig.aidl",
580 "telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl",
581 "telephony/java/com/android/ims/internal/IImsEcbm.aidl",
582 "telephony/java/com/android/ims/internal/IImsEcbmListener.aidl",
583 "telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl",
584 "telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl",
585 "telephony/java/com/android/ims/internal/IImsMMTelFeature.aidl",
586 "telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl",
587 "telephony/java/com/android/ims/internal/IImsRcsFeature.aidl",
588 "telephony/java/com/android/ims/internal/IImsService.aidl",
589 "telephony/java/com/android/ims/internal/IImsServiceController.aidl",
590 "telephony/java/com/android/ims/internal/IImsServiceFeatureCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800591 "telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl",
592 "telephony/java/com/android/ims/internal/IImsUt.aidl",
593 "telephony/java/com/android/ims/internal/IImsUtListener.aidl",
594 "telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl",
595 "telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800596 "telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl",
597 "telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl",
598 "telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl",
599 "telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl",
600 "telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl",
601 "telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl",
602 "telephony/java/com/android/ims/ImsConfigListener.aidl",
603 "telephony/java/com/android/internal/telephony/IApnSourceService.aidl",
604 "telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl",
Brad Ebinger360415a2019-04-30 11:37:27 -0700605 "telephony/java/com/android/internal/telephony/IIntegerConsumer.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800606 "telephony/java/com/android/internal/telephony/IMms.aidl",
Hall Liu53140362018-11-28 10:44:22 -0800607 "telephony/java/com/android/internal/telephony/INumberVerificationCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800608 "telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl",
609 "telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl",
610 "telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl",
Malcolm Chenb2b88b32019-02-05 17:19:48 -0800611 "telephony/java/com/android/internal/telephony/ISetOpportunisticDataCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800612 "telephony/java/com/android/internal/telephony/ISms.aidl",
613 "telephony/java/com/android/internal/telephony/ISub.aidl",
Sooraj Sasindranfd617462019-01-08 13:23:17 -0800614 "telephony/java/com/android/internal/telephony/IOns.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800615 "telephony/java/com/android/internal/telephony/ITelephony.aidl",
616 "telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl",
danielwbhuang1f2850c2019-03-06 22:00:29 +0800617 "telephony/java/com/android/internal/telephony/IUpdateAvailableNetworksCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800618 "telephony/java/com/android/internal/telephony/IWapPushManager.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800619 "telephony/java/com/android/internal/telephony/euicc/IAuthenticateServerCallback.aidl",
620 "telephony/java/com/android/internal/telephony/euicc/ICancelSessionCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800621 "telephony/java/com/android/internal/telephony/euicc/IDeleteProfileCallback.aidl",
622 "telephony/java/com/android/internal/telephony/euicc/IDisableProfileCallback.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800623 "telephony/java/com/android/internal/telephony/euicc/IEuiccCardController.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800624 "telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800625 "telephony/java/com/android/internal/telephony/euicc/IGetAllProfilesCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800626 "telephony/java/com/android/internal/telephony/euicc/IGetDefaultSmdpAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800627 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccChallengeCallback.aidl",
628 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo1Callback.aidl",
629 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo2Callback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800630 "telephony/java/com/android/internal/telephony/euicc/IGetProfileCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800631 "telephony/java/com/android/internal/telephony/euicc/IGetRulesAuthTableCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800632 "telephony/java/com/android/internal/telephony/euicc/IGetSmdsAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800633 "telephony/java/com/android/internal/telephony/euicc/IListNotificationsCallback.aidl",
634 "telephony/java/com/android/internal/telephony/euicc/ILoadBoundProfilePackageCallback.aidl",
635 "telephony/java/com/android/internal/telephony/euicc/IPrepareDownloadCallback.aidl",
636 "telephony/java/com/android/internal/telephony/euicc/IRemoveNotificationFromListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800637 "telephony/java/com/android/internal/telephony/euicc/IResetMemoryCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800638 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationCallback.aidl",
639 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800640 "telephony/java/com/android/internal/telephony/euicc/ISetDefaultSmdpAddressCallback.aidl",
641 "telephony/java/com/android/internal/telephony/euicc/ISetNicknameCallback.aidl",
642 "telephony/java/com/android/internal/telephony/euicc/ISwitchToProfileCallback.aidl",
Roshan Pius3c38ee42018-10-09 10:06:33 -0700643 "wifi/java/android/net/wifi/INetworkRequestMatchCallback.aidl",
644 "wifi/java/android/net/wifi/INetworkRequestUserSelectionCallback.aidl",
Mehdi Alizadeh0037dde2017-11-28 15:31:28 -0800645 "wifi/java/android/net/wifi/ISoftApCallback.aidl",
Roshan Pius80fb1372018-07-16 15:43:03 -0700646 "wifi/java/android/net/wifi/ITrafficStateCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800647 "wifi/java/android/net/wifi/IWifiManager.aidl",
Mingguang Xue77cabc2019-03-08 09:58:23 -0800648 "wifi/java/android/net/wifi/IOnWifiUsabilityStatsListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800649 "wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl",
650 "wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl",
651 "wifi/java/android/net/wifi/aware/IWifiAwareMacAddressProvider.aidl",
652 "wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl",
653 "wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl",
654 "wifi/java/android/net/wifi/rtt/IRttCallback.aidl",
655 "wifi/java/android/net/wifi/rtt/IWifiRttManager.aidl",
656 "wifi/java/android/net/wifi/hotspot2/IProvisioningCallback.aidl",
Hai Shalome1afc8d2018-12-07 10:13:43 -0800657 "wifi/java/android/net/wifi/IDppCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800658 "wifi/java/android/net/wifi/IWifiScanner.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800659 "packages/services/PacProcessor/com/android/net/IProxyService.aidl",
660 "packages/services/Proxy/com/android/net/IProxyCallback.aidl",
661 "packages/services/Proxy/com/android/net/IProxyPortListener.aidl",
662 "core/java/android/service/quicksettings/IQSService.aidl",
663 "core/java/android/service/quicksettings/IQSTileService.aidl",
664
665 ":libupdate_engine_aidl",
666
667 ":storaged_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800668 ":vold_aidl",
Howard Chen0a947642019-01-07 14:10:44 +0800669 ":gsiservice_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800670 ":installd_aidl",
Nandana Duttb3f71682018-10-03 10:01:25 +0100671 ":dumpstate_aidl",
Joe Onoratoe21ab7e2018-12-18 15:00:25 -0800672 ":incidentcompanion_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800673
674 "lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl",
675 "lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl",
676 "lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl",
677 "lowpan/java/android/net/lowpan/ILowpanInterface.aidl",
678 "lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl",
679 "lowpan/java/android/net/lowpan/ILowpanManager.aidl",
680
681 "core/java/android/app/admin/SecurityLogTags.logtags",
682 "core/java/android/content/EventLogTags.logtags",
683 "core/java/android/speech/tts/EventLogTags.logtags",
684 "core/java/android/net/EventLogTags.logtags",
Makoto Onuki49392d32018-04-11 13:51:02 -0700685 "core/java/android/os/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800686 "core/java/android/webkit/EventLogTags.logtags",
Ben Gruverc7ffbe62018-01-19 11:28:04 -0800687 "core/java/com/android/internal/app/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800688 "core/java/com/android/internal/logging/EventLogTags.logtags",
Siyuan Zhoubafcd7b2017-12-04 13:02:11 -0800689 "core/java/com/android/server/DropboxLogTags.logtags",
Ricardo Quesadaab086c52017-12-11 11:26:53 -0800690 "core/java/org/chromium/arc/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800691
Dario Freni2ce84342019-04-26 13:06:22 +0100692 ":apex-properties",
Inseob Kimc1246e62018-11-08 13:13:54 +0900693 ":platform-properties",
694
Colin Crosscf3a0b52017-11-16 00:15:28 -0800695 ":framework-statslog-gen",
696 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800697
698 aidl: {
Colin Cross4eb07842017-12-14 15:18:42 -0800699 export_include_dirs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800700 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
701 "core/java",
702 "graphics/java",
703 "location/java",
704 "lowpan/java",
705 "media/java",
Insun Kangf86a56c2019-01-22 17:16:07 +0900706 "media/apex/java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800707 "media/mca/effect/java",
708 "media/mca/filterfw/java",
709 "media/mca/filterpacks/java",
710 "drm/java",
711 "opengl/java",
712 "sax/java",
713 "telecomm/java",
714 "telephony/java",
715 "wifi/java",
716 "keystore/java",
717 "rs/java",
718 ],
719
720 include_dirs: [
721 "system/update_engine/binder_bindings",
722 "frameworks/native/aidl/binder",
Nandana Duttb3f71682018-10-03 10:01:25 +0100723 "frameworks/native/cmds/dumpstate/binder",
Joe Onoratoe21ab7e2018-12-18 15:00:25 -0800724 "frameworks/native/libs/incidentcompanion/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800725 "frameworks/av/camera/aidl",
726 "frameworks/av/media/libaudioclient/aidl",
727 "frameworks/native/aidl/gui",
Joe Onorato99598ee2019-02-11 15:55:13 +0000728 "frameworks/native/libs/incidentcompanion/binder",
Janis Danisevskise7a87a92019-03-29 10:53:23 -0700729 "system/core/gatekeeperd/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800730 "system/core/storaged/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800731 "system/vold/binder",
Howard Chen0a947642019-01-07 14:10:44 +0800732 "system/gsid/aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800733 "system/bt/binder",
Logan Chien404eb2b2018-02-14 13:53:04 +0800734 "system/security/keystore/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800735 ],
Olivier Gaillardb0ea4212018-07-26 11:52:37 +0100736
Tobias Thiererbc050342019-05-23 16:20:12 +0100737 generate_get_transaction_name: true,
Colin Crosscf3a0b52017-11-16 00:15:28 -0800738 },
739
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000740 exclude_srcs: [
Paul Duffina3b69212018-01-25 09:58:32 +0000741 // See comment on framework-atb-backward-compatibility module below
742 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000743 ],
744
Paul Duffin8fcace42019-06-12 13:47:18 +0100745 sdk_version: "core_platform",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800746 libs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800747 "ext",
Insun Kangd5fa8152019-01-24 17:08:10 +0900748 "updatable_media_stubs",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800749 ],
750
Steven Moreland19e8d462019-03-08 10:44:22 -0800751 jarjar_rules: ":framework-jarjar-rules",
Steven Moreland20a18482019-01-17 12:24:54 -0800752
Colin Crosscf3a0b52017-11-16 00:15:28 -0800753 static_libs: [
Dario Frenid8bf22e2018-08-31 14:18:04 +0100754 "apex_aidl_interface-java",
Kalesh Singh759af322019-06-19 12:17:43 -0700755 "suspend_control_aidl_interface-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800756 "framework-protos",
Peiyong Lin9ca1dd82019-01-12 17:44:29 -0800757 "game-driver-protos",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800758 "android.hidl.base-V1.0-java",
Henry Fang5215ac92019-02-01 19:24:55 +0000759 "android.hardware.cas-V1.1-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800760 "android.hardware.cas-V1.0-java",
761 "android.hardware.contexthub-V1.0-java",
762 "android.hardware.health-V1.0-java-constants",
Steven Morelande0dde652019-01-24 12:03:26 -0800763 "android.hardware.radio-V1.0-java",
764 "android.hardware.radio-V1.1-java",
765 "android.hardware.radio-V1.2-java",
766 "android.hardware.radio-V1.3-java",
767 "android.hardware.radio-V1.4-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800768 "android.hardware.thermal-V1.0-java-constants",
Wei Wangfb21bd82019-01-10 14:16:23 -0800769 "android.hardware.thermal-V1.0-java",
Wei Wangbad7c202018-11-01 11:57:39 -0700770 "android.hardware.thermal-V1.1-java",
771 "android.hardware.thermal-V2.0-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800772 "android.hardware.tv.input-V1.0-java-constants",
773 "android.hardware.usb-V1.0-java-constants",
774 "android.hardware.usb-V1.1-java-constants",
Badhri Jagan Sridharane966a382018-12-09 14:49:38 -0800775 "android.hardware.usb-V1.2-java-constants",
Steven Morelande0dde652019-01-24 12:03:26 -0800776 "android.hardware.usb.gadget-V1.0-java",
Michael Wrightf268bf52018-02-07 23:23:34 +0000777 "android.hardware.vibrator-V1.0-java",
778 "android.hardware.vibrator-V1.1-java",
779 "android.hardware.vibrator-V1.2-java",
Harpreet "Eli" Sanghaa456f082018-12-14 12:06:10 +0900780 "android.hardware.vibrator-V1.3-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800781 "android.hardware.wifi-V1.0-java-constants",
arangelov1ab61492018-11-22 13:56:50 +0000782 "devicepolicyprotosnano",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800783 ],
784
Wei Jia0a8a8f02017-12-05 17:05:29 -0800785 required: [
Anton Hansson11905c62018-11-27 12:10:30 +0000786 // TODO: remove gps_debug when the build system propagates "required" properly.
787 "gps_debug.conf",
Logan Chien71ddfea2018-02-27 16:43:50 +0800788 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800789
Colin Crosscf3a0b52017-11-16 00:15:28 -0800790 dxflags: [
791 "--core-library",
792 "--multi-dex",
793 ],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100794
Ashley Roseb47ddd42019-01-28 19:54:09 -0500795 plugins: ["view-inspector-annotation-processor"],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100796}
797
Colin Crossbc2dc312018-10-26 22:34:06 -0700798filegroup {
Steven Moreland19e8d462019-03-08 10:44:22 -0800799 name: "framework-jarjar-rules",
800 srcs: ["jarjar_rules_hidl.txt"],
801}
802
803filegroup {
Colin Crossbc2dc312018-10-26 22:34:06 -0700804 name: "libincident_aidl",
805 srcs: [
806 "core/java/android/os/IIncidentManager.aidl",
807 "core/java/android/os/IIncidentReportStatusListener.aidl",
808 ],
Dan Willemsen4a498502019-06-05 15:51:24 -0700809 path: "core/java",
Colin Crossbc2dc312018-10-26 22:34:06 -0700810}
811
812filegroup {
813 name: "statsd_aidl",
814 srcs: [
815 "core/java/android/os/IStatsCompanionService.aidl",
816 "core/java/android/os/IStatsManager.aidl",
Tej Singha0c89dd2019-01-25 16:39:18 -0800817 "core/java/android/os/IStatsPullerCallback.aidl",
Colin Crossbc2dc312018-10-26 22:34:06 -0700818 ],
Dan Willemsena38ff9f2019-06-11 10:56:01 -0700819 path: "core/java",
Colin Crossbc2dc312018-10-26 22:34:06 -0700820}
821
Michael Wrightc390fbe2018-12-12 19:45:09 +0000822filegroup {
823 name: "libvibrator_aidl",
824 srcs: [
825 "core/java/android/os/IExternalVibrationController.aidl",
826 "core/java/android/os/IExternalVibratorService.aidl",
827 ],
Dan Willemsen4a498502019-06-05 15:51:24 -0700828 path: "core/java",
Michael Wrightc390fbe2018-12-12 19:45:09 +0000829}
830
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100831java_library {
832 name: "framework",
833 defaults: ["framework-defaults"],
834 javac_shard_size: 150,
835}
836
837java_library {
838 name: "framework-annotation-proc",
839 defaults: ["framework-defaults"],
Anna Trostanetski97088e92019-06-26 14:47:58 +0100840 installable: false,
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100841 // Use UsedByApps annotation processor
Colin Crossa1f8e1a2019-01-21 21:45:20 -0800842 plugins: ["unsupportedappusage-annotation-processor"],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100843}
844
Paul Duffin521975802019-06-05 10:35:08 +0100845// A library including just UnsupportedAppUsage.java classes.
846//
847// Provided for target so that libraries can use it without depending on
848// the whole of framework or the core platform API.
849//
850// Built for host so that the annotation processor can also use this annotation.
851java_library {
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100852 name: "unsupportedappusage-annotation",
Paul Duffin521975802019-06-05 10:35:08 +0100853 host_supported: true,
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100854 srcs: [
855 "core/java/android/annotation/IntDef.java",
856 "core/java/android/annotation/UnsupportedAppUsage.java",
Andrei Onea5e226142019-05-08 13:50:16 +0100857 ":unsupportedappusage_annotation_files",
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100858 ],
Paul Duffin521975802019-06-05 10:35:08 +0100859
860 sdk_version: "core_current",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800861}
862
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000863// A temporary build target that is conditionally included on the bootclasspath if
Paul Duffina3b69212018-01-25 09:58:32 +0000864// android.test.base library has been removed and which provides support for
865// maintaining backwards compatibility for APKs that target pre-P and depend on
866// android.test.base classes. This is used iff REMOVE_ATB_FROM_BCP=true is
867// specified on the build command line.
868java_library {
869 name: "framework-atb-backward-compatibility",
Paul Duffinfab87542019-02-15 11:39:12 +0000870 installable: true,
Paul Duffina3b69212018-01-25 09:58:32 +0000871 srcs: [
872 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
873 ],
874}
875
Colin Crosscf3a0b52017-11-16 00:15:28 -0800876genrule {
877 name: "framework-statslog-gen",
878 tools: ["stats-log-api-gen"],
879 cmd: "$(location stats-log-api-gen) --java $(out)",
David Chen0a368b22017-12-06 16:28:16 -0800880 out: ["android/util/StatsLogInternal.java"],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800881}
882
883gensrcs {
884 name: "framework-javastream-protos",
885 depfile: true,
886
Tobias Thiererbc050342019-05-23 16:20:12 +0100887 tool_files: ["tools/genprotos.sh"],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800888 tools: [
889 "aprotoc",
890 "protoc-gen-javastream",
891 "soong_zip",
892 ],
893
Alex Light159799d2018-08-08 07:05:19 -0700894 // TODO This should not be needed. If you set a custom OUT_DIR or OUT_DIR_COMMON_BASE you can
895 // end up with a command that is extremely long, potentially going passed MAX_ARG_STRLEN due to
896 // the way sbox rewrites the command. See b/70221552.
897 cmd: "$(location tools/genprotos.sh) " +
Tobias Thiererbc050342019-05-23 16:20:12 +0100898 " $(location aprotoc) " +
899 " $(location protoc-gen-javastream) " +
900 " $(location soong_zip) " +
901 " $(genDir) " +
902 " $(depfile) " +
903 " $(in) " +
904 " $(out)",
Yi Jin437aa6e2018-01-10 11:34:26 -0800905 srcs: [
906 "core/proto/**/*.proto",
907 "libs/incident/**/*.proto",
908 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800909 output_extension: "srcjar",
910}
911
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900912filegroup {
Chalard Jean95213512019-01-30 21:04:58 +0900913 name: "framework-annotations",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900914 srcs: [
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900915 "core/java/android/annotation/NonNull.java",
916 "core/java/android/annotation/Nullable.java",
917 "core/java/android/annotation/IntDef.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900918 "core/java/android/annotation/IntRange.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900919 "core/java/android/annotation/UnsupportedAppUsage.java",
Remi NGUYEN VAN231b52b2019-01-29 15:38:52 +0900920 "core/java/com/android/internal/annotations/GuardedBy.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900921 "core/java/com/android/internal/annotations/VisibleForTesting.java",
Tobias Thiererbc050342019-05-23 16:20:12 +0100922 ],
Chalard Jean95213512019-01-30 21:04:58 +0900923}
924
925filegroup {
Remi NGUYEN VANe88516f2019-01-20 09:35:10 +0900926 name: "framework-networkstack-shared-srcs",
927 srcs: [
928 // TODO: remove these annotations as soon as we can use andoid.support.annotations.*
Chalard Jean95213512019-01-30 21:04:58 +0900929 ":framework-annotations",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900930 "core/java/android/net/DhcpResults.java",
Remi NGUYEN VANe88516f2019-01-20 09:35:10 +0900931 "core/java/android/util/LocalLog.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900932 "core/java/com/android/internal/util/HexDump.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900933 "core/java/com/android/internal/util/IndentingPrintWriter.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900934 "core/java/com/android/internal/util/IState.java",
935 "core/java/com/android/internal/util/MessageUtils.java",
936 "core/java/com/android/internal/util/Preconditions.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900937 "core/java/com/android/internal/util/RingBufferIndices.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900938 "core/java/com/android/internal/util/State.java",
939 "core/java/com/android/internal/util/StateMachine.java",
Chalard Jean6a76b7e2019-04-09 11:16:56 +0900940 "core/java/com/android/internal/util/TrafficStatsConstants.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900941 "core/java/com/android/internal/util/WakeupMessage.java",
942 "core/java/android/net/shared/*.java",
Tobias Thiererbc050342019-05-23 16:20:12 +0100943 ],
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900944}
945
Colin Crossd8e02252017-10-02 17:14:22 -0700946// Build ext.jar
947// ============================================================
948java_library {
949 name: "ext",
Colin Crossa12c0f52018-06-27 11:00:11 -0700950 installable: true,
Paul Duffin8fcace42019-06-12 13:47:18 +0100951 sdk_version: "core_platform",
Colin Crossd8e02252017-10-02 17:14:22 -0700952 static_libs: [
953 "libphonenumber-platform",
954 "nist-sip",
955 "tagsoup",
Ricky Wai0d1bc332017-10-31 14:31:01 +0000956 "rappor",
Tony Mak64c4cb22018-09-25 13:38:28 +0100957 "libtextclassifier-java",
958 ],
959 required: [
960 "libtextclassifier",
Colin Crossd8e02252017-10-02 17:14:22 -0700961 ],
962 dxflags: ["--core-library"],
963}
964
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700965// ==== java proto host library ==============================
966java_library_host {
967 name: "platformprotos",
968 srcs: [
969 "cmds/am/proto/instrumentation_data.proto",
Howard Ro0546d542018-08-30 16:23:44 -0700970 "cmds/statsd/src/**/*.proto",
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700971 "core/proto/**/*.proto",
972 "libs/incident/proto/**/*.proto",
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700973 ],
974 proto: {
975 include_dirs: ["external/protobuf/src"],
976 type: "full",
977 },
978 errorprone: {
Tobias Thiererbc050342019-05-23 16:20:12 +0100979 javacflags: ["-Xep:MissingOverride:OFF"], // b/72714520
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700980 },
981}
982
Colin Cross43214162018-08-20 13:57:24 -0700983// ==== java proto device library (for test only) ==============================
984java_library {
985 name: "platformprotosnano",
986 proto: {
987 type: "nano",
988 output_params: ["store_unknown_fields=true"],
989 include_dirs: ["external/protobuf/src"],
990 },
Joe Onorato99598ee2019-02-11 15:55:13 +0000991 exclude_srcs: [
992 "core/proto/android/privacy.proto",
993 "core/proto/android/section.proto",
994 ],
Colin Cross43214162018-08-20 13:57:24 -0700995 sdk_version: "current",
996 srcs: [
997 "core/proto/**/*.proto",
998 "libs/incident/proto/android/os/**/*.proto",
999 ],
1000}
1001
1002// ==== java proto device library (for test only) ==============================
1003java_library {
1004 name: "platformprotoslite",
1005 proto: {
1006 type: "lite",
1007 include_dirs: ["external/protobuf/src"],
1008 },
1009
1010 srcs: [
1011 "core/proto/**/*.proto",
1012 "libs/incident/proto/android/os/**/*.proto",
1013 ],
Joe Onorato99598ee2019-02-11 15:55:13 +00001014 exclude_srcs: [
1015 "core/proto/android/privacy.proto",
1016 "core/proto/android/section.proto",
1017 ],
Colin Cross43214162018-08-20 13:57:24 -07001018 // Protos have lots of MissingOverride and similar.
1019 errorprone: {
1020 javacflags: ["-XepDisableAllChecks"],
1021 },
1022}
1023
Colin Crossaa0d4352017-05-02 14:14:56 -07001024// ==== c++ proto device library ==============================
Joe Onorato99598ee2019-02-11 15:55:13 +00001025cc_defaults {
1026 name: "libplatformprotos-defaults",
1027
Colin Crossaa0d4352017-05-02 14:14:56 -07001028 proto: {
1029 export_proto_headers: true,
1030 include_dirs: ["external/protobuf/src"],
1031 },
1032
Chih-Hung Hsiehc7edf072017-10-03 09:57:55 -07001033 cflags: [
1034 "-Wall",
1035 "-Werror",
1036 "-Wno-unused-parameter",
1037 ],
Joe Onorato62c220b2017-11-18 20:32:56 -08001038
1039 srcs: [
1040 "core/proto/**/*.proto",
Joe Onorato62c220b2017-11-18 20:32:56 -08001041 ],
Joe Onorato99598ee2019-02-11 15:55:13 +00001042}
1043
1044cc_library {
1045 name: "libplatformprotos",
1046 defaults: ["libplatformprotos-defaults"],
1047 host_supported: true,
Joe Onorato62c220b2017-11-18 20:32:56 -08001048
Colin Crossaa0d4352017-05-02 14:14:56 -07001049 target: {
1050 host: {
1051 proto: {
1052 type: "full",
1053 },
1054 },
1055 android: {
1056 proto: {
1057 type: "lite",
1058 },
Joe Onorato99598ee2019-02-11 15:55:13 +00001059 shared_libs: [
1060 "libprotobuf-cpp-lite",
1061 ],
Colin Crossaa0d4352017-05-02 14:14:56 -07001062 shared: {
Colin Crossaa0d4352017-05-02 14:14:56 -07001063 enabled: false,
1064 },
1065 },
1066 },
Colin Crossaa0d4352017-05-02 14:14:56 -07001067}
1068
Joe Onorato9bd5db72019-04-03 18:19:43 -07001069// This library is meant for vendor code that needs to output protobuf. It links
1070// against the static version of libprotobuf-cpp-lite, for which we can not guarantee
1071// binary compatibility.
1072cc_library {
1073 name: "libplatformprotos-static",
1074 defaults: ["libplatformprotos-defaults"],
1075 host_supported: false,
1076
1077 // This is okay because this library is only built as a static library. The C++
1078 // API is not guaranteed. The proto API is guaranteed to be stable via Metrics Council,
1079 // but is not authorized to be used outside of debugging.
1080 vendor_available: true,
1081
1082 target: {
1083 android: {
1084 proto: {
1085 type: "lite",
1086 },
1087 static_libs: [
1088 "libprotobuf-cpp-lite",
1089 ],
1090 shared: {
1091 enabled: false,
1092 },
1093 },
1094 },
1095}
1096
1097
Joe Onorato99598ee2019-02-11 15:55:13 +00001098// This is the full proto version of libplatformprotos. It may only
1099// be used by test code that is not shipped on the device.
1100cc_library {
1101 name: "libplatformprotos-test",
1102 defaults: ["libplatformprotos-defaults"],
1103 host_supported: false,
1104
1105 target: {
1106 android: {
1107 proto: {
1108 type: "full",
1109 },
1110 shared: {
1111 enabled: false,
1112 },
1113 },
1114 },
1115}
1116
1117
Yi Jin04625ad2017-10-17 18:29:33 -07001118gensrcs {
1119 name: "gen-platform-proto-constants",
1120 depfile: true,
1121
1122 tools: [
1123 "aprotoc",
1124 "protoc-gen-cppstream",
1125 ],
1126
1127 srcs: [
Kweku Adamseadd1232018-02-05 16:45:13 -08001128 "core/proto/android/os/backtrace.proto",
Kweku Adams59e6fd72017-12-27 15:48:14 -08001129 "core/proto/android/os/batterytype.proto",
Yi Jin0eb22342017-11-06 17:17:27 -08001130 "core/proto/android/os/cpufreq.proto",
Yi Jine2f7f792017-11-01 17:08:27 -07001131 "core/proto/android/os/cpuinfo.proto",
Colin Crossbc2dc312018-10-26 22:34:06 -07001132 "core/proto/android/os/data.proto",
Yi Jin04625ad2017-10-17 18:29:33 -07001133 "core/proto/android/os/kernelwake.proto",
1134 "core/proto/android/os/pagetypeinfo.proto",
1135 "core/proto/android/os/procrank.proto",
Kweku Adamsf5cc5752017-12-20 17:59:17 -08001136 "core/proto/android/os/ps.proto",
Yi Jin0dfa7522017-11-06 17:43:47 -08001137 "core/proto/android/os/system_properties.proto",
Yi Jin3c034c92017-12-22 17:36:47 -08001138 "core/proto/android/util/event_log_tags.proto",
Colin Crossbc2dc312018-10-26 22:34:06 -07001139 "core/proto/android/util/log.proto",
Yi Jin04625ad2017-10-17 18:29:33 -07001140 ],
1141
1142 // Append protoc-gen-cppstream tool's PATH otherwise aprotoc can't find the plugin tool
Yi Jin3c034c92017-12-22 17:36:47 -08001143 cmd: "mkdir -p $(genDir) " +
1144 "&& $(location aprotoc) " +
1145 " --plugin=$(location protoc-gen-cppstream) " +
1146 " --dependency_out=$(depfile) " +
1147 " --cppstream_out=$(genDir) " +
1148 " -Iexternal/protobuf/src " +
1149 " -I . " +
1150 " $(in)",
Yi Jin04625ad2017-10-17 18:29:33 -07001151
Logan Chien71ddfea2018-02-27 16:43:50 +08001152 output_extension: "proto.h",
Yi Jin04625ad2017-10-17 18:29:33 -07001153}
1154
Joe Onorato99598ee2019-02-11 15:55:13 +00001155
Dan Albert2a8d9c22016-09-23 15:55:49 -07001156subdirs = [
Yi Jin0a3406f2017-06-22 19:23:11 -07001157 "cmds/*",
Jeff Sharkey0c686e72017-10-23 16:04:31 -06001158 "core/*",
Colin Cross4f8d9e62016-12-01 15:55:00 -08001159 "libs/*",
Colin Cross76de4f62017-05-15 18:10:40 -07001160 "media/*",
Colin Cross747e7c12017-10-24 16:21:22 -07001161 "proto",
Fabien Sanglard19160202017-01-12 14:24:31 -05001162 "tools/*",
Dan Albert2a8d9c22016-09-23 15:55:49 -07001163 "native/android",
Dan Albert7ce8df32016-09-23 16:43:49 -07001164 "native/graphics/jni",
Dan Albert2a8d9c22016-09-23 15:55:49 -07001165]
Svetoslav Ganov74c99832016-12-05 20:07:20 -08001166
1167optional_subdirs = [
1168 "core/tests/utiltests/jni",
1169]
Steven Morelandeddafe92017-10-02 16:58:41 -07001170
Colin Crossa2b78a72018-03-29 13:31:04 -07001171// TODO(b/77285514): remove this once the last few hidl interfaces have been
1172// updated to use hwbinder.stubs.
Steven Morelandeddafe92017-10-02 16:58:41 -07001173java_library {
1174 name: "hwbinder",
Paul Duffin8fcace42019-06-12 13:47:18 +01001175 sdk_version: "core_platform",
Steven Morelandeddafe92017-10-02 16:58:41 -07001176
1177 srcs: [
1178 "core/java/android/os/HidlSupport.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -08001179 "core/java/android/annotation/IntDef.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001180 "core/java/android/annotation/NonNull.java",
Steven Moreland0ff061a2019-03-04 17:56:30 -08001181 "core/java/android/annotation/Nullable.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -08001182 "core/java/android/annotation/SystemApi.java",
Steven Morelandcbba4c72019-01-11 10:19:51 -08001183 "core/java/android/annotation/TestApi.java",
Andrei Onea24ec3212019-03-15 17:35:05 +00001184 "core/java/android/annotation/UnsupportedAppUsage.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001185 "core/java/android/os/HwBinder.java",
1186 "core/java/android/os/HwBlob.java",
1187 "core/java/android/os/HwParcel.java",
1188 "core/java/android/os/IHwBinder.java",
1189 "core/java/android/os/IHwInterface.java",
1190 "core/java/android/os/DeadObjectException.java",
1191 "core/java/android/os/DeadSystemException.java",
Nirav Atre9850dd92018-07-24 17:03:44 -07001192 "core/java/android/os/NativeHandle.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001193 "core/java/android/os/RemoteException.java",
1194 "core/java/android/util/AndroidException.java",
1195 ],
1196
1197 dxflags: ["--core-library"],
1198 installable: false,
1199}
Nan Zhang2db709d2017-11-08 20:48:46 -08001200
1201python_defaults {
1202 name: "base_default",
1203 version: {
1204 py2: {
1205 enabled: true,
1206 embedded_launcher: true,
1207 },
1208 py3: {
1209 enabled: false,
1210 embedded_launcher: false,
1211 },
1212 },
1213}
1214
1215python_binary_host {
1216 name: "fontchain_linter",
1217 defaults: ["base_default"],
1218 main: "tools/fonts/fontchain_linter.py",
1219 srcs: [
1220 "tools/fonts/fontchain_linter.py",
1221 ],
1222 libs: [
1223 "fontTools",
1224 ],
1225}
Nan Zhang172875b2018-02-27 11:24:03 -08001226
1227// TODO: Don't rely on this list once droiddoc can take a list of packages to document
1228frameworks_base_subdirs = [
1229 "core/java",
1230 "graphics/java",
1231 "location/java",
1232 "media/java",
1233 "media/mca/effect/java",
1234 "media/mca/filterfw/java",
1235 "media/mca/filterpacks/java",
1236 "drm/java",
1237 "opengl/java",
1238 "sax/java",
1239 "telecomm/java",
1240 "telephony/java",
1241 "wifi/java",
1242 "lowpan/java",
1243 "keystore/java",
1244 "rs/java",
1245]
1246
1247packages_to_document = [
1248 "android",
1249 "javax/microedition/khronos",
1250 "org/apache/http/conn",
1251 "org/apache/http/params",
1252]
1253
Paul Duffin0440e1f2019-02-11 16:13:25 +00001254// Make the api/current.txt file available for use by modules in other
1255// directories.
1256filegroup {
1257 name: "frameworks-base-api-current.txt",
1258 srcs: [
1259 "api/current.txt",
1260 ],
1261}
1262
Paul Duffincd35de32019-05-30 15:12:47 +01001263// Make the api/system-current.txt file available for use by modules in other
1264// directories.
1265filegroup {
1266 name: "frameworks-base-api-system-current.txt",
1267 srcs: [
1268 "api/system-current.txt",
1269 ],
1270}
1271
1272// Make the api/system-removed.txt file available for use by modules in other
1273// directories.
1274filegroup {
1275 name: "frameworks-base-api-system-removed.txt",
1276 srcs: [
1277 "api/system-removed.txt",
1278 ],
1279}
1280
Nan Zhang7764a4b2018-08-22 11:27:31 -07001281framework_docs_only_args = " -android -manifest $(location core/res/AndroidManifest.xml) " +
Tobias Thiererbc050342019-05-23 16:20:12 +01001282 "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
1283 "-overview $(location core/java/overview.html) " +
1284 // Federate Support Library references against local API file.
1285 "-federate SupportLib https://developer.android.com " +
1286 "-federationapi SupportLib $(location :current-support-api) "
Nan Zhang172875b2018-02-27 11:24:03 -08001287
Nan Zhang7764a4b2018-08-22 11:27:31 -07001288framework_docs_only_libs = [
Nan Zhang7764a4b2018-08-22 11:27:31 -07001289 "voip-common",
1290 "android.test.mock",
1291 "android-support-annotations",
1292 "android-support-compat",
1293 "android-support-core-ui",
1294 "android-support-core-utils",
1295 "android-support-customtabs",
1296 "android-support-design",
1297 "android-support-dynamic-animation",
1298 "android-support-exifinterface",
1299 "android-support-fragment",
1300 "android-support-media-compat",
1301 "android-support-percent",
1302 "android-support-recommendation",
1303 "android-support-transition",
1304 "android-support-tv-provider",
1305 "android-support-v7-cardview",
1306 "android-support-v7-gridlayout",
1307 "android-support-v7-mediarouter",
1308 "android-support-v7-palette",
1309 "android-support-v7-preference",
1310 "android-support-v13",
1311 "android-support-v14-preference",
1312 "android-support-v17-leanback",
1313 "android-support-v17-preference-leanback",
1314 "android-support-wear",
1315 "android-support-vectordrawable",
1316 "android-support-animatedvectordrawable",
1317 "android-support-v7-appcompat",
1318 "android-support-v7-recyclerview",
1319 "android-support-emoji",
1320 "android-support-emoji-appcompat",
1321 "android-support-emoji-bundled",
1322 "android-support-v8-renderscript",
1323 "android-support-multidex",
1324 "android-support-multidex-instrumentation",
1325]
1326
1327metalava_framework_docs_args = "--manifest $(location core/res/AndroidManifest.xml) " +
1328 "--hide-package com.android.okhttp " +
1329 "--hide-package com.android.org.conscrypt --hide-package com.android.server " +
Adrian Roosc6e2fc82018-12-12 15:08:44 +01001330 "--error UnhiddenSystemApi " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001331 "--hide RequiresPermission " +
1332 "--hide MissingPermission --hide BroadcastBehavior " +
1333 "--hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol " +
Tobias Thierer8f559412019-05-22 20:17:49 +01001334 "--hide SdkConstant --hide HiddenTypeParameter --hide Todo --hide Typo "
1335
1336// http://b/129765390 Rewrite links to "platform" or "technotes" folders
1337// which are siblings (and thus outside of) {@docRoot}.
1338//
1339// We have to escape \ as \\ and $ as $$ here because they get resolved by
1340// different layers of the build tooling. The arguments are wrapped in '' so
1341// that the shell doesn't add yet another level of escaping.
1342metalava_framework_docs_args += " --replace-documentation " +
1343 // packages whose descendants to apply replacement to (all packages from
1344 // libcore/ojluni/src/main/java that contribute to documentation).
1345 "com.sun:java:javax:jdk.net:sun " +
1346 // regex of the string to replace
1347 "'(<a\\s+href\\s?=[\\*\\s]*\")(?:(?:\\{@docRoot\\}/\\.\\./)|(?:(?:\\.\\./)+))((?:platform|technotes).+)\">' " +
1348 // replacement (with $1, $2 backreferences to the regex groups)
1349 "'$$1https://docs.oracle.com/javase/8/docs/$$2\">' "
Nan Zhang7764a4b2018-08-22 11:27:31 -07001350
1351stubs_defaults {
1352 name: "framework-doc-stubs-default",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001353 srcs: [
1354 "test-base/src/**/*.java",
1355 ":opt-telephony-srcs",
1356 ":opt-net-voip-srcs",
Neil Fuller3b1b7032019-02-26 12:00:38 +00001357 ":core_public_api_files",
Insun Kangd5fa8152019-01-24 17:08:10 +09001358 ":updatable-media-srcs-without-aidls",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001359 "test-mock/src/**/*.java",
1360 "test-runner/src/**/*.java",
1361 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001362 srcs_lib: "framework",
1363 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1364 srcs_lib_whitelist_pkgs: packages_to_document,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001365 libs: framework_docs_only_libs,
Nan Zhang3e15ba82018-07-26 18:41:12 +00001366 local_sourcepaths: frameworks_base_subdirs,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001367 create_doc_stubs: true,
1368 annotations_enabled: true,
1369 api_levels_annotations_enabled: true,
1370 api_levels_annotations_dirs: [
1371 "sdk-dir",
1372 "api-versions-jars-dir",
1373 ],
1374 previous_api: ":last-released-public-api",
1375 merge_annotations_dirs: [
1376 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001377 "ojluni-annotated-sdk-stubs",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001378 ],
1379}
1380
1381doc_defaults {
1382 name: "framework-docs-default",
Nan Zhangb03396e2018-10-11 18:06:10 -07001383 libs: framework_docs_only_libs +
Tobias Thiererbc050342019-05-23 16:20:12 +01001384 ["stub-annotations"],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001385 html_dirs: [
1386 "docs/html",
1387 ],
1388 knowntags: [
1389 "docs/knowntags.txt",
1390 ":known-oj-tags",
1391 ],
1392 custom_template: "droiddoc-templates-sdk",
1393 resourcesdir: "docs/html/reference/images/",
1394 resourcesoutdir: "reference/android/images/",
1395 hdf: [
1396 "dac true",
1397 "sdk.codename O",
1398 "sdk.preview.version 1",
1399 "sdk.version 7.0",
1400 "sdk.rel.id 1",
1401 "sdk.preview 0",
1402 ],
1403 arg_files: [
1404 "core/res/AndroidManifest.xml",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001405 "core/java/overview.html",
1406 ":current-support-api",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001407 ],
1408 create_stubs: false,
1409}
1410
Nan Zhang894c9ec2018-09-10 18:58:39 -07001411stubs_defaults {
Nan Zhangd25ad462018-08-22 10:48:15 -07001412 name: "metalava-api-stubs-default",
1413 srcs: [
1414 ":opt-telephony-srcs",
1415 ":opt-net-voip-srcs",
Neil Fuller3b1b7032019-02-26 12:00:38 +00001416 ":core_public_api_files",
Insun Kangd5fa8152019-01-24 17:08:10 +09001417 ":updatable-media-srcs-without-aidls",
Nan Zhangd25ad462018-08-22 10:48:15 -07001418 ],
1419 srcs_lib: "framework",
1420 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1421 srcs_lib_whitelist_pkgs: packages_to_document,
Nan Zhangd25ad462018-08-22 10:48:15 -07001422 local_sourcepaths: frameworks_base_subdirs,
1423 installable: false,
Nan Zhang894c9ec2018-09-10 18:58:39 -07001424 annotations_enabled: true,
1425 previous_api: ":last-released-public-api",
1426 merge_annotations_dirs: [
Nan Zhangd25ad462018-08-22 10:48:15 -07001427 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001428 "ojluni-annotated-sdk-stubs",
Nan Zhangd25ad462018-08-22 10:48:15 -07001429 ],
Nan Zhang91cc7662018-09-18 10:46:10 -07001430 api_levels_annotations_enabled: true,
1431 api_levels_annotations_dirs: [
1432 "sdk-dir",
1433 "api-versions-jars-dir",
1434 ],
Nan Zhangd25ad462018-08-22 10:48:15 -07001435}
1436
Nan Zhang7764a4b2018-08-22 11:27:31 -07001437droidstubs {
1438 name: "framework-doc-stubs",
1439 defaults: ["framework-doc-stubs-default"],
1440 arg_files: [
1441 "core/res/AndroidManifest.xml",
1442 ],
1443 args: metalava_framework_docs_args,
1444}
1445
1446droidstubs {
1447 name: "framework-doc-system-stubs",
1448 defaults: ["framework-doc-stubs-default"],
1449 arg_files: [
1450 "core/res/AndroidManifest.xml",
1451 ],
1452 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi ",
1453}
1454
Nan Zhang3e15ba82018-07-26 18:41:12 +00001455droiddoc {
1456 name: "doc-comment-check-docs",
1457 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001458 srcs: [
1459 ":framework-doc-stubs",
1460 ],
1461 args: framework_docs_only_args + " -referenceonly -parsecomments",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001462 installable: false,
1463}
1464
1465droiddoc {
1466 name: "offline-sdk-docs",
1467 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001468 srcs: [
1469 ":framework-doc-stubs",
1470 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001471 hdf: [
1472 "android.whichdoc offline",
1473 ],
1474 proofread_file: "offline-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001475 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\"",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001476 write_sdk_values: true,
1477 static_doc_index_redirect: "docs/docs-preview-index.html",
1478}
1479
1480droiddoc {
Nan Zhang963612b2018-09-21 17:16:49 -07001481 // Please sync with android-api-council@ before making any changes for the name property below.
1482 // Since there's cron jobs that fetch offline-sdk-referenceonly-docs-docs.zip periodically.
1483 // See b/116221385 for reference.
Nan Zhang3e15ba82018-07-26 18:41:12 +00001484 name: "offline-sdk-referenceonly-docs",
1485 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001486 srcs: [
1487 ":framework-doc-stubs",
1488 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001489 hdf: [
1490 "android.whichdoc offline",
1491 ],
1492 proofread_file: "offline-sdk-referenceonly-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001493 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\" -referenceonly",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001494 write_sdk_values: true,
1495 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
1496 static_doc_properties: "docs/source.properties",
1497}
1498
1499droiddoc {
Nan Zhang963612b2018-09-21 17:16:49 -07001500 // Please sync with android-api-council@ before making any changes for the name property below.
1501 // Since there's cron jobs that fetch offline-system-sdk-referenceonly-docs-docs.zip periodically.
1502 // See b/116221385 for reference.
Nan Zhang3e15ba82018-07-26 18:41:12 +00001503 name: "offline-system-sdk-referenceonly-docs",
1504 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001505 srcs: [
1506 ":framework-doc-system-stubs",
1507 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001508 hdf: [
1509 "android.whichdoc offline",
1510 ],
1511 proofread_file: "offline-system-sdk-referenceonly-docs-proofrerad.txt",
Tobias Thiererbc050342019-05-23 16:20:12 +01001512 args: framework_docs_only_args + " -hide 101 -hide 104 -hide 108" +
1513 " -offlinemode -title \"Android System SDK\" -referenceonly",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001514 write_sdk_values: true,
1515 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
1516 static_doc_properties: "docs/source.properties",
1517}
1518
1519droiddoc {
1520 name: "online-sdk-docs",
1521 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001522 srcs: [
1523 ":framework-doc-stubs",
1524 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001525 hdf: [
1526 "android.whichdoc online",
1527 "android.hasSamples true",
1528 ],
1529 proofread_file: "online-sdk-docs-proofrerad.txt",
Tobias Thiererbc050342019-05-23 16:20:12 +01001530 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001531 " -toroot / -samplegroup Admin " +
1532 " -samplegroup Background " +
1533 " -samplegroup Connectivity " +
1534 " -samplegroup Content " +
1535 " -samplegroup Input " +
1536 " -samplegroup Media " +
1537 " -samplegroup Notification " +
1538 " -samplegroup RenderScript " +
1539 " -samplegroup Security " +
1540 " -samplegroup Sensors " +
1541 " -samplegroup System " +
1542 " -samplegroup Testing " +
1543 " -samplegroup UI " +
1544 " -samplegroup Views " +
1545 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1546}
1547
1548droiddoc {
1549 name: "online-system-api-sdk-docs",
1550 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001551 srcs: [
1552 ":framework-doc-system-stubs",
1553 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001554 hdf: [
1555 "android.whichdoc online",
1556 "android.hasSamples true",
1557 ],
1558 proofread_file: "online-system-api-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001559 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001560 " -referenceonly " +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001561 " -title \"Android SDK - Including system APIs.\" " +
1562 " -hide 101 " +
1563 " -hide 104 " +
1564 " -hide 108 " +
1565 " -toroot / -samplegroup Admin " +
1566 " -samplegroup Background " +
1567 " -samplegroup Connectivity " +
1568 " -samplegroup Content " +
1569 " -samplegroup Input " +
1570 " -samplegroup Media " +
1571 " -samplegroup Notification " +
1572 " -samplegroup RenderScript " +
1573 " -samplegroup Security " +
1574 " -samplegroup Sensors " +
1575 " -samplegroup System " +
1576 " -samplegroup Testing " +
1577 " -samplegroup UI " +
1578 " -samplegroup Views " +
1579 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1580 installable: false,
1581}
1582
1583droiddoc {
1584 name: "ds-docs",
1585 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001586 srcs: [
1587 ":framework-doc-stubs",
1588 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001589 hdf: [
1590 "android.whichdoc online",
1591 "android.hasSamples true",
1592 ],
1593 proofread_file: "ds-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001594 args: framework_docs_only_args +
Dirk Dougherty14b05b12019-02-22 20:36:41 -08001595 " -toroot / -yamlV2 -metalavaApiSince -samplegroup Admin " +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001596 " -samplegroup Background " +
1597 " -samplegroup Connectivity " +
1598 " -samplegroup Content " +
1599 " -samplegroup Input " +
1600 " -samplegroup Media " +
1601 " -samplegroup Notification " +
1602 " -samplegroup RenderScript " +
1603 " -samplegroup Security " +
1604 " -samplegroup Sensors " +
1605 " -samplegroup System " +
1606 " -samplegroup Testing " +
1607 " -samplegroup UI " +
1608 " -samplegroup Views " +
1609 " -samplegroup Wearable -devsite -samplesdir development/samples/browseable ",
1610}
1611
1612droiddoc {
1613 name: "ds-static-docs",
1614 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001615 srcs: [
1616 ":framework-doc-stubs",
1617 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001618 hdf: [
1619 "android.whichdoc online",
1620 ],
1621 proofread_file: "ds-static-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001622 args: framework_docs_only_args +
Tobias Thiererbc050342019-05-23 16:20:12 +01001623 " -staticonly " +
1624 " -toroot / " +
1625 " -devsite " +
1626 " -ignoreJdLinks ",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001627}
1628
1629droiddoc {
1630 name: "ds-ref-navtree-docs",
1631 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001632 srcs: [
1633 ":framework-doc-stubs",
1634 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001635 hdf: [
1636 "android.whichdoc online",
1637 ],
1638 proofread_file: "ds-ref-navtree-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001639 args: framework_docs_only_args +
Tobias Thiererbc050342019-05-23 16:20:12 +01001640 " -toroot / " +
1641 " -atLinksNavtree " +
1642 " -navtreeonly ",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001643}
1644
1645droiddoc {
1646 name: "online-sdk-dev-docs",
1647 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001648 srcs: [
1649 ":framework-doc-stubs",
1650 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001651 hdf: [
1652 "android.whichdoc online",
1653 "android.hasSamples true",
1654 ],
1655 proofread_file: "online-sdk-dev-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001656 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001657 " -toroot / -samplegroup Admin " +
1658 " -samplegroup Background " +
1659 " -samplegroup Connectivity " +
1660 " -samplegroup Content " +
1661 " -samplegroup Input " +
1662 " -samplegroup Media " +
1663 " -samplegroup Notification " +
1664 " -samplegroup RenderScript " +
1665 " -samplegroup Security " +
1666 " -samplegroup Sensors " +
1667 " -samplegroup System " +
1668 " -samplegroup Testing " +
1669 " -samplegroup UI " +
1670 " -samplegroup Views " +
1671 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1672}
1673
1674droiddoc {
1675 name: "hidden-docs",
1676 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001677 srcs: [
1678 ":framework-doc-stubs",
1679 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001680 proofread_file: "hidden-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001681 args: framework_docs_only_args +
Tobias Thiererbc050342019-05-23 16:20:12 +01001682 " -referenceonly " +
1683 " -title \"Android SDK - Including hidden APIs.\"",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001684}
1685
Nan Zhang7764a4b2018-08-22 11:27:31 -07001686droidstubs {
Colin Crossa2b78a72018-03-29 13:31:04 -07001687 name: "hwbinder-stubs-docs",
1688 srcs: [
1689 "core/java/android/os/HidlSupport.java",
1690 "core/java/android/annotation/IntDef.java",
1691 "core/java/android/annotation/NonNull.java",
1692 "core/java/android/annotation/SystemApi.java",
1693 "core/java/android/os/HwBinder.java",
1694 "core/java/android/os/HwBlob.java",
1695 "core/java/android/os/HwParcel.java",
1696 "core/java/android/os/IHwBinder.java",
1697 "core/java/android/os/IHwInterface.java",
1698 "core/java/android/os/DeadObjectException.java",
1699 "core/java/android/os/DeadSystemException.java",
Nirav Atre9850dd92018-07-24 17:03:44 -07001700 "core/java/android/os/NativeHandle.java",
Colin Crossa2b78a72018-03-29 13:31:04 -07001701 "core/java/android/os/RemoteException.java",
1702 "core/java/android/util/AndroidException.java",
1703 ],
Colin Crossa2b78a72018-03-29 13:31:04 -07001704 installable: false,
Paul Duffin8fcace42019-06-12 13:47:18 +01001705 sdk_version: "core_platform",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001706 annotations_enabled: true,
1707 previous_api: ":last-released-public-api",
1708 merge_annotations_dirs: [
1709 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001710 "ojluni-annotated-sdk-stubs",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001711 ],
1712 args: " --show-annotation android.annotation.SystemApi",
Colin Crossa2b78a72018-03-29 13:31:04 -07001713}
1714
1715java_library_static {
1716 name: "hwbinder.stubs",
1717 sdk_version: "core_current",
1718 srcs: [
1719 ":hwbinder-stubs-docs",
1720 ],
1721}
Nan Zhanga0f91af2018-04-09 17:41:51 -07001722
Nan Zhang894c9ec2018-09-10 18:58:39 -07001723droidstubs {
Nan Zhangd25ad462018-08-22 10:48:15 -07001724 name: "hiddenapi-lists-docs",
1725 defaults: ["metalava-api-stubs-default"],
David Brazdil4f9d4d52018-04-26 14:05:13 +01001726 arg_files: [
1727 "core/res/AndroidManifest.xml",
David Brazdil4f9d4d52018-04-26 14:05:13 +01001728 ],
David Brazdil6f6a1262018-05-31 13:58:41 +01001729 dex_api_filename: "public-dex.txt",
David Brazdil4f9d4d52018-04-26 14:05:13 +01001730 private_dex_api_filename: "private-dex.txt",
1731 removed_dex_api_filename: "removed-dex.txt",
Nan Zhangd25ad462018-08-22 10:48:15 -07001732 args: metalava_framework_docs_args +
1733 " --show-unannotated " +
1734 " --show-annotation android.annotation.SystemApi " +
Tobias Thiererbc050342019-05-23 16:20:12 +01001735 " --show-annotation android.annotation.TestApi ",
David Brazdil4f9d4d52018-04-26 14:05:13 +01001736}
1737
Nan Zhang7764a4b2018-08-22 11:27:31 -07001738droidstubs {
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001739 name: "hiddenapi-mappings",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001740 defaults: ["metalava-api-stubs-default"],
Paul Duffina0cb5382018-10-31 10:34:51 +00001741 srcs: [
1742 ":openjdk_java_files",
1743 ":non_openjdk_java_files",
Andrei Onea6dd843a2019-03-13 15:27:23 +00001744 ":opt-telephony-common-srcs",
Andrei Onea77b22e32019-03-22 14:56:51 +00001745 "core/java/**/*.java",
Paul Duffina0cb5382018-10-31 10:34:51 +00001746 ],
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001747 arg_files: [
1748 "core/res/AndroidManifest.xml",
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001749 ],
1750 dex_mapping_filename: "dex-mapping.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001751 args: metalava_framework_docs_args +
Adrian Roos9bdbd302018-12-07 13:53:40 +01001752 " --hide ReferencesHidden " +
Adrian Roosc6e2fc82018-12-12 15:08:44 +01001753 " --hide UnhiddenSystemApi " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001754 " --show-unannotated " +
1755 " --show-annotation android.annotation.SystemApi " +
Tobias Thiererbc050342019-05-23 16:20:12 +01001756 " --show-annotation android.annotation.TestApi ",
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001757}
1758
Nan Zhanga0f91af2018-04-09 17:41:51 -07001759filegroup {
1760 name: "apache-http-stubs-sources",
1761 srcs: [
1762 "core/java/org/apache/http/conn/ConnectTimeoutException.java",
1763 "core/java/org/apache/http/conn/scheme/HostNameResolver.java",
1764 "core/java/org/apache/http/conn/scheme/LayeredSocketFactory.java",
1765 "core/java/org/apache/http/conn/scheme/SocketFactory.java",
1766 "core/java/org/apache/http/conn/ssl/AbstractVerifier.java",
1767 "core/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java",
1768 "core/java/org/apache/http/conn/ssl/AndroidDistinguishedNameParser.java",
1769 "core/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java",
1770 "core/java/org/apache/http/conn/ssl/SSLSocketFactory.java",
1771 "core/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java",
1772 "core/java/org/apache/http/conn/ssl/X509HostnameVerifier.java",
1773 "core/java/org/apache/http/params/CoreConnectionPNames.java",
1774 "core/java/org/apache/http/params/HttpConnectionParams.java",
1775 "core/java/org/apache/http/params/HttpParams.java",
Nan Zhanga0f91af2018-04-09 17:41:51 -07001776 "core/java/android/net/http/SslCertificate.java",
1777 "core/java/android/net/http/SslError.java",
1778 "core/java/com/android/internal/util/HexDump.java",
1779 ],
1780}
Nan Zhang4212eb12018-04-25 17:23:33 -07001781
Nan Zhang894c9ec2018-09-10 18:58:39 -07001782droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001783 name: "api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001784 defaults: ["metalava-api-stubs-default"],
Nan Zhang4212eb12018-04-25 17:23:33 -07001785 api_filename: "public_api.txt",
1786 private_api_filename: "private.txt",
1787 removed_api_filename: "removed.txt",
1788 arg_files: [
1789 "core/res/AndroidManifest.xml",
1790 ],
1791 args: metalava_framework_docs_args,
Nan Zhange5612602018-08-16 16:16:00 -07001792 check_api: {
1793 current: {
1794 api_file: "api/current.txt",
1795 removed_api_file: "api/removed.txt",
1796 },
Nan Zhangcd060d92018-08-20 20:34:26 -07001797 last_released: {
1798 api_file: ":last-released-public-api",
1799 removed_api_file: "api/removed.txt",
1800 },
Nan Zhange5612602018-08-16 16:16:00 -07001801 },
Nan Zhang81f29f52018-09-17 14:33:08 -07001802 jdiff_enabled: true,
Nan Zhang4212eb12018-04-25 17:23:33 -07001803}
1804
Nan Zhang894c9ec2018-09-10 18:58:39 -07001805droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001806 name: "system-api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001807 defaults: ["metalava-api-stubs-default"],
Nan Zhang4d3f5012018-08-07 13:40:33 -07001808 api_tag_name: "SYSTEM",
Nan Zhang4212eb12018-04-25 17:23:33 -07001809 api_filename: "system-api.txt",
1810 private_api_filename: "system-private.txt",
1811 private_dex_api_filename: "system-private-dex.txt",
1812 removed_api_filename: "system-removed.txt",
1813 arg_files: [
1814 "core/res/AndroidManifest.xml",
1815 ],
1816 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi",
Nan Zhange5612602018-08-16 16:16:00 -07001817 check_api: {
1818 current: {
1819 api_file: "api/system-current.txt",
1820 removed_api_file: "api/system-removed.txt",
1821 },
Nan Zhangcd060d92018-08-20 20:34:26 -07001822 last_released: {
1823 api_file: ":last-released-system-api",
1824 removed_api_file: "api/system-removed.txt",
1825 },
Nan Zhange5612602018-08-16 16:16:00 -07001826 },
Nan Zhang81f29f52018-09-17 14:33:08 -07001827 jdiff_enabled: true,
Nan Zhang4212eb12018-04-25 17:23:33 -07001828}
1829
Nan Zhang894c9ec2018-09-10 18:58:39 -07001830droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001831 name: "test-api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001832 defaults: ["metalava-api-stubs-default"],
Nan Zhang4d3f5012018-08-07 13:40:33 -07001833 api_tag_name: "TEST",
Nan Zhang4212eb12018-04-25 17:23:33 -07001834 api_filename: "test-api.txt",
1835 removed_api_filename: "test-removed.txt",
1836 arg_files: [
1837 "core/res/AndroidManifest.xml",
1838 ],
1839 args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi",
Nan Zhange5612602018-08-16 16:16:00 -07001840 check_api: {
1841 current: {
1842 api_file: "api/test-current.txt",
1843 removed_api_file: "api/test-removed.txt",
1844 },
1845 },
Nan Zhang4212eb12018-04-25 17:23:33 -07001846}
Nan Zhangaf251302018-08-30 10:59:51 -07001847
1848filegroup {
1849 name: "framework-annotation-nonnull-srcs",
1850 srcs: [
1851 "core/java/android/annotation/NonNull.java",
1852 ],
1853}
Insun Kang06b25ae2018-11-20 10:05:44 +09001854
1855filegroup {
1856 name: "framework-media-annotation-srcs",
1857 srcs: [
1858 "core/java/android/annotation/CallbackExecutor.java",
Insun Kangf86a56c2019-01-22 17:16:07 +09001859 "core/java/android/annotation/CallSuper.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001860 "core/java/android/annotation/DrawableRes.java",
1861 "core/java/android/annotation/IntDef.java",
1862 "core/java/android/annotation/LongDef.java",
1863 "core/java/android/annotation/NonNull.java",
1864 "core/java/android/annotation/Nullable.java",
1865 "core/java/android/annotation/RequiresPermission.java",
1866 "core/java/android/annotation/SdkConstant.java",
1867 "core/java/android/annotation/StringDef.java",
Sungsoo Limbb3b4012019-01-23 13:17:53 +09001868 "core/java/android/annotation/SystemApi.java",
Dongwon Kang3584c662018-11-27 11:14:08 -08001869 "core/java/android/annotation/TestApi.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001870 "core/java/android/annotation/UnsupportedAppUsage.java",
Dongwon Kang3584c662018-11-27 11:14:08 -08001871 "core/java/com/android/internal/annotations/GuardedBy.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001872 ],
1873}
1874
Andrei Onea7a2985c2019-02-18 15:28:35 +00001875// Creates an index of AIDL methods; used for adding UnsupportedAppUsage
1876// annotations to private apis
1877aidl_mapping {
1878 name: "framework-aidl-mappings",
1879 srcs: [":framework-defaults"],
Tobias Thiererbc050342019-05-23 16:20:12 +01001880 output: "framework-aidl-mappings.txt",
Dario Freni2ce84342019-04-26 13:06:22 +01001881}
Anna Trostanetski97088e92019-06-26 14:47:58 +01001882
1883genrule {
1884 name: "framework-annotation-proc-index",
1885 srcs: [":framework-annotation-proc"],
1886 cmd: "unzip -qp $(in) unsupportedappusage/unsupportedappusage_index.csv > $(out)",
1887 out: ["unsupportedappusage_index.csv"],
1888 dist: {
1889 targets: ["droidcore"],
1890 },
1891}