blob: abf95a8ebc58d7744afa54892c4c311e0edb6908 [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 Chyn5a90a652019-03-25 18:11:16 -0700164 "core/java/android/hardware/biometrics/IBiometricConfirmDeviceCredentialCallback.aidl",
Kevin Chynb7b54a62018-09-28 18:48:12 -0700165 "core/java/android/hardware/biometrics/IBiometricEnabledOnKeyguardCallback.aidl",
Kevin Chyn352adfe2018-09-20 22:28:50 -0700166 "core/java/android/hardware/biometrics/IBiometricService.aidl",
167 "core/java/android/hardware/biometrics/IBiometricServiceReceiver.aidl",
Kevin Chyn23289ef2018-11-28 16:32:36 -0800168 "core/java/android/hardware/biometrics/IBiometricServiceReceiverInternal.aidl",
Kevin Chyna56dff72018-06-19 18:41:12 -0700169 "core/java/android/hardware/biometrics/IBiometricServiceLockoutResetCallback.aidl",
Christine Franks39b03112018-07-03 14:46:07 -0700170 "core/java/android/hardware/display/IColorDisplayManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800171 "core/java/android/hardware/display/IDisplayManager.aidl",
172 "core/java/android/hardware/display/IDisplayManagerCallback.aidl",
173 "core/java/android/hardware/display/IVirtualDisplayCallback.aidl",
Kevin Chynaae4a152018-01-18 11:48:09 -0800174 "core/java/android/hardware/fingerprint/IFingerprintClientActiveCallback.aidl",
Gilad Brettercb51b8b2018-03-22 17:04:51 +0200175 "core/java/android/hardware/face/IFaceService.aidl",
Gilad Brettercb51b8b2018-03-22 17:04:51 +0200176 "core/java/android/hardware/face/IFaceServiceReceiver.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800177 "core/java/android/hardware/fingerprint/IFingerprintService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800178 "core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl",
179 "core/java/android/hardware/hdmi/IHdmiControlCallback.aidl",
180 "core/java/android/hardware/hdmi/IHdmiControlService.aidl",
181 "core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl",
182 "core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl",
183 "core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl",
184 "core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl",
185 "core/java/android/hardware/hdmi/IHdmiRecordListener.aidl",
186 "core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl",
187 "core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl",
188 "core/java/android/hardware/input/IInputManager.aidl",
189 "core/java/android/hardware/input/IInputDevicesChangedListener.aidl",
190 "core/java/android/hardware/input/ITabletModeChangedListener.aidl",
Kevin Chyn51676d22018-11-05 18:00:43 -0800191 "core/java/android/hardware/iris/IIrisService.aidl",
Brian Duddiecfa5b5b2019-01-22 18:01:40 +0000192 "core/java/android/hardware/location/IActivityRecognitionHardware.aidl",
193 "core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl",
194 "core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl",
195 "core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800196 "core/java/android/hardware/location/IGeofenceHardware.aidl",
197 "core/java/android/hardware/location/IGeofenceHardwareCallback.aidl",
198 "core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl",
199 "core/java/android/hardware/location/IContextHubCallback.aidl",
200 "core/java/android/hardware/location/IContextHubClient.aidl",
201 "core/java/android/hardware/location/IContextHubClientCallback.aidl",
202 "core/java/android/hardware/location/IContextHubService.aidl",
203 "core/java/android/hardware/location/IContextHubTransactionCallback.aidl",
Tomasz Wasilczykf151a7b2018-01-11 16:03:46 -0800204 "core/java/android/hardware/radio/IAnnouncementListener.aidl",
205 "core/java/android/hardware/radio/ICloseHandle.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800206 "core/java/android/hardware/radio/IRadioService.aidl",
207 "core/java/android/hardware/radio/ITuner.aidl",
208 "core/java/android/hardware/radio/ITunerCallback.aidl",
209 "core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl",
210 "core/java/android/hardware/usb/IUsbManager.aidl",
Philip P. Moltmanna2c6eea2018-08-24 09:50:40 -0700211 "core/java/android/hardware/usb/IUsbSerialReader.aidl",
Remi NGUYEN VAN5a1b74b2019-02-13 20:58:59 +0900212 "core/java/android/net/ICaptivePortal.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800213 "core/java/android/net/IConnectivityManager.aidl",
Chad Brubaker90f391f2018-10-19 10:26:19 -0700214 "core/java/android/hardware/ISensorPrivacyListener.aidl",
215 "core/java/android/hardware/ISensorPrivacyManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800216 "core/java/android/net/IIpConnectivityMetrics.aidl",
217 "core/java/android/net/IEthernetManager.aidl",
218 "core/java/android/net/IEthernetServiceListener.aidl",
219 "core/java/android/net/INetdEventCallback.aidl",
220 "core/java/android/net/IIpSecService.aidl",
221 "core/java/android/net/INetworkManagementEventObserver.aidl",
222 "core/java/android/net/INetworkPolicyListener.aidl",
223 "core/java/android/net/INetworkPolicyManager.aidl",
224 "core/java/android/net/INetworkRecommendationProvider.aidl",
225 "core/java/android/net/INetworkScoreCache.aidl",
226 "core/java/android/net/INetworkScoreService.aidl",
227 "core/java/android/net/INetworkStatsService.aidl",
228 "core/java/android/net/INetworkStatsSession.aidl",
junyulai7c469172019-01-16 20:23:34 +0800229 "core/java/android/net/ISocketKeepaliveCallback.aidl",
Benedict Wonge40eab62018-11-14 17:50:13 -0800230 "core/java/android/net/ITestNetworkManager.aidl",
markchien6ea34542019-02-27 14:56:11 +0800231 "core/java/android/net/ITetheringEventCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800232 "core/java/android/net/ITetheringStatsProvider.aidl",
233 "core/java/android/net/nsd/INsdManager.aidl",
234 "core/java/android/nfc/IAppCallback.aidl",
235 "core/java/android/nfc/INfcAdapter.aidl",
236 "core/java/android/nfc/INfcAdapterExtras.aidl",
237 "core/java/android/nfc/INfcTag.aidl",
238 "core/java/android/nfc/INfcCardEmulation.aidl",
239 "core/java/android/nfc/INfcFCardEmulation.aidl",
240 "core/java/android/nfc/INfcUnlockHandler.aidl",
241 "core/java/android/nfc/INfcDta.aidl",
242 "core/java/android/nfc/ITagRemovedCallback.aidl",
Ruchi Kandoia1f94012017-12-08 15:07:03 -0800243 "core/java/android/se/omapi/ISecureElementService.aidl",
244 "core/java/android/se/omapi/ISecureElementListener.aidl",
245 "core/java/android/se/omapi/ISecureElementChannel.aidl",
246 "core/java/android/se/omapi/ISecureElementReader.aidl",
247 "core/java/android/se/omapi/ISecureElementSession.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800248 "core/java/android/os/IBatteryPropertiesRegistrar.aidl",
249 "core/java/android/os/ICancellationSignal.aidl",
250 "core/java/android/os/IDeviceIdentifiersPolicyService.aidl",
251 "core/java/android/os/IDeviceIdleController.aidl",
252 "core/java/android/os/IHardwarePropertiesManager.aidl",
Colin Crossbc2dc312018-10-26 22:34:06 -0700253 ":libincident_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800254 "core/java/android/os/IMaintenanceActivityListener.aidl",
255 "core/java/android/os/IMessenger.aidl",
256 "core/java/android/os/INetworkActivityListener.aidl",
257 "core/java/android/os/INetworkManagementService.aidl",
258 "core/java/android/os/IPermissionController.aidl",
259 "core/java/android/os/IProcessInfoService.aidl",
260 "core/java/android/os/IProgressListener.aidl",
261 "core/java/android/os/IPowerManager.aidl",
262 "core/java/android/os/IRecoverySystem.aidl",
263 "core/java/android/os/IRecoverySystemProgressListener.aidl",
264 "core/java/android/os/IRemoteCallback.aidl",
265 "core/java/android/os/ISchedulingPolicyService.aidl",
Colin Crossbc2dc312018-10-26 22:34:06 -0700266 ":statsd_aidl",
Tao Bao07342dc2017-01-24 15:08:21 -0800267 "core/java/android/os/ISystemUpdateManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800268 "core/java/android/os/IThermalEventListener.aidl",
Wei Wang37b17542018-11-12 11:02:09 -0800269 "core/java/android/os/IThermalStatusListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800270 "core/java/android/os/IThermalService.aidl",
271 "core/java/android/os/IUpdateLock.aidl",
272 "core/java/android/os/IUserManager.aidl",
Michael Wrightc390fbe2018-12-12 19:45:09 +0000273 ":libvibrator_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800274 "core/java/android/os/IVibratorService.aidl",
Po-Chien Hsueh4e908c22019-03-07 11:57:17 +0800275 "core/java/android/os/image/IDynamicSystemService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800276 "core/java/android/os/storage/IStorageManager.aidl",
277 "core/java/android/os/storage/IStorageEventListener.aidl",
278 "core/java/android/os/storage/IStorageShutdownObserver.aidl",
279 "core/java/android/os/storage/IObbActionListener.aidl",
Philip P. Moltmannbc054d82018-12-21 09:41:58 -0800280 "core/java/android/permission/IPermissionController.aidl",
Logan Chien404eb2b2018-02-14 13:53:04 +0800281 ":keystore_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800282 "core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl",
Sunny Goyal54e91342018-11-14 11:59:02 -0800283 "core/java/android/service/appprediction/IPredictionService.aidl",
Felipe Leme749b8892018-12-03 16:30:30 -0800284 "core/java/android/service/autofill/augmented/IAugmentedAutofillService.aidl",
285 "core/java/android/service/autofill/augmented/IFillCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800286 "core/java/android/service/autofill/IAutoFillService.aidl",
Felipe Lemebc055b02018-01-05 17:04:10 -0800287 "core/java/android/service/autofill/IAutofillFieldClassificationService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800288 "core/java/android/service/autofill/IFillCallback.aidl",
289 "core/java/android/service/autofill/ISaveCallback.aidl",
290 "core/java/android/service/carrier/ICarrierService.aidl",
291 "core/java/android/service/carrier/ICarrierMessagingCallback.aidl",
292 "core/java/android/service/carrier/ICarrierMessagingService.aidl",
Makoto Onuki05d64cb2019-02-01 16:04:16 -0800293 "core/java/android/service/carrier/ICarrierMessagingClientService.aidl",
Winson Chung3fb0f252019-01-08 17:41:55 -0800294 "core/java/android/service/contentsuggestions/IContentSuggestionsService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800295 "core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl",
296 "core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl",
297 "core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl",
298 "core/java/android/service/euicc/IEuiccService.aidl",
299 "core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl",
300 "core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl",
301 "core/java/android/service/euicc/IGetEidCallback.aidl",
302 "core/java/android/service/euicc/IGetEuiccInfoCallback.aidl",
303 "core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl",
Qingxi Li54058362017-12-13 15:13:02 -0800304 "core/java/android/service/euicc/IGetOtaStatusCallback.aidl",
Qingxi Li6019f9c2017-12-14 15:36:06 -0800305 "core/java/android/service/euicc/IOtaStatusChangedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800306 "core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl",
307 "core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl",
308 "core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl",
309 "core/java/android/service/gatekeeper/IGateKeeperService.aidl",
Felipe Leme749b8892018-12-03 16:30:30 -0800310 "core/java/android/service/contentcapture/IContentCaptureService.aidl",
Felipe Lemeaf4e4fd2019-01-15 08:32:42 -0800311 "core/java/android/service/contentcapture/IContentCaptureServiceCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800312 "core/java/android/service/notification/INotificationListener.aidl",
313 "core/java/android/service/notification/IStatusBarNotificationHolder.aidl",
314 "core/java/android/service/notification/IConditionListener.aidl",
315 "core/java/android/service/notification/IConditionProvider.aidl",
316 "core/java/android/service/settings/suggestions/ISuggestionService.aidl",
Hongming Jinfa329d32018-10-26 16:18:07 -0700317 "core/java/android/service/sms/IFinancialSmsService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800318 "core/java/android/service/vr/IPersistentVrStateCallbacks.aidl",
319 "core/java/android/service/vr/IVrListener.aidl",
320 "core/java/android/service/vr/IVrManager.aidl",
321 "core/java/android/service/vr/IVrStateCallbacks.aidl",
Zimuzoa3bb67d2019-03-15 18:05:58 +0000322 "core/java/android/service/watchdog/IExplicitHealthCheckService.aidl",
Zimuzo1a9aac72019-04-24 14:07:24 +0100323 "core/java/android/service/watchdog/PackageConfig.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800324 "core/java/android/print/ILayoutResultCallback.aidl",
325 "core/java/android/print/IPrinterDiscoveryObserver.aidl",
326 "core/java/android/print/IPrintDocumentAdapter.aidl",
327 "core/java/android/print/IPrintDocumentAdapterObserver.aidl",
328 "core/java/android/print/IPrintJobStateChangeListener.aidl",
329 "core/java/android/print/IPrintServicesChangeListener.aidl",
330 "core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl",
331 "core/java/android/print/IPrintManager.aidl",
332 "core/java/android/print/IPrintSpooler.aidl",
333 "core/java/android/print/IPrintSpoolerCallbacks.aidl",
334 "core/java/android/print/IPrintSpoolerClient.aidl",
335 "core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl",
336 "core/java/android/printservice/recommendation/IRecommendationService.aidl",
337 "core/java/android/print/IWriteResultCallback.aidl",
338 "core/java/android/printservice/IPrintService.aidl",
339 "core/java/android/printservice/IPrintServiceClient.aidl",
340 "core/java/android/companion/ICompanionDeviceManager.aidl",
341 "core/java/android/companion/ICompanionDeviceDiscoveryService.aidl",
342 "core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl",
343 "core/java/android/companion/IFindDeviceCallback.aidl",
344 "core/java/android/service/dreams/IDreamManager.aidl",
345 "core/java/android/service/dreams/IDreamService.aidl",
346 "core/java/android/service/oemlock/IOemLockService.aidl",
347 "core/java/android/service/persistentdata/IPersistentDataBlockService.aidl",
348 "core/java/android/service/trust/ITrustAgentService.aidl",
349 "core/java/android/service/trust/ITrustAgentServiceCallback.aidl",
350 "core/java/android/service/voice/IVoiceInteractionService.aidl",
351 "core/java/android/service/voice/IVoiceInteractionSession.aidl",
352 "core/java/android/service/voice/IVoiceInteractionSessionService.aidl",
353 "core/java/android/service/wallpaper/IWallpaperConnection.aidl",
354 "core/java/android/service/wallpaper/IWallpaperEngine.aidl",
355 "core/java/android/service/wallpaper/IWallpaperService.aidl",
356 "core/java/android/service/chooser/IChooserTargetService.aidl",
357 "core/java/android/service/chooser/IChooserTargetResult.aidl",
358 "core/java/android/service/resolver/IResolverRankerService.aidl",
359 "core/java/android/service/resolver/IResolverRankerResult.aidl",
Tony Mak9920dbb2019-01-23 19:49:30 +0000360 "core/java/android/service/textclassifier/ITextClassifierCallback.aidl",
Abodunrinwa Tokid32906c2018-01-18 04:34:44 -0800361 "core/java/android/service/textclassifier/ITextClassifierService.aidl",
Alex Salob81472f2018-12-12 14:44:28 -0800362 "core/java/android/service/attention/IAttentionService.aidl",
363 "core/java/android/service/attention/IAttentionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800364 "core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl",
365 "core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl",
366 "core/java/android/view/accessibility/IAccessibilityManager.aidl",
367 "core/java/android/view/accessibility/IAccessibilityManagerClient.aidl",
368 "core/java/android/view/autofill/IAutoFillManager.aidl",
369 "core/java/android/view/autofill/IAutoFillManagerClient.aidl",
Felipe Leme284ad1c2018-11-15 18:16:12 -0800370 "core/java/android/view/autofill/IAugmentedAutofillManagerClient.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800371 "core/java/android/view/autofill/IAutofillWindowPresenter.aidl",
Felipe Lemeb96878492018-12-17 12:22:29 -0800372 "core/java/android/view/contentcapture/IContentCaptureDirectManager.aidl",
Felipe Leme749b8892018-12-03 16:30:30 -0800373 "core/java/android/view/contentcapture/IContentCaptureManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800374 "core/java/android/view/IApplicationToken.aidl",
375 "core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl",
376 "core/java/android/view/IDockedStackListener.aidl",
Adrian Roos962017e2018-11-27 15:11:46 +0100377 "core/java/android/view/IDisplayFoldListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800378 "core/java/android/view/IGraphicsStats.aidl",
379 "core/java/android/view/IGraphicsStatsCallback.aidl",
Michael Wrightc7995232019-02-14 12:33:46 +0000380 "core/java/android/view/IInputMonitorHost.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800381 "core/java/android/view/IInputFilter.aidl",
382 "core/java/android/view/IInputFilterHost.aidl",
383 "core/java/android/view/IOnKeyguardExitResult.aidl",
384 "core/java/android/view/IPinnedStackController.aidl",
385 "core/java/android/view/IPinnedStackListener.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100386 "core/java/android/view/IRemoteAnimationRunner.aidl",
Winson Chunge2d72172018-01-25 17:46:20 +0000387 "core/java/android/view/IRecentsAnimationController.aidl",
388 "core/java/android/view/IRecentsAnimationRunner.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100389 "core/java/android/view/IRemoteAnimationFinishedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800390 "core/java/android/view/IRotationWatcher.aidl",
Adrian Roos4ffc8972019-02-07 20:45:11 +0100391 "core/java/android/view/ISystemGestureExclusionListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800392 "core/java/android/view/IWallpaperVisibilityListener.aidl",
393 "core/java/android/view/IWindow.aidl",
394 "core/java/android/view/IWindowFocusObserver.aidl",
395 "core/java/android/view/IWindowId.aidl",
396 "core/java/android/view/IWindowManager.aidl",
397 "core/java/android/view/IWindowSession.aidl",
398 "core/java/android/view/IWindowSessionCallback.aidl",
399 "core/java/android/webkit/IWebViewUpdateService.aidl",
400 "core/java/android/speech/IRecognitionListener.aidl",
401 "core/java/android/speech/IRecognitionService.aidl",
402 "core/java/android/speech/tts/ITextToSpeechCallback.aidl",
403 "core/java/android/speech/tts/ITextToSpeechService.aidl",
Svetoslav Ganov2d20fb42018-02-08 15:52:10 -0800404 "core/java/com/android/internal/app/IAppOpsActiveCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800405 "core/java/com/android/internal/app/IAppOpsCallback.aidl",
Svet Ganovb3d2ae22018-12-17 22:06:15 -0800406 "core/java/com/android/internal/app/IAppOpsNotedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800407 "core/java/com/android/internal/app/IAppOpsService.aidl",
408 "core/java/com/android/internal/app/IBatteryStats.aidl",
409 "core/java/com/android/internal/app/ISoundTriggerService.aidl",
jiayuzhou21a353b2018-08-16 16:09:43 -0700410 "core/java/com/android/internal/app/IVoiceActionCheckCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800411 "core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl",
412 "core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl",
413 "core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl",
414 "core/java/com/android/internal/app/IVoiceInteractor.aidl",
415 "core/java/com/android/internal/app/IVoiceInteractorCallback.aidl",
416 "core/java/com/android/internal/app/IVoiceInteractorRequest.aidl",
417 "core/java/com/android/internal/app/IMediaContainerService.aidl",
418 "core/java/com/android/internal/app/procstats/IProcessStats.aidl",
419 "core/java/com/android/internal/appwidget/IAppWidgetService.aidl",
420 "core/java/com/android/internal/appwidget/IAppWidgetHost.aidl",
421 "core/java/com/android/internal/backup/IBackupTransport.aidl",
422 "core/java/com/android/internal/backup/IObbBackupService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800423 "core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl",
Yohei Yukawac54c1172018-09-06 11:39:50 -0700424 "core/java/com/android/internal/inputmethod/IInputMethodPrivilegedOperations.aidl",
Yohei Yukawabae5bea2018-11-12 15:08:30 -0800425 "core/java/com/android/internal/inputmethod/IMultiClientInputMethod.aidl",
426 "core/java/com/android/internal/inputmethod/IMultiClientInputMethodPrivilegedOperations.aidl",
427 "core/java/com/android/internal/inputmethod/IMultiClientInputMethodSession.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800428 "core/java/com/android/internal/net/INetworkWatchlistManager.aidl",
429 "core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl",
430 "core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl",
431 "core/java/com/android/internal/policy/IKeyguardExitCallback.aidl",
432 "core/java/com/android/internal/policy/IKeyguardService.aidl",
433 "core/java/com/android/internal/policy/IKeyguardStateCallback.aidl",
434 "core/java/com/android/internal/policy/IShortcutService.aidl",
435 "core/java/com/android/internal/os/IDropBoxManagerService.aidl",
436 "core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl",
437 "core/java/com/android/internal/os/IResultReceiver.aidl",
438 "core/java/com/android/internal/os/IShellCallback.aidl",
439 "core/java/com/android/internal/statusbar/IStatusBar.aidl",
440 "core/java/com/android/internal/statusbar/IStatusBarService.aidl",
Yohei Yukawa49efa712019-04-04 11:49:02 -0700441 "core/java/com/android/internal/statusbar/RegisterStatusBarResult.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800442 "core/java/com/android/internal/textservice/ISpellCheckerService.aidl",
443 "core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl",
444 "core/java/com/android/internal/textservice/ISpellCheckerSession.aidl",
445 "core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl",
446 "core/java/com/android/internal/textservice/ITextServicesManager.aidl",
447 "core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl",
448 "core/java/com/android/internal/view/IDragAndDropPermissions.aidl",
449 "core/java/com/android/internal/view/IInputContext.aidl",
450 "core/java/com/android/internal/view/IInputContextCallback.aidl",
451 "core/java/com/android/internal/view/IInputMethod.aidl",
452 "core/java/com/android/internal/view/IInputMethodClient.aidl",
453 "core/java/com/android/internal/view/IInputMethodManager.aidl",
454 "core/java/com/android/internal/view/IInputMethodSession.aidl",
455 "core/java/com/android/internal/view/IInputSessionCallback.aidl",
456 "core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl",
457 "core/java/com/android/internal/widget/ILockSettings.aidl",
458 "core/java/com/android/internal/widget/IRemoteViewsFactory.aidl",
459 "keystore/java/android/security/IKeyChainAliasCallback.aidl",
460 "keystore/java/android/security/IKeyChainService.aidl",
461 "location/java/android/location/IBatchedLocationCallback.aidl",
462 "location/java/android/location/ICountryDetector.aidl",
463 "location/java/android/location/ICountryListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800464 "location/java/android/location/IGeocodeProvider.aidl",
465 "location/java/android/location/IGeofenceProvider.aidl",
466 "location/java/android/location/IGnssStatusListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800467 "location/java/android/location/IGnssMeasurementsListener.aidl",
468 "location/java/android/location/IGnssNavigationMessageListener.aidl",
469 "location/java/android/location/ILocationListener.aidl",
470 "location/java/android/location/ILocationManager.aidl",
471 "location/java/android/location/IFusedGeofenceHardware.aidl",
472 "location/java/android/location/IGpsGeofenceHardware.aidl",
473 "location/java/android/location/INetInitiatedListener.aidl",
474 "location/java/com/android/internal/location/ILocationProvider.aidl",
Soonil Nagarkar1575a042018-10-24 17:54:54 -0700475 "location/java/com/android/internal/location/ILocationProviderManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800476 "media/java/android/media/IAudioFocusDispatcher.aidl",
477 "media/java/android/media/IAudioRoutesObserver.aidl",
Jaewan Kim379e30d2018-01-29 11:57:04 +0900478 "media/java/android/media/IAudioService.aidl",
Eric Laurent1d3cdce2018-01-20 10:31:21 -0800479 "media/java/android/media/IAudioServerStateDispatcher.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800480 "media/java/android/media/IMediaHTTPConnection.aidl",
481 "media/java/android/media/IMediaHTTPService.aidl",
482 "media/java/android/media/IMediaResourceMonitor.aidl",
483 "media/java/android/media/IMediaRouterClient.aidl",
484 "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
Dario Freni2ce84342019-04-26 13:06:22 +0100690 ":apex-properties",
Inseob Kimc1246e62018-11-08 13:13:54 +0900691 ":platform-properties",
692
Colin Crosscf3a0b52017-11-16 00:15:28 -0800693 ":framework-statslog-gen",
694 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800695
696 aidl: {
Colin Cross4eb07842017-12-14 15:18:42 -0800697 export_include_dirs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800698 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
699 "core/java",
700 "graphics/java",
701 "location/java",
702 "lowpan/java",
703 "media/java",
Insun Kangf86a56c2019-01-22 17:16:07 +0900704 "media/apex/java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800705 "media/mca/effect/java",
706 "media/mca/filterfw/java",
707 "media/mca/filterpacks/java",
708 "drm/java",
709 "opengl/java",
710 "sax/java",
711 "telecomm/java",
712 "telephony/java",
713 "wifi/java",
714 "keystore/java",
715 "rs/java",
716 ],
717
718 include_dirs: [
719 "system/update_engine/binder_bindings",
720 "frameworks/native/aidl/binder",
Nandana Duttb3f71682018-10-03 10:01:25 +0100721 "frameworks/native/cmds/dumpstate/binder",
Joe Onoratoe21ab7e2018-12-18 15:00:25 -0800722 "frameworks/native/libs/incidentcompanion/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800723 "frameworks/av/camera/aidl",
724 "frameworks/av/media/libaudioclient/aidl",
725 "frameworks/native/aidl/gui",
Joe Onorato99598ee2019-02-11 15:55:13 +0000726 "frameworks/native/libs/incidentcompanion/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800727 "system/core/storaged/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800728 "system/vold/binder",
Howard Chen0a947642019-01-07 14:10:44 +0800729 "system/gsid/aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800730 "system/bt/binder",
Logan Chien404eb2b2018-02-14 13:53:04 +0800731 "system/security/keystore/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800732 ],
Olivier Gaillardb0ea4212018-07-26 11:52:37 +0100733
734 generate_get_transaction_name: true
Colin Crosscf3a0b52017-11-16 00:15:28 -0800735 },
736
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000737 exclude_srcs: [
Paul Duffina3b69212018-01-25 09:58:32 +0000738 // See comment on framework-atb-backward-compatibility module below
739 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000740 ],
741
Colin Crosscf3a0b52017-11-16 00:15:28 -0800742 no_framework_libs: true,
743 libs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800744 "ext",
Insun Kangd5fa8152019-01-24 17:08:10 +0900745 "updatable_media_stubs",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800746 ],
747
Steven Moreland19e8d462019-03-08 10:44:22 -0800748 jarjar_rules: ":framework-jarjar-rules",
Steven Moreland20a18482019-01-17 12:24:54 -0800749
Colin Crosscf3a0b52017-11-16 00:15:28 -0800750 static_libs: [
Dario Frenid8bf22e2018-08-31 14:18:04 +0100751 "apex_aidl_interface-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800752 "framework-protos",
Peiyong Lin9ca1dd82019-01-12 17:44:29 -0800753 "game-driver-protos",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800754 "android.hidl.base-V1.0-java",
Henry Fang5215ac92019-02-01 19:24:55 +0000755 "android.hardware.cas-V1.1-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800756 "android.hardware.cas-V1.0-java",
757 "android.hardware.contexthub-V1.0-java",
758 "android.hardware.health-V1.0-java-constants",
Steven Morelande0dde652019-01-24 12:03:26 -0800759 "android.hardware.radio-V1.0-java",
760 "android.hardware.radio-V1.1-java",
761 "android.hardware.radio-V1.2-java",
762 "android.hardware.radio-V1.3-java",
763 "android.hardware.radio-V1.4-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800764 "android.hardware.thermal-V1.0-java-constants",
Wei Wangfb21bd82019-01-10 14:16:23 -0800765 "android.hardware.thermal-V1.0-java",
Wei Wangbad7c202018-11-01 11:57:39 -0700766 "android.hardware.thermal-V1.1-java",
767 "android.hardware.thermal-V2.0-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800768 "android.hardware.tv.input-V1.0-java-constants",
769 "android.hardware.usb-V1.0-java-constants",
770 "android.hardware.usb-V1.1-java-constants",
Badhri Jagan Sridharane966a382018-12-09 14:49:38 -0800771 "android.hardware.usb-V1.2-java-constants",
Steven Morelande0dde652019-01-24 12:03:26 -0800772 "android.hardware.usb.gadget-V1.0-java",
Michael Wrightf268bf52018-02-07 23:23:34 +0000773 "android.hardware.vibrator-V1.0-java",
774 "android.hardware.vibrator-V1.1-java",
775 "android.hardware.vibrator-V1.2-java",
Harpreet "Eli" Sanghaa456f082018-12-14 12:06:10 +0900776 "android.hardware.vibrator-V1.3-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800777 "android.hardware.wifi-V1.0-java-constants",
arangelov1ab61492018-11-22 13:56:50 +0000778 "devicepolicyprotosnano",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800779 ],
780
Wei Jia0a8a8f02017-12-05 17:05:29 -0800781 required: [
Anton Hansson11905c62018-11-27 12:10:30 +0000782 // TODO: remove gps_debug when the build system propagates "required" properly.
783 "gps_debug.conf",
Logan Chien71ddfea2018-02-27 16:43:50 +0800784 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800785
Colin Crosscf3a0b52017-11-16 00:15:28 -0800786 dxflags: [
787 "--core-library",
788 "--multi-dex",
789 ],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100790
Ashley Roseb47ddd42019-01-28 19:54:09 -0500791 plugins: ["view-inspector-annotation-processor"],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100792}
793
Colin Crossbc2dc312018-10-26 22:34:06 -0700794filegroup {
Steven Moreland19e8d462019-03-08 10:44:22 -0800795 name: "framework-jarjar-rules",
796 srcs: ["jarjar_rules_hidl.txt"],
797}
798
799filegroup {
Colin Crossbc2dc312018-10-26 22:34:06 -0700800 name: "libincident_aidl",
801 srcs: [
802 "core/java/android/os/IIncidentManager.aidl",
803 "core/java/android/os/IIncidentReportStatusListener.aidl",
804 ],
805}
806
807filegroup {
808 name: "statsd_aidl",
809 srcs: [
810 "core/java/android/os/IStatsCompanionService.aidl",
811 "core/java/android/os/IStatsManager.aidl",
Tej Singha0c89dd2019-01-25 16:39:18 -0800812 "core/java/android/os/IStatsPullerCallback.aidl",
Colin Crossbc2dc312018-10-26 22:34:06 -0700813 ],
814}
815
Michael Wrightc390fbe2018-12-12 19:45:09 +0000816filegroup {
817 name: "libvibrator_aidl",
818 srcs: [
819 "core/java/android/os/IExternalVibrationController.aidl",
820 "core/java/android/os/IExternalVibratorService.aidl",
821 ],
822}
823
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100824java_library {
825 name: "framework",
826 defaults: ["framework-defaults"],
827 javac_shard_size: 150,
828}
829
830java_library {
831 name: "framework-annotation-proc",
832 defaults: ["framework-defaults"],
833 // Use UsedByApps annotation processor
Colin Crossa1f8e1a2019-01-21 21:45:20 -0800834 plugins: ["unsupportedappusage-annotation-processor"],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100835}
836
837// A host library including just UnsupportedAppUsage.java so that the annotation
838// processor can also use this annotation.
839java_library_host {
840 name: "unsupportedappusage-annotation",
841 srcs: [
842 "core/java/android/annotation/IntDef.java",
843 "core/java/android/annotation/UnsupportedAppUsage.java",
844 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800845}
846
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000847// A temporary build target that is conditionally included on the bootclasspath if
Paul Duffina3b69212018-01-25 09:58:32 +0000848// android.test.base library has been removed and which provides support for
849// maintaining backwards compatibility for APKs that target pre-P and depend on
850// android.test.base classes. This is used iff REMOVE_ATB_FROM_BCP=true is
851// specified on the build command line.
852java_library {
853 name: "framework-atb-backward-compatibility",
Paul Duffinfab87542019-02-15 11:39:12 +0000854 installable: true,
Paul Duffina3b69212018-01-25 09:58:32 +0000855 srcs: [
856 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
857 ],
858}
859
Colin Crosscf3a0b52017-11-16 00:15:28 -0800860genrule {
861 name: "framework-statslog-gen",
862 tools: ["stats-log-api-gen"],
863 cmd: "$(location stats-log-api-gen) --java $(out)",
David Chen0a368b22017-12-06 16:28:16 -0800864 out: ["android/util/StatsLogInternal.java"],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800865}
866
867gensrcs {
868 name: "framework-javastream-protos",
869 depfile: true,
870
Alex Light159799d2018-08-08 07:05:19 -0700871 tool_files: [ "tools/genprotos.sh", ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800872 tools: [
873 "aprotoc",
874 "protoc-gen-javastream",
875 "soong_zip",
876 ],
877
Alex Light159799d2018-08-08 07:05:19 -0700878 // TODO This should not be needed. If you set a custom OUT_DIR or OUT_DIR_COMMON_BASE you can
879 // end up with a command that is extremely long, potentially going passed MAX_ARG_STRLEN due to
880 // the way sbox rewrites the command. See b/70221552.
881 cmd: "$(location tools/genprotos.sh) " +
882 " $(location aprotoc) " +
883 " $(location protoc-gen-javastream) " +
884 " $(location soong_zip) " +
885 " $(genDir) " +
886 " $(depfile) " +
887 " $(in) " +
888 " $(out)",
Yi Jin437aa6e2018-01-10 11:34:26 -0800889 srcs: [
890 "core/proto/**/*.proto",
891 "libs/incident/**/*.proto",
892 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800893 output_extension: "srcjar",
894}
895
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900896filegroup {
Chalard Jean95213512019-01-30 21:04:58 +0900897 name: "framework-annotations",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900898 srcs: [
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900899 "core/java/android/annotation/NonNull.java",
900 "core/java/android/annotation/Nullable.java",
901 "core/java/android/annotation/IntDef.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900902 "core/java/android/annotation/IntRange.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900903 "core/java/android/annotation/UnsupportedAppUsage.java",
Remi NGUYEN VAN231b52b2019-01-29 15:38:52 +0900904 "core/java/com/android/internal/annotations/GuardedBy.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900905 "core/java/com/android/internal/annotations/VisibleForTesting.java",
Chalard Jean95213512019-01-30 21:04:58 +0900906 ]
907}
908
909filegroup {
Remi NGUYEN VANe88516f2019-01-20 09:35:10 +0900910 name: "framework-networkstack-shared-srcs",
911 srcs: [
912 // TODO: remove these annotations as soon as we can use andoid.support.annotations.*
Chalard Jean95213512019-01-30 21:04:58 +0900913 ":framework-annotations",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900914 "core/java/android/net/DhcpResults.java",
Remi NGUYEN VANe88516f2019-01-20 09:35:10 +0900915 "core/java/android/util/LocalLog.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900916 "core/java/com/android/internal/util/HexDump.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900917 "core/java/com/android/internal/util/IndentingPrintWriter.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900918 "core/java/com/android/internal/util/IState.java",
919 "core/java/com/android/internal/util/MessageUtils.java",
920 "core/java/com/android/internal/util/Preconditions.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900921 "core/java/com/android/internal/util/RingBufferIndices.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900922 "core/java/com/android/internal/util/State.java",
923 "core/java/com/android/internal/util/StateMachine.java",
Chalard Jean6a76b7e2019-04-09 11:16:56 +0900924 "core/java/com/android/internal/util/TrafficStatsConstants.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900925 "core/java/com/android/internal/util/WakeupMessage.java",
926 "core/java/android/net/shared/*.java",
927 ]
928}
929
Colin Crossd8e02252017-10-02 17:14:22 -0700930// Build ext.jar
931// ============================================================
932java_library {
933 name: "ext",
Colin Crossa12c0f52018-06-27 11:00:11 -0700934 installable: true,
Paul Duffinba4cee02018-11-23 12:19:49 +0000935 no_framework_libs: true,
Colin Crossd8e02252017-10-02 17:14:22 -0700936 static_libs: [
937 "libphonenumber-platform",
938 "nist-sip",
939 "tagsoup",
Ricky Wai0d1bc332017-10-31 14:31:01 +0000940 "rappor",
Tony Mak64c4cb22018-09-25 13:38:28 +0100941 "libtextclassifier-java",
942 ],
943 required: [
944 "libtextclassifier",
Colin Crossd8e02252017-10-02 17:14:22 -0700945 ],
946 dxflags: ["--core-library"],
947}
948
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700949// ==== java proto host library ==============================
950java_library_host {
951 name: "platformprotos",
952 srcs: [
953 "cmds/am/proto/instrumentation_data.proto",
Howard Ro0546d542018-08-30 16:23:44 -0700954 "cmds/statsd/src/**/*.proto",
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700955 "core/proto/**/*.proto",
956 "libs/incident/proto/**/*.proto",
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700957 ],
958 proto: {
959 include_dirs: ["external/protobuf/src"],
960 type: "full",
961 },
962 errorprone: {
963 javacflags: ["-Xep:MissingOverride:OFF"], // b/72714520
964 },
965}
966
Colin Cross43214162018-08-20 13:57:24 -0700967// ==== java proto device library (for test only) ==============================
968java_library {
969 name: "platformprotosnano",
970 proto: {
971 type: "nano",
972 output_params: ["store_unknown_fields=true"],
973 include_dirs: ["external/protobuf/src"],
974 },
Joe Onorato99598ee2019-02-11 15:55:13 +0000975 exclude_srcs: [
976 "core/proto/android/privacy.proto",
977 "core/proto/android/section.proto",
978 ],
Colin Cross43214162018-08-20 13:57:24 -0700979 sdk_version: "current",
980 srcs: [
981 "core/proto/**/*.proto",
982 "libs/incident/proto/android/os/**/*.proto",
983 ],
984}
985
986// ==== java proto device library (for test only) ==============================
987java_library {
988 name: "platformprotoslite",
989 proto: {
990 type: "lite",
991 include_dirs: ["external/protobuf/src"],
992 },
993
994 srcs: [
995 "core/proto/**/*.proto",
996 "libs/incident/proto/android/os/**/*.proto",
997 ],
Joe Onorato99598ee2019-02-11 15:55:13 +0000998 exclude_srcs: [
999 "core/proto/android/privacy.proto",
1000 "core/proto/android/section.proto",
1001 ],
Colin Cross43214162018-08-20 13:57:24 -07001002 // Protos have lots of MissingOverride and similar.
1003 errorprone: {
1004 javacflags: ["-XepDisableAllChecks"],
1005 },
1006}
1007
Colin Crossaa0d4352017-05-02 14:14:56 -07001008// ==== c++ proto device library ==============================
Joe Onorato99598ee2019-02-11 15:55:13 +00001009cc_defaults {
1010 name: "libplatformprotos-defaults",
1011
Colin Crossaa0d4352017-05-02 14:14:56 -07001012 proto: {
1013 export_proto_headers: true,
1014 include_dirs: ["external/protobuf/src"],
1015 },
1016
Chih-Hung Hsiehc7edf072017-10-03 09:57:55 -07001017 cflags: [
1018 "-Wall",
1019 "-Werror",
1020 "-Wno-unused-parameter",
1021 ],
Joe Onorato62c220b2017-11-18 20:32:56 -08001022
1023 srcs: [
1024 "core/proto/**/*.proto",
Joe Onorato62c220b2017-11-18 20:32:56 -08001025 ],
Joe Onorato99598ee2019-02-11 15:55:13 +00001026}
1027
1028cc_library {
1029 name: "libplatformprotos",
1030 defaults: ["libplatformprotos-defaults"],
1031 host_supported: true,
Joe Onorato62c220b2017-11-18 20:32:56 -08001032
Colin Crossaa0d4352017-05-02 14:14:56 -07001033 target: {
1034 host: {
1035 proto: {
1036 type: "full",
1037 },
1038 },
1039 android: {
1040 proto: {
1041 type: "lite",
1042 },
Joe Onorato99598ee2019-02-11 15:55:13 +00001043 shared_libs: [
1044 "libprotobuf-cpp-lite",
1045 ],
Colin Crossaa0d4352017-05-02 14:14:56 -07001046 shared: {
Colin Crossaa0d4352017-05-02 14:14:56 -07001047 enabled: false,
1048 },
1049 },
1050 },
Colin Crossaa0d4352017-05-02 14:14:56 -07001051}
1052
Joe Onorato9bd5db72019-04-03 18:19:43 -07001053// This library is meant for vendor code that needs to output protobuf. It links
1054// against the static version of libprotobuf-cpp-lite, for which we can not guarantee
1055// binary compatibility.
1056cc_library {
1057 name: "libplatformprotos-static",
1058 defaults: ["libplatformprotos-defaults"],
1059 host_supported: false,
1060
1061 // This is okay because this library is only built as a static library. The C++
1062 // API is not guaranteed. The proto API is guaranteed to be stable via Metrics Council,
1063 // but is not authorized to be used outside of debugging.
1064 vendor_available: true,
1065
1066 target: {
1067 android: {
1068 proto: {
1069 type: "lite",
1070 },
1071 static_libs: [
1072 "libprotobuf-cpp-lite",
1073 ],
1074 shared: {
1075 enabled: false,
1076 },
1077 },
1078 },
1079}
1080
1081
Joe Onorato99598ee2019-02-11 15:55:13 +00001082// This is the full proto version of libplatformprotos. It may only
1083// be used by test code that is not shipped on the device.
1084cc_library {
1085 name: "libplatformprotos-test",
1086 defaults: ["libplatformprotos-defaults"],
1087 host_supported: false,
1088
1089 target: {
1090 android: {
1091 proto: {
1092 type: "full",
1093 },
1094 shared: {
1095 enabled: false,
1096 },
1097 },
1098 },
1099}
1100
1101
Yi Jin04625ad2017-10-17 18:29:33 -07001102gensrcs {
1103 name: "gen-platform-proto-constants",
1104 depfile: true,
1105
1106 tools: [
1107 "aprotoc",
1108 "protoc-gen-cppstream",
1109 ],
1110
1111 srcs: [
Kweku Adamseadd1232018-02-05 16:45:13 -08001112 "core/proto/android/os/backtrace.proto",
Kweku Adams59e6fd72017-12-27 15:48:14 -08001113 "core/proto/android/os/batterytype.proto",
Yi Jin0eb22342017-11-06 17:17:27 -08001114 "core/proto/android/os/cpufreq.proto",
Yi Jine2f7f792017-11-01 17:08:27 -07001115 "core/proto/android/os/cpuinfo.proto",
Colin Crossbc2dc312018-10-26 22:34:06 -07001116 "core/proto/android/os/data.proto",
Yi Jin04625ad2017-10-17 18:29:33 -07001117 "core/proto/android/os/kernelwake.proto",
1118 "core/proto/android/os/pagetypeinfo.proto",
1119 "core/proto/android/os/procrank.proto",
Kweku Adamsf5cc5752017-12-20 17:59:17 -08001120 "core/proto/android/os/ps.proto",
Yi Jin0dfa7522017-11-06 17:43:47 -08001121 "core/proto/android/os/system_properties.proto",
Yi Jin3c034c92017-12-22 17:36:47 -08001122 "core/proto/android/util/event_log_tags.proto",
Colin Crossbc2dc312018-10-26 22:34:06 -07001123 "core/proto/android/util/log.proto",
Yi Jin04625ad2017-10-17 18:29:33 -07001124 ],
1125
1126 // Append protoc-gen-cppstream tool's PATH otherwise aprotoc can't find the plugin tool
Yi Jin3c034c92017-12-22 17:36:47 -08001127 cmd: "mkdir -p $(genDir) " +
1128 "&& $(location aprotoc) " +
1129 " --plugin=$(location protoc-gen-cppstream) " +
1130 " --dependency_out=$(depfile) " +
1131 " --cppstream_out=$(genDir) " +
1132 " -Iexternal/protobuf/src " +
1133 " -I . " +
1134 " $(in)",
Yi Jin04625ad2017-10-17 18:29:33 -07001135
Logan Chien71ddfea2018-02-27 16:43:50 +08001136 output_extension: "proto.h",
Yi Jin04625ad2017-10-17 18:29:33 -07001137}
1138
Joe Onorato99598ee2019-02-11 15:55:13 +00001139
Dan Albert2a8d9c22016-09-23 15:55:49 -07001140subdirs = [
Yi Jin0a3406f2017-06-22 19:23:11 -07001141 "cmds/*",
Jeff Sharkey0c686e72017-10-23 16:04:31 -06001142 "core/*",
Colin Cross4f8d9e62016-12-01 15:55:00 -08001143 "libs/*",
Colin Cross76de4f62017-05-15 18:10:40 -07001144 "media/*",
Colin Cross747e7c12017-10-24 16:21:22 -07001145 "proto",
Fabien Sanglard19160202017-01-12 14:24:31 -05001146 "tools/*",
Dan Albert2a8d9c22016-09-23 15:55:49 -07001147 "native/android",
Dan Albert7ce8df32016-09-23 16:43:49 -07001148 "native/graphics/jni",
Dan Albert2a8d9c22016-09-23 15:55:49 -07001149]
Svetoslav Ganov74c99832016-12-05 20:07:20 -08001150
1151optional_subdirs = [
1152 "core/tests/utiltests/jni",
1153]
Steven Morelandeddafe92017-10-02 16:58:41 -07001154
Colin Crossa2b78a72018-03-29 13:31:04 -07001155// TODO(b/77285514): remove this once the last few hidl interfaces have been
1156// updated to use hwbinder.stubs.
Steven Morelandeddafe92017-10-02 16:58:41 -07001157java_library {
1158 name: "hwbinder",
1159 no_framework_libs: true,
1160
1161 srcs: [
1162 "core/java/android/os/HidlSupport.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -08001163 "core/java/android/annotation/IntDef.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001164 "core/java/android/annotation/NonNull.java",
Steven Moreland0ff061a2019-03-04 17:56:30 -08001165 "core/java/android/annotation/Nullable.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -08001166 "core/java/android/annotation/SystemApi.java",
Steven Morelandcbba4c72019-01-11 10:19:51 -08001167 "core/java/android/annotation/TestApi.java",
Andrei Onea24ec3212019-03-15 17:35:05 +00001168 "core/java/android/annotation/UnsupportedAppUsage.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001169 "core/java/android/os/HwBinder.java",
1170 "core/java/android/os/HwBlob.java",
1171 "core/java/android/os/HwParcel.java",
1172 "core/java/android/os/IHwBinder.java",
1173 "core/java/android/os/IHwInterface.java",
1174 "core/java/android/os/DeadObjectException.java",
1175 "core/java/android/os/DeadSystemException.java",
Nirav Atre9850dd92018-07-24 17:03:44 -07001176 "core/java/android/os/NativeHandle.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001177 "core/java/android/os/RemoteException.java",
1178 "core/java/android/util/AndroidException.java",
1179 ],
1180
1181 dxflags: ["--core-library"],
1182 installable: false,
1183}
Nan Zhang2db709d2017-11-08 20:48:46 -08001184
1185python_defaults {
1186 name: "base_default",
1187 version: {
1188 py2: {
1189 enabled: true,
1190 embedded_launcher: true,
1191 },
1192 py3: {
1193 enabled: false,
1194 embedded_launcher: false,
1195 },
1196 },
1197}
1198
1199python_binary_host {
1200 name: "fontchain_linter",
1201 defaults: ["base_default"],
1202 main: "tools/fonts/fontchain_linter.py",
1203 srcs: [
1204 "tools/fonts/fontchain_linter.py",
1205 ],
1206 libs: [
1207 "fontTools",
1208 ],
1209}
Nan Zhang172875b2018-02-27 11:24:03 -08001210
1211// TODO: Don't rely on this list once droiddoc can take a list of packages to document
1212frameworks_base_subdirs = [
1213 "core/java",
1214 "graphics/java",
1215 "location/java",
1216 "media/java",
1217 "media/mca/effect/java",
1218 "media/mca/filterfw/java",
1219 "media/mca/filterpacks/java",
1220 "drm/java",
1221 "opengl/java",
1222 "sax/java",
1223 "telecomm/java",
1224 "telephony/java",
1225 "wifi/java",
1226 "lowpan/java",
1227 "keystore/java",
1228 "rs/java",
1229]
1230
1231packages_to_document = [
1232 "android",
1233 "javax/microedition/khronos",
1234 "org/apache/http/conn",
1235 "org/apache/http/params",
1236]
1237
Paul Duffin0440e1f2019-02-11 16:13:25 +00001238// Make the api/current.txt file available for use by modules in other
1239// directories.
1240filegroup {
1241 name: "frameworks-base-api-current.txt",
1242 srcs: [
1243 "api/current.txt",
1244 ],
1245}
1246
Nan Zhang7764a4b2018-08-22 11:27:31 -07001247framework_docs_only_args = " -android -manifest $(location core/res/AndroidManifest.xml) " +
Nan Zhangb03396e2018-10-11 18:06:10 -07001248 "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001249 "-overview $(location core/java/overview.html) " +
1250 // Federate Support Library references against local API file.
1251 "-federate SupportLib https://developer.android.com " +
Paul Duffincf2e9892019-02-11 15:40:28 +00001252 "-federationapi SupportLib $(location :current-support-api) "
Nan Zhang172875b2018-02-27 11:24:03 -08001253
Nan Zhang7764a4b2018-08-22 11:27:31 -07001254framework_docs_only_libs = [
Nan Zhang7764a4b2018-08-22 11:27:31 -07001255 "voip-common",
1256 "android.test.mock",
1257 "android-support-annotations",
1258 "android-support-compat",
1259 "android-support-core-ui",
1260 "android-support-core-utils",
1261 "android-support-customtabs",
1262 "android-support-design",
1263 "android-support-dynamic-animation",
1264 "android-support-exifinterface",
1265 "android-support-fragment",
1266 "android-support-media-compat",
1267 "android-support-percent",
1268 "android-support-recommendation",
1269 "android-support-transition",
1270 "android-support-tv-provider",
1271 "android-support-v7-cardview",
1272 "android-support-v7-gridlayout",
1273 "android-support-v7-mediarouter",
1274 "android-support-v7-palette",
1275 "android-support-v7-preference",
1276 "android-support-v13",
1277 "android-support-v14-preference",
1278 "android-support-v17-leanback",
1279 "android-support-v17-preference-leanback",
1280 "android-support-wear",
1281 "android-support-vectordrawable",
1282 "android-support-animatedvectordrawable",
1283 "android-support-v7-appcompat",
1284 "android-support-v7-recyclerview",
1285 "android-support-emoji",
1286 "android-support-emoji-appcompat",
1287 "android-support-emoji-bundled",
1288 "android-support-v8-renderscript",
1289 "android-support-multidex",
1290 "android-support-multidex-instrumentation",
1291]
1292
1293metalava_framework_docs_args = "--manifest $(location core/res/AndroidManifest.xml) " +
1294 "--hide-package com.android.okhttp " +
1295 "--hide-package com.android.org.conscrypt --hide-package com.android.server " +
Adrian Roosc6e2fc82018-12-12 15:08:44 +01001296 "--error UnhiddenSystemApi " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001297 "--hide RequiresPermission " +
1298 "--hide MissingPermission --hide BroadcastBehavior " +
1299 "--hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol " +
1300 "--hide SdkConstant --hide HiddenTypeParameter --hide Todo --hide Typo"
1301
1302stubs_defaults {
1303 name: "framework-doc-stubs-default",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001304 srcs: [
1305 "test-base/src/**/*.java",
1306 ":opt-telephony-srcs",
1307 ":opt-net-voip-srcs",
Neil Fuller3b1b7032019-02-26 12:00:38 +00001308 ":core_public_api_files",
Insun Kangd5fa8152019-01-24 17:08:10 +09001309 ":updatable-media-srcs-without-aidls",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001310 "test-mock/src/**/*.java",
1311 "test-runner/src/**/*.java",
1312 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001313 srcs_lib: "framework",
1314 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1315 srcs_lib_whitelist_pkgs: packages_to_document,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001316 libs: framework_docs_only_libs,
Nan Zhang3e15ba82018-07-26 18:41:12 +00001317 local_sourcepaths: frameworks_base_subdirs,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001318 create_doc_stubs: true,
1319 annotations_enabled: true,
1320 api_levels_annotations_enabled: true,
1321 api_levels_annotations_dirs: [
1322 "sdk-dir",
1323 "api-versions-jars-dir",
1324 ],
1325 previous_api: ":last-released-public-api",
1326 merge_annotations_dirs: [
1327 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001328 "ojluni-annotated-sdk-stubs",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001329 ],
1330}
1331
1332doc_defaults {
1333 name: "framework-docs-default",
Nan Zhangb03396e2018-10-11 18:06:10 -07001334 libs: framework_docs_only_libs +
1335 ["stub-annotations"],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001336 html_dirs: [
1337 "docs/html",
1338 ],
1339 knowntags: [
1340 "docs/knowntags.txt",
1341 ":known-oj-tags",
1342 ],
1343 custom_template: "droiddoc-templates-sdk",
1344 resourcesdir: "docs/html/reference/images/",
1345 resourcesoutdir: "reference/android/images/",
1346 hdf: [
1347 "dac true",
1348 "sdk.codename O",
1349 "sdk.preview.version 1",
1350 "sdk.version 7.0",
1351 "sdk.rel.id 1",
1352 "sdk.preview 0",
1353 ],
1354 arg_files: [
1355 "core/res/AndroidManifest.xml",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001356 "core/java/overview.html",
1357 ":current-support-api",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001358 ],
1359 create_stubs: false,
1360}
1361
Nan Zhang894c9ec2018-09-10 18:58:39 -07001362stubs_defaults {
Nan Zhangd25ad462018-08-22 10:48:15 -07001363 name: "metalava-api-stubs-default",
1364 srcs: [
1365 ":opt-telephony-srcs",
1366 ":opt-net-voip-srcs",
Neil Fuller3b1b7032019-02-26 12:00:38 +00001367 ":core_public_api_files",
Insun Kangd5fa8152019-01-24 17:08:10 +09001368 ":updatable-media-srcs-without-aidls",
Nan Zhangd25ad462018-08-22 10:48:15 -07001369 ],
1370 srcs_lib: "framework",
1371 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1372 srcs_lib_whitelist_pkgs: packages_to_document,
1373 libs: [
Nan Zhangd25ad462018-08-22 10:48:15 -07001374 "ext",
1375 "framework",
1376 "voip-common",
Nan Zhangd25ad462018-08-22 10:48:15 -07001377 ],
1378 local_sourcepaths: frameworks_base_subdirs,
1379 installable: false,
Nan Zhang894c9ec2018-09-10 18:58:39 -07001380 annotations_enabled: true,
1381 previous_api: ":last-released-public-api",
1382 merge_annotations_dirs: [
Nan Zhangd25ad462018-08-22 10:48:15 -07001383 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001384 "ojluni-annotated-sdk-stubs",
Nan Zhangd25ad462018-08-22 10:48:15 -07001385 ],
Nan Zhang91cc7662018-09-18 10:46:10 -07001386 api_levels_annotations_enabled: true,
1387 api_levels_annotations_dirs: [
1388 "sdk-dir",
1389 "api-versions-jars-dir",
1390 ],
Nan Zhangd25ad462018-08-22 10:48:15 -07001391}
1392
Nan Zhang7764a4b2018-08-22 11:27:31 -07001393droidstubs {
1394 name: "framework-doc-stubs",
1395 defaults: ["framework-doc-stubs-default"],
1396 arg_files: [
1397 "core/res/AndroidManifest.xml",
1398 ],
1399 args: metalava_framework_docs_args,
1400}
1401
1402droidstubs {
1403 name: "framework-doc-system-stubs",
1404 defaults: ["framework-doc-stubs-default"],
1405 arg_files: [
1406 "core/res/AndroidManifest.xml",
1407 ],
1408 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi ",
1409}
1410
Nan Zhang3e15ba82018-07-26 18:41:12 +00001411droiddoc {
1412 name: "doc-comment-check-docs",
1413 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001414 srcs: [
1415 ":framework-doc-stubs",
1416 ],
1417 args: framework_docs_only_args + " -referenceonly -parsecomments",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001418 installable: false,
1419}
1420
1421droiddoc {
1422 name: "offline-sdk-docs",
1423 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001424 srcs: [
1425 ":framework-doc-stubs",
1426 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001427 hdf: [
1428 "android.whichdoc offline",
1429 ],
1430 proofread_file: "offline-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001431 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\"",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001432 write_sdk_values: true,
1433 static_doc_index_redirect: "docs/docs-preview-index.html",
1434}
1435
1436droiddoc {
Nan Zhang963612b2018-09-21 17:16:49 -07001437 // Please sync with android-api-council@ before making any changes for the name property below.
1438 // Since there's cron jobs that fetch offline-sdk-referenceonly-docs-docs.zip periodically.
1439 // See b/116221385 for reference.
Nan Zhang3e15ba82018-07-26 18:41:12 +00001440 name: "offline-sdk-referenceonly-docs",
1441 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001442 srcs: [
1443 ":framework-doc-stubs",
1444 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001445 hdf: [
1446 "android.whichdoc offline",
1447 ],
1448 proofread_file: "offline-sdk-referenceonly-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001449 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\" -referenceonly",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001450 write_sdk_values: true,
1451 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
1452 static_doc_properties: "docs/source.properties",
1453}
1454
1455droiddoc {
Nan Zhang963612b2018-09-21 17:16:49 -07001456 // Please sync with android-api-council@ before making any changes for the name property below.
1457 // Since there's cron jobs that fetch offline-system-sdk-referenceonly-docs-docs.zip periodically.
1458 // See b/116221385 for reference.
Nan Zhang3e15ba82018-07-26 18:41:12 +00001459 name: "offline-system-sdk-referenceonly-docs",
1460 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001461 srcs: [
1462 ":framework-doc-system-stubs",
1463 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001464 hdf: [
1465 "android.whichdoc offline",
1466 ],
1467 proofread_file: "offline-system-sdk-referenceonly-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001468 args: framework_docs_only_args + " -hide 101 -hide 104 -hide 108" +
1469 " -offlinemode -title \"Android System SDK\" -referenceonly",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001470 write_sdk_values: true,
1471 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
1472 static_doc_properties: "docs/source.properties",
1473}
1474
1475droiddoc {
1476 name: "online-sdk-docs",
1477 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001478 srcs: [
1479 ":framework-doc-stubs",
1480 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001481 hdf: [
1482 "android.whichdoc online",
1483 "android.hasSamples true",
1484 ],
1485 proofread_file: "online-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001486 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001487 " -toroot / -samplegroup Admin " +
1488 " -samplegroup Background " +
1489 " -samplegroup Connectivity " +
1490 " -samplegroup Content " +
1491 " -samplegroup Input " +
1492 " -samplegroup Media " +
1493 " -samplegroup Notification " +
1494 " -samplegroup RenderScript " +
1495 " -samplegroup Security " +
1496 " -samplegroup Sensors " +
1497 " -samplegroup System " +
1498 " -samplegroup Testing " +
1499 " -samplegroup UI " +
1500 " -samplegroup Views " +
1501 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1502}
1503
1504droiddoc {
1505 name: "online-system-api-sdk-docs",
1506 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001507 srcs: [
1508 ":framework-doc-system-stubs",
1509 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001510 hdf: [
1511 "android.whichdoc online",
1512 "android.hasSamples true",
1513 ],
1514 proofread_file: "online-system-api-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001515 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001516 " -referenceonly " +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001517 " -title \"Android SDK - Including system APIs.\" " +
1518 " -hide 101 " +
1519 " -hide 104 " +
1520 " -hide 108 " +
1521 " -toroot / -samplegroup Admin " +
1522 " -samplegroup Background " +
1523 " -samplegroup Connectivity " +
1524 " -samplegroup Content " +
1525 " -samplegroup Input " +
1526 " -samplegroup Media " +
1527 " -samplegroup Notification " +
1528 " -samplegroup RenderScript " +
1529 " -samplegroup Security " +
1530 " -samplegroup Sensors " +
1531 " -samplegroup System " +
1532 " -samplegroup Testing " +
1533 " -samplegroup UI " +
1534 " -samplegroup Views " +
1535 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1536 installable: false,
1537}
1538
1539droiddoc {
1540 name: "ds-docs",
1541 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001542 srcs: [
1543 ":framework-doc-stubs",
1544 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001545 hdf: [
1546 "android.whichdoc online",
1547 "android.hasSamples true",
1548 ],
1549 proofread_file: "ds-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001550 args: framework_docs_only_args +
Dirk Dougherty14b05b12019-02-22 20:36:41 -08001551 " -toroot / -yamlV2 -metalavaApiSince -samplegroup Admin " +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001552 " -samplegroup Background " +
1553 " -samplegroup Connectivity " +
1554 " -samplegroup Content " +
1555 " -samplegroup Input " +
1556 " -samplegroup Media " +
1557 " -samplegroup Notification " +
1558 " -samplegroup RenderScript " +
1559 " -samplegroup Security " +
1560 " -samplegroup Sensors " +
1561 " -samplegroup System " +
1562 " -samplegroup Testing " +
1563 " -samplegroup UI " +
1564 " -samplegroup Views " +
1565 " -samplegroup Wearable -devsite -samplesdir development/samples/browseable ",
1566}
1567
1568droiddoc {
1569 name: "ds-static-docs",
1570 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001571 srcs: [
1572 ":framework-doc-stubs",
1573 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001574 hdf: [
1575 "android.whichdoc online",
1576 ],
1577 proofread_file: "ds-static-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001578 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001579 " -staticonly " +
1580 " -toroot / " +
1581 " -devsite " +
1582 " -ignoreJdLinks ",
1583}
1584
1585droiddoc {
1586 name: "ds-ref-navtree-docs",
1587 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001588 srcs: [
1589 ":framework-doc-stubs",
1590 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001591 hdf: [
1592 "android.whichdoc online",
1593 ],
1594 proofread_file: "ds-ref-navtree-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001595 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001596 " -toroot / " +
1597 " -atLinksNavtree " +
1598 " -navtreeonly ",
1599}
1600
1601droiddoc {
1602 name: "online-sdk-dev-docs",
1603 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001604 srcs: [
1605 ":framework-doc-stubs",
1606 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001607 hdf: [
1608 "android.whichdoc online",
1609 "android.hasSamples true",
1610 ],
1611 proofread_file: "online-sdk-dev-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001612 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001613 " -toroot / -samplegroup Admin " +
1614 " -samplegroup Background " +
1615 " -samplegroup Connectivity " +
1616 " -samplegroup Content " +
1617 " -samplegroup Input " +
1618 " -samplegroup Media " +
1619 " -samplegroup Notification " +
1620 " -samplegroup RenderScript " +
1621 " -samplegroup Security " +
1622 " -samplegroup Sensors " +
1623 " -samplegroup System " +
1624 " -samplegroup Testing " +
1625 " -samplegroup UI " +
1626 " -samplegroup Views " +
1627 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1628}
1629
1630droiddoc {
1631 name: "hidden-docs",
1632 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001633 srcs: [
1634 ":framework-doc-stubs",
1635 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001636 proofread_file: "hidden-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001637 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001638 " -referenceonly " +
1639 " -title \"Android SDK - Including hidden APIs.\"",
1640}
1641
Nan Zhang7764a4b2018-08-22 11:27:31 -07001642droidstubs {
Colin Crossa2b78a72018-03-29 13:31:04 -07001643 name: "hwbinder-stubs-docs",
1644 srcs: [
1645 "core/java/android/os/HidlSupport.java",
1646 "core/java/android/annotation/IntDef.java",
1647 "core/java/android/annotation/NonNull.java",
1648 "core/java/android/annotation/SystemApi.java",
1649 "core/java/android/os/HwBinder.java",
1650 "core/java/android/os/HwBlob.java",
1651 "core/java/android/os/HwParcel.java",
1652 "core/java/android/os/IHwBinder.java",
1653 "core/java/android/os/IHwInterface.java",
1654 "core/java/android/os/DeadObjectException.java",
1655 "core/java/android/os/DeadSystemException.java",
Nirav Atre9850dd92018-07-24 17:03:44 -07001656 "core/java/android/os/NativeHandle.java",
Colin Crossa2b78a72018-03-29 13:31:04 -07001657 "core/java/android/os/RemoteException.java",
1658 "core/java/android/util/AndroidException.java",
1659 ],
Colin Crossa2b78a72018-03-29 13:31:04 -07001660 installable: false,
1661 no_framework_libs: true,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001662 annotations_enabled: true,
1663 previous_api: ":last-released-public-api",
1664 merge_annotations_dirs: [
1665 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001666 "ojluni-annotated-sdk-stubs",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001667 ],
1668 args: " --show-annotation android.annotation.SystemApi",
Colin Crossa2b78a72018-03-29 13:31:04 -07001669}
1670
1671java_library_static {
1672 name: "hwbinder.stubs",
1673 sdk_version: "core_current",
1674 srcs: [
1675 ":hwbinder-stubs-docs",
1676 ],
1677}
Nan Zhanga0f91af2018-04-09 17:41:51 -07001678
Nan Zhang894c9ec2018-09-10 18:58:39 -07001679droidstubs {
Nan Zhangd25ad462018-08-22 10:48:15 -07001680 name: "hiddenapi-lists-docs",
1681 defaults: ["metalava-api-stubs-default"],
David Brazdil4f9d4d52018-04-26 14:05:13 +01001682 arg_files: [
1683 "core/res/AndroidManifest.xml",
David Brazdil4f9d4d52018-04-26 14:05:13 +01001684 ],
David Brazdil6f6a1262018-05-31 13:58:41 +01001685 dex_api_filename: "public-dex.txt",
David Brazdil4f9d4d52018-04-26 14:05:13 +01001686 private_dex_api_filename: "private-dex.txt",
1687 removed_dex_api_filename: "removed-dex.txt",
Nan Zhangd25ad462018-08-22 10:48:15 -07001688 args: metalava_framework_docs_args +
1689 " --show-unannotated " +
1690 " --show-annotation android.annotation.SystemApi " +
1691 " --show-annotation android.annotation.TestApi "
David Brazdil4f9d4d52018-04-26 14:05:13 +01001692}
1693
Nan Zhangd25ad462018-08-22 10:48:15 -07001694
Nan Zhang7764a4b2018-08-22 11:27:31 -07001695droidstubs {
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001696 name: "hiddenapi-mappings",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001697 defaults: ["metalava-api-stubs-default"],
Paul Duffina0cb5382018-10-31 10:34:51 +00001698 srcs: [
1699 ":openjdk_java_files",
1700 ":non_openjdk_java_files",
Andrei Onea6dd843a2019-03-13 15:27:23 +00001701 ":opt-telephony-common-srcs",
Andrei Onea77b22e32019-03-22 14:56:51 +00001702 "core/java/**/*.java",
Paul Duffina0cb5382018-10-31 10:34:51 +00001703 ],
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001704 arg_files: [
1705 "core/res/AndroidManifest.xml",
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001706 ],
1707 dex_mapping_filename: "dex-mapping.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001708 args: metalava_framework_docs_args +
Adrian Roos9bdbd302018-12-07 13:53:40 +01001709 " --hide ReferencesHidden " +
Adrian Roosc6e2fc82018-12-12 15:08:44 +01001710 " --hide UnhiddenSystemApi " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001711 " --show-unannotated " +
1712 " --show-annotation android.annotation.SystemApi " +
1713 " --show-annotation android.annotation.TestApi "
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001714}
1715
Nan Zhanga0f91af2018-04-09 17:41:51 -07001716filegroup {
1717 name: "apache-http-stubs-sources",
1718 srcs: [
1719 "core/java/org/apache/http/conn/ConnectTimeoutException.java",
1720 "core/java/org/apache/http/conn/scheme/HostNameResolver.java",
1721 "core/java/org/apache/http/conn/scheme/LayeredSocketFactory.java",
1722 "core/java/org/apache/http/conn/scheme/SocketFactory.java",
1723 "core/java/org/apache/http/conn/ssl/AbstractVerifier.java",
1724 "core/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java",
1725 "core/java/org/apache/http/conn/ssl/AndroidDistinguishedNameParser.java",
1726 "core/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java",
1727 "core/java/org/apache/http/conn/ssl/SSLSocketFactory.java",
1728 "core/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java",
1729 "core/java/org/apache/http/conn/ssl/X509HostnameVerifier.java",
1730 "core/java/org/apache/http/params/CoreConnectionPNames.java",
1731 "core/java/org/apache/http/params/HttpConnectionParams.java",
1732 "core/java/org/apache/http/params/HttpParams.java",
Nan Zhanga0f91af2018-04-09 17:41:51 -07001733 "core/java/android/net/http/SslCertificate.java",
1734 "core/java/android/net/http/SslError.java",
1735 "core/java/com/android/internal/util/HexDump.java",
1736 ],
1737}
Nan Zhang4212eb12018-04-25 17:23:33 -07001738
Nan Zhang894c9ec2018-09-10 18:58:39 -07001739droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001740 name: "api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001741 defaults: ["metalava-api-stubs-default"],
Nan Zhang4212eb12018-04-25 17:23:33 -07001742 api_filename: "public_api.txt",
1743 private_api_filename: "private.txt",
1744 removed_api_filename: "removed.txt",
1745 arg_files: [
1746 "core/res/AndroidManifest.xml",
1747 ],
1748 args: metalava_framework_docs_args,
Nan Zhange5612602018-08-16 16:16:00 -07001749 check_api: {
1750 current: {
1751 api_file: "api/current.txt",
1752 removed_api_file: "api/removed.txt",
1753 },
Nan Zhangcd060d92018-08-20 20:34:26 -07001754 last_released: {
1755 api_file: ":last-released-public-api",
1756 removed_api_file: "api/removed.txt",
1757 },
Nan Zhange5612602018-08-16 16:16:00 -07001758 },
Nan Zhang81f29f52018-09-17 14:33:08 -07001759 jdiff_enabled: true,
Nan Zhang4212eb12018-04-25 17:23:33 -07001760}
1761
Nan Zhang894c9ec2018-09-10 18:58:39 -07001762droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001763 name: "system-api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001764 defaults: ["metalava-api-stubs-default"],
Nan Zhang4d3f5012018-08-07 13:40:33 -07001765 api_tag_name: "SYSTEM",
Nan Zhang4212eb12018-04-25 17:23:33 -07001766 api_filename: "system-api.txt",
1767 private_api_filename: "system-private.txt",
1768 private_dex_api_filename: "system-private-dex.txt",
1769 removed_api_filename: "system-removed.txt",
1770 arg_files: [
1771 "core/res/AndroidManifest.xml",
1772 ],
1773 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi",
Nan Zhange5612602018-08-16 16:16:00 -07001774 check_api: {
1775 current: {
1776 api_file: "api/system-current.txt",
1777 removed_api_file: "api/system-removed.txt",
1778 },
Nan Zhangcd060d92018-08-20 20:34:26 -07001779 last_released: {
1780 api_file: ":last-released-system-api",
1781 removed_api_file: "api/system-removed.txt",
1782 },
Nan Zhange5612602018-08-16 16:16:00 -07001783 },
Nan Zhang81f29f52018-09-17 14:33:08 -07001784 jdiff_enabled: true,
Nan Zhang4212eb12018-04-25 17:23:33 -07001785}
1786
Nan Zhang894c9ec2018-09-10 18:58:39 -07001787droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001788 name: "test-api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001789 defaults: ["metalava-api-stubs-default"],
Nan Zhang4d3f5012018-08-07 13:40:33 -07001790 api_tag_name: "TEST",
Nan Zhang4212eb12018-04-25 17:23:33 -07001791 api_filename: "test-api.txt",
1792 removed_api_filename: "test-removed.txt",
1793 arg_files: [
1794 "core/res/AndroidManifest.xml",
1795 ],
1796 args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi",
Nan Zhange5612602018-08-16 16:16:00 -07001797 check_api: {
1798 current: {
1799 api_file: "api/test-current.txt",
1800 removed_api_file: "api/test-removed.txt",
1801 },
1802 },
Nan Zhang4212eb12018-04-25 17:23:33 -07001803}
Nan Zhangaf251302018-08-30 10:59:51 -07001804
1805filegroup {
1806 name: "framework-annotation-nonnull-srcs",
1807 srcs: [
1808 "core/java/android/annotation/NonNull.java",
1809 ],
1810}
Insun Kang06b25ae2018-11-20 10:05:44 +09001811
1812filegroup {
1813 name: "framework-media-annotation-srcs",
1814 srcs: [
1815 "core/java/android/annotation/CallbackExecutor.java",
Insun Kangf86a56c2019-01-22 17:16:07 +09001816 "core/java/android/annotation/CallSuper.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001817 "core/java/android/annotation/DrawableRes.java",
1818 "core/java/android/annotation/IntDef.java",
1819 "core/java/android/annotation/LongDef.java",
1820 "core/java/android/annotation/NonNull.java",
1821 "core/java/android/annotation/Nullable.java",
1822 "core/java/android/annotation/RequiresPermission.java",
1823 "core/java/android/annotation/SdkConstant.java",
1824 "core/java/android/annotation/StringDef.java",
Sungsoo Limbb3b4012019-01-23 13:17:53 +09001825 "core/java/android/annotation/SystemApi.java",
Dongwon Kang3584c662018-11-27 11:14:08 -08001826 "core/java/android/annotation/TestApi.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001827 "core/java/android/annotation/UnsupportedAppUsage.java",
Dongwon Kang3584c662018-11-27 11:14:08 -08001828 "core/java/com/android/internal/annotations/GuardedBy.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001829 ],
1830}
1831
Andrei Onea7a2985c2019-02-18 15:28:35 +00001832// Creates an index of AIDL methods; used for adding UnsupportedAppUsage
1833// annotations to private apis
1834aidl_mapping {
1835 name: "framework-aidl-mappings",
1836 srcs: [":framework-defaults"],
1837 output: "framework-aidl-mappings.txt"
Dario Freni2ce84342019-04-26 13:06:22 +01001838}