blob: a6290f11c433fe8c9ee62df974d608ff3bd5a045 [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",
61 "core/java/android/app/IAlarmCompleteListener.aidl",
62 "core/java/android/app/IAlarmListener.aidl",
63 "core/java/android/app/IAlarmManager.aidl",
64 "core/java/android/app/IAppTask.aidl",
65 "core/java/android/app/IApplicationThread.aidl",
66 "core/java/android/app/IAssistDataReceiver.aidl",
67 "core/java/android/app/ITaskStackListener.aidl",
68 "core/java/android/app/IBackupAgent.aidl",
69 "core/java/android/app/IEphemeralResolver.aidl",
70 "core/java/android/app/IInputForwarder.aidl",
71 "core/java/android/app/IInstantAppResolver.aidl",
72 "core/java/android/app/IInstrumentationWatcher.aidl",
73 "core/java/android/app/INotificationManager.aidl",
74 "core/java/android/app/IProcessObserver.aidl",
75 "core/java/android/app/ISearchManager.aidl",
76 "core/java/android/app/ISearchManagerCallback.aidl",
77 "core/java/android/app/IServiceConnection.aidl",
78 "core/java/android/app/IStopUserCallback.aidl",
79 "core/java/android/app/job/IJobCallback.aidl",
80 "core/java/android/app/job/IJobScheduler.aidl",
81 "core/java/android/app/job/IJobService.aidl",
82 "core/java/android/app/ITransientNotification.aidl",
83 "core/java/android/app/IUidObserver.aidl",
84 "core/java/android/app/IUiAutomationConnection.aidl",
85 "core/java/android/app/IUiModeManager.aidl",
86 "core/java/android/app/IUserSwitchObserver.aidl",
87 "core/java/android/app/IWallpaperManager.aidl",
88 "core/java/android/app/IWallpaperManagerCallback.aidl",
89 "core/java/android/app/admin/IDeviceAdminService.aidl",
90 "core/java/android/app/admin/IDevicePolicyManager.aidl",
91 "core/java/android/app/trust/IStrongAuthTracker.aidl",
92 "core/java/android/app/trust/ITrustManager.aidl",
93 "core/java/android/app/trust/ITrustListener.aidl",
94 "core/java/android/app/backup/IBackupManager.aidl",
95 "core/java/android/app/backup/IBackupObserver.aidl",
96 "core/java/android/app/backup/IBackupManagerMonitor.aidl",
97 "core/java/android/app/backup/IFullBackupRestoreObserver.aidl",
98 "core/java/android/app/backup/IRestoreObserver.aidl",
99 "core/java/android/app/backup/IRestoreSession.aidl",
100 "core/java/android/app/backup/ISelectBackupTransportCallback.aidl",
Jason Monk8f5f7ff2017-10-17 14:12:42 -0400101 "core/java/android/app/slice/ISliceManager.aidl",
Jason Monk74f5e362017-12-06 08:56:33 -0500102 "core/java/android/app/slice/ISliceListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800103 "core/java/android/app/timezone/ICallback.aidl",
104 "core/java/android/app/timezone/IRulesManager.aidl",
105 "core/java/android/app/usage/ICacheQuotaService.aidl",
106 "core/java/android/app/usage/IStorageStatsManager.aidl",
107 "core/java/android/app/usage/IUsageStatsManager.aidl",
108 ":libbluetooth-binder-aidl",
109 "core/java/android/content/IClipboard.aidl",
110 "core/java/android/content/IContentService.aidl",
111 "core/java/android/content/IIntentReceiver.aidl",
112 "core/java/android/content/IIntentSender.aidl",
113 "core/java/android/content/IOnPrimaryClipChangedListener.aidl",
114 "core/java/android/content/IRestrictionsManager.aidl",
115 "core/java/android/content/ISyncAdapter.aidl",
Philip P. Moltmann486b2412018-01-03 11:29:01 -0800116 "core/java/android/content/ISyncAdapterUnsyncableAccountCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800117 "core/java/android/content/ISyncContext.aidl",
118 "core/java/android/content/ISyncServiceAdapter.aidl",
119 "core/java/android/content/ISyncStatusObserver.aidl",
120 "core/java/android/content/om/IOverlayManager.aidl",
Tony Makb0d22622018-01-18 12:49:49 +0000121 "core/java/android/content/pm/ICrossProfileApps.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800122 "core/java/android/content/pm/IDexModuleRegisterCallback.aidl",
123 "core/java/android/content/pm/ILauncherApps.aidl",
124 "core/java/android/content/pm/IOnAppsChangedListener.aidl",
125 "core/java/android/content/pm/IOnPermissionsChangeListener.aidl",
126 "core/java/android/content/pm/IOtaDexopt.aidl",
127 "core/java/android/content/pm/IPackageDataObserver.aidl",
128 "core/java/android/content/pm/IPackageDeleteObserver.aidl",
129 "core/java/android/content/pm/IPackageDeleteObserver2.aidl",
130 "core/java/android/content/pm/IPackageInstallObserver2.aidl",
131 "core/java/android/content/pm/IPackageInstaller.aidl",
132 "core/java/android/content/pm/IPackageInstallerCallback.aidl",
133 "core/java/android/content/pm/IPackageInstallerSession.aidl",
134 "core/java/android/content/pm/IPackageManager.aidl",
135 ":libbinder_aidl",
136 "core/java/android/content/pm/IPackageMoveObserver.aidl",
137 "core/java/android/content/pm/IPackageStatsObserver.aidl",
138 "core/java/android/content/pm/IPinItemRequest.aidl",
139 "core/java/android/content/pm/IShortcutService.aidl",
Calin Juravle45f8b292017-11-07 18:49:43 -0800140 "core/java/android/content/pm/dex/IArtManager.aidl",
141 "core/java/android/content/pm/dex/ISnapshotRuntimeProfileCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800142 "core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl",
143 "core/java/android/database/IContentObserver.aidl",
144 ":libcamera_client_aidl",
145 ":libcamera_client_framework_aidl",
146 "core/java/android/hardware/IConsumerIrService.aidl",
147 "core/java/android/hardware/ISerialManager.aidl",
Vishwath Mohanecf00ce2018-04-05 10:28:24 -0700148 "core/java/android/hardware/biometrics/IBiometricPromptReceiver.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800149 "core/java/android/hardware/display/IDisplayManager.aidl",
150 "core/java/android/hardware/display/IDisplayManagerCallback.aidl",
151 "core/java/android/hardware/display/IVirtualDisplayCallback.aidl",
Kevin Chynaae4a152018-01-18 11:48:09 -0800152 "core/java/android/hardware/fingerprint/IFingerprintClientActiveCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800153 "core/java/android/hardware/fingerprint/IFingerprintService.aidl",
154 "core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800155 "core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl",
156 "core/java/android/hardware/hdmi/IHdmiControlCallback.aidl",
157 "core/java/android/hardware/hdmi/IHdmiControlService.aidl",
158 "core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl",
159 "core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl",
160 "core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl",
161 "core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl",
162 "core/java/android/hardware/hdmi/IHdmiRecordListener.aidl",
163 "core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl",
164 "core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl",
165 "core/java/android/hardware/input/IInputManager.aidl",
166 "core/java/android/hardware/input/IInputDevicesChangedListener.aidl",
167 "core/java/android/hardware/input/ITabletModeChangedListener.aidl",
168 "core/java/android/hardware/location/IActivityRecognitionHardware.aidl",
169 "core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl",
170 "core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl",
171 "core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800172 "core/java/android/hardware/location/IGeofenceHardware.aidl",
173 "core/java/android/hardware/location/IGeofenceHardwareCallback.aidl",
174 "core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl",
175 "core/java/android/hardware/location/IContextHubCallback.aidl",
176 "core/java/android/hardware/location/IContextHubClient.aidl",
177 "core/java/android/hardware/location/IContextHubClientCallback.aidl",
178 "core/java/android/hardware/location/IContextHubService.aidl",
179 "core/java/android/hardware/location/IContextHubTransactionCallback.aidl",
Tomasz Wasilczykf151a7b2018-01-11 16:03:46 -0800180 "core/java/android/hardware/radio/IAnnouncementListener.aidl",
181 "core/java/android/hardware/radio/ICloseHandle.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800182 "core/java/android/hardware/radio/IRadioService.aidl",
183 "core/java/android/hardware/radio/ITuner.aidl",
184 "core/java/android/hardware/radio/ITunerCallback.aidl",
185 "core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl",
186 "core/java/android/hardware/usb/IUsbManager.aidl",
187 "core/java/android/net/ICaptivePortal.aidl",
188 "core/java/android/net/IConnectivityManager.aidl",
189 "core/java/android/net/IIpConnectivityMetrics.aidl",
190 "core/java/android/net/IEthernetManager.aidl",
191 "core/java/android/net/IEthernetServiceListener.aidl",
192 "core/java/android/net/INetdEventCallback.aidl",
193 "core/java/android/net/IIpSecService.aidl",
194 "core/java/android/net/INetworkManagementEventObserver.aidl",
195 "core/java/android/net/INetworkPolicyListener.aidl",
196 "core/java/android/net/INetworkPolicyManager.aidl",
197 "core/java/android/net/INetworkRecommendationProvider.aidl",
198 "core/java/android/net/INetworkScoreCache.aidl",
199 "core/java/android/net/INetworkScoreService.aidl",
200 "core/java/android/net/INetworkStatsService.aidl",
201 "core/java/android/net/INetworkStatsSession.aidl",
202 "core/java/android/net/ITetheringStatsProvider.aidl",
203 "core/java/android/net/nsd/INsdManager.aidl",
204 "core/java/android/nfc/IAppCallback.aidl",
205 "core/java/android/nfc/INfcAdapter.aidl",
206 "core/java/android/nfc/INfcAdapterExtras.aidl",
207 "core/java/android/nfc/INfcTag.aidl",
208 "core/java/android/nfc/INfcCardEmulation.aidl",
209 "core/java/android/nfc/INfcFCardEmulation.aidl",
210 "core/java/android/nfc/INfcUnlockHandler.aidl",
211 "core/java/android/nfc/INfcDta.aidl",
212 "core/java/android/nfc/ITagRemovedCallback.aidl",
Ruchi Kandoia1f94012017-12-08 15:07:03 -0800213 "core/java/android/se/omapi/ISecureElementService.aidl",
214 "core/java/android/se/omapi/ISecureElementListener.aidl",
215 "core/java/android/se/omapi/ISecureElementChannel.aidl",
216 "core/java/android/se/omapi/ISecureElementReader.aidl",
217 "core/java/android/se/omapi/ISecureElementSession.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800218 "core/java/android/os/IBatteryPropertiesListener.aidl",
219 "core/java/android/os/IBatteryPropertiesRegistrar.aidl",
220 "core/java/android/os/ICancellationSignal.aidl",
221 "core/java/android/os/IDeviceIdentifiersPolicyService.aidl",
222 "core/java/android/os/IDeviceIdleController.aidl",
223 "core/java/android/os/IHardwarePropertiesManager.aidl",
224 "core/java/android/os/IIncidentManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800225 "core/java/android/os/IIncidentReportStatusListener.aidl",
226 "core/java/android/os/IMaintenanceActivityListener.aidl",
227 "core/java/android/os/IMessenger.aidl",
228 "core/java/android/os/INetworkActivityListener.aidl",
229 "core/java/android/os/INetworkManagementService.aidl",
230 "core/java/android/os/IPermissionController.aidl",
231 "core/java/android/os/IProcessInfoService.aidl",
232 "core/java/android/os/IProgressListener.aidl",
233 "core/java/android/os/IPowerManager.aidl",
234 "core/java/android/os/IRecoverySystem.aidl",
235 "core/java/android/os/IRecoverySystemProgressListener.aidl",
236 "core/java/android/os/IRemoteCallback.aidl",
237 "core/java/android/os/ISchedulingPolicyService.aidl",
238 "core/java/android/os/IStatsCompanionService.aidl",
239 "core/java/android/os/IStatsManager.aidl",
Tao Bao07342dc2017-01-24 15:08:21 -0800240 "core/java/android/os/ISystemUpdateManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800241 "core/java/android/os/IThermalEventListener.aidl",
242 "core/java/android/os/IThermalService.aidl",
243 "core/java/android/os/IUpdateLock.aidl",
244 "core/java/android/os/IUserManager.aidl",
245 "core/java/android/os/IVibratorService.aidl",
246 "core/java/android/os/storage/IStorageManager.aidl",
247 "core/java/android/os/storage/IStorageEventListener.aidl",
248 "core/java/android/os/storage/IStorageShutdownObserver.aidl",
249 "core/java/android/os/storage/IObbActionListener.aidl",
Logan Chien404eb2b2018-02-14 13:53:04 +0800250 ":keystore_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800251 "core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl",
252 "core/java/android/service/autofill/IAutoFillService.aidl",
Felipe Lemebc055b02018-01-05 17:04:10 -0800253 "core/java/android/service/autofill/IAutofillFieldClassificationService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800254 "core/java/android/service/autofill/IFillCallback.aidl",
255 "core/java/android/service/autofill/ISaveCallback.aidl",
256 "core/java/android/service/carrier/ICarrierService.aidl",
257 "core/java/android/service/carrier/ICarrierMessagingCallback.aidl",
258 "core/java/android/service/carrier/ICarrierMessagingService.aidl",
259 "core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl",
260 "core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl",
261 "core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl",
262 "core/java/android/service/euicc/IEuiccService.aidl",
263 "core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl",
264 "core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl",
265 "core/java/android/service/euicc/IGetEidCallback.aidl",
266 "core/java/android/service/euicc/IGetEuiccInfoCallback.aidl",
267 "core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl",
Qingxi Li54058362017-12-13 15:13:02 -0800268 "core/java/android/service/euicc/IGetOtaStatusCallback.aidl",
Qingxi Li6019f9c2017-12-14 15:36:06 -0800269 "core/java/android/service/euicc/IOtaStatusChangedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800270 "core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl",
271 "core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl",
272 "core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl",
273 "core/java/android/service/gatekeeper/IGateKeeperService.aidl",
274 "core/java/android/service/notification/INotificationListener.aidl",
275 "core/java/android/service/notification/IStatusBarNotificationHolder.aidl",
276 "core/java/android/service/notification/IConditionListener.aidl",
277 "core/java/android/service/notification/IConditionProvider.aidl",
278 "core/java/android/service/settings/suggestions/ISuggestionService.aidl",
279 "core/java/android/service/vr/IPersistentVrStateCallbacks.aidl",
280 "core/java/android/service/vr/IVrListener.aidl",
281 "core/java/android/service/vr/IVrManager.aidl",
282 "core/java/android/service/vr/IVrStateCallbacks.aidl",
283 "core/java/android/print/ILayoutResultCallback.aidl",
284 "core/java/android/print/IPrinterDiscoveryObserver.aidl",
285 "core/java/android/print/IPrintDocumentAdapter.aidl",
286 "core/java/android/print/IPrintDocumentAdapterObserver.aidl",
287 "core/java/android/print/IPrintJobStateChangeListener.aidl",
288 "core/java/android/print/IPrintServicesChangeListener.aidl",
289 "core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl",
290 "core/java/android/print/IPrintManager.aidl",
291 "core/java/android/print/IPrintSpooler.aidl",
292 "core/java/android/print/IPrintSpoolerCallbacks.aidl",
293 "core/java/android/print/IPrintSpoolerClient.aidl",
294 "core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl",
295 "core/java/android/printservice/recommendation/IRecommendationService.aidl",
296 "core/java/android/print/IWriteResultCallback.aidl",
297 "core/java/android/printservice/IPrintService.aidl",
298 "core/java/android/printservice/IPrintServiceClient.aidl",
299 "core/java/android/companion/ICompanionDeviceManager.aidl",
300 "core/java/android/companion/ICompanionDeviceDiscoveryService.aidl",
301 "core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl",
302 "core/java/android/companion/IFindDeviceCallback.aidl",
303 "core/java/android/service/dreams/IDreamManager.aidl",
304 "core/java/android/service/dreams/IDreamService.aidl",
305 "core/java/android/service/oemlock/IOemLockService.aidl",
306 "core/java/android/service/persistentdata/IPersistentDataBlockService.aidl",
307 "core/java/android/service/trust/ITrustAgentService.aidl",
308 "core/java/android/service/trust/ITrustAgentServiceCallback.aidl",
309 "core/java/android/service/voice/IVoiceInteractionService.aidl",
310 "core/java/android/service/voice/IVoiceInteractionSession.aidl",
311 "core/java/android/service/voice/IVoiceInteractionSessionService.aidl",
312 "core/java/android/service/wallpaper/IWallpaperConnection.aidl",
313 "core/java/android/service/wallpaper/IWallpaperEngine.aidl",
314 "core/java/android/service/wallpaper/IWallpaperService.aidl",
315 "core/java/android/service/chooser/IChooserTargetService.aidl",
316 "core/java/android/service/chooser/IChooserTargetResult.aidl",
317 "core/java/android/service/resolver/IResolverRankerService.aidl",
318 "core/java/android/service/resolver/IResolverRankerResult.aidl",
Abodunrinwa Tokid32906c2018-01-18 04:34:44 -0800319 "core/java/android/service/textclassifier/ITextClassificationCallback.aidl",
320 "core/java/android/service/textclassifier/ITextClassifierService.aidl",
321 "core/java/android/service/textclassifier/ITextLinksCallback.aidl",
322 "core/java/android/service/textclassifier/ITextSelectionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800323 "core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl",
324 "core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl",
325 "core/java/android/view/accessibility/IAccessibilityManager.aidl",
326 "core/java/android/view/accessibility/IAccessibilityManagerClient.aidl",
327 "core/java/android/view/autofill/IAutoFillManager.aidl",
328 "core/java/android/view/autofill/IAutoFillManagerClient.aidl",
329 "core/java/android/view/autofill/IAutofillWindowPresenter.aidl",
330 "core/java/android/view/IApplicationToken.aidl",
331 "core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl",
332 "core/java/android/view/IDockedStackListener.aidl",
333 "core/java/android/view/IGraphicsStats.aidl",
334 "core/java/android/view/IGraphicsStatsCallback.aidl",
335 "core/java/android/view/IInputFilter.aidl",
336 "core/java/android/view/IInputFilterHost.aidl",
337 "core/java/android/view/IOnKeyguardExitResult.aidl",
338 "core/java/android/view/IPinnedStackController.aidl",
339 "core/java/android/view/IPinnedStackListener.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100340 "core/java/android/view/IRemoteAnimationRunner.aidl",
Winson Chunge2d72172018-01-25 17:46:20 +0000341 "core/java/android/view/IRecentsAnimationController.aidl",
342 "core/java/android/view/IRecentsAnimationRunner.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100343 "core/java/android/view/IRemoteAnimationFinishedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800344 "core/java/android/view/IRotationWatcher.aidl",
345 "core/java/android/view/IWallpaperVisibilityListener.aidl",
346 "core/java/android/view/IWindow.aidl",
347 "core/java/android/view/IWindowFocusObserver.aidl",
348 "core/java/android/view/IWindowId.aidl",
349 "core/java/android/view/IWindowManager.aidl",
350 "core/java/android/view/IWindowSession.aidl",
351 "core/java/android/view/IWindowSessionCallback.aidl",
352 "core/java/android/webkit/IWebViewUpdateService.aidl",
353 "core/java/android/speech/IRecognitionListener.aidl",
354 "core/java/android/speech/IRecognitionService.aidl",
355 "core/java/android/speech/tts/ITextToSpeechCallback.aidl",
356 "core/java/android/speech/tts/ITextToSpeechService.aidl",
Svetoslav Ganov2d20fb42018-02-08 15:52:10 -0800357 "core/java/com/android/internal/app/IAppOpsActiveCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800358 "core/java/com/android/internal/app/IAppOpsCallback.aidl",
359 "core/java/com/android/internal/app/IAppOpsService.aidl",
360 "core/java/com/android/internal/app/IBatteryStats.aidl",
361 "core/java/com/android/internal/app/ISoundTriggerService.aidl",
362 "core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl",
363 "core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl",
364 "core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl",
365 "core/java/com/android/internal/app/IVoiceInteractor.aidl",
366 "core/java/com/android/internal/app/IVoiceInteractorCallback.aidl",
367 "core/java/com/android/internal/app/IVoiceInteractorRequest.aidl",
368 "core/java/com/android/internal/app/IMediaContainerService.aidl",
369 "core/java/com/android/internal/app/procstats/IProcessStats.aidl",
370 "core/java/com/android/internal/appwidget/IAppWidgetService.aidl",
371 "core/java/com/android/internal/appwidget/IAppWidgetHost.aidl",
372 "core/java/com/android/internal/backup/IBackupTransport.aidl",
373 "core/java/com/android/internal/backup/IObbBackupService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800374 "core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl",
375 "core/java/com/android/internal/net/INetworkWatchlistManager.aidl",
376 "core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl",
377 "core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl",
378 "core/java/com/android/internal/policy/IKeyguardExitCallback.aidl",
379 "core/java/com/android/internal/policy/IKeyguardService.aidl",
380 "core/java/com/android/internal/policy/IKeyguardStateCallback.aidl",
381 "core/java/com/android/internal/policy/IShortcutService.aidl",
382 "core/java/com/android/internal/os/IDropBoxManagerService.aidl",
383 "core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl",
384 "core/java/com/android/internal/os/IResultReceiver.aidl",
385 "core/java/com/android/internal/os/IShellCallback.aidl",
386 "core/java/com/android/internal/statusbar/IStatusBar.aidl",
387 "core/java/com/android/internal/statusbar/IStatusBarService.aidl",
388 "core/java/com/android/internal/textservice/ISpellCheckerService.aidl",
389 "core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl",
390 "core/java/com/android/internal/textservice/ISpellCheckerSession.aidl",
391 "core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl",
392 "core/java/com/android/internal/textservice/ITextServicesManager.aidl",
393 "core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl",
394 "core/java/com/android/internal/view/IDragAndDropPermissions.aidl",
395 "core/java/com/android/internal/view/IInputContext.aidl",
396 "core/java/com/android/internal/view/IInputContextCallback.aidl",
397 "core/java/com/android/internal/view/IInputMethod.aidl",
398 "core/java/com/android/internal/view/IInputMethodClient.aidl",
399 "core/java/com/android/internal/view/IInputMethodManager.aidl",
400 "core/java/com/android/internal/view/IInputMethodSession.aidl",
401 "core/java/com/android/internal/view/IInputSessionCallback.aidl",
402 "core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl",
403 "core/java/com/android/internal/widget/ILockSettings.aidl",
404 "core/java/com/android/internal/widget/IRemoteViewsFactory.aidl",
405 "keystore/java/android/security/IKeyChainAliasCallback.aidl",
406 "keystore/java/android/security/IKeyChainService.aidl",
407 "location/java/android/location/IBatchedLocationCallback.aidl",
408 "location/java/android/location/ICountryDetector.aidl",
409 "location/java/android/location/ICountryListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800410 "location/java/android/location/IGeocodeProvider.aidl",
411 "location/java/android/location/IGeofenceProvider.aidl",
412 "location/java/android/location/IGnssStatusListener.aidl",
413 "location/java/android/location/IGnssStatusProvider.aidl",
414 "location/java/android/location/IGnssMeasurementsListener.aidl",
415 "location/java/android/location/IGnssNavigationMessageListener.aidl",
416 "location/java/android/location/ILocationListener.aidl",
417 "location/java/android/location/ILocationManager.aidl",
418 "location/java/android/location/IFusedGeofenceHardware.aidl",
419 "location/java/android/location/IGpsGeofenceHardware.aidl",
420 "location/java/android/location/INetInitiatedListener.aidl",
421 "location/java/com/android/internal/location/ILocationProvider.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800422 "media/java/android/media/IAudioFocusDispatcher.aidl",
423 "media/java/android/media/IAudioRoutesObserver.aidl",
Jaewan Kim379e30d2018-01-29 11:57:04 +0900424 "media/java/android/media/IAudioService.aidl",
Eric Laurent1d3cdce2018-01-20 10:31:21 -0800425 "media/java/android/media/IAudioServerStateDispatcher.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800426 "media/java/android/media/IMediaHTTPConnection.aidl",
427 "media/java/android/media/IMediaHTTPService.aidl",
428 "media/java/android/media/IMediaResourceMonitor.aidl",
429 "media/java/android/media/IMediaRouterClient.aidl",
430 "media/java/android/media/IMediaRouterService.aidl",
431 "media/java/android/media/IMediaScannerListener.aidl",
432 "media/java/android/media/IMediaScannerService.aidl",
433 "media/java/android/media/IPlaybackConfigDispatcher.aidl",
Jaewan Kim379e30d2018-01-29 11:57:04 +0900434 "media/java/android/media/ISessionTokensListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800435 ":libaudioclient_aidl",
436 "media/java/android/media/IRecordingConfigDispatcher.aidl",
437 "media/java/android/media/IRemoteDisplayCallback.aidl",
438 "media/java/android/media/IRemoteDisplayProvider.aidl",
439 "media/java/android/media/IRemoteVolumeController.aidl",
440 "media/java/android/media/IRemoteVolumeObserver.aidl",
441 "media/java/android/media/IRingtonePlayer.aidl",
442 "media/java/android/media/IVolumeController.aidl",
443 "media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl",
444 "media/java/android/media/midi/IBluetoothMidiService.aidl",
445 "media/java/android/media/midi/IMidiDeviceListener.aidl",
446 "media/java/android/media/midi/IMidiDeviceOpenCallback.aidl",
447 "media/java/android/media/midi/IMidiDeviceServer.aidl",
448 "media/java/android/media/midi/IMidiManager.aidl",
449 "media/java/android/media/projection/IMediaProjection.aidl",
450 "media/java/android/media/projection/IMediaProjectionCallback.aidl",
451 "media/java/android/media/projection/IMediaProjectionManager.aidl",
452 "media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl",
453 "media/java/android/media/session/IActiveSessionsListener.aidl",
454 "media/java/android/media/session/ICallback.aidl",
455 "media/java/android/media/session/IOnMediaKeyListener.aidl",
456 "media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl",
457 "media/java/android/media/session/ISession.aidl",
458 "media/java/android/media/session/ISessionCallback.aidl",
459 "media/java/android/media/session/ISessionController.aidl",
460 "media/java/android/media/session/ISessionControllerCallback.aidl",
461 "media/java/android/media/session/ISessionManager.aidl",
Philip P. Moltmann18e3eb82018-03-09 16:55:55 -0800462 "media/java/android/media/soundtrigger/ISoundTriggerDetectionService.aidl",
463 "media/java/android/media/soundtrigger/ISoundTriggerDetectionServiceClient.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800464 "media/java/android/media/tv/ITvInputClient.aidl",
465 "media/java/android/media/tv/ITvInputHardware.aidl",
466 "media/java/android/media/tv/ITvInputHardwareCallback.aidl",
467 "media/java/android/media/tv/ITvInputManager.aidl",
468 "media/java/android/media/tv/ITvInputManagerCallback.aidl",
469 "media/java/android/media/tv/ITvInputService.aidl",
470 "media/java/android/media/tv/ITvInputServiceCallback.aidl",
471 "media/java/android/media/tv/ITvInputSession.aidl",
472 "media/java/android/media/tv/ITvInputSessionCallback.aidl",
473 "media/java/android/media/tv/ITvRemoteProvider.aidl",
474 "media/java/android/media/tv/ITvRemoteServiceInput.aidl",
475 "media/java/android/service/media/IMediaBrowserService.aidl",
476 "media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl",
477 "telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl",
478 "telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl",
479 "telecomm/java/com/android/internal/telecom/IVideoCallback.aidl",
480 "telecomm/java/com/android/internal/telecom/IVideoProvider.aidl",
481 "telecomm/java/com/android/internal/telecom/IConnectionService.aidl",
482 "telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl",
483 "telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl",
484 "telecomm/java/com/android/internal/telecom/IInCallService.aidl",
485 "telecomm/java/com/android/internal/telecom/ITelecomService.aidl",
486 "telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl",
Mohamed Abdalkader48e18c52018-01-22 15:43:37 -0800487 "telephony/java/android/telephony/data/IDataService.aidl",
488 "telephony/java/android/telephony/data/IDataServiceCallback.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800489 "telephony/java/android/telephony/ims/aidl/IImsCallSessionListener.aidl",
Brad Ebinger112c36d2018-01-16 09:33:47 -0800490 "telephony/java/android/telephony/ims/aidl/IImsCapabilityCallback.aidl",
491 "telephony/java/android/telephony/ims/aidl/IImsConfig.aidl",
492 "telephony/java/android/telephony/ims/aidl/IImsConfigCallback.aidl",
493 "telephony/java/android/telephony/ims/aidl/IImsMmTelFeature.aidl",
494 "telephony/java/android/telephony/ims/aidl/IImsMmTelListener.aidl",
495 "telephony/java/android/telephony/ims/aidl/IImsRegistration.aidl",
496 "telephony/java/android/telephony/ims/aidl/IImsRegistrationCallback.aidl",
497 "telephony/java/android/telephony/ims/aidl/IImsRcsFeature.aidl",
498 "telephony/java/android/telephony/ims/aidl/IImsServiceController.aidl",
499 "telephony/java/android/telephony/ims/aidl/IImsServiceControllerListener.aidl",
Logan Chien71ddfea2018-02-27 16:43:50 +0800500 "telephony/java/android/telephony/ims/aidl/IImsSmsListener.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800501 "telephony/java/android/telephony/mbms/IMbmsDownloadSessionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800502 "telephony/java/android/telephony/mbms/IMbmsStreamingSessionCallback.aidl",
Hall Liu79539972018-03-19 18:12:23 -0700503 "telephony/java/android/telephony/mbms/IDownloadStatusListener.aidl",
504 "telephony/java/android/telephony/mbms/IDownloadProgressListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800505 "telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl",
506 "telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl",
507 "telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl",
Jack Yud5f1de12017-12-21 11:00:05 -0800508 "telephony/java/android/telephony/INetworkService.aidl",
509 "telephony/java/android/telephony/INetworkServiceCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800510 "telephony/java/com/android/ims/internal/IImsCallSession.aidl",
511 "telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl",
512 "telephony/java/com/android/ims/internal/IImsConfig.aidl",
513 "telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl",
514 "telephony/java/com/android/ims/internal/IImsEcbm.aidl",
515 "telephony/java/com/android/ims/internal/IImsEcbmListener.aidl",
516 "telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl",
517 "telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl",
518 "telephony/java/com/android/ims/internal/IImsMMTelFeature.aidl",
519 "telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl",
520 "telephony/java/com/android/ims/internal/IImsRcsFeature.aidl",
521 "telephony/java/com/android/ims/internal/IImsService.aidl",
522 "telephony/java/com/android/ims/internal/IImsServiceController.aidl",
523 "telephony/java/com/android/ims/internal/IImsServiceFeatureCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800524 "telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl",
525 "telephony/java/com/android/ims/internal/IImsUt.aidl",
526 "telephony/java/com/android/ims/internal/IImsUtListener.aidl",
527 "telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl",
528 "telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800529 "telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl",
530 "telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl",
531 "telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl",
532 "telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl",
533 "telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl",
534 "telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl",
535 "telephony/java/com/android/ims/ImsConfigListener.aidl",
536 "telephony/java/com/android/internal/telephony/IApnSourceService.aidl",
537 "telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl",
538 "telephony/java/com/android/internal/telephony/IMms.aidl",
539 "telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl",
540 "telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl",
541 "telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl",
542 "telephony/java/com/android/internal/telephony/ISms.aidl",
543 "telephony/java/com/android/internal/telephony/ISub.aidl",
544 "telephony/java/com/android/internal/telephony/ITelephony.aidl",
545 "telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl",
546 "telephony/java/com/android/internal/telephony/IWapPushManager.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800547 "telephony/java/com/android/internal/telephony/euicc/IAuthenticateServerCallback.aidl",
548 "telephony/java/com/android/internal/telephony/euicc/ICancelSessionCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800549 "telephony/java/com/android/internal/telephony/euicc/IDeleteProfileCallback.aidl",
550 "telephony/java/com/android/internal/telephony/euicc/IDisableProfileCallback.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800551 "telephony/java/com/android/internal/telephony/euicc/IEuiccCardController.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800552 "telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800553 "telephony/java/com/android/internal/telephony/euicc/IGetAllProfilesCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800554 "telephony/java/com/android/internal/telephony/euicc/IGetDefaultSmdpAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800555 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccChallengeCallback.aidl",
556 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo1Callback.aidl",
557 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo2Callback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800558 "telephony/java/com/android/internal/telephony/euicc/IGetProfileCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800559 "telephony/java/com/android/internal/telephony/euicc/IGetRulesAuthTableCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800560 "telephony/java/com/android/internal/telephony/euicc/IGetSmdsAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800561 "telephony/java/com/android/internal/telephony/euicc/IListNotificationsCallback.aidl",
562 "telephony/java/com/android/internal/telephony/euicc/ILoadBoundProfilePackageCallback.aidl",
563 "telephony/java/com/android/internal/telephony/euicc/IPrepareDownloadCallback.aidl",
564 "telephony/java/com/android/internal/telephony/euicc/IRemoveNotificationFromListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800565 "telephony/java/com/android/internal/telephony/euicc/IResetMemoryCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800566 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationCallback.aidl",
567 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800568 "telephony/java/com/android/internal/telephony/euicc/ISetDefaultSmdpAddressCallback.aidl",
569 "telephony/java/com/android/internal/telephony/euicc/ISetNicknameCallback.aidl",
570 "telephony/java/com/android/internal/telephony/euicc/ISwitchToProfileCallback.aidl",
Mehdi Alizadeh0037dde2017-11-28 15:31:28 -0800571 "wifi/java/android/net/wifi/ISoftApCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800572 "wifi/java/android/net/wifi/IWifiManager.aidl",
573 "wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl",
574 "wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl",
575 "wifi/java/android/net/wifi/aware/IWifiAwareMacAddressProvider.aidl",
576 "wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl",
577 "wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl",
578 "wifi/java/android/net/wifi/rtt/IRttCallback.aidl",
579 "wifi/java/android/net/wifi/rtt/IWifiRttManager.aidl",
580 "wifi/java/android/net/wifi/hotspot2/IProvisioningCallback.aidl",
581 "wifi/java/android/net/wifi/IWifiScanner.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800582 "packages/services/PacProcessor/com/android/net/IProxyService.aidl",
583 "packages/services/Proxy/com/android/net/IProxyCallback.aidl",
584 "packages/services/Proxy/com/android/net/IProxyPortListener.aidl",
585 "core/java/android/service/quicksettings/IQSService.aidl",
586 "core/java/android/service/quicksettings/IQSTileService.aidl",
587
588 ":libupdate_engine_aidl",
589
590 ":storaged_aidl",
591 ":netd_aidl",
592 ":vold_aidl",
593 ":installd_aidl",
594
595 "lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl",
596 "lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl",
597 "lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl",
598 "lowpan/java/android/net/lowpan/ILowpanInterface.aidl",
599 "lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl",
600 "lowpan/java/android/net/lowpan/ILowpanManager.aidl",
601
602 "core/java/android/app/admin/SecurityLogTags.logtags",
603 "core/java/android/content/EventLogTags.logtags",
604 "core/java/android/speech/tts/EventLogTags.logtags",
605 "core/java/android/net/EventLogTags.logtags",
Makoto Onuki49392d32018-04-11 13:51:02 -0700606 "core/java/android/os/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800607 "core/java/android/webkit/EventLogTags.logtags",
Ben Gruverc7ffbe62018-01-19 11:28:04 -0800608 "core/java/com/android/internal/app/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800609 "core/java/com/android/internal/logging/EventLogTags.logtags",
Siyuan Zhoubafcd7b2017-12-04 13:02:11 -0800610 "core/java/com/android/server/DropboxLogTags.logtags",
Ricardo Quesadaab086c52017-12-11 11:26:53 -0800611 "core/java/org/chromium/arc/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800612
613 ":framework-statslog-gen",
614 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800615
616 aidl: {
Colin Cross4eb07842017-12-14 15:18:42 -0800617 export_include_dirs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800618 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
619 "core/java",
620 "graphics/java",
621 "location/java",
622 "lowpan/java",
623 "media/java",
624 "media/mca/effect/java",
625 "media/mca/filterfw/java",
626 "media/mca/filterpacks/java",
627 "drm/java",
628 "opengl/java",
629 "sax/java",
630 "telecomm/java",
631 "telephony/java",
632 "wifi/java",
633 "keystore/java",
634 "rs/java",
635 ],
636
637 include_dirs: [
638 "system/update_engine/binder_bindings",
639 "frameworks/native/aidl/binder",
640 "frameworks/av/camera/aidl",
641 "frameworks/av/media/libaudioclient/aidl",
642 "frameworks/native/aidl/gui",
643 "system/core/storaged/binder",
644 "system/netd/server/binder",
645 "system/vold/binder",
646 "system/bt/binder",
Logan Chien404eb2b2018-02-14 13:53:04 +0800647 "system/security/keystore/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800648 ],
649 },
650
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000651 exclude_srcs: [
Paul Duffina3b69212018-01-25 09:58:32 +0000652 // See comment on framework-atb-backward-compatibility module below
653 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
654 // See comment on framework-oahl-backward-compatibility module below
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000655 "core/java/android/content/pm/OrgApacheHttpLegacyUpdater.java",
656 ],
657
Colin Crosscf3a0b52017-11-16 00:15:28 -0800658 no_framework_libs: true,
659 libs: [
660 "conscrypt",
661 "okhttp",
662 "bouncycastle",
663 "ext",
664 ],
665
666 static_libs: [
667 "framework-protos",
668 "android.hidl.base-V1.0-java",
669 "android.hardware.cas-V1.0-java",
670 "android.hardware.contexthub-V1.0-java",
671 "android.hardware.health-V1.0-java-constants",
672 "android.hardware.thermal-V1.0-java-constants",
673 "android.hardware.tv.input-V1.0-java-constants",
674 "android.hardware.usb-V1.0-java-constants",
675 "android.hardware.usb-V1.1-java-constants",
Michael Wrightf268bf52018-02-07 23:23:34 +0000676 "android.hardware.vibrator-V1.0-java",
677 "android.hardware.vibrator-V1.1-java",
678 "android.hardware.vibrator-V1.2-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800679 "android.hardware.wifi-V1.0-java-constants",
yuemingw9361a132017-11-24 18:20:11 +0000680 "android.hardware.radio-V1.0-java",
Jerry Zhang327b8092018-01-09 17:53:04 -0800681 "android.hardware.usb.gadget-V1.0-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800682 ],
683
684 // Loaded with System.loadLibrary by android.view.textclassifier
Wei Jia0a8a8f02017-12-05 17:05:29 -0800685 required: [
686 "libtextclassifier",
Logan Chien71ddfea2018-02-27 16:43:50 +0800687 "libmedia2_jni",
688 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800689
690 javac_shard_size: 150,
691
692 dxflags: [
693 "--core-library",
694 "--multi-dex",
695 ],
696}
697
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000698// A temporary build target that is conditionally included on the bootclasspath if
699// org.apache.http.legacy library has been removed and which provides support for
700// maintaining backwards compatibility for APKs that target pre-P and depend on
701// org.apache.http.legacy classes. This is used iff REMOVE_OAHL_FROM_BCP=true is
702// specified on the build command line.
703java_library {
704 name: "framework-oahl-backward-compatibility",
705 srcs: [
706 "core/java/android/content/pm/OrgApacheHttpLegacyUpdater.java",
707 ],
708}
709
Paul Duffina3b69212018-01-25 09:58:32 +0000710// A temporary build target that is conditionally included on the bootclasspath if
711// android.test.base library has been removed and which provides support for
712// maintaining backwards compatibility for APKs that target pre-P and depend on
713// android.test.base classes. This is used iff REMOVE_ATB_FROM_BCP=true is
714// specified on the build command line.
715java_library {
716 name: "framework-atb-backward-compatibility",
717 srcs: [
718 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
719 ],
720}
721
Colin Crosscf3a0b52017-11-16 00:15:28 -0800722genrule {
723 name: "framework-statslog-gen",
724 tools: ["stats-log-api-gen"],
725 cmd: "$(location stats-log-api-gen) --java $(out)",
David Chen0a368b22017-12-06 16:28:16 -0800726 out: ["android/util/StatsLogInternal.java"],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800727}
728
729gensrcs {
730 name: "framework-javastream-protos",
731 depfile: true,
732
733 tools: [
734 "aprotoc",
735 "protoc-gen-javastream",
736 "soong_zip",
737 ],
738
Colin Cross6471db92017-12-04 16:02:10 -0800739 cmd: "mkdir -p $(genDir)/$(in) " +
Colin Crosscf3a0b52017-11-16 00:15:28 -0800740 "&& $(location aprotoc) " +
Colin Cross6471db92017-12-04 16:02:10 -0800741 " --plugin=$(location protoc-gen-javastream) " +
Colin Crosscf3a0b52017-11-16 00:15:28 -0800742 " --dependency_out=$(depfile) " +
743 " --javastream_out=$(genDir)/$(in) " +
744 " -Iexternal/protobuf/src " +
745 " -I . " +
746 " $(in) " +
747 "&& $(location soong_zip) -jar -o $(out) -C $(genDir)/$(in) -D $(genDir)/$(in)",
748
Yi Jin437aa6e2018-01-10 11:34:26 -0800749 srcs: [
750 "core/proto/**/*.proto",
751 "libs/incident/**/*.proto",
752 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800753 output_extension: "srcjar",
754}
755
Colin Crossd8e02252017-10-02 17:14:22 -0700756// Build ext.jar
757// ============================================================
758java_library {
759 name: "ext",
760 no_framework_libs: true,
761 static_libs: [
762 "libphonenumber-platform",
763 "nist-sip",
764 "tagsoup",
Ricky Wai0d1bc332017-10-31 14:31:01 +0000765 "rappor",
Colin Crossd8e02252017-10-02 17:14:22 -0700766 ],
767 dxflags: ["--core-library"],
768}
769
Colin Crossaa0d4352017-05-02 14:14:56 -0700770// ==== c++ proto device library ==============================
771cc_library {
772 name: "libplatformprotos",
773 host_supported: true,
Colin Crossaa0d4352017-05-02 14:14:56 -0700774 proto: {
775 export_proto_headers: true,
776 include_dirs: ["external/protobuf/src"],
777 },
778
Chih-Hung Hsiehc7edf072017-10-03 09:57:55 -0700779 cflags: [
780 "-Wall",
781 "-Werror",
782 "-Wno-unused-parameter",
783 ],
Joe Onorato62c220b2017-11-18 20:32:56 -0800784
785 srcs: [
786 "core/proto/**/*.proto",
787 "libs/incident/**/*.proto",
Joe Onorato62c220b2017-11-18 20:32:56 -0800788 ],
789
Colin Crossaa0d4352017-05-02 14:14:56 -0700790 target: {
791 host: {
792 proto: {
793 type: "full",
794 },
795 },
796 android: {
797 proto: {
798 type: "lite",
799 },
800 shared: {
Colin Crossaa0d4352017-05-02 14:14:56 -0700801 enabled: false,
802 },
803 },
804 },
Colin Crossaa0d4352017-05-02 14:14:56 -0700805}
806
Yi Jin04625ad2017-10-17 18:29:33 -0700807gensrcs {
808 name: "gen-platform-proto-constants",
809 depfile: true,
810
811 tools: [
812 "aprotoc",
813 "protoc-gen-cppstream",
814 ],
815
816 srcs: [
Kweku Adamseadd1232018-02-05 16:45:13 -0800817 "core/proto/android/os/backtrace.proto",
Kweku Adams59e6fd72017-12-27 15:48:14 -0800818 "core/proto/android/os/batterytype.proto",
Yi Jin0eb22342017-11-06 17:17:27 -0800819 "core/proto/android/os/cpufreq.proto",
Yi Jine2f7f792017-11-01 17:08:27 -0700820 "core/proto/android/os/cpuinfo.proto",
Yi Jin04625ad2017-10-17 18:29:33 -0700821 "core/proto/android/os/kernelwake.proto",
822 "core/proto/android/os/pagetypeinfo.proto",
823 "core/proto/android/os/procrank.proto",
Kweku Adamsf5cc5752017-12-20 17:59:17 -0800824 "core/proto/android/os/ps.proto",
Yi Jin0dfa7522017-11-06 17:43:47 -0800825 "core/proto/android/os/system_properties.proto",
Yi Jin3c034c92017-12-22 17:36:47 -0800826 "core/proto/android/util/event_log_tags.proto",
Yi Jin04625ad2017-10-17 18:29:33 -0700827 ],
828
829 // Append protoc-gen-cppstream tool's PATH otherwise aprotoc can't find the plugin tool
Yi Jin3c034c92017-12-22 17:36:47 -0800830 cmd: "mkdir -p $(genDir) " +
831 "&& $(location aprotoc) " +
832 " --plugin=$(location protoc-gen-cppstream) " +
833 " --dependency_out=$(depfile) " +
834 " --cppstream_out=$(genDir) " +
835 " -Iexternal/protobuf/src " +
836 " -I . " +
837 " $(in)",
Yi Jin04625ad2017-10-17 18:29:33 -0700838
Logan Chien71ddfea2018-02-27 16:43:50 +0800839 output_extension: "proto.h",
Yi Jin04625ad2017-10-17 18:29:33 -0700840}
841
Dan Albert2a8d9c22016-09-23 15:55:49 -0700842subdirs = [
Yi Jin0a3406f2017-06-22 19:23:11 -0700843 "cmds/*",
Jeff Sharkey0c686e72017-10-23 16:04:31 -0600844 "core/*",
Colin Cross4f8d9e62016-12-01 15:55:00 -0800845 "libs/*",
Colin Cross76de4f62017-05-15 18:10:40 -0700846 "media/*",
Colin Cross747e7c12017-10-24 16:21:22 -0700847 "proto",
Fabien Sanglard19160202017-01-12 14:24:31 -0500848 "tools/*",
Dan Albert2a8d9c22016-09-23 15:55:49 -0700849 "native/android",
Dan Albert7ce8df32016-09-23 16:43:49 -0700850 "native/graphics/jni",
Dan Albert2a8d9c22016-09-23 15:55:49 -0700851]
Svetoslav Ganov74c99832016-12-05 20:07:20 -0800852
853optional_subdirs = [
854 "core/tests/utiltests/jni",
855]
Steven Morelandeddafe92017-10-02 16:58:41 -0700856
Colin Crossa2b78a72018-03-29 13:31:04 -0700857// TODO(b/77285514): remove this once the last few hidl interfaces have been
858// updated to use hwbinder.stubs.
Steven Morelandeddafe92017-10-02 16:58:41 -0700859java_library {
860 name: "hwbinder",
861 no_framework_libs: true,
862
863 srcs: [
864 "core/java/android/os/HidlSupport.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -0800865 "core/java/android/annotation/IntDef.java",
Steven Morelandeddafe92017-10-02 16:58:41 -0700866 "core/java/android/annotation/NonNull.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -0800867 "core/java/android/annotation/SystemApi.java",
Steven Morelandeddafe92017-10-02 16:58:41 -0700868 "core/java/android/os/HwBinder.java",
869 "core/java/android/os/HwBlob.java",
870 "core/java/android/os/HwParcel.java",
871 "core/java/android/os/IHwBinder.java",
872 "core/java/android/os/IHwInterface.java",
873 "core/java/android/os/DeadObjectException.java",
874 "core/java/android/os/DeadSystemException.java",
875 "core/java/android/os/RemoteException.java",
876 "core/java/android/util/AndroidException.java",
877 ],
878
879 dxflags: ["--core-library"],
880 installable: false,
881}
Nan Zhang2db709d2017-11-08 20:48:46 -0800882
883python_defaults {
884 name: "base_default",
885 version: {
886 py2: {
887 enabled: true,
888 embedded_launcher: true,
889 },
890 py3: {
891 enabled: false,
892 embedded_launcher: false,
893 },
894 },
895}
896
897python_binary_host {
898 name: "fontchain_linter",
899 defaults: ["base_default"],
900 main: "tools/fonts/fontchain_linter.py",
901 srcs: [
902 "tools/fonts/fontchain_linter.py",
903 ],
904 libs: [
905 "fontTools",
906 ],
907}
Nan Zhang172875b2018-02-27 11:24:03 -0800908
909// TODO: Don't rely on this list once droiddoc can take a list of packages to document
910frameworks_base_subdirs = [
911 "core/java",
912 "graphics/java",
913 "location/java",
914 "media/java",
915 "media/mca/effect/java",
916 "media/mca/filterfw/java",
917 "media/mca/filterpacks/java",
918 "drm/java",
919 "opengl/java",
920 "sax/java",
921 "telecomm/java",
922 "telephony/java",
923 "wifi/java",
924 "lowpan/java",
925 "keystore/java",
926 "rs/java",
927]
928
929packages_to_document = [
930 "android",
931 "javax/microedition/khronos",
932 "org/apache/http/conn",
933 "org/apache/http/params",
934]
935
936// The since flag (-since N.xml API_LEVEL) is used to add API Level information
937// to the reference documentation. Must be in order of oldest to newest.
938//
939// Conscrypt (com.android.org.conscrypt) is an implementation detail and should
940// not be referenced in the documentation.
941framework_docs_args = "-android -manifest $(location core/res/AndroidManifest.xml) " +
Nan Zhangf33e1942018-03-23 00:57:00 -0700942 "-hidePackage com.android.internal " +
943 "-hidePackage com.android.internal.util " +
944 "-hidePackage com.android.okhttp " +
945 "-hidePackage com.android.org.conscrypt " +
946 "-hidePackage com.android.server " +
Nan Zhang172875b2018-02-27 11:24:03 -0800947 "-since $(location api/1.xml) 1 " +
948 "-since $(location api/2.xml) 2 " +
949 "-since $(location api/3.xml) 3 " +
950 "-since $(location api/4.xml) 4 " +
951 "-since $(location api/5.xml) 5 " +
952 "-since $(location api/6.xml) 6 " +
953 "-since $(location api/7.xml) 7 " +
954 "-since $(location api/8.xml) 8 " +
955 "-since $(location api/9.xml) 9 " +
956 "-since $(location api/10.xml) 10 " +
957 "-since $(location api/11.xml) 11 " +
958 "-since $(location api/12.xml) 12 " +
959 "-since $(location api/13.xml) 13 " +
960 "-since $(location api/14.txt) 14 " +
961 "-since $(location api/15.txt) 15 " +
962 "-since $(location api/16.txt) 16 " +
963 "-since $(location api/17.txt) 17 " +
964 "-since $(location api/18.txt) 18 " +
965 "-since $(location api/19.txt) 19 " +
966 "-since $(location api/20.txt) 20 " +
967 "-since $(location api/21.txt) 21 " +
968 "-since $(location api/22.txt) 22 " +
969 "-since $(location api/23.txt) 23 " +
970 "-since $(location api/24.txt) 24 " +
971 "-since $(location api/25.txt) 25 " +
972 "-since $(location api/26.txt) 26 " +
973 "-since $(location api/27.txt) 27 " +
Nan Zhangf33e1942018-03-23 00:57:00 -0700974 "-since $(location api/current.txt) P " +
Nan Zhang172875b2018-02-27 11:24:03 -0800975 "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
976 "-overview $(location core/java/overview.html) " +
977 // Federate Support Library references against local API file.
978 "-federate SupportLib https://developer.android.com " +
979 "-federationapi SupportLib $(location current/support-api.txt) "
980
981doc_defaults {
982 name: "framework-docs-default",
983 srcs: [
Nan Zhang172875b2018-02-27 11:24:03 -0800984 ":opt-telephony-srcs",
985 ":opt-net-voip-srcs",
986 ":openjdk_javadoc_files",
987 ":non_openjdk_javadoc_files",
988 ":android_icu4j_src_files_for_docs",
989 ":gen-ojluni-jaif-annotated-srcs",
990 ],
991 exclude_srcs: [
992 ":annotated_ojluni_files",
993 ],
994 srcs_lib: "framework",
995 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
996 srcs_lib_whitelist_pkgs: packages_to_document,
997 libs: [
998 "core-oj",
999 "core-libart",
1000 "conscrypt",
1001 "bouncycastle",
1002 "okhttp",
1003 "ext",
1004 "framework",
1005 "voip-common",
1006 "android.test.mock",
1007 ],
1008 local_sourcepaths: frameworks_base_subdirs,
1009 html_dirs: [
1010 "docs/html",
1011 ],
1012 knowntags: [
1013 "docs/knowntags.txt",
1014 ":known-oj-tags",
1015 ],
1016 custom_template: "droiddoc-templates-sdk",
1017 hdf: [
1018 "dac true",
1019 "sdk.codename O",
1020 "sdk.preview.version 1",
1021 "sdk.version 7.0",
1022 "sdk.rel.id 1",
1023 "sdk.preview 0",
1024 ],
1025 resourcesdir: "docs/html/reference/images",
1026 resourcesoutdir: "reference/android/images",
Nan Zhang7bfac8d2018-03-13 16:16:34 -07001027 installable: false,
Nan Zhang172875b2018-02-27 11:24:03 -08001028}
1029
1030droiddoc {
1031 name: "api-stubs-docs",
1032 defaults: ["framework-docs-default"],
1033 arg_files: [
1034 "core/res/AndroidManifest.xml",
1035 ":api-version-xml",
1036 "core/java/overview.html",
1037 ":current-support-api",
Nan Zhangf33e1942018-03-23 00:57:00 -07001038 "api/current.txt",
Nan Zhang172875b2018-02-27 11:24:03 -08001039 ],
Nan Zhang7bfac8d2018-03-13 16:16:34 -07001040 api_filename: "public_api.txt",
1041 removed_api_filename: "removed.txt",
1042 args: framework_docs_args + " -referenceonly -nodocs",
Nan Zhang172875b2018-02-27 11:24:03 -08001043}
1044
1045droiddoc {
1046 name: "system-api-stubs-docs",
1047 defaults: ["framework-docs-default"],
1048 arg_files: [
1049 "core/res/AndroidManifest.xml",
1050 ":api-version-xml",
1051 "core/java/overview.html",
1052 ":current-support-api",
Nan Zhangf33e1942018-03-23 00:57:00 -07001053 "api/current.txt",
Nan Zhang172875b2018-02-27 11:24:03 -08001054 ],
Nan Zhang7bfac8d2018-03-13 16:16:34 -07001055 api_tag_name: "SYSTEM",
1056 api_filename: "system-api.txt",
1057 removed_api_filename: "system-removed.txt",
1058 exact_api_filename: "system-exact.txt",
1059 args: framework_docs_args + " -referenceonly -showAnnotation android.annotation.SystemApi -nodocs",
Nan Zhang172875b2018-02-27 11:24:03 -08001060}
1061
1062droiddoc {
1063 name: "test-api-stubs-docs",
1064 defaults: ["framework-docs-default"],
1065 arg_files: [
1066 "core/res/AndroidManifest.xml",
1067 ":api-version-xml",
1068 "core/java/overview.html",
1069 ":current-support-api",
Nan Zhangf33e1942018-03-23 00:57:00 -07001070 "api/current.txt",
Nan Zhang172875b2018-02-27 11:24:03 -08001071 ],
Nan Zhang7bfac8d2018-03-13 16:16:34 -07001072 api_tag_name: "TEST",
1073 api_filename: "test-api.txt",
1074 removed_api_filename: "test-removed.txt",
1075 exact_api_filename: "test-exact.txt",
1076 args: framework_docs_args + " -referenceonly -showAnnotation android.annotation.TestApi -nodocs",
Nan Zhang172875b2018-02-27 11:24:03 -08001077}
Colin Crossa2b78a72018-03-29 13:31:04 -07001078
1079droiddoc {
1080 name: "hwbinder-stubs-docs",
1081 srcs: [
1082 "core/java/android/os/HidlSupport.java",
1083 "core/java/android/annotation/IntDef.java",
1084 "core/java/android/annotation/NonNull.java",
1085 "core/java/android/annotation/SystemApi.java",
1086 "core/java/android/os/HwBinder.java",
1087 "core/java/android/os/HwBlob.java",
1088 "core/java/android/os/HwParcel.java",
1089 "core/java/android/os/IHwBinder.java",
1090 "core/java/android/os/IHwInterface.java",
1091 "core/java/android/os/DeadObjectException.java",
1092 "core/java/android/os/DeadSystemException.java",
1093 "core/java/android/os/RemoteException.java",
1094 "core/java/android/util/AndroidException.java",
1095 ],
1096 custom_template: "droiddoc-templates-sdk",
1097 installable: false,
1098 no_framework_libs: true,
1099 args: "-showAnnotation android.annotation.SystemApi -nodocs -stubsourceonly",
1100}
1101
1102java_library_static {
1103 name: "hwbinder.stubs",
1104 sdk_version: "core_current",
1105 srcs: [
1106 ":hwbinder-stubs-docs",
1107 ],
1108}
Nan Zhanga0f91af2018-04-09 17:41:51 -07001109
1110filegroup {
1111 name: "apache-http-stubs-sources",
1112 srcs: [
1113 "core/java/org/apache/http/conn/ConnectTimeoutException.java",
1114 "core/java/org/apache/http/conn/scheme/HostNameResolver.java",
1115 "core/java/org/apache/http/conn/scheme/LayeredSocketFactory.java",
1116 "core/java/org/apache/http/conn/scheme/SocketFactory.java",
1117 "core/java/org/apache/http/conn/ssl/AbstractVerifier.java",
1118 "core/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java",
1119 "core/java/org/apache/http/conn/ssl/AndroidDistinguishedNameParser.java",
1120 "core/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java",
1121 "core/java/org/apache/http/conn/ssl/SSLSocketFactory.java",
1122 "core/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java",
1123 "core/java/org/apache/http/conn/ssl/X509HostnameVerifier.java",
1124 "core/java/org/apache/http/params/CoreConnectionPNames.java",
1125 "core/java/org/apache/http/params/HttpConnectionParams.java",
1126 "core/java/org/apache/http/params/HttpParams.java",
1127 "core/java/android/net/http/HttpResponseCache.java",
1128 "core/java/android/net/http/SslCertificate.java",
1129 "core/java/android/net/http/SslError.java",
1130 "core/java/com/android/internal/util/HexDump.java",
1131 ],
1132}