blob: 5b8e6e1b8d322d696cab1db53e604ad142a0f4c7 [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",
76 "core/java/android/app/ISearchManager.aidl",
77 "core/java/android/app/ISearchManagerCallback.aidl",
78 "core/java/android/app/IServiceConnection.aidl",
79 "core/java/android/app/IStopUserCallback.aidl",
80 "core/java/android/app/job/IJobCallback.aidl",
81 "core/java/android/app/job/IJobScheduler.aidl",
82 "core/java/android/app/job/IJobService.aidl",
83 "core/java/android/app/ITransientNotification.aidl",
84 "core/java/android/app/IUidObserver.aidl",
85 "core/java/android/app/IUiAutomationConnection.aidl",
86 "core/java/android/app/IUiModeManager.aidl",
Wale Ogunwale6d50dcc2018-07-21 23:00:40 -070087 "core/java/android/app/IUriGrantsManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -080088 "core/java/android/app/IUserSwitchObserver.aidl",
89 "core/java/android/app/IWallpaperManager.aidl",
90 "core/java/android/app/IWallpaperManagerCallback.aidl",
91 "core/java/android/app/admin/IDeviceAdminService.aidl",
92 "core/java/android/app/admin/IDevicePolicyManager.aidl",
Neda Topoljanac19f29162018-10-22 18:12:16 +010093 "core/java/android/app/admin/StartInstallingUpdateCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -080094 "core/java/android/app/trust/IStrongAuthTracker.aidl",
95 "core/java/android/app/trust/ITrustManager.aidl",
96 "core/java/android/app/trust/ITrustListener.aidl",
Bernardo Rufino2d87f452018-06-22 11:47:49 +010097 "core/java/android/app/backup/IBackupCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -080098 "core/java/android/app/backup/IBackupManager.aidl",
99 "core/java/android/app/backup/IBackupObserver.aidl",
100 "core/java/android/app/backup/IBackupManagerMonitor.aidl",
101 "core/java/android/app/backup/IFullBackupRestoreObserver.aidl",
102 "core/java/android/app/backup/IRestoreObserver.aidl",
103 "core/java/android/app/backup/IRestoreSession.aidl",
104 "core/java/android/app/backup/ISelectBackupTransportCallback.aidl",
Winson Chung3fb0f252019-01-08 17:41:55 -0800105 "core/java/android/app/contentsuggestions/IClassificationsCallback.aidl",
106 "core/java/android/app/contentsuggestions/IContentSuggestionsManager.aidl",
107 "core/java/android/app/contentsuggestions/ISelectionsCallback.aidl",
Sunny Goyal54e91342018-11-14 11:59:02 -0800108 "core/java/android/app/prediction/IPredictionCallback.aidl",
109 "core/java/android/app/prediction/IPredictionManager.aidl",
Hai Zhang31d06ba2018-12-06 18:14:42 -0800110 "core/java/android/app/role/IOnRoleHoldersChangedListener.aidl",
Hai Zhanga4959e52019-03-06 12:21:07 -0800111 "core/java/android/app/role/IRoleController.aidl",
Hai Zhangb7776682018-09-25 15:10:57 -0700112 "core/java/android/app/role/IRoleManager.aidl",
Jason Monk8f5f7ff2017-10-17 14:12:42 -0400113 "core/java/android/app/slice/ISliceManager.aidl",
Jason Monk74f5e362017-12-06 08:56:33 -0500114 "core/java/android/app/slice/ISliceListener.aidl",
Neil Fullerfeeee682018-05-30 14:35:24 +0100115 "core/java/android/app/timedetector/ITimeDetectorService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800116 "core/java/android/app/timezone/ICallback.aidl",
117 "core/java/android/app/timezone/IRulesManager.aidl",
118 "core/java/android/app/usage/ICacheQuotaService.aidl",
119 "core/java/android/app/usage/IStorageStatsManager.aidl",
120 "core/java/android/app/usage/IUsageStatsManager.aidl",
121 ":libbluetooth-binder-aidl",
122 "core/java/android/content/IClipboard.aidl",
123 "core/java/android/content/IContentService.aidl",
124 "core/java/android/content/IIntentReceiver.aidl",
125 "core/java/android/content/IIntentSender.aidl",
126 "core/java/android/content/IOnPrimaryClipChangedListener.aidl",
127 "core/java/android/content/IRestrictionsManager.aidl",
128 "core/java/android/content/ISyncAdapter.aidl",
Philip P. Moltmann486b2412018-01-03 11:29:01 -0800129 "core/java/android/content/ISyncAdapterUnsyncableAccountCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800130 "core/java/android/content/ISyncContext.aidl",
131 "core/java/android/content/ISyncServiceAdapter.aidl",
132 "core/java/android/content/ISyncStatusObserver.aidl",
133 "core/java/android/content/om/IOverlayManager.aidl",
Tony Makb0d22622018-01-18 12:49:49 +0000134 "core/java/android/content/pm/ICrossProfileApps.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800135 "core/java/android/content/pm/IDexModuleRegisterCallback.aidl",
136 "core/java/android/content/pm/ILauncherApps.aidl",
137 "core/java/android/content/pm/IOnAppsChangedListener.aidl",
138 "core/java/android/content/pm/IOnPermissionsChangeListener.aidl",
139 "core/java/android/content/pm/IOtaDexopt.aidl",
140 "core/java/android/content/pm/IPackageDataObserver.aidl",
141 "core/java/android/content/pm/IPackageDeleteObserver.aidl",
142 "core/java/android/content/pm/IPackageDeleteObserver2.aidl",
143 "core/java/android/content/pm/IPackageInstallObserver2.aidl",
144 "core/java/android/content/pm/IPackageInstaller.aidl",
145 "core/java/android/content/pm/IPackageInstallerCallback.aidl",
146 "core/java/android/content/pm/IPackageInstallerSession.aidl",
147 "core/java/android/content/pm/IPackageManager.aidl",
148 ":libbinder_aidl",
149 "core/java/android/content/pm/IPackageMoveObserver.aidl",
150 "core/java/android/content/pm/IPackageStatsObserver.aidl",
151 "core/java/android/content/pm/IPinItemRequest.aidl",
152 "core/java/android/content/pm/IShortcutService.aidl",
Calin Juravle45f8b292017-11-07 18:49:43 -0800153 "core/java/android/content/pm/dex/IArtManager.aidl",
154 "core/java/android/content/pm/dex/ISnapshotRuntimeProfileCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800155 "core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl",
Richard Uhlerb29f1452018-09-12 16:38:15 +0100156 "core/java/android/content/rollback/IRollbackManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800157 "core/java/android/database/IContentObserver.aidl",
Kenny Rootf74bfde2018-01-18 15:42:48 -0800158 "core/java/android/debug/IAdbManager.aidl",
Kenny Root61fd3602018-01-19 09:01:46 -0500159 "core/java/android/debug/IAdbTransport.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800160 ":libcamera_client_aidl",
161 ":libcamera_client_framework_aidl",
162 "core/java/android/hardware/IConsumerIrService.aidl",
163 "core/java/android/hardware/ISerialManager.aidl",
Kevin Chynb7b54a62018-09-28 18:48:12 -0700164 "core/java/android/hardware/biometrics/IBiometricEnabledOnKeyguardCallback.aidl",
Kevin Chyn352adfe2018-09-20 22:28:50 -0700165 "core/java/android/hardware/biometrics/IBiometricService.aidl",
166 "core/java/android/hardware/biometrics/IBiometricServiceReceiver.aidl",
Kevin Chyn23289ef2018-11-28 16:32:36 -0800167 "core/java/android/hardware/biometrics/IBiometricServiceReceiverInternal.aidl",
Kevin Chyna56dff72018-06-19 18:41:12 -0700168 "core/java/android/hardware/biometrics/IBiometricServiceLockoutResetCallback.aidl",
Christine Franks39b03112018-07-03 14:46:07 -0700169 "core/java/android/hardware/display/IColorDisplayManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800170 "core/java/android/hardware/display/IDisplayManager.aidl",
171 "core/java/android/hardware/display/IDisplayManagerCallback.aidl",
172 "core/java/android/hardware/display/IVirtualDisplayCallback.aidl",
Kevin Chynaae4a152018-01-18 11:48:09 -0800173 "core/java/android/hardware/fingerprint/IFingerprintClientActiveCallback.aidl",
Gilad Brettercb51b8b2018-03-22 17:04:51 +0200174 "core/java/android/hardware/face/IFaceService.aidl",
Gilad Brettercb51b8b2018-03-22 17:04:51 +0200175 "core/java/android/hardware/face/IFaceServiceReceiver.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800176 "core/java/android/hardware/fingerprint/IFingerprintService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800177 "core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl",
178 "core/java/android/hardware/hdmi/IHdmiControlCallback.aidl",
179 "core/java/android/hardware/hdmi/IHdmiControlService.aidl",
180 "core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl",
181 "core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl",
182 "core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl",
183 "core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl",
184 "core/java/android/hardware/hdmi/IHdmiRecordListener.aidl",
185 "core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl",
186 "core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl",
187 "core/java/android/hardware/input/IInputManager.aidl",
188 "core/java/android/hardware/input/IInputDevicesChangedListener.aidl",
189 "core/java/android/hardware/input/ITabletModeChangedListener.aidl",
Kevin Chyn51676d22018-11-05 18:00:43 -0800190 "core/java/android/hardware/iris/IIrisService.aidl",
Brian Duddiecfa5b5b2019-01-22 18:01:40 +0000191 "core/java/android/hardware/location/IActivityRecognitionHardware.aidl",
192 "core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl",
193 "core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl",
194 "core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800195 "core/java/android/hardware/location/IGeofenceHardware.aidl",
196 "core/java/android/hardware/location/IGeofenceHardwareCallback.aidl",
197 "core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl",
198 "core/java/android/hardware/location/IContextHubCallback.aidl",
199 "core/java/android/hardware/location/IContextHubClient.aidl",
200 "core/java/android/hardware/location/IContextHubClientCallback.aidl",
201 "core/java/android/hardware/location/IContextHubService.aidl",
202 "core/java/android/hardware/location/IContextHubTransactionCallback.aidl",
Tomasz Wasilczykf151a7b2018-01-11 16:03:46 -0800203 "core/java/android/hardware/radio/IAnnouncementListener.aidl",
204 "core/java/android/hardware/radio/ICloseHandle.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800205 "core/java/android/hardware/radio/IRadioService.aidl",
206 "core/java/android/hardware/radio/ITuner.aidl",
207 "core/java/android/hardware/radio/ITunerCallback.aidl",
208 "core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl",
209 "core/java/android/hardware/usb/IUsbManager.aidl",
Philip P. Moltmanna2c6eea2018-08-24 09:50:40 -0700210 "core/java/android/hardware/usb/IUsbSerialReader.aidl",
Remi NGUYEN VAN5a1b74b2019-02-13 20:58:59 +0900211 "core/java/android/net/ICaptivePortal.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800212 "core/java/android/net/IConnectivityManager.aidl",
Chad Brubaker90f391f2018-10-19 10:26:19 -0700213 "core/java/android/hardware/ISensorPrivacyListener.aidl",
214 "core/java/android/hardware/ISensorPrivacyManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800215 "core/java/android/net/IIpConnectivityMetrics.aidl",
216 "core/java/android/net/IEthernetManager.aidl",
217 "core/java/android/net/IEthernetServiceListener.aidl",
218 "core/java/android/net/INetdEventCallback.aidl",
219 "core/java/android/net/IIpSecService.aidl",
220 "core/java/android/net/INetworkManagementEventObserver.aidl",
221 "core/java/android/net/INetworkPolicyListener.aidl",
222 "core/java/android/net/INetworkPolicyManager.aidl",
223 "core/java/android/net/INetworkRecommendationProvider.aidl",
224 "core/java/android/net/INetworkScoreCache.aidl",
225 "core/java/android/net/INetworkScoreService.aidl",
226 "core/java/android/net/INetworkStatsService.aidl",
227 "core/java/android/net/INetworkStatsSession.aidl",
junyulai7c469172019-01-16 20:23:34 +0800228 "core/java/android/net/ISocketKeepaliveCallback.aidl",
Benedict Wonge40eab62018-11-14 17:50:13 -0800229 "core/java/android/net/ITestNetworkManager.aidl",
markchien6ea34542019-02-27 14:56:11 +0800230 "core/java/android/net/ITetheringEventCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800231 "core/java/android/net/ITetheringStatsProvider.aidl",
232 "core/java/android/net/nsd/INsdManager.aidl",
233 "core/java/android/nfc/IAppCallback.aidl",
234 "core/java/android/nfc/INfcAdapter.aidl",
235 "core/java/android/nfc/INfcAdapterExtras.aidl",
236 "core/java/android/nfc/INfcTag.aidl",
237 "core/java/android/nfc/INfcCardEmulation.aidl",
238 "core/java/android/nfc/INfcFCardEmulation.aidl",
239 "core/java/android/nfc/INfcUnlockHandler.aidl",
240 "core/java/android/nfc/INfcDta.aidl",
241 "core/java/android/nfc/ITagRemovedCallback.aidl",
Ruchi Kandoia1f94012017-12-08 15:07:03 -0800242 "core/java/android/se/omapi/ISecureElementService.aidl",
243 "core/java/android/se/omapi/ISecureElementListener.aidl",
244 "core/java/android/se/omapi/ISecureElementChannel.aidl",
245 "core/java/android/se/omapi/ISecureElementReader.aidl",
246 "core/java/android/se/omapi/ISecureElementSession.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800247 "core/java/android/os/IBatteryPropertiesRegistrar.aidl",
248 "core/java/android/os/ICancellationSignal.aidl",
249 "core/java/android/os/IDeviceIdentifiersPolicyService.aidl",
250 "core/java/android/os/IDeviceIdleController.aidl",
251 "core/java/android/os/IHardwarePropertiesManager.aidl",
Colin Crossbc2dc312018-10-26 22:34:06 -0700252 ":libincident_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800253 "core/java/android/os/IMaintenanceActivityListener.aidl",
254 "core/java/android/os/IMessenger.aidl",
255 "core/java/android/os/INetworkActivityListener.aidl",
256 "core/java/android/os/INetworkManagementService.aidl",
257 "core/java/android/os/IPermissionController.aidl",
258 "core/java/android/os/IProcessInfoService.aidl",
259 "core/java/android/os/IProgressListener.aidl",
260 "core/java/android/os/IPowerManager.aidl",
261 "core/java/android/os/IRecoverySystem.aidl",
262 "core/java/android/os/IRecoverySystemProgressListener.aidl",
263 "core/java/android/os/IRemoteCallback.aidl",
264 "core/java/android/os/ISchedulingPolicyService.aidl",
Colin Crossbc2dc312018-10-26 22:34:06 -0700265 ":statsd_aidl",
Tao Bao07342dc2017-01-24 15:08:21 -0800266 "core/java/android/os/ISystemUpdateManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800267 "core/java/android/os/IThermalEventListener.aidl",
Wei Wang37b17542018-11-12 11:02:09 -0800268 "core/java/android/os/IThermalStatusListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800269 "core/java/android/os/IThermalService.aidl",
270 "core/java/android/os/IUpdateLock.aidl",
271 "core/java/android/os/IUserManager.aidl",
Michael Wrightc390fbe2018-12-12 19:45:09 +0000272 ":libvibrator_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800273 "core/java/android/os/IVibratorService.aidl",
Po-Chien Hsueh4e908c22019-03-07 11:57:17 +0800274 "core/java/android/os/image/IDynamicSystemService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800275 "core/java/android/os/storage/IStorageManager.aidl",
276 "core/java/android/os/storage/IStorageEventListener.aidl",
277 "core/java/android/os/storage/IStorageShutdownObserver.aidl",
278 "core/java/android/os/storage/IObbActionListener.aidl",
Philip P. Moltmannbc054d82018-12-21 09:41:58 -0800279 "core/java/android/permission/IPermissionController.aidl",
Logan Chien404eb2b2018-02-14 13:53:04 +0800280 ":keystore_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800281 "core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl",
Sunny Goyal54e91342018-11-14 11:59:02 -0800282 "core/java/android/service/appprediction/IPredictionService.aidl",
Felipe Leme749b8892018-12-03 16:30:30 -0800283 "core/java/android/service/autofill/augmented/IAugmentedAutofillService.aidl",
284 "core/java/android/service/autofill/augmented/IFillCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800285 "core/java/android/service/autofill/IAutoFillService.aidl",
Felipe Lemebc055b02018-01-05 17:04:10 -0800286 "core/java/android/service/autofill/IAutofillFieldClassificationService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800287 "core/java/android/service/autofill/IFillCallback.aidl",
288 "core/java/android/service/autofill/ISaveCallback.aidl",
289 "core/java/android/service/carrier/ICarrierService.aidl",
290 "core/java/android/service/carrier/ICarrierMessagingCallback.aidl",
291 "core/java/android/service/carrier/ICarrierMessagingService.aidl",
Makoto Onuki05d64cb2019-02-01 16:04:16 -0800292 "core/java/android/service/carrier/ICarrierMessagingClientService.aidl",
Winson Chung3fb0f252019-01-08 17:41:55 -0800293 "core/java/android/service/contentsuggestions/IContentSuggestionsService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800294 "core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl",
295 "core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl",
296 "core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl",
297 "core/java/android/service/euicc/IEuiccService.aidl",
298 "core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl",
299 "core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl",
300 "core/java/android/service/euicc/IGetEidCallback.aidl",
301 "core/java/android/service/euicc/IGetEuiccInfoCallback.aidl",
302 "core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl",
Qingxi Li54058362017-12-13 15:13:02 -0800303 "core/java/android/service/euicc/IGetOtaStatusCallback.aidl",
Qingxi Li6019f9c2017-12-14 15:36:06 -0800304 "core/java/android/service/euicc/IOtaStatusChangedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800305 "core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl",
306 "core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl",
307 "core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl",
308 "core/java/android/service/gatekeeper/IGateKeeperService.aidl",
Felipe Leme749b8892018-12-03 16:30:30 -0800309 "core/java/android/service/contentcapture/IContentCaptureService.aidl",
Felipe Lemeaf4e4fd2019-01-15 08:32:42 -0800310 "core/java/android/service/contentcapture/IContentCaptureServiceCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800311 "core/java/android/service/notification/INotificationListener.aidl",
312 "core/java/android/service/notification/IStatusBarNotificationHolder.aidl",
313 "core/java/android/service/notification/IConditionListener.aidl",
314 "core/java/android/service/notification/IConditionProvider.aidl",
315 "core/java/android/service/settings/suggestions/ISuggestionService.aidl",
Hongming Jinfa329d32018-10-26 16:18:07 -0700316 "core/java/android/service/sms/IFinancialSmsService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800317 "core/java/android/service/vr/IPersistentVrStateCallbacks.aidl",
318 "core/java/android/service/vr/IVrListener.aidl",
319 "core/java/android/service/vr/IVrManager.aidl",
320 "core/java/android/service/vr/IVrStateCallbacks.aidl",
Zimuzoa3bb67d2019-03-15 18:05:58 +0000321 "core/java/android/service/watchdog/IExplicitHealthCheckService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800322 "core/java/android/print/ILayoutResultCallback.aidl",
323 "core/java/android/print/IPrinterDiscoveryObserver.aidl",
324 "core/java/android/print/IPrintDocumentAdapter.aidl",
325 "core/java/android/print/IPrintDocumentAdapterObserver.aidl",
326 "core/java/android/print/IPrintJobStateChangeListener.aidl",
327 "core/java/android/print/IPrintServicesChangeListener.aidl",
328 "core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl",
329 "core/java/android/print/IPrintManager.aidl",
330 "core/java/android/print/IPrintSpooler.aidl",
331 "core/java/android/print/IPrintSpoolerCallbacks.aidl",
332 "core/java/android/print/IPrintSpoolerClient.aidl",
333 "core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl",
334 "core/java/android/printservice/recommendation/IRecommendationService.aidl",
335 "core/java/android/print/IWriteResultCallback.aidl",
336 "core/java/android/printservice/IPrintService.aidl",
337 "core/java/android/printservice/IPrintServiceClient.aidl",
338 "core/java/android/companion/ICompanionDeviceManager.aidl",
339 "core/java/android/companion/ICompanionDeviceDiscoveryService.aidl",
340 "core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl",
341 "core/java/android/companion/IFindDeviceCallback.aidl",
342 "core/java/android/service/dreams/IDreamManager.aidl",
343 "core/java/android/service/dreams/IDreamService.aidl",
344 "core/java/android/service/oemlock/IOemLockService.aidl",
345 "core/java/android/service/persistentdata/IPersistentDataBlockService.aidl",
346 "core/java/android/service/trust/ITrustAgentService.aidl",
347 "core/java/android/service/trust/ITrustAgentServiceCallback.aidl",
348 "core/java/android/service/voice/IVoiceInteractionService.aidl",
349 "core/java/android/service/voice/IVoiceInteractionSession.aidl",
350 "core/java/android/service/voice/IVoiceInteractionSessionService.aidl",
351 "core/java/android/service/wallpaper/IWallpaperConnection.aidl",
352 "core/java/android/service/wallpaper/IWallpaperEngine.aidl",
353 "core/java/android/service/wallpaper/IWallpaperService.aidl",
354 "core/java/android/service/chooser/IChooserTargetService.aidl",
355 "core/java/android/service/chooser/IChooserTargetResult.aidl",
356 "core/java/android/service/resolver/IResolverRankerService.aidl",
357 "core/java/android/service/resolver/IResolverRankerResult.aidl",
Tony Mak9920dbb2019-01-23 19:49:30 +0000358 "core/java/android/service/textclassifier/ITextClassifierCallback.aidl",
Abodunrinwa Tokid32906c2018-01-18 04:34:44 -0800359 "core/java/android/service/textclassifier/ITextClassifierService.aidl",
Alex Salob81472f2018-12-12 14:44:28 -0800360 "core/java/android/service/attention/IAttentionService.aidl",
361 "core/java/android/service/attention/IAttentionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800362 "core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl",
363 "core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl",
364 "core/java/android/view/accessibility/IAccessibilityManager.aidl",
365 "core/java/android/view/accessibility/IAccessibilityManagerClient.aidl",
366 "core/java/android/view/autofill/IAutoFillManager.aidl",
367 "core/java/android/view/autofill/IAutoFillManagerClient.aidl",
Felipe Leme284ad1c2018-11-15 18:16:12 -0800368 "core/java/android/view/autofill/IAugmentedAutofillManagerClient.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800369 "core/java/android/view/autofill/IAutofillWindowPresenter.aidl",
Felipe Lemeb96878492018-12-17 12:22:29 -0800370 "core/java/android/view/contentcapture/IContentCaptureDirectManager.aidl",
Felipe Leme749b8892018-12-03 16:30:30 -0800371 "core/java/android/view/contentcapture/IContentCaptureManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800372 "core/java/android/view/IApplicationToken.aidl",
373 "core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl",
374 "core/java/android/view/IDockedStackListener.aidl",
Adrian Roos962017e2018-11-27 15:11:46 +0100375 "core/java/android/view/IDisplayFoldListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800376 "core/java/android/view/IGraphicsStats.aidl",
377 "core/java/android/view/IGraphicsStatsCallback.aidl",
Michael Wrightc7995232019-02-14 12:33:46 +0000378 "core/java/android/view/IInputMonitorHost.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800379 "core/java/android/view/IInputFilter.aidl",
380 "core/java/android/view/IInputFilterHost.aidl",
381 "core/java/android/view/IOnKeyguardExitResult.aidl",
382 "core/java/android/view/IPinnedStackController.aidl",
383 "core/java/android/view/IPinnedStackListener.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100384 "core/java/android/view/IRemoteAnimationRunner.aidl",
Winson Chunge2d72172018-01-25 17:46:20 +0000385 "core/java/android/view/IRecentsAnimationController.aidl",
386 "core/java/android/view/IRecentsAnimationRunner.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100387 "core/java/android/view/IRemoteAnimationFinishedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800388 "core/java/android/view/IRotationWatcher.aidl",
Adrian Roos4ffc8972019-02-07 20:45:11 +0100389 "core/java/android/view/ISystemGestureExclusionListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800390 "core/java/android/view/IWallpaperVisibilityListener.aidl",
391 "core/java/android/view/IWindow.aidl",
392 "core/java/android/view/IWindowFocusObserver.aidl",
393 "core/java/android/view/IWindowId.aidl",
394 "core/java/android/view/IWindowManager.aidl",
395 "core/java/android/view/IWindowSession.aidl",
396 "core/java/android/view/IWindowSessionCallback.aidl",
397 "core/java/android/webkit/IWebViewUpdateService.aidl",
398 "core/java/android/speech/IRecognitionListener.aidl",
399 "core/java/android/speech/IRecognitionService.aidl",
400 "core/java/android/speech/tts/ITextToSpeechCallback.aidl",
401 "core/java/android/speech/tts/ITextToSpeechService.aidl",
Svetoslav Ganov2d20fb42018-02-08 15:52:10 -0800402 "core/java/com/android/internal/app/IAppOpsActiveCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800403 "core/java/com/android/internal/app/IAppOpsCallback.aidl",
Svet Ganovb3d2ae22018-12-17 22:06:15 -0800404 "core/java/com/android/internal/app/IAppOpsNotedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800405 "core/java/com/android/internal/app/IAppOpsService.aidl",
406 "core/java/com/android/internal/app/IBatteryStats.aidl",
407 "core/java/com/android/internal/app/ISoundTriggerService.aidl",
jiayuzhou21a353b2018-08-16 16:09:43 -0700408 "core/java/com/android/internal/app/IVoiceActionCheckCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800409 "core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl",
410 "core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl",
411 "core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl",
412 "core/java/com/android/internal/app/IVoiceInteractor.aidl",
413 "core/java/com/android/internal/app/IVoiceInteractorCallback.aidl",
414 "core/java/com/android/internal/app/IVoiceInteractorRequest.aidl",
415 "core/java/com/android/internal/app/IMediaContainerService.aidl",
416 "core/java/com/android/internal/app/procstats/IProcessStats.aidl",
417 "core/java/com/android/internal/appwidget/IAppWidgetService.aidl",
418 "core/java/com/android/internal/appwidget/IAppWidgetHost.aidl",
419 "core/java/com/android/internal/backup/IBackupTransport.aidl",
420 "core/java/com/android/internal/backup/IObbBackupService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800421 "core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl",
Yohei Yukawac54c1172018-09-06 11:39:50 -0700422 "core/java/com/android/internal/inputmethod/IInputMethodPrivilegedOperations.aidl",
Yohei Yukawabae5bea2018-11-12 15:08:30 -0800423 "core/java/com/android/internal/inputmethod/IMultiClientInputMethod.aidl",
424 "core/java/com/android/internal/inputmethod/IMultiClientInputMethodPrivilegedOperations.aidl",
425 "core/java/com/android/internal/inputmethod/IMultiClientInputMethodSession.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800426 "core/java/com/android/internal/net/INetworkWatchlistManager.aidl",
427 "core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl",
428 "core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl",
429 "core/java/com/android/internal/policy/IKeyguardExitCallback.aidl",
430 "core/java/com/android/internal/policy/IKeyguardService.aidl",
431 "core/java/com/android/internal/policy/IKeyguardStateCallback.aidl",
432 "core/java/com/android/internal/policy/IShortcutService.aidl",
433 "core/java/com/android/internal/os/IDropBoxManagerService.aidl",
434 "core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl",
435 "core/java/com/android/internal/os/IResultReceiver.aidl",
436 "core/java/com/android/internal/os/IShellCallback.aidl",
437 "core/java/com/android/internal/statusbar/IStatusBar.aidl",
438 "core/java/com/android/internal/statusbar/IStatusBarService.aidl",
439 "core/java/com/android/internal/textservice/ISpellCheckerService.aidl",
440 "core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl",
441 "core/java/com/android/internal/textservice/ISpellCheckerSession.aidl",
442 "core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl",
443 "core/java/com/android/internal/textservice/ITextServicesManager.aidl",
444 "core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl",
445 "core/java/com/android/internal/view/IDragAndDropPermissions.aidl",
446 "core/java/com/android/internal/view/IInputContext.aidl",
447 "core/java/com/android/internal/view/IInputContextCallback.aidl",
448 "core/java/com/android/internal/view/IInputMethod.aidl",
449 "core/java/com/android/internal/view/IInputMethodClient.aidl",
450 "core/java/com/android/internal/view/IInputMethodManager.aidl",
451 "core/java/com/android/internal/view/IInputMethodSession.aidl",
452 "core/java/com/android/internal/view/IInputSessionCallback.aidl",
453 "core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl",
454 "core/java/com/android/internal/widget/ILockSettings.aidl",
455 "core/java/com/android/internal/widget/IRemoteViewsFactory.aidl",
456 "keystore/java/android/security/IKeyChainAliasCallback.aidl",
457 "keystore/java/android/security/IKeyChainService.aidl",
458 "location/java/android/location/IBatchedLocationCallback.aidl",
459 "location/java/android/location/ICountryDetector.aidl",
460 "location/java/android/location/ICountryListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800461 "location/java/android/location/IGeocodeProvider.aidl",
462 "location/java/android/location/IGeofenceProvider.aidl",
463 "location/java/android/location/IGnssStatusListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800464 "location/java/android/location/IGnssMeasurementsListener.aidl",
465 "location/java/android/location/IGnssNavigationMessageListener.aidl",
466 "location/java/android/location/ILocationListener.aidl",
467 "location/java/android/location/ILocationManager.aidl",
468 "location/java/android/location/IFusedGeofenceHardware.aidl",
469 "location/java/android/location/IGpsGeofenceHardware.aidl",
470 "location/java/android/location/INetInitiatedListener.aidl",
471 "location/java/com/android/internal/location/ILocationProvider.aidl",
Soonil Nagarkar1575a042018-10-24 17:54:54 -0700472 "location/java/com/android/internal/location/ILocationProviderManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800473 "media/java/android/media/IAudioFocusDispatcher.aidl",
474 "media/java/android/media/IAudioRoutesObserver.aidl",
Jaewan Kim379e30d2018-01-29 11:57:04 +0900475 "media/java/android/media/IAudioService.aidl",
Eric Laurent1d3cdce2018-01-20 10:31:21 -0800476 "media/java/android/media/IAudioServerStateDispatcher.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800477 "media/java/android/media/IMediaHTTPConnection.aidl",
478 "media/java/android/media/IMediaHTTPService.aidl",
479 "media/java/android/media/IMediaResourceMonitor.aidl",
Kyunglyul Hyun1c8188f2019-02-01 10:50:11 +0900480 "media/java/android/media/IMediaRoute2Callback.aidl",
481 "media/java/android/media/IMediaRoute2Provider.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800482 "media/java/android/media/IMediaRouterClient.aidl",
Kyunglyul Hyun1c8188f2019-02-01 10:50:11 +0900483 "media/java/android/media/IMediaRouter2ManagerClient.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800484 "media/java/android/media/IMediaRouterService.aidl",
485 "media/java/android/media/IMediaScannerListener.aidl",
486 "media/java/android/media/IMediaScannerService.aidl",
487 "media/java/android/media/IPlaybackConfigDispatcher.aidl",
488 ":libaudioclient_aidl",
489 "media/java/android/media/IRecordingConfigDispatcher.aidl",
490 "media/java/android/media/IRemoteDisplayCallback.aidl",
491 "media/java/android/media/IRemoteDisplayProvider.aidl",
492 "media/java/android/media/IRemoteVolumeController.aidl",
493 "media/java/android/media/IRemoteVolumeObserver.aidl",
494 "media/java/android/media/IRingtonePlayer.aidl",
495 "media/java/android/media/IVolumeController.aidl",
496 "media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl",
497 "media/java/android/media/midi/IBluetoothMidiService.aidl",
498 "media/java/android/media/midi/IMidiDeviceListener.aidl",
499 "media/java/android/media/midi/IMidiDeviceOpenCallback.aidl",
500 "media/java/android/media/midi/IMidiDeviceServer.aidl",
501 "media/java/android/media/midi/IMidiManager.aidl",
502 "media/java/android/media/projection/IMediaProjection.aidl",
503 "media/java/android/media/projection/IMediaProjectionCallback.aidl",
504 "media/java/android/media/projection/IMediaProjectionManager.aidl",
505 "media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl",
506 "media/java/android/media/session/IActiveSessionsListener.aidl",
507 "media/java/android/media/session/ICallback.aidl",
508 "media/java/android/media/session/IOnMediaKeyListener.aidl",
509 "media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl",
Hyundo Moon83ff14c2019-01-30 19:49:15 +0900510 "media/java/android/media/session/ISession.aidl",
Jaewan Kimea911862019-01-07 16:45:14 +0900511 "media/java/android/media/session/ISession2TokensListener.aidl",
Hyundo Moon83ff14c2019-01-30 19:49:15 +0900512 "media/java/android/media/session/ISessionCallback.aidl",
513 "media/java/android/media/session/ISessionController.aidl",
514 "media/java/android/media/session/ISessionControllerCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800515 "media/java/android/media/session/ISessionManager.aidl",
Philip P. Moltmann18e3eb82018-03-09 16:55:55 -0800516 "media/java/android/media/soundtrigger/ISoundTriggerDetectionService.aidl",
517 "media/java/android/media/soundtrigger/ISoundTriggerDetectionServiceClient.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800518 "media/java/android/media/tv/ITvInputClient.aidl",
519 "media/java/android/media/tv/ITvInputHardware.aidl",
520 "media/java/android/media/tv/ITvInputHardwareCallback.aidl",
521 "media/java/android/media/tv/ITvInputManager.aidl",
522 "media/java/android/media/tv/ITvInputManagerCallback.aidl",
523 "media/java/android/media/tv/ITvInputService.aidl",
524 "media/java/android/media/tv/ITvInputServiceCallback.aidl",
525 "media/java/android/media/tv/ITvInputSession.aidl",
526 "media/java/android/media/tv/ITvInputSessionCallback.aidl",
527 "media/java/android/media/tv/ITvRemoteProvider.aidl",
528 "media/java/android/media/tv/ITvRemoteServiceInput.aidl",
Hyundo Moon83ff14c2019-01-30 19:49:15 +0900529 "media/java/android/service/media/IMediaBrowserService.aidl",
530 "media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl",
sqianea8970c2018-06-06 22:54:04 -0700531 "telecomm/java/com/android/internal/telecom/ICallRedirectionAdapter.aidl",
532 "telecomm/java/com/android/internal/telecom/ICallRedirectionService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800533 "telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl",
534 "telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl",
535 "telecomm/java/com/android/internal/telecom/IVideoCallback.aidl",
536 "telecomm/java/com/android/internal/telecom/IVideoProvider.aidl",
537 "telecomm/java/com/android/internal/telecom/IConnectionService.aidl",
538 "telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl",
539 "telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl",
540 "telecomm/java/com/android/internal/telecom/IInCallService.aidl",
Hall Liuc47570d2018-12-06 17:53:25 -0800541 "telecomm/java/com/android/internal/telecom/IPhoneAccountSuggestionCallback.aidl",
542 "telecomm/java/com/android/internal/telecom/IPhoneAccountSuggestionService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800543 "telecomm/java/com/android/internal/telecom/ITelecomService.aidl",
544 "telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl",
Mohamed Abdalkader48e18c52018-01-22 15:43:37 -0800545 "telephony/java/android/telephony/data/IDataService.aidl",
546 "telephony/java/android/telephony/data/IDataServiceCallback.aidl",
Jack Yua3ab5752018-02-20 14:08:57 -0800547 "telephony/java/android/telephony/data/IQualifiedNetworksService.aidl",
548 "telephony/java/android/telephony/data/IQualifiedNetworksServiceCallback.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800549 "telephony/java/android/telephony/ims/aidl/IImsCallSessionListener.aidl",
Brad Ebinger112c36d2018-01-16 09:33:47 -0800550 "telephony/java/android/telephony/ims/aidl/IImsCapabilityCallback.aidl",
551 "telephony/java/android/telephony/ims/aidl/IImsConfig.aidl",
552 "telephony/java/android/telephony/ims/aidl/IImsConfigCallback.aidl",
553 "telephony/java/android/telephony/ims/aidl/IImsMmTelFeature.aidl",
554 "telephony/java/android/telephony/ims/aidl/IImsMmTelListener.aidl",
555 "telephony/java/android/telephony/ims/aidl/IImsRegistration.aidl",
556 "telephony/java/android/telephony/ims/aidl/IImsRegistrationCallback.aidl",
557 "telephony/java/android/telephony/ims/aidl/IImsRcsFeature.aidl",
558 "telephony/java/android/telephony/ims/aidl/IImsServiceController.aidl",
559 "telephony/java/android/telephony/ims/aidl/IImsServiceControllerListener.aidl",
Logan Chien71ddfea2018-02-27 16:43:50 +0800560 "telephony/java/android/telephony/ims/aidl/IImsSmsListener.aidl",
Sahin Caliskan84dd3062018-12-03 14:06:39 -0800561 "telephony/java/android/telephony/ims/aidl/IRcs.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800562 "telephony/java/android/telephony/mbms/IMbmsDownloadSessionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800563 "telephony/java/android/telephony/mbms/IMbmsStreamingSessionCallback.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700564 "telephony/java/android/telephony/mbms/IMbmsGroupCallSessionCallback.aidl",
Hall Liu79539972018-03-19 18:12:23 -0700565 "telephony/java/android/telephony/mbms/IDownloadStatusListener.aidl",
566 "telephony/java/android/telephony/mbms/IDownloadProgressListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800567 "telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700568 "telephony/java/android/telephony/mbms/IGroupCallCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800569 "telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl",
570 "telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700571 "telephony/java/android/telephony/mbms/vendor/IMbmsGroupCallService.aidl",
Nathan Harold2aa2cc12018-09-27 18:49:16 -0700572 "telephony/java/android/telephony/ICellInfoCallback.aidl",
Hongming Jin08496b02019-01-25 13:41:52 -0800573 "telephony/java/android/telephony/IFinancialSmsCallback.aidl",
Jack Yud5f1de12017-12-21 11:00:05 -0800574 "telephony/java/android/telephony/INetworkService.aidl",
575 "telephony/java/android/telephony/INetworkServiceCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800576 "telephony/java/com/android/ims/internal/IImsCallSession.aidl",
577 "telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl",
578 "telephony/java/com/android/ims/internal/IImsConfig.aidl",
579 "telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl",
580 "telephony/java/com/android/ims/internal/IImsEcbm.aidl",
581 "telephony/java/com/android/ims/internal/IImsEcbmListener.aidl",
582 "telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl",
583 "telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl",
584 "telephony/java/com/android/ims/internal/IImsMMTelFeature.aidl",
585 "telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl",
586 "telephony/java/com/android/ims/internal/IImsRcsFeature.aidl",
587 "telephony/java/com/android/ims/internal/IImsService.aidl",
588 "telephony/java/com/android/ims/internal/IImsServiceController.aidl",
589 "telephony/java/com/android/ims/internal/IImsServiceFeatureCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800590 "telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl",
591 "telephony/java/com/android/ims/internal/IImsUt.aidl",
592 "telephony/java/com/android/ims/internal/IImsUtListener.aidl",
593 "telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl",
594 "telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800595 "telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl",
596 "telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl",
597 "telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl",
598 "telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl",
599 "telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl",
600 "telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl",
601 "telephony/java/com/android/ims/ImsConfigListener.aidl",
602 "telephony/java/com/android/internal/telephony/IApnSourceService.aidl",
603 "telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl",
604 "telephony/java/com/android/internal/telephony/IMms.aidl",
Hall Liu53140362018-11-28 10:44:22 -0800605 "telephony/java/com/android/internal/telephony/INumberVerificationCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800606 "telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl",
607 "telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl",
608 "telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl",
Malcolm Chenb2b88b32019-02-05 17:19:48 -0800609 "telephony/java/com/android/internal/telephony/ISetOpportunisticDataCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800610 "telephony/java/com/android/internal/telephony/ISms.aidl",
611 "telephony/java/com/android/internal/telephony/ISub.aidl",
Sooraj Sasindranfd617462019-01-08 13:23:17 -0800612 "telephony/java/com/android/internal/telephony/IOns.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800613 "telephony/java/com/android/internal/telephony/ITelephony.aidl",
614 "telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl",
danielwbhuang1f2850c2019-03-06 22:00:29 +0800615 "telephony/java/com/android/internal/telephony/IUpdateAvailableNetworksCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800616 "telephony/java/com/android/internal/telephony/IWapPushManager.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800617 "telephony/java/com/android/internal/telephony/euicc/IAuthenticateServerCallback.aidl",
618 "telephony/java/com/android/internal/telephony/euicc/ICancelSessionCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800619 "telephony/java/com/android/internal/telephony/euicc/IDeleteProfileCallback.aidl",
620 "telephony/java/com/android/internal/telephony/euicc/IDisableProfileCallback.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800621 "telephony/java/com/android/internal/telephony/euicc/IEuiccCardController.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800622 "telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800623 "telephony/java/com/android/internal/telephony/euicc/IGetAllProfilesCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800624 "telephony/java/com/android/internal/telephony/euicc/IGetDefaultSmdpAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800625 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccChallengeCallback.aidl",
626 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo1Callback.aidl",
627 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo2Callback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800628 "telephony/java/com/android/internal/telephony/euicc/IGetProfileCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800629 "telephony/java/com/android/internal/telephony/euicc/IGetRulesAuthTableCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800630 "telephony/java/com/android/internal/telephony/euicc/IGetSmdsAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800631 "telephony/java/com/android/internal/telephony/euicc/IListNotificationsCallback.aidl",
632 "telephony/java/com/android/internal/telephony/euicc/ILoadBoundProfilePackageCallback.aidl",
633 "telephony/java/com/android/internal/telephony/euicc/IPrepareDownloadCallback.aidl",
634 "telephony/java/com/android/internal/telephony/euicc/IRemoveNotificationFromListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800635 "telephony/java/com/android/internal/telephony/euicc/IResetMemoryCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800636 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationCallback.aidl",
637 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800638 "telephony/java/com/android/internal/telephony/euicc/ISetDefaultSmdpAddressCallback.aidl",
639 "telephony/java/com/android/internal/telephony/euicc/ISetNicknameCallback.aidl",
640 "telephony/java/com/android/internal/telephony/euicc/ISwitchToProfileCallback.aidl",
Roshan Pius3c38ee42018-10-09 10:06:33 -0700641 "wifi/java/android/net/wifi/INetworkRequestMatchCallback.aidl",
642 "wifi/java/android/net/wifi/INetworkRequestUserSelectionCallback.aidl",
Mehdi Alizadeh0037dde2017-11-28 15:31:28 -0800643 "wifi/java/android/net/wifi/ISoftApCallback.aidl",
Roshan Pius80fb1372018-07-16 15:43:03 -0700644 "wifi/java/android/net/wifi/ITrafficStateCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800645 "wifi/java/android/net/wifi/IWifiManager.aidl",
Mingguang Xue77cabc2019-03-08 09:58:23 -0800646 "wifi/java/android/net/wifi/IOnWifiUsabilityStatsListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800647 "wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl",
648 "wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl",
649 "wifi/java/android/net/wifi/aware/IWifiAwareMacAddressProvider.aidl",
650 "wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl",
651 "wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl",
652 "wifi/java/android/net/wifi/rtt/IRttCallback.aidl",
653 "wifi/java/android/net/wifi/rtt/IWifiRttManager.aidl",
654 "wifi/java/android/net/wifi/hotspot2/IProvisioningCallback.aidl",
Hai Shalome1afc8d2018-12-07 10:13:43 -0800655 "wifi/java/android/net/wifi/IDppCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800656 "wifi/java/android/net/wifi/IWifiScanner.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800657 "packages/services/PacProcessor/com/android/net/IProxyService.aidl",
658 "packages/services/Proxy/com/android/net/IProxyCallback.aidl",
659 "packages/services/Proxy/com/android/net/IProxyPortListener.aidl",
660 "core/java/android/service/quicksettings/IQSService.aidl",
661 "core/java/android/service/quicksettings/IQSTileService.aidl",
662
663 ":libupdate_engine_aidl",
664
665 ":storaged_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800666 ":vold_aidl",
Howard Chen0a947642019-01-07 14:10:44 +0800667 ":gsiservice_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800668 ":installd_aidl",
Nandana Duttb3f71682018-10-03 10:01:25 +0100669 ":dumpstate_aidl",
Joe Onoratoe21ab7e2018-12-18 15:00:25 -0800670 ":incidentcompanion_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800671
672 "lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl",
673 "lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl",
674 "lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl",
675 "lowpan/java/android/net/lowpan/ILowpanInterface.aidl",
676 "lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl",
677 "lowpan/java/android/net/lowpan/ILowpanManager.aidl",
678
679 "core/java/android/app/admin/SecurityLogTags.logtags",
680 "core/java/android/content/EventLogTags.logtags",
681 "core/java/android/speech/tts/EventLogTags.logtags",
682 "core/java/android/net/EventLogTags.logtags",
Makoto Onuki49392d32018-04-11 13:51:02 -0700683 "core/java/android/os/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800684 "core/java/android/webkit/EventLogTags.logtags",
Ben Gruverc7ffbe62018-01-19 11:28:04 -0800685 "core/java/com/android/internal/app/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800686 "core/java/com/android/internal/logging/EventLogTags.logtags",
Siyuan Zhoubafcd7b2017-12-04 13:02:11 -0800687 "core/java/com/android/server/DropboxLogTags.logtags",
Ricardo Quesadaab086c52017-12-11 11:26:53 -0800688 "core/java/org/chromium/arc/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800689
Inseob Kimc1246e62018-11-08 13:13:54 +0900690 ":platform-properties",
691
Colin Crosscf3a0b52017-11-16 00:15:28 -0800692 ":framework-statslog-gen",
693 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800694
695 aidl: {
Colin Cross4eb07842017-12-14 15:18:42 -0800696 export_include_dirs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800697 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
698 "core/java",
699 "graphics/java",
700 "location/java",
701 "lowpan/java",
702 "media/java",
Insun Kangf86a56c2019-01-22 17:16:07 +0900703 "media/apex/java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800704 "media/mca/effect/java",
705 "media/mca/filterfw/java",
706 "media/mca/filterpacks/java",
707 "drm/java",
708 "opengl/java",
709 "sax/java",
710 "telecomm/java",
711 "telephony/java",
712 "wifi/java",
713 "keystore/java",
714 "rs/java",
715 ],
716
717 include_dirs: [
718 "system/update_engine/binder_bindings",
719 "frameworks/native/aidl/binder",
Nandana Duttb3f71682018-10-03 10:01:25 +0100720 "frameworks/native/cmds/dumpstate/binder",
Joe Onoratoe21ab7e2018-12-18 15:00:25 -0800721 "frameworks/native/libs/incidentcompanion/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800722 "frameworks/av/camera/aidl",
723 "frameworks/av/media/libaudioclient/aidl",
724 "frameworks/native/aidl/gui",
Joe Onorato99598ee2019-02-11 15:55:13 +0000725 "frameworks/native/libs/incidentcompanion/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800726 "system/core/storaged/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800727 "system/vold/binder",
Howard Chen0a947642019-01-07 14:10:44 +0800728 "system/gsid/aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800729 "system/bt/binder",
Logan Chien404eb2b2018-02-14 13:53:04 +0800730 "system/security/keystore/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800731 ],
Olivier Gaillardb0ea4212018-07-26 11:52:37 +0100732
733 generate_get_transaction_name: true
Colin Crosscf3a0b52017-11-16 00:15:28 -0800734 },
735
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000736 exclude_srcs: [
Paul Duffina3b69212018-01-25 09:58:32 +0000737 // See comment on framework-atb-backward-compatibility module below
738 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000739 ],
740
Colin Crosscf3a0b52017-11-16 00:15:28 -0800741 no_framework_libs: true,
742 libs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800743 "ext",
Insun Kangd5fa8152019-01-24 17:08:10 +0900744 "updatable_media_stubs",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800745 ],
746
Steven Moreland19e8d462019-03-08 10:44:22 -0800747 jarjar_rules: ":framework-jarjar-rules",
Steven Moreland20a18482019-01-17 12:24:54 -0800748
Colin Crosscf3a0b52017-11-16 00:15:28 -0800749 static_libs: [
Dario Frenid8bf22e2018-08-31 14:18:04 +0100750 "apex_aidl_interface-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800751 "framework-protos",
Peiyong Lin9ca1dd82019-01-12 17:44:29 -0800752 "game-driver-protos",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800753 "android.hidl.base-V1.0-java",
Henry Fang5215ac92019-02-01 19:24:55 +0000754 "android.hardware.cas-V1.1-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800755 "android.hardware.cas-V1.0-java",
756 "android.hardware.contexthub-V1.0-java",
757 "android.hardware.health-V1.0-java-constants",
Steven Morelande0dde652019-01-24 12:03:26 -0800758 "android.hardware.radio-V1.0-java",
759 "android.hardware.radio-V1.1-java",
760 "android.hardware.radio-V1.2-java",
761 "android.hardware.radio-V1.3-java",
762 "android.hardware.radio-V1.4-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800763 "android.hardware.thermal-V1.0-java-constants",
Wei Wangfb21bd82019-01-10 14:16:23 -0800764 "android.hardware.thermal-V1.0-java",
Wei Wangbad7c202018-11-01 11:57:39 -0700765 "android.hardware.thermal-V1.1-java",
766 "android.hardware.thermal-V2.0-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800767 "android.hardware.tv.input-V1.0-java-constants",
768 "android.hardware.usb-V1.0-java-constants",
769 "android.hardware.usb-V1.1-java-constants",
Badhri Jagan Sridharane966a382018-12-09 14:49:38 -0800770 "android.hardware.usb-V1.2-java-constants",
Steven Morelande0dde652019-01-24 12:03:26 -0800771 "android.hardware.usb.gadget-V1.0-java",
Michael Wrightf268bf52018-02-07 23:23:34 +0000772 "android.hardware.vibrator-V1.0-java",
773 "android.hardware.vibrator-V1.1-java",
774 "android.hardware.vibrator-V1.2-java",
Harpreet "Eli" Sanghaa456f082018-12-14 12:06:10 +0900775 "android.hardware.vibrator-V1.3-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800776 "android.hardware.wifi-V1.0-java-constants",
arangelov1ab61492018-11-22 13:56:50 +0000777 "devicepolicyprotosnano",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800778 ],
779
Wei Jia0a8a8f02017-12-05 17:05:29 -0800780 required: [
Anton Hansson11905c62018-11-27 12:10:30 +0000781 // TODO: remove gps_debug when the build system propagates "required" properly.
782 "gps_debug.conf",
Logan Chien71ddfea2018-02-27 16:43:50 +0800783 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800784
Colin Crosscf3a0b52017-11-16 00:15:28 -0800785 dxflags: [
786 "--core-library",
787 "--multi-dex",
788 ],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100789
Ashley Roseb47ddd42019-01-28 19:54:09 -0500790 plugins: ["view-inspector-annotation-processor"],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100791}
792
Colin Crossbc2dc312018-10-26 22:34:06 -0700793filegroup {
Steven Moreland19e8d462019-03-08 10:44:22 -0800794 name: "framework-jarjar-rules",
795 srcs: ["jarjar_rules_hidl.txt"],
796}
797
798filegroup {
Colin Crossbc2dc312018-10-26 22:34:06 -0700799 name: "libincident_aidl",
800 srcs: [
801 "core/java/android/os/IIncidentManager.aidl",
802 "core/java/android/os/IIncidentReportStatusListener.aidl",
803 ],
804}
805
806filegroup {
807 name: "statsd_aidl",
808 srcs: [
809 "core/java/android/os/IStatsCompanionService.aidl",
810 "core/java/android/os/IStatsManager.aidl",
Tej Singha0c89dd2019-01-25 16:39:18 -0800811 "core/java/android/os/IStatsPullerCallback.aidl",
Colin Crossbc2dc312018-10-26 22:34:06 -0700812 ],
813}
814
Michael Wrightc390fbe2018-12-12 19:45:09 +0000815filegroup {
816 name: "libvibrator_aidl",
817 srcs: [
818 "core/java/android/os/IExternalVibrationController.aidl",
819 "core/java/android/os/IExternalVibratorService.aidl",
820 ],
821}
822
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100823java_library {
824 name: "framework",
825 defaults: ["framework-defaults"],
826 javac_shard_size: 150,
827}
828
829java_library {
830 name: "framework-annotation-proc",
831 defaults: ["framework-defaults"],
832 // Use UsedByApps annotation processor
Colin Crossa1f8e1a2019-01-21 21:45:20 -0800833 plugins: ["unsupportedappusage-annotation-processor"],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100834}
835
836// A host library including just UnsupportedAppUsage.java so that the annotation
837// processor can also use this annotation.
838java_library_host {
839 name: "unsupportedappusage-annotation",
840 srcs: [
841 "core/java/android/annotation/IntDef.java",
842 "core/java/android/annotation/UnsupportedAppUsage.java",
843 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800844}
845
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000846// A temporary build target that is conditionally included on the bootclasspath if
Paul Duffina3b69212018-01-25 09:58:32 +0000847// android.test.base library has been removed and which provides support for
848// maintaining backwards compatibility for APKs that target pre-P and depend on
849// android.test.base classes. This is used iff REMOVE_ATB_FROM_BCP=true is
850// specified on the build command line.
851java_library {
852 name: "framework-atb-backward-compatibility",
Paul Duffinfab87542019-02-15 11:39:12 +0000853 installable: true,
Paul Duffina3b69212018-01-25 09:58:32 +0000854 srcs: [
855 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
856 ],
857}
858
Colin Crosscf3a0b52017-11-16 00:15:28 -0800859genrule {
860 name: "framework-statslog-gen",
861 tools: ["stats-log-api-gen"],
862 cmd: "$(location stats-log-api-gen) --java $(out)",
David Chen0a368b22017-12-06 16:28:16 -0800863 out: ["android/util/StatsLogInternal.java"],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800864}
865
866gensrcs {
867 name: "framework-javastream-protos",
868 depfile: true,
869
Alex Light159799d2018-08-08 07:05:19 -0700870 tool_files: [ "tools/genprotos.sh", ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800871 tools: [
872 "aprotoc",
873 "protoc-gen-javastream",
874 "soong_zip",
875 ],
876
Alex Light159799d2018-08-08 07:05:19 -0700877 // TODO This should not be needed. If you set a custom OUT_DIR or OUT_DIR_COMMON_BASE you can
878 // end up with a command that is extremely long, potentially going passed MAX_ARG_STRLEN due to
879 // the way sbox rewrites the command. See b/70221552.
880 cmd: "$(location tools/genprotos.sh) " +
881 " $(location aprotoc) " +
882 " $(location protoc-gen-javastream) " +
883 " $(location soong_zip) " +
884 " $(genDir) " +
885 " $(depfile) " +
886 " $(in) " +
887 " $(out)",
Yi Jin437aa6e2018-01-10 11:34:26 -0800888 srcs: [
889 "core/proto/**/*.proto",
890 "libs/incident/**/*.proto",
891 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800892 output_extension: "srcjar",
893}
894
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900895filegroup {
Chalard Jean95213512019-01-30 21:04:58 +0900896 name: "framework-annotations",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900897 srcs: [
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900898 "core/java/android/annotation/NonNull.java",
899 "core/java/android/annotation/Nullable.java",
900 "core/java/android/annotation/IntDef.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900901 "core/java/android/annotation/IntRange.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900902 "core/java/android/annotation/UnsupportedAppUsage.java",
Remi NGUYEN VAN231b52b2019-01-29 15:38:52 +0900903 "core/java/com/android/internal/annotations/GuardedBy.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900904 "core/java/com/android/internal/annotations/VisibleForTesting.java",
Chalard Jean95213512019-01-30 21:04:58 +0900905 ]
906}
907
908filegroup {
Remi NGUYEN VANe88516f2019-01-20 09:35:10 +0900909 name: "framework-networkstack-shared-srcs",
910 srcs: [
911 // TODO: remove these annotations as soon as we can use andoid.support.annotations.*
Chalard Jean95213512019-01-30 21:04:58 +0900912 ":framework-annotations",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900913 "core/java/android/net/DhcpResults.java",
Remi NGUYEN VANe88516f2019-01-20 09:35:10 +0900914 "core/java/android/util/LocalLog.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900915 "core/java/com/android/internal/util/HexDump.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900916 "core/java/com/android/internal/util/IndentingPrintWriter.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900917 "core/java/com/android/internal/util/IState.java",
918 "core/java/com/android/internal/util/MessageUtils.java",
919 "core/java/com/android/internal/util/Preconditions.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900920 "core/java/com/android/internal/util/RingBufferIndices.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900921 "core/java/com/android/internal/util/State.java",
922 "core/java/com/android/internal/util/StateMachine.java",
923 "core/java/com/android/internal/util/WakeupMessage.java",
924 "core/java/android/net/shared/*.java",
925 ]
926}
927
Colin Crossd8e02252017-10-02 17:14:22 -0700928// Build ext.jar
929// ============================================================
930java_library {
931 name: "ext",
Colin Crossa12c0f52018-06-27 11:00:11 -0700932 installable: true,
Paul Duffinba4cee02018-11-23 12:19:49 +0000933 no_framework_libs: true,
Colin Crossd8e02252017-10-02 17:14:22 -0700934 static_libs: [
935 "libphonenumber-platform",
936 "nist-sip",
937 "tagsoup",
Ricky Wai0d1bc332017-10-31 14:31:01 +0000938 "rappor",
Tony Mak64c4cb22018-09-25 13:38:28 +0100939 "libtextclassifier-java",
940 ],
941 required: [
942 "libtextclassifier",
Colin Crossd8e02252017-10-02 17:14:22 -0700943 ],
944 dxflags: ["--core-library"],
945}
946
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700947// ==== java proto host library ==============================
948java_library_host {
949 name: "platformprotos",
950 srcs: [
951 "cmds/am/proto/instrumentation_data.proto",
Howard Ro0546d542018-08-30 16:23:44 -0700952 "cmds/statsd/src/**/*.proto",
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700953 "core/proto/**/*.proto",
954 "libs/incident/proto/**/*.proto",
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700955 ],
956 proto: {
957 include_dirs: ["external/protobuf/src"],
958 type: "full",
959 },
960 errorprone: {
961 javacflags: ["-Xep:MissingOverride:OFF"], // b/72714520
962 },
963}
964
Colin Cross43214162018-08-20 13:57:24 -0700965// ==== java proto device library (for test only) ==============================
966java_library {
967 name: "platformprotosnano",
968 proto: {
969 type: "nano",
970 output_params: ["store_unknown_fields=true"],
971 include_dirs: ["external/protobuf/src"],
972 },
Joe Onorato99598ee2019-02-11 15:55:13 +0000973 exclude_srcs: [
974 "core/proto/android/privacy.proto",
975 "core/proto/android/section.proto",
976 ],
Colin Cross43214162018-08-20 13:57:24 -0700977 sdk_version: "current",
978 srcs: [
979 "core/proto/**/*.proto",
980 "libs/incident/proto/android/os/**/*.proto",
981 ],
982}
983
984// ==== java proto device library (for test only) ==============================
985java_library {
986 name: "platformprotoslite",
987 proto: {
988 type: "lite",
989 include_dirs: ["external/protobuf/src"],
990 },
991
992 srcs: [
993 "core/proto/**/*.proto",
994 "libs/incident/proto/android/os/**/*.proto",
995 ],
Joe Onorato99598ee2019-02-11 15:55:13 +0000996 exclude_srcs: [
997 "core/proto/android/privacy.proto",
998 "core/proto/android/section.proto",
999 ],
Colin Cross43214162018-08-20 13:57:24 -07001000 // Protos have lots of MissingOverride and similar.
1001 errorprone: {
1002 javacflags: ["-XepDisableAllChecks"],
1003 },
1004}
1005
Colin Crossaa0d4352017-05-02 14:14:56 -07001006// ==== c++ proto device library ==============================
Joe Onorato99598ee2019-02-11 15:55:13 +00001007cc_defaults {
1008 name: "libplatformprotos-defaults",
1009
Colin Crossaa0d4352017-05-02 14:14:56 -07001010 proto: {
1011 export_proto_headers: true,
1012 include_dirs: ["external/protobuf/src"],
1013 },
1014
Chih-Hung Hsiehc7edf072017-10-03 09:57:55 -07001015 cflags: [
1016 "-Wall",
1017 "-Werror",
1018 "-Wno-unused-parameter",
1019 ],
Joe Onorato62c220b2017-11-18 20:32:56 -08001020
1021 srcs: [
1022 "core/proto/**/*.proto",
Joe Onorato62c220b2017-11-18 20:32:56 -08001023 ],
Joe Onorato99598ee2019-02-11 15:55:13 +00001024}
1025
1026cc_library {
1027 name: "libplatformprotos",
1028 defaults: ["libplatformprotos-defaults"],
1029 host_supported: true,
Joe Onorato62c220b2017-11-18 20:32:56 -08001030
Colin Crossaa0d4352017-05-02 14:14:56 -07001031 target: {
1032 host: {
1033 proto: {
1034 type: "full",
1035 },
1036 },
1037 android: {
1038 proto: {
1039 type: "lite",
1040 },
Joe Onorato99598ee2019-02-11 15:55:13 +00001041 shared_libs: [
1042 "libprotobuf-cpp-lite",
1043 ],
Colin Crossaa0d4352017-05-02 14:14:56 -07001044 shared: {
Colin Crossaa0d4352017-05-02 14:14:56 -07001045 enabled: false,
1046 },
1047 },
1048 },
Colin Crossaa0d4352017-05-02 14:14:56 -07001049}
1050
Joe Onorato99598ee2019-02-11 15:55:13 +00001051// This is the full proto version of libplatformprotos. It may only
1052// be used by test code that is not shipped on the device.
1053cc_library {
1054 name: "libplatformprotos-test",
1055 defaults: ["libplatformprotos-defaults"],
1056 host_supported: false,
1057
1058 target: {
1059 android: {
1060 proto: {
1061 type: "full",
1062 },
1063 shared: {
1064 enabled: false,
1065 },
1066 },
1067 },
1068}
1069
1070
Yi Jin04625ad2017-10-17 18:29:33 -07001071gensrcs {
1072 name: "gen-platform-proto-constants",
1073 depfile: true,
1074
1075 tools: [
1076 "aprotoc",
1077 "protoc-gen-cppstream",
1078 ],
1079
1080 srcs: [
Kweku Adamseadd1232018-02-05 16:45:13 -08001081 "core/proto/android/os/backtrace.proto",
Kweku Adams59e6fd72017-12-27 15:48:14 -08001082 "core/proto/android/os/batterytype.proto",
Yi Jin0eb22342017-11-06 17:17:27 -08001083 "core/proto/android/os/cpufreq.proto",
Yi Jine2f7f792017-11-01 17:08:27 -07001084 "core/proto/android/os/cpuinfo.proto",
Colin Crossbc2dc312018-10-26 22:34:06 -07001085 "core/proto/android/os/data.proto",
Yi Jin04625ad2017-10-17 18:29:33 -07001086 "core/proto/android/os/kernelwake.proto",
1087 "core/proto/android/os/pagetypeinfo.proto",
1088 "core/proto/android/os/procrank.proto",
Kweku Adamsf5cc5752017-12-20 17:59:17 -08001089 "core/proto/android/os/ps.proto",
Yi Jin0dfa7522017-11-06 17:43:47 -08001090 "core/proto/android/os/system_properties.proto",
Yi Jin3c034c92017-12-22 17:36:47 -08001091 "core/proto/android/util/event_log_tags.proto",
Colin Crossbc2dc312018-10-26 22:34:06 -07001092 "core/proto/android/util/log.proto",
Yi Jin04625ad2017-10-17 18:29:33 -07001093 ],
1094
1095 // Append protoc-gen-cppstream tool's PATH otherwise aprotoc can't find the plugin tool
Yi Jin3c034c92017-12-22 17:36:47 -08001096 cmd: "mkdir -p $(genDir) " +
1097 "&& $(location aprotoc) " +
1098 " --plugin=$(location protoc-gen-cppstream) " +
1099 " --dependency_out=$(depfile) " +
1100 " --cppstream_out=$(genDir) " +
1101 " -Iexternal/protobuf/src " +
1102 " -I . " +
1103 " $(in)",
Yi Jin04625ad2017-10-17 18:29:33 -07001104
Logan Chien71ddfea2018-02-27 16:43:50 +08001105 output_extension: "proto.h",
Yi Jin04625ad2017-10-17 18:29:33 -07001106}
1107
Joe Onorato99598ee2019-02-11 15:55:13 +00001108
Dan Albert2a8d9c22016-09-23 15:55:49 -07001109subdirs = [
Yi Jin0a3406f2017-06-22 19:23:11 -07001110 "cmds/*",
Jeff Sharkey0c686e72017-10-23 16:04:31 -06001111 "core/*",
Colin Cross4f8d9e62016-12-01 15:55:00 -08001112 "libs/*",
Colin Cross76de4f62017-05-15 18:10:40 -07001113 "media/*",
Colin Cross747e7c12017-10-24 16:21:22 -07001114 "proto",
Fabien Sanglard19160202017-01-12 14:24:31 -05001115 "tools/*",
Dan Albert2a8d9c22016-09-23 15:55:49 -07001116 "native/android",
Dan Albert7ce8df32016-09-23 16:43:49 -07001117 "native/graphics/jni",
Dan Albert2a8d9c22016-09-23 15:55:49 -07001118]
Svetoslav Ganov74c99832016-12-05 20:07:20 -08001119
1120optional_subdirs = [
1121 "core/tests/utiltests/jni",
1122]
Steven Morelandeddafe92017-10-02 16:58:41 -07001123
Colin Crossa2b78a72018-03-29 13:31:04 -07001124// TODO(b/77285514): remove this once the last few hidl interfaces have been
1125// updated to use hwbinder.stubs.
Steven Morelandeddafe92017-10-02 16:58:41 -07001126java_library {
1127 name: "hwbinder",
1128 no_framework_libs: true,
1129
1130 srcs: [
1131 "core/java/android/os/HidlSupport.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -08001132 "core/java/android/annotation/IntDef.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001133 "core/java/android/annotation/NonNull.java",
Steven Moreland0ff061a2019-03-04 17:56:30 -08001134 "core/java/android/annotation/Nullable.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -08001135 "core/java/android/annotation/SystemApi.java",
Steven Morelandcbba4c72019-01-11 10:19:51 -08001136 "core/java/android/annotation/TestApi.java",
Andrei Onea24ec3212019-03-15 17:35:05 +00001137 "core/java/android/annotation/UnsupportedAppUsage.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001138 "core/java/android/os/HwBinder.java",
1139 "core/java/android/os/HwBlob.java",
1140 "core/java/android/os/HwParcel.java",
1141 "core/java/android/os/IHwBinder.java",
1142 "core/java/android/os/IHwInterface.java",
1143 "core/java/android/os/DeadObjectException.java",
1144 "core/java/android/os/DeadSystemException.java",
Nirav Atre9850dd92018-07-24 17:03:44 -07001145 "core/java/android/os/NativeHandle.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001146 "core/java/android/os/RemoteException.java",
1147 "core/java/android/util/AndroidException.java",
1148 ],
1149
1150 dxflags: ["--core-library"],
1151 installable: false,
1152}
Nan Zhang2db709d2017-11-08 20:48:46 -08001153
1154python_defaults {
1155 name: "base_default",
1156 version: {
1157 py2: {
1158 enabled: true,
1159 embedded_launcher: true,
1160 },
1161 py3: {
1162 enabled: false,
1163 embedded_launcher: false,
1164 },
1165 },
1166}
1167
1168python_binary_host {
1169 name: "fontchain_linter",
1170 defaults: ["base_default"],
1171 main: "tools/fonts/fontchain_linter.py",
1172 srcs: [
1173 "tools/fonts/fontchain_linter.py",
1174 ],
1175 libs: [
1176 "fontTools",
1177 ],
1178}
Nan Zhang172875b2018-02-27 11:24:03 -08001179
1180// TODO: Don't rely on this list once droiddoc can take a list of packages to document
1181frameworks_base_subdirs = [
1182 "core/java",
1183 "graphics/java",
1184 "location/java",
1185 "media/java",
1186 "media/mca/effect/java",
1187 "media/mca/filterfw/java",
1188 "media/mca/filterpacks/java",
1189 "drm/java",
1190 "opengl/java",
1191 "sax/java",
1192 "telecomm/java",
1193 "telephony/java",
1194 "wifi/java",
1195 "lowpan/java",
1196 "keystore/java",
1197 "rs/java",
1198]
1199
1200packages_to_document = [
1201 "android",
1202 "javax/microedition/khronos",
1203 "org/apache/http/conn",
1204 "org/apache/http/params",
1205]
1206
Paul Duffin0440e1f2019-02-11 16:13:25 +00001207// Make the api/current.txt file available for use by modules in other
1208// directories.
1209filegroup {
1210 name: "frameworks-base-api-current.txt",
1211 srcs: [
1212 "api/current.txt",
1213 ],
1214}
1215
Nan Zhang7764a4b2018-08-22 11:27:31 -07001216framework_docs_only_args = " -android -manifest $(location core/res/AndroidManifest.xml) " +
Nan Zhangb03396e2018-10-11 18:06:10 -07001217 "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001218 "-overview $(location core/java/overview.html) " +
1219 // Federate Support Library references against local API file.
1220 "-federate SupportLib https://developer.android.com " +
Paul Duffincf2e9892019-02-11 15:40:28 +00001221 "-federationapi SupportLib $(location :current-support-api) "
Nan Zhang172875b2018-02-27 11:24:03 -08001222
Nan Zhang7764a4b2018-08-22 11:27:31 -07001223framework_docs_only_libs = [
Nan Zhang7764a4b2018-08-22 11:27:31 -07001224 "voip-common",
1225 "android.test.mock",
1226 "android-support-annotations",
1227 "android-support-compat",
1228 "android-support-core-ui",
1229 "android-support-core-utils",
1230 "android-support-customtabs",
1231 "android-support-design",
1232 "android-support-dynamic-animation",
1233 "android-support-exifinterface",
1234 "android-support-fragment",
1235 "android-support-media-compat",
1236 "android-support-percent",
1237 "android-support-recommendation",
1238 "android-support-transition",
1239 "android-support-tv-provider",
1240 "android-support-v7-cardview",
1241 "android-support-v7-gridlayout",
1242 "android-support-v7-mediarouter",
1243 "android-support-v7-palette",
1244 "android-support-v7-preference",
1245 "android-support-v13",
1246 "android-support-v14-preference",
1247 "android-support-v17-leanback",
1248 "android-support-v17-preference-leanback",
1249 "android-support-wear",
1250 "android-support-vectordrawable",
1251 "android-support-animatedvectordrawable",
1252 "android-support-v7-appcompat",
1253 "android-support-v7-recyclerview",
1254 "android-support-emoji",
1255 "android-support-emoji-appcompat",
1256 "android-support-emoji-bundled",
1257 "android-support-v8-renderscript",
1258 "android-support-multidex",
1259 "android-support-multidex-instrumentation",
1260]
1261
1262metalava_framework_docs_args = "--manifest $(location core/res/AndroidManifest.xml) " +
1263 "--hide-package com.android.okhttp " +
1264 "--hide-package com.android.org.conscrypt --hide-package com.android.server " +
Adrian Roosc6e2fc82018-12-12 15:08:44 +01001265 "--error UnhiddenSystemApi " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001266 "--hide RequiresPermission " +
1267 "--hide MissingPermission --hide BroadcastBehavior " +
1268 "--hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol " +
1269 "--hide SdkConstant --hide HiddenTypeParameter --hide Todo --hide Typo"
1270
1271stubs_defaults {
1272 name: "framework-doc-stubs-default",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001273 srcs: [
1274 "test-base/src/**/*.java",
1275 ":opt-telephony-srcs",
1276 ":opt-net-voip-srcs",
Neil Fuller3b1b7032019-02-26 12:00:38 +00001277 ":core_public_api_files",
Insun Kangd5fa8152019-01-24 17:08:10 +09001278 ":updatable-media-srcs-without-aidls",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001279 "test-mock/src/**/*.java",
1280 "test-runner/src/**/*.java",
1281 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001282 srcs_lib: "framework",
1283 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1284 srcs_lib_whitelist_pkgs: packages_to_document,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001285 libs: framework_docs_only_libs,
Nan Zhang3e15ba82018-07-26 18:41:12 +00001286 local_sourcepaths: frameworks_base_subdirs,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001287 create_doc_stubs: true,
1288 annotations_enabled: true,
1289 api_levels_annotations_enabled: true,
1290 api_levels_annotations_dirs: [
1291 "sdk-dir",
1292 "api-versions-jars-dir",
1293 ],
1294 previous_api: ":last-released-public-api",
1295 merge_annotations_dirs: [
1296 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001297 "ojluni-annotated-sdk-stubs",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001298 ],
1299}
1300
1301doc_defaults {
1302 name: "framework-docs-default",
Nan Zhangb03396e2018-10-11 18:06:10 -07001303 libs: framework_docs_only_libs +
1304 ["stub-annotations"],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001305 html_dirs: [
1306 "docs/html",
1307 ],
1308 knowntags: [
1309 "docs/knowntags.txt",
1310 ":known-oj-tags",
1311 ],
1312 custom_template: "droiddoc-templates-sdk",
1313 resourcesdir: "docs/html/reference/images/",
1314 resourcesoutdir: "reference/android/images/",
1315 hdf: [
1316 "dac true",
1317 "sdk.codename O",
1318 "sdk.preview.version 1",
1319 "sdk.version 7.0",
1320 "sdk.rel.id 1",
1321 "sdk.preview 0",
1322 ],
1323 arg_files: [
1324 "core/res/AndroidManifest.xml",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001325 "core/java/overview.html",
1326 ":current-support-api",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001327 ],
1328 create_stubs: false,
1329}
1330
Nan Zhang894c9ec2018-09-10 18:58:39 -07001331stubs_defaults {
Nan Zhangd25ad462018-08-22 10:48:15 -07001332 name: "metalava-api-stubs-default",
1333 srcs: [
1334 ":opt-telephony-srcs",
1335 ":opt-net-voip-srcs",
Neil Fuller3b1b7032019-02-26 12:00:38 +00001336 ":core_public_api_files",
Insun Kangd5fa8152019-01-24 17:08:10 +09001337 ":updatable-media-srcs-without-aidls",
Nan Zhangd25ad462018-08-22 10:48:15 -07001338 ],
1339 srcs_lib: "framework",
1340 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1341 srcs_lib_whitelist_pkgs: packages_to_document,
1342 libs: [
Nan Zhangd25ad462018-08-22 10:48:15 -07001343 "ext",
1344 "framework",
1345 "voip-common",
Nan Zhangd25ad462018-08-22 10:48:15 -07001346 ],
1347 local_sourcepaths: frameworks_base_subdirs,
1348 installable: false,
Nan Zhang894c9ec2018-09-10 18:58:39 -07001349 annotations_enabled: true,
1350 previous_api: ":last-released-public-api",
1351 merge_annotations_dirs: [
Nan Zhangd25ad462018-08-22 10:48:15 -07001352 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001353 "ojluni-annotated-sdk-stubs",
Nan Zhangd25ad462018-08-22 10:48:15 -07001354 ],
Nan Zhang91cc7662018-09-18 10:46:10 -07001355 api_levels_annotations_enabled: true,
1356 api_levels_annotations_dirs: [
1357 "sdk-dir",
1358 "api-versions-jars-dir",
1359 ],
Nan Zhangd25ad462018-08-22 10:48:15 -07001360}
1361
Nan Zhang7764a4b2018-08-22 11:27:31 -07001362droidstubs {
1363 name: "framework-doc-stubs",
1364 defaults: ["framework-doc-stubs-default"],
1365 arg_files: [
1366 "core/res/AndroidManifest.xml",
1367 ],
1368 args: metalava_framework_docs_args,
1369}
1370
1371droidstubs {
1372 name: "framework-doc-system-stubs",
1373 defaults: ["framework-doc-stubs-default"],
1374 arg_files: [
1375 "core/res/AndroidManifest.xml",
1376 ],
1377 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi ",
1378}
1379
Nan Zhang3e15ba82018-07-26 18:41:12 +00001380droiddoc {
1381 name: "doc-comment-check-docs",
1382 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001383 srcs: [
1384 ":framework-doc-stubs",
1385 ],
1386 args: framework_docs_only_args + " -referenceonly -parsecomments",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001387 installable: false,
1388}
1389
1390droiddoc {
1391 name: "offline-sdk-docs",
1392 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001393 srcs: [
1394 ":framework-doc-stubs",
1395 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001396 hdf: [
1397 "android.whichdoc offline",
1398 ],
1399 proofread_file: "offline-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001400 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\"",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001401 write_sdk_values: true,
1402 static_doc_index_redirect: "docs/docs-preview-index.html",
1403}
1404
1405droiddoc {
Nan Zhang963612b2018-09-21 17:16:49 -07001406 // Please sync with android-api-council@ before making any changes for the name property below.
1407 // Since there's cron jobs that fetch offline-sdk-referenceonly-docs-docs.zip periodically.
1408 // See b/116221385 for reference.
Nan Zhang3e15ba82018-07-26 18:41:12 +00001409 name: "offline-sdk-referenceonly-docs",
1410 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001411 srcs: [
1412 ":framework-doc-stubs",
1413 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001414 hdf: [
1415 "android.whichdoc offline",
1416 ],
1417 proofread_file: "offline-sdk-referenceonly-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001418 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\" -referenceonly",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001419 write_sdk_values: true,
1420 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
1421 static_doc_properties: "docs/source.properties",
1422}
1423
1424droiddoc {
Nan Zhang963612b2018-09-21 17:16:49 -07001425 // Please sync with android-api-council@ before making any changes for the name property below.
1426 // Since there's cron jobs that fetch offline-system-sdk-referenceonly-docs-docs.zip periodically.
1427 // See b/116221385 for reference.
Nan Zhang3e15ba82018-07-26 18:41:12 +00001428 name: "offline-system-sdk-referenceonly-docs",
1429 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001430 srcs: [
1431 ":framework-doc-system-stubs",
1432 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001433 hdf: [
1434 "android.whichdoc offline",
1435 ],
1436 proofread_file: "offline-system-sdk-referenceonly-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001437 args: framework_docs_only_args + " -hide 101 -hide 104 -hide 108" +
1438 " -offlinemode -title \"Android System SDK\" -referenceonly",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001439 write_sdk_values: true,
1440 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
1441 static_doc_properties: "docs/source.properties",
1442}
1443
1444droiddoc {
1445 name: "online-sdk-docs",
1446 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001447 srcs: [
1448 ":framework-doc-stubs",
1449 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001450 hdf: [
1451 "android.whichdoc online",
1452 "android.hasSamples true",
1453 ],
1454 proofread_file: "online-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001455 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001456 " -toroot / -samplegroup Admin " +
1457 " -samplegroup Background " +
1458 " -samplegroup Connectivity " +
1459 " -samplegroup Content " +
1460 " -samplegroup Input " +
1461 " -samplegroup Media " +
1462 " -samplegroup Notification " +
1463 " -samplegroup RenderScript " +
1464 " -samplegroup Security " +
1465 " -samplegroup Sensors " +
1466 " -samplegroup System " +
1467 " -samplegroup Testing " +
1468 " -samplegroup UI " +
1469 " -samplegroup Views " +
1470 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1471}
1472
1473droiddoc {
1474 name: "online-system-api-sdk-docs",
1475 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001476 srcs: [
1477 ":framework-doc-system-stubs",
1478 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001479 hdf: [
1480 "android.whichdoc online",
1481 "android.hasSamples true",
1482 ],
1483 proofread_file: "online-system-api-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001484 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001485 " -referenceonly " +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001486 " -title \"Android SDK - Including system APIs.\" " +
1487 " -hide 101 " +
1488 " -hide 104 " +
1489 " -hide 108 " +
1490 " -toroot / -samplegroup Admin " +
1491 " -samplegroup Background " +
1492 " -samplegroup Connectivity " +
1493 " -samplegroup Content " +
1494 " -samplegroup Input " +
1495 " -samplegroup Media " +
1496 " -samplegroup Notification " +
1497 " -samplegroup RenderScript " +
1498 " -samplegroup Security " +
1499 " -samplegroup Sensors " +
1500 " -samplegroup System " +
1501 " -samplegroup Testing " +
1502 " -samplegroup UI " +
1503 " -samplegroup Views " +
1504 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1505 installable: false,
1506}
1507
1508droiddoc {
1509 name: "ds-docs",
1510 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001511 srcs: [
1512 ":framework-doc-stubs",
1513 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001514 hdf: [
1515 "android.whichdoc online",
1516 "android.hasSamples true",
1517 ],
1518 proofread_file: "ds-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001519 args: framework_docs_only_args +
Dirk Dougherty14b05b12019-02-22 20:36:41 -08001520 " -toroot / -yamlV2 -metalavaApiSince -samplegroup Admin " +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001521 " -samplegroup Background " +
1522 " -samplegroup Connectivity " +
1523 " -samplegroup Content " +
1524 " -samplegroup Input " +
1525 " -samplegroup Media " +
1526 " -samplegroup Notification " +
1527 " -samplegroup RenderScript " +
1528 " -samplegroup Security " +
1529 " -samplegroup Sensors " +
1530 " -samplegroup System " +
1531 " -samplegroup Testing " +
1532 " -samplegroup UI " +
1533 " -samplegroup Views " +
1534 " -samplegroup Wearable -devsite -samplesdir development/samples/browseable ",
1535}
1536
1537droiddoc {
1538 name: "ds-static-docs",
1539 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001540 srcs: [
1541 ":framework-doc-stubs",
1542 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001543 hdf: [
1544 "android.whichdoc online",
1545 ],
1546 proofread_file: "ds-static-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001547 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001548 " -staticonly " +
1549 " -toroot / " +
1550 " -devsite " +
1551 " -ignoreJdLinks ",
1552}
1553
1554droiddoc {
1555 name: "ds-ref-navtree-docs",
1556 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001557 srcs: [
1558 ":framework-doc-stubs",
1559 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001560 hdf: [
1561 "android.whichdoc online",
1562 ],
1563 proofread_file: "ds-ref-navtree-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001564 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001565 " -toroot / " +
1566 " -atLinksNavtree " +
1567 " -navtreeonly ",
1568}
1569
1570droiddoc {
1571 name: "online-sdk-dev-docs",
1572 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001573 srcs: [
1574 ":framework-doc-stubs",
1575 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001576 hdf: [
1577 "android.whichdoc online",
1578 "android.hasSamples true",
1579 ],
1580 proofread_file: "online-sdk-dev-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001581 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001582 " -toroot / -samplegroup Admin " +
1583 " -samplegroup Background " +
1584 " -samplegroup Connectivity " +
1585 " -samplegroup Content " +
1586 " -samplegroup Input " +
1587 " -samplegroup Media " +
1588 " -samplegroup Notification " +
1589 " -samplegroup RenderScript " +
1590 " -samplegroup Security " +
1591 " -samplegroup Sensors " +
1592 " -samplegroup System " +
1593 " -samplegroup Testing " +
1594 " -samplegroup UI " +
1595 " -samplegroup Views " +
1596 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1597}
1598
1599droiddoc {
1600 name: "hidden-docs",
1601 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001602 srcs: [
1603 ":framework-doc-stubs",
1604 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001605 proofread_file: "hidden-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001606 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001607 " -referenceonly " +
1608 " -title \"Android SDK - Including hidden APIs.\"",
1609}
1610
Nan Zhang7764a4b2018-08-22 11:27:31 -07001611droidstubs {
Colin Crossa2b78a72018-03-29 13:31:04 -07001612 name: "hwbinder-stubs-docs",
1613 srcs: [
1614 "core/java/android/os/HidlSupport.java",
1615 "core/java/android/annotation/IntDef.java",
1616 "core/java/android/annotation/NonNull.java",
1617 "core/java/android/annotation/SystemApi.java",
1618 "core/java/android/os/HwBinder.java",
1619 "core/java/android/os/HwBlob.java",
1620 "core/java/android/os/HwParcel.java",
1621 "core/java/android/os/IHwBinder.java",
1622 "core/java/android/os/IHwInterface.java",
1623 "core/java/android/os/DeadObjectException.java",
1624 "core/java/android/os/DeadSystemException.java",
Nirav Atre9850dd92018-07-24 17:03:44 -07001625 "core/java/android/os/NativeHandle.java",
Colin Crossa2b78a72018-03-29 13:31:04 -07001626 "core/java/android/os/RemoteException.java",
1627 "core/java/android/util/AndroidException.java",
1628 ],
Colin Crossa2b78a72018-03-29 13:31:04 -07001629 installable: false,
1630 no_framework_libs: true,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001631 annotations_enabled: true,
1632 previous_api: ":last-released-public-api",
1633 merge_annotations_dirs: [
1634 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001635 "ojluni-annotated-sdk-stubs",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001636 ],
1637 args: " --show-annotation android.annotation.SystemApi",
Colin Crossa2b78a72018-03-29 13:31:04 -07001638}
1639
1640java_library_static {
1641 name: "hwbinder.stubs",
1642 sdk_version: "core_current",
1643 srcs: [
1644 ":hwbinder-stubs-docs",
1645 ],
1646}
Nan Zhanga0f91af2018-04-09 17:41:51 -07001647
Nan Zhang894c9ec2018-09-10 18:58:39 -07001648droidstubs {
Nan Zhangd25ad462018-08-22 10:48:15 -07001649 name: "hiddenapi-lists-docs",
1650 defaults: ["metalava-api-stubs-default"],
David Brazdil4f9d4d52018-04-26 14:05:13 +01001651 arg_files: [
1652 "core/res/AndroidManifest.xml",
David Brazdil4f9d4d52018-04-26 14:05:13 +01001653 ],
David Brazdil6f6a1262018-05-31 13:58:41 +01001654 dex_api_filename: "public-dex.txt",
David Brazdil4f9d4d52018-04-26 14:05:13 +01001655 private_dex_api_filename: "private-dex.txt",
1656 removed_dex_api_filename: "removed-dex.txt",
Nan Zhangd25ad462018-08-22 10:48:15 -07001657 args: metalava_framework_docs_args +
1658 " --show-unannotated " +
1659 " --show-annotation android.annotation.SystemApi " +
1660 " --show-annotation android.annotation.TestApi "
David Brazdil4f9d4d52018-04-26 14:05:13 +01001661}
1662
Nan Zhangd25ad462018-08-22 10:48:15 -07001663
Nan Zhang7764a4b2018-08-22 11:27:31 -07001664droidstubs {
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001665 name: "hiddenapi-mappings",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001666 defaults: ["metalava-api-stubs-default"],
Paul Duffina0cb5382018-10-31 10:34:51 +00001667 srcs: [
1668 ":openjdk_java_files",
1669 ":non_openjdk_java_files",
Andrei Onea6dd843a2019-03-13 15:27:23 +00001670 ":opt-telephony-common-srcs",
Andrei Onea77b22e32019-03-22 14:56:51 +00001671 "core/java/**/*.java",
Paul Duffina0cb5382018-10-31 10:34:51 +00001672 ],
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001673 arg_files: [
1674 "core/res/AndroidManifest.xml",
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001675 ],
1676 dex_mapping_filename: "dex-mapping.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001677 args: metalava_framework_docs_args +
Adrian Roos9bdbd302018-12-07 13:53:40 +01001678 " --hide ReferencesHidden " +
Adrian Roosc6e2fc82018-12-12 15:08:44 +01001679 " --hide UnhiddenSystemApi " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001680 " --show-unannotated " +
1681 " --show-annotation android.annotation.SystemApi " +
1682 " --show-annotation android.annotation.TestApi "
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001683}
1684
Nan Zhanga0f91af2018-04-09 17:41:51 -07001685filegroup {
1686 name: "apache-http-stubs-sources",
1687 srcs: [
1688 "core/java/org/apache/http/conn/ConnectTimeoutException.java",
1689 "core/java/org/apache/http/conn/scheme/HostNameResolver.java",
1690 "core/java/org/apache/http/conn/scheme/LayeredSocketFactory.java",
1691 "core/java/org/apache/http/conn/scheme/SocketFactory.java",
1692 "core/java/org/apache/http/conn/ssl/AbstractVerifier.java",
1693 "core/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java",
1694 "core/java/org/apache/http/conn/ssl/AndroidDistinguishedNameParser.java",
1695 "core/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java",
1696 "core/java/org/apache/http/conn/ssl/SSLSocketFactory.java",
1697 "core/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java",
1698 "core/java/org/apache/http/conn/ssl/X509HostnameVerifier.java",
1699 "core/java/org/apache/http/params/CoreConnectionPNames.java",
1700 "core/java/org/apache/http/params/HttpConnectionParams.java",
1701 "core/java/org/apache/http/params/HttpParams.java",
Nan Zhanga0f91af2018-04-09 17:41:51 -07001702 "core/java/android/net/http/SslCertificate.java",
1703 "core/java/android/net/http/SslError.java",
1704 "core/java/com/android/internal/util/HexDump.java",
1705 ],
1706}
Nan Zhang4212eb12018-04-25 17:23:33 -07001707
Nan Zhang894c9ec2018-09-10 18:58:39 -07001708droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001709 name: "api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001710 defaults: ["metalava-api-stubs-default"],
Nan Zhang4212eb12018-04-25 17:23:33 -07001711 api_filename: "public_api.txt",
1712 private_api_filename: "private.txt",
1713 removed_api_filename: "removed.txt",
1714 arg_files: [
1715 "core/res/AndroidManifest.xml",
1716 ],
1717 args: metalava_framework_docs_args,
Nan Zhange5612602018-08-16 16:16:00 -07001718 check_api: {
1719 current: {
1720 api_file: "api/current.txt",
1721 removed_api_file: "api/removed.txt",
1722 },
Nan Zhangcd060d92018-08-20 20:34:26 -07001723 last_released: {
1724 api_file: ":last-released-public-api",
1725 removed_api_file: "api/removed.txt",
1726 },
Nan Zhange5612602018-08-16 16:16:00 -07001727 },
Nan Zhang81f29f52018-09-17 14:33:08 -07001728 jdiff_enabled: true,
Nan Zhang4212eb12018-04-25 17:23:33 -07001729}
1730
Nan Zhang894c9ec2018-09-10 18:58:39 -07001731droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001732 name: "system-api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001733 defaults: ["metalava-api-stubs-default"],
Nan Zhang4d3f5012018-08-07 13:40:33 -07001734 api_tag_name: "SYSTEM",
Nan Zhang4212eb12018-04-25 17:23:33 -07001735 api_filename: "system-api.txt",
1736 private_api_filename: "system-private.txt",
1737 private_dex_api_filename: "system-private-dex.txt",
1738 removed_api_filename: "system-removed.txt",
1739 arg_files: [
1740 "core/res/AndroidManifest.xml",
1741 ],
1742 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi",
Nan Zhange5612602018-08-16 16:16:00 -07001743 check_api: {
1744 current: {
1745 api_file: "api/system-current.txt",
1746 removed_api_file: "api/system-removed.txt",
1747 },
Nan Zhangcd060d92018-08-20 20:34:26 -07001748 last_released: {
1749 api_file: ":last-released-system-api",
1750 removed_api_file: "api/system-removed.txt",
1751 },
Nan Zhange5612602018-08-16 16:16:00 -07001752 },
Nan Zhang81f29f52018-09-17 14:33:08 -07001753 jdiff_enabled: true,
Nan Zhang4212eb12018-04-25 17:23:33 -07001754}
1755
Nan Zhang894c9ec2018-09-10 18:58:39 -07001756droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001757 name: "test-api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001758 defaults: ["metalava-api-stubs-default"],
Nan Zhang4d3f5012018-08-07 13:40:33 -07001759 api_tag_name: "TEST",
Nan Zhang4212eb12018-04-25 17:23:33 -07001760 api_filename: "test-api.txt",
1761 removed_api_filename: "test-removed.txt",
1762 arg_files: [
1763 "core/res/AndroidManifest.xml",
1764 ],
1765 args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi",
Nan Zhange5612602018-08-16 16:16:00 -07001766 check_api: {
1767 current: {
1768 api_file: "api/test-current.txt",
1769 removed_api_file: "api/test-removed.txt",
1770 },
1771 },
Nan Zhang4212eb12018-04-25 17:23:33 -07001772}
Nan Zhangaf251302018-08-30 10:59:51 -07001773
1774filegroup {
1775 name: "framework-annotation-nonnull-srcs",
1776 srcs: [
1777 "core/java/android/annotation/NonNull.java",
1778 ],
1779}
Insun Kang06b25ae2018-11-20 10:05:44 +09001780
1781filegroup {
1782 name: "framework-media-annotation-srcs",
1783 srcs: [
1784 "core/java/android/annotation/CallbackExecutor.java",
Insun Kangf86a56c2019-01-22 17:16:07 +09001785 "core/java/android/annotation/CallSuper.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001786 "core/java/android/annotation/DrawableRes.java",
1787 "core/java/android/annotation/IntDef.java",
1788 "core/java/android/annotation/LongDef.java",
1789 "core/java/android/annotation/NonNull.java",
1790 "core/java/android/annotation/Nullable.java",
1791 "core/java/android/annotation/RequiresPermission.java",
1792 "core/java/android/annotation/SdkConstant.java",
1793 "core/java/android/annotation/StringDef.java",
Sungsoo Limbb3b4012019-01-23 13:17:53 +09001794 "core/java/android/annotation/SystemApi.java",
Dongwon Kang3584c662018-11-27 11:14:08 -08001795 "core/java/android/annotation/TestApi.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001796 "core/java/android/annotation/UnsupportedAppUsage.java",
Dongwon Kang3584c662018-11-27 11:14:08 -08001797 "core/java/com/android/internal/annotations/GuardedBy.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001798 ],
1799}
1800
Andrei Onea7a2985c2019-02-18 15:28:35 +00001801// Creates an index of AIDL methods; used for adding UnsupportedAppUsage
1802// annotations to private apis
1803aidl_mapping {
1804 name: "framework-aidl-mappings",
1805 srcs: [":framework-defaults"],
1806 output: "framework-aidl-mappings.txt"
Lorenzo Colitti59d474b2019-03-19 10:56:37 +09001807}