blob: b4110fa906cf4920be3c491248bb0d98dab84c36 [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",
Zimuzocd6b1152019-03-29 17:42:19 +0000323 "core/java/android/service/watchdog/PackageInfo.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
Inseob Kimc1246e62018-11-08 13:13:54 +0900690 ":platform-properties",
691
Colin Crosscf3a0b52017-11-16 00:15:28 -0800692 ":framework-statslog-gen",
693 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800694
695 aidl: {
Colin Cross4eb07842017-12-14 15:18:42 -0800696 export_include_dirs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800697 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
698 "core/java",
699 "graphics/java",
700 "location/java",
701 "lowpan/java",
702 "media/java",
Insun Kangf86a56c2019-01-22 17:16:07 +0900703 "media/apex/java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800704 "media/mca/effect/java",
705 "media/mca/filterfw/java",
706 "media/mca/filterpacks/java",
707 "drm/java",
708 "opengl/java",
709 "sax/java",
710 "telecomm/java",
711 "telephony/java",
712 "wifi/java",
713 "keystore/java",
714 "rs/java",
715 ],
716
717 include_dirs: [
718 "system/update_engine/binder_bindings",
719 "frameworks/native/aidl/binder",
Nandana Duttb3f71682018-10-03 10:01:25 +0100720 "frameworks/native/cmds/dumpstate/binder",
Joe Onoratoe21ab7e2018-12-18 15:00:25 -0800721 "frameworks/native/libs/incidentcompanion/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800722 "frameworks/av/camera/aidl",
723 "frameworks/av/media/libaudioclient/aidl",
724 "frameworks/native/aidl/gui",
Joe Onorato99598ee2019-02-11 15:55:13 +0000725 "frameworks/native/libs/incidentcompanion/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800726 "system/core/storaged/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800727 "system/vold/binder",
Howard Chen0a947642019-01-07 14:10:44 +0800728 "system/gsid/aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800729 "system/bt/binder",
Logan Chien404eb2b2018-02-14 13:53:04 +0800730 "system/security/keystore/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800731 ],
Olivier Gaillardb0ea4212018-07-26 11:52:37 +0100732
733 generate_get_transaction_name: true
Colin Crosscf3a0b52017-11-16 00:15:28 -0800734 },
735
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000736 exclude_srcs: [
Paul Duffina3b69212018-01-25 09:58:32 +0000737 // See comment on framework-atb-backward-compatibility module below
738 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000739 ],
740
Colin Crosscf3a0b52017-11-16 00:15:28 -0800741 no_framework_libs: true,
742 libs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800743 "ext",
Insun Kangd5fa8152019-01-24 17:08:10 +0900744 "updatable_media_stubs",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800745 ],
746
Steven Moreland19e8d462019-03-08 10:44:22 -0800747 jarjar_rules: ":framework-jarjar-rules",
Steven Moreland20a18482019-01-17 12:24:54 -0800748
Colin Crosscf3a0b52017-11-16 00:15:28 -0800749 static_libs: [
Dario Frenid8bf22e2018-08-31 14:18:04 +0100750 "apex_aidl_interface-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800751 "framework-protos",
Peiyong Lin9ca1dd82019-01-12 17:44:29 -0800752 "game-driver-protos",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800753 "android.hidl.base-V1.0-java",
Henry Fang5215ac92019-02-01 19:24:55 +0000754 "android.hardware.cas-V1.1-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800755 "android.hardware.cas-V1.0-java",
756 "android.hardware.contexthub-V1.0-java",
757 "android.hardware.health-V1.0-java-constants",
Steven Morelande0dde652019-01-24 12:03:26 -0800758 "android.hardware.radio-V1.0-java",
759 "android.hardware.radio-V1.1-java",
760 "android.hardware.radio-V1.2-java",
761 "android.hardware.radio-V1.3-java",
762 "android.hardware.radio-V1.4-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800763 "android.hardware.thermal-V1.0-java-constants",
Wei Wangfb21bd82019-01-10 14:16:23 -0800764 "android.hardware.thermal-V1.0-java",
Wei Wangbad7c202018-11-01 11:57:39 -0700765 "android.hardware.thermal-V1.1-java",
766 "android.hardware.thermal-V2.0-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800767 "android.hardware.tv.input-V1.0-java-constants",
768 "android.hardware.usb-V1.0-java-constants",
769 "android.hardware.usb-V1.1-java-constants",
Badhri Jagan Sridharane966a382018-12-09 14:49:38 -0800770 "android.hardware.usb-V1.2-java-constants",
Steven Morelande0dde652019-01-24 12:03:26 -0800771 "android.hardware.usb.gadget-V1.0-java",
Michael Wrightf268bf52018-02-07 23:23:34 +0000772 "android.hardware.vibrator-V1.0-java",
773 "android.hardware.vibrator-V1.1-java",
774 "android.hardware.vibrator-V1.2-java",
Harpreet "Eli" Sanghaa456f082018-12-14 12:06:10 +0900775 "android.hardware.vibrator-V1.3-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800776 "android.hardware.wifi-V1.0-java-constants",
arangelov1ab61492018-11-22 13:56:50 +0000777 "devicepolicyprotosnano",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800778 ],
779
Wei Jia0a8a8f02017-12-05 17:05:29 -0800780 required: [
Anton Hansson11905c62018-11-27 12:10:30 +0000781 // TODO: remove gps_debug when the build system propagates "required" properly.
782 "gps_debug.conf",
Logan Chien71ddfea2018-02-27 16:43:50 +0800783 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800784
Colin Crosscf3a0b52017-11-16 00:15:28 -0800785 dxflags: [
786 "--core-library",
787 "--multi-dex",
788 ],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100789
Ashley Roseb47ddd42019-01-28 19:54:09 -0500790 plugins: ["view-inspector-annotation-processor"],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100791}
792
Colin Crossbc2dc312018-10-26 22:34:06 -0700793filegroup {
Steven Moreland19e8d462019-03-08 10:44:22 -0800794 name: "framework-jarjar-rules",
795 srcs: ["jarjar_rules_hidl.txt"],
796}
797
798filegroup {
Colin Crossbc2dc312018-10-26 22:34:06 -0700799 name: "libincident_aidl",
800 srcs: [
801 "core/java/android/os/IIncidentManager.aidl",
802 "core/java/android/os/IIncidentReportStatusListener.aidl",
803 ],
804}
805
806filegroup {
807 name: "statsd_aidl",
808 srcs: [
809 "core/java/android/os/IStatsCompanionService.aidl",
810 "core/java/android/os/IStatsManager.aidl",
Tej Singha0c89dd2019-01-25 16:39:18 -0800811 "core/java/android/os/IStatsPullerCallback.aidl",
Colin Crossbc2dc312018-10-26 22:34:06 -0700812 ],
813}
814
Michael Wrightc390fbe2018-12-12 19:45:09 +0000815filegroup {
816 name: "libvibrator_aidl",
817 srcs: [
818 "core/java/android/os/IExternalVibrationController.aidl",
819 "core/java/android/os/IExternalVibratorService.aidl",
820 ],
821}
822
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100823java_library {
824 name: "framework",
825 defaults: ["framework-defaults"],
826 javac_shard_size: 150,
827}
828
829java_library {
830 name: "framework-annotation-proc",
831 defaults: ["framework-defaults"],
832 // Use UsedByApps annotation processor
Colin Crossa1f8e1a2019-01-21 21:45:20 -0800833 plugins: ["unsupportedappusage-annotation-processor"],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100834}
835
836// A host library including just UnsupportedAppUsage.java so that the annotation
837// processor can also use this annotation.
838java_library_host {
839 name: "unsupportedappusage-annotation",
840 srcs: [
841 "core/java/android/annotation/IntDef.java",
842 "core/java/android/annotation/UnsupportedAppUsage.java",
843 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800844}
845
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000846// A temporary build target that is conditionally included on the bootclasspath if
Paul Duffina3b69212018-01-25 09:58:32 +0000847// android.test.base library has been removed and which provides support for
848// maintaining backwards compatibility for APKs that target pre-P and depend on
849// android.test.base classes. This is used iff REMOVE_ATB_FROM_BCP=true is
850// specified on the build command line.
851java_library {
852 name: "framework-atb-backward-compatibility",
Paul Duffinfab87542019-02-15 11:39:12 +0000853 installable: true,
Paul Duffina3b69212018-01-25 09:58:32 +0000854 srcs: [
855 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
856 ],
857}
858
Colin Crosscf3a0b52017-11-16 00:15:28 -0800859genrule {
860 name: "framework-statslog-gen",
861 tools: ["stats-log-api-gen"],
862 cmd: "$(location stats-log-api-gen) --java $(out)",
David Chen0a368b22017-12-06 16:28:16 -0800863 out: ["android/util/StatsLogInternal.java"],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800864}
865
866gensrcs {
867 name: "framework-javastream-protos",
868 depfile: true,
869
Alex Light159799d2018-08-08 07:05:19 -0700870 tool_files: [ "tools/genprotos.sh", ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800871 tools: [
872 "aprotoc",
873 "protoc-gen-javastream",
874 "soong_zip",
875 ],
876
Alex Light159799d2018-08-08 07:05:19 -0700877 // TODO This should not be needed. If you set a custom OUT_DIR or OUT_DIR_COMMON_BASE you can
878 // end up with a command that is extremely long, potentially going passed MAX_ARG_STRLEN due to
879 // the way sbox rewrites the command. See b/70221552.
880 cmd: "$(location tools/genprotos.sh) " +
881 " $(location aprotoc) " +
882 " $(location protoc-gen-javastream) " +
883 " $(location soong_zip) " +
884 " $(genDir) " +
885 " $(depfile) " +
886 " $(in) " +
887 " $(out)",
Yi Jin437aa6e2018-01-10 11:34:26 -0800888 srcs: [
889 "core/proto/**/*.proto",
890 "libs/incident/**/*.proto",
891 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800892 output_extension: "srcjar",
893}
894
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900895filegroup {
Chalard Jean95213512019-01-30 21:04:58 +0900896 name: "framework-annotations",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900897 srcs: [
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900898 "core/java/android/annotation/NonNull.java",
899 "core/java/android/annotation/Nullable.java",
900 "core/java/android/annotation/IntDef.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900901 "core/java/android/annotation/IntRange.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900902 "core/java/android/annotation/UnsupportedAppUsage.java",
Remi NGUYEN VAN231b52b2019-01-29 15:38:52 +0900903 "core/java/com/android/internal/annotations/GuardedBy.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900904 "core/java/com/android/internal/annotations/VisibleForTesting.java",
Chalard Jean95213512019-01-30 21:04:58 +0900905 ]
906}
907
908filegroup {
Remi NGUYEN VANe88516f2019-01-20 09:35:10 +0900909 name: "framework-networkstack-shared-srcs",
910 srcs: [
911 // TODO: remove these annotations as soon as we can use andoid.support.annotations.*
Chalard Jean95213512019-01-30 21:04:58 +0900912 ":framework-annotations",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900913 "core/java/android/net/DhcpResults.java",
Remi NGUYEN VANe88516f2019-01-20 09:35:10 +0900914 "core/java/android/util/LocalLog.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900915 "core/java/com/android/internal/util/HexDump.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900916 "core/java/com/android/internal/util/IndentingPrintWriter.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900917 "core/java/com/android/internal/util/IState.java",
918 "core/java/com/android/internal/util/MessageUtils.java",
919 "core/java/com/android/internal/util/Preconditions.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900920 "core/java/com/android/internal/util/RingBufferIndices.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900921 "core/java/com/android/internal/util/State.java",
922 "core/java/com/android/internal/util/StateMachine.java",
Chalard Jean6a76b7e2019-04-09 11:16:56 +0900923 "core/java/com/android/internal/util/TrafficStatsConstants.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900924 "core/java/com/android/internal/util/WakeupMessage.java",
925 "core/java/android/net/shared/*.java",
926 ]
927}
928
Colin Crossd8e02252017-10-02 17:14:22 -0700929// Build ext.jar
930// ============================================================
931java_library {
932 name: "ext",
Colin Crossa12c0f52018-06-27 11:00:11 -0700933 installable: true,
Paul Duffinba4cee02018-11-23 12:19:49 +0000934 no_framework_libs: true,
Colin Crossd8e02252017-10-02 17:14:22 -0700935 static_libs: [
936 "libphonenumber-platform",
937 "nist-sip",
938 "tagsoup",
Ricky Wai0d1bc332017-10-31 14:31:01 +0000939 "rappor",
Tony Mak64c4cb22018-09-25 13:38:28 +0100940 "libtextclassifier-java",
941 ],
942 required: [
943 "libtextclassifier",
Colin Crossd8e02252017-10-02 17:14:22 -0700944 ],
945 dxflags: ["--core-library"],
946}
947
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700948// ==== java proto host library ==============================
949java_library_host {
950 name: "platformprotos",
951 srcs: [
952 "cmds/am/proto/instrumentation_data.proto",
Howard Ro0546d542018-08-30 16:23:44 -0700953 "cmds/statsd/src/**/*.proto",
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700954 "core/proto/**/*.proto",
955 "libs/incident/proto/**/*.proto",
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700956 ],
957 proto: {
958 include_dirs: ["external/protobuf/src"],
959 type: "full",
960 },
961 errorprone: {
962 javacflags: ["-Xep:MissingOverride:OFF"], // b/72714520
963 },
964}
965
Colin Cross43214162018-08-20 13:57:24 -0700966// ==== java proto device library (for test only) ==============================
967java_library {
968 name: "platformprotosnano",
969 proto: {
970 type: "nano",
971 output_params: ["store_unknown_fields=true"],
972 include_dirs: ["external/protobuf/src"],
973 },
Joe Onorato99598ee2019-02-11 15:55:13 +0000974 exclude_srcs: [
975 "core/proto/android/privacy.proto",
976 "core/proto/android/section.proto",
977 ],
Colin Cross43214162018-08-20 13:57:24 -0700978 sdk_version: "current",
979 srcs: [
980 "core/proto/**/*.proto",
981 "libs/incident/proto/android/os/**/*.proto",
982 ],
983}
984
985// ==== java proto device library (for test only) ==============================
986java_library {
987 name: "platformprotoslite",
988 proto: {
989 type: "lite",
990 include_dirs: ["external/protobuf/src"],
991 },
992
993 srcs: [
994 "core/proto/**/*.proto",
995 "libs/incident/proto/android/os/**/*.proto",
996 ],
Joe Onorato99598ee2019-02-11 15:55:13 +0000997 exclude_srcs: [
998 "core/proto/android/privacy.proto",
999 "core/proto/android/section.proto",
1000 ],
Colin Cross43214162018-08-20 13:57:24 -07001001 // Protos have lots of MissingOverride and similar.
1002 errorprone: {
1003 javacflags: ["-XepDisableAllChecks"],
1004 },
1005}
1006
Colin Crossaa0d4352017-05-02 14:14:56 -07001007// ==== c++ proto device library ==============================
Joe Onorato99598ee2019-02-11 15:55:13 +00001008cc_defaults {
1009 name: "libplatformprotos-defaults",
1010
Colin Crossaa0d4352017-05-02 14:14:56 -07001011 proto: {
1012 export_proto_headers: true,
1013 include_dirs: ["external/protobuf/src"],
1014 },
1015
Chih-Hung Hsiehc7edf072017-10-03 09:57:55 -07001016 cflags: [
1017 "-Wall",
1018 "-Werror",
1019 "-Wno-unused-parameter",
1020 ],
Joe Onorato62c220b2017-11-18 20:32:56 -08001021
1022 srcs: [
1023 "core/proto/**/*.proto",
Joe Onorato62c220b2017-11-18 20:32:56 -08001024 ],
Joe Onorato99598ee2019-02-11 15:55:13 +00001025}
1026
1027cc_library {
1028 name: "libplatformprotos",
1029 defaults: ["libplatformprotos-defaults"],
1030 host_supported: true,
Joe Onorato62c220b2017-11-18 20:32:56 -08001031
Colin Crossaa0d4352017-05-02 14:14:56 -07001032 target: {
1033 host: {
1034 proto: {
1035 type: "full",
1036 },
1037 },
1038 android: {
1039 proto: {
1040 type: "lite",
1041 },
Joe Onorato99598ee2019-02-11 15:55:13 +00001042 shared_libs: [
1043 "libprotobuf-cpp-lite",
1044 ],
Colin Crossaa0d4352017-05-02 14:14:56 -07001045 shared: {
Colin Crossaa0d4352017-05-02 14:14:56 -07001046 enabled: false,
1047 },
1048 },
1049 },
Colin Crossaa0d4352017-05-02 14:14:56 -07001050}
1051
Joe Onorato9bd5db72019-04-03 18:19:43 -07001052// This library is meant for vendor code that needs to output protobuf. It links
1053// against the static version of libprotobuf-cpp-lite, for which we can not guarantee
1054// binary compatibility.
1055cc_library {
1056 name: "libplatformprotos-static",
1057 defaults: ["libplatformprotos-defaults"],
1058 host_supported: false,
1059
1060 // This is okay because this library is only built as a static library. The C++
1061 // API is not guaranteed. The proto API is guaranteed to be stable via Metrics Council,
1062 // but is not authorized to be used outside of debugging.
1063 vendor_available: true,
1064
1065 target: {
1066 android: {
1067 proto: {
1068 type: "lite",
1069 },
1070 static_libs: [
1071 "libprotobuf-cpp-lite",
1072 ],
1073 shared: {
1074 enabled: false,
1075 },
1076 },
1077 },
1078}
1079
1080
Joe Onorato99598ee2019-02-11 15:55:13 +00001081// This is the full proto version of libplatformprotos. It may only
1082// be used by test code that is not shipped on the device.
1083cc_library {
1084 name: "libplatformprotos-test",
1085 defaults: ["libplatformprotos-defaults"],
1086 host_supported: false,
1087
1088 target: {
1089 android: {
1090 proto: {
1091 type: "full",
1092 },
1093 shared: {
1094 enabled: false,
1095 },
1096 },
1097 },
1098}
1099
1100
Yi Jin04625ad2017-10-17 18:29:33 -07001101gensrcs {
1102 name: "gen-platform-proto-constants",
1103 depfile: true,
1104
1105 tools: [
1106 "aprotoc",
1107 "protoc-gen-cppstream",
1108 ],
1109
1110 srcs: [
Kweku Adamseadd1232018-02-05 16:45:13 -08001111 "core/proto/android/os/backtrace.proto",
Kweku Adams59e6fd72017-12-27 15:48:14 -08001112 "core/proto/android/os/batterytype.proto",
Yi Jin0eb22342017-11-06 17:17:27 -08001113 "core/proto/android/os/cpufreq.proto",
Yi Jine2f7f792017-11-01 17:08:27 -07001114 "core/proto/android/os/cpuinfo.proto",
Colin Crossbc2dc312018-10-26 22:34:06 -07001115 "core/proto/android/os/data.proto",
Yi Jin04625ad2017-10-17 18:29:33 -07001116 "core/proto/android/os/kernelwake.proto",
1117 "core/proto/android/os/pagetypeinfo.proto",
1118 "core/proto/android/os/procrank.proto",
Kweku Adamsf5cc5752017-12-20 17:59:17 -08001119 "core/proto/android/os/ps.proto",
Yi Jin0dfa7522017-11-06 17:43:47 -08001120 "core/proto/android/os/system_properties.proto",
Yi Jin3c034c92017-12-22 17:36:47 -08001121 "core/proto/android/util/event_log_tags.proto",
Colin Crossbc2dc312018-10-26 22:34:06 -07001122 "core/proto/android/util/log.proto",
Yi Jin04625ad2017-10-17 18:29:33 -07001123 ],
1124
1125 // Append protoc-gen-cppstream tool's PATH otherwise aprotoc can't find the plugin tool
Yi Jin3c034c92017-12-22 17:36:47 -08001126 cmd: "mkdir -p $(genDir) " +
1127 "&& $(location aprotoc) " +
1128 " --plugin=$(location protoc-gen-cppstream) " +
1129 " --dependency_out=$(depfile) " +
1130 " --cppstream_out=$(genDir) " +
1131 " -Iexternal/protobuf/src " +
1132 " -I . " +
1133 " $(in)",
Yi Jin04625ad2017-10-17 18:29:33 -07001134
Logan Chien71ddfea2018-02-27 16:43:50 +08001135 output_extension: "proto.h",
Yi Jin04625ad2017-10-17 18:29:33 -07001136}
1137
Joe Onorato99598ee2019-02-11 15:55:13 +00001138
Dan Albert2a8d9c22016-09-23 15:55:49 -07001139subdirs = [
Yi Jin0a3406f2017-06-22 19:23:11 -07001140 "cmds/*",
Jeff Sharkey0c686e72017-10-23 16:04:31 -06001141 "core/*",
Colin Cross4f8d9e62016-12-01 15:55:00 -08001142 "libs/*",
Colin Cross76de4f62017-05-15 18:10:40 -07001143 "media/*",
Colin Cross747e7c12017-10-24 16:21:22 -07001144 "proto",
Fabien Sanglard19160202017-01-12 14:24:31 -05001145 "tools/*",
Dan Albert2a8d9c22016-09-23 15:55:49 -07001146 "native/android",
Dan Albert7ce8df32016-09-23 16:43:49 -07001147 "native/graphics/jni",
Dan Albert2a8d9c22016-09-23 15:55:49 -07001148]
Svetoslav Ganov74c99832016-12-05 20:07:20 -08001149
1150optional_subdirs = [
1151 "core/tests/utiltests/jni",
1152]
Steven Morelandeddafe92017-10-02 16:58:41 -07001153
Colin Crossa2b78a72018-03-29 13:31:04 -07001154// TODO(b/77285514): remove this once the last few hidl interfaces have been
1155// updated to use hwbinder.stubs.
Steven Morelandeddafe92017-10-02 16:58:41 -07001156java_library {
1157 name: "hwbinder",
1158 no_framework_libs: true,
1159
1160 srcs: [
1161 "core/java/android/os/HidlSupport.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -08001162 "core/java/android/annotation/IntDef.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001163 "core/java/android/annotation/NonNull.java",
Steven Moreland0ff061a2019-03-04 17:56:30 -08001164 "core/java/android/annotation/Nullable.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -08001165 "core/java/android/annotation/SystemApi.java",
Steven Morelandcbba4c72019-01-11 10:19:51 -08001166 "core/java/android/annotation/TestApi.java",
Andrei Onea24ec3212019-03-15 17:35:05 +00001167 "core/java/android/annotation/UnsupportedAppUsage.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001168 "core/java/android/os/HwBinder.java",
1169 "core/java/android/os/HwBlob.java",
1170 "core/java/android/os/HwParcel.java",
1171 "core/java/android/os/IHwBinder.java",
1172 "core/java/android/os/IHwInterface.java",
1173 "core/java/android/os/DeadObjectException.java",
1174 "core/java/android/os/DeadSystemException.java",
Nirav Atre9850dd92018-07-24 17:03:44 -07001175 "core/java/android/os/NativeHandle.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001176 "core/java/android/os/RemoteException.java",
1177 "core/java/android/util/AndroidException.java",
1178 ],
1179
1180 dxflags: ["--core-library"],
1181 installable: false,
1182}
Nan Zhang2db709d2017-11-08 20:48:46 -08001183
1184python_defaults {
1185 name: "base_default",
1186 version: {
1187 py2: {
1188 enabled: true,
1189 embedded_launcher: true,
1190 },
1191 py3: {
1192 enabled: false,
1193 embedded_launcher: false,
1194 },
1195 },
1196}
1197
1198python_binary_host {
1199 name: "fontchain_linter",
1200 defaults: ["base_default"],
1201 main: "tools/fonts/fontchain_linter.py",
1202 srcs: [
1203 "tools/fonts/fontchain_linter.py",
1204 ],
1205 libs: [
1206 "fontTools",
1207 ],
1208}
Nan Zhang172875b2018-02-27 11:24:03 -08001209
1210// TODO: Don't rely on this list once droiddoc can take a list of packages to document
1211frameworks_base_subdirs = [
1212 "core/java",
1213 "graphics/java",
1214 "location/java",
1215 "media/java",
1216 "media/mca/effect/java",
1217 "media/mca/filterfw/java",
1218 "media/mca/filterpacks/java",
1219 "drm/java",
1220 "opengl/java",
1221 "sax/java",
1222 "telecomm/java",
1223 "telephony/java",
1224 "wifi/java",
1225 "lowpan/java",
1226 "keystore/java",
1227 "rs/java",
1228]
1229
1230packages_to_document = [
1231 "android",
1232 "javax/microedition/khronos",
1233 "org/apache/http/conn",
1234 "org/apache/http/params",
1235]
1236
Paul Duffin0440e1f2019-02-11 16:13:25 +00001237// Make the api/current.txt file available for use by modules in other
1238// directories.
1239filegroup {
1240 name: "frameworks-base-api-current.txt",
1241 srcs: [
1242 "api/current.txt",
1243 ],
1244}
1245
Nan Zhang7764a4b2018-08-22 11:27:31 -07001246framework_docs_only_args = " -android -manifest $(location core/res/AndroidManifest.xml) " +
Nan Zhangb03396e2018-10-11 18:06:10 -07001247 "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001248 "-overview $(location core/java/overview.html) " +
1249 // Federate Support Library references against local API file.
1250 "-federate SupportLib https://developer.android.com " +
Paul Duffincf2e9892019-02-11 15:40:28 +00001251 "-federationapi SupportLib $(location :current-support-api) "
Nan Zhang172875b2018-02-27 11:24:03 -08001252
Nan Zhang7764a4b2018-08-22 11:27:31 -07001253framework_docs_only_libs = [
Nan Zhang7764a4b2018-08-22 11:27:31 -07001254 "voip-common",
1255 "android.test.mock",
1256 "android-support-annotations",
1257 "android-support-compat",
1258 "android-support-core-ui",
1259 "android-support-core-utils",
1260 "android-support-customtabs",
1261 "android-support-design",
1262 "android-support-dynamic-animation",
1263 "android-support-exifinterface",
1264 "android-support-fragment",
1265 "android-support-media-compat",
1266 "android-support-percent",
1267 "android-support-recommendation",
1268 "android-support-transition",
1269 "android-support-tv-provider",
1270 "android-support-v7-cardview",
1271 "android-support-v7-gridlayout",
1272 "android-support-v7-mediarouter",
1273 "android-support-v7-palette",
1274 "android-support-v7-preference",
1275 "android-support-v13",
1276 "android-support-v14-preference",
1277 "android-support-v17-leanback",
1278 "android-support-v17-preference-leanback",
1279 "android-support-wear",
1280 "android-support-vectordrawable",
1281 "android-support-animatedvectordrawable",
1282 "android-support-v7-appcompat",
1283 "android-support-v7-recyclerview",
1284 "android-support-emoji",
1285 "android-support-emoji-appcompat",
1286 "android-support-emoji-bundled",
1287 "android-support-v8-renderscript",
1288 "android-support-multidex",
1289 "android-support-multidex-instrumentation",
1290]
1291
1292metalava_framework_docs_args = "--manifest $(location core/res/AndroidManifest.xml) " +
1293 "--hide-package com.android.okhttp " +
1294 "--hide-package com.android.org.conscrypt --hide-package com.android.server " +
Adrian Roosc6e2fc82018-12-12 15:08:44 +01001295 "--error UnhiddenSystemApi " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001296 "--hide RequiresPermission " +
1297 "--hide MissingPermission --hide BroadcastBehavior " +
1298 "--hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol " +
1299 "--hide SdkConstant --hide HiddenTypeParameter --hide Todo --hide Typo"
1300
1301stubs_defaults {
1302 name: "framework-doc-stubs-default",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001303 srcs: [
1304 "test-base/src/**/*.java",
1305 ":opt-telephony-srcs",
1306 ":opt-net-voip-srcs",
Neil Fuller3b1b7032019-02-26 12:00:38 +00001307 ":core_public_api_files",
Insun Kangd5fa8152019-01-24 17:08:10 +09001308 ":updatable-media-srcs-without-aidls",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001309 "test-mock/src/**/*.java",
1310 "test-runner/src/**/*.java",
1311 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001312 srcs_lib: "framework",
1313 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1314 srcs_lib_whitelist_pkgs: packages_to_document,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001315 libs: framework_docs_only_libs,
Nan Zhang3e15ba82018-07-26 18:41:12 +00001316 local_sourcepaths: frameworks_base_subdirs,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001317 create_doc_stubs: true,
1318 annotations_enabled: true,
1319 api_levels_annotations_enabled: true,
1320 api_levels_annotations_dirs: [
1321 "sdk-dir",
1322 "api-versions-jars-dir",
1323 ],
1324 previous_api: ":last-released-public-api",
1325 merge_annotations_dirs: [
1326 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001327 "ojluni-annotated-sdk-stubs",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001328 ],
1329}
1330
1331doc_defaults {
1332 name: "framework-docs-default",
Nan Zhangb03396e2018-10-11 18:06:10 -07001333 libs: framework_docs_only_libs +
1334 ["stub-annotations"],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001335 html_dirs: [
1336 "docs/html",
1337 ],
1338 knowntags: [
1339 "docs/knowntags.txt",
1340 ":known-oj-tags",
1341 ],
1342 custom_template: "droiddoc-templates-sdk",
1343 resourcesdir: "docs/html/reference/images/",
1344 resourcesoutdir: "reference/android/images/",
1345 hdf: [
1346 "dac true",
1347 "sdk.codename O",
1348 "sdk.preview.version 1",
1349 "sdk.version 7.0",
1350 "sdk.rel.id 1",
1351 "sdk.preview 0",
1352 ],
1353 arg_files: [
1354 "core/res/AndroidManifest.xml",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001355 "core/java/overview.html",
1356 ":current-support-api",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001357 ],
1358 create_stubs: false,
1359}
1360
Nan Zhang894c9ec2018-09-10 18:58:39 -07001361stubs_defaults {
Nan Zhangd25ad462018-08-22 10:48:15 -07001362 name: "metalava-api-stubs-default",
1363 srcs: [
1364 ":opt-telephony-srcs",
1365 ":opt-net-voip-srcs",
Neil Fuller3b1b7032019-02-26 12:00:38 +00001366 ":core_public_api_files",
Insun Kangd5fa8152019-01-24 17:08:10 +09001367 ":updatable-media-srcs-without-aidls",
Nan Zhangd25ad462018-08-22 10:48:15 -07001368 ],
1369 srcs_lib: "framework",
1370 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1371 srcs_lib_whitelist_pkgs: packages_to_document,
1372 libs: [
Nan Zhangd25ad462018-08-22 10:48:15 -07001373 "ext",
1374 "framework",
1375 "voip-common",
Nan Zhangd25ad462018-08-22 10:48:15 -07001376 ],
1377 local_sourcepaths: frameworks_base_subdirs,
1378 installable: false,
Nan Zhang894c9ec2018-09-10 18:58:39 -07001379 annotations_enabled: true,
1380 previous_api: ":last-released-public-api",
1381 merge_annotations_dirs: [
Nan Zhangd25ad462018-08-22 10:48:15 -07001382 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001383 "ojluni-annotated-sdk-stubs",
Nan Zhangd25ad462018-08-22 10:48:15 -07001384 ],
Nan Zhang91cc7662018-09-18 10:46:10 -07001385 api_levels_annotations_enabled: true,
1386 api_levels_annotations_dirs: [
1387 "sdk-dir",
1388 "api-versions-jars-dir",
1389 ],
Nan Zhangd25ad462018-08-22 10:48:15 -07001390}
1391
Nan Zhang7764a4b2018-08-22 11:27:31 -07001392droidstubs {
1393 name: "framework-doc-stubs",
1394 defaults: ["framework-doc-stubs-default"],
1395 arg_files: [
1396 "core/res/AndroidManifest.xml",
1397 ],
1398 args: metalava_framework_docs_args,
1399}
1400
1401droidstubs {
1402 name: "framework-doc-system-stubs",
1403 defaults: ["framework-doc-stubs-default"],
1404 arg_files: [
1405 "core/res/AndroidManifest.xml",
1406 ],
1407 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi ",
1408}
1409
Nan Zhang3e15ba82018-07-26 18:41:12 +00001410droiddoc {
1411 name: "doc-comment-check-docs",
1412 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001413 srcs: [
1414 ":framework-doc-stubs",
1415 ],
1416 args: framework_docs_only_args + " -referenceonly -parsecomments",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001417 installable: false,
1418}
1419
1420droiddoc {
1421 name: "offline-sdk-docs",
1422 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001423 srcs: [
1424 ":framework-doc-stubs",
1425 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001426 hdf: [
1427 "android.whichdoc offline",
1428 ],
1429 proofread_file: "offline-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001430 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\"",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001431 write_sdk_values: true,
1432 static_doc_index_redirect: "docs/docs-preview-index.html",
1433}
1434
1435droiddoc {
Nan Zhang963612b2018-09-21 17:16:49 -07001436 // Please sync with android-api-council@ before making any changes for the name property below.
1437 // Since there's cron jobs that fetch offline-sdk-referenceonly-docs-docs.zip periodically.
1438 // See b/116221385 for reference.
Nan Zhang3e15ba82018-07-26 18:41:12 +00001439 name: "offline-sdk-referenceonly-docs",
1440 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001441 srcs: [
1442 ":framework-doc-stubs",
1443 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001444 hdf: [
1445 "android.whichdoc offline",
1446 ],
1447 proofread_file: "offline-sdk-referenceonly-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001448 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\" -referenceonly",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001449 write_sdk_values: true,
1450 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
1451 static_doc_properties: "docs/source.properties",
1452}
1453
1454droiddoc {
Nan Zhang963612b2018-09-21 17:16:49 -07001455 // Please sync with android-api-council@ before making any changes for the name property below.
1456 // Since there's cron jobs that fetch offline-system-sdk-referenceonly-docs-docs.zip periodically.
1457 // See b/116221385 for reference.
Nan Zhang3e15ba82018-07-26 18:41:12 +00001458 name: "offline-system-sdk-referenceonly-docs",
1459 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001460 srcs: [
1461 ":framework-doc-system-stubs",
1462 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001463 hdf: [
1464 "android.whichdoc offline",
1465 ],
1466 proofread_file: "offline-system-sdk-referenceonly-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001467 args: framework_docs_only_args + " -hide 101 -hide 104 -hide 108" +
1468 " -offlinemode -title \"Android System SDK\" -referenceonly",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001469 write_sdk_values: true,
1470 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
1471 static_doc_properties: "docs/source.properties",
1472}
1473
1474droiddoc {
1475 name: "online-sdk-docs",
1476 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001477 srcs: [
1478 ":framework-doc-stubs",
1479 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001480 hdf: [
1481 "android.whichdoc online",
1482 "android.hasSamples true",
1483 ],
1484 proofread_file: "online-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001485 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001486 " -toroot / -samplegroup Admin " +
1487 " -samplegroup Background " +
1488 " -samplegroup Connectivity " +
1489 " -samplegroup Content " +
1490 " -samplegroup Input " +
1491 " -samplegroup Media " +
1492 " -samplegroup Notification " +
1493 " -samplegroup RenderScript " +
1494 " -samplegroup Security " +
1495 " -samplegroup Sensors " +
1496 " -samplegroup System " +
1497 " -samplegroup Testing " +
1498 " -samplegroup UI " +
1499 " -samplegroup Views " +
1500 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1501}
1502
1503droiddoc {
1504 name: "online-system-api-sdk-docs",
1505 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001506 srcs: [
1507 ":framework-doc-system-stubs",
1508 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001509 hdf: [
1510 "android.whichdoc online",
1511 "android.hasSamples true",
1512 ],
1513 proofread_file: "online-system-api-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001514 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001515 " -referenceonly " +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001516 " -title \"Android SDK - Including system APIs.\" " +
1517 " -hide 101 " +
1518 " -hide 104 " +
1519 " -hide 108 " +
1520 " -toroot / -samplegroup Admin " +
1521 " -samplegroup Background " +
1522 " -samplegroup Connectivity " +
1523 " -samplegroup Content " +
1524 " -samplegroup Input " +
1525 " -samplegroup Media " +
1526 " -samplegroup Notification " +
1527 " -samplegroup RenderScript " +
1528 " -samplegroup Security " +
1529 " -samplegroup Sensors " +
1530 " -samplegroup System " +
1531 " -samplegroup Testing " +
1532 " -samplegroup UI " +
1533 " -samplegroup Views " +
1534 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1535 installable: false,
1536}
1537
1538droiddoc {
1539 name: "ds-docs",
1540 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001541 srcs: [
1542 ":framework-doc-stubs",
1543 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001544 hdf: [
1545 "android.whichdoc online",
1546 "android.hasSamples true",
1547 ],
1548 proofread_file: "ds-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001549 args: framework_docs_only_args +
Dirk Dougherty14b05b12019-02-22 20:36:41 -08001550 " -toroot / -yamlV2 -metalavaApiSince -samplegroup Admin " +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001551 " -samplegroup Background " +
1552 " -samplegroup Connectivity " +
1553 " -samplegroup Content " +
1554 " -samplegroup Input " +
1555 " -samplegroup Media " +
1556 " -samplegroup Notification " +
1557 " -samplegroup RenderScript " +
1558 " -samplegroup Security " +
1559 " -samplegroup Sensors " +
1560 " -samplegroup System " +
1561 " -samplegroup Testing " +
1562 " -samplegroup UI " +
1563 " -samplegroup Views " +
1564 " -samplegroup Wearable -devsite -samplesdir development/samples/browseable ",
1565}
1566
1567droiddoc {
1568 name: "ds-static-docs",
1569 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001570 srcs: [
1571 ":framework-doc-stubs",
1572 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001573 hdf: [
1574 "android.whichdoc online",
1575 ],
1576 proofread_file: "ds-static-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001577 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001578 " -staticonly " +
1579 " -toroot / " +
1580 " -devsite " +
1581 " -ignoreJdLinks ",
1582}
1583
1584droiddoc {
1585 name: "ds-ref-navtree-docs",
1586 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001587 srcs: [
1588 ":framework-doc-stubs",
1589 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001590 hdf: [
1591 "android.whichdoc online",
1592 ],
1593 proofread_file: "ds-ref-navtree-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001594 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001595 " -toroot / " +
1596 " -atLinksNavtree " +
1597 " -navtreeonly ",
1598}
1599
1600droiddoc {
1601 name: "online-sdk-dev-docs",
1602 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001603 srcs: [
1604 ":framework-doc-stubs",
1605 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001606 hdf: [
1607 "android.whichdoc online",
1608 "android.hasSamples true",
1609 ],
1610 proofread_file: "online-sdk-dev-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001611 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001612 " -toroot / -samplegroup Admin " +
1613 " -samplegroup Background " +
1614 " -samplegroup Connectivity " +
1615 " -samplegroup Content " +
1616 " -samplegroup Input " +
1617 " -samplegroup Media " +
1618 " -samplegroup Notification " +
1619 " -samplegroup RenderScript " +
1620 " -samplegroup Security " +
1621 " -samplegroup Sensors " +
1622 " -samplegroup System " +
1623 " -samplegroup Testing " +
1624 " -samplegroup UI " +
1625 " -samplegroup Views " +
1626 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1627}
1628
1629droiddoc {
1630 name: "hidden-docs",
1631 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001632 srcs: [
1633 ":framework-doc-stubs",
1634 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001635 proofread_file: "hidden-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001636 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001637 " -referenceonly " +
1638 " -title \"Android SDK - Including hidden APIs.\"",
1639}
1640
Nan Zhang7764a4b2018-08-22 11:27:31 -07001641droidstubs {
Colin Crossa2b78a72018-03-29 13:31:04 -07001642 name: "hwbinder-stubs-docs",
1643 srcs: [
1644 "core/java/android/os/HidlSupport.java",
1645 "core/java/android/annotation/IntDef.java",
1646 "core/java/android/annotation/NonNull.java",
1647 "core/java/android/annotation/SystemApi.java",
1648 "core/java/android/os/HwBinder.java",
1649 "core/java/android/os/HwBlob.java",
1650 "core/java/android/os/HwParcel.java",
1651 "core/java/android/os/IHwBinder.java",
1652 "core/java/android/os/IHwInterface.java",
1653 "core/java/android/os/DeadObjectException.java",
1654 "core/java/android/os/DeadSystemException.java",
Nirav Atre9850dd92018-07-24 17:03:44 -07001655 "core/java/android/os/NativeHandle.java",
Colin Crossa2b78a72018-03-29 13:31:04 -07001656 "core/java/android/os/RemoteException.java",
1657 "core/java/android/util/AndroidException.java",
1658 ],
Colin Crossa2b78a72018-03-29 13:31:04 -07001659 installable: false,
1660 no_framework_libs: true,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001661 annotations_enabled: true,
1662 previous_api: ":last-released-public-api",
1663 merge_annotations_dirs: [
1664 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001665 "ojluni-annotated-sdk-stubs",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001666 ],
1667 args: " --show-annotation android.annotation.SystemApi",
Colin Crossa2b78a72018-03-29 13:31:04 -07001668}
1669
1670java_library_static {
1671 name: "hwbinder.stubs",
1672 sdk_version: "core_current",
1673 srcs: [
1674 ":hwbinder-stubs-docs",
1675 ],
1676}
Nan Zhanga0f91af2018-04-09 17:41:51 -07001677
Nan Zhang894c9ec2018-09-10 18:58:39 -07001678droidstubs {
Nan Zhangd25ad462018-08-22 10:48:15 -07001679 name: "hiddenapi-lists-docs",
1680 defaults: ["metalava-api-stubs-default"],
David Brazdil4f9d4d52018-04-26 14:05:13 +01001681 arg_files: [
1682 "core/res/AndroidManifest.xml",
David Brazdil4f9d4d52018-04-26 14:05:13 +01001683 ],
David Brazdil6f6a1262018-05-31 13:58:41 +01001684 dex_api_filename: "public-dex.txt",
David Brazdil4f9d4d52018-04-26 14:05:13 +01001685 private_dex_api_filename: "private-dex.txt",
1686 removed_dex_api_filename: "removed-dex.txt",
Nan Zhangd25ad462018-08-22 10:48:15 -07001687 args: metalava_framework_docs_args +
1688 " --show-unannotated " +
1689 " --show-annotation android.annotation.SystemApi " +
1690 " --show-annotation android.annotation.TestApi "
David Brazdil4f9d4d52018-04-26 14:05:13 +01001691}
1692
Nan Zhangd25ad462018-08-22 10:48:15 -07001693
Nan Zhang7764a4b2018-08-22 11:27:31 -07001694droidstubs {
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001695 name: "hiddenapi-mappings",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001696 defaults: ["metalava-api-stubs-default"],
Paul Duffina0cb5382018-10-31 10:34:51 +00001697 srcs: [
1698 ":openjdk_java_files",
1699 ":non_openjdk_java_files",
Andrei Onea6dd843a2019-03-13 15:27:23 +00001700 ":opt-telephony-common-srcs",
Andrei Onea77b22e32019-03-22 14:56:51 +00001701 "core/java/**/*.java",
Paul Duffina0cb5382018-10-31 10:34:51 +00001702 ],
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001703 arg_files: [
1704 "core/res/AndroidManifest.xml",
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001705 ],
1706 dex_mapping_filename: "dex-mapping.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001707 args: metalava_framework_docs_args +
Adrian Roos9bdbd302018-12-07 13:53:40 +01001708 " --hide ReferencesHidden " +
Adrian Roosc6e2fc82018-12-12 15:08:44 +01001709 " --hide UnhiddenSystemApi " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001710 " --show-unannotated " +
1711 " --show-annotation android.annotation.SystemApi " +
1712 " --show-annotation android.annotation.TestApi "
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001713}
1714
Nan Zhanga0f91af2018-04-09 17:41:51 -07001715filegroup {
1716 name: "apache-http-stubs-sources",
1717 srcs: [
1718 "core/java/org/apache/http/conn/ConnectTimeoutException.java",
1719 "core/java/org/apache/http/conn/scheme/HostNameResolver.java",
1720 "core/java/org/apache/http/conn/scheme/LayeredSocketFactory.java",
1721 "core/java/org/apache/http/conn/scheme/SocketFactory.java",
1722 "core/java/org/apache/http/conn/ssl/AbstractVerifier.java",
1723 "core/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java",
1724 "core/java/org/apache/http/conn/ssl/AndroidDistinguishedNameParser.java",
1725 "core/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java",
1726 "core/java/org/apache/http/conn/ssl/SSLSocketFactory.java",
1727 "core/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java",
1728 "core/java/org/apache/http/conn/ssl/X509HostnameVerifier.java",
1729 "core/java/org/apache/http/params/CoreConnectionPNames.java",
1730 "core/java/org/apache/http/params/HttpConnectionParams.java",
1731 "core/java/org/apache/http/params/HttpParams.java",
Nan Zhanga0f91af2018-04-09 17:41:51 -07001732 "core/java/android/net/http/SslCertificate.java",
1733 "core/java/android/net/http/SslError.java",
1734 "core/java/com/android/internal/util/HexDump.java",
1735 ],
1736}
Nan Zhang4212eb12018-04-25 17:23:33 -07001737
Nan Zhang894c9ec2018-09-10 18:58:39 -07001738droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001739 name: "api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001740 defaults: ["metalava-api-stubs-default"],
Nan Zhang4212eb12018-04-25 17:23:33 -07001741 api_filename: "public_api.txt",
1742 private_api_filename: "private.txt",
1743 removed_api_filename: "removed.txt",
1744 arg_files: [
1745 "core/res/AndroidManifest.xml",
1746 ],
1747 args: metalava_framework_docs_args,
Nan Zhange5612602018-08-16 16:16:00 -07001748 check_api: {
1749 current: {
1750 api_file: "api/current.txt",
1751 removed_api_file: "api/removed.txt",
1752 },
Nan Zhangcd060d92018-08-20 20:34:26 -07001753 last_released: {
1754 api_file: ":last-released-public-api",
1755 removed_api_file: "api/removed.txt",
1756 },
Nan Zhange5612602018-08-16 16:16:00 -07001757 },
Nan Zhang81f29f52018-09-17 14:33:08 -07001758 jdiff_enabled: true,
Nan Zhang4212eb12018-04-25 17:23:33 -07001759}
1760
Nan Zhang894c9ec2018-09-10 18:58:39 -07001761droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001762 name: "system-api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001763 defaults: ["metalava-api-stubs-default"],
Nan Zhang4d3f5012018-08-07 13:40:33 -07001764 api_tag_name: "SYSTEM",
Nan Zhang4212eb12018-04-25 17:23:33 -07001765 api_filename: "system-api.txt",
1766 private_api_filename: "system-private.txt",
1767 private_dex_api_filename: "system-private-dex.txt",
1768 removed_api_filename: "system-removed.txt",
1769 arg_files: [
1770 "core/res/AndroidManifest.xml",
1771 ],
1772 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi",
Nan Zhange5612602018-08-16 16:16:00 -07001773 check_api: {
1774 current: {
1775 api_file: "api/system-current.txt",
1776 removed_api_file: "api/system-removed.txt",
1777 },
Nan Zhangcd060d92018-08-20 20:34:26 -07001778 last_released: {
1779 api_file: ":last-released-system-api",
1780 removed_api_file: "api/system-removed.txt",
1781 },
Nan Zhange5612602018-08-16 16:16:00 -07001782 },
Nan Zhang81f29f52018-09-17 14:33:08 -07001783 jdiff_enabled: true,
Nan Zhang4212eb12018-04-25 17:23:33 -07001784}
1785
Nan Zhang894c9ec2018-09-10 18:58:39 -07001786droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001787 name: "test-api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001788 defaults: ["metalava-api-stubs-default"],
Nan Zhang4d3f5012018-08-07 13:40:33 -07001789 api_tag_name: "TEST",
Nan Zhang4212eb12018-04-25 17:23:33 -07001790 api_filename: "test-api.txt",
1791 removed_api_filename: "test-removed.txt",
1792 arg_files: [
1793 "core/res/AndroidManifest.xml",
1794 ],
1795 args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi",
Nan Zhange5612602018-08-16 16:16:00 -07001796 check_api: {
1797 current: {
1798 api_file: "api/test-current.txt",
1799 removed_api_file: "api/test-removed.txt",
1800 },
1801 },
Nan Zhang4212eb12018-04-25 17:23:33 -07001802}
Nan Zhangaf251302018-08-30 10:59:51 -07001803
1804filegroup {
1805 name: "framework-annotation-nonnull-srcs",
1806 srcs: [
1807 "core/java/android/annotation/NonNull.java",
1808 ],
1809}
Insun Kang06b25ae2018-11-20 10:05:44 +09001810
1811filegroup {
1812 name: "framework-media-annotation-srcs",
1813 srcs: [
1814 "core/java/android/annotation/CallbackExecutor.java",
Insun Kangf86a56c2019-01-22 17:16:07 +09001815 "core/java/android/annotation/CallSuper.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001816 "core/java/android/annotation/DrawableRes.java",
1817 "core/java/android/annotation/IntDef.java",
1818 "core/java/android/annotation/LongDef.java",
1819 "core/java/android/annotation/NonNull.java",
1820 "core/java/android/annotation/Nullable.java",
1821 "core/java/android/annotation/RequiresPermission.java",
1822 "core/java/android/annotation/SdkConstant.java",
1823 "core/java/android/annotation/StringDef.java",
Sungsoo Limbb3b4012019-01-23 13:17:53 +09001824 "core/java/android/annotation/SystemApi.java",
Dongwon Kang3584c662018-11-27 11:14:08 -08001825 "core/java/android/annotation/TestApi.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001826 "core/java/android/annotation/UnsupportedAppUsage.java",
Dongwon Kang3584c662018-11-27 11:14:08 -08001827 "core/java/com/android/internal/annotations/GuardedBy.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001828 ],
1829}
1830
Andrei Onea7a2985c2019-02-18 15:28:35 +00001831// Creates an index of AIDL methods; used for adding UnsupportedAppUsage
1832// annotations to private apis
1833aidl_mapping {
1834 name: "framework-aidl-mappings",
1835 srcs: [":framework-defaults"],
1836 output: "framework-aidl-mappings.txt"
Kyunglyul Hyuna1c79902019-04-09 17:00:51 +09001837}