blob: e19ca846554864577c07f2e7cc64c9dd8a094656 [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",
Hyundo Moon14ca1422019-01-28 15:43:24 +090052 // TODO: Resolve circular library dependency and remove media1-srcs
Sungsoo Limbb3b4012019-01-23 13:17:53 +090053 ":media1-srcs",
Colin Crosscf3a0b52017-11-16 00:15:28 -080054
55 "core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl",
56 "core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl",
57 "core/java/android/accounts/IAccountManager.aidl",
58 "core/java/android/accounts/IAccountManagerResponse.aidl",
59 "core/java/android/accounts/IAccountAuthenticator.aidl",
60 "core/java/android/accounts/IAccountAuthenticatorResponse.aidl",
61 "core/java/android/app/IActivityController.aidl",
62 "core/java/android/app/IActivityManager.aidl",
63 "core/java/android/app/IActivityPendingResult.aidl",
Wale Ogunwale65ebd952018-04-25 15:41:44 -070064 "core/java/android/app/IActivityTaskManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -080065 "core/java/android/app/IAlarmCompleteListener.aidl",
66 "core/java/android/app/IAlarmListener.aidl",
67 "core/java/android/app/IAlarmManager.aidl",
68 "core/java/android/app/IAppTask.aidl",
69 "core/java/android/app/IApplicationThread.aidl",
70 "core/java/android/app/IAssistDataReceiver.aidl",
71 "core/java/android/app/ITaskStackListener.aidl",
72 "core/java/android/app/IBackupAgent.aidl",
73 "core/java/android/app/IEphemeralResolver.aidl",
74 "core/java/android/app/IInputForwarder.aidl",
75 "core/java/android/app/IInstantAppResolver.aidl",
76 "core/java/android/app/IInstrumentationWatcher.aidl",
77 "core/java/android/app/INotificationManager.aidl",
78 "core/java/android/app/IProcessObserver.aidl",
79 "core/java/android/app/ISearchManager.aidl",
80 "core/java/android/app/ISearchManagerCallback.aidl",
81 "core/java/android/app/IServiceConnection.aidl",
Makoto Onukidf7e4812018-09-24 14:31:25 -070082 "core/java/android/app/ISmsAppService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -080083 "core/java/android/app/IStopUserCallback.aidl",
84 "core/java/android/app/job/IJobCallback.aidl",
85 "core/java/android/app/job/IJobScheduler.aidl",
86 "core/java/android/app/job/IJobService.aidl",
87 "core/java/android/app/ITransientNotification.aidl",
88 "core/java/android/app/IUidObserver.aidl",
89 "core/java/android/app/IUiAutomationConnection.aidl",
90 "core/java/android/app/IUiModeManager.aidl",
Wale Ogunwale6d50dcc2018-07-21 23:00:40 -070091 "core/java/android/app/IUriGrantsManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -080092 "core/java/android/app/IUserSwitchObserver.aidl",
93 "core/java/android/app/IWallpaperManager.aidl",
94 "core/java/android/app/IWallpaperManagerCallback.aidl",
95 "core/java/android/app/admin/IDeviceAdminService.aidl",
96 "core/java/android/app/admin/IDevicePolicyManager.aidl",
Neda Topoljanac19f29162018-10-22 18:12:16 +010097 "core/java/android/app/admin/StartInstallingUpdateCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -080098 "core/java/android/app/trust/IStrongAuthTracker.aidl",
99 "core/java/android/app/trust/ITrustManager.aidl",
100 "core/java/android/app/trust/ITrustListener.aidl",
Bernardo Rufino2d87f452018-06-22 11:47:49 +0100101 "core/java/android/app/backup/IBackupCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800102 "core/java/android/app/backup/IBackupManager.aidl",
103 "core/java/android/app/backup/IBackupObserver.aidl",
104 "core/java/android/app/backup/IBackupManagerMonitor.aidl",
105 "core/java/android/app/backup/IFullBackupRestoreObserver.aidl",
106 "core/java/android/app/backup/IRestoreObserver.aidl",
107 "core/java/android/app/backup/IRestoreSession.aidl",
108 "core/java/android/app/backup/ISelectBackupTransportCallback.aidl",
Winson Chung3fb0f252019-01-08 17:41:55 -0800109 "core/java/android/app/contentsuggestions/IClassificationsCallback.aidl",
110 "core/java/android/app/contentsuggestions/IContentSuggestionsManager.aidl",
111 "core/java/android/app/contentsuggestions/ISelectionsCallback.aidl",
Sunny Goyal54e91342018-11-14 11:59:02 -0800112 "core/java/android/app/prediction/IPredictionCallback.aidl",
113 "core/java/android/app/prediction/IPredictionManager.aidl",
Hai Zhang31d06ba2018-12-06 18:14:42 -0800114 "core/java/android/app/role/IOnRoleHoldersChangedListener.aidl",
Hai Zhangb7776682018-09-25 15:10:57 -0700115 "core/java/android/app/role/IRoleManager.aidl",
116 "core/java/android/app/role/IRoleManagerCallback.aidl",
Jason Monk8f5f7ff2017-10-17 14:12:42 -0400117 "core/java/android/app/slice/ISliceManager.aidl",
Jason Monk74f5e362017-12-06 08:56:33 -0500118 "core/java/android/app/slice/ISliceListener.aidl",
Neil Fullerfeeee682018-05-30 14:35:24 +0100119 "core/java/android/app/timedetector/ITimeDetectorService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800120 "core/java/android/app/timezone/ICallback.aidl",
121 "core/java/android/app/timezone/IRulesManager.aidl",
Neil Fuller7fb88c32018-06-19 12:53:47 +0100122 "core/java/android/app/timezonedetector/ITimeZoneDetectorService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800123 "core/java/android/app/usage/ICacheQuotaService.aidl",
124 "core/java/android/app/usage/IStorageStatsManager.aidl",
125 "core/java/android/app/usage/IUsageStatsManager.aidl",
126 ":libbluetooth-binder-aidl",
127 "core/java/android/content/IClipboard.aidl",
128 "core/java/android/content/IContentService.aidl",
129 "core/java/android/content/IIntentReceiver.aidl",
130 "core/java/android/content/IIntentSender.aidl",
131 "core/java/android/content/IOnPrimaryClipChangedListener.aidl",
132 "core/java/android/content/IRestrictionsManager.aidl",
133 "core/java/android/content/ISyncAdapter.aidl",
Philip P. Moltmann486b2412018-01-03 11:29:01 -0800134 "core/java/android/content/ISyncAdapterUnsyncableAccountCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800135 "core/java/android/content/ISyncContext.aidl",
136 "core/java/android/content/ISyncServiceAdapter.aidl",
137 "core/java/android/content/ISyncStatusObserver.aidl",
138 "core/java/android/content/om/IOverlayManager.aidl",
Tony Makb0d22622018-01-18 12:49:49 +0000139 "core/java/android/content/pm/ICrossProfileApps.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800140 "core/java/android/content/pm/IDexModuleRegisterCallback.aidl",
141 "core/java/android/content/pm/ILauncherApps.aidl",
142 "core/java/android/content/pm/IOnAppsChangedListener.aidl",
143 "core/java/android/content/pm/IOnPermissionsChangeListener.aidl",
144 "core/java/android/content/pm/IOtaDexopt.aidl",
145 "core/java/android/content/pm/IPackageDataObserver.aidl",
146 "core/java/android/content/pm/IPackageDeleteObserver.aidl",
147 "core/java/android/content/pm/IPackageDeleteObserver2.aidl",
148 "core/java/android/content/pm/IPackageInstallObserver2.aidl",
149 "core/java/android/content/pm/IPackageInstaller.aidl",
150 "core/java/android/content/pm/IPackageInstallerCallback.aidl",
151 "core/java/android/content/pm/IPackageInstallerSession.aidl",
152 "core/java/android/content/pm/IPackageManager.aidl",
153 ":libbinder_aidl",
154 "core/java/android/content/pm/IPackageMoveObserver.aidl",
155 "core/java/android/content/pm/IPackageStatsObserver.aidl",
156 "core/java/android/content/pm/IPinItemRequest.aidl",
157 "core/java/android/content/pm/IShortcutService.aidl",
Calin Juravle45f8b292017-11-07 18:49:43 -0800158 "core/java/android/content/pm/dex/IArtManager.aidl",
159 "core/java/android/content/pm/dex/ISnapshotRuntimeProfileCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800160 "core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl",
Richard Uhlerb29f1452018-09-12 16:38:15 +0100161 "core/java/android/content/rollback/IRollbackManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800162 "core/java/android/database/IContentObserver.aidl",
Kenny Rootf74bfde2018-01-18 15:42:48 -0800163 "core/java/android/debug/IAdbManager.aidl",
Kenny Root61fd3602018-01-19 09:01:46 -0500164 "core/java/android/debug/IAdbTransport.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800165 ":libcamera_client_aidl",
166 ":libcamera_client_framework_aidl",
167 "core/java/android/hardware/IConsumerIrService.aidl",
168 "core/java/android/hardware/ISerialManager.aidl",
Kevin Chynb7b54a62018-09-28 18:48:12 -0700169 "core/java/android/hardware/biometrics/IBiometricEnabledOnKeyguardCallback.aidl",
Kevin Chyn352adfe2018-09-20 22:28:50 -0700170 "core/java/android/hardware/biometrics/IBiometricService.aidl",
171 "core/java/android/hardware/biometrics/IBiometricServiceReceiver.aidl",
Kevin Chyn23289ef2018-11-28 16:32:36 -0800172 "core/java/android/hardware/biometrics/IBiometricServiceReceiverInternal.aidl",
Kevin Chyna56dff72018-06-19 18:41:12 -0700173 "core/java/android/hardware/biometrics/IBiometricServiceLockoutResetCallback.aidl",
Christine Franks39b03112018-07-03 14:46:07 -0700174 "core/java/android/hardware/display/IColorDisplayManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800175 "core/java/android/hardware/display/IDisplayManager.aidl",
176 "core/java/android/hardware/display/IDisplayManagerCallback.aidl",
177 "core/java/android/hardware/display/IVirtualDisplayCallback.aidl",
Kevin Chynaae4a152018-01-18 11:48:09 -0800178 "core/java/android/hardware/fingerprint/IFingerprintClientActiveCallback.aidl",
Gilad Brettercb51b8b2018-03-22 17:04:51 +0200179 "core/java/android/hardware/face/IFaceService.aidl",
Gilad Brettercb51b8b2018-03-22 17:04:51 +0200180 "core/java/android/hardware/face/IFaceServiceReceiver.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800181 "core/java/android/hardware/fingerprint/IFingerprintService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800182 "core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl",
183 "core/java/android/hardware/hdmi/IHdmiControlCallback.aidl",
184 "core/java/android/hardware/hdmi/IHdmiControlService.aidl",
185 "core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl",
186 "core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl",
187 "core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl",
188 "core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl",
189 "core/java/android/hardware/hdmi/IHdmiRecordListener.aidl",
190 "core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl",
191 "core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl",
192 "core/java/android/hardware/input/IInputManager.aidl",
193 "core/java/android/hardware/input/IInputDevicesChangedListener.aidl",
194 "core/java/android/hardware/input/ITabletModeChangedListener.aidl",
Kevin Chyn51676d22018-11-05 18:00:43 -0800195 "core/java/android/hardware/iris/IIrisService.aidl",
Brian Duddiecfa5b5b2019-01-22 18:01:40 +0000196 "core/java/android/hardware/location/IActivityRecognitionHardware.aidl",
197 "core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl",
198 "core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl",
199 "core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800200 "core/java/android/hardware/location/IGeofenceHardware.aidl",
201 "core/java/android/hardware/location/IGeofenceHardwareCallback.aidl",
202 "core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl",
203 "core/java/android/hardware/location/IContextHubCallback.aidl",
204 "core/java/android/hardware/location/IContextHubClient.aidl",
205 "core/java/android/hardware/location/IContextHubClientCallback.aidl",
206 "core/java/android/hardware/location/IContextHubService.aidl",
207 "core/java/android/hardware/location/IContextHubTransactionCallback.aidl",
Tomasz Wasilczykf151a7b2018-01-11 16:03:46 -0800208 "core/java/android/hardware/radio/IAnnouncementListener.aidl",
209 "core/java/android/hardware/radio/ICloseHandle.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800210 "core/java/android/hardware/radio/IRadioService.aidl",
211 "core/java/android/hardware/radio/ITuner.aidl",
212 "core/java/android/hardware/radio/ITunerCallback.aidl",
213 "core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl",
214 "core/java/android/hardware/usb/IUsbManager.aidl",
Philip P. Moltmanna2c6eea2018-08-24 09:50:40 -0700215 "core/java/android/hardware/usb/IUsbSerialReader.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800216 "core/java/android/net/IConnectivityManager.aidl",
Chad Brubaker90f391f2018-10-19 10:26:19 -0700217 "core/java/android/hardware/ISensorPrivacyListener.aidl",
218 "core/java/android/hardware/ISensorPrivacyManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800219 "core/java/android/net/IIpConnectivityMetrics.aidl",
220 "core/java/android/net/IEthernetManager.aidl",
221 "core/java/android/net/IEthernetServiceListener.aidl",
222 "core/java/android/net/INetdEventCallback.aidl",
223 "core/java/android/net/IIpSecService.aidl",
224 "core/java/android/net/INetworkManagementEventObserver.aidl",
225 "core/java/android/net/INetworkPolicyListener.aidl",
226 "core/java/android/net/INetworkPolicyManager.aidl",
227 "core/java/android/net/INetworkRecommendationProvider.aidl",
228 "core/java/android/net/INetworkScoreCache.aidl",
229 "core/java/android/net/INetworkScoreService.aidl",
230 "core/java/android/net/INetworkStatsService.aidl",
231 "core/java/android/net/INetworkStatsSession.aidl",
232 "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",
275 "core/java/android/os/storage/IStorageManager.aidl",
276 "core/java/android/os/storage/IStorageEventListener.aidl",
277 "core/java/android/os/storage/IStorageShutdownObserver.aidl",
278 "core/java/android/os/storage/IObbActionListener.aidl",
Philip P. Moltmannbc054d82018-12-21 09:41:58 -0800279 "core/java/android/permission/IPermissionController.aidl",
Hai Zhangb7776682018-09-25 15:10:57 -0700280 "core/java/android/rolecontrollerservice/IRoleControllerService.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",
Winson Chung3fb0f252019-01-08 17:41:55 -0800293 "core/java/android/service/contentsuggestions/IContentSuggestionsService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800294 "core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl",
295 "core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl",
296 "core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl",
297 "core/java/android/service/euicc/IEuiccService.aidl",
298 "core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl",
299 "core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl",
300 "core/java/android/service/euicc/IGetEidCallback.aidl",
301 "core/java/android/service/euicc/IGetEuiccInfoCallback.aidl",
302 "core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl",
Qingxi Li54058362017-12-13 15:13:02 -0800303 "core/java/android/service/euicc/IGetOtaStatusCallback.aidl",
Qingxi Li6019f9c2017-12-14 15:36:06 -0800304 "core/java/android/service/euicc/IOtaStatusChangedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800305 "core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl",
306 "core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl",
307 "core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl",
308 "core/java/android/service/gatekeeper/IGateKeeperService.aidl",
Felipe Leme749b8892018-12-03 16:30:30 -0800309 "core/java/android/service/contentcapture/IContentCaptureService.aidl",
Felipe Lemeaf4e4fd2019-01-15 08:32:42 -0800310 "core/java/android/service/contentcapture/IContentCaptureServiceCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800311 "core/java/android/service/notification/INotificationListener.aidl",
312 "core/java/android/service/notification/IStatusBarNotificationHolder.aidl",
313 "core/java/android/service/notification/IConditionListener.aidl",
314 "core/java/android/service/notification/IConditionProvider.aidl",
315 "core/java/android/service/settings/suggestions/ISuggestionService.aidl",
Hongming Jinfa329d32018-10-26 16:18:07 -0700316 "core/java/android/service/sms/IFinancialSmsService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800317 "core/java/android/service/vr/IPersistentVrStateCallbacks.aidl",
318 "core/java/android/service/vr/IVrListener.aidl",
319 "core/java/android/service/vr/IVrManager.aidl",
320 "core/java/android/service/vr/IVrStateCallbacks.aidl",
321 "core/java/android/print/ILayoutResultCallback.aidl",
322 "core/java/android/print/IPrinterDiscoveryObserver.aidl",
323 "core/java/android/print/IPrintDocumentAdapter.aidl",
324 "core/java/android/print/IPrintDocumentAdapterObserver.aidl",
325 "core/java/android/print/IPrintJobStateChangeListener.aidl",
326 "core/java/android/print/IPrintServicesChangeListener.aidl",
327 "core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl",
328 "core/java/android/print/IPrintManager.aidl",
329 "core/java/android/print/IPrintSpooler.aidl",
330 "core/java/android/print/IPrintSpoolerCallbacks.aidl",
331 "core/java/android/print/IPrintSpoolerClient.aidl",
332 "core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl",
333 "core/java/android/printservice/recommendation/IRecommendationService.aidl",
334 "core/java/android/print/IWriteResultCallback.aidl",
335 "core/java/android/printservice/IPrintService.aidl",
336 "core/java/android/printservice/IPrintServiceClient.aidl",
337 "core/java/android/companion/ICompanionDeviceManager.aidl",
338 "core/java/android/companion/ICompanionDeviceDiscoveryService.aidl",
339 "core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl",
340 "core/java/android/companion/IFindDeviceCallback.aidl",
341 "core/java/android/service/dreams/IDreamManager.aidl",
342 "core/java/android/service/dreams/IDreamService.aidl",
343 "core/java/android/service/oemlock/IOemLockService.aidl",
344 "core/java/android/service/persistentdata/IPersistentDataBlockService.aidl",
345 "core/java/android/service/trust/ITrustAgentService.aidl",
346 "core/java/android/service/trust/ITrustAgentServiceCallback.aidl",
347 "core/java/android/service/voice/IVoiceInteractionService.aidl",
348 "core/java/android/service/voice/IVoiceInteractionSession.aidl",
349 "core/java/android/service/voice/IVoiceInteractionSessionService.aidl",
350 "core/java/android/service/wallpaper/IWallpaperConnection.aidl",
351 "core/java/android/service/wallpaper/IWallpaperEngine.aidl",
352 "core/java/android/service/wallpaper/IWallpaperService.aidl",
353 "core/java/android/service/chooser/IChooserTargetService.aidl",
354 "core/java/android/service/chooser/IChooserTargetResult.aidl",
355 "core/java/android/service/resolver/IResolverRankerService.aidl",
356 "core/java/android/service/resolver/IResolverRankerResult.aidl",
Tony Mak0be540b2018-11-09 16:58:35 +0000357 "core/java/android/service/textclassifier/IConversationActionsCallback.aidl",
Abodunrinwa Tokid32906c2018-01-18 04:34:44 -0800358 "core/java/android/service/textclassifier/ITextClassificationCallback.aidl",
359 "core/java/android/service/textclassifier/ITextClassifierService.aidl",
Tony Mak0be540b2018-11-09 16:58:35 +0000360 "core/java/android/service/textclassifier/ITextLanguageCallback.aidl",
Abodunrinwa Tokid32906c2018-01-18 04:34:44 -0800361 "core/java/android/service/textclassifier/ITextLinksCallback.aidl",
362 "core/java/android/service/textclassifier/ITextSelectionCallback.aidl",
Alex Salob81472f2018-12-12 14:44:28 -0800363 "core/java/android/service/attention/IAttentionService.aidl",
364 "core/java/android/service/attention/IAttentionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800365 "core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl",
366 "core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl",
367 "core/java/android/view/accessibility/IAccessibilityManager.aidl",
368 "core/java/android/view/accessibility/IAccessibilityManagerClient.aidl",
369 "core/java/android/view/autofill/IAutoFillManager.aidl",
370 "core/java/android/view/autofill/IAutoFillManagerClient.aidl",
Felipe Leme284ad1c2018-11-15 18:16:12 -0800371 "core/java/android/view/autofill/IAugmentedAutofillManagerClient.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800372 "core/java/android/view/autofill/IAutofillWindowPresenter.aidl",
Felipe Lemeb96878492018-12-17 12:22:29 -0800373 "core/java/android/view/contentcapture/IContentCaptureDirectManager.aidl",
Felipe Leme749b8892018-12-03 16:30:30 -0800374 "core/java/android/view/contentcapture/IContentCaptureManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800375 "core/java/android/view/IApplicationToken.aidl",
376 "core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl",
377 "core/java/android/view/IDockedStackListener.aidl",
Adrian Roos962017e2018-11-27 15:11:46 +0100378 "core/java/android/view/IDisplayFoldListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800379 "core/java/android/view/IGraphicsStats.aidl",
380 "core/java/android/view/IGraphicsStatsCallback.aidl",
381 "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",
391 "core/java/android/view/IWallpaperVisibilityListener.aidl",
392 "core/java/android/view/IWindow.aidl",
393 "core/java/android/view/IWindowFocusObserver.aidl",
394 "core/java/android/view/IWindowId.aidl",
395 "core/java/android/view/IWindowManager.aidl",
396 "core/java/android/view/IWindowSession.aidl",
397 "core/java/android/view/IWindowSessionCallback.aidl",
398 "core/java/android/webkit/IWebViewUpdateService.aidl",
399 "core/java/android/speech/IRecognitionListener.aidl",
400 "core/java/android/speech/IRecognitionService.aidl",
401 "core/java/android/speech/tts/ITextToSpeechCallback.aidl",
402 "core/java/android/speech/tts/ITextToSpeechService.aidl",
Svetoslav Ganov2d20fb42018-02-08 15:52:10 -0800403 "core/java/com/android/internal/app/IAppOpsActiveCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800404 "core/java/com/android/internal/app/IAppOpsCallback.aidl",
Svet Ganovb3d2ae22018-12-17 22:06:15 -0800405 "core/java/com/android/internal/app/IAppOpsNotedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800406 "core/java/com/android/internal/app/IAppOpsService.aidl",
407 "core/java/com/android/internal/app/IBatteryStats.aidl",
408 "core/java/com/android/internal/app/ISoundTriggerService.aidl",
jiayuzhou21a353b2018-08-16 16:09:43 -0700409 "core/java/com/android/internal/app/IVoiceActionCheckCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800410 "core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl",
411 "core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl",
412 "core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl",
413 "core/java/com/android/internal/app/IVoiceInteractor.aidl",
414 "core/java/com/android/internal/app/IVoiceInteractorCallback.aidl",
415 "core/java/com/android/internal/app/IVoiceInteractorRequest.aidl",
416 "core/java/com/android/internal/app/IMediaContainerService.aidl",
417 "core/java/com/android/internal/app/procstats/IProcessStats.aidl",
418 "core/java/com/android/internal/appwidget/IAppWidgetService.aidl",
419 "core/java/com/android/internal/appwidget/IAppWidgetHost.aidl",
420 "core/java/com/android/internal/backup/IBackupTransport.aidl",
421 "core/java/com/android/internal/backup/IObbBackupService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800422 "core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl",
Yohei Yukawac54c1172018-09-06 11:39:50 -0700423 "core/java/com/android/internal/inputmethod/IInputMethodPrivilegedOperations.aidl",
Yohei Yukawabae5bea2018-11-12 15:08:30 -0800424 "core/java/com/android/internal/inputmethod/IMultiClientInputMethod.aidl",
425 "core/java/com/android/internal/inputmethod/IMultiClientInputMethodPrivilegedOperations.aidl",
426 "core/java/com/android/internal/inputmethod/IMultiClientInputMethodSession.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800427 "core/java/com/android/internal/net/INetworkWatchlistManager.aidl",
428 "core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl",
429 "core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl",
430 "core/java/com/android/internal/policy/IKeyguardExitCallback.aidl",
431 "core/java/com/android/internal/policy/IKeyguardService.aidl",
432 "core/java/com/android/internal/policy/IKeyguardStateCallback.aidl",
433 "core/java/com/android/internal/policy/IShortcutService.aidl",
434 "core/java/com/android/internal/os/IDropBoxManagerService.aidl",
435 "core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl",
436 "core/java/com/android/internal/os/IResultReceiver.aidl",
437 "core/java/com/android/internal/os/IShellCallback.aidl",
438 "core/java/com/android/internal/statusbar/IStatusBar.aidl",
439 "core/java/com/android/internal/statusbar/IStatusBarService.aidl",
440 "core/java/com/android/internal/textservice/ISpellCheckerService.aidl",
441 "core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl",
442 "core/java/com/android/internal/textservice/ISpellCheckerSession.aidl",
443 "core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl",
444 "core/java/com/android/internal/textservice/ITextServicesManager.aidl",
445 "core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl",
446 "core/java/com/android/internal/view/IDragAndDropPermissions.aidl",
447 "core/java/com/android/internal/view/IInputContext.aidl",
448 "core/java/com/android/internal/view/IInputContextCallback.aidl",
449 "core/java/com/android/internal/view/IInputMethod.aidl",
450 "core/java/com/android/internal/view/IInputMethodClient.aidl",
451 "core/java/com/android/internal/view/IInputMethodManager.aidl",
452 "core/java/com/android/internal/view/IInputMethodSession.aidl",
453 "core/java/com/android/internal/view/IInputSessionCallback.aidl",
454 "core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl",
455 "core/java/com/android/internal/widget/ILockSettings.aidl",
456 "core/java/com/android/internal/widget/IRemoteViewsFactory.aidl",
457 "keystore/java/android/security/IKeyChainAliasCallback.aidl",
458 "keystore/java/android/security/IKeyChainService.aidl",
459 "location/java/android/location/IBatchedLocationCallback.aidl",
460 "location/java/android/location/ICountryDetector.aidl",
461 "location/java/android/location/ICountryListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800462 "location/java/android/location/IGeocodeProvider.aidl",
463 "location/java/android/location/IGeofenceProvider.aidl",
464 "location/java/android/location/IGnssStatusListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800465 "location/java/android/location/IGnssMeasurementsListener.aidl",
466 "location/java/android/location/IGnssNavigationMessageListener.aidl",
467 "location/java/android/location/ILocationListener.aidl",
468 "location/java/android/location/ILocationManager.aidl",
469 "location/java/android/location/IFusedGeofenceHardware.aidl",
470 "location/java/android/location/IGpsGeofenceHardware.aidl",
471 "location/java/android/location/INetInitiatedListener.aidl",
472 "location/java/com/android/internal/location/ILocationProvider.aidl",
Soonil Nagarkar1575a042018-10-24 17:54:54 -0700473 "location/java/com/android/internal/location/ILocationProviderManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800474 "media/java/android/media/IAudioFocusDispatcher.aidl",
475 "media/java/android/media/IAudioRoutesObserver.aidl",
Jaewan Kim379e30d2018-01-29 11:57:04 +0900476 "media/java/android/media/IAudioService.aidl",
Eric Laurent1d3cdce2018-01-20 10:31:21 -0800477 "media/java/android/media/IAudioServerStateDispatcher.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800478 "media/java/android/media/IMediaHTTPConnection.aidl",
479 "media/java/android/media/IMediaHTTPService.aidl",
480 "media/java/android/media/IMediaResourceMonitor.aidl",
481 "media/java/android/media/IMediaRouterClient.aidl",
482 "media/java/android/media/IMediaRouterService.aidl",
483 "media/java/android/media/IMediaScannerListener.aidl",
484 "media/java/android/media/IMediaScannerService.aidl",
485 "media/java/android/media/IPlaybackConfigDispatcher.aidl",
486 ":libaudioclient_aidl",
487 "media/java/android/media/IRecordingConfigDispatcher.aidl",
488 "media/java/android/media/IRemoteDisplayCallback.aidl",
489 "media/java/android/media/IRemoteDisplayProvider.aidl",
490 "media/java/android/media/IRemoteVolumeController.aidl",
491 "media/java/android/media/IRemoteVolumeObserver.aidl",
492 "media/java/android/media/IRingtonePlayer.aidl",
493 "media/java/android/media/IVolumeController.aidl",
494 "media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl",
495 "media/java/android/media/midi/IBluetoothMidiService.aidl",
496 "media/java/android/media/midi/IMidiDeviceListener.aidl",
497 "media/java/android/media/midi/IMidiDeviceOpenCallback.aidl",
498 "media/java/android/media/midi/IMidiDeviceServer.aidl",
499 "media/java/android/media/midi/IMidiManager.aidl",
500 "media/java/android/media/projection/IMediaProjection.aidl",
501 "media/java/android/media/projection/IMediaProjectionCallback.aidl",
502 "media/java/android/media/projection/IMediaProjectionManager.aidl",
503 "media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl",
504 "media/java/android/media/session/IActiveSessionsListener.aidl",
505 "media/java/android/media/session/ICallback.aidl",
506 "media/java/android/media/session/IOnMediaKeyListener.aidl",
507 "media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl",
Jaewan Kimea911862019-01-07 16:45:14 +0900508 "media/java/android/media/session/ISession2TokensListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800509 "media/java/android/media/session/ISessionManager.aidl",
Philip P. Moltmann18e3eb82018-03-09 16:55:55 -0800510 "media/java/android/media/soundtrigger/ISoundTriggerDetectionService.aidl",
511 "media/java/android/media/soundtrigger/ISoundTriggerDetectionServiceClient.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800512 "media/java/android/media/tv/ITvInputClient.aidl",
513 "media/java/android/media/tv/ITvInputHardware.aidl",
514 "media/java/android/media/tv/ITvInputHardwareCallback.aidl",
515 "media/java/android/media/tv/ITvInputManager.aidl",
516 "media/java/android/media/tv/ITvInputManagerCallback.aidl",
517 "media/java/android/media/tv/ITvInputService.aidl",
518 "media/java/android/media/tv/ITvInputServiceCallback.aidl",
519 "media/java/android/media/tv/ITvInputSession.aidl",
520 "media/java/android/media/tv/ITvInputSessionCallback.aidl",
521 "media/java/android/media/tv/ITvRemoteProvider.aidl",
522 "media/java/android/media/tv/ITvRemoteServiceInput.aidl",
sqianea8970c2018-06-06 22:54:04 -0700523 "telecomm/java/com/android/internal/telecom/ICallRedirectionAdapter.aidl",
524 "telecomm/java/com/android/internal/telecom/ICallRedirectionService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800525 "telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl",
526 "telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl",
527 "telecomm/java/com/android/internal/telecom/IVideoCallback.aidl",
528 "telecomm/java/com/android/internal/telecom/IVideoProvider.aidl",
529 "telecomm/java/com/android/internal/telecom/IConnectionService.aidl",
530 "telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl",
531 "telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl",
532 "telecomm/java/com/android/internal/telecom/IInCallService.aidl",
Hall Liuc47570d2018-12-06 17:53:25 -0800533 "telecomm/java/com/android/internal/telecom/IPhoneAccountSuggestionCallback.aidl",
534 "telecomm/java/com/android/internal/telecom/IPhoneAccountSuggestionService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800535 "telecomm/java/com/android/internal/telecom/ITelecomService.aidl",
536 "telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl",
Mohamed Abdalkader48e18c52018-01-22 15:43:37 -0800537 "telephony/java/android/telephony/data/IDataService.aidl",
538 "telephony/java/android/telephony/data/IDataServiceCallback.aidl",
Jack Yua3ab5752018-02-20 14:08:57 -0800539 "telephony/java/android/telephony/data/IQualifiedNetworksService.aidl",
540 "telephony/java/android/telephony/data/IQualifiedNetworksServiceCallback.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800541 "telephony/java/android/telephony/ims/aidl/IImsCallSessionListener.aidl",
Brad Ebinger112c36d2018-01-16 09:33:47 -0800542 "telephony/java/android/telephony/ims/aidl/IImsCapabilityCallback.aidl",
543 "telephony/java/android/telephony/ims/aidl/IImsConfig.aidl",
544 "telephony/java/android/telephony/ims/aidl/IImsConfigCallback.aidl",
545 "telephony/java/android/telephony/ims/aidl/IImsMmTelFeature.aidl",
546 "telephony/java/android/telephony/ims/aidl/IImsMmTelListener.aidl",
547 "telephony/java/android/telephony/ims/aidl/IImsRegistration.aidl",
548 "telephony/java/android/telephony/ims/aidl/IImsRegistrationCallback.aidl",
549 "telephony/java/android/telephony/ims/aidl/IImsRcsFeature.aidl",
550 "telephony/java/android/telephony/ims/aidl/IImsServiceController.aidl",
551 "telephony/java/android/telephony/ims/aidl/IImsServiceControllerListener.aidl",
Logan Chien71ddfea2018-02-27 16:43:50 +0800552 "telephony/java/android/telephony/ims/aidl/IImsSmsListener.aidl",
Sahin Caliskan84dd3062018-12-03 14:06:39 -0800553 "telephony/java/android/telephony/ims/aidl/IRcs.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800554 "telephony/java/android/telephony/mbms/IMbmsDownloadSessionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800555 "telephony/java/android/telephony/mbms/IMbmsStreamingSessionCallback.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700556 "telephony/java/android/telephony/mbms/IMbmsGroupCallSessionCallback.aidl",
Hall Liu79539972018-03-19 18:12:23 -0700557 "telephony/java/android/telephony/mbms/IDownloadStatusListener.aidl",
558 "telephony/java/android/telephony/mbms/IDownloadProgressListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800559 "telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700560 "telephony/java/android/telephony/mbms/IGroupCallCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800561 "telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl",
562 "telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700563 "telephony/java/android/telephony/mbms/vendor/IMbmsGroupCallService.aidl",
Nathan Harold2aa2cc12018-09-27 18:49:16 -0700564 "telephony/java/android/telephony/ICellInfoCallback.aidl",
Hongming Jin08496b02019-01-25 13:41:52 -0800565 "telephony/java/android/telephony/IFinancialSmsCallback.aidl",
Jack Yud5f1de12017-12-21 11:00:05 -0800566 "telephony/java/android/telephony/INetworkService.aidl",
567 "telephony/java/android/telephony/INetworkServiceCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800568 "telephony/java/com/android/ims/internal/IImsCallSession.aidl",
569 "telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl",
570 "telephony/java/com/android/ims/internal/IImsConfig.aidl",
571 "telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl",
572 "telephony/java/com/android/ims/internal/IImsEcbm.aidl",
573 "telephony/java/com/android/ims/internal/IImsEcbmListener.aidl",
574 "telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl",
575 "telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl",
576 "telephony/java/com/android/ims/internal/IImsMMTelFeature.aidl",
577 "telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl",
578 "telephony/java/com/android/ims/internal/IImsRcsFeature.aidl",
579 "telephony/java/com/android/ims/internal/IImsService.aidl",
580 "telephony/java/com/android/ims/internal/IImsServiceController.aidl",
581 "telephony/java/com/android/ims/internal/IImsServiceFeatureCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800582 "telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl",
583 "telephony/java/com/android/ims/internal/IImsUt.aidl",
584 "telephony/java/com/android/ims/internal/IImsUtListener.aidl",
585 "telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl",
586 "telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800587 "telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl",
588 "telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl",
589 "telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl",
590 "telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl",
591 "telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl",
592 "telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl",
593 "telephony/java/com/android/ims/ImsConfigListener.aidl",
594 "telephony/java/com/android/internal/telephony/IApnSourceService.aidl",
595 "telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl",
596 "telephony/java/com/android/internal/telephony/IMms.aidl",
Hall Liu53140362018-11-28 10:44:22 -0800597 "telephony/java/com/android/internal/telephony/INumberVerificationCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800598 "telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl",
599 "telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl",
600 "telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl",
601 "telephony/java/com/android/internal/telephony/ISms.aidl",
602 "telephony/java/com/android/internal/telephony/ISub.aidl",
Sooraj Sasindranfd617462019-01-08 13:23:17 -0800603 "telephony/java/com/android/internal/telephony/IOns.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800604 "telephony/java/com/android/internal/telephony/ITelephony.aidl",
605 "telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl",
606 "telephony/java/com/android/internal/telephony/IWapPushManager.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800607 "telephony/java/com/android/internal/telephony/euicc/IAuthenticateServerCallback.aidl",
608 "telephony/java/com/android/internal/telephony/euicc/ICancelSessionCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800609 "telephony/java/com/android/internal/telephony/euicc/IDeleteProfileCallback.aidl",
610 "telephony/java/com/android/internal/telephony/euicc/IDisableProfileCallback.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800611 "telephony/java/com/android/internal/telephony/euicc/IEuiccCardController.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800612 "telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800613 "telephony/java/com/android/internal/telephony/euicc/IGetAllProfilesCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800614 "telephony/java/com/android/internal/telephony/euicc/IGetDefaultSmdpAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800615 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccChallengeCallback.aidl",
616 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo1Callback.aidl",
617 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo2Callback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800618 "telephony/java/com/android/internal/telephony/euicc/IGetProfileCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800619 "telephony/java/com/android/internal/telephony/euicc/IGetRulesAuthTableCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800620 "telephony/java/com/android/internal/telephony/euicc/IGetSmdsAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800621 "telephony/java/com/android/internal/telephony/euicc/IListNotificationsCallback.aidl",
622 "telephony/java/com/android/internal/telephony/euicc/ILoadBoundProfilePackageCallback.aidl",
623 "telephony/java/com/android/internal/telephony/euicc/IPrepareDownloadCallback.aidl",
624 "telephony/java/com/android/internal/telephony/euicc/IRemoveNotificationFromListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800625 "telephony/java/com/android/internal/telephony/euicc/IResetMemoryCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800626 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationCallback.aidl",
627 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800628 "telephony/java/com/android/internal/telephony/euicc/ISetDefaultSmdpAddressCallback.aidl",
629 "telephony/java/com/android/internal/telephony/euicc/ISetNicknameCallback.aidl",
630 "telephony/java/com/android/internal/telephony/euicc/ISwitchToProfileCallback.aidl",
Roshan Pius3c38ee42018-10-09 10:06:33 -0700631 "wifi/java/android/net/wifi/INetworkRequestMatchCallback.aidl",
632 "wifi/java/android/net/wifi/INetworkRequestUserSelectionCallback.aidl",
Mehdi Alizadeh0037dde2017-11-28 15:31:28 -0800633 "wifi/java/android/net/wifi/ISoftApCallback.aidl",
Roshan Pius80fb1372018-07-16 15:43:03 -0700634 "wifi/java/android/net/wifi/ITrafficStateCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800635 "wifi/java/android/net/wifi/IWifiManager.aidl",
Mingguang Xu86833142019-01-09 13:54:29 -0800636 "wifi/java/android/net/wifi/IWifiUsabilityStatsListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800637 "wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl",
638 "wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl",
639 "wifi/java/android/net/wifi/aware/IWifiAwareMacAddressProvider.aidl",
640 "wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl",
641 "wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl",
642 "wifi/java/android/net/wifi/rtt/IRttCallback.aidl",
643 "wifi/java/android/net/wifi/rtt/IWifiRttManager.aidl",
644 "wifi/java/android/net/wifi/hotspot2/IProvisioningCallback.aidl",
Hai Shalome1afc8d2018-12-07 10:13:43 -0800645 "wifi/java/android/net/wifi/IDppCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800646 "wifi/java/android/net/wifi/IWifiScanner.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800647 "packages/services/PacProcessor/com/android/net/IProxyService.aidl",
648 "packages/services/Proxy/com/android/net/IProxyCallback.aidl",
649 "packages/services/Proxy/com/android/net/IProxyPortListener.aidl",
650 "core/java/android/service/quicksettings/IQSService.aidl",
651 "core/java/android/service/quicksettings/IQSTileService.aidl",
652
653 ":libupdate_engine_aidl",
654
655 ":storaged_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800656 ":vold_aidl",
657 ":installd_aidl",
Nandana Duttb3f71682018-10-03 10:01:25 +0100658 ":dumpstate_aidl",
Joe Onoratoe21ab7e2018-12-18 15:00:25 -0800659 ":incidentcompanion_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800660
661 "lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl",
662 "lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl",
663 "lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl",
664 "lowpan/java/android/net/lowpan/ILowpanInterface.aidl",
665 "lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl",
666 "lowpan/java/android/net/lowpan/ILowpanManager.aidl",
667
668 "core/java/android/app/admin/SecurityLogTags.logtags",
669 "core/java/android/content/EventLogTags.logtags",
670 "core/java/android/speech/tts/EventLogTags.logtags",
671 "core/java/android/net/EventLogTags.logtags",
Makoto Onuki49392d32018-04-11 13:51:02 -0700672 "core/java/android/os/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800673 "core/java/android/webkit/EventLogTags.logtags",
Ben Gruverc7ffbe62018-01-19 11:28:04 -0800674 "core/java/com/android/internal/app/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800675 "core/java/com/android/internal/logging/EventLogTags.logtags",
Siyuan Zhoubafcd7b2017-12-04 13:02:11 -0800676 "core/java/com/android/server/DropboxLogTags.logtags",
Ricardo Quesadaab086c52017-12-11 11:26:53 -0800677 "core/java/org/chromium/arc/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800678
Inseob Kimc1246e62018-11-08 13:13:54 +0900679 ":platform-properties",
680
Colin Crosscf3a0b52017-11-16 00:15:28 -0800681 ":framework-statslog-gen",
682 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800683
684 aidl: {
Colin Cross4eb07842017-12-14 15:18:42 -0800685 export_include_dirs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800686 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
687 "core/java",
688 "graphics/java",
689 "location/java",
690 "lowpan/java",
691 "media/java",
Insun Kangf86a56c2019-01-22 17:16:07 +0900692 "media/apex/java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800693 "media/mca/effect/java",
694 "media/mca/filterfw/java",
695 "media/mca/filterpacks/java",
696 "drm/java",
697 "opengl/java",
698 "sax/java",
699 "telecomm/java",
700 "telephony/java",
701 "wifi/java",
702 "keystore/java",
703 "rs/java",
704 ],
705
706 include_dirs: [
707 "system/update_engine/binder_bindings",
708 "frameworks/native/aidl/binder",
Nandana Duttb3f71682018-10-03 10:01:25 +0100709 "frameworks/native/cmds/dumpstate/binder",
Joe Onoratoe21ab7e2018-12-18 15:00:25 -0800710 "frameworks/native/libs/incidentcompanion/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800711 "frameworks/av/camera/aidl",
712 "frameworks/av/media/libaudioclient/aidl",
713 "frameworks/native/aidl/gui",
714 "system/core/storaged/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800715 "system/vold/binder",
716 "system/bt/binder",
Logan Chien404eb2b2018-02-14 13:53:04 +0800717 "system/security/keystore/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800718 ],
Olivier Gaillardb0ea4212018-07-26 11:52:37 +0100719
720 generate_get_transaction_name: true
Colin Crosscf3a0b52017-11-16 00:15:28 -0800721 },
722
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000723 exclude_srcs: [
Paul Duffina3b69212018-01-25 09:58:32 +0000724 // See comment on framework-atb-backward-compatibility module below
725 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000726 ],
727
Colin Crosscf3a0b52017-11-16 00:15:28 -0800728 no_framework_libs: true,
729 libs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800730 "ext",
731 ],
732
Steven Morelande0dde652019-01-24 12:03:26 -0800733 jarjar_rules: "jarjar_rules_hidl.txt",
Steven Moreland20a18482019-01-17 12:24:54 -0800734
Colin Crosscf3a0b52017-11-16 00:15:28 -0800735 static_libs: [
Dario Frenid8bf22e2018-08-31 14:18:04 +0100736 "apex_aidl_interface-java",
Remi NGUYEN VANc094a542018-12-07 16:52:24 +0900737 "networkstack-aidl-interfaces-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800738 "framework-protos",
Peiyong Lin9ca1dd82019-01-12 17:44:29 -0800739 "game-driver-protos",
Dongwon Kangdfea0aa2018-07-10 12:42:58 -0700740 "mediaplayer2-protos",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800741 "android.hidl.base-V1.0-java",
742 "android.hardware.cas-V1.0-java",
743 "android.hardware.contexthub-V1.0-java",
744 "android.hardware.health-V1.0-java-constants",
Steven Morelande0dde652019-01-24 12:03:26 -0800745 "android.hardware.radio-V1.0-java",
746 "android.hardware.radio-V1.1-java",
747 "android.hardware.radio-V1.2-java",
748 "android.hardware.radio-V1.3-java",
749 "android.hardware.radio-V1.4-java",
750 "android.hardware.radio.config-V1.0-java",
751 "android.hardware.radio.config-V1.1-java",
752 "android.hardware.radio.config-V1.2-java",
753 "android.hardware.radio.deprecated-V1.0-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800754 "android.hardware.thermal-V1.0-java-constants",
Wei Wangfb21bd82019-01-10 14:16:23 -0800755 "android.hardware.thermal-V1.0-java",
Wei Wangbad7c202018-11-01 11:57:39 -0700756 "android.hardware.thermal-V1.1-java",
757 "android.hardware.thermal-V2.0-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800758 "android.hardware.tv.input-V1.0-java-constants",
759 "android.hardware.usb-V1.0-java-constants",
760 "android.hardware.usb-V1.1-java-constants",
Badhri Jagan Sridharane966a382018-12-09 14:49:38 -0800761 "android.hardware.usb-V1.2-java-constants",
Steven Morelande0dde652019-01-24 12:03:26 -0800762 "android.hardware.usb.gadget-V1.0-java",
Michael Wrightf268bf52018-02-07 23:23:34 +0000763 "android.hardware.vibrator-V1.0-java",
764 "android.hardware.vibrator-V1.1-java",
765 "android.hardware.vibrator-V1.2-java",
Harpreet "Eli" Sanghaa456f082018-12-14 12:06:10 +0900766 "android.hardware.vibrator-V1.3-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800767 "android.hardware.wifi-V1.0-java-constants",
Chalard Jean8c141bd2018-12-04 20:20:56 +0900768 "networkstack-aidl-interfaces-java",
Luke Huang13b79e82018-09-26 14:53:42 +0800769 "netd_aidl_interface-java",
arangelov1ab61492018-11-22 13:56:50 +0000770 "devicepolicyprotosnano",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800771 ],
772
Wei Jia0a8a8f02017-12-05 17:05:29 -0800773 required: [
Anton Hansson11905c62018-11-27 12:10:30 +0000774 // TODO: remove gps_debug when the build system propagates "required" properly.
775 "gps_debug.conf",
Logan Chien71ddfea2018-02-27 16:43:50 +0800776 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800777
Colin Crosscf3a0b52017-11-16 00:15:28 -0800778 dxflags: [
779 "--core-library",
780 "--multi-dex",
781 ],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100782
Ashley Roseb47ddd42019-01-28 19:54:09 -0500783 plugins: ["view-inspector-annotation-processor"],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100784}
785
Colin Crossbc2dc312018-10-26 22:34:06 -0700786filegroup {
787 name: "libincident_aidl",
788 srcs: [
789 "core/java/android/os/IIncidentManager.aidl",
790 "core/java/android/os/IIncidentReportStatusListener.aidl",
791 ],
792}
793
794filegroup {
795 name: "statsd_aidl",
796 srcs: [
797 "core/java/android/os/IStatsCompanionService.aidl",
798 "core/java/android/os/IStatsManager.aidl",
799 ],
800}
801
Michael Wrightc390fbe2018-12-12 19:45:09 +0000802filegroup {
803 name: "libvibrator_aidl",
804 srcs: [
805 "core/java/android/os/IExternalVibrationController.aidl",
806 "core/java/android/os/IExternalVibratorService.aidl",
807 ],
808}
809
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100810java_library {
811 name: "framework",
812 defaults: ["framework-defaults"],
813 javac_shard_size: 150,
814}
815
816java_library {
817 name: "framework-annotation-proc",
818 defaults: ["framework-defaults"],
819 // Use UsedByApps annotation processor
Colin Crossa1f8e1a2019-01-21 21:45:20 -0800820 plugins: ["unsupportedappusage-annotation-processor"],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100821}
822
823// A host library including just UnsupportedAppUsage.java so that the annotation
824// processor can also use this annotation.
825java_library_host {
826 name: "unsupportedappusage-annotation",
827 srcs: [
828 "core/java/android/annotation/IntDef.java",
829 "core/java/android/annotation/UnsupportedAppUsage.java",
830 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800831}
832
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000833// A temporary build target that is conditionally included on the bootclasspath if
Paul Duffina3b69212018-01-25 09:58:32 +0000834// android.test.base library has been removed and which provides support for
835// maintaining backwards compatibility for APKs that target pre-P and depend on
836// android.test.base classes. This is used iff REMOVE_ATB_FROM_BCP=true is
837// specified on the build command line.
838java_library {
839 name: "framework-atb-backward-compatibility",
840 srcs: [
841 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
842 ],
843}
844
Colin Crosscf3a0b52017-11-16 00:15:28 -0800845genrule {
846 name: "framework-statslog-gen",
847 tools: ["stats-log-api-gen"],
848 cmd: "$(location stats-log-api-gen) --java $(out)",
David Chen0a368b22017-12-06 16:28:16 -0800849 out: ["android/util/StatsLogInternal.java"],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800850}
851
852gensrcs {
853 name: "framework-javastream-protos",
854 depfile: true,
855
Alex Light159799d2018-08-08 07:05:19 -0700856 tool_files: [ "tools/genprotos.sh", ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800857 tools: [
858 "aprotoc",
859 "protoc-gen-javastream",
860 "soong_zip",
861 ],
862
Alex Light159799d2018-08-08 07:05:19 -0700863 // TODO This should not be needed. If you set a custom OUT_DIR or OUT_DIR_COMMON_BASE you can
864 // end up with a command that is extremely long, potentially going passed MAX_ARG_STRLEN due to
865 // the way sbox rewrites the command. See b/70221552.
866 cmd: "$(location tools/genprotos.sh) " +
867 " $(location aprotoc) " +
868 " $(location protoc-gen-javastream) " +
869 " $(location soong_zip) " +
870 " $(genDir) " +
871 " $(depfile) " +
872 " $(in) " +
873 " $(out)",
Yi Jin437aa6e2018-01-10 11:34:26 -0800874 srcs: [
875 "core/proto/**/*.proto",
876 "libs/incident/**/*.proto",
877 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800878 output_extension: "srcjar",
879}
880
Remi NGUYEN VANc094a542018-12-07 16:52:24 +0900881// AIDL interfaces between the core system and the networking mainline module.
882aidl_interface {
883 name: "networkstack-aidl-interfaces",
884 local_include_dir: "core/java",
885 srcs: [
Remi NGUYEN VAN6b0b2b72019-01-18 18:49:16 +0900886 "core/java/android/net/ApfCapabilitiesParcelable.aidl",
887 "core/java/android/net/DhcpResultsParcelable.aidl",
Remi NGUYEN VAN111e1c32019-01-21 23:36:53 +0900888 "core/java/android/net/ICaptivePortal.aidl",
Remi NGUYEN VANe67b0c32018-12-27 16:43:56 +0900889 "core/java/android/net/INetworkMonitor.aidl",
890 "core/java/android/net/INetworkMonitorCallbacks.aidl",
Chalard Jeanf89d7be2018-12-07 23:09:02 +0900891 "core/java/android/net/IIpMemoryStore.aidl",
Remi NGUYEN VANc094a542018-12-07 16:52:24 +0900892 "core/java/android/net/INetworkStackConnector.aidl",
Remi NGUYEN VAN0e3d09232018-12-04 12:13:09 +0900893 "core/java/android/net/INetworkStackStatusCallback.aidl",
Remi NGUYEN VAN6b0b2b72019-01-18 18:49:16 +0900894 "core/java/android/net/InitialConfigurationParcelable.aidl",
Remi NGUYEN VAN4855a2e2019-01-08 10:46:21 +0900895 "core/java/android/net/IpPrefixParcelable.aidl",
896 "core/java/android/net/LinkAddressParcelable.aidl",
897 "core/java/android/net/LinkPropertiesParcelable.aidl",
Remi NGUYEN VAN6b0b2b72019-01-18 18:49:16 +0900898 "core/java/android/net/NetworkParcelable.aidl",
Remi NGUYEN VANe67b0c32018-12-27 16:43:56 +0900899 "core/java/android/net/PrivateDnsConfigParcel.aidl",
Remi NGUYEN VAN6b0b2b72019-01-18 18:49:16 +0900900 "core/java/android/net/ProvisioningConfigurationParcelable.aidl",
Remi NGUYEN VAN4855a2e2019-01-08 10:46:21 +0900901 "core/java/android/net/ProxyInfoParcelable.aidl",
902 "core/java/android/net/RouteInfoParcelable.aidl",
Remi NGUYEN VAN6b0b2b72019-01-18 18:49:16 +0900903 "core/java/android/net/StaticIpConfigurationParcelable.aidl",
Remi NGUYEN VAN761198a2018-12-10 16:35:30 +0900904 "core/java/android/net/dhcp/DhcpServingParamsParcel.aidl",
Remi NGUYEN VAN0e3d09232018-12-04 12:13:09 +0900905 "core/java/android/net/dhcp/IDhcpServer.aidl",
906 "core/java/android/net/dhcp/IDhcpServerCallbacks.aidl",
Remi NGUYEN VANa5d31f52019-01-12 15:36:47 +0900907 "core/java/android/net/ip/IIpClient.aidl",
908 "core/java/android/net/ip/IIpClientCallbacks.aidl",
Chalard Jeanf89d7be2018-12-07 23:09:02 +0900909 "core/java/android/net/ipmemorystore/**/*.aidl",
Remi NGUYEN VANc094a542018-12-07 16:52:24 +0900910 ],
911 api_dir: "aidl/networkstack",
912}
913
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900914filegroup {
915 name: "framework-networkstack-shared-srcs",
916 srcs: [
917 // TODO: remove these annotations as soon as we can use andoid.support.annotations.*
918 "core/java/android/annotation/NonNull.java",
919 "core/java/android/annotation/Nullable.java",
920 "core/java/android/annotation/IntDef.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900921 "core/java/android/annotation/IntRange.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900922 "core/java/android/annotation/UnsupportedAppUsage.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900923 "core/java/android/net/DhcpResults.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900924 "core/java/android/util/LocalLog.java",
Remi NGUYEN VAN231b52b2019-01-29 15:38:52 +0900925 "core/java/com/android/internal/annotations/GuardedBy.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900926 "core/java/com/android/internal/annotations/VisibleForTesting.java",
927 "core/java/com/android/internal/util/HexDump.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900928 "core/java/com/android/internal/util/IndentingPrintWriter.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900929 "core/java/com/android/internal/util/IState.java",
930 "core/java/com/android/internal/util/MessageUtils.java",
931 "core/java/com/android/internal/util/Preconditions.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900932 "core/java/com/android/internal/util/RingBufferIndices.java",
Remi NGUYEN VAN77dd54d2019-01-25 08:54:08 +0900933 "core/java/com/android/internal/util/State.java",
934 "core/java/com/android/internal/util/StateMachine.java",
935 "core/java/com/android/internal/util/WakeupMessage.java",
936 "core/java/android/net/shared/*.java",
937 ]
938}
939
Colin Crossd8e02252017-10-02 17:14:22 -0700940// Build ext.jar
941// ============================================================
942java_library {
943 name: "ext",
Colin Crossa12c0f52018-06-27 11:00:11 -0700944 installable: true,
Paul Duffinba4cee02018-11-23 12:19:49 +0000945 no_framework_libs: true,
Colin Crossd8e02252017-10-02 17:14:22 -0700946 static_libs: [
947 "libphonenumber-platform",
948 "nist-sip",
949 "tagsoup",
Ricky Wai0d1bc332017-10-31 14:31:01 +0000950 "rappor",
Tony Mak64c4cb22018-09-25 13:38:28 +0100951 "libtextclassifier-java",
952 ],
953 required: [
954 "libtextclassifier",
Colin Crossd8e02252017-10-02 17:14:22 -0700955 ],
956 dxflags: ["--core-library"],
957}
958
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700959// ==== java proto host library ==============================
960java_library_host {
961 name: "platformprotos",
962 srcs: [
963 "cmds/am/proto/instrumentation_data.proto",
Howard Ro0546d542018-08-30 16:23:44 -0700964 "cmds/statsd/src/**/*.proto",
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700965 "core/proto/**/*.proto",
966 "libs/incident/proto/**/*.proto",
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700967 ],
968 proto: {
969 include_dirs: ["external/protobuf/src"],
970 type: "full",
971 },
972 errorprone: {
973 javacflags: ["-Xep:MissingOverride:OFF"], // b/72714520
974 },
975}
976
Colin Cross43214162018-08-20 13:57:24 -0700977// ==== java proto device library (for test only) ==============================
978java_library {
979 name: "platformprotosnano",
980 proto: {
981 type: "nano",
982 output_params: ["store_unknown_fields=true"],
983 include_dirs: ["external/protobuf/src"],
984 },
985
986 sdk_version: "current",
987 srcs: [
988 "core/proto/**/*.proto",
989 "libs/incident/proto/android/os/**/*.proto",
990 ],
991}
992
993// ==== java proto device library (for test only) ==============================
994java_library {
995 name: "platformprotoslite",
996 proto: {
997 type: "lite",
998 include_dirs: ["external/protobuf/src"],
999 },
1000
1001 srcs: [
1002 "core/proto/**/*.proto",
1003 "libs/incident/proto/android/os/**/*.proto",
1004 ],
1005 // Protos have lots of MissingOverride and similar.
1006 errorprone: {
1007 javacflags: ["-XepDisableAllChecks"],
1008 },
1009}
1010
Colin Crossaa0d4352017-05-02 14:14:56 -07001011// ==== c++ proto device library ==============================
1012cc_library {
1013 name: "libplatformprotos",
1014 host_supported: true,
Colin Crossaa0d4352017-05-02 14:14:56 -07001015 proto: {
1016 export_proto_headers: true,
1017 include_dirs: ["external/protobuf/src"],
1018 },
1019
Chih-Hung Hsiehc7edf072017-10-03 09:57:55 -07001020 cflags: [
1021 "-Wall",
1022 "-Werror",
1023 "-Wno-unused-parameter",
1024 ],
Joe Onorato62c220b2017-11-18 20:32:56 -08001025
1026 srcs: [
1027 "core/proto/**/*.proto",
1028 "libs/incident/**/*.proto",
Joe Onorato62c220b2017-11-18 20:32:56 -08001029 ],
1030
Colin Crossaa0d4352017-05-02 14:14:56 -07001031 target: {
1032 host: {
1033 proto: {
1034 type: "full",
1035 },
1036 },
1037 android: {
1038 proto: {
1039 type: "lite",
1040 },
1041 shared: {
Colin Crossaa0d4352017-05-02 14:14:56 -07001042 enabled: false,
1043 },
1044 },
1045 },
Colin Crossaa0d4352017-05-02 14:14:56 -07001046}
1047
Yi Jin04625ad2017-10-17 18:29:33 -07001048gensrcs {
1049 name: "gen-platform-proto-constants",
1050 depfile: true,
1051
1052 tools: [
1053 "aprotoc",
1054 "protoc-gen-cppstream",
1055 ],
1056
1057 srcs: [
Kweku Adamseadd1232018-02-05 16:45:13 -08001058 "core/proto/android/os/backtrace.proto",
Kweku Adams59e6fd72017-12-27 15:48:14 -08001059 "core/proto/android/os/batterytype.proto",
Yi Jin0eb22342017-11-06 17:17:27 -08001060 "core/proto/android/os/cpufreq.proto",
Yi Jine2f7f792017-11-01 17:08:27 -07001061 "core/proto/android/os/cpuinfo.proto",
Colin Crossbc2dc312018-10-26 22:34:06 -07001062 "core/proto/android/os/data.proto",
Yi Jin04625ad2017-10-17 18:29:33 -07001063 "core/proto/android/os/kernelwake.proto",
1064 "core/proto/android/os/pagetypeinfo.proto",
1065 "core/proto/android/os/procrank.proto",
Kweku Adamsf5cc5752017-12-20 17:59:17 -08001066 "core/proto/android/os/ps.proto",
Yi Jin0dfa7522017-11-06 17:43:47 -08001067 "core/proto/android/os/system_properties.proto",
Yi Jin3c034c92017-12-22 17:36:47 -08001068 "core/proto/android/util/event_log_tags.proto",
Colin Crossbc2dc312018-10-26 22:34:06 -07001069 "core/proto/android/util/log.proto",
Yi Jin04625ad2017-10-17 18:29:33 -07001070 ],
1071
1072 // Append protoc-gen-cppstream tool's PATH otherwise aprotoc can't find the plugin tool
Yi Jin3c034c92017-12-22 17:36:47 -08001073 cmd: "mkdir -p $(genDir) " +
1074 "&& $(location aprotoc) " +
1075 " --plugin=$(location protoc-gen-cppstream) " +
1076 " --dependency_out=$(depfile) " +
1077 " --cppstream_out=$(genDir) " +
1078 " -Iexternal/protobuf/src " +
1079 " -I . " +
1080 " $(in)",
Yi Jin04625ad2017-10-17 18:29:33 -07001081
Logan Chien71ddfea2018-02-27 16:43:50 +08001082 output_extension: "proto.h",
Yi Jin04625ad2017-10-17 18:29:33 -07001083}
1084
Dan Albert2a8d9c22016-09-23 15:55:49 -07001085subdirs = [
Yi Jin0a3406f2017-06-22 19:23:11 -07001086 "cmds/*",
Jeff Sharkey0c686e72017-10-23 16:04:31 -06001087 "core/*",
Colin Cross4f8d9e62016-12-01 15:55:00 -08001088 "libs/*",
Colin Cross76de4f62017-05-15 18:10:40 -07001089 "media/*",
Colin Cross747e7c12017-10-24 16:21:22 -07001090 "proto",
Fabien Sanglard19160202017-01-12 14:24:31 -05001091 "tools/*",
Dan Albert2a8d9c22016-09-23 15:55:49 -07001092 "native/android",
Dan Albert7ce8df32016-09-23 16:43:49 -07001093 "native/graphics/jni",
Dan Albert2a8d9c22016-09-23 15:55:49 -07001094]
Svetoslav Ganov74c99832016-12-05 20:07:20 -08001095
1096optional_subdirs = [
1097 "core/tests/utiltests/jni",
1098]
Steven Morelandeddafe92017-10-02 16:58:41 -07001099
Colin Crossa2b78a72018-03-29 13:31:04 -07001100// TODO(b/77285514): remove this once the last few hidl interfaces have been
1101// updated to use hwbinder.stubs.
Steven Morelandeddafe92017-10-02 16:58:41 -07001102java_library {
1103 name: "hwbinder",
1104 no_framework_libs: true,
1105
1106 srcs: [
1107 "core/java/android/os/HidlSupport.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -08001108 "core/java/android/annotation/IntDef.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001109 "core/java/android/annotation/NonNull.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -08001110 "core/java/android/annotation/SystemApi.java",
Steven Morelandcbba4c72019-01-11 10:19:51 -08001111 "core/java/android/annotation/TestApi.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001112 "core/java/android/os/HwBinder.java",
1113 "core/java/android/os/HwBlob.java",
1114 "core/java/android/os/HwParcel.java",
1115 "core/java/android/os/IHwBinder.java",
1116 "core/java/android/os/IHwInterface.java",
1117 "core/java/android/os/DeadObjectException.java",
1118 "core/java/android/os/DeadSystemException.java",
Nirav Atre9850dd92018-07-24 17:03:44 -07001119 "core/java/android/os/NativeHandle.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001120 "core/java/android/os/RemoteException.java",
1121 "core/java/android/util/AndroidException.java",
1122 ],
1123
1124 dxflags: ["--core-library"],
1125 installable: false,
1126}
Nan Zhang2db709d2017-11-08 20:48:46 -08001127
1128python_defaults {
1129 name: "base_default",
1130 version: {
1131 py2: {
1132 enabled: true,
1133 embedded_launcher: true,
1134 },
1135 py3: {
1136 enabled: false,
1137 embedded_launcher: false,
1138 },
1139 },
1140}
1141
1142python_binary_host {
1143 name: "fontchain_linter",
1144 defaults: ["base_default"],
1145 main: "tools/fonts/fontchain_linter.py",
1146 srcs: [
1147 "tools/fonts/fontchain_linter.py",
1148 ],
1149 libs: [
1150 "fontTools",
1151 ],
1152}
Nan Zhang172875b2018-02-27 11:24:03 -08001153
1154// TODO: Don't rely on this list once droiddoc can take a list of packages to document
1155frameworks_base_subdirs = [
1156 "core/java",
1157 "graphics/java",
1158 "location/java",
1159 "media/java",
1160 "media/mca/effect/java",
1161 "media/mca/filterfw/java",
1162 "media/mca/filterpacks/java",
1163 "drm/java",
1164 "opengl/java",
1165 "sax/java",
1166 "telecomm/java",
1167 "telephony/java",
1168 "wifi/java",
1169 "lowpan/java",
1170 "keystore/java",
1171 "rs/java",
1172]
1173
1174packages_to_document = [
1175 "android",
1176 "javax/microedition/khronos",
1177 "org/apache/http/conn",
1178 "org/apache/http/params",
1179]
1180
1181// The since flag (-since N.xml API_LEVEL) is used to add API Level information
1182// to the reference documentation. Must be in order of oldest to newest.
1183//
1184// Conscrypt (com.android.org.conscrypt) is an implementation detail and should
1185// not be referenced in the documentation.
1186framework_docs_args = "-android -manifest $(location core/res/AndroidManifest.xml) " +
Nan Zhangf33e1942018-03-23 00:57:00 -07001187 "-hidePackage com.android.internal " +
1188 "-hidePackage com.android.internal.util " +
1189 "-hidePackage com.android.okhttp " +
1190 "-hidePackage com.android.org.conscrypt " +
1191 "-hidePackage com.android.server " +
Anton Hansson6a9e7262018-04-19 16:23:53 +01001192 "-since $(location 1/public/api/android.xml) 1 " +
1193 "-since $(location 2/public/api/android.xml) 2 " +
1194 "-since $(location 3/public/api/android.xml) 3 " +
1195 "-since $(location 4/public/api/android.xml) 4 " +
1196 "-since $(location 5/public/api/android.xml) 5 " +
1197 "-since $(location 6/public/api/android.xml) 6 " +
1198 "-since $(location 7/public/api/android.xml) 7 " +
1199 "-since $(location 8/public/api/android.xml) 8 " +
1200 "-since $(location 9/public/api/android.xml) 9 " +
1201 "-since $(location 10/public/api/android.xml) 10 " +
1202 "-since $(location 11/public/api/android.xml) 11 " +
1203 "-since $(location 12/public/api/android.xml) 12 " +
1204 "-since $(location 13/public/api/android.xml) 13 " +
1205 "-since $(location 14/public/api/android.txt) 14 " +
1206 "-since $(location 15/public/api/android.txt) 15 " +
1207 "-since $(location 16/public/api/android.txt) 16 " +
1208 "-since $(location 17/public/api/android.txt) 17 " +
1209 "-since $(location 18/public/api/android.txt) 18 " +
1210 "-since $(location 19/public/api/android.txt) 19 " +
1211 "-since $(location 20/public/api/android.txt) 20 " +
1212 "-since $(location 21/public/api/android.txt) 21 " +
1213 "-since $(location 22/public/api/android.txt) 22 " +
1214 "-since $(location 23/public/api/android.txt) 23 " +
1215 "-since $(location 24/public/api/android.txt) 24 " +
1216 "-since $(location 25/public/api/android.txt) 25 " +
1217 "-since $(location 26/public/api/android.txt) 26 " +
1218 "-since $(location 27/public/api/android.txt) 27 " +
1219 "-since $(location 28/public/api/android.txt) 28 " +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001220 "-since $(location api/current.txt) Q " +
Nan Zhang172875b2018-02-27 11:24:03 -08001221 "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
1222 "-overview $(location core/java/overview.html) " +
1223 // Federate Support Library references against local API file.
1224 "-federate SupportLib https://developer.android.com " +
1225 "-federationapi SupportLib $(location current/support-api.txt) "
1226
Nan Zhang7764a4b2018-08-22 11:27:31 -07001227framework_docs_only_args = " -android -manifest $(location core/res/AndroidManifest.xml) " +
Nan Zhangb03396e2018-10-11 18:06:10 -07001228 "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001229 "-overview $(location core/java/overview.html) " +
1230 // Federate Support Library references against local API file.
1231 "-federate SupportLib https://developer.android.com " +
1232 "-federationapi SupportLib $(location current/support-api.txt) "
Nan Zhang172875b2018-02-27 11:24:03 -08001233
Nan Zhang7764a4b2018-08-22 11:27:31 -07001234framework_docs_only_libs = [
Nan Zhang7764a4b2018-08-22 11:27:31 -07001235 "voip-common",
1236 "android.test.mock",
1237 "android-support-annotations",
1238 "android-support-compat",
1239 "android-support-core-ui",
1240 "android-support-core-utils",
1241 "android-support-customtabs",
1242 "android-support-design",
1243 "android-support-dynamic-animation",
1244 "android-support-exifinterface",
1245 "android-support-fragment",
1246 "android-support-media-compat",
1247 "android-support-percent",
1248 "android-support-recommendation",
1249 "android-support-transition",
1250 "android-support-tv-provider",
1251 "android-support-v7-cardview",
1252 "android-support-v7-gridlayout",
1253 "android-support-v7-mediarouter",
1254 "android-support-v7-palette",
1255 "android-support-v7-preference",
1256 "android-support-v13",
1257 "android-support-v14-preference",
1258 "android-support-v17-leanback",
1259 "android-support-v17-preference-leanback",
1260 "android-support-wear",
1261 "android-support-vectordrawable",
1262 "android-support-animatedvectordrawable",
1263 "android-support-v7-appcompat",
1264 "android-support-v7-recyclerview",
1265 "android-support-emoji",
1266 "android-support-emoji-appcompat",
1267 "android-support-emoji-bundled",
1268 "android-support-v8-renderscript",
1269 "android-support-multidex",
1270 "android-support-multidex-instrumentation",
1271]
1272
1273metalava_framework_docs_args = "--manifest $(location core/res/AndroidManifest.xml) " +
1274 "--hide-package com.android.okhttp " +
1275 "--hide-package com.android.org.conscrypt --hide-package com.android.server " +
Adrian Roosc6e2fc82018-12-12 15:08:44 +01001276 "--error UnhiddenSystemApi " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001277 "--hide RequiresPermission " +
1278 "--hide MissingPermission --hide BroadcastBehavior " +
1279 "--hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol " +
1280 "--hide SdkConstant --hide HiddenTypeParameter --hide Todo --hide Typo"
1281
1282stubs_defaults {
1283 name: "framework-doc-stubs-default",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001284 srcs: [
1285 "test-base/src/**/*.java",
1286 ":opt-telephony-srcs",
1287 ":opt-net-voip-srcs",
1288 ":openjdk_javadoc_files",
1289 ":non_openjdk_javadoc_files",
1290 ":android_icu4j_src_files_for_docs",
Adam Vartanian6333c842018-10-18 10:10:35 +01001291 ":conscrypt_public_api_files",
Sungsoo Lim64ed0092019-01-24 04:25:44 +09001292 ":media-srcs-without-aidls",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001293 "test-mock/src/**/*.java",
1294 "test-runner/src/**/*.java",
1295 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001296 srcs_lib: "framework",
1297 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1298 srcs_lib_whitelist_pkgs: packages_to_document,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001299 libs: framework_docs_only_libs,
Nan Zhang3e15ba82018-07-26 18:41:12 +00001300 local_sourcepaths: frameworks_base_subdirs,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001301 create_doc_stubs: true,
1302 annotations_enabled: true,
1303 api_levels_annotations_enabled: true,
1304 api_levels_annotations_dirs: [
1305 "sdk-dir",
1306 "api-versions-jars-dir",
1307 ],
1308 previous_api: ":last-released-public-api",
1309 merge_annotations_dirs: [
1310 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001311 "ojluni-annotated-sdk-stubs",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001312 ],
1313}
1314
1315doc_defaults {
1316 name: "framework-docs-default",
Nan Zhangb03396e2018-10-11 18:06:10 -07001317 libs: framework_docs_only_libs +
1318 ["stub-annotations"],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001319 html_dirs: [
1320 "docs/html",
1321 ],
1322 knowntags: [
1323 "docs/knowntags.txt",
1324 ":known-oj-tags",
1325 ],
1326 custom_template: "droiddoc-templates-sdk",
1327 resourcesdir: "docs/html/reference/images/",
1328 resourcesoutdir: "reference/android/images/",
1329 hdf: [
1330 "dac true",
1331 "sdk.codename O",
1332 "sdk.preview.version 1",
1333 "sdk.version 7.0",
1334 "sdk.rel.id 1",
1335 "sdk.preview 0",
1336 ],
1337 arg_files: [
1338 "core/res/AndroidManifest.xml",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001339 "core/java/overview.html",
1340 ":current-support-api",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001341 ],
1342 create_stubs: false,
1343}
1344
Nan Zhang894c9ec2018-09-10 18:58:39 -07001345stubs_defaults {
Nan Zhangd25ad462018-08-22 10:48:15 -07001346 name: "metalava-api-stubs-default",
1347 srcs: [
1348 ":opt-telephony-srcs",
1349 ":opt-net-voip-srcs",
1350 ":openjdk_javadoc_files",
1351 ":non_openjdk_javadoc_files",
1352 ":android_icu4j_src_files_for_docs",
Adam Vartanian6333c842018-10-18 10:10:35 +01001353 ":conscrypt_public_api_files",
Sungsoo Lim64ed0092019-01-24 04:25:44 +09001354 ":media-srcs-without-aidls",
Nan Zhangd25ad462018-08-22 10:48:15 -07001355 ],
1356 srcs_lib: "framework",
1357 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1358 srcs_lib_whitelist_pkgs: packages_to_document,
1359 libs: [
Nan Zhangd25ad462018-08-22 10:48:15 -07001360 "ext",
1361 "framework",
1362 "voip-common",
Nan Zhangd25ad462018-08-22 10:48:15 -07001363 ],
1364 local_sourcepaths: frameworks_base_subdirs,
1365 installable: false,
Nan Zhang894c9ec2018-09-10 18:58:39 -07001366 annotations_enabled: true,
1367 previous_api: ":last-released-public-api",
1368 merge_annotations_dirs: [
Nan Zhangd25ad462018-08-22 10:48:15 -07001369 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001370 "ojluni-annotated-sdk-stubs",
Nan Zhangd25ad462018-08-22 10:48:15 -07001371 ],
Nan Zhang91cc7662018-09-18 10:46:10 -07001372 api_levels_annotations_enabled: true,
1373 api_levels_annotations_dirs: [
1374 "sdk-dir",
1375 "api-versions-jars-dir",
1376 ],
Nan Zhangd25ad462018-08-22 10:48:15 -07001377}
1378
Nan Zhang7764a4b2018-08-22 11:27:31 -07001379droidstubs {
1380 name: "framework-doc-stubs",
1381 defaults: ["framework-doc-stubs-default"],
1382 arg_files: [
1383 "core/res/AndroidManifest.xml",
1384 ],
1385 args: metalava_framework_docs_args,
1386}
1387
1388droidstubs {
1389 name: "framework-doc-system-stubs",
1390 defaults: ["framework-doc-stubs-default"],
1391 arg_files: [
1392 "core/res/AndroidManifest.xml",
1393 ],
1394 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi ",
1395}
1396
Nan Zhang3e15ba82018-07-26 18:41:12 +00001397droiddoc {
1398 name: "doc-comment-check-docs",
1399 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001400 srcs: [
1401 ":framework-doc-stubs",
1402 ],
1403 args: framework_docs_only_args + " -referenceonly -parsecomments",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001404 installable: false,
1405}
1406
1407droiddoc {
1408 name: "offline-sdk-docs",
1409 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001410 srcs: [
1411 ":framework-doc-stubs",
1412 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001413 hdf: [
1414 "android.whichdoc offline",
1415 ],
1416 proofread_file: "offline-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001417 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\"",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001418 write_sdk_values: true,
1419 static_doc_index_redirect: "docs/docs-preview-index.html",
1420}
1421
1422droiddoc {
Nan Zhang963612b2018-09-21 17:16:49 -07001423 // Please sync with android-api-council@ before making any changes for the name property below.
1424 // Since there's cron jobs that fetch offline-sdk-referenceonly-docs-docs.zip periodically.
1425 // See b/116221385 for reference.
Nan Zhang3e15ba82018-07-26 18:41:12 +00001426 name: "offline-sdk-referenceonly-docs",
1427 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001428 srcs: [
1429 ":framework-doc-stubs",
1430 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001431 hdf: [
1432 "android.whichdoc offline",
1433 ],
1434 proofread_file: "offline-sdk-referenceonly-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001435 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\" -referenceonly",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001436 write_sdk_values: true,
1437 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
1438 static_doc_properties: "docs/source.properties",
1439}
1440
1441droiddoc {
Nan Zhang963612b2018-09-21 17:16:49 -07001442 // Please sync with android-api-council@ before making any changes for the name property below.
1443 // Since there's cron jobs that fetch offline-system-sdk-referenceonly-docs-docs.zip periodically.
1444 // See b/116221385 for reference.
Nan Zhang3e15ba82018-07-26 18:41:12 +00001445 name: "offline-system-sdk-referenceonly-docs",
1446 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001447 srcs: [
1448 ":framework-doc-system-stubs",
1449 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001450 hdf: [
1451 "android.whichdoc offline",
1452 ],
1453 proofread_file: "offline-system-sdk-referenceonly-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001454 args: framework_docs_only_args + " -hide 101 -hide 104 -hide 108" +
1455 " -offlinemode -title \"Android System SDK\" -referenceonly",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001456 write_sdk_values: true,
1457 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
1458 static_doc_properties: "docs/source.properties",
1459}
1460
1461droiddoc {
1462 name: "online-sdk-docs",
1463 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001464 srcs: [
1465 ":framework-doc-stubs",
1466 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001467 hdf: [
1468 "android.whichdoc online",
1469 "android.hasSamples true",
1470 ],
1471 proofread_file: "online-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001472 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001473 " -toroot / -samplegroup Admin " +
1474 " -samplegroup Background " +
1475 " -samplegroup Connectivity " +
1476 " -samplegroup Content " +
1477 " -samplegroup Input " +
1478 " -samplegroup Media " +
1479 " -samplegroup Notification " +
1480 " -samplegroup RenderScript " +
1481 " -samplegroup Security " +
1482 " -samplegroup Sensors " +
1483 " -samplegroup System " +
1484 " -samplegroup Testing " +
1485 " -samplegroup UI " +
1486 " -samplegroup Views " +
1487 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1488}
1489
1490droiddoc {
1491 name: "online-system-api-sdk-docs",
1492 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001493 srcs: [
1494 ":framework-doc-system-stubs",
1495 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001496 hdf: [
1497 "android.whichdoc online",
1498 "android.hasSamples true",
1499 ],
1500 proofread_file: "online-system-api-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001501 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001502 " -referenceonly " +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001503 " -title \"Android SDK - Including system APIs.\" " +
1504 " -hide 101 " +
1505 " -hide 104 " +
1506 " -hide 108 " +
1507 " -toroot / -samplegroup Admin " +
1508 " -samplegroup Background " +
1509 " -samplegroup Connectivity " +
1510 " -samplegroup Content " +
1511 " -samplegroup Input " +
1512 " -samplegroup Media " +
1513 " -samplegroup Notification " +
1514 " -samplegroup RenderScript " +
1515 " -samplegroup Security " +
1516 " -samplegroup Sensors " +
1517 " -samplegroup System " +
1518 " -samplegroup Testing " +
1519 " -samplegroup UI " +
1520 " -samplegroup Views " +
1521 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1522 installable: false,
1523}
1524
1525droiddoc {
1526 name: "ds-docs",
1527 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001528 srcs: [
1529 ":framework-doc-stubs",
1530 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001531 hdf: [
1532 "android.whichdoc online",
1533 "android.hasSamples true",
1534 ],
1535 proofread_file: "ds-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001536 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001537 " -toroot / -samplegroup Admin " +
1538 " -samplegroup Background " +
1539 " -samplegroup Connectivity " +
1540 " -samplegroup Content " +
1541 " -samplegroup Input " +
1542 " -samplegroup Media " +
1543 " -samplegroup Notification " +
1544 " -samplegroup RenderScript " +
1545 " -samplegroup Security " +
1546 " -samplegroup Sensors " +
1547 " -samplegroup System " +
1548 " -samplegroup Testing " +
1549 " -samplegroup UI " +
1550 " -samplegroup Views " +
1551 " -samplegroup Wearable -devsite -samplesdir development/samples/browseable ",
1552}
1553
1554droiddoc {
1555 name: "ds-static-docs",
1556 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001557 srcs: [
1558 ":framework-doc-stubs",
1559 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001560 hdf: [
1561 "android.whichdoc online",
1562 ],
1563 proofread_file: "ds-static-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001564 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001565 " -staticonly " +
1566 " -toroot / " +
1567 " -devsite " +
1568 " -ignoreJdLinks ",
1569}
1570
1571droiddoc {
1572 name: "ds-ref-navtree-docs",
1573 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001574 srcs: [
1575 ":framework-doc-stubs",
1576 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001577 hdf: [
1578 "android.whichdoc online",
1579 ],
1580 proofread_file: "ds-ref-navtree-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001581 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001582 " -toroot / " +
1583 " -atLinksNavtree " +
1584 " -navtreeonly ",
1585}
1586
1587droiddoc {
1588 name: "online-sdk-dev-docs",
1589 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001590 srcs: [
1591 ":framework-doc-stubs",
1592 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001593 hdf: [
1594 "android.whichdoc online",
1595 "android.hasSamples true",
1596 ],
1597 proofread_file: "online-sdk-dev-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001598 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001599 " -toroot / -samplegroup Admin " +
1600 " -samplegroup Background " +
1601 " -samplegroup Connectivity " +
1602 " -samplegroup Content " +
1603 " -samplegroup Input " +
1604 " -samplegroup Media " +
1605 " -samplegroup Notification " +
1606 " -samplegroup RenderScript " +
1607 " -samplegroup Security " +
1608 " -samplegroup Sensors " +
1609 " -samplegroup System " +
1610 " -samplegroup Testing " +
1611 " -samplegroup UI " +
1612 " -samplegroup Views " +
1613 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1614}
1615
1616droiddoc {
1617 name: "hidden-docs",
1618 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001619 srcs: [
1620 ":framework-doc-stubs",
1621 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001622 proofread_file: "hidden-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001623 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001624 " -referenceonly " +
1625 " -title \"Android SDK - Including hidden APIs.\"",
1626}
1627
Nan Zhang7764a4b2018-08-22 11:27:31 -07001628droidstubs {
Colin Crossa2b78a72018-03-29 13:31:04 -07001629 name: "hwbinder-stubs-docs",
1630 srcs: [
1631 "core/java/android/os/HidlSupport.java",
1632 "core/java/android/annotation/IntDef.java",
1633 "core/java/android/annotation/NonNull.java",
1634 "core/java/android/annotation/SystemApi.java",
1635 "core/java/android/os/HwBinder.java",
1636 "core/java/android/os/HwBlob.java",
1637 "core/java/android/os/HwParcel.java",
1638 "core/java/android/os/IHwBinder.java",
1639 "core/java/android/os/IHwInterface.java",
1640 "core/java/android/os/DeadObjectException.java",
1641 "core/java/android/os/DeadSystemException.java",
Nirav Atre9850dd92018-07-24 17:03:44 -07001642 "core/java/android/os/NativeHandle.java",
Colin Crossa2b78a72018-03-29 13:31:04 -07001643 "core/java/android/os/RemoteException.java",
1644 "core/java/android/util/AndroidException.java",
1645 ],
Colin Crossa2b78a72018-03-29 13:31:04 -07001646 installable: false,
1647 no_framework_libs: true,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001648 annotations_enabled: true,
1649 previous_api: ":last-released-public-api",
1650 merge_annotations_dirs: [
1651 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001652 "ojluni-annotated-sdk-stubs",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001653 ],
1654 args: " --show-annotation android.annotation.SystemApi",
Colin Crossa2b78a72018-03-29 13:31:04 -07001655}
1656
1657java_library_static {
1658 name: "hwbinder.stubs",
1659 sdk_version: "core_current",
1660 srcs: [
1661 ":hwbinder-stubs-docs",
1662 ],
1663}
Nan Zhanga0f91af2018-04-09 17:41:51 -07001664
Nan Zhang894c9ec2018-09-10 18:58:39 -07001665droidstubs {
Nan Zhangd25ad462018-08-22 10:48:15 -07001666 name: "hiddenapi-lists-docs",
1667 defaults: ["metalava-api-stubs-default"],
David Brazdil4f9d4d52018-04-26 14:05:13 +01001668 arg_files: [
1669 "core/res/AndroidManifest.xml",
David Brazdil4f9d4d52018-04-26 14:05:13 +01001670 ],
David Brazdil6f6a1262018-05-31 13:58:41 +01001671 dex_api_filename: "public-dex.txt",
David Brazdil4f9d4d52018-04-26 14:05:13 +01001672 private_dex_api_filename: "private-dex.txt",
1673 removed_dex_api_filename: "removed-dex.txt",
Nan Zhangd25ad462018-08-22 10:48:15 -07001674 args: metalava_framework_docs_args +
1675 " --show-unannotated " +
1676 " --show-annotation android.annotation.SystemApi " +
1677 " --show-annotation android.annotation.TestApi "
David Brazdil4f9d4d52018-04-26 14:05:13 +01001678}
1679
Nan Zhangd25ad462018-08-22 10:48:15 -07001680
Nan Zhang7764a4b2018-08-22 11:27:31 -07001681droidstubs {
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001682 name: "hiddenapi-mappings",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001683 defaults: ["metalava-api-stubs-default"],
Paul Duffina0cb5382018-10-31 10:34:51 +00001684 srcs: [
1685 ":openjdk_java_files",
1686 ":non_openjdk_java_files",
1687 ],
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001688 arg_files: [
1689 "core/res/AndroidManifest.xml",
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001690 ],
1691 dex_mapping_filename: "dex-mapping.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001692 args: metalava_framework_docs_args +
Adrian Roos9bdbd302018-12-07 13:53:40 +01001693 " --hide ReferencesHidden " +
Adrian Roosc6e2fc82018-12-12 15:08:44 +01001694 " --hide UnhiddenSystemApi " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001695 " --show-unannotated " +
1696 " --show-annotation android.annotation.SystemApi " +
1697 " --show-annotation android.annotation.TestApi "
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001698}
1699
Nan Zhanga0f91af2018-04-09 17:41:51 -07001700filegroup {
1701 name: "apache-http-stubs-sources",
1702 srcs: [
1703 "core/java/org/apache/http/conn/ConnectTimeoutException.java",
1704 "core/java/org/apache/http/conn/scheme/HostNameResolver.java",
1705 "core/java/org/apache/http/conn/scheme/LayeredSocketFactory.java",
1706 "core/java/org/apache/http/conn/scheme/SocketFactory.java",
1707 "core/java/org/apache/http/conn/ssl/AbstractVerifier.java",
1708 "core/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java",
1709 "core/java/org/apache/http/conn/ssl/AndroidDistinguishedNameParser.java",
1710 "core/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java",
1711 "core/java/org/apache/http/conn/ssl/SSLSocketFactory.java",
1712 "core/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java",
1713 "core/java/org/apache/http/conn/ssl/X509HostnameVerifier.java",
1714 "core/java/org/apache/http/params/CoreConnectionPNames.java",
1715 "core/java/org/apache/http/params/HttpConnectionParams.java",
1716 "core/java/org/apache/http/params/HttpParams.java",
Nan Zhanga0f91af2018-04-09 17:41:51 -07001717 "core/java/android/net/http/SslCertificate.java",
1718 "core/java/android/net/http/SslError.java",
1719 "core/java/com/android/internal/util/HexDump.java",
1720 ],
1721}
Nan Zhang4212eb12018-04-25 17:23:33 -07001722
Nan Zhang894c9ec2018-09-10 18:58:39 -07001723droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001724 name: "api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001725 defaults: ["metalava-api-stubs-default"],
Nan Zhang4212eb12018-04-25 17:23:33 -07001726 api_filename: "public_api.txt",
1727 private_api_filename: "private.txt",
1728 removed_api_filename: "removed.txt",
1729 arg_files: [
1730 "core/res/AndroidManifest.xml",
1731 ],
1732 args: metalava_framework_docs_args,
Nan Zhange5612602018-08-16 16:16:00 -07001733 check_api: {
1734 current: {
1735 api_file: "api/current.txt",
1736 removed_api_file: "api/removed.txt",
1737 },
Nan Zhangcd060d92018-08-20 20:34:26 -07001738 last_released: {
1739 api_file: ":last-released-public-api",
1740 removed_api_file: "api/removed.txt",
1741 },
Nan Zhange5612602018-08-16 16:16:00 -07001742 },
Nan Zhang81f29f52018-09-17 14:33:08 -07001743 jdiff_enabled: true,
Nan Zhang4212eb12018-04-25 17:23:33 -07001744}
1745
Nan Zhang894c9ec2018-09-10 18:58:39 -07001746droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001747 name: "system-api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001748 defaults: ["metalava-api-stubs-default"],
Nan Zhang4d3f5012018-08-07 13:40:33 -07001749 api_tag_name: "SYSTEM",
Nan Zhang4212eb12018-04-25 17:23:33 -07001750 api_filename: "system-api.txt",
1751 private_api_filename: "system-private.txt",
1752 private_dex_api_filename: "system-private-dex.txt",
1753 removed_api_filename: "system-removed.txt",
1754 arg_files: [
1755 "core/res/AndroidManifest.xml",
1756 ],
1757 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi",
Nan Zhange5612602018-08-16 16:16:00 -07001758 check_api: {
1759 current: {
1760 api_file: "api/system-current.txt",
1761 removed_api_file: "api/system-removed.txt",
1762 },
Nan Zhangcd060d92018-08-20 20:34:26 -07001763 last_released: {
1764 api_file: ":last-released-system-api",
1765 removed_api_file: "api/system-removed.txt",
1766 },
Nan Zhange5612602018-08-16 16:16:00 -07001767 },
Nan Zhang81f29f52018-09-17 14:33:08 -07001768 jdiff_enabled: true,
Nan Zhang4212eb12018-04-25 17:23:33 -07001769}
1770
Nan Zhang894c9ec2018-09-10 18:58:39 -07001771droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001772 name: "test-api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001773 defaults: ["metalava-api-stubs-default"],
Nan Zhang4d3f5012018-08-07 13:40:33 -07001774 api_tag_name: "TEST",
Nan Zhang4212eb12018-04-25 17:23:33 -07001775 api_filename: "test-api.txt",
1776 removed_api_filename: "test-removed.txt",
1777 arg_files: [
1778 "core/res/AndroidManifest.xml",
1779 ],
1780 args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi",
Nan Zhange5612602018-08-16 16:16:00 -07001781 check_api: {
1782 current: {
1783 api_file: "api/test-current.txt",
1784 removed_api_file: "api/test-removed.txt",
1785 },
1786 },
Nan Zhang4212eb12018-04-25 17:23:33 -07001787}
Nan Zhangaf251302018-08-30 10:59:51 -07001788
1789filegroup {
1790 name: "framework-annotation-nonnull-srcs",
1791 srcs: [
1792 "core/java/android/annotation/NonNull.java",
1793 ],
1794}
Insun Kang06b25ae2018-11-20 10:05:44 +09001795
1796filegroup {
1797 name: "framework-media-annotation-srcs",
1798 srcs: [
1799 "core/java/android/annotation/CallbackExecutor.java",
Insun Kangf86a56c2019-01-22 17:16:07 +09001800 "core/java/android/annotation/CallSuper.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001801 "core/java/android/annotation/DrawableRes.java",
1802 "core/java/android/annotation/IntDef.java",
1803 "core/java/android/annotation/LongDef.java",
1804 "core/java/android/annotation/NonNull.java",
1805 "core/java/android/annotation/Nullable.java",
1806 "core/java/android/annotation/RequiresPermission.java",
1807 "core/java/android/annotation/SdkConstant.java",
1808 "core/java/android/annotation/StringDef.java",
Sungsoo Limbb3b4012019-01-23 13:17:53 +09001809 "core/java/android/annotation/SystemApi.java",
Dongwon Kang3584c662018-11-27 11:14:08 -08001810 "core/java/android/annotation/TestApi.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001811 "core/java/android/annotation/UnsupportedAppUsage.java",
Dongwon Kang3584c662018-11-27 11:14:08 -08001812 "core/java/com/android/internal/annotations/GuardedBy.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001813 ],
1814}
1815