blob: e9fb93e2decbb0804acb42ea354830d4b5971b4a [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
28java_library {
29 name: "framework",
30
31 srcs: [
32 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
33 "core/java/**/*.java",
34 "graphics/java/**/*.java",
35 "location/java/**/*.java",
36 "lowpan/java/**/*.java",
37 "media/java/**/*.java",
38 "media/mca/effect/java/**/*.java",
39 "media/mca/filterfw/java/**/*.java",
40 "media/mca/filterpacks/java/**/*.java",
41 "drm/java/**/*.java",
42 "opengl/java/**/*.java",
43 "sax/java/**/*.java",
44 "telecomm/java/**/*.java",
45 "telephony/java/**/*.java",
46 "wifi/java/**/*.java",
47 "keystore/java/**/*.java",
48 "rs/java/**/*.java",
49
50 ":framework-javastream-protos",
51
52 "core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl",
53 "core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl",
54 "core/java/android/accounts/IAccountManager.aidl",
55 "core/java/android/accounts/IAccountManagerResponse.aidl",
56 "core/java/android/accounts/IAccountAuthenticator.aidl",
57 "core/java/android/accounts/IAccountAuthenticatorResponse.aidl",
58 "core/java/android/app/IActivityController.aidl",
59 "core/java/android/app/IActivityManager.aidl",
60 "core/java/android/app/IActivityPendingResult.aidl",
Wale Ogunwale65ebd952018-04-25 15:41:44 -070061 "core/java/android/app/IActivityTaskManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -080062 "core/java/android/app/IAlarmCompleteListener.aidl",
63 "core/java/android/app/IAlarmListener.aidl",
64 "core/java/android/app/IAlarmManager.aidl",
65 "core/java/android/app/IAppTask.aidl",
66 "core/java/android/app/IApplicationThread.aidl",
67 "core/java/android/app/IAssistDataReceiver.aidl",
68 "core/java/android/app/ITaskStackListener.aidl",
69 "core/java/android/app/IBackupAgent.aidl",
70 "core/java/android/app/IEphemeralResolver.aidl",
71 "core/java/android/app/IInputForwarder.aidl",
72 "core/java/android/app/IInstantAppResolver.aidl",
73 "core/java/android/app/IInstrumentationWatcher.aidl",
74 "core/java/android/app/INotificationManager.aidl",
75 "core/java/android/app/IProcessObserver.aidl",
76 "core/java/android/app/ISearchManager.aidl",
77 "core/java/android/app/ISearchManagerCallback.aidl",
78 "core/java/android/app/IServiceConnection.aidl",
79 "core/java/android/app/IStopUserCallback.aidl",
80 "core/java/android/app/job/IJobCallback.aidl",
81 "core/java/android/app/job/IJobScheduler.aidl",
82 "core/java/android/app/job/IJobService.aidl",
83 "core/java/android/app/ITransientNotification.aidl",
84 "core/java/android/app/IUidObserver.aidl",
85 "core/java/android/app/IUiAutomationConnection.aidl",
86 "core/java/android/app/IUiModeManager.aidl",
87 "core/java/android/app/IUserSwitchObserver.aidl",
88 "core/java/android/app/IWallpaperManager.aidl",
89 "core/java/android/app/IWallpaperManagerCallback.aidl",
90 "core/java/android/app/admin/IDeviceAdminService.aidl",
91 "core/java/android/app/admin/IDevicePolicyManager.aidl",
92 "core/java/android/app/trust/IStrongAuthTracker.aidl",
93 "core/java/android/app/trust/ITrustManager.aidl",
94 "core/java/android/app/trust/ITrustListener.aidl",
95 "core/java/android/app/backup/IBackupManager.aidl",
96 "core/java/android/app/backup/IBackupObserver.aidl",
97 "core/java/android/app/backup/IBackupManagerMonitor.aidl",
98 "core/java/android/app/backup/IFullBackupRestoreObserver.aidl",
99 "core/java/android/app/backup/IRestoreObserver.aidl",
100 "core/java/android/app/backup/IRestoreSession.aidl",
101 "core/java/android/app/backup/ISelectBackupTransportCallback.aidl",
Jason Monk8f5f7ff2017-10-17 14:12:42 -0400102 "core/java/android/app/slice/ISliceManager.aidl",
Jason Monk74f5e362017-12-06 08:56:33 -0500103 "core/java/android/app/slice/ISliceListener.aidl",
Neil Fullerfeeee682018-05-30 14:35:24 +0100104 "core/java/android/app/timedetector/ITimeDetectorService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800105 "core/java/android/app/timezone/ICallback.aidl",
106 "core/java/android/app/timezone/IRulesManager.aidl",
107 "core/java/android/app/usage/ICacheQuotaService.aidl",
108 "core/java/android/app/usage/IStorageStatsManager.aidl",
109 "core/java/android/app/usage/IUsageStatsManager.aidl",
110 ":libbluetooth-binder-aidl",
111 "core/java/android/content/IClipboard.aidl",
112 "core/java/android/content/IContentService.aidl",
113 "core/java/android/content/IIntentReceiver.aidl",
114 "core/java/android/content/IIntentSender.aidl",
115 "core/java/android/content/IOnPrimaryClipChangedListener.aidl",
116 "core/java/android/content/IRestrictionsManager.aidl",
117 "core/java/android/content/ISyncAdapter.aidl",
Philip P. Moltmann486b2412018-01-03 11:29:01 -0800118 "core/java/android/content/ISyncAdapterUnsyncableAccountCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800119 "core/java/android/content/ISyncContext.aidl",
120 "core/java/android/content/ISyncServiceAdapter.aidl",
121 "core/java/android/content/ISyncStatusObserver.aidl",
122 "core/java/android/content/om/IOverlayManager.aidl",
Tony Makb0d22622018-01-18 12:49:49 +0000123 "core/java/android/content/pm/ICrossProfileApps.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800124 "core/java/android/content/pm/IDexModuleRegisterCallback.aidl",
125 "core/java/android/content/pm/ILauncherApps.aidl",
126 "core/java/android/content/pm/IOnAppsChangedListener.aidl",
127 "core/java/android/content/pm/IOnPermissionsChangeListener.aidl",
128 "core/java/android/content/pm/IOtaDexopt.aidl",
129 "core/java/android/content/pm/IPackageDataObserver.aidl",
130 "core/java/android/content/pm/IPackageDeleteObserver.aidl",
131 "core/java/android/content/pm/IPackageDeleteObserver2.aidl",
132 "core/java/android/content/pm/IPackageInstallObserver2.aidl",
133 "core/java/android/content/pm/IPackageInstaller.aidl",
134 "core/java/android/content/pm/IPackageInstallerCallback.aidl",
135 "core/java/android/content/pm/IPackageInstallerSession.aidl",
136 "core/java/android/content/pm/IPackageManager.aidl",
137 ":libbinder_aidl",
138 "core/java/android/content/pm/IPackageMoveObserver.aidl",
139 "core/java/android/content/pm/IPackageStatsObserver.aidl",
140 "core/java/android/content/pm/IPinItemRequest.aidl",
141 "core/java/android/content/pm/IShortcutService.aidl",
Calin Juravle45f8b292017-11-07 18:49:43 -0800142 "core/java/android/content/pm/dex/IArtManager.aidl",
143 "core/java/android/content/pm/dex/ISnapshotRuntimeProfileCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800144 "core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl",
145 "core/java/android/database/IContentObserver.aidl",
146 ":libcamera_client_aidl",
147 ":libcamera_client_framework_aidl",
148 "core/java/android/hardware/IConsumerIrService.aidl",
149 "core/java/android/hardware/ISerialManager.aidl",
Vishwath Mohanecf00ce2018-04-05 10:28:24 -0700150 "core/java/android/hardware/biometrics/IBiometricPromptReceiver.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800151 "core/java/android/hardware/display/IDisplayManager.aidl",
152 "core/java/android/hardware/display/IDisplayManagerCallback.aidl",
153 "core/java/android/hardware/display/IVirtualDisplayCallback.aidl",
Kevin Chynaae4a152018-01-18 11:48:09 -0800154 "core/java/android/hardware/fingerprint/IFingerprintClientActiveCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800155 "core/java/android/hardware/fingerprint/IFingerprintService.aidl",
156 "core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800157 "core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl",
158 "core/java/android/hardware/hdmi/IHdmiControlCallback.aidl",
159 "core/java/android/hardware/hdmi/IHdmiControlService.aidl",
160 "core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl",
161 "core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl",
162 "core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl",
163 "core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl",
164 "core/java/android/hardware/hdmi/IHdmiRecordListener.aidl",
165 "core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl",
166 "core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl",
167 "core/java/android/hardware/input/IInputManager.aidl",
168 "core/java/android/hardware/input/IInputDevicesChangedListener.aidl",
169 "core/java/android/hardware/input/ITabletModeChangedListener.aidl",
170 "core/java/android/hardware/location/IActivityRecognitionHardware.aidl",
171 "core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl",
172 "core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl",
173 "core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800174 "core/java/android/hardware/location/IGeofenceHardware.aidl",
175 "core/java/android/hardware/location/IGeofenceHardwareCallback.aidl",
176 "core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl",
177 "core/java/android/hardware/location/IContextHubCallback.aidl",
178 "core/java/android/hardware/location/IContextHubClient.aidl",
179 "core/java/android/hardware/location/IContextHubClientCallback.aidl",
180 "core/java/android/hardware/location/IContextHubService.aidl",
181 "core/java/android/hardware/location/IContextHubTransactionCallback.aidl",
Tomasz Wasilczykf151a7b2018-01-11 16:03:46 -0800182 "core/java/android/hardware/radio/IAnnouncementListener.aidl",
183 "core/java/android/hardware/radio/ICloseHandle.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800184 "core/java/android/hardware/radio/IRadioService.aidl",
185 "core/java/android/hardware/radio/ITuner.aidl",
186 "core/java/android/hardware/radio/ITunerCallback.aidl",
187 "core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl",
188 "core/java/android/hardware/usb/IUsbManager.aidl",
189 "core/java/android/net/ICaptivePortal.aidl",
190 "core/java/android/net/IConnectivityManager.aidl",
191 "core/java/android/net/IIpConnectivityMetrics.aidl",
192 "core/java/android/net/IEthernetManager.aidl",
193 "core/java/android/net/IEthernetServiceListener.aidl",
194 "core/java/android/net/INetdEventCallback.aidl",
195 "core/java/android/net/IIpSecService.aidl",
196 "core/java/android/net/INetworkManagementEventObserver.aidl",
197 "core/java/android/net/INetworkPolicyListener.aidl",
198 "core/java/android/net/INetworkPolicyManager.aidl",
199 "core/java/android/net/INetworkRecommendationProvider.aidl",
200 "core/java/android/net/INetworkScoreCache.aidl",
201 "core/java/android/net/INetworkScoreService.aidl",
202 "core/java/android/net/INetworkStatsService.aidl",
203 "core/java/android/net/INetworkStatsSession.aidl",
204 "core/java/android/net/ITetheringStatsProvider.aidl",
205 "core/java/android/net/nsd/INsdManager.aidl",
206 "core/java/android/nfc/IAppCallback.aidl",
207 "core/java/android/nfc/INfcAdapter.aidl",
208 "core/java/android/nfc/INfcAdapterExtras.aidl",
209 "core/java/android/nfc/INfcTag.aidl",
210 "core/java/android/nfc/INfcCardEmulation.aidl",
211 "core/java/android/nfc/INfcFCardEmulation.aidl",
212 "core/java/android/nfc/INfcUnlockHandler.aidl",
213 "core/java/android/nfc/INfcDta.aidl",
214 "core/java/android/nfc/ITagRemovedCallback.aidl",
Ruchi Kandoia1f94012017-12-08 15:07:03 -0800215 "core/java/android/se/omapi/ISecureElementService.aidl",
216 "core/java/android/se/omapi/ISecureElementListener.aidl",
217 "core/java/android/se/omapi/ISecureElementChannel.aidl",
218 "core/java/android/se/omapi/ISecureElementReader.aidl",
219 "core/java/android/se/omapi/ISecureElementSession.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800220 "core/java/android/os/IBatteryPropertiesRegistrar.aidl",
221 "core/java/android/os/ICancellationSignal.aidl",
222 "core/java/android/os/IDeviceIdentifiersPolicyService.aidl",
223 "core/java/android/os/IDeviceIdleController.aidl",
224 "core/java/android/os/IHardwarePropertiesManager.aidl",
225 "core/java/android/os/IIncidentManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800226 "core/java/android/os/IIncidentReportStatusListener.aidl",
227 "core/java/android/os/IMaintenanceActivityListener.aidl",
228 "core/java/android/os/IMessenger.aidl",
229 "core/java/android/os/INetworkActivityListener.aidl",
230 "core/java/android/os/INetworkManagementService.aidl",
231 "core/java/android/os/IPermissionController.aidl",
232 "core/java/android/os/IProcessInfoService.aidl",
233 "core/java/android/os/IProgressListener.aidl",
234 "core/java/android/os/IPowerManager.aidl",
235 "core/java/android/os/IRecoverySystem.aidl",
236 "core/java/android/os/IRecoverySystemProgressListener.aidl",
237 "core/java/android/os/IRemoteCallback.aidl",
238 "core/java/android/os/ISchedulingPolicyService.aidl",
239 "core/java/android/os/IStatsCompanionService.aidl",
240 "core/java/android/os/IStatsManager.aidl",
Tao Bao07342dc2017-01-24 15:08:21 -0800241 "core/java/android/os/ISystemUpdateManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800242 "core/java/android/os/IThermalEventListener.aidl",
243 "core/java/android/os/IThermalService.aidl",
244 "core/java/android/os/IUpdateLock.aidl",
245 "core/java/android/os/IUserManager.aidl",
246 "core/java/android/os/IVibratorService.aidl",
247 "core/java/android/os/storage/IStorageManager.aidl",
248 "core/java/android/os/storage/IStorageEventListener.aidl",
249 "core/java/android/os/storage/IStorageShutdownObserver.aidl",
250 "core/java/android/os/storage/IObbActionListener.aidl",
Logan Chien404eb2b2018-02-14 13:53:04 +0800251 ":keystore_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800252 "core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl",
253 "core/java/android/service/autofill/IAutoFillService.aidl",
Felipe Lemebc055b02018-01-05 17:04:10 -0800254 "core/java/android/service/autofill/IAutofillFieldClassificationService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800255 "core/java/android/service/autofill/IFillCallback.aidl",
256 "core/java/android/service/autofill/ISaveCallback.aidl",
257 "core/java/android/service/carrier/ICarrierService.aidl",
258 "core/java/android/service/carrier/ICarrierMessagingCallback.aidl",
259 "core/java/android/service/carrier/ICarrierMessagingService.aidl",
260 "core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl",
261 "core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl",
262 "core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl",
263 "core/java/android/service/euicc/IEuiccService.aidl",
264 "core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl",
265 "core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl",
266 "core/java/android/service/euicc/IGetEidCallback.aidl",
267 "core/java/android/service/euicc/IGetEuiccInfoCallback.aidl",
268 "core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl",
Qingxi Li54058362017-12-13 15:13:02 -0800269 "core/java/android/service/euicc/IGetOtaStatusCallback.aidl",
Qingxi Li6019f9c2017-12-14 15:36:06 -0800270 "core/java/android/service/euicc/IOtaStatusChangedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800271 "core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl",
272 "core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl",
273 "core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl",
274 "core/java/android/service/gatekeeper/IGateKeeperService.aidl",
275 "core/java/android/service/notification/INotificationListener.aidl",
276 "core/java/android/service/notification/IStatusBarNotificationHolder.aidl",
277 "core/java/android/service/notification/IConditionListener.aidl",
278 "core/java/android/service/notification/IConditionProvider.aidl",
279 "core/java/android/service/settings/suggestions/ISuggestionService.aidl",
280 "core/java/android/service/vr/IPersistentVrStateCallbacks.aidl",
281 "core/java/android/service/vr/IVrListener.aidl",
282 "core/java/android/service/vr/IVrManager.aidl",
283 "core/java/android/service/vr/IVrStateCallbacks.aidl",
284 "core/java/android/print/ILayoutResultCallback.aidl",
285 "core/java/android/print/IPrinterDiscoveryObserver.aidl",
286 "core/java/android/print/IPrintDocumentAdapter.aidl",
287 "core/java/android/print/IPrintDocumentAdapterObserver.aidl",
288 "core/java/android/print/IPrintJobStateChangeListener.aidl",
289 "core/java/android/print/IPrintServicesChangeListener.aidl",
290 "core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl",
291 "core/java/android/print/IPrintManager.aidl",
292 "core/java/android/print/IPrintSpooler.aidl",
293 "core/java/android/print/IPrintSpoolerCallbacks.aidl",
294 "core/java/android/print/IPrintSpoolerClient.aidl",
295 "core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl",
296 "core/java/android/printservice/recommendation/IRecommendationService.aidl",
297 "core/java/android/print/IWriteResultCallback.aidl",
298 "core/java/android/printservice/IPrintService.aidl",
299 "core/java/android/printservice/IPrintServiceClient.aidl",
300 "core/java/android/companion/ICompanionDeviceManager.aidl",
301 "core/java/android/companion/ICompanionDeviceDiscoveryService.aidl",
302 "core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl",
303 "core/java/android/companion/IFindDeviceCallback.aidl",
304 "core/java/android/service/dreams/IDreamManager.aidl",
305 "core/java/android/service/dreams/IDreamService.aidl",
306 "core/java/android/service/oemlock/IOemLockService.aidl",
307 "core/java/android/service/persistentdata/IPersistentDataBlockService.aidl",
308 "core/java/android/service/trust/ITrustAgentService.aidl",
309 "core/java/android/service/trust/ITrustAgentServiceCallback.aidl",
310 "core/java/android/service/voice/IVoiceInteractionService.aidl",
311 "core/java/android/service/voice/IVoiceInteractionSession.aidl",
312 "core/java/android/service/voice/IVoiceInteractionSessionService.aidl",
313 "core/java/android/service/wallpaper/IWallpaperConnection.aidl",
314 "core/java/android/service/wallpaper/IWallpaperEngine.aidl",
315 "core/java/android/service/wallpaper/IWallpaperService.aidl",
316 "core/java/android/service/chooser/IChooserTargetService.aidl",
317 "core/java/android/service/chooser/IChooserTargetResult.aidl",
318 "core/java/android/service/resolver/IResolverRankerService.aidl",
319 "core/java/android/service/resolver/IResolverRankerResult.aidl",
Abodunrinwa Tokid32906c2018-01-18 04:34:44 -0800320 "core/java/android/service/textclassifier/ITextClassificationCallback.aidl",
321 "core/java/android/service/textclassifier/ITextClassifierService.aidl",
322 "core/java/android/service/textclassifier/ITextLinksCallback.aidl",
323 "core/java/android/service/textclassifier/ITextSelectionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800324 "core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl",
325 "core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl",
326 "core/java/android/view/accessibility/IAccessibilityManager.aidl",
327 "core/java/android/view/accessibility/IAccessibilityManagerClient.aidl",
328 "core/java/android/view/autofill/IAutoFillManager.aidl",
329 "core/java/android/view/autofill/IAutoFillManagerClient.aidl",
330 "core/java/android/view/autofill/IAutofillWindowPresenter.aidl",
331 "core/java/android/view/IApplicationToken.aidl",
332 "core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl",
333 "core/java/android/view/IDockedStackListener.aidl",
334 "core/java/android/view/IGraphicsStats.aidl",
335 "core/java/android/view/IGraphicsStatsCallback.aidl",
336 "core/java/android/view/IInputFilter.aidl",
337 "core/java/android/view/IInputFilterHost.aidl",
338 "core/java/android/view/IOnKeyguardExitResult.aidl",
339 "core/java/android/view/IPinnedStackController.aidl",
340 "core/java/android/view/IPinnedStackListener.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100341 "core/java/android/view/IRemoteAnimationRunner.aidl",
Winson Chunge2d72172018-01-25 17:46:20 +0000342 "core/java/android/view/IRecentsAnimationController.aidl",
343 "core/java/android/view/IRecentsAnimationRunner.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100344 "core/java/android/view/IRemoteAnimationFinishedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800345 "core/java/android/view/IRotationWatcher.aidl",
346 "core/java/android/view/IWallpaperVisibilityListener.aidl",
347 "core/java/android/view/IWindow.aidl",
348 "core/java/android/view/IWindowFocusObserver.aidl",
349 "core/java/android/view/IWindowId.aidl",
350 "core/java/android/view/IWindowManager.aidl",
351 "core/java/android/view/IWindowSession.aidl",
352 "core/java/android/view/IWindowSessionCallback.aidl",
353 "core/java/android/webkit/IWebViewUpdateService.aidl",
354 "core/java/android/speech/IRecognitionListener.aidl",
355 "core/java/android/speech/IRecognitionService.aidl",
356 "core/java/android/speech/tts/ITextToSpeechCallback.aidl",
357 "core/java/android/speech/tts/ITextToSpeechService.aidl",
Svetoslav Ganov2d20fb42018-02-08 15:52:10 -0800358 "core/java/com/android/internal/app/IAppOpsActiveCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800359 "core/java/com/android/internal/app/IAppOpsCallback.aidl",
360 "core/java/com/android/internal/app/IAppOpsService.aidl",
361 "core/java/com/android/internal/app/IBatteryStats.aidl",
362 "core/java/com/android/internal/app/ISoundTriggerService.aidl",
363 "core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl",
364 "core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl",
365 "core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl",
366 "core/java/com/android/internal/app/IVoiceInteractor.aidl",
367 "core/java/com/android/internal/app/IVoiceInteractorCallback.aidl",
368 "core/java/com/android/internal/app/IVoiceInteractorRequest.aidl",
369 "core/java/com/android/internal/app/IMediaContainerService.aidl",
370 "core/java/com/android/internal/app/procstats/IProcessStats.aidl",
371 "core/java/com/android/internal/appwidget/IAppWidgetService.aidl",
372 "core/java/com/android/internal/appwidget/IAppWidgetHost.aidl",
373 "core/java/com/android/internal/backup/IBackupTransport.aidl",
374 "core/java/com/android/internal/backup/IObbBackupService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800375 "core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl",
376 "core/java/com/android/internal/net/INetworkWatchlistManager.aidl",
377 "core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl",
378 "core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl",
379 "core/java/com/android/internal/policy/IKeyguardExitCallback.aidl",
380 "core/java/com/android/internal/policy/IKeyguardService.aidl",
381 "core/java/com/android/internal/policy/IKeyguardStateCallback.aidl",
382 "core/java/com/android/internal/policy/IShortcutService.aidl",
383 "core/java/com/android/internal/os/IDropBoxManagerService.aidl",
384 "core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl",
385 "core/java/com/android/internal/os/IResultReceiver.aidl",
386 "core/java/com/android/internal/os/IShellCallback.aidl",
387 "core/java/com/android/internal/statusbar/IStatusBar.aidl",
388 "core/java/com/android/internal/statusbar/IStatusBarService.aidl",
389 "core/java/com/android/internal/textservice/ISpellCheckerService.aidl",
390 "core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl",
391 "core/java/com/android/internal/textservice/ISpellCheckerSession.aidl",
392 "core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl",
393 "core/java/com/android/internal/textservice/ITextServicesManager.aidl",
394 "core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl",
395 "core/java/com/android/internal/view/IDragAndDropPermissions.aidl",
396 "core/java/com/android/internal/view/IInputContext.aidl",
397 "core/java/com/android/internal/view/IInputContextCallback.aidl",
398 "core/java/com/android/internal/view/IInputMethod.aidl",
399 "core/java/com/android/internal/view/IInputMethodClient.aidl",
400 "core/java/com/android/internal/view/IInputMethodManager.aidl",
401 "core/java/com/android/internal/view/IInputMethodSession.aidl",
402 "core/java/com/android/internal/view/IInputSessionCallback.aidl",
403 "core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl",
404 "core/java/com/android/internal/widget/ILockSettings.aidl",
405 "core/java/com/android/internal/widget/IRemoteViewsFactory.aidl",
406 "keystore/java/android/security/IKeyChainAliasCallback.aidl",
407 "keystore/java/android/security/IKeyChainService.aidl",
408 "location/java/android/location/IBatchedLocationCallback.aidl",
409 "location/java/android/location/ICountryDetector.aidl",
410 "location/java/android/location/ICountryListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800411 "location/java/android/location/IGeocodeProvider.aidl",
412 "location/java/android/location/IGeofenceProvider.aidl",
413 "location/java/android/location/IGnssStatusListener.aidl",
414 "location/java/android/location/IGnssStatusProvider.aidl",
415 "location/java/android/location/IGnssMeasurementsListener.aidl",
416 "location/java/android/location/IGnssNavigationMessageListener.aidl",
417 "location/java/android/location/ILocationListener.aidl",
418 "location/java/android/location/ILocationManager.aidl",
419 "location/java/android/location/IFusedGeofenceHardware.aidl",
420 "location/java/android/location/IGpsGeofenceHardware.aidl",
421 "location/java/android/location/INetInitiatedListener.aidl",
422 "location/java/com/android/internal/location/ILocationProvider.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800423 "media/java/android/media/IAudioFocusDispatcher.aidl",
424 "media/java/android/media/IAudioRoutesObserver.aidl",
Jaewan Kim379e30d2018-01-29 11:57:04 +0900425 "media/java/android/media/IAudioService.aidl",
Eric Laurent1d3cdce2018-01-20 10:31:21 -0800426 "media/java/android/media/IAudioServerStateDispatcher.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800427 "media/java/android/media/IMediaHTTPConnection.aidl",
428 "media/java/android/media/IMediaHTTPService.aidl",
429 "media/java/android/media/IMediaResourceMonitor.aidl",
430 "media/java/android/media/IMediaRouterClient.aidl",
431 "media/java/android/media/IMediaRouterService.aidl",
432 "media/java/android/media/IMediaScannerListener.aidl",
433 "media/java/android/media/IMediaScannerService.aidl",
434 "media/java/android/media/IPlaybackConfigDispatcher.aidl",
Jaewan Kim379e30d2018-01-29 11:57:04 +0900435 "media/java/android/media/ISessionTokensListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800436 ":libaudioclient_aidl",
437 "media/java/android/media/IRecordingConfigDispatcher.aidl",
438 "media/java/android/media/IRemoteDisplayCallback.aidl",
439 "media/java/android/media/IRemoteDisplayProvider.aidl",
440 "media/java/android/media/IRemoteVolumeController.aidl",
441 "media/java/android/media/IRemoteVolumeObserver.aidl",
442 "media/java/android/media/IRingtonePlayer.aidl",
443 "media/java/android/media/IVolumeController.aidl",
444 "media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl",
445 "media/java/android/media/midi/IBluetoothMidiService.aidl",
446 "media/java/android/media/midi/IMidiDeviceListener.aidl",
447 "media/java/android/media/midi/IMidiDeviceOpenCallback.aidl",
448 "media/java/android/media/midi/IMidiDeviceServer.aidl",
449 "media/java/android/media/midi/IMidiManager.aidl",
450 "media/java/android/media/projection/IMediaProjection.aidl",
451 "media/java/android/media/projection/IMediaProjectionCallback.aidl",
452 "media/java/android/media/projection/IMediaProjectionManager.aidl",
453 "media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl",
454 "media/java/android/media/session/IActiveSessionsListener.aidl",
455 "media/java/android/media/session/ICallback.aidl",
456 "media/java/android/media/session/IOnMediaKeyListener.aidl",
457 "media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl",
458 "media/java/android/media/session/ISession.aidl",
459 "media/java/android/media/session/ISessionCallback.aidl",
460 "media/java/android/media/session/ISessionController.aidl",
461 "media/java/android/media/session/ISessionControllerCallback.aidl",
462 "media/java/android/media/session/ISessionManager.aidl",
Philip P. Moltmann18e3eb82018-03-09 16:55:55 -0800463 "media/java/android/media/soundtrigger/ISoundTriggerDetectionService.aidl",
464 "media/java/android/media/soundtrigger/ISoundTriggerDetectionServiceClient.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800465 "media/java/android/media/tv/ITvInputClient.aidl",
466 "media/java/android/media/tv/ITvInputHardware.aidl",
467 "media/java/android/media/tv/ITvInputHardwareCallback.aidl",
468 "media/java/android/media/tv/ITvInputManager.aidl",
469 "media/java/android/media/tv/ITvInputManagerCallback.aidl",
470 "media/java/android/media/tv/ITvInputService.aidl",
471 "media/java/android/media/tv/ITvInputServiceCallback.aidl",
472 "media/java/android/media/tv/ITvInputSession.aidl",
473 "media/java/android/media/tv/ITvInputSessionCallback.aidl",
474 "media/java/android/media/tv/ITvRemoteProvider.aidl",
475 "media/java/android/media/tv/ITvRemoteServiceInput.aidl",
476 "media/java/android/service/media/IMediaBrowserService.aidl",
477 "media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl",
478 "telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl",
479 "telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl",
480 "telecomm/java/com/android/internal/telecom/IVideoCallback.aidl",
481 "telecomm/java/com/android/internal/telecom/IVideoProvider.aidl",
482 "telecomm/java/com/android/internal/telecom/IConnectionService.aidl",
483 "telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl",
484 "telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl",
485 "telecomm/java/com/android/internal/telecom/IInCallService.aidl",
486 "telecomm/java/com/android/internal/telecom/ITelecomService.aidl",
487 "telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl",
Mohamed Abdalkader48e18c52018-01-22 15:43:37 -0800488 "telephony/java/android/telephony/data/IDataService.aidl",
489 "telephony/java/android/telephony/data/IDataServiceCallback.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800490 "telephony/java/android/telephony/ims/aidl/IImsCallSessionListener.aidl",
Brad Ebinger112c36d2018-01-16 09:33:47 -0800491 "telephony/java/android/telephony/ims/aidl/IImsCapabilityCallback.aidl",
492 "telephony/java/android/telephony/ims/aidl/IImsConfig.aidl",
493 "telephony/java/android/telephony/ims/aidl/IImsConfigCallback.aidl",
494 "telephony/java/android/telephony/ims/aidl/IImsMmTelFeature.aidl",
495 "telephony/java/android/telephony/ims/aidl/IImsMmTelListener.aidl",
496 "telephony/java/android/telephony/ims/aidl/IImsRegistration.aidl",
497 "telephony/java/android/telephony/ims/aidl/IImsRegistrationCallback.aidl",
498 "telephony/java/android/telephony/ims/aidl/IImsRcsFeature.aidl",
499 "telephony/java/android/telephony/ims/aidl/IImsServiceController.aidl",
500 "telephony/java/android/telephony/ims/aidl/IImsServiceControllerListener.aidl",
Logan Chien71ddfea2018-02-27 16:43:50 +0800501 "telephony/java/android/telephony/ims/aidl/IImsSmsListener.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800502 "telephony/java/android/telephony/mbms/IMbmsDownloadSessionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800503 "telephony/java/android/telephony/mbms/IMbmsStreamingSessionCallback.aidl",
Hall Liu79539972018-03-19 18:12:23 -0700504 "telephony/java/android/telephony/mbms/IDownloadStatusListener.aidl",
505 "telephony/java/android/telephony/mbms/IDownloadProgressListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800506 "telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl",
507 "telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl",
508 "telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl",
Jack Yud5f1de12017-12-21 11:00:05 -0800509 "telephony/java/android/telephony/INetworkService.aidl",
510 "telephony/java/android/telephony/INetworkServiceCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800511 "telephony/java/com/android/ims/internal/IImsCallSession.aidl",
512 "telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl",
513 "telephony/java/com/android/ims/internal/IImsConfig.aidl",
514 "telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl",
515 "telephony/java/com/android/ims/internal/IImsEcbm.aidl",
516 "telephony/java/com/android/ims/internal/IImsEcbmListener.aidl",
517 "telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl",
518 "telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl",
519 "telephony/java/com/android/ims/internal/IImsMMTelFeature.aidl",
520 "telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl",
521 "telephony/java/com/android/ims/internal/IImsRcsFeature.aidl",
522 "telephony/java/com/android/ims/internal/IImsService.aidl",
523 "telephony/java/com/android/ims/internal/IImsServiceController.aidl",
524 "telephony/java/com/android/ims/internal/IImsServiceFeatureCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800525 "telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl",
526 "telephony/java/com/android/ims/internal/IImsUt.aidl",
527 "telephony/java/com/android/ims/internal/IImsUtListener.aidl",
528 "telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl",
529 "telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800530 "telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl",
531 "telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl",
532 "telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl",
533 "telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl",
534 "telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl",
535 "telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl",
536 "telephony/java/com/android/ims/ImsConfigListener.aidl",
537 "telephony/java/com/android/internal/telephony/IApnSourceService.aidl",
538 "telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl",
539 "telephony/java/com/android/internal/telephony/IMms.aidl",
540 "telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl",
541 "telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl",
542 "telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl",
543 "telephony/java/com/android/internal/telephony/ISms.aidl",
544 "telephony/java/com/android/internal/telephony/ISub.aidl",
545 "telephony/java/com/android/internal/telephony/ITelephony.aidl",
546 "telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl",
547 "telephony/java/com/android/internal/telephony/IWapPushManager.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800548 "telephony/java/com/android/internal/telephony/euicc/IAuthenticateServerCallback.aidl",
549 "telephony/java/com/android/internal/telephony/euicc/ICancelSessionCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800550 "telephony/java/com/android/internal/telephony/euicc/IDeleteProfileCallback.aidl",
551 "telephony/java/com/android/internal/telephony/euicc/IDisableProfileCallback.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800552 "telephony/java/com/android/internal/telephony/euicc/IEuiccCardController.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800553 "telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800554 "telephony/java/com/android/internal/telephony/euicc/IGetAllProfilesCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800555 "telephony/java/com/android/internal/telephony/euicc/IGetDefaultSmdpAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800556 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccChallengeCallback.aidl",
557 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo1Callback.aidl",
558 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo2Callback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800559 "telephony/java/com/android/internal/telephony/euicc/IGetProfileCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800560 "telephony/java/com/android/internal/telephony/euicc/IGetRulesAuthTableCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800561 "telephony/java/com/android/internal/telephony/euicc/IGetSmdsAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800562 "telephony/java/com/android/internal/telephony/euicc/IListNotificationsCallback.aidl",
563 "telephony/java/com/android/internal/telephony/euicc/ILoadBoundProfilePackageCallback.aidl",
564 "telephony/java/com/android/internal/telephony/euicc/IPrepareDownloadCallback.aidl",
565 "telephony/java/com/android/internal/telephony/euicc/IRemoveNotificationFromListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800566 "telephony/java/com/android/internal/telephony/euicc/IResetMemoryCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800567 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationCallback.aidl",
568 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800569 "telephony/java/com/android/internal/telephony/euicc/ISetDefaultSmdpAddressCallback.aidl",
570 "telephony/java/com/android/internal/telephony/euicc/ISetNicknameCallback.aidl",
571 "telephony/java/com/android/internal/telephony/euicc/ISwitchToProfileCallback.aidl",
Mehdi Alizadeh0037dde2017-11-28 15:31:28 -0800572 "wifi/java/android/net/wifi/ISoftApCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800573 "wifi/java/android/net/wifi/IWifiManager.aidl",
574 "wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl",
575 "wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl",
576 "wifi/java/android/net/wifi/aware/IWifiAwareMacAddressProvider.aidl",
577 "wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl",
578 "wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl",
579 "wifi/java/android/net/wifi/rtt/IRttCallback.aidl",
580 "wifi/java/android/net/wifi/rtt/IWifiRttManager.aidl",
581 "wifi/java/android/net/wifi/hotspot2/IProvisioningCallback.aidl",
582 "wifi/java/android/net/wifi/IWifiScanner.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800583 "packages/services/PacProcessor/com/android/net/IProxyService.aidl",
584 "packages/services/Proxy/com/android/net/IProxyCallback.aidl",
585 "packages/services/Proxy/com/android/net/IProxyPortListener.aidl",
586 "core/java/android/service/quicksettings/IQSService.aidl",
587 "core/java/android/service/quicksettings/IQSTileService.aidl",
588
589 ":libupdate_engine_aidl",
590
591 ":storaged_aidl",
592 ":netd_aidl",
593 ":vold_aidl",
594 ":installd_aidl",
595
596 "lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl",
597 "lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl",
598 "lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl",
599 "lowpan/java/android/net/lowpan/ILowpanInterface.aidl",
600 "lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl",
601 "lowpan/java/android/net/lowpan/ILowpanManager.aidl",
602
603 "core/java/android/app/admin/SecurityLogTags.logtags",
604 "core/java/android/content/EventLogTags.logtags",
605 "core/java/android/speech/tts/EventLogTags.logtags",
606 "core/java/android/net/EventLogTags.logtags",
Makoto Onuki49392d32018-04-11 13:51:02 -0700607 "core/java/android/os/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800608 "core/java/android/webkit/EventLogTags.logtags",
Ben Gruverc7ffbe62018-01-19 11:28:04 -0800609 "core/java/com/android/internal/app/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800610 "core/java/com/android/internal/logging/EventLogTags.logtags",
Siyuan Zhoubafcd7b2017-12-04 13:02:11 -0800611 "core/java/com/android/server/DropboxLogTags.logtags",
Ricardo Quesadaab086c52017-12-11 11:26:53 -0800612 "core/java/org/chromium/arc/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800613
614 ":framework-statslog-gen",
615 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800616
617 aidl: {
Colin Cross4eb07842017-12-14 15:18:42 -0800618 export_include_dirs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800619 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
620 "core/java",
621 "graphics/java",
622 "location/java",
623 "lowpan/java",
624 "media/java",
625 "media/mca/effect/java",
626 "media/mca/filterfw/java",
627 "media/mca/filterpacks/java",
628 "drm/java",
629 "opengl/java",
630 "sax/java",
631 "telecomm/java",
632 "telephony/java",
633 "wifi/java",
634 "keystore/java",
635 "rs/java",
636 ],
637
638 include_dirs: [
639 "system/update_engine/binder_bindings",
640 "frameworks/native/aidl/binder",
641 "frameworks/av/camera/aidl",
642 "frameworks/av/media/libaudioclient/aidl",
643 "frameworks/native/aidl/gui",
644 "system/core/storaged/binder",
645 "system/netd/server/binder",
646 "system/vold/binder",
647 "system/bt/binder",
Logan Chien404eb2b2018-02-14 13:53:04 +0800648 "system/security/keystore/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800649 ],
650 },
651
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000652 exclude_srcs: [
Paul Duffina3b69212018-01-25 09:58:32 +0000653 // See comment on framework-atb-backward-compatibility module below
654 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
655 // See comment on framework-oahl-backward-compatibility module below
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000656 "core/java/android/content/pm/OrgApacheHttpLegacyUpdater.java",
657 ],
658
Colin Crosscf3a0b52017-11-16 00:15:28 -0800659 no_framework_libs: true,
660 libs: [
661 "conscrypt",
662 "okhttp",
663 "bouncycastle",
664 "ext",
665 ],
666
667 static_libs: [
668 "framework-protos",
669 "android.hidl.base-V1.0-java",
670 "android.hardware.cas-V1.0-java",
671 "android.hardware.contexthub-V1.0-java",
672 "android.hardware.health-V1.0-java-constants",
673 "android.hardware.thermal-V1.0-java-constants",
674 "android.hardware.tv.input-V1.0-java-constants",
675 "android.hardware.usb-V1.0-java-constants",
676 "android.hardware.usb-V1.1-java-constants",
Michael Wrightf268bf52018-02-07 23:23:34 +0000677 "android.hardware.vibrator-V1.0-java",
678 "android.hardware.vibrator-V1.1-java",
679 "android.hardware.vibrator-V1.2-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800680 "android.hardware.wifi-V1.0-java-constants",
yuemingw9361a132017-11-24 18:20:11 +0000681 "android.hardware.radio-V1.0-java",
Jerry Zhang327b8092018-01-09 17:53:04 -0800682 "android.hardware.usb.gadget-V1.0-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800683 ],
684
685 // Loaded with System.loadLibrary by android.view.textclassifier
Wei Jia0a8a8f02017-12-05 17:05:29 -0800686 required: [
687 "libtextclassifier",
Logan Chien71ddfea2018-02-27 16:43:50 +0800688 "libmedia2_jni",
689 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800690
691 javac_shard_size: 150,
692
693 dxflags: [
694 "--core-library",
695 "--multi-dex",
696 ],
697}
698
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000699// A temporary build target that is conditionally included on the bootclasspath if
700// org.apache.http.legacy library has been removed and which provides support for
701// maintaining backwards compatibility for APKs that target pre-P and depend on
702// org.apache.http.legacy classes. This is used iff REMOVE_OAHL_FROM_BCP=true is
703// specified on the build command line.
704java_library {
705 name: "framework-oahl-backward-compatibility",
706 srcs: [
707 "core/java/android/content/pm/OrgApacheHttpLegacyUpdater.java",
708 ],
709}
710
Paul Duffina3b69212018-01-25 09:58:32 +0000711// A temporary build target that is conditionally included on the bootclasspath if
712// android.test.base library has been removed and which provides support for
713// maintaining backwards compatibility for APKs that target pre-P and depend on
714// android.test.base classes. This is used iff REMOVE_ATB_FROM_BCP=true is
715// specified on the build command line.
716java_library {
717 name: "framework-atb-backward-compatibility",
718 srcs: [
719 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
720 ],
721}
722
Colin Crosscf3a0b52017-11-16 00:15:28 -0800723genrule {
724 name: "framework-statslog-gen",
725 tools: ["stats-log-api-gen"],
726 cmd: "$(location stats-log-api-gen) --java $(out)",
David Chen0a368b22017-12-06 16:28:16 -0800727 out: ["android/util/StatsLogInternal.java"],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800728}
729
730gensrcs {
731 name: "framework-javastream-protos",
732 depfile: true,
733
734 tools: [
735 "aprotoc",
736 "protoc-gen-javastream",
737 "soong_zip",
738 ],
739
Colin Cross6471db92017-12-04 16:02:10 -0800740 cmd: "mkdir -p $(genDir)/$(in) " +
Colin Crosscf3a0b52017-11-16 00:15:28 -0800741 "&& $(location aprotoc) " +
Colin Cross6471db92017-12-04 16:02:10 -0800742 " --plugin=$(location protoc-gen-javastream) " +
Colin Crosscf3a0b52017-11-16 00:15:28 -0800743 " --dependency_out=$(depfile) " +
744 " --javastream_out=$(genDir)/$(in) " +
745 " -Iexternal/protobuf/src " +
746 " -I . " +
747 " $(in) " +
748 "&& $(location soong_zip) -jar -o $(out) -C $(genDir)/$(in) -D $(genDir)/$(in)",
749
Yi Jin437aa6e2018-01-10 11:34:26 -0800750 srcs: [
751 "core/proto/**/*.proto",
752 "libs/incident/**/*.proto",
753 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800754 output_extension: "srcjar",
755}
756
Colin Crossd8e02252017-10-02 17:14:22 -0700757// Build ext.jar
758// ============================================================
759java_library {
760 name: "ext",
761 no_framework_libs: true,
762 static_libs: [
763 "libphonenumber-platform",
764 "nist-sip",
765 "tagsoup",
Ricky Wai0d1bc332017-10-31 14:31:01 +0000766 "rappor",
Colin Crossd8e02252017-10-02 17:14:22 -0700767 ],
768 dxflags: ["--core-library"],
769}
770
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700771// ==== java proto host library ==============================
772java_library_host {
773 name: "platformprotos",
774 srcs: [
775 "cmds/am/proto/instrumentation_data.proto",
776 "core/proto/**/*.proto",
777 "libs/incident/proto/**/*.proto",
778 "cmds/statsd/src/**/*.proto",
779 ],
780 proto: {
781 include_dirs: ["external/protobuf/src"],
782 type: "full",
783 },
784 errorprone: {
785 javacflags: ["-Xep:MissingOverride:OFF"], // b/72714520
786 },
787}
788
Colin Crossaa0d4352017-05-02 14:14:56 -0700789// ==== c++ proto device library ==============================
790cc_library {
791 name: "libplatformprotos",
792 host_supported: true,
Colin Crossaa0d4352017-05-02 14:14:56 -0700793 proto: {
794 export_proto_headers: true,
795 include_dirs: ["external/protobuf/src"],
796 },
797
Chih-Hung Hsiehc7edf072017-10-03 09:57:55 -0700798 cflags: [
799 "-Wall",
800 "-Werror",
801 "-Wno-unused-parameter",
802 ],
Joe Onorato62c220b2017-11-18 20:32:56 -0800803
804 srcs: [
805 "core/proto/**/*.proto",
806 "libs/incident/**/*.proto",
Joe Onorato62c220b2017-11-18 20:32:56 -0800807 ],
808
Colin Crossaa0d4352017-05-02 14:14:56 -0700809 target: {
810 host: {
811 proto: {
812 type: "full",
813 },
814 },
815 android: {
816 proto: {
817 type: "lite",
818 },
819 shared: {
Colin Crossaa0d4352017-05-02 14:14:56 -0700820 enabled: false,
821 },
822 },
823 },
Colin Crossaa0d4352017-05-02 14:14:56 -0700824}
825
Yi Jin04625ad2017-10-17 18:29:33 -0700826gensrcs {
827 name: "gen-platform-proto-constants",
828 depfile: true,
829
830 tools: [
831 "aprotoc",
832 "protoc-gen-cppstream",
833 ],
834
835 srcs: [
Kweku Adamseadd1232018-02-05 16:45:13 -0800836 "core/proto/android/os/backtrace.proto",
Kweku Adams59e6fd72017-12-27 15:48:14 -0800837 "core/proto/android/os/batterytype.proto",
Yi Jin0eb22342017-11-06 17:17:27 -0800838 "core/proto/android/os/cpufreq.proto",
Yi Jine2f7f792017-11-01 17:08:27 -0700839 "core/proto/android/os/cpuinfo.proto",
Yi Jin04625ad2017-10-17 18:29:33 -0700840 "core/proto/android/os/kernelwake.proto",
841 "core/proto/android/os/pagetypeinfo.proto",
842 "core/proto/android/os/procrank.proto",
Kweku Adamsf5cc5752017-12-20 17:59:17 -0800843 "core/proto/android/os/ps.proto",
Yi Jin0dfa7522017-11-06 17:43:47 -0800844 "core/proto/android/os/system_properties.proto",
Yi Jin3c034c92017-12-22 17:36:47 -0800845 "core/proto/android/util/event_log_tags.proto",
Yi Jin04625ad2017-10-17 18:29:33 -0700846 ],
847
848 // Append protoc-gen-cppstream tool's PATH otherwise aprotoc can't find the plugin tool
Yi Jin3c034c92017-12-22 17:36:47 -0800849 cmd: "mkdir -p $(genDir) " +
850 "&& $(location aprotoc) " +
851 " --plugin=$(location protoc-gen-cppstream) " +
852 " --dependency_out=$(depfile) " +
853 " --cppstream_out=$(genDir) " +
854 " -Iexternal/protobuf/src " +
855 " -I . " +
856 " $(in)",
Yi Jin04625ad2017-10-17 18:29:33 -0700857
Logan Chien71ddfea2018-02-27 16:43:50 +0800858 output_extension: "proto.h",
Yi Jin04625ad2017-10-17 18:29:33 -0700859}
860
Dan Albert2a8d9c22016-09-23 15:55:49 -0700861subdirs = [
Yi Jin0a3406f2017-06-22 19:23:11 -0700862 "cmds/*",
Jeff Sharkey0c686e72017-10-23 16:04:31 -0600863 "core/*",
Colin Cross4f8d9e62016-12-01 15:55:00 -0800864 "libs/*",
Colin Cross76de4f62017-05-15 18:10:40 -0700865 "media/*",
Colin Cross747e7c12017-10-24 16:21:22 -0700866 "proto",
Fabien Sanglard19160202017-01-12 14:24:31 -0500867 "tools/*",
Dan Albert2a8d9c22016-09-23 15:55:49 -0700868 "native/android",
Dan Albert7ce8df32016-09-23 16:43:49 -0700869 "native/graphics/jni",
Dan Albert2a8d9c22016-09-23 15:55:49 -0700870]
Svetoslav Ganov74c99832016-12-05 20:07:20 -0800871
872optional_subdirs = [
873 "core/tests/utiltests/jni",
874]
Steven Morelandeddafe92017-10-02 16:58:41 -0700875
Colin Crossa2b78a72018-03-29 13:31:04 -0700876// TODO(b/77285514): remove this once the last few hidl interfaces have been
877// updated to use hwbinder.stubs.
Steven Morelandeddafe92017-10-02 16:58:41 -0700878java_library {
879 name: "hwbinder",
880 no_framework_libs: true,
881
882 srcs: [
883 "core/java/android/os/HidlSupport.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -0800884 "core/java/android/annotation/IntDef.java",
Steven Morelandeddafe92017-10-02 16:58:41 -0700885 "core/java/android/annotation/NonNull.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -0800886 "core/java/android/annotation/SystemApi.java",
Steven Morelandeddafe92017-10-02 16:58:41 -0700887 "core/java/android/os/HwBinder.java",
888 "core/java/android/os/HwBlob.java",
889 "core/java/android/os/HwParcel.java",
890 "core/java/android/os/IHwBinder.java",
891 "core/java/android/os/IHwInterface.java",
892 "core/java/android/os/DeadObjectException.java",
893 "core/java/android/os/DeadSystemException.java",
894 "core/java/android/os/RemoteException.java",
895 "core/java/android/util/AndroidException.java",
896 ],
897
898 dxflags: ["--core-library"],
899 installable: false,
900}
Nan Zhang2db709d2017-11-08 20:48:46 -0800901
902python_defaults {
903 name: "base_default",
904 version: {
905 py2: {
906 enabled: true,
907 embedded_launcher: true,
908 },
909 py3: {
910 enabled: false,
911 embedded_launcher: false,
912 },
913 },
914}
915
916python_binary_host {
917 name: "fontchain_linter",
918 defaults: ["base_default"],
919 main: "tools/fonts/fontchain_linter.py",
920 srcs: [
921 "tools/fonts/fontchain_linter.py",
922 ],
923 libs: [
924 "fontTools",
925 ],
926}
Nan Zhang172875b2018-02-27 11:24:03 -0800927
928// TODO: Don't rely on this list once droiddoc can take a list of packages to document
929frameworks_base_subdirs = [
930 "core/java",
931 "graphics/java",
932 "location/java",
933 "media/java",
934 "media/mca/effect/java",
935 "media/mca/filterfw/java",
936 "media/mca/filterpacks/java",
937 "drm/java",
938 "opengl/java",
939 "sax/java",
940 "telecomm/java",
941 "telephony/java",
942 "wifi/java",
943 "lowpan/java",
944 "keystore/java",
945 "rs/java",
946]
947
948packages_to_document = [
949 "android",
950 "javax/microedition/khronos",
951 "org/apache/http/conn",
952 "org/apache/http/params",
953]
954
955// The since flag (-since N.xml API_LEVEL) is used to add API Level information
956// to the reference documentation. Must be in order of oldest to newest.
957//
958// Conscrypt (com.android.org.conscrypt) is an implementation detail and should
959// not be referenced in the documentation.
960framework_docs_args = "-android -manifest $(location core/res/AndroidManifest.xml) " +
Nan Zhangf33e1942018-03-23 00:57:00 -0700961 "-hidePackage com.android.internal " +
962 "-hidePackage com.android.internal.util " +
963 "-hidePackage com.android.okhttp " +
964 "-hidePackage com.android.org.conscrypt " +
965 "-hidePackage com.android.server " +
Anton Hansson6a9e7262018-04-19 16:23:53 +0100966 "-since $(location 1/public/api/android.xml) 1 " +
967 "-since $(location 2/public/api/android.xml) 2 " +
968 "-since $(location 3/public/api/android.xml) 3 " +
969 "-since $(location 4/public/api/android.xml) 4 " +
970 "-since $(location 5/public/api/android.xml) 5 " +
971 "-since $(location 6/public/api/android.xml) 6 " +
972 "-since $(location 7/public/api/android.xml) 7 " +
973 "-since $(location 8/public/api/android.xml) 8 " +
974 "-since $(location 9/public/api/android.xml) 9 " +
975 "-since $(location 10/public/api/android.xml) 10 " +
976 "-since $(location 11/public/api/android.xml) 11 " +
977 "-since $(location 12/public/api/android.xml) 12 " +
978 "-since $(location 13/public/api/android.xml) 13 " +
979 "-since $(location 14/public/api/android.txt) 14 " +
980 "-since $(location 15/public/api/android.txt) 15 " +
981 "-since $(location 16/public/api/android.txt) 16 " +
982 "-since $(location 17/public/api/android.txt) 17 " +
983 "-since $(location 18/public/api/android.txt) 18 " +
984 "-since $(location 19/public/api/android.txt) 19 " +
985 "-since $(location 20/public/api/android.txt) 20 " +
986 "-since $(location 21/public/api/android.txt) 21 " +
987 "-since $(location 22/public/api/android.txt) 22 " +
988 "-since $(location 23/public/api/android.txt) 23 " +
989 "-since $(location 24/public/api/android.txt) 24 " +
990 "-since $(location 25/public/api/android.txt) 25 " +
991 "-since $(location 26/public/api/android.txt) 26 " +
992 "-since $(location 27/public/api/android.txt) 27 " +
993 "-since $(location 28/public/api/android.txt) 28 " +
Nan Zhang172875b2018-02-27 11:24:03 -0800994 "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
995 "-overview $(location core/java/overview.html) " +
996 // Federate Support Library references against local API file.
997 "-federate SupportLib https://developer.android.com " +
998 "-federationapi SupportLib $(location current/support-api.txt) "
999
1000doc_defaults {
1001 name: "framework-docs-default",
1002 srcs: [
Nan Zhang172875b2018-02-27 11:24:03 -08001003 ":opt-telephony-srcs",
1004 ":opt-net-voip-srcs",
1005 ":openjdk_javadoc_files",
1006 ":non_openjdk_javadoc_files",
1007 ":android_icu4j_src_files_for_docs",
1008 ":gen-ojluni-jaif-annotated-srcs",
1009 ],
1010 exclude_srcs: [
1011 ":annotated_ojluni_files",
1012 ],
1013 srcs_lib: "framework",
1014 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1015 srcs_lib_whitelist_pkgs: packages_to_document,
1016 libs: [
1017 "core-oj",
1018 "core-libart",
1019 "conscrypt",
1020 "bouncycastle",
1021 "okhttp",
1022 "ext",
1023 "framework",
1024 "voip-common",
1025 "android.test.mock",
1026 ],
1027 local_sourcepaths: frameworks_base_subdirs,
1028 html_dirs: [
1029 "docs/html",
1030 ],
1031 knowntags: [
1032 "docs/knowntags.txt",
1033 ":known-oj-tags",
1034 ],
1035 custom_template: "droiddoc-templates-sdk",
1036 hdf: [
1037 "dac true",
1038 "sdk.codename O",
1039 "sdk.preview.version 1",
1040 "sdk.version 7.0",
1041 "sdk.rel.id 1",
1042 "sdk.preview 0",
1043 ],
1044 resourcesdir: "docs/html/reference/images",
1045 resourcesoutdir: "reference/android/images",
Nan Zhang7bfac8d2018-03-13 16:16:34 -07001046 installable: false,
Nan Zhang172875b2018-02-27 11:24:03 -08001047}
1048
1049droiddoc {
1050 name: "api-stubs-docs",
1051 defaults: ["framework-docs-default"],
1052 arg_files: [
1053 "core/res/AndroidManifest.xml",
1054 ":api-version-xml",
1055 "core/java/overview.html",
1056 ":current-support-api",
Nan Zhangf33e1942018-03-23 00:57:00 -07001057 "api/current.txt",
Nan Zhang172875b2018-02-27 11:24:03 -08001058 ],
Nan Zhang7bfac8d2018-03-13 16:16:34 -07001059 api_filename: "public_api.txt",
1060 removed_api_filename: "removed.txt",
1061 args: framework_docs_args + " -referenceonly -nodocs",
Nan Zhang05c47c82018-05-04 18:36:45 -07001062 check_api: {
1063 last_released: {
1064 api_file: ":last-released-public-api",
1065 removed_api_file: "api/removed.txt",
1066 args: "-hide 2 -hide 3 -hide 4 -hide 5 -hide 6 -hide 24 -hide 25 -hide 26 -hide 27 " +
1067 "-error 7 -error 8 -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 " +
1068 "-error 16 -error 17 -error 18 -error 31",
1069 },
1070 current: {
1071 api_file: "api/current.txt",
1072 removed_api_file: "api/removed.txt",
1073 args: "-error 2 -error 3 -error 4 -error 5 -error 6 " +
1074 "-error 7 -error 8 -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 " +
1075 "-error 16 -error 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24 " +
1076 "-error 25 -error 26 -error 27",
1077 },
1078 },
Nan Zhang172875b2018-02-27 11:24:03 -08001079}
1080
1081droiddoc {
1082 name: "system-api-stubs-docs",
1083 defaults: ["framework-docs-default"],
1084 arg_files: [
1085 "core/res/AndroidManifest.xml",
1086 ":api-version-xml",
1087 "core/java/overview.html",
1088 ":current-support-api",
Nan Zhangf33e1942018-03-23 00:57:00 -07001089 "api/current.txt",
Nan Zhang172875b2018-02-27 11:24:03 -08001090 ],
Nan Zhang7bfac8d2018-03-13 16:16:34 -07001091 api_tag_name: "SYSTEM",
1092 api_filename: "system-api.txt",
1093 removed_api_filename: "system-removed.txt",
1094 exact_api_filename: "system-exact.txt",
1095 args: framework_docs_args + " -referenceonly -showAnnotation android.annotation.SystemApi -nodocs",
Nan Zhang05c47c82018-05-04 18:36:45 -07001096 check_api: {
1097 last_released: {
1098 api_file: ":last-released-system-api",
1099 removed_api_file: "api/system-removed.txt",
1100 args: "-hide 2 -hide 3 -hide 4 -hide 5 -hide 6 -hide 24 -hide 25 -hide 26 -hide 27 " +
1101 "-error 7 -error 8 -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 " +
1102 "-error 16 -error 17 -error 18 -error 31",
1103 },
1104 current: {
1105 api_file: "api/system-current.txt",
1106 removed_api_file: "api/system-removed.txt",
1107 args: "-error 2 -error 3 -error 4 -error 5 -error 6 " +
1108 "-error 7 -error 8 -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 " +
1109 "-error 16 -error 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24 " +
1110 "-error 25 -error 26 -error 27",
1111 },
1112 },
Nan Zhang172875b2018-02-27 11:24:03 -08001113}
1114
1115droiddoc {
1116 name: "test-api-stubs-docs",
1117 defaults: ["framework-docs-default"],
1118 arg_files: [
1119 "core/res/AndroidManifest.xml",
1120 ":api-version-xml",
1121 "core/java/overview.html",
1122 ":current-support-api",
Nan Zhangf33e1942018-03-23 00:57:00 -07001123 "api/current.txt",
Nan Zhang172875b2018-02-27 11:24:03 -08001124 ],
Nan Zhang7bfac8d2018-03-13 16:16:34 -07001125 api_tag_name: "TEST",
1126 api_filename: "test-api.txt",
1127 removed_api_filename: "test-removed.txt",
1128 exact_api_filename: "test-exact.txt",
1129 args: framework_docs_args + " -referenceonly -showAnnotation android.annotation.TestApi -nodocs",
Nan Zhang05c47c82018-05-04 18:36:45 -07001130 check_api: {
1131 current: {
1132 api_file: "api/test-current.txt",
1133 removed_api_file: "api/test-removed.txt",
1134 args: "-error 2 -error 3 -error 4 -error 5 -error 6 " +
1135 "-error 7 -error 8 -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 " +
1136 "-error 16 -error 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24 " +
1137 "-error 25 -error 26 -error 27",
1138 },
1139 },
Nan Zhang172875b2018-02-27 11:24:03 -08001140}
Colin Crossa2b78a72018-03-29 13:31:04 -07001141
1142droiddoc {
1143 name: "hwbinder-stubs-docs",
1144 srcs: [
1145 "core/java/android/os/HidlSupport.java",
1146 "core/java/android/annotation/IntDef.java",
1147 "core/java/android/annotation/NonNull.java",
1148 "core/java/android/annotation/SystemApi.java",
1149 "core/java/android/os/HwBinder.java",
1150 "core/java/android/os/HwBlob.java",
1151 "core/java/android/os/HwParcel.java",
1152 "core/java/android/os/IHwBinder.java",
1153 "core/java/android/os/IHwInterface.java",
1154 "core/java/android/os/DeadObjectException.java",
1155 "core/java/android/os/DeadSystemException.java",
1156 "core/java/android/os/RemoteException.java",
1157 "core/java/android/util/AndroidException.java",
1158 ],
1159 custom_template: "droiddoc-templates-sdk",
1160 installable: false,
1161 no_framework_libs: true,
1162 args: "-showAnnotation android.annotation.SystemApi -nodocs -stubsourceonly",
1163}
1164
1165java_library_static {
1166 name: "hwbinder.stubs",
1167 sdk_version: "core_current",
1168 srcs: [
1169 ":hwbinder-stubs-docs",
1170 ],
1171}
Nan Zhanga0f91af2018-04-09 17:41:51 -07001172
David Brazdil4f9d4d52018-04-26 14:05:13 +01001173droiddoc {
1174 name: "hiddenapi-lists",
1175 defaults: ["framework-docs-default"],
1176 arg_files: [
1177 "core/res/AndroidManifest.xml",
1178 ":api-version-xml",
1179 "core/java/overview.html",
1180 ":current-support-api",
1181 ],
1182 private_dex_api_filename: "private-dex.txt",
1183 removed_dex_api_filename: "removed-dex.txt",
1184 args: framework_docs_args +
1185 " -referenceonly" +
1186 " -nodocs" +
1187 " -showUnannotated" +
1188 " -showAnnotation android.annotation.SystemApi" +
1189 " -showAnnotation android.annotation.TestApi",
1190}
1191
Nan Zhanga0f91af2018-04-09 17:41:51 -07001192filegroup {
1193 name: "apache-http-stubs-sources",
1194 srcs: [
1195 "core/java/org/apache/http/conn/ConnectTimeoutException.java",
1196 "core/java/org/apache/http/conn/scheme/HostNameResolver.java",
1197 "core/java/org/apache/http/conn/scheme/LayeredSocketFactory.java",
1198 "core/java/org/apache/http/conn/scheme/SocketFactory.java",
1199 "core/java/org/apache/http/conn/ssl/AbstractVerifier.java",
1200 "core/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java",
1201 "core/java/org/apache/http/conn/ssl/AndroidDistinguishedNameParser.java",
1202 "core/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java",
1203 "core/java/org/apache/http/conn/ssl/SSLSocketFactory.java",
1204 "core/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java",
1205 "core/java/org/apache/http/conn/ssl/X509HostnameVerifier.java",
1206 "core/java/org/apache/http/params/CoreConnectionPNames.java",
1207 "core/java/org/apache/http/params/HttpConnectionParams.java",
1208 "core/java/org/apache/http/params/HttpParams.java",
1209 "core/java/android/net/http/HttpResponseCache.java",
1210 "core/java/android/net/http/SslCertificate.java",
1211 "core/java/android/net/http/SslError.java",
1212 "core/java/com/android/internal/util/HexDump.java",
1213 ],
1214}
Nan Zhang4212eb12018-04-25 17:23:33 -07001215
1216metalava_framework_docs_args = "--manifest $(location core/res/AndroidManifest.xml) " +
1217 "--hide-package com.android.okhttp " +
1218 "--hide-package com.android.org.conscrypt --hide-package com.android.server " +
1219 "--hide RequiresPermission " +
1220 "--hide MissingPermission --hide BroadcastBehavior " +
1221 "--hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol " +
1222 "--hide SdkConstant --hide HiddenTypeParameter --hide Todo --hide Typo"
1223
1224doc_defaults {
1225 name: "metalava-framework-docs-default",
1226 srcs: [
Nan Zhang4212eb12018-04-25 17:23:33 -07001227 ":opt-telephony-srcs",
1228 ":opt-net-voip-srcs",
1229 ":openjdk_javadoc_files",
1230 ":non_openjdk_javadoc_files",
1231 ":android_icu4j_src_files_for_docs",
1232 ":gen-ojluni-jaif-annotated-srcs",
1233 ],
1234 exclude_srcs: [
1235 ":annotated_ojluni_files",
1236 ],
1237 srcs_lib: "framework",
1238 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1239 srcs_lib_whitelist_pkgs: packages_to_document,
1240 libs: [
1241 "core-oj",
1242 "core-libart",
1243 "conscrypt",
1244 "bouncycastle",
1245 "okhttp",
1246 "ext",
1247 "framework",
1248 "voip-common",
1249 "android.test.mock",
1250 ],
1251 local_sourcepaths: frameworks_base_subdirs,
1252 installable: false,
1253 metalava_enabled: true,
1254}
1255
1256droiddoc {
1257 name: "metalava-api-stubs-docs",
1258 defaults: ["metalava-framework-docs-default"],
1259 api_tag_name: "METALAVA_PUBLIC",
1260 api_filename: "public_api.txt",
1261 private_api_filename: "private.txt",
1262 removed_api_filename: "removed.txt",
1263 arg_files: [
1264 "core/res/AndroidManifest.xml",
1265 ],
1266 args: metalava_framework_docs_args,
1267}
1268
1269droiddoc {
1270 name: "metalava-system-api-stubs-docs",
1271 defaults: ["metalava-framework-docs-default"],
1272 api_tag_name: "METALAVA_SYSTEM",
1273 api_filename: "system-api.txt",
1274 private_api_filename: "system-private.txt",
1275 private_dex_api_filename: "system-private-dex.txt",
1276 removed_api_filename: "system-removed.txt",
1277 arg_files: [
1278 "core/res/AndroidManifest.xml",
1279 ],
1280 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi",
1281}
1282
1283droiddoc {
1284 name: "metalava-test-api-stubs-docs",
1285 defaults: ["metalava-framework-docs-default"],
1286 api_tag_name: "METALAVA_TEST",
1287 api_filename: "test-api.txt",
1288 removed_api_filename: "test-removed.txt",
1289 arg_files: [
1290 "core/res/AndroidManifest.xml",
1291 ],
1292 args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi",
1293}