blob: ee3b39681ea20bd054dea58261cb7a4ade5dbc38 [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",
Todd Kennedy8f135982019-07-02 07:35:15 -0700282 "core/java/android/permission/IPermissionManager.aidl",
Logan Chien404eb2b2018-02-14 13:53:04 +0800283 ":keystore_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800284 "core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl",
Sunny Goyal54e91342018-11-14 11:59:02 -0800285 "core/java/android/service/appprediction/IPredictionService.aidl",
Felipe Leme749b8892018-12-03 16:30:30 -0800286 "core/java/android/service/autofill/augmented/IAugmentedAutofillService.aidl",
287 "core/java/android/service/autofill/augmented/IFillCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800288 "core/java/android/service/autofill/IAutoFillService.aidl",
Felipe Lemebc055b02018-01-05 17:04:10 -0800289 "core/java/android/service/autofill/IAutofillFieldClassificationService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800290 "core/java/android/service/autofill/IFillCallback.aidl",
291 "core/java/android/service/autofill/ISaveCallback.aidl",
292 "core/java/android/service/carrier/ICarrierService.aidl",
293 "core/java/android/service/carrier/ICarrierMessagingCallback.aidl",
294 "core/java/android/service/carrier/ICarrierMessagingService.aidl",
Makoto Onuki05d64cb2019-02-01 16:04:16 -0800295 "core/java/android/service/carrier/ICarrierMessagingClientService.aidl",
Winson Chung3fb0f252019-01-08 17:41:55 -0800296 "core/java/android/service/contentsuggestions/IContentSuggestionsService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800297 "core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl",
298 "core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl",
299 "core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl",
300 "core/java/android/service/euicc/IEuiccService.aidl",
301 "core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl",
302 "core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl",
303 "core/java/android/service/euicc/IGetEidCallback.aidl",
304 "core/java/android/service/euicc/IGetEuiccInfoCallback.aidl",
305 "core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl",
Qingxi Li54058362017-12-13 15:13:02 -0800306 "core/java/android/service/euicc/IGetOtaStatusCallback.aidl",
Qingxi Li6019f9c2017-12-14 15:36:06 -0800307 "core/java/android/service/euicc/IOtaStatusChangedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800308 "core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl",
309 "core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl",
310 "core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl",
Janis Danisevskis037a63f2019-03-29 10:53:23 -0700311 ":gatekeeper_aidl",
Felipe Leme749b8892018-12-03 16:30:30 -0800312 "core/java/android/service/contentcapture/IContentCaptureService.aidl",
Felipe Lemeaf4e4fd2019-01-15 08:32:42 -0800313 "core/java/android/service/contentcapture/IContentCaptureServiceCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800314 "core/java/android/service/notification/INotificationListener.aidl",
315 "core/java/android/service/notification/IStatusBarNotificationHolder.aidl",
316 "core/java/android/service/notification/IConditionListener.aidl",
317 "core/java/android/service/notification/IConditionProvider.aidl",
318 "core/java/android/service/settings/suggestions/ISuggestionService.aidl",
Hongming Jinfa329d32018-10-26 16:18:07 -0700319 "core/java/android/service/sms/IFinancialSmsService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800320 "core/java/android/service/vr/IPersistentVrStateCallbacks.aidl",
321 "core/java/android/service/vr/IVrListener.aidl",
322 "core/java/android/service/vr/IVrManager.aidl",
323 "core/java/android/service/vr/IVrStateCallbacks.aidl",
Zimuzoa3bb67d2019-03-15 18:05:58 +0000324 "core/java/android/service/watchdog/IExplicitHealthCheckService.aidl",
Zimuzo1a9aac72019-04-24 14:07:24 +0100325 "core/java/android/service/watchdog/PackageConfig.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800326 "core/java/android/print/ILayoutResultCallback.aidl",
327 "core/java/android/print/IPrinterDiscoveryObserver.aidl",
328 "core/java/android/print/IPrintDocumentAdapter.aidl",
329 "core/java/android/print/IPrintDocumentAdapterObserver.aidl",
330 "core/java/android/print/IPrintJobStateChangeListener.aidl",
331 "core/java/android/print/IPrintServicesChangeListener.aidl",
332 "core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl",
333 "core/java/android/print/IPrintManager.aidl",
334 "core/java/android/print/IPrintSpooler.aidl",
335 "core/java/android/print/IPrintSpoolerCallbacks.aidl",
336 "core/java/android/print/IPrintSpoolerClient.aidl",
337 "core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl",
338 "core/java/android/printservice/recommendation/IRecommendationService.aidl",
339 "core/java/android/print/IWriteResultCallback.aidl",
340 "core/java/android/printservice/IPrintService.aidl",
341 "core/java/android/printservice/IPrintServiceClient.aidl",
342 "core/java/android/companion/ICompanionDeviceManager.aidl",
343 "core/java/android/companion/ICompanionDeviceDiscoveryService.aidl",
344 "core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl",
345 "core/java/android/companion/IFindDeviceCallback.aidl",
346 "core/java/android/service/dreams/IDreamManager.aidl",
347 "core/java/android/service/dreams/IDreamService.aidl",
348 "core/java/android/service/oemlock/IOemLockService.aidl",
349 "core/java/android/service/persistentdata/IPersistentDataBlockService.aidl",
350 "core/java/android/service/trust/ITrustAgentService.aidl",
351 "core/java/android/service/trust/ITrustAgentServiceCallback.aidl",
352 "core/java/android/service/voice/IVoiceInteractionService.aidl",
353 "core/java/android/service/voice/IVoiceInteractionSession.aidl",
354 "core/java/android/service/voice/IVoiceInteractionSessionService.aidl",
355 "core/java/android/service/wallpaper/IWallpaperConnection.aidl",
356 "core/java/android/service/wallpaper/IWallpaperEngine.aidl",
357 "core/java/android/service/wallpaper/IWallpaperService.aidl",
358 "core/java/android/service/chooser/IChooserTargetService.aidl",
359 "core/java/android/service/chooser/IChooserTargetResult.aidl",
360 "core/java/android/service/resolver/IResolverRankerService.aidl",
361 "core/java/android/service/resolver/IResolverRankerResult.aidl",
Tony Mak9920dbb2019-01-23 19:49:30 +0000362 "core/java/android/service/textclassifier/ITextClassifierCallback.aidl",
Abodunrinwa Tokid32906c2018-01-18 04:34:44 -0800363 "core/java/android/service/textclassifier/ITextClassifierService.aidl",
Alex Salob81472f2018-12-12 14:44:28 -0800364 "core/java/android/service/attention/IAttentionService.aidl",
365 "core/java/android/service/attention/IAttentionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800366 "core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl",
367 "core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl",
368 "core/java/android/view/accessibility/IAccessibilityManager.aidl",
369 "core/java/android/view/accessibility/IAccessibilityManagerClient.aidl",
370 "core/java/android/view/autofill/IAutoFillManager.aidl",
371 "core/java/android/view/autofill/IAutoFillManagerClient.aidl",
Felipe Leme284ad1c2018-11-15 18:16:12 -0800372 "core/java/android/view/autofill/IAugmentedAutofillManagerClient.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800373 "core/java/android/view/autofill/IAutofillWindowPresenter.aidl",
Felipe Lemeb96878492018-12-17 12:22:29 -0800374 "core/java/android/view/contentcapture/IContentCaptureDirectManager.aidl",
Felipe Leme749b8892018-12-03 16:30:30 -0800375 "core/java/android/view/contentcapture/IContentCaptureManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800376 "core/java/android/view/IApplicationToken.aidl",
377 "core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl",
378 "core/java/android/view/IDockedStackListener.aidl",
Adrian Roos962017e2018-11-27 15:11:46 +0100379 "core/java/android/view/IDisplayFoldListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800380 "core/java/android/view/IGraphicsStats.aidl",
381 "core/java/android/view/IGraphicsStatsCallback.aidl",
Michael Wrightc7995232019-02-14 12:33:46 +0000382 "core/java/android/view/IInputMonitorHost.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800383 "core/java/android/view/IInputFilter.aidl",
384 "core/java/android/view/IInputFilterHost.aidl",
385 "core/java/android/view/IOnKeyguardExitResult.aidl",
386 "core/java/android/view/IPinnedStackController.aidl",
387 "core/java/android/view/IPinnedStackListener.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100388 "core/java/android/view/IRemoteAnimationRunner.aidl",
Winson Chunge2d72172018-01-25 17:46:20 +0000389 "core/java/android/view/IRecentsAnimationController.aidl",
390 "core/java/android/view/IRecentsAnimationRunner.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100391 "core/java/android/view/IRemoteAnimationFinishedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800392 "core/java/android/view/IRotationWatcher.aidl",
Adrian Roos4ffc8972019-02-07 20:45:11 +0100393 "core/java/android/view/ISystemGestureExclusionListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800394 "core/java/android/view/IWallpaperVisibilityListener.aidl",
395 "core/java/android/view/IWindow.aidl",
396 "core/java/android/view/IWindowFocusObserver.aidl",
397 "core/java/android/view/IWindowId.aidl",
398 "core/java/android/view/IWindowManager.aidl",
399 "core/java/android/view/IWindowSession.aidl",
400 "core/java/android/view/IWindowSessionCallback.aidl",
401 "core/java/android/webkit/IWebViewUpdateService.aidl",
402 "core/java/android/speech/IRecognitionListener.aidl",
403 "core/java/android/speech/IRecognitionService.aidl",
404 "core/java/android/speech/tts/ITextToSpeechCallback.aidl",
405 "core/java/android/speech/tts/ITextToSpeechService.aidl",
Svetoslav Ganov2d20fb42018-02-08 15:52:10 -0800406 "core/java/com/android/internal/app/IAppOpsActiveCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800407 "core/java/com/android/internal/app/IAppOpsCallback.aidl",
Svet Ganovb3d2ae22018-12-17 22:06:15 -0800408 "core/java/com/android/internal/app/IAppOpsNotedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800409 "core/java/com/android/internal/app/IAppOpsService.aidl",
410 "core/java/com/android/internal/app/IBatteryStats.aidl",
411 "core/java/com/android/internal/app/ISoundTriggerService.aidl",
jiayuzhou21a353b2018-08-16 16:09:43 -0700412 "core/java/com/android/internal/app/IVoiceActionCheckCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800413 "core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl",
414 "core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl",
415 "core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl",
416 "core/java/com/android/internal/app/IVoiceInteractor.aidl",
417 "core/java/com/android/internal/app/IVoiceInteractorCallback.aidl",
418 "core/java/com/android/internal/app/IVoiceInteractorRequest.aidl",
419 "core/java/com/android/internal/app/IMediaContainerService.aidl",
420 "core/java/com/android/internal/app/procstats/IProcessStats.aidl",
421 "core/java/com/android/internal/appwidget/IAppWidgetService.aidl",
422 "core/java/com/android/internal/appwidget/IAppWidgetHost.aidl",
423 "core/java/com/android/internal/backup/IBackupTransport.aidl",
424 "core/java/com/android/internal/backup/IObbBackupService.aidl",
Eugene Susla53f4df32019-05-17 13:23:44 -0700425 "core/java/com/android/internal/infra/IAndroidFuture.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800426 "core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl",
Yohei Yukawac54c1172018-09-06 11:39:50 -0700427 "core/java/com/android/internal/inputmethod/IInputMethodPrivilegedOperations.aidl",
Yohei Yukawabae5bea2018-11-12 15:08:30 -0800428 "core/java/com/android/internal/inputmethod/IMultiClientInputMethod.aidl",
429 "core/java/com/android/internal/inputmethod/IMultiClientInputMethodPrivilegedOperations.aidl",
430 "core/java/com/android/internal/inputmethod/IMultiClientInputMethodSession.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800431 "core/java/com/android/internal/net/INetworkWatchlistManager.aidl",
432 "core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl",
433 "core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl",
434 "core/java/com/android/internal/policy/IKeyguardExitCallback.aidl",
435 "core/java/com/android/internal/policy/IKeyguardService.aidl",
436 "core/java/com/android/internal/policy/IKeyguardStateCallback.aidl",
437 "core/java/com/android/internal/policy/IShortcutService.aidl",
438 "core/java/com/android/internal/os/IDropBoxManagerService.aidl",
439 "core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl",
440 "core/java/com/android/internal/os/IResultReceiver.aidl",
441 "core/java/com/android/internal/os/IShellCallback.aidl",
442 "core/java/com/android/internal/statusbar/IStatusBar.aidl",
443 "core/java/com/android/internal/statusbar/IStatusBarService.aidl",
Yohei Yukawa49efa712019-04-04 11:49:02 -0700444 "core/java/com/android/internal/statusbar/RegisterStatusBarResult.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800445 "core/java/com/android/internal/textservice/ISpellCheckerService.aidl",
446 "core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl",
447 "core/java/com/android/internal/textservice/ISpellCheckerSession.aidl",
448 "core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl",
449 "core/java/com/android/internal/textservice/ITextServicesManager.aidl",
450 "core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl",
451 "core/java/com/android/internal/view/IDragAndDropPermissions.aidl",
452 "core/java/com/android/internal/view/IInputContext.aidl",
453 "core/java/com/android/internal/view/IInputContextCallback.aidl",
454 "core/java/com/android/internal/view/IInputMethod.aidl",
455 "core/java/com/android/internal/view/IInputMethodClient.aidl",
456 "core/java/com/android/internal/view/IInputMethodManager.aidl",
457 "core/java/com/android/internal/view/IInputMethodSession.aidl",
458 "core/java/com/android/internal/view/IInputSessionCallback.aidl",
459 "core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl",
460 "core/java/com/android/internal/widget/ILockSettings.aidl",
461 "core/java/com/android/internal/widget/IRemoteViewsFactory.aidl",
462 "keystore/java/android/security/IKeyChainAliasCallback.aidl",
463 "keystore/java/android/security/IKeyChainService.aidl",
464 "location/java/android/location/IBatchedLocationCallback.aidl",
465 "location/java/android/location/ICountryDetector.aidl",
466 "location/java/android/location/ICountryListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800467 "location/java/android/location/IGeocodeProvider.aidl",
468 "location/java/android/location/IGeofenceProvider.aidl",
469 "location/java/android/location/IGnssStatusListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800470 "location/java/android/location/IGnssMeasurementsListener.aidl",
471 "location/java/android/location/IGnssNavigationMessageListener.aidl",
472 "location/java/android/location/ILocationListener.aidl",
473 "location/java/android/location/ILocationManager.aidl",
474 "location/java/android/location/IFusedGeofenceHardware.aidl",
475 "location/java/android/location/IGpsGeofenceHardware.aidl",
476 "location/java/android/location/INetInitiatedListener.aidl",
477 "location/java/com/android/internal/location/ILocationProvider.aidl",
Soonil Nagarkar1575a042018-10-24 17:54:54 -0700478 "location/java/com/android/internal/location/ILocationProviderManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800479 "media/java/android/media/IAudioFocusDispatcher.aidl",
480 "media/java/android/media/IAudioRoutesObserver.aidl",
Jaewan Kim379e30d2018-01-29 11:57:04 +0900481 "media/java/android/media/IAudioService.aidl",
Eric Laurent1d3cdce2018-01-20 10:31:21 -0800482 "media/java/android/media/IAudioServerStateDispatcher.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800483 "media/java/android/media/IMediaHTTPConnection.aidl",
484 "media/java/android/media/IMediaHTTPService.aidl",
485 "media/java/android/media/IMediaResourceMonitor.aidl",
Kyunglyul Hyund51666d2019-04-11 04:08:40 +0000486 "media/java/android/media/IMediaRoute2Provider.aidl",
Kyunglyul Hyun3aedf022019-04-15 16:38:19 +0900487 "media/java/android/media/IMediaRoute2ProviderClient.aidl",
Kyunglyul Hyuncaae8dc2019-04-29 15:45:23 +0900488 "media/java/android/media/IMediaRouter2Client.aidl",
Kyunglyul Hyun3aedf022019-04-15 16:38:19 +0900489 "media/java/android/media/IMediaRouter2Manager.aidl",
Kyunglyul Hyuncaae8dc2019-04-29 15:45:23 +0900490 "media/java/android/media/IMediaRouterClient.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800491 "media/java/android/media/IMediaRouterService.aidl",
492 "media/java/android/media/IMediaScannerListener.aidl",
493 "media/java/android/media/IMediaScannerService.aidl",
494 "media/java/android/media/IPlaybackConfigDispatcher.aidl",
495 ":libaudioclient_aidl",
496 "media/java/android/media/IRecordingConfigDispatcher.aidl",
497 "media/java/android/media/IRemoteDisplayCallback.aidl",
498 "media/java/android/media/IRemoteDisplayProvider.aidl",
499 "media/java/android/media/IRemoteVolumeController.aidl",
500 "media/java/android/media/IRemoteVolumeObserver.aidl",
501 "media/java/android/media/IRingtonePlayer.aidl",
502 "media/java/android/media/IVolumeController.aidl",
503 "media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl",
504 "media/java/android/media/midi/IBluetoothMidiService.aidl",
505 "media/java/android/media/midi/IMidiDeviceListener.aidl",
506 "media/java/android/media/midi/IMidiDeviceOpenCallback.aidl",
507 "media/java/android/media/midi/IMidiDeviceServer.aidl",
508 "media/java/android/media/midi/IMidiManager.aidl",
509 "media/java/android/media/projection/IMediaProjection.aidl",
510 "media/java/android/media/projection/IMediaProjectionCallback.aidl",
511 "media/java/android/media/projection/IMediaProjectionManager.aidl",
512 "media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl",
513 "media/java/android/media/session/IActiveSessionsListener.aidl",
514 "media/java/android/media/session/ICallback.aidl",
515 "media/java/android/media/session/IOnMediaKeyListener.aidl",
516 "media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl",
Hyundo Moon83ff14c2019-01-30 19:49:15 +0900517 "media/java/android/media/session/ISession.aidl",
Jaewan Kimea911862019-01-07 16:45:14 +0900518 "media/java/android/media/session/ISession2TokensListener.aidl",
Hyundo Moon83ff14c2019-01-30 19:49:15 +0900519 "media/java/android/media/session/ISessionCallback.aidl",
520 "media/java/android/media/session/ISessionController.aidl",
521 "media/java/android/media/session/ISessionControllerCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800522 "media/java/android/media/session/ISessionManager.aidl",
Philip P. Moltmann18e3eb82018-03-09 16:55:55 -0800523 "media/java/android/media/soundtrigger/ISoundTriggerDetectionService.aidl",
524 "media/java/android/media/soundtrigger/ISoundTriggerDetectionServiceClient.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800525 "media/java/android/media/tv/ITvInputClient.aidl",
526 "media/java/android/media/tv/ITvInputHardware.aidl",
527 "media/java/android/media/tv/ITvInputHardwareCallback.aidl",
528 "media/java/android/media/tv/ITvInputManager.aidl",
529 "media/java/android/media/tv/ITvInputManagerCallback.aidl",
530 "media/java/android/media/tv/ITvInputService.aidl",
531 "media/java/android/media/tv/ITvInputServiceCallback.aidl",
532 "media/java/android/media/tv/ITvInputSession.aidl",
533 "media/java/android/media/tv/ITvInputSessionCallback.aidl",
534 "media/java/android/media/tv/ITvRemoteProvider.aidl",
535 "media/java/android/media/tv/ITvRemoteServiceInput.aidl",
Hyundo Moon83ff14c2019-01-30 19:49:15 +0900536 "media/java/android/service/media/IMediaBrowserService.aidl",
537 "media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl",
sqianea8970c2018-06-06 22:54:04 -0700538 "telecomm/java/com/android/internal/telecom/ICallRedirectionAdapter.aidl",
539 "telecomm/java/com/android/internal/telecom/ICallRedirectionService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800540 "telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl",
541 "telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl",
542 "telecomm/java/com/android/internal/telecom/IVideoCallback.aidl",
543 "telecomm/java/com/android/internal/telecom/IVideoProvider.aidl",
544 "telecomm/java/com/android/internal/telecom/IConnectionService.aidl",
545 "telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl",
546 "telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl",
547 "telecomm/java/com/android/internal/telecom/IInCallService.aidl",
Hall Liuc47570d2018-12-06 17:53:25 -0800548 "telecomm/java/com/android/internal/telecom/IPhoneAccountSuggestionCallback.aidl",
549 "telecomm/java/com/android/internal/telecom/IPhoneAccountSuggestionService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800550 "telecomm/java/com/android/internal/telecom/ITelecomService.aidl",
551 "telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl",
Mohamed Abdalkader48e18c52018-01-22 15:43:37 -0800552 "telephony/java/android/telephony/data/IDataService.aidl",
553 "telephony/java/android/telephony/data/IDataServiceCallback.aidl",
Jack Yua3ab5752018-02-20 14:08:57 -0800554 "telephony/java/android/telephony/data/IQualifiedNetworksService.aidl",
555 "telephony/java/android/telephony/data/IQualifiedNetworksServiceCallback.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800556 "telephony/java/android/telephony/ims/aidl/IImsCallSessionListener.aidl",
Brad Ebinger112c36d2018-01-16 09:33:47 -0800557 "telephony/java/android/telephony/ims/aidl/IImsCapabilityCallback.aidl",
558 "telephony/java/android/telephony/ims/aidl/IImsConfig.aidl",
559 "telephony/java/android/telephony/ims/aidl/IImsConfigCallback.aidl",
560 "telephony/java/android/telephony/ims/aidl/IImsMmTelFeature.aidl",
561 "telephony/java/android/telephony/ims/aidl/IImsMmTelListener.aidl",
562 "telephony/java/android/telephony/ims/aidl/IImsRegistration.aidl",
563 "telephony/java/android/telephony/ims/aidl/IImsRegistrationCallback.aidl",
564 "telephony/java/android/telephony/ims/aidl/IImsRcsFeature.aidl",
565 "telephony/java/android/telephony/ims/aidl/IImsServiceController.aidl",
566 "telephony/java/android/telephony/ims/aidl/IImsServiceControllerListener.aidl",
Logan Chien71ddfea2018-02-27 16:43:50 +0800567 "telephony/java/android/telephony/ims/aidl/IImsSmsListener.aidl",
Sahin Caliskan84dd3062018-12-03 14:06:39 -0800568 "telephony/java/android/telephony/ims/aidl/IRcs.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800569 "telephony/java/android/telephony/mbms/IMbmsDownloadSessionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800570 "telephony/java/android/telephony/mbms/IMbmsStreamingSessionCallback.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700571 "telephony/java/android/telephony/mbms/IMbmsGroupCallSessionCallback.aidl",
Hall Liu79539972018-03-19 18:12:23 -0700572 "telephony/java/android/telephony/mbms/IDownloadStatusListener.aidl",
573 "telephony/java/android/telephony/mbms/IDownloadProgressListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800574 "telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700575 "telephony/java/android/telephony/mbms/IGroupCallCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800576 "telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl",
577 "telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700578 "telephony/java/android/telephony/mbms/vendor/IMbmsGroupCallService.aidl",
Nathan Harold2aa2cc12018-09-27 18:49:16 -0700579 "telephony/java/android/telephony/ICellInfoCallback.aidl",
Hongming Jin08496b02019-01-25 13:41:52 -0800580 "telephony/java/android/telephony/IFinancialSmsCallback.aidl",
Jack Yud5f1de12017-12-21 11:00:05 -0800581 "telephony/java/android/telephony/INetworkService.aidl",
582 "telephony/java/android/telephony/INetworkServiceCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800583 "telephony/java/com/android/ims/internal/IImsCallSession.aidl",
584 "telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl",
585 "telephony/java/com/android/ims/internal/IImsConfig.aidl",
586 "telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl",
587 "telephony/java/com/android/ims/internal/IImsEcbm.aidl",
588 "telephony/java/com/android/ims/internal/IImsEcbmListener.aidl",
589 "telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl",
590 "telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl",
591 "telephony/java/com/android/ims/internal/IImsMMTelFeature.aidl",
592 "telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl",
593 "telephony/java/com/android/ims/internal/IImsRcsFeature.aidl",
594 "telephony/java/com/android/ims/internal/IImsService.aidl",
595 "telephony/java/com/android/ims/internal/IImsServiceController.aidl",
596 "telephony/java/com/android/ims/internal/IImsServiceFeatureCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800597 "telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl",
598 "telephony/java/com/android/ims/internal/IImsUt.aidl",
599 "telephony/java/com/android/ims/internal/IImsUtListener.aidl",
600 "telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl",
601 "telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800602 "telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl",
603 "telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl",
604 "telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl",
605 "telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl",
606 "telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl",
607 "telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl",
608 "telephony/java/com/android/ims/ImsConfigListener.aidl",
609 "telephony/java/com/android/internal/telephony/IApnSourceService.aidl",
610 "telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl",
Brad Ebinger360415a2019-04-30 11:37:27 -0700611 "telephony/java/com/android/internal/telephony/IIntegerConsumer.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800612 "telephony/java/com/android/internal/telephony/IMms.aidl",
Hall Liu53140362018-11-28 10:44:22 -0800613 "telephony/java/com/android/internal/telephony/INumberVerificationCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800614 "telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl",
615 "telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl",
616 "telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl",
Malcolm Chenb2b88b32019-02-05 17:19:48 -0800617 "telephony/java/com/android/internal/telephony/ISetOpportunisticDataCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800618 "telephony/java/com/android/internal/telephony/ISms.aidl",
619 "telephony/java/com/android/internal/telephony/ISub.aidl",
Sooraj Sasindranfd617462019-01-08 13:23:17 -0800620 "telephony/java/com/android/internal/telephony/IOns.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800621 "telephony/java/com/android/internal/telephony/ITelephony.aidl",
622 "telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl",
danielwbhuang1f2850c2019-03-06 22:00:29 +0800623 "telephony/java/com/android/internal/telephony/IUpdateAvailableNetworksCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800624 "telephony/java/com/android/internal/telephony/IWapPushManager.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800625 "telephony/java/com/android/internal/telephony/euicc/IAuthenticateServerCallback.aidl",
626 "telephony/java/com/android/internal/telephony/euicc/ICancelSessionCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800627 "telephony/java/com/android/internal/telephony/euicc/IDeleteProfileCallback.aidl",
628 "telephony/java/com/android/internal/telephony/euicc/IDisableProfileCallback.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800629 "telephony/java/com/android/internal/telephony/euicc/IEuiccCardController.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800630 "telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800631 "telephony/java/com/android/internal/telephony/euicc/IGetAllProfilesCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800632 "telephony/java/com/android/internal/telephony/euicc/IGetDefaultSmdpAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800633 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccChallengeCallback.aidl",
634 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo1Callback.aidl",
635 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo2Callback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800636 "telephony/java/com/android/internal/telephony/euicc/IGetProfileCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800637 "telephony/java/com/android/internal/telephony/euicc/IGetRulesAuthTableCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800638 "telephony/java/com/android/internal/telephony/euicc/IGetSmdsAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800639 "telephony/java/com/android/internal/telephony/euicc/IListNotificationsCallback.aidl",
640 "telephony/java/com/android/internal/telephony/euicc/ILoadBoundProfilePackageCallback.aidl",
641 "telephony/java/com/android/internal/telephony/euicc/IPrepareDownloadCallback.aidl",
642 "telephony/java/com/android/internal/telephony/euicc/IRemoveNotificationFromListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800643 "telephony/java/com/android/internal/telephony/euicc/IResetMemoryCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800644 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationCallback.aidl",
645 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800646 "telephony/java/com/android/internal/telephony/euicc/ISetDefaultSmdpAddressCallback.aidl",
647 "telephony/java/com/android/internal/telephony/euicc/ISetNicknameCallback.aidl",
648 "telephony/java/com/android/internal/telephony/euicc/ISwitchToProfileCallback.aidl",
Roshan Pius3c38ee42018-10-09 10:06:33 -0700649 "wifi/java/android/net/wifi/INetworkRequestMatchCallback.aidl",
650 "wifi/java/android/net/wifi/INetworkRequestUserSelectionCallback.aidl",
Mehdi Alizadeh0037dde2017-11-28 15:31:28 -0800651 "wifi/java/android/net/wifi/ISoftApCallback.aidl",
Roshan Pius80fb1372018-07-16 15:43:03 -0700652 "wifi/java/android/net/wifi/ITrafficStateCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800653 "wifi/java/android/net/wifi/IWifiManager.aidl",
Mingguang Xue77cabc2019-03-08 09:58:23 -0800654 "wifi/java/android/net/wifi/IOnWifiUsabilityStatsListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800655 "wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl",
656 "wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl",
657 "wifi/java/android/net/wifi/aware/IWifiAwareMacAddressProvider.aidl",
658 "wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl",
659 "wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl",
660 "wifi/java/android/net/wifi/rtt/IRttCallback.aidl",
661 "wifi/java/android/net/wifi/rtt/IWifiRttManager.aidl",
662 "wifi/java/android/net/wifi/hotspot2/IProvisioningCallback.aidl",
Hai Shalome1afc8d2018-12-07 10:13:43 -0800663 "wifi/java/android/net/wifi/IDppCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800664 "wifi/java/android/net/wifi/IWifiScanner.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800665 "packages/services/PacProcessor/com/android/net/IProxyService.aidl",
666 "packages/services/Proxy/com/android/net/IProxyCallback.aidl",
667 "packages/services/Proxy/com/android/net/IProxyPortListener.aidl",
668 "core/java/android/service/quicksettings/IQSService.aidl",
669 "core/java/android/service/quicksettings/IQSTileService.aidl",
670
671 ":libupdate_engine_aidl",
672
673 ":storaged_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800674 ":vold_aidl",
Howard Chen0a947642019-01-07 14:10:44 +0800675 ":gsiservice_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800676 ":installd_aidl",
Nandana Duttb3f71682018-10-03 10:01:25 +0100677 ":dumpstate_aidl",
Joe Onoratoe21ab7e2018-12-18 15:00:25 -0800678 ":incidentcompanion_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800679
680 "lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl",
681 "lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl",
682 "lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl",
683 "lowpan/java/android/net/lowpan/ILowpanInterface.aidl",
684 "lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl",
685 "lowpan/java/android/net/lowpan/ILowpanManager.aidl",
686
687 "core/java/android/app/admin/SecurityLogTags.logtags",
688 "core/java/android/content/EventLogTags.logtags",
689 "core/java/android/speech/tts/EventLogTags.logtags",
690 "core/java/android/net/EventLogTags.logtags",
Makoto Onuki49392d32018-04-11 13:51:02 -0700691 "core/java/android/os/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800692 "core/java/android/webkit/EventLogTags.logtags",
Ben Gruverc7ffbe62018-01-19 11:28:04 -0800693 "core/java/com/android/internal/app/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800694 "core/java/com/android/internal/logging/EventLogTags.logtags",
Siyuan Zhoubafcd7b2017-12-04 13:02:11 -0800695 "core/java/com/android/server/DropboxLogTags.logtags",
Ricardo Quesadaab086c52017-12-11 11:26:53 -0800696 "core/java/org/chromium/arc/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800697
Dario Freni2ce84342019-04-26 13:06:22 +0100698 ":apex-properties",
Inseob Kimc1246e62018-11-08 13:13:54 +0900699 ":platform-properties",
700
Colin Crosscf3a0b52017-11-16 00:15:28 -0800701 ":framework-statslog-gen",
702 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800703
704 aidl: {
Colin Cross4eb07842017-12-14 15:18:42 -0800705 export_include_dirs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800706 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
707 "core/java",
708 "graphics/java",
709 "location/java",
710 "lowpan/java",
711 "media/java",
Insun Kangf86a56c2019-01-22 17:16:07 +0900712 "media/apex/java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800713 "media/mca/effect/java",
714 "media/mca/filterfw/java",
715 "media/mca/filterpacks/java",
716 "drm/java",
717 "opengl/java",
718 "sax/java",
719 "telecomm/java",
720 "telephony/java",
721 "wifi/java",
722 "keystore/java",
723 "rs/java",
724 ],
725
726 include_dirs: [
727 "system/update_engine/binder_bindings",
728 "frameworks/native/aidl/binder",
Nandana Duttb3f71682018-10-03 10:01:25 +0100729 "frameworks/native/cmds/dumpstate/binder",
Joe Onoratoe21ab7e2018-12-18 15:00:25 -0800730 "frameworks/native/libs/incidentcompanion/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800731 "frameworks/av/camera/aidl",
732 "frameworks/av/media/libaudioclient/aidl",
733 "frameworks/native/aidl/gui",
Joe Onorato99598ee2019-02-11 15:55:13 +0000734 "frameworks/native/libs/incidentcompanion/binder",
Janis Danisevskis037a63f2019-03-29 10:53:23 -0700735 "system/core/gatekeeperd/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800736 "system/core/storaged/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800737 "system/vold/binder",
Howard Chen0a947642019-01-07 14:10:44 +0800738 "system/gsid/aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800739 "system/bt/binder",
Logan Chien404eb2b2018-02-14 13:53:04 +0800740 "system/security/keystore/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800741 ],
Olivier Gaillardb0ea4212018-07-26 11:52:37 +0100742
Tobias Thiererbc050342019-05-23 16:20:12 +0100743 generate_get_transaction_name: true,
Colin Crosscf3a0b52017-11-16 00:15:28 -0800744 },
745
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000746 exclude_srcs: [
Paul Duffina3b69212018-01-25 09:58:32 +0000747 // See comment on framework-atb-backward-compatibility module below
748 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000749 ],
750
Paul Duffin8fcace42019-06-12 13:47:18 +0100751 sdk_version: "core_platform",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800752 libs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800753 "ext",
Insun Kangd5fa8152019-01-24 17:08:10 +0900754 "updatable_media_stubs",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800755 ],
756
Steven Moreland19e8d462019-03-08 10:44:22 -0800757 jarjar_rules: ":framework-jarjar-rules",
Steven Moreland20a18482019-01-17 12:24:54 -0800758
Colin Crosscf3a0b52017-11-16 00:15:28 -0800759 static_libs: [
Dario Frenid8bf22e2018-08-31 14:18:04 +0100760 "apex_aidl_interface-java",
Kalesh Singh759af322019-06-19 12:17:43 -0700761 "suspend_control_aidl_interface-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800762 "framework-protos",
Peiyong Lin9ca1dd82019-01-12 17:44:29 -0800763 "game-driver-protos",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800764 "android.hidl.base-V1.0-java",
Henry Fang5215ac92019-02-01 19:24:55 +0000765 "android.hardware.cas-V1.1-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800766 "android.hardware.cas-V1.0-java",
767 "android.hardware.contexthub-V1.0-java",
768 "android.hardware.health-V1.0-java-constants",
Steven Morelande0dde652019-01-24 12:03:26 -0800769 "android.hardware.radio-V1.0-java",
770 "android.hardware.radio-V1.1-java",
771 "android.hardware.radio-V1.2-java",
772 "android.hardware.radio-V1.3-java",
773 "android.hardware.radio-V1.4-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800774 "android.hardware.thermal-V1.0-java-constants",
Wei Wangfb21bd82019-01-10 14:16:23 -0800775 "android.hardware.thermal-V1.0-java",
Wei Wangbad7c202018-11-01 11:57:39 -0700776 "android.hardware.thermal-V1.1-java",
777 "android.hardware.thermal-V2.0-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800778 "android.hardware.tv.input-V1.0-java-constants",
779 "android.hardware.usb-V1.0-java-constants",
780 "android.hardware.usb-V1.1-java-constants",
Badhri Jagan Sridharane966a382018-12-09 14:49:38 -0800781 "android.hardware.usb-V1.2-java-constants",
Steven Morelande0dde652019-01-24 12:03:26 -0800782 "android.hardware.usb.gadget-V1.0-java",
Michael Wrightf268bf52018-02-07 23:23:34 +0000783 "android.hardware.vibrator-V1.0-java",
784 "android.hardware.vibrator-V1.1-java",
785 "android.hardware.vibrator-V1.2-java",
Harpreet "Eli" Sanghaa456f082018-12-14 12:06:10 +0900786 "android.hardware.vibrator-V1.3-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800787 "android.hardware.wifi-V1.0-java-constants",
arangelov1ab61492018-11-22 13:56:50 +0000788 "devicepolicyprotosnano",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800789 ],
790
Wei Jia0a8a8f02017-12-05 17:05:29 -0800791 required: [
Anton Hansson11905c62018-11-27 12:10:30 +0000792 // TODO: remove gps_debug when the build system propagates "required" properly.
793 "gps_debug.conf",
Logan Chien71ddfea2018-02-27 16:43:50 +0800794 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800795
Colin Crosscf3a0b52017-11-16 00:15:28 -0800796 dxflags: [
797 "--core-library",
798 "--multi-dex",
799 ],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100800
Ashley Roseb47ddd42019-01-28 19:54:09 -0500801 plugins: ["view-inspector-annotation-processor"],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100802}
803
Colin Crossbc2dc312018-10-26 22:34:06 -0700804filegroup {
Steven Moreland19e8d462019-03-08 10:44:22 -0800805 name: "framework-jarjar-rules",
806 srcs: ["jarjar_rules_hidl.txt"],
807}
808
809filegroup {
Colin Crossbc2dc312018-10-26 22:34:06 -0700810 name: "libincident_aidl",
811 srcs: [
812 "core/java/android/os/IIncidentManager.aidl",
813 "core/java/android/os/IIncidentReportStatusListener.aidl",
814 ],
Dan Willemsen4a498502019-06-05 15:51:24 -0700815 path: "core/java",
Colin Crossbc2dc312018-10-26 22:34:06 -0700816}
817
818filegroup {
819 name: "statsd_aidl",
820 srcs: [
821 "core/java/android/os/IStatsCompanionService.aidl",
822 "core/java/android/os/IStatsManager.aidl",
Tej Singha0c89dd2019-01-25 16:39:18 -0800823 "core/java/android/os/IStatsPullerCallback.aidl",
Colin Crossbc2dc312018-10-26 22:34:06 -0700824 ],
Dan Willemsena38ff9f2019-06-11 10:56:01 -0700825 path: "core/java",
Colin Crossbc2dc312018-10-26 22:34:06 -0700826}
827
Michael Wrightc390fbe2018-12-12 19:45:09 +0000828filegroup {
829 name: "libvibrator_aidl",
830 srcs: [
831 "core/java/android/os/IExternalVibrationController.aidl",
832 "core/java/android/os/IExternalVibratorService.aidl",
833 ],
Dan Willemsen4a498502019-06-05 15:51:24 -0700834 path: "core/java",
Michael Wrightc390fbe2018-12-12 19:45:09 +0000835}
836
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100837java_library {
838 name: "framework",
839 defaults: ["framework-defaults"],
840 javac_shard_size: 150,
841}
842
843java_library {
844 name: "framework-annotation-proc",
845 defaults: ["framework-defaults"],
Anna Trostanetski97088e92019-06-26 14:47:58 +0100846 installable: false,
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100847 // Use UsedByApps annotation processor
Colin Crossa1f8e1a2019-01-21 21:45:20 -0800848 plugins: ["unsupportedappusage-annotation-processor"],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100849}
850
Paul Duffin521975802019-06-05 10:35:08 +0100851// A library including just UnsupportedAppUsage.java classes.
852//
853// Provided for target so that libraries can use it without depending on
854// the whole of framework or the core platform API.
855//
856// Built for host so that the annotation processor can also use this annotation.
857java_library {
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100858 name: "unsupportedappusage-annotation",
Paul Duffin521975802019-06-05 10:35:08 +0100859 host_supported: true,
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100860 srcs: [
861 "core/java/android/annotation/IntDef.java",
862 "core/java/android/annotation/UnsupportedAppUsage.java",
Andrei Onea5e226142019-05-08 13:50:16 +0100863 ":unsupportedappusage_annotation_files",
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100864 ],
Paul Duffin521975802019-06-05 10:35:08 +0100865
866 sdk_version: "core_current",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800867}
868
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000869// A temporary build target that is conditionally included on the bootclasspath if
Paul Duffina3b69212018-01-25 09:58:32 +0000870// android.test.base library has been removed and which provides support for
871// maintaining backwards compatibility for APKs that target pre-P and depend on
872// android.test.base classes. This is used iff REMOVE_ATB_FROM_BCP=true is
873// specified on the build command line.
874java_library {
875 name: "framework-atb-backward-compatibility",
Paul Duffinfab87542019-02-15 11:39:12 +0000876 installable: true,
Paul Duffina3b69212018-01-25 09:58:32 +0000877 srcs: [
878 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
879 ],
880}
881
Colin Crosscf3a0b52017-11-16 00:15:28 -0800882genrule {
883 name: "framework-statslog-gen",
884 tools: ["stats-log-api-gen"],
885 cmd: "$(location stats-log-api-gen) --java $(out)",
David Chen0a368b22017-12-06 16:28:16 -0800886 out: ["android/util/StatsLogInternal.java"],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800887}
888
889gensrcs {
890 name: "framework-javastream-protos",
891 depfile: true,
892
Tobias Thiererbc050342019-05-23 16:20:12 +0100893 tool_files: ["tools/genprotos.sh"],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800894 tools: [
895 "aprotoc",
896 "protoc-gen-javastream",
897 "soong_zip",
898 ],
899
Alex Light159799d2018-08-08 07:05:19 -0700900 // TODO This should not be needed. If you set a custom OUT_DIR or OUT_DIR_COMMON_BASE you can
901 // end up with a command that is extremely long, potentially going passed MAX_ARG_STRLEN due to
902 // the way sbox rewrites the command. See b/70221552.
903 cmd: "$(location tools/genprotos.sh) " +
Tobias Thiererbc050342019-05-23 16:20:12 +0100904 " $(location aprotoc) " +
905 " $(location protoc-gen-javastream) " +
906 " $(location soong_zip) " +
907 " $(genDir) " +
908 " $(depfile) " +
909 " $(in) " +
910 " $(out)",
Yi Jin437aa6e2018-01-10 11:34:26 -0800911 srcs: [
912 "core/proto/**/*.proto",
913 "libs/incident/**/*.proto",
914 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800915 output_extension: "srcjar",
916}
917
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900918filegroup {
Chalard Jean95213512019-01-30 21:04:58 +0900919 name: "framework-annotations",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900920 srcs: [
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900921 "core/java/android/annotation/NonNull.java",
922 "core/java/android/annotation/Nullable.java",
923 "core/java/android/annotation/IntDef.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900924 "core/java/android/annotation/IntRange.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900925 "core/java/android/annotation/UnsupportedAppUsage.java",
Remi NGUYEN VAN231b52b2019-01-29 15:38:52 +0900926 "core/java/com/android/internal/annotations/GuardedBy.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900927 "core/java/com/android/internal/annotations/VisibleForTesting.java",
Tobias Thiererbc050342019-05-23 16:20:12 +0100928 ],
Chalard Jean95213512019-01-30 21:04:58 +0900929}
930
931filegroup {
Remi NGUYEN VANe88516f2019-01-20 09:35:10 +0900932 name: "framework-networkstack-shared-srcs",
933 srcs: [
934 // TODO: remove these annotations as soon as we can use andoid.support.annotations.*
Chalard Jean95213512019-01-30 21:04:58 +0900935 ":framework-annotations",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900936 "core/java/android/net/DhcpResults.java",
Remi NGUYEN VANe88516f2019-01-20 09:35:10 +0900937 "core/java/android/util/LocalLog.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900938 "core/java/com/android/internal/util/HexDump.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900939 "core/java/com/android/internal/util/IndentingPrintWriter.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900940 "core/java/com/android/internal/util/IState.java",
941 "core/java/com/android/internal/util/MessageUtils.java",
942 "core/java/com/android/internal/util/Preconditions.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900943 "core/java/com/android/internal/util/RingBufferIndices.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900944 "core/java/com/android/internal/util/State.java",
945 "core/java/com/android/internal/util/StateMachine.java",
Chalard Jean6a76b7e2019-04-09 11:16:56 +0900946 "core/java/com/android/internal/util/TrafficStatsConstants.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900947 "core/java/com/android/internal/util/WakeupMessage.java",
948 "core/java/android/net/shared/*.java",
Tobias Thiererbc050342019-05-23 16:20:12 +0100949 ],
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900950}
951
Colin Crossd8e02252017-10-02 17:14:22 -0700952// Build ext.jar
953// ============================================================
954java_library {
955 name: "ext",
Colin Crossa12c0f52018-06-27 11:00:11 -0700956 installable: true,
Paul Duffin8fcace42019-06-12 13:47:18 +0100957 sdk_version: "core_platform",
Colin Crossd8e02252017-10-02 17:14:22 -0700958 static_libs: [
959 "libphonenumber-platform",
960 "nist-sip",
961 "tagsoup",
Ricky Wai0d1bc332017-10-31 14:31:01 +0000962 "rappor",
Tony Mak64c4cb22018-09-25 13:38:28 +0100963 "libtextclassifier-java",
964 ],
965 required: [
966 "libtextclassifier",
Colin Crossd8e02252017-10-02 17:14:22 -0700967 ],
968 dxflags: ["--core-library"],
969}
970
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700971// ==== java proto host library ==============================
972java_library_host {
973 name: "platformprotos",
974 srcs: [
975 "cmds/am/proto/instrumentation_data.proto",
Howard Ro0546d542018-08-30 16:23:44 -0700976 "cmds/statsd/src/**/*.proto",
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700977 "core/proto/**/*.proto",
978 "libs/incident/proto/**/*.proto",
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700979 ],
980 proto: {
981 include_dirs: ["external/protobuf/src"],
982 type: "full",
983 },
984 errorprone: {
Tobias Thiererbc050342019-05-23 16:20:12 +0100985 javacflags: ["-Xep:MissingOverride:OFF"], // b/72714520
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700986 },
987}
988
Colin Cross43214162018-08-20 13:57:24 -0700989// ==== java proto device library (for test only) ==============================
990java_library {
991 name: "platformprotosnano",
992 proto: {
993 type: "nano",
994 output_params: ["store_unknown_fields=true"],
995 include_dirs: ["external/protobuf/src"],
996 },
Joe Onorato99598ee2019-02-11 15:55:13 +0000997 exclude_srcs: [
998 "core/proto/android/privacy.proto",
999 "core/proto/android/section.proto",
1000 ],
Colin Cross43214162018-08-20 13:57:24 -07001001 sdk_version: "current",
1002 srcs: [
1003 "core/proto/**/*.proto",
1004 "libs/incident/proto/android/os/**/*.proto",
1005 ],
1006}
1007
1008// ==== java proto device library (for test only) ==============================
1009java_library {
1010 name: "platformprotoslite",
1011 proto: {
1012 type: "lite",
1013 include_dirs: ["external/protobuf/src"],
1014 },
1015
1016 srcs: [
1017 "core/proto/**/*.proto",
1018 "libs/incident/proto/android/os/**/*.proto",
1019 ],
Joe Onorato99598ee2019-02-11 15:55:13 +00001020 exclude_srcs: [
1021 "core/proto/android/privacy.proto",
1022 "core/proto/android/section.proto",
1023 ],
Colin Cross43214162018-08-20 13:57:24 -07001024 // Protos have lots of MissingOverride and similar.
1025 errorprone: {
1026 javacflags: ["-XepDisableAllChecks"],
1027 },
1028}
1029
Colin Crossaa0d4352017-05-02 14:14:56 -07001030// ==== c++ proto device library ==============================
Joe Onorato99598ee2019-02-11 15:55:13 +00001031cc_defaults {
1032 name: "libplatformprotos-defaults",
1033
Colin Crossaa0d4352017-05-02 14:14:56 -07001034 proto: {
1035 export_proto_headers: true,
1036 include_dirs: ["external/protobuf/src"],
1037 },
1038
Chih-Hung Hsiehc7edf072017-10-03 09:57:55 -07001039 cflags: [
1040 "-Wall",
1041 "-Werror",
1042 "-Wno-unused-parameter",
1043 ],
Joe Onorato62c220b2017-11-18 20:32:56 -08001044
1045 srcs: [
1046 "core/proto/**/*.proto",
Joe Onorato62c220b2017-11-18 20:32:56 -08001047 ],
Joe Onorato99598ee2019-02-11 15:55:13 +00001048}
1049
1050cc_library {
1051 name: "libplatformprotos",
1052 defaults: ["libplatformprotos-defaults"],
1053 host_supported: true,
Joe Onorato62c220b2017-11-18 20:32:56 -08001054
Colin Crossaa0d4352017-05-02 14:14:56 -07001055 target: {
1056 host: {
1057 proto: {
1058 type: "full",
1059 },
1060 },
1061 android: {
1062 proto: {
1063 type: "lite",
1064 },
Joe Onorato99598ee2019-02-11 15:55:13 +00001065 shared_libs: [
1066 "libprotobuf-cpp-lite",
1067 ],
Colin Crossaa0d4352017-05-02 14:14:56 -07001068 shared: {
Colin Crossaa0d4352017-05-02 14:14:56 -07001069 enabled: false,
1070 },
1071 },
1072 },
Colin Crossaa0d4352017-05-02 14:14:56 -07001073}
1074
Joe Onorato9bd5db72019-04-03 18:19:43 -07001075// This library is meant for vendor code that needs to output protobuf. It links
1076// against the static version of libprotobuf-cpp-lite, for which we can not guarantee
1077// binary compatibility.
1078cc_library {
1079 name: "libplatformprotos-static",
1080 defaults: ["libplatformprotos-defaults"],
1081 host_supported: false,
1082
1083 // This is okay because this library is only built as a static library. The C++
1084 // API is not guaranteed. The proto API is guaranteed to be stable via Metrics Council,
1085 // but is not authorized to be used outside of debugging.
1086 vendor_available: true,
1087
1088 target: {
1089 android: {
1090 proto: {
1091 type: "lite",
1092 },
1093 static_libs: [
1094 "libprotobuf-cpp-lite",
1095 ],
1096 shared: {
1097 enabled: false,
1098 },
1099 },
1100 },
1101}
1102
1103
Joe Onorato99598ee2019-02-11 15:55:13 +00001104// This is the full proto version of libplatformprotos. It may only
1105// be used by test code that is not shipped on the device.
1106cc_library {
1107 name: "libplatformprotos-test",
1108 defaults: ["libplatformprotos-defaults"],
1109 host_supported: false,
1110
1111 target: {
1112 android: {
1113 proto: {
1114 type: "full",
1115 },
1116 shared: {
1117 enabled: false,
1118 },
1119 },
1120 },
1121}
1122
1123
Yi Jin04625ad2017-10-17 18:29:33 -07001124gensrcs {
1125 name: "gen-platform-proto-constants",
1126 depfile: true,
1127
1128 tools: [
1129 "aprotoc",
1130 "protoc-gen-cppstream",
1131 ],
1132
1133 srcs: [
Kweku Adamseadd1232018-02-05 16:45:13 -08001134 "core/proto/android/os/backtrace.proto",
Kweku Adams59e6fd72017-12-27 15:48:14 -08001135 "core/proto/android/os/batterytype.proto",
Yi Jin0eb22342017-11-06 17:17:27 -08001136 "core/proto/android/os/cpufreq.proto",
Yi Jine2f7f792017-11-01 17:08:27 -07001137 "core/proto/android/os/cpuinfo.proto",
Colin Crossbc2dc312018-10-26 22:34:06 -07001138 "core/proto/android/os/data.proto",
Yi Jin04625ad2017-10-17 18:29:33 -07001139 "core/proto/android/os/kernelwake.proto",
1140 "core/proto/android/os/pagetypeinfo.proto",
1141 "core/proto/android/os/procrank.proto",
Kweku Adamsf5cc5752017-12-20 17:59:17 -08001142 "core/proto/android/os/ps.proto",
Yi Jin0dfa7522017-11-06 17:43:47 -08001143 "core/proto/android/os/system_properties.proto",
Yi Jin3c034c92017-12-22 17:36:47 -08001144 "core/proto/android/util/event_log_tags.proto",
Colin Crossbc2dc312018-10-26 22:34:06 -07001145 "core/proto/android/util/log.proto",
Yi Jin04625ad2017-10-17 18:29:33 -07001146 ],
1147
1148 // Append protoc-gen-cppstream tool's PATH otherwise aprotoc can't find the plugin tool
Yi Jin3c034c92017-12-22 17:36:47 -08001149 cmd: "mkdir -p $(genDir) " +
1150 "&& $(location aprotoc) " +
1151 " --plugin=$(location protoc-gen-cppstream) " +
1152 " --dependency_out=$(depfile) " +
1153 " --cppstream_out=$(genDir) " +
1154 " -Iexternal/protobuf/src " +
1155 " -I . " +
1156 " $(in)",
Yi Jin04625ad2017-10-17 18:29:33 -07001157
Logan Chien71ddfea2018-02-27 16:43:50 +08001158 output_extension: "proto.h",
Yi Jin04625ad2017-10-17 18:29:33 -07001159}
1160
Joe Onorato99598ee2019-02-11 15:55:13 +00001161
Dan Albert2a8d9c22016-09-23 15:55:49 -07001162subdirs = [
Yi Jin0a3406f2017-06-22 19:23:11 -07001163 "cmds/*",
Jeff Sharkey0c686e72017-10-23 16:04:31 -06001164 "core/*",
Colin Cross4f8d9e62016-12-01 15:55:00 -08001165 "libs/*",
Colin Cross76de4f62017-05-15 18:10:40 -07001166 "media/*",
Colin Cross747e7c12017-10-24 16:21:22 -07001167 "proto",
Fabien Sanglard19160202017-01-12 14:24:31 -05001168 "tools/*",
Dan Albert2a8d9c22016-09-23 15:55:49 -07001169 "native/android",
Dan Albert7ce8df32016-09-23 16:43:49 -07001170 "native/graphics/jni",
Dan Albert2a8d9c22016-09-23 15:55:49 -07001171]
Svetoslav Ganov74c99832016-12-05 20:07:20 -08001172
1173optional_subdirs = [
1174 "core/tests/utiltests/jni",
1175]
Steven Morelandeddafe92017-10-02 16:58:41 -07001176
Colin Crossa2b78a72018-03-29 13:31:04 -07001177// TODO(b/77285514): remove this once the last few hidl interfaces have been
1178// updated to use hwbinder.stubs.
Steven Morelandeddafe92017-10-02 16:58:41 -07001179java_library {
1180 name: "hwbinder",
Paul Duffin8fcace42019-06-12 13:47:18 +01001181 sdk_version: "core_platform",
Steven Morelandeddafe92017-10-02 16:58:41 -07001182
1183 srcs: [
1184 "core/java/android/os/HidlSupport.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -08001185 "core/java/android/annotation/IntDef.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001186 "core/java/android/annotation/NonNull.java",
Steven Moreland0ff061a2019-03-04 17:56:30 -08001187 "core/java/android/annotation/Nullable.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -08001188 "core/java/android/annotation/SystemApi.java",
Steven Morelandcbba4c72019-01-11 10:19:51 -08001189 "core/java/android/annotation/TestApi.java",
Andrei Onea24ec3212019-03-15 17:35:05 +00001190 "core/java/android/annotation/UnsupportedAppUsage.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001191 "core/java/android/os/HwBinder.java",
1192 "core/java/android/os/HwBlob.java",
1193 "core/java/android/os/HwParcel.java",
1194 "core/java/android/os/IHwBinder.java",
1195 "core/java/android/os/IHwInterface.java",
1196 "core/java/android/os/DeadObjectException.java",
1197 "core/java/android/os/DeadSystemException.java",
Nirav Atre9850dd92018-07-24 17:03:44 -07001198 "core/java/android/os/NativeHandle.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001199 "core/java/android/os/RemoteException.java",
1200 "core/java/android/util/AndroidException.java",
1201 ],
1202
1203 dxflags: ["--core-library"],
1204 installable: false,
1205}
Nan Zhang2db709d2017-11-08 20:48:46 -08001206
1207python_defaults {
1208 name: "base_default",
1209 version: {
1210 py2: {
1211 enabled: true,
1212 embedded_launcher: true,
1213 },
1214 py3: {
1215 enabled: false,
1216 embedded_launcher: false,
1217 },
1218 },
1219}
1220
1221python_binary_host {
1222 name: "fontchain_linter",
1223 defaults: ["base_default"],
1224 main: "tools/fonts/fontchain_linter.py",
1225 srcs: [
1226 "tools/fonts/fontchain_linter.py",
1227 ],
1228 libs: [
1229 "fontTools",
1230 ],
1231}
Nan Zhang172875b2018-02-27 11:24:03 -08001232
1233// TODO: Don't rely on this list once droiddoc can take a list of packages to document
1234frameworks_base_subdirs = [
1235 "core/java",
1236 "graphics/java",
1237 "location/java",
1238 "media/java",
1239 "media/mca/effect/java",
1240 "media/mca/filterfw/java",
1241 "media/mca/filterpacks/java",
1242 "drm/java",
1243 "opengl/java",
1244 "sax/java",
1245 "telecomm/java",
1246 "telephony/java",
1247 "wifi/java",
1248 "lowpan/java",
1249 "keystore/java",
1250 "rs/java",
1251]
1252
1253packages_to_document = [
1254 "android",
1255 "javax/microedition/khronos",
1256 "org/apache/http/conn",
1257 "org/apache/http/params",
1258]
1259
Paul Duffin0440e1f2019-02-11 16:13:25 +00001260// Make the api/current.txt file available for use by modules in other
1261// directories.
1262filegroup {
1263 name: "frameworks-base-api-current.txt",
1264 srcs: [
1265 "api/current.txt",
1266 ],
1267}
1268
Paul Duffincd35de32019-05-30 15:12:47 +01001269// Make the api/system-current.txt file available for use by modules in other
1270// directories.
1271filegroup {
1272 name: "frameworks-base-api-system-current.txt",
1273 srcs: [
1274 "api/system-current.txt",
1275 ],
1276}
1277
1278// Make the api/system-removed.txt file available for use by modules in other
1279// directories.
1280filegroup {
1281 name: "frameworks-base-api-system-removed.txt",
1282 srcs: [
1283 "api/system-removed.txt",
1284 ],
1285}
1286
Nan Zhang7764a4b2018-08-22 11:27:31 -07001287framework_docs_only_args = " -android -manifest $(location core/res/AndroidManifest.xml) " +
Tobias Thiererbc050342019-05-23 16:20:12 +01001288 "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
1289 "-overview $(location core/java/overview.html) " +
1290 // Federate Support Library references against local API file.
1291 "-federate SupportLib https://developer.android.com " +
1292 "-federationapi SupportLib $(location :current-support-api) "
Nan Zhang172875b2018-02-27 11:24:03 -08001293
Nan Zhang7764a4b2018-08-22 11:27:31 -07001294framework_docs_only_libs = [
Nan Zhang7764a4b2018-08-22 11:27:31 -07001295 "voip-common",
1296 "android.test.mock",
1297 "android-support-annotations",
1298 "android-support-compat",
1299 "android-support-core-ui",
1300 "android-support-core-utils",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001301 "android-support-design",
1302 "android-support-dynamic-animation",
1303 "android-support-exifinterface",
1304 "android-support-fragment",
1305 "android-support-media-compat",
1306 "android-support-percent",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001307 "android-support-transition",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001308 "android-support-v7-cardview",
1309 "android-support-v7-gridlayout",
1310 "android-support-v7-mediarouter",
1311 "android-support-v7-palette",
1312 "android-support-v7-preference",
1313 "android-support-v13",
1314 "android-support-v14-preference",
1315 "android-support-v17-leanback",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001316 "android-support-vectordrawable",
1317 "android-support-animatedvectordrawable",
1318 "android-support-v7-appcompat",
1319 "android-support-v7-recyclerview",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001320 "android-support-v8-renderscript",
1321 "android-support-multidex",
1322 "android-support-multidex-instrumentation",
1323]
1324
1325metalava_framework_docs_args = "--manifest $(location core/res/AndroidManifest.xml) " +
1326 "--hide-package com.android.okhttp " +
1327 "--hide-package com.android.org.conscrypt --hide-package com.android.server " +
Adrian Roosc6e2fc82018-12-12 15:08:44 +01001328 "--error UnhiddenSystemApi " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001329 "--hide RequiresPermission " +
1330 "--hide MissingPermission --hide BroadcastBehavior " +
1331 "--hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol " +
Tobias Thierer8f559412019-05-22 20:17:49 +01001332 "--hide SdkConstant --hide HiddenTypeParameter --hide Todo --hide Typo "
1333
1334// http://b/129765390 Rewrite links to "platform" or "technotes" folders
1335// which are siblings (and thus outside of) {@docRoot}.
1336//
1337// We have to escape \ as \\ and $ as $$ here because they get resolved by
1338// different layers of the build tooling. The arguments are wrapped in '' so
1339// that the shell doesn't add yet another level of escaping.
1340metalava_framework_docs_args += " --replace-documentation " +
1341 // packages whose descendants to apply replacement to (all packages from
1342 // libcore/ojluni/src/main/java that contribute to documentation).
1343 "com.sun:java:javax:jdk.net:sun " +
1344 // regex of the string to replace
1345 "'(<a\\s+href\\s?=[\\*\\s]*\")(?:(?:\\{@docRoot\\}/\\.\\./)|(?:(?:\\.\\./)+))((?:platform|technotes).+)\">' " +
1346 // replacement (with $1, $2 backreferences to the regex groups)
1347 "'$$1https://docs.oracle.com/javase/8/docs/$$2\">' "
Nan Zhang7764a4b2018-08-22 11:27:31 -07001348
1349stubs_defaults {
1350 name: "framework-doc-stubs-default",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001351 srcs: [
1352 "test-base/src/**/*.java",
1353 ":opt-telephony-srcs",
1354 ":opt-net-voip-srcs",
Neil Fuller3b1b7032019-02-26 12:00:38 +00001355 ":core_public_api_files",
Insun Kangd5fa8152019-01-24 17:08:10 +09001356 ":updatable-media-srcs-without-aidls",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001357 "test-mock/src/**/*.java",
1358 "test-runner/src/**/*.java",
1359 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001360 srcs_lib: "framework",
1361 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1362 srcs_lib_whitelist_pkgs: packages_to_document,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001363 libs: framework_docs_only_libs,
Nan Zhang3e15ba82018-07-26 18:41:12 +00001364 local_sourcepaths: frameworks_base_subdirs,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001365 create_doc_stubs: true,
1366 annotations_enabled: true,
1367 api_levels_annotations_enabled: true,
1368 api_levels_annotations_dirs: [
1369 "sdk-dir",
1370 "api-versions-jars-dir",
1371 ],
1372 previous_api: ":last-released-public-api",
1373 merge_annotations_dirs: [
1374 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001375 "ojluni-annotated-sdk-stubs",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001376 ],
1377}
1378
1379doc_defaults {
1380 name: "framework-docs-default",
Nan Zhangb03396e2018-10-11 18:06:10 -07001381 libs: framework_docs_only_libs +
Tobias Thiererbc050342019-05-23 16:20:12 +01001382 ["stub-annotations"],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001383 html_dirs: [
1384 "docs/html",
1385 ],
1386 knowntags: [
1387 "docs/knowntags.txt",
1388 ":known-oj-tags",
1389 ],
1390 custom_template: "droiddoc-templates-sdk",
1391 resourcesdir: "docs/html/reference/images/",
1392 resourcesoutdir: "reference/android/images/",
1393 hdf: [
1394 "dac true",
1395 "sdk.codename O",
1396 "sdk.preview.version 1",
1397 "sdk.version 7.0",
1398 "sdk.rel.id 1",
1399 "sdk.preview 0",
1400 ],
1401 arg_files: [
1402 "core/res/AndroidManifest.xml",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001403 "core/java/overview.html",
1404 ":current-support-api",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001405 ],
1406 create_stubs: false,
1407}
1408
Nan Zhang894c9ec2018-09-10 18:58:39 -07001409stubs_defaults {
Nan Zhangd25ad462018-08-22 10:48:15 -07001410 name: "metalava-api-stubs-default",
1411 srcs: [
1412 ":opt-telephony-srcs",
1413 ":opt-net-voip-srcs",
Neil Fuller3b1b7032019-02-26 12:00:38 +00001414 ":core_public_api_files",
Insun Kangd5fa8152019-01-24 17:08:10 +09001415 ":updatable-media-srcs-without-aidls",
Nan Zhangd25ad462018-08-22 10:48:15 -07001416 ],
1417 srcs_lib: "framework",
1418 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1419 srcs_lib_whitelist_pkgs: packages_to_document,
1420 libs: [
Nan Zhangd25ad462018-08-22 10:48:15 -07001421 "ext",
1422 "framework",
1423 "voip-common",
Nan Zhangd25ad462018-08-22 10:48:15 -07001424 ],
1425 local_sourcepaths: frameworks_base_subdirs,
1426 installable: false,
Nan Zhang894c9ec2018-09-10 18:58:39 -07001427 annotations_enabled: true,
1428 previous_api: ":last-released-public-api",
1429 merge_annotations_dirs: [
Nan Zhangd25ad462018-08-22 10:48:15 -07001430 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001431 "ojluni-annotated-sdk-stubs",
Nan Zhangd25ad462018-08-22 10:48:15 -07001432 ],
Nan Zhang91cc7662018-09-18 10:46:10 -07001433 api_levels_annotations_enabled: true,
1434 api_levels_annotations_dirs: [
1435 "sdk-dir",
1436 "api-versions-jars-dir",
1437 ],
Nan Zhangd25ad462018-08-22 10:48:15 -07001438}
1439
Nan Zhang7764a4b2018-08-22 11:27:31 -07001440droidstubs {
1441 name: "framework-doc-stubs",
1442 defaults: ["framework-doc-stubs-default"],
1443 arg_files: [
1444 "core/res/AndroidManifest.xml",
1445 ],
1446 args: metalava_framework_docs_args,
1447}
1448
1449droidstubs {
1450 name: "framework-doc-system-stubs",
1451 defaults: ["framework-doc-stubs-default"],
1452 arg_files: [
1453 "core/res/AndroidManifest.xml",
1454 ],
1455 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi ",
1456}
1457
Nan Zhang3e15ba82018-07-26 18:41:12 +00001458droiddoc {
1459 name: "doc-comment-check-docs",
1460 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001461 srcs: [
1462 ":framework-doc-stubs",
1463 ],
1464 args: framework_docs_only_args + " -referenceonly -parsecomments",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001465 installable: false,
1466}
1467
1468droiddoc {
1469 name: "offline-sdk-docs",
1470 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001471 srcs: [
1472 ":framework-doc-stubs",
1473 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001474 hdf: [
1475 "android.whichdoc offline",
1476 ],
1477 proofread_file: "offline-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001478 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\"",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001479 write_sdk_values: true,
1480 static_doc_index_redirect: "docs/docs-preview-index.html",
1481}
1482
1483droiddoc {
Nan Zhang963612b2018-09-21 17:16:49 -07001484 // Please sync with android-api-council@ before making any changes for the name property below.
1485 // Since there's cron jobs that fetch offline-sdk-referenceonly-docs-docs.zip periodically.
1486 // See b/116221385 for reference.
Nan Zhang3e15ba82018-07-26 18:41:12 +00001487 name: "offline-sdk-referenceonly-docs",
1488 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001489 srcs: [
1490 ":framework-doc-stubs",
1491 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001492 hdf: [
1493 "android.whichdoc offline",
1494 ],
1495 proofread_file: "offline-sdk-referenceonly-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001496 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\" -referenceonly",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001497 write_sdk_values: true,
1498 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
1499 static_doc_properties: "docs/source.properties",
1500}
1501
1502droiddoc {
Nan Zhang963612b2018-09-21 17:16:49 -07001503 // Please sync with android-api-council@ before making any changes for the name property below.
1504 // Since there's cron jobs that fetch offline-system-sdk-referenceonly-docs-docs.zip periodically.
1505 // See b/116221385 for reference.
Nan Zhang3e15ba82018-07-26 18:41:12 +00001506 name: "offline-system-sdk-referenceonly-docs",
1507 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001508 srcs: [
1509 ":framework-doc-system-stubs",
1510 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001511 hdf: [
1512 "android.whichdoc offline",
1513 ],
1514 proofread_file: "offline-system-sdk-referenceonly-docs-proofrerad.txt",
Tobias Thiererbc050342019-05-23 16:20:12 +01001515 args: framework_docs_only_args + " -hide 101 -hide 104 -hide 108" +
1516 " -offlinemode -title \"Android System SDK\" -referenceonly",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001517 write_sdk_values: true,
1518 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
1519 static_doc_properties: "docs/source.properties",
1520}
1521
1522droiddoc {
1523 name: "online-sdk-docs",
1524 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001525 srcs: [
1526 ":framework-doc-stubs",
1527 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001528 hdf: [
1529 "android.whichdoc online",
1530 "android.hasSamples true",
1531 ],
1532 proofread_file: "online-sdk-docs-proofrerad.txt",
Tobias Thiererbc050342019-05-23 16:20:12 +01001533 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001534 " -toroot / -samplegroup Admin " +
1535 " -samplegroup Background " +
1536 " -samplegroup Connectivity " +
1537 " -samplegroup Content " +
1538 " -samplegroup Input " +
1539 " -samplegroup Media " +
1540 " -samplegroup Notification " +
1541 " -samplegroup RenderScript " +
1542 " -samplegroup Security " +
1543 " -samplegroup Sensors " +
1544 " -samplegroup System " +
1545 " -samplegroup Testing " +
1546 " -samplegroup UI " +
1547 " -samplegroup Views " +
1548 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1549}
1550
1551droiddoc {
1552 name: "online-system-api-sdk-docs",
1553 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001554 srcs: [
1555 ":framework-doc-system-stubs",
1556 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001557 hdf: [
1558 "android.whichdoc online",
1559 "android.hasSamples true",
1560 ],
1561 proofread_file: "online-system-api-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001562 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001563 " -referenceonly " +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001564 " -title \"Android SDK - Including system APIs.\" " +
1565 " -hide 101 " +
1566 " -hide 104 " +
1567 " -hide 108 " +
1568 " -toroot / -samplegroup Admin " +
1569 " -samplegroup Background " +
1570 " -samplegroup Connectivity " +
1571 " -samplegroup Content " +
1572 " -samplegroup Input " +
1573 " -samplegroup Media " +
1574 " -samplegroup Notification " +
1575 " -samplegroup RenderScript " +
1576 " -samplegroup Security " +
1577 " -samplegroup Sensors " +
1578 " -samplegroup System " +
1579 " -samplegroup Testing " +
1580 " -samplegroup UI " +
1581 " -samplegroup Views " +
1582 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1583 installable: false,
1584}
1585
1586droiddoc {
1587 name: "ds-docs",
1588 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001589 srcs: [
1590 ":framework-doc-stubs",
1591 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001592 hdf: [
1593 "android.whichdoc online",
1594 "android.hasSamples true",
1595 ],
1596 proofread_file: "ds-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001597 args: framework_docs_only_args +
Dirk Dougherty14b05b12019-02-22 20:36:41 -08001598 " -toroot / -yamlV2 -metalavaApiSince -samplegroup Admin " +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001599 " -samplegroup Background " +
1600 " -samplegroup Connectivity " +
1601 " -samplegroup Content " +
1602 " -samplegroup Input " +
1603 " -samplegroup Media " +
1604 " -samplegroup Notification " +
1605 " -samplegroup RenderScript " +
1606 " -samplegroup Security " +
1607 " -samplegroup Sensors " +
1608 " -samplegroup System " +
1609 " -samplegroup Testing " +
1610 " -samplegroup UI " +
1611 " -samplegroup Views " +
1612 " -samplegroup Wearable -devsite -samplesdir development/samples/browseable ",
1613}
1614
1615droiddoc {
1616 name: "ds-static-docs",
1617 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001618 srcs: [
1619 ":framework-doc-stubs",
1620 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001621 hdf: [
1622 "android.whichdoc online",
1623 ],
1624 proofread_file: "ds-static-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001625 args: framework_docs_only_args +
Tobias Thiererbc050342019-05-23 16:20:12 +01001626 " -staticonly " +
1627 " -toroot / " +
1628 " -devsite " +
1629 " -ignoreJdLinks ",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001630}
1631
1632droiddoc {
1633 name: "ds-ref-navtree-docs",
1634 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001635 srcs: [
1636 ":framework-doc-stubs",
1637 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001638 hdf: [
1639 "android.whichdoc online",
1640 ],
1641 proofread_file: "ds-ref-navtree-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001642 args: framework_docs_only_args +
Tobias Thiererbc050342019-05-23 16:20:12 +01001643 " -toroot / " +
1644 " -atLinksNavtree " +
1645 " -navtreeonly ",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001646}
1647
1648droiddoc {
1649 name: "online-sdk-dev-docs",
1650 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001651 srcs: [
1652 ":framework-doc-stubs",
1653 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001654 hdf: [
1655 "android.whichdoc online",
1656 "android.hasSamples true",
1657 ],
1658 proofread_file: "online-sdk-dev-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001659 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001660 " -toroot / -samplegroup Admin " +
1661 " -samplegroup Background " +
1662 " -samplegroup Connectivity " +
1663 " -samplegroup Content " +
1664 " -samplegroup Input " +
1665 " -samplegroup Media " +
1666 " -samplegroup Notification " +
1667 " -samplegroup RenderScript " +
1668 " -samplegroup Security " +
1669 " -samplegroup Sensors " +
1670 " -samplegroup System " +
1671 " -samplegroup Testing " +
1672 " -samplegroup UI " +
1673 " -samplegroup Views " +
1674 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1675}
1676
1677droiddoc {
1678 name: "hidden-docs",
1679 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001680 srcs: [
1681 ":framework-doc-stubs",
1682 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001683 proofread_file: "hidden-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001684 args: framework_docs_only_args +
Tobias Thiererbc050342019-05-23 16:20:12 +01001685 " -referenceonly " +
1686 " -title \"Android SDK - Including hidden APIs.\"",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001687}
1688
Nan Zhang7764a4b2018-08-22 11:27:31 -07001689droidstubs {
Colin Crossa2b78a72018-03-29 13:31:04 -07001690 name: "hwbinder-stubs-docs",
1691 srcs: [
1692 "core/java/android/os/HidlSupport.java",
1693 "core/java/android/annotation/IntDef.java",
1694 "core/java/android/annotation/NonNull.java",
1695 "core/java/android/annotation/SystemApi.java",
1696 "core/java/android/os/HwBinder.java",
1697 "core/java/android/os/HwBlob.java",
1698 "core/java/android/os/HwParcel.java",
1699 "core/java/android/os/IHwBinder.java",
1700 "core/java/android/os/IHwInterface.java",
1701 "core/java/android/os/DeadObjectException.java",
1702 "core/java/android/os/DeadSystemException.java",
Nirav Atre9850dd92018-07-24 17:03:44 -07001703 "core/java/android/os/NativeHandle.java",
Colin Crossa2b78a72018-03-29 13:31:04 -07001704 "core/java/android/os/RemoteException.java",
1705 "core/java/android/util/AndroidException.java",
1706 ],
Colin Crossa2b78a72018-03-29 13:31:04 -07001707 installable: false,
Paul Duffin8fcace42019-06-12 13:47:18 +01001708 sdk_version: "core_platform",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001709 annotations_enabled: true,
1710 previous_api: ":last-released-public-api",
1711 merge_annotations_dirs: [
1712 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001713 "ojluni-annotated-sdk-stubs",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001714 ],
1715 args: " --show-annotation android.annotation.SystemApi",
Colin Crossa2b78a72018-03-29 13:31:04 -07001716}
1717
1718java_library_static {
1719 name: "hwbinder.stubs",
1720 sdk_version: "core_current",
1721 srcs: [
1722 ":hwbinder-stubs-docs",
1723 ],
1724}
Nan Zhanga0f91af2018-04-09 17:41:51 -07001725
Nan Zhang894c9ec2018-09-10 18:58:39 -07001726droidstubs {
Nan Zhangd25ad462018-08-22 10:48:15 -07001727 name: "hiddenapi-lists-docs",
1728 defaults: ["metalava-api-stubs-default"],
David Brazdil4f9d4d52018-04-26 14:05:13 +01001729 arg_files: [
1730 "core/res/AndroidManifest.xml",
David Brazdil4f9d4d52018-04-26 14:05:13 +01001731 ],
David Brazdil6f6a1262018-05-31 13:58:41 +01001732 dex_api_filename: "public-dex.txt",
David Brazdil4f9d4d52018-04-26 14:05:13 +01001733 private_dex_api_filename: "private-dex.txt",
1734 removed_dex_api_filename: "removed-dex.txt",
Nan Zhangd25ad462018-08-22 10:48:15 -07001735 args: metalava_framework_docs_args +
1736 " --show-unannotated " +
1737 " --show-annotation android.annotation.SystemApi " +
Tobias Thiererbc050342019-05-23 16:20:12 +01001738 " --show-annotation android.annotation.TestApi ",
David Brazdil4f9d4d52018-04-26 14:05:13 +01001739}
1740
Nan Zhang7764a4b2018-08-22 11:27:31 -07001741droidstubs {
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001742 name: "hiddenapi-mappings",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001743 defaults: ["metalava-api-stubs-default"],
Paul Duffina0cb5382018-10-31 10:34:51 +00001744 srcs: [
1745 ":openjdk_java_files",
1746 ":non_openjdk_java_files",
Andrei Onea6dd843a2019-03-13 15:27:23 +00001747 ":opt-telephony-common-srcs",
Andrei Onea77b22e32019-03-22 14:56:51 +00001748 "core/java/**/*.java",
Paul Duffina0cb5382018-10-31 10:34:51 +00001749 ],
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001750 arg_files: [
1751 "core/res/AndroidManifest.xml",
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001752 ],
1753 dex_mapping_filename: "dex-mapping.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001754 args: metalava_framework_docs_args +
Adrian Roos9bdbd302018-12-07 13:53:40 +01001755 " --hide ReferencesHidden " +
Adrian Roosc6e2fc82018-12-12 15:08:44 +01001756 " --hide UnhiddenSystemApi " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001757 " --show-unannotated " +
1758 " --show-annotation android.annotation.SystemApi " +
Tobias Thiererbc050342019-05-23 16:20:12 +01001759 " --show-annotation android.annotation.TestApi ",
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001760}
1761
Nan Zhanga0f91af2018-04-09 17:41:51 -07001762filegroup {
1763 name: "apache-http-stubs-sources",
1764 srcs: [
1765 "core/java/org/apache/http/conn/ConnectTimeoutException.java",
1766 "core/java/org/apache/http/conn/scheme/HostNameResolver.java",
1767 "core/java/org/apache/http/conn/scheme/LayeredSocketFactory.java",
1768 "core/java/org/apache/http/conn/scheme/SocketFactory.java",
1769 "core/java/org/apache/http/conn/ssl/AbstractVerifier.java",
1770 "core/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java",
1771 "core/java/org/apache/http/conn/ssl/AndroidDistinguishedNameParser.java",
1772 "core/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java",
1773 "core/java/org/apache/http/conn/ssl/SSLSocketFactory.java",
1774 "core/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java",
1775 "core/java/org/apache/http/conn/ssl/X509HostnameVerifier.java",
1776 "core/java/org/apache/http/params/CoreConnectionPNames.java",
1777 "core/java/org/apache/http/params/HttpConnectionParams.java",
1778 "core/java/org/apache/http/params/HttpParams.java",
Nan Zhanga0f91af2018-04-09 17:41:51 -07001779 "core/java/android/net/http/SslCertificate.java",
1780 "core/java/android/net/http/SslError.java",
1781 "core/java/com/android/internal/util/HexDump.java",
1782 ],
1783}
Nan Zhang4212eb12018-04-25 17:23:33 -07001784
Nan Zhang894c9ec2018-09-10 18:58:39 -07001785droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001786 name: "api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001787 defaults: ["metalava-api-stubs-default"],
Nan Zhang4212eb12018-04-25 17:23:33 -07001788 api_filename: "public_api.txt",
1789 private_api_filename: "private.txt",
1790 removed_api_filename: "removed.txt",
1791 arg_files: [
1792 "core/res/AndroidManifest.xml",
1793 ],
1794 args: metalava_framework_docs_args,
Nan Zhange5612602018-08-16 16:16:00 -07001795 check_api: {
1796 current: {
1797 api_file: "api/current.txt",
1798 removed_api_file: "api/removed.txt",
1799 },
Nan Zhangcd060d92018-08-20 20:34:26 -07001800 last_released: {
1801 api_file: ":last-released-public-api",
1802 removed_api_file: "api/removed.txt",
1803 },
Nan Zhange5612602018-08-16 16:16:00 -07001804 },
Nan Zhang81f29f52018-09-17 14:33:08 -07001805 jdiff_enabled: true,
Nan Zhang4212eb12018-04-25 17:23:33 -07001806}
1807
Nan Zhang894c9ec2018-09-10 18:58:39 -07001808droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001809 name: "system-api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001810 defaults: ["metalava-api-stubs-default"],
Nan Zhang4d3f5012018-08-07 13:40:33 -07001811 api_tag_name: "SYSTEM",
Nan Zhang4212eb12018-04-25 17:23:33 -07001812 api_filename: "system-api.txt",
1813 private_api_filename: "system-private.txt",
1814 private_dex_api_filename: "system-private-dex.txt",
1815 removed_api_filename: "system-removed.txt",
1816 arg_files: [
1817 "core/res/AndroidManifest.xml",
1818 ],
1819 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi",
Nan Zhange5612602018-08-16 16:16:00 -07001820 check_api: {
1821 current: {
1822 api_file: "api/system-current.txt",
1823 removed_api_file: "api/system-removed.txt",
1824 },
Nan Zhangcd060d92018-08-20 20:34:26 -07001825 last_released: {
1826 api_file: ":last-released-system-api",
1827 removed_api_file: "api/system-removed.txt",
1828 },
Nan Zhange5612602018-08-16 16:16:00 -07001829 },
Nan Zhang81f29f52018-09-17 14:33:08 -07001830 jdiff_enabled: true,
Nan Zhang4212eb12018-04-25 17:23:33 -07001831}
1832
Nan Zhang894c9ec2018-09-10 18:58:39 -07001833droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001834 name: "test-api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001835 defaults: ["metalava-api-stubs-default"],
Nan Zhang4d3f5012018-08-07 13:40:33 -07001836 api_tag_name: "TEST",
Nan Zhang4212eb12018-04-25 17:23:33 -07001837 api_filename: "test-api.txt",
1838 removed_api_filename: "test-removed.txt",
1839 arg_files: [
1840 "core/res/AndroidManifest.xml",
1841 ],
1842 args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi",
Nan Zhange5612602018-08-16 16:16:00 -07001843 check_api: {
1844 current: {
1845 api_file: "api/test-current.txt",
1846 removed_api_file: "api/test-removed.txt",
1847 },
1848 },
Nan Zhang4212eb12018-04-25 17:23:33 -07001849}
Nan Zhangaf251302018-08-30 10:59:51 -07001850
1851filegroup {
1852 name: "framework-annotation-nonnull-srcs",
1853 srcs: [
1854 "core/java/android/annotation/NonNull.java",
1855 ],
1856}
Insun Kang06b25ae2018-11-20 10:05:44 +09001857
1858filegroup {
1859 name: "framework-media-annotation-srcs",
1860 srcs: [
1861 "core/java/android/annotation/CallbackExecutor.java",
Insun Kangf86a56c2019-01-22 17:16:07 +09001862 "core/java/android/annotation/CallSuper.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001863 "core/java/android/annotation/DrawableRes.java",
1864 "core/java/android/annotation/IntDef.java",
1865 "core/java/android/annotation/LongDef.java",
1866 "core/java/android/annotation/NonNull.java",
1867 "core/java/android/annotation/Nullable.java",
1868 "core/java/android/annotation/RequiresPermission.java",
1869 "core/java/android/annotation/SdkConstant.java",
1870 "core/java/android/annotation/StringDef.java",
Sungsoo Limbb3b4012019-01-23 13:17:53 +09001871 "core/java/android/annotation/SystemApi.java",
Dongwon Kang3584c662018-11-27 11:14:08 -08001872 "core/java/android/annotation/TestApi.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001873 "core/java/android/annotation/UnsupportedAppUsage.java",
Dongwon Kang3584c662018-11-27 11:14:08 -08001874 "core/java/com/android/internal/annotations/GuardedBy.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001875 ],
1876}
1877
Andrei Onea7a2985c2019-02-18 15:28:35 +00001878// Creates an index of AIDL methods; used for adding UnsupportedAppUsage
1879// annotations to private apis
1880aidl_mapping {
1881 name: "framework-aidl-mappings",
1882 srcs: [":framework-defaults"],
Tobias Thiererbc050342019-05-23 16:20:12 +01001883 output: "framework-aidl-mappings.txt",
Kyunglyul Hyund51666d2019-04-11 04:08:40 +00001884}
Anna Trostanetski97088e92019-06-26 14:47:58 +01001885
1886genrule {
1887 name: "framework-annotation-proc-index",
1888 srcs: [":framework-annotation-proc"],
1889 cmd: "unzip -qp $(in) unsupportedappusage/unsupportedappusage_index.csv > $(out)",
1890 out: ["unsupportedappusage_index.csv"],
1891 dist: {
1892 targets: ["droidcore"],
1893 },
1894}