blob: 81c2725263a967e393bb83f361188400279d2e7e [file] [log] [blame]
Dan Albert2a8d9c22016-09-23 15:55:49 -07001// Copyright (C) 2016 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Colin Crosscf3a0b52017-11-16 00:15:28 -080015// Build the master framework library.
16
17// READ ME: ########################################################
18//
19// When updating this list of aidl files, consider if that aidl is
20// part of the SDK API. If it is, also add it to the list in Android.mk
21// that is preprocessed and distributed with the SDK. This list should
22// not contain any aidl files for parcelables, but the one below should
23// if you intend for 3rd parties to be able to send those objects
24// across process boundaries.
25//
26// READ ME: ########################################################
27
Mathew Inwoodbad89e52018-06-28 14:12:10 +010028java_defaults {
29 name: "framework-defaults",
Colin Crossa12c0f52018-06-27 11:00:11 -070030 installable: true,
Colin Crosscf3a0b52017-11-16 00:15:28 -080031
32 srcs: [
33 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
34 "core/java/**/*.java",
35 "graphics/java/**/*.java",
36 "location/java/**/*.java",
37 "lowpan/java/**/*.java",
38 "media/java/**/*.java",
39 "media/mca/effect/java/**/*.java",
40 "media/mca/filterfw/java/**/*.java",
41 "media/mca/filterpacks/java/**/*.java",
42 "drm/java/**/*.java",
43 "opengl/java/**/*.java",
44 "sax/java/**/*.java",
45 "telecomm/java/**/*.java",
46 "telephony/java/**/*.java",
47 "wifi/java/**/*.java",
48 "keystore/java/**/*.java",
49 "rs/java/**/*.java",
50
51 ":framework-javastream-protos",
52
53 "core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl",
54 "core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl",
55 "core/java/android/accounts/IAccountManager.aidl",
56 "core/java/android/accounts/IAccountManagerResponse.aidl",
57 "core/java/android/accounts/IAccountAuthenticator.aidl",
58 "core/java/android/accounts/IAccountAuthenticatorResponse.aidl",
59 "core/java/android/app/IActivityController.aidl",
60 "core/java/android/app/IActivityManager.aidl",
61 "core/java/android/app/IActivityPendingResult.aidl",
62 "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 Fullerb5579072018-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",
Remi NGUYEN VANcfff01e2019-02-13 20:58:59 +0900189 "core/java/android/net/ICaptivePortal.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800190 "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",
Howard Chenf17f42b2019-01-07 14:10:44 +0800224 "core/java/android/os/IDynamicAndroidService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800225 "core/java/android/os/IHardwarePropertiesManager.aidl",
Colin Cross05c9e5c2018-10-26 22:34:06 -0700226 ":libincident_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800227 "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",
Colin Cross05c9e5c2018-10-26 22:34:06 -0700239 ":statsd_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",
sqiancae1f262018-06-06 22:54:04 -0700477 "telecomm/java/com/android/internal/telecom/ICallRedirectionAdapter.aidl",
478 "telecomm/java/com/android/internal/telecom/ICallRedirectionService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800479 "telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl",
480 "telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl",
481 "telecomm/java/com/android/internal/telecom/IVideoCallback.aidl",
482 "telecomm/java/com/android/internal/telecom/IVideoProvider.aidl",
483 "telecomm/java/com/android/internal/telecom/IConnectionService.aidl",
484 "telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl",
485 "telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl",
486 "telecomm/java/com/android/internal/telecom/IInCallService.aidl",
Hall Liuc47570d2018-12-06 17:53:25 -0800487 "telecomm/java/com/android/internal/telecom/IPhoneAccountSuggestionCallback.aidl",
488 "telecomm/java/com/android/internal/telecom/IPhoneAccountSuggestionService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800489 "telecomm/java/com/android/internal/telecom/ITelecomService.aidl",
490 "telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl",
Mohamed Abdalkader48e18c52018-01-22 15:43:37 -0800491 "telephony/java/android/telephony/data/IDataService.aidl",
492 "telephony/java/android/telephony/data/IDataServiceCallback.aidl",
Jack Yua3ab5752018-02-20 14:08:57 -0800493 "telephony/java/android/telephony/data/IQualifiedNetworksService.aidl",
494 "telephony/java/android/telephony/data/IQualifiedNetworksServiceCallback.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800495 "telephony/java/android/telephony/ims/aidl/IImsCallSessionListener.aidl",
Brad Ebinger112c36d2018-01-16 09:33:47 -0800496 "telephony/java/android/telephony/ims/aidl/IImsCapabilityCallback.aidl",
497 "telephony/java/android/telephony/ims/aidl/IImsConfig.aidl",
498 "telephony/java/android/telephony/ims/aidl/IImsConfigCallback.aidl",
499 "telephony/java/android/telephony/ims/aidl/IImsMmTelFeature.aidl",
500 "telephony/java/android/telephony/ims/aidl/IImsMmTelListener.aidl",
501 "telephony/java/android/telephony/ims/aidl/IImsRegistration.aidl",
502 "telephony/java/android/telephony/ims/aidl/IImsRegistrationCallback.aidl",
503 "telephony/java/android/telephony/ims/aidl/IImsRcsFeature.aidl",
504 "telephony/java/android/telephony/ims/aidl/IImsServiceController.aidl",
505 "telephony/java/android/telephony/ims/aidl/IImsServiceControllerListener.aidl",
Logan Chien71ddfea2018-02-27 16:43:50 +0800506 "telephony/java/android/telephony/ims/aidl/IImsSmsListener.aidl",
Sahin Caliskan7719db22018-12-03 14:06:39 -0800507 "telephony/java/android/telephony/ims/aidl/IRcs.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800508 "telephony/java/android/telephony/mbms/IMbmsDownloadSessionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800509 "telephony/java/android/telephony/mbms/IMbmsStreamingSessionCallback.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700510 "telephony/java/android/telephony/mbms/IMbmsGroupCallSessionCallback.aidl",
Hall Liu79539972018-03-19 18:12:23 -0700511 "telephony/java/android/telephony/mbms/IDownloadStatusListener.aidl",
512 "telephony/java/android/telephony/mbms/IDownloadProgressListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800513 "telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700514 "telephony/java/android/telephony/mbms/IGroupCallCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800515 "telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl",
516 "telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700517 "telephony/java/android/telephony/mbms/vendor/IMbmsGroupCallService.aidl",
Nathan Harold2aa2cc12018-09-27 18:49:16 -0700518 "telephony/java/android/telephony/ICellInfoCallback.aidl",
Jack Yud5f1de12017-12-21 11:00:05 -0800519 "telephony/java/android/telephony/INetworkService.aidl",
520 "telephony/java/android/telephony/INetworkServiceCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800521 "telephony/java/com/android/ims/internal/IImsCallSession.aidl",
522 "telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl",
523 "telephony/java/com/android/ims/internal/IImsConfig.aidl",
524 "telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl",
525 "telephony/java/com/android/ims/internal/IImsEcbm.aidl",
526 "telephony/java/com/android/ims/internal/IImsEcbmListener.aidl",
527 "telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl",
528 "telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl",
529 "telephony/java/com/android/ims/internal/IImsMMTelFeature.aidl",
530 "telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl",
531 "telephony/java/com/android/ims/internal/IImsRcsFeature.aidl",
532 "telephony/java/com/android/ims/internal/IImsService.aidl",
533 "telephony/java/com/android/ims/internal/IImsServiceController.aidl",
534 "telephony/java/com/android/ims/internal/IImsServiceFeatureCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800535 "telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl",
536 "telephony/java/com/android/ims/internal/IImsUt.aidl",
537 "telephony/java/com/android/ims/internal/IImsUtListener.aidl",
538 "telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl",
539 "telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800540 "telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl",
541 "telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl",
542 "telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl",
543 "telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl",
544 "telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl",
545 "telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl",
546 "telephony/java/com/android/ims/ImsConfigListener.aidl",
547 "telephony/java/com/android/internal/telephony/IApnSourceService.aidl",
548 "telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl",
549 "telephony/java/com/android/internal/telephony/IMms.aidl",
Hall Liu53140362018-11-28 10:44:22 -0800550 "telephony/java/com/android/internal/telephony/INumberVerificationCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800551 "telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl",
552 "telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl",
553 "telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl",
554 "telephony/java/com/android/internal/telephony/ISms.aidl",
555 "telephony/java/com/android/internal/telephony/ISub.aidl",
Sooraj Sasindran9ac6a8b2019-01-08 13:23:17 -0800556 "telephony/java/com/android/internal/telephony/IOns.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800557 "telephony/java/com/android/internal/telephony/ITelephony.aidl",
558 "telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl",
559 "telephony/java/com/android/internal/telephony/IWapPushManager.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800560 "telephony/java/com/android/internal/telephony/euicc/IAuthenticateServerCallback.aidl",
561 "telephony/java/com/android/internal/telephony/euicc/ICancelSessionCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800562 "telephony/java/com/android/internal/telephony/euicc/IDeleteProfileCallback.aidl",
563 "telephony/java/com/android/internal/telephony/euicc/IDisableProfileCallback.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800564 "telephony/java/com/android/internal/telephony/euicc/IEuiccCardController.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800565 "telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800566 "telephony/java/com/android/internal/telephony/euicc/IGetAllProfilesCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800567 "telephony/java/com/android/internal/telephony/euicc/IGetDefaultSmdpAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800568 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccChallengeCallback.aidl",
569 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo1Callback.aidl",
570 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo2Callback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800571 "telephony/java/com/android/internal/telephony/euicc/IGetProfileCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800572 "telephony/java/com/android/internal/telephony/euicc/IGetRulesAuthTableCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800573 "telephony/java/com/android/internal/telephony/euicc/IGetSmdsAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800574 "telephony/java/com/android/internal/telephony/euicc/IListNotificationsCallback.aidl",
575 "telephony/java/com/android/internal/telephony/euicc/ILoadBoundProfilePackageCallback.aidl",
576 "telephony/java/com/android/internal/telephony/euicc/IPrepareDownloadCallback.aidl",
577 "telephony/java/com/android/internal/telephony/euicc/IRemoveNotificationFromListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800578 "telephony/java/com/android/internal/telephony/euicc/IResetMemoryCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800579 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationCallback.aidl",
580 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800581 "telephony/java/com/android/internal/telephony/euicc/ISetDefaultSmdpAddressCallback.aidl",
582 "telephony/java/com/android/internal/telephony/euicc/ISetNicknameCallback.aidl",
583 "telephony/java/com/android/internal/telephony/euicc/ISwitchToProfileCallback.aidl",
Mehdi Alizadeh0037dde2017-11-28 15:31:28 -0800584 "wifi/java/android/net/wifi/ISoftApCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800585 "wifi/java/android/net/wifi/IWifiManager.aidl",
586 "wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl",
587 "wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl",
588 "wifi/java/android/net/wifi/aware/IWifiAwareMacAddressProvider.aidl",
589 "wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl",
590 "wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl",
591 "wifi/java/android/net/wifi/rtt/IRttCallback.aidl",
592 "wifi/java/android/net/wifi/rtt/IWifiRttManager.aidl",
593 "wifi/java/android/net/wifi/hotspot2/IProvisioningCallback.aidl",
594 "wifi/java/android/net/wifi/IWifiScanner.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800595 "packages/services/PacProcessor/com/android/net/IProxyService.aidl",
596 "packages/services/Proxy/com/android/net/IProxyCallback.aidl",
597 "packages/services/Proxy/com/android/net/IProxyPortListener.aidl",
598 "core/java/android/service/quicksettings/IQSService.aidl",
599 "core/java/android/service/quicksettings/IQSTileService.aidl",
600
601 ":libupdate_engine_aidl",
602
603 ":storaged_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800604 ":vold_aidl",
Howard Chenf17f42b2019-01-07 14:10:44 +0800605 ":gsiservice_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800606 ":installd_aidl",
Nandana Duttb3f71682018-10-03 10:01:25 +0100607 ":dumpstate_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800608
609 "lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl",
610 "lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl",
611 "lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl",
612 "lowpan/java/android/net/lowpan/ILowpanInterface.aidl",
613 "lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl",
614 "lowpan/java/android/net/lowpan/ILowpanManager.aidl",
615
616 "core/java/android/app/admin/SecurityLogTags.logtags",
617 "core/java/android/content/EventLogTags.logtags",
618 "core/java/android/speech/tts/EventLogTags.logtags",
619 "core/java/android/net/EventLogTags.logtags",
Makoto Onuki49392d32018-04-11 13:51:02 -0700620 "core/java/android/os/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800621 "core/java/android/webkit/EventLogTags.logtags",
Ben Gruverc7ffbe62018-01-19 11:28:04 -0800622 "core/java/com/android/internal/app/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800623 "core/java/com/android/internal/logging/EventLogTags.logtags",
Siyuan Zhoubafcd7b2017-12-04 13:02:11 -0800624 "core/java/com/android/server/DropboxLogTags.logtags",
Ricardo Quesadaab086c52017-12-11 11:26:53 -0800625 "core/java/org/chromium/arc/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800626
Inseob Kim5b1cc272018-12-10 07:06:25 +0000627 ":platform-properties",
628
Colin Crosscf3a0b52017-11-16 00:15:28 -0800629 ":framework-statslog-gen",
630 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800631
632 aidl: {
Colin Cross4eb07842017-12-14 15:18:42 -0800633 export_include_dirs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800634 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
635 "core/java",
636 "graphics/java",
637 "location/java",
638 "lowpan/java",
639 "media/java",
640 "media/mca/effect/java",
641 "media/mca/filterfw/java",
642 "media/mca/filterpacks/java",
643 "drm/java",
644 "opengl/java",
645 "sax/java",
646 "telecomm/java",
647 "telephony/java",
648 "wifi/java",
649 "keystore/java",
650 "rs/java",
651 ],
652
653 include_dirs: [
654 "system/update_engine/binder_bindings",
655 "frameworks/native/aidl/binder",
Nandana Duttb3f71682018-10-03 10:01:25 +0100656 "frameworks/native/cmds/dumpstate/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800657 "frameworks/av/camera/aidl",
658 "frameworks/av/media/libaudioclient/aidl",
659 "frameworks/native/aidl/gui",
660 "system/core/storaged/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800661 "system/vold/binder",
Howard Chenf17f42b2019-01-07 14:10:44 +0800662 "system/gsid/aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800663 "system/bt/binder",
Logan Chien404eb2b2018-02-14 13:53:04 +0800664 "system/security/keystore/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800665 ],
Olivier Gaillardb0ea4212018-07-26 11:52:37 +0100666
667 generate_get_transaction_name: true
Colin Crosscf3a0b52017-11-16 00:15:28 -0800668 },
669
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000670 exclude_srcs: [
Paul Duffina3b69212018-01-25 09:58:32 +0000671 // See comment on framework-atb-backward-compatibility module below
672 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000673 ],
674
Colin Crosscf3a0b52017-11-16 00:15:28 -0800675 no_framework_libs: true,
676 libs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800677 "ext",
678 ],
679
Steven Moreland2f5d7d82019-01-24 12:03:26 -0800680 jarjar_rules: "jarjar_rules_hidl.txt",
Steven Moreland20a18482019-01-17 12:24:54 -0800681
Colin Crosscf3a0b52017-11-16 00:15:28 -0800682 static_libs: [
Dario Frenie186f992018-08-31 14:18:04 +0100683 "apex_aidl_interface-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800684 "framework-protos",
685 "android.hidl.base-V1.0-java",
686 "android.hardware.cas-V1.0-java",
687 "android.hardware.contexthub-V1.0-java",
688 "android.hardware.health-V1.0-java-constants",
Steven Moreland2f5d7d82019-01-24 12:03:26 -0800689 "android.hardware.radio-V1.0-java",
690 "android.hardware.radio-V1.1-java",
691 "android.hardware.radio-V1.2-java",
692 "android.hardware.radio-V1.3-java",
693 "android.hardware.radio-V1.4-java",
694 "android.hardware.radio.config-V1.0-java",
695 "android.hardware.radio.config-V1.1-java",
696 "android.hardware.radio.config-V1.2-java",
697 "android.hardware.radio.deprecated-V1.0-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800698 "android.hardware.thermal-V1.0-java-constants",
699 "android.hardware.tv.input-V1.0-java-constants",
700 "android.hardware.usb-V1.0-java-constants",
701 "android.hardware.usb-V1.1-java-constants",
Steven Moreland2f5d7d82019-01-24 12:03:26 -0800702 "android.hardware.usb.gadget-V1.0-java",
Michael Wrightf268bf52018-02-07 23:23:34 +0000703 "android.hardware.vibrator-V1.0-java",
704 "android.hardware.vibrator-V1.1-java",
705 "android.hardware.vibrator-V1.2-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800706 "android.hardware.wifi-V1.0-java-constants",
Remi NGUYEN VAN1b57e8e2019-02-14 18:19:14 +0900707 "networkstack-aidl-framework-java",
Remi NGUYEN VANdacee142019-02-13 18:28:35 +0900708 "netd_aidl_parcelables-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800709 ],
710
Wei Jia0a8a8f02017-12-05 17:05:29 -0800711 required: [
Anton Hanssonb27f0fa2018-11-27 12:10:30 +0000712 // TODO: remove gps_debug when the build system propagates "required" properly.
713 "gps_debug.conf",
Anton Hanssonb27f0fa2018-11-27 12:10:30 +0000714 // Loaded with System.loadLibrary by android.view.textclassifier
Logan Chien71ddfea2018-02-27 16:43:50 +0800715 "libmedia2_jni",
716 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800717
Colin Crosscf3a0b52017-11-16 00:15:28 -0800718 dxflags: [
719 "--core-library",
720 "--multi-dex",
721 ],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100722
723}
724
Colin Cross05c9e5c2018-10-26 22:34:06 -0700725filegroup {
726 name: "libincident_aidl",
727 srcs: [
728 "core/java/android/os/IIncidentManager.aidl",
729 "core/java/android/os/IIncidentReportStatusListener.aidl",
730 ],
731}
732
733filegroup {
734 name: "statsd_aidl",
735 srcs: [
736 "core/java/android/os/IStatsCompanionService.aidl",
737 "core/java/android/os/IStatsManager.aidl",
738 ],
739}
740
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100741java_library {
742 name: "framework",
743 defaults: ["framework-defaults"],
744 javac_shard_size: 150,
745}
746
747java_library {
748 name: "framework-annotation-proc",
749 defaults: ["framework-defaults"],
750 // Use UsedByApps annotation processor
Colin Crossa1f8e1a2019-01-21 21:45:20 -0800751 plugins: ["unsupportedappusage-annotation-processor"],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100752}
753
754// A host library including just UnsupportedAppUsage.java so that the annotation
755// processor can also use this annotation.
756java_library_host {
757 name: "unsupportedappusage-annotation",
758 srcs: [
759 "core/java/android/annotation/IntDef.java",
760 "core/java/android/annotation/UnsupportedAppUsage.java",
761 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800762}
763
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000764// A temporary build target that is conditionally included on the bootclasspath if
Paul Duffina3b69212018-01-25 09:58:32 +0000765// android.test.base library has been removed and which provides support for
766// maintaining backwards compatibility for APKs that target pre-P and depend on
767// android.test.base classes. This is used iff REMOVE_ATB_FROM_BCP=true is
768// specified on the build command line.
769java_library {
770 name: "framework-atb-backward-compatibility",
Paul Duffinfab87542019-02-15 11:39:12 +0000771 installable: true,
Paul Duffina3b69212018-01-25 09:58:32 +0000772 srcs: [
773 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
774 ],
775}
776
Colin Crosscf3a0b52017-11-16 00:15:28 -0800777genrule {
778 name: "framework-statslog-gen",
779 tools: ["stats-log-api-gen"],
780 cmd: "$(location stats-log-api-gen) --java $(out)",
David Chen0a368b22017-12-06 16:28:16 -0800781 out: ["android/util/StatsLogInternal.java"],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800782}
783
784gensrcs {
785 name: "framework-javastream-protos",
786 depfile: true,
787
Alex Light159799d2018-08-08 07:05:19 -0700788 tool_files: [ "tools/genprotos.sh", ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800789 tools: [
790 "aprotoc",
791 "protoc-gen-javastream",
792 "soong_zip",
793 ],
794
Alex Light159799d2018-08-08 07:05:19 -0700795 // TODO This should not be needed. If you set a custom OUT_DIR or OUT_DIR_COMMON_BASE you can
796 // end up with a command that is extremely long, potentially going passed MAX_ARG_STRLEN due to
797 // the way sbox rewrites the command. See b/70221552.
798 cmd: "$(location tools/genprotos.sh) " +
799 " $(location aprotoc) " +
800 " $(location protoc-gen-javastream) " +
801 " $(location soong_zip) " +
802 " $(genDir) " +
803 " $(depfile) " +
804 " $(in) " +
805 " $(out)",
Yi Jin437aa6e2018-01-10 11:34:26 -0800806 srcs: [
807 "core/proto/**/*.proto",
808 "libs/incident/**/*.proto",
809 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800810 output_extension: "srcjar",
811}
812
Remi NGUYEN VANc094a542018-12-07 16:52:24 +0900813// AIDL interfaces between the core system and the networking mainline module.
814aidl_interface {
815 name: "networkstack-aidl-interfaces",
816 local_include_dir: "core/java",
817 srcs: [
Remi NGUYEN VAN6b0b2b72019-01-18 18:49:16 +0900818 "core/java/android/net/ApfCapabilitiesParcelable.aidl",
819 "core/java/android/net/DhcpResultsParcelable.aidl",
Remi NGUYEN VANe67b0c32018-12-27 16:43:56 +0900820 "core/java/android/net/INetworkMonitor.aidl",
821 "core/java/android/net/INetworkMonitorCallbacks.aidl",
Remi NGUYEN VANc094a542018-12-07 16:52:24 +0900822 "core/java/android/net/INetworkStackConnector.aidl",
Remi NGUYEN VAN0e3d09232018-12-04 12:13:09 +0900823 "core/java/android/net/INetworkStackStatusCallback.aidl",
Remi NGUYEN VAN6b0b2b72019-01-18 18:49:16 +0900824 "core/java/android/net/InitialConfigurationParcelable.aidl",
Remi NGUYEN VAN4855a2e2019-01-08 10:46:21 +0900825 "core/java/android/net/IpPrefixParcelable.aidl",
826 "core/java/android/net/LinkAddressParcelable.aidl",
827 "core/java/android/net/LinkPropertiesParcelable.aidl",
Remi NGUYEN VAN6b0b2b72019-01-18 18:49:16 +0900828 "core/java/android/net/NetworkParcelable.aidl",
Remi NGUYEN VANe67b0c32018-12-27 16:43:56 +0900829 "core/java/android/net/PrivateDnsConfigParcel.aidl",
Remi NGUYEN VAN6b0b2b72019-01-18 18:49:16 +0900830 "core/java/android/net/ProvisioningConfigurationParcelable.aidl",
Remi NGUYEN VAN4855a2e2019-01-08 10:46:21 +0900831 "core/java/android/net/ProxyInfoParcelable.aidl",
832 "core/java/android/net/RouteInfoParcelable.aidl",
Remi NGUYEN VAN6b0b2b72019-01-18 18:49:16 +0900833 "core/java/android/net/StaticIpConfigurationParcelable.aidl",
junyulai2ed5d4c2019-01-30 19:11:45 +0800834 "core/java/android/net/TcpKeepalivePacketDataParcelable.aidl",
Remi NGUYEN VAN761198a2018-12-10 16:35:30 +0900835 "core/java/android/net/dhcp/DhcpServingParamsParcel.aidl",
Remi NGUYEN VAN0e3d09232018-12-04 12:13:09 +0900836 "core/java/android/net/dhcp/IDhcpServer.aidl",
837 "core/java/android/net/dhcp/IDhcpServerCallbacks.aidl",
Remi NGUYEN VANa5d31f52019-01-12 15:36:47 +0900838 "core/java/android/net/ip/IIpClient.aidl",
839 "core/java/android/net/ip/IIpClientCallbacks.aidl",
Remi NGUYEN VAN1b57e8e2019-02-14 18:19:14 +0900840 ],
841 api_dir: "aidl/networkstack",
842}
843
844aidl_interface {
845 name: "networkstack-aidl-framework",
846 local_include_dir: "core/java",
847 srcs: [
848 "core/java/android/net/TcpKeepalivePacketDataParcelable.aidl",
849 "core/java/android/net/IIpMemoryStore.aidl",
Chalard Jeanf89d7be2018-12-07 23:09:02 +0900850 "core/java/android/net/ipmemorystore/**/*.aidl",
Remi NGUYEN VANc094a542018-12-07 16:52:24 +0900851 ],
852 api_dir: "aidl/networkstack",
853}
854
Remi NGUYEN VANe88516f2019-01-20 09:35:10 +0900855filegroup {
856 name: "framework-networkstack-shared-srcs",
857 srcs: [
858 // TODO: remove these annotations as soon as we can use andoid.support.annotations.*
859 "core/java/android/annotation/NonNull.java",
860 "core/java/android/annotation/Nullable.java",
861 "core/java/android/annotation/IntDef.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900862 "core/java/android/annotation/IntRange.java",
Remi NGUYEN VANe88516f2019-01-20 09:35:10 +0900863 "core/java/android/annotation/UnsupportedAppUsage.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900864 "core/java/android/net/DhcpResults.java",
Remi NGUYEN VANe88516f2019-01-20 09:35:10 +0900865 "core/java/android/util/LocalLog.java",
Remi NGUYEN VAN231b52b2019-01-29 15:38:52 +0900866 "core/java/com/android/internal/annotations/GuardedBy.java",
Remi NGUYEN VANe88516f2019-01-20 09:35:10 +0900867 "core/java/com/android/internal/annotations/VisibleForTesting.java",
868 "core/java/com/android/internal/util/HexDump.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900869 "core/java/com/android/internal/util/IndentingPrintWriter.java",
Remi NGUYEN VANe88516f2019-01-20 09:35:10 +0900870 "core/java/com/android/internal/util/IState.java",
871 "core/java/com/android/internal/util/MessageUtils.java",
872 "core/java/com/android/internal/util/Preconditions.java",
Remi NGUYEN VAN3ba6c0d2019-01-20 13:48:19 +0900873 "core/java/com/android/internal/util/RingBufferIndices.java",
Remi NGUYEN VANe88516f2019-01-20 09:35:10 +0900874 "core/java/com/android/internal/util/State.java",
875 "core/java/com/android/internal/util/StateMachine.java",
876 "core/java/com/android/internal/util/WakeupMessage.java",
877 "core/java/android/net/shared/*.java",
878 ]
879}
880
Colin Crossd8e02252017-10-02 17:14:22 -0700881// Build ext.jar
882// ============================================================
883java_library {
884 name: "ext",
Colin Crossa12c0f52018-06-27 11:00:11 -0700885 installable: true,
Paul Duffinba4cee02018-11-23 12:19:49 +0000886 no_framework_libs: true,
Colin Crossd8e02252017-10-02 17:14:22 -0700887 static_libs: [
888 "libphonenumber-platform",
889 "nist-sip",
890 "tagsoup",
Ricky Wai0d1bc332017-10-31 14:31:01 +0000891 "rappor",
Nikita Iashchenko7ea2f832019-01-11 18:41:59 +0000892 "libtextclassifier-java",
893 ],
894 required: [
895 "libtextclassifier",
Colin Crossd8e02252017-10-02 17:14:22 -0700896 ],
897 dxflags: ["--core-library"],
898}
899
Andreas Gampe37b07632018-05-17 10:49:26 -0700900// ==== java proto host library ==============================
901java_library_host {
902 name: "platformprotos",
903 srcs: [
904 "cmds/am/proto/instrumentation_data.proto",
905 "core/proto/**/*.proto",
906 "libs/incident/proto/**/*.proto",
907 "cmds/statsd/src/**/*.proto",
908 ],
909 proto: {
910 include_dirs: ["external/protobuf/src"],
911 type: "full",
912 },
913 errorprone: {
914 javacflags: ["-Xep:MissingOverride:OFF"], // b/72714520
915 },
916}
917
Colin Cross43214162018-08-20 13:57:24 -0700918// ==== java proto device library (for test only) ==============================
919java_library {
920 name: "platformprotosnano",
921 proto: {
922 type: "nano",
923 output_params: ["store_unknown_fields=true"],
924 include_dirs: ["external/protobuf/src"],
925 },
926
927 sdk_version: "current",
928 srcs: [
929 "core/proto/**/*.proto",
930 "libs/incident/proto/android/os/**/*.proto",
931 ],
932}
933
934// ==== java proto device library (for test only) ==============================
935java_library {
936 name: "platformprotoslite",
937 proto: {
938 type: "lite",
939 include_dirs: ["external/protobuf/src"],
940 },
941
942 srcs: [
943 "core/proto/**/*.proto",
944 "libs/incident/proto/android/os/**/*.proto",
945 ],
946 // Protos have lots of MissingOverride and similar.
947 errorprone: {
948 javacflags: ["-XepDisableAllChecks"],
949 },
950}
951
Colin Crossaa0d4352017-05-02 14:14:56 -0700952// ==== c++ proto device library ==============================
953cc_library {
954 name: "libplatformprotos",
955 host_supported: true,
Colin Crossaa0d4352017-05-02 14:14:56 -0700956 proto: {
957 export_proto_headers: true,
958 include_dirs: ["external/protobuf/src"],
959 },
960
Chih-Hung Hsiehc7edf072017-10-03 09:57:55 -0700961 cflags: [
962 "-Wall",
963 "-Werror",
964 "-Wno-unused-parameter",
965 ],
Joe Onorato62c220b2017-11-18 20:32:56 -0800966
967 srcs: [
968 "core/proto/**/*.proto",
969 "libs/incident/**/*.proto",
Joe Onorato62c220b2017-11-18 20:32:56 -0800970 ],
971
Colin Crossaa0d4352017-05-02 14:14:56 -0700972 target: {
973 host: {
974 proto: {
975 type: "full",
976 },
977 },
978 android: {
979 proto: {
980 type: "lite",
981 },
982 shared: {
Colin Crossaa0d4352017-05-02 14:14:56 -0700983 enabled: false,
984 },
985 },
986 },
Colin Crossaa0d4352017-05-02 14:14:56 -0700987}
988
Yi Jin04625ad2017-10-17 18:29:33 -0700989gensrcs {
990 name: "gen-platform-proto-constants",
991 depfile: true,
992
993 tools: [
994 "aprotoc",
995 "protoc-gen-cppstream",
996 ],
997
998 srcs: [
Kweku Adamseadd1232018-02-05 16:45:13 -0800999 "core/proto/android/os/backtrace.proto",
Kweku Adams59e6fd72017-12-27 15:48:14 -08001000 "core/proto/android/os/batterytype.proto",
Yi Jin0eb22342017-11-06 17:17:27 -08001001 "core/proto/android/os/cpufreq.proto",
Yi Jine2f7f792017-11-01 17:08:27 -07001002 "core/proto/android/os/cpuinfo.proto",
Colin Cross05c9e5c2018-10-26 22:34:06 -07001003 "core/proto/android/os/data.proto",
Yi Jin04625ad2017-10-17 18:29:33 -07001004 "core/proto/android/os/kernelwake.proto",
1005 "core/proto/android/os/pagetypeinfo.proto",
1006 "core/proto/android/os/procrank.proto",
Kweku Adamsf5cc5752017-12-20 17:59:17 -08001007 "core/proto/android/os/ps.proto",
Yi Jin0dfa7522017-11-06 17:43:47 -08001008 "core/proto/android/os/system_properties.proto",
Yi Jin3c034c92017-12-22 17:36:47 -08001009 "core/proto/android/util/event_log_tags.proto",
Colin Cross05c9e5c2018-10-26 22:34:06 -07001010 "core/proto/android/util/log.proto",
Yi Jin04625ad2017-10-17 18:29:33 -07001011 ],
1012
1013 // Append protoc-gen-cppstream tool's PATH otherwise aprotoc can't find the plugin tool
Yi Jin3c034c92017-12-22 17:36:47 -08001014 cmd: "mkdir -p $(genDir) " +
1015 "&& $(location aprotoc) " +
1016 " --plugin=$(location protoc-gen-cppstream) " +
1017 " --dependency_out=$(depfile) " +
1018 " --cppstream_out=$(genDir) " +
1019 " -Iexternal/protobuf/src " +
1020 " -I . " +
1021 " $(in)",
Yi Jin04625ad2017-10-17 18:29:33 -07001022
Logan Chien71ddfea2018-02-27 16:43:50 +08001023 output_extension: "proto.h",
Yi Jin04625ad2017-10-17 18:29:33 -07001024}
1025
Dan Albert2a8d9c22016-09-23 15:55:49 -07001026subdirs = [
Yi Jin0a3406f2017-06-22 19:23:11 -07001027 "cmds/*",
Jeff Sharkey0c686e72017-10-23 16:04:31 -06001028 "core/*",
Colin Cross4f8d9e62016-12-01 15:55:00 -08001029 "libs/*",
Colin Cross76de4f62017-05-15 18:10:40 -07001030 "media/*",
Colin Cross747e7c12017-10-24 16:21:22 -07001031 "proto",
Fabien Sanglard19160202017-01-12 14:24:31 -05001032 "tools/*",
Dan Albert2a8d9c22016-09-23 15:55:49 -07001033 "native/android",
Dan Albert7ce8df32016-09-23 16:43:49 -07001034 "native/graphics/jni",
Dan Albert2a8d9c22016-09-23 15:55:49 -07001035]
Svetoslav Ganov74c99832016-12-05 20:07:20 -08001036
1037optional_subdirs = [
1038 "core/tests/utiltests/jni",
1039]
Steven Morelandeddafe92017-10-02 16:58:41 -07001040
Colin Crossa2b78a72018-03-29 13:31:04 -07001041// TODO(b/77285514): remove this once the last few hidl interfaces have been
1042// updated to use hwbinder.stubs.
Steven Morelandeddafe92017-10-02 16:58:41 -07001043java_library {
1044 name: "hwbinder",
1045 no_framework_libs: true,
1046
1047 srcs: [
1048 "core/java/android/os/HidlSupport.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -08001049 "core/java/android/annotation/IntDef.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001050 "core/java/android/annotation/NonNull.java",
Steven Moreland0ff061a2019-03-04 17:56:30 -08001051 "core/java/android/annotation/Nullable.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -08001052 "core/java/android/annotation/SystemApi.java",
Steven Moreland14b9eb62019-01-11 10:19:51 -08001053 "core/java/android/annotation/TestApi.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001054 "core/java/android/os/HwBinder.java",
1055 "core/java/android/os/HwBlob.java",
1056 "core/java/android/os/HwParcel.java",
1057 "core/java/android/os/IHwBinder.java",
1058 "core/java/android/os/IHwInterface.java",
1059 "core/java/android/os/DeadObjectException.java",
1060 "core/java/android/os/DeadSystemException.java",
Nirav Atre9850dd92018-07-24 17:03:44 -07001061 "core/java/android/os/NativeHandle.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001062 "core/java/android/os/RemoteException.java",
1063 "core/java/android/util/AndroidException.java",
1064 ],
1065
1066 dxflags: ["--core-library"],
1067 installable: false,
1068}
Nan Zhang2db709d2017-11-08 20:48:46 -08001069
1070python_defaults {
1071 name: "base_default",
1072 version: {
1073 py2: {
1074 enabled: true,
1075 embedded_launcher: true,
1076 },
1077 py3: {
1078 enabled: false,
1079 embedded_launcher: false,
1080 },
1081 },
1082}
1083
1084python_binary_host {
1085 name: "fontchain_linter",
1086 defaults: ["base_default"],
1087 main: "tools/fonts/fontchain_linter.py",
1088 srcs: [
1089 "tools/fonts/fontchain_linter.py",
1090 ],
1091 libs: [
1092 "fontTools",
1093 ],
1094}
Nan Zhang172875b2018-02-27 11:24:03 -08001095
1096// TODO: Don't rely on this list once droiddoc can take a list of packages to document
1097frameworks_base_subdirs = [
1098 "core/java",
1099 "graphics/java",
1100 "location/java",
1101 "media/java",
1102 "media/mca/effect/java",
1103 "media/mca/filterfw/java",
1104 "media/mca/filterpacks/java",
1105 "drm/java",
1106 "opengl/java",
1107 "sax/java",
1108 "telecomm/java",
1109 "telephony/java",
1110 "wifi/java",
1111 "lowpan/java",
1112 "keystore/java",
1113 "rs/java",
1114]
1115
1116packages_to_document = [
1117 "android",
1118 "javax/microedition/khronos",
1119 "org/apache/http/conn",
1120 "org/apache/http/params",
1121]
1122
Paul Duffin0440e1f2019-02-11 16:13:25 +00001123// Make the api/current.txt file available for use by modules in other
1124// directories.
1125filegroup {
1126 name: "frameworks-base-api-current.txt",
1127 srcs: [
1128 "api/current.txt",
1129 ],
1130}
1131
Nan Zhang7764a4b2018-08-22 11:27:31 -07001132framework_docs_only_args = " -android -manifest $(location core/res/AndroidManifest.xml) " +
Nan Zhangb03396e2018-10-11 18:06:10 -07001133 "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001134 "-overview $(location core/java/overview.html) " +
1135 // Federate Support Library references against local API file.
1136 "-federate SupportLib https://developer.android.com " +
Paul Duffincf2e9892019-02-11 15:40:28 +00001137 "-federationapi SupportLib $(location :current-support-api) "
Nan Zhang172875b2018-02-27 11:24:03 -08001138
Nan Zhang7764a4b2018-08-22 11:27:31 -07001139framework_docs_only_libs = [
Nan Zhang7764a4b2018-08-22 11:27:31 -07001140 "voip-common",
1141 "android.test.mock",
1142 "android-support-annotations",
1143 "android-support-compat",
1144 "android-support-core-ui",
1145 "android-support-core-utils",
1146 "android-support-customtabs",
1147 "android-support-design",
1148 "android-support-dynamic-animation",
1149 "android-support-exifinterface",
1150 "android-support-fragment",
1151 "android-support-media-compat",
1152 "android-support-percent",
1153 "android-support-recommendation",
1154 "android-support-transition",
1155 "android-support-tv-provider",
1156 "android-support-v7-cardview",
1157 "android-support-v7-gridlayout",
1158 "android-support-v7-mediarouter",
1159 "android-support-v7-palette",
1160 "android-support-v7-preference",
1161 "android-support-v13",
1162 "android-support-v14-preference",
1163 "android-support-v17-leanback",
1164 "android-support-v17-preference-leanback",
1165 "android-support-wear",
1166 "android-support-vectordrawable",
1167 "android-support-animatedvectordrawable",
1168 "android-support-v7-appcompat",
1169 "android-support-v7-recyclerview",
1170 "android-support-emoji",
1171 "android-support-emoji-appcompat",
1172 "android-support-emoji-bundled",
1173 "android-support-v8-renderscript",
1174 "android-support-multidex",
1175 "android-support-multidex-instrumentation",
1176]
1177
1178metalava_framework_docs_args = "--manifest $(location core/res/AndroidManifest.xml) " +
1179 "--hide-package com.android.okhttp " +
1180 "--hide-package com.android.org.conscrypt --hide-package com.android.server " +
Adrian Roosc6e2fc82018-12-12 15:08:44 +01001181 "--error UnhiddenSystemApi " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001182 "--hide RequiresPermission " +
1183 "--hide MissingPermission --hide BroadcastBehavior " +
1184 "--hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol " +
1185 "--hide SdkConstant --hide HiddenTypeParameter --hide Todo --hide Typo"
1186
1187stubs_defaults {
1188 name: "framework-doc-stubs-default",
Nan Zhange9a76f72018-07-11 15:19:22 -07001189 srcs: [
1190 "test-base/src/**/*.java",
1191 ":opt-telephony-srcs",
1192 ":opt-net-voip-srcs",
Neil Fullercce7b332019-02-26 12:00:38 +00001193 ":core_public_api_files",
Nan Zhange9a76f72018-07-11 15:19:22 -07001194 "test-mock/src/**/*.java",
1195 "test-runner/src/**/*.java",
1196 ],
Nan Zhange9a76f72018-07-11 15:19:22 -07001197 srcs_lib: "framework",
1198 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1199 srcs_lib_whitelist_pkgs: packages_to_document,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001200 libs: framework_docs_only_libs,
Nan Zhange9a76f72018-07-11 15:19:22 -07001201 local_sourcepaths: frameworks_base_subdirs,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001202 create_doc_stubs: true,
1203 annotations_enabled: true,
1204 api_levels_annotations_enabled: true,
1205 api_levels_annotations_dirs: [
1206 "sdk-dir",
1207 "api-versions-jars-dir",
1208 ],
1209 previous_api: ":last-released-public-api",
1210 merge_annotations_dirs: [
1211 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001212 "ojluni-annotated-sdk-stubs",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001213 ],
1214}
1215
1216doc_defaults {
1217 name: "framework-docs-default",
Nan Zhangb03396e2018-10-11 18:06:10 -07001218 libs: framework_docs_only_libs +
1219 ["stub-annotations"],
Nan Zhange9a76f72018-07-11 15:19:22 -07001220 html_dirs: [
1221 "docs/html",
1222 ],
1223 knowntags: [
1224 "docs/knowntags.txt",
1225 ":known-oj-tags",
1226 ],
1227 custom_template: "droiddoc-templates-sdk",
1228 resourcesdir: "docs/html/reference/images/",
1229 resourcesoutdir: "reference/android/images/",
1230 hdf: [
1231 "dac true",
1232 "sdk.codename O",
1233 "sdk.preview.version 1",
1234 "sdk.version 7.0",
1235 "sdk.rel.id 1",
1236 "sdk.preview 0",
1237 ],
1238 arg_files: [
1239 "core/res/AndroidManifest.xml",
Nan Zhange9a76f72018-07-11 15:19:22 -07001240 "core/java/overview.html",
1241 ":current-support-api",
Nan Zhange9a76f72018-07-11 15:19:22 -07001242 ],
1243 create_stubs: false,
1244}
1245
Nan Zhang894c9ec2018-09-10 18:58:39 -07001246stubs_defaults {
Nan Zhanga17beeb2018-08-22 10:48:15 -07001247 name: "metalava-api-stubs-default",
1248 srcs: [
1249 ":opt-telephony-srcs",
1250 ":opt-net-voip-srcs",
Neil Fullercce7b332019-02-26 12:00:38 +00001251 ":core_public_api_files",
Nan Zhanga17beeb2018-08-22 10:48:15 -07001252 ],
1253 srcs_lib: "framework",
1254 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1255 srcs_lib_whitelist_pkgs: packages_to_document,
1256 libs: [
Nan Zhanga17beeb2018-08-22 10:48:15 -07001257 "ext",
1258 "framework",
1259 "voip-common",
Nan Zhanga17beeb2018-08-22 10:48:15 -07001260 ],
1261 local_sourcepaths: frameworks_base_subdirs,
1262 installable: false,
Nan Zhang894c9ec2018-09-10 18:58:39 -07001263 annotations_enabled: true,
1264 previous_api: ":last-released-public-api",
1265 merge_annotations_dirs: [
Nan Zhanga17beeb2018-08-22 10:48:15 -07001266 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001267 "ojluni-annotated-sdk-stubs",
Nan Zhanga17beeb2018-08-22 10:48:15 -07001268 ],
Nan Zhang40796542018-09-18 10:46:10 -07001269 api_levels_annotations_enabled: true,
1270 api_levels_annotations_dirs: [
1271 "sdk-dir",
1272 "api-versions-jars-dir",
1273 ],
Nan Zhanga17beeb2018-08-22 10:48:15 -07001274}
1275
Nan Zhang7764a4b2018-08-22 11:27:31 -07001276droidstubs {
1277 name: "framework-doc-stubs",
1278 defaults: ["framework-doc-stubs-default"],
1279 arg_files: [
1280 "core/res/AndroidManifest.xml",
1281 ],
1282 args: metalava_framework_docs_args,
1283}
1284
1285droidstubs {
1286 name: "framework-doc-system-stubs",
1287 defaults: ["framework-doc-stubs-default"],
1288 arg_files: [
1289 "core/res/AndroidManifest.xml",
1290 ],
1291 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi ",
1292}
1293
Nan Zhange9a76f72018-07-11 15:19:22 -07001294droiddoc {
1295 name: "doc-comment-check-docs",
1296 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001297 srcs: [
1298 ":framework-doc-stubs",
1299 ],
1300 args: framework_docs_only_args + " -referenceonly -parsecomments",
Nan Zhange9a76f72018-07-11 15:19:22 -07001301 installable: false,
1302}
1303
1304droiddoc {
1305 name: "offline-sdk-docs",
1306 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001307 srcs: [
1308 ":framework-doc-stubs",
1309 ],
Nan Zhange9a76f72018-07-11 15:19:22 -07001310 hdf: [
1311 "android.whichdoc offline",
1312 ],
1313 proofread_file: "offline-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001314 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\"",
Nan Zhange9a76f72018-07-11 15:19:22 -07001315 write_sdk_values: true,
1316 static_doc_index_redirect: "docs/docs-preview-index.html",
1317}
1318
1319droiddoc {
Nan Zhang963612b2018-09-21 17:16:49 -07001320 // Please sync with android-api-council@ before making any changes for the name property below.
1321 // Since there's cron jobs that fetch offline-sdk-referenceonly-docs-docs.zip periodically.
1322 // See b/116221385 for reference.
Nan Zhange9a76f72018-07-11 15:19:22 -07001323 name: "offline-sdk-referenceonly-docs",
1324 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001325 srcs: [
1326 ":framework-doc-stubs",
1327 ],
Nan Zhange9a76f72018-07-11 15:19:22 -07001328 hdf: [
1329 "android.whichdoc offline",
1330 ],
1331 proofread_file: "offline-sdk-referenceonly-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001332 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\" -referenceonly",
Nan Zhange9a76f72018-07-11 15:19:22 -07001333 write_sdk_values: true,
1334 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
1335 static_doc_properties: "docs/source.properties",
1336}
1337
1338droiddoc {
Nan Zhang963612b2018-09-21 17:16:49 -07001339 // Please sync with android-api-council@ before making any changes for the name property below.
1340 // Since there's cron jobs that fetch offline-system-sdk-referenceonly-docs-docs.zip periodically.
1341 // See b/116221385 for reference.
Nan Zhange9a76f72018-07-11 15:19:22 -07001342 name: "offline-system-sdk-referenceonly-docs",
1343 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001344 srcs: [
1345 ":framework-doc-system-stubs",
1346 ],
Nan Zhange9a76f72018-07-11 15:19:22 -07001347 hdf: [
1348 "android.whichdoc offline",
1349 ],
1350 proofread_file: "offline-system-sdk-referenceonly-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001351 args: framework_docs_only_args + " -hide 101 -hide 104 -hide 108" +
1352 " -offlinemode -title \"Android System SDK\" -referenceonly",
Nan Zhange9a76f72018-07-11 15:19:22 -07001353 write_sdk_values: true,
1354 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
1355 static_doc_properties: "docs/source.properties",
1356}
1357
1358droiddoc {
1359 name: "online-sdk-docs",
1360 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001361 srcs: [
1362 ":framework-doc-stubs",
1363 ],
Nan Zhange9a76f72018-07-11 15:19:22 -07001364 hdf: [
1365 "android.whichdoc online",
1366 "android.hasSamples true",
1367 ],
1368 proofread_file: "online-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001369 args: framework_docs_only_args +
Nan Zhange9a76f72018-07-11 15:19:22 -07001370 " -toroot / -samplegroup Admin " +
1371 " -samplegroup Background " +
1372 " -samplegroup Connectivity " +
1373 " -samplegroup Content " +
1374 " -samplegroup Input " +
1375 " -samplegroup Media " +
1376 " -samplegroup Notification " +
1377 " -samplegroup RenderScript " +
1378 " -samplegroup Security " +
1379 " -samplegroup Sensors " +
1380 " -samplegroup System " +
1381 " -samplegroup Testing " +
1382 " -samplegroup UI " +
1383 " -samplegroup Views " +
1384 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1385}
1386
1387droiddoc {
1388 name: "online-system-api-sdk-docs",
1389 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001390 srcs: [
1391 ":framework-doc-system-stubs",
1392 ],
Nan Zhange9a76f72018-07-11 15:19:22 -07001393 hdf: [
1394 "android.whichdoc online",
1395 "android.hasSamples true",
1396 ],
1397 proofread_file: "online-system-api-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001398 args: framework_docs_only_args +
Nan Zhange9a76f72018-07-11 15:19:22 -07001399 " -referenceonly " +
Nan Zhange9a76f72018-07-11 15:19:22 -07001400 " -title \"Android SDK - Including system APIs.\" " +
1401 " -hide 101 " +
1402 " -hide 104 " +
1403 " -hide 108 " +
1404 " -toroot / -samplegroup Admin " +
1405 " -samplegroup Background " +
1406 " -samplegroup Connectivity " +
1407 " -samplegroup Content " +
1408 " -samplegroup Input " +
1409 " -samplegroup Media " +
1410 " -samplegroup Notification " +
1411 " -samplegroup RenderScript " +
1412 " -samplegroup Security " +
1413 " -samplegroup Sensors " +
1414 " -samplegroup System " +
1415 " -samplegroup Testing " +
1416 " -samplegroup UI " +
1417 " -samplegroup Views " +
1418 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1419 installable: false,
1420}
1421
1422droiddoc {
1423 name: "ds-docs",
1424 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001425 srcs: [
1426 ":framework-doc-stubs",
1427 ],
Nan Zhange9a76f72018-07-11 15:19:22 -07001428 hdf: [
1429 "android.whichdoc online",
1430 "android.hasSamples true",
1431 ],
1432 proofread_file: "ds-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001433 args: framework_docs_only_args +
Nan Zhange9a76f72018-07-11 15:19:22 -07001434 " -toroot / -samplegroup Admin " +
1435 " -samplegroup Background " +
1436 " -samplegroup Connectivity " +
1437 " -samplegroup Content " +
1438 " -samplegroup Input " +
1439 " -samplegroup Media " +
1440 " -samplegroup Notification " +
1441 " -samplegroup RenderScript " +
1442 " -samplegroup Security " +
1443 " -samplegroup Sensors " +
1444 " -samplegroup System " +
1445 " -samplegroup Testing " +
1446 " -samplegroup UI " +
1447 " -samplegroup Views " +
1448 " -samplegroup Wearable -devsite -samplesdir development/samples/browseable ",
1449}
1450
1451droiddoc {
1452 name: "ds-static-docs",
1453 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001454 srcs: [
1455 ":framework-doc-stubs",
1456 ],
Nan Zhange9a76f72018-07-11 15:19:22 -07001457 hdf: [
1458 "android.whichdoc online",
1459 ],
1460 proofread_file: "ds-static-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001461 args: framework_docs_only_args +
Nan Zhange9a76f72018-07-11 15:19:22 -07001462 " -staticonly " +
1463 " -toroot / " +
1464 " -devsite " +
1465 " -ignoreJdLinks ",
1466}
1467
1468droiddoc {
1469 name: "ds-ref-navtree-docs",
1470 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001471 srcs: [
1472 ":framework-doc-stubs",
1473 ],
Nan Zhange9a76f72018-07-11 15:19:22 -07001474 hdf: [
1475 "android.whichdoc online",
1476 ],
1477 proofread_file: "ds-ref-navtree-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001478 args: framework_docs_only_args +
Nan Zhange9a76f72018-07-11 15:19:22 -07001479 " -toroot / " +
1480 " -atLinksNavtree " +
1481 " -navtreeonly ",
1482}
1483
1484droiddoc {
1485 name: "online-sdk-dev-docs",
1486 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001487 srcs: [
1488 ":framework-doc-stubs",
1489 ],
Nan Zhange9a76f72018-07-11 15:19:22 -07001490 hdf: [
1491 "android.whichdoc online",
1492 "android.hasSamples true",
1493 ],
1494 proofread_file: "online-sdk-dev-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001495 args: framework_docs_only_args +
Nan Zhange9a76f72018-07-11 15:19:22 -07001496 " -toroot / -samplegroup Admin " +
1497 " -samplegroup Background " +
1498 " -samplegroup Connectivity " +
1499 " -samplegroup Content " +
1500 " -samplegroup Input " +
1501 " -samplegroup Media " +
1502 " -samplegroup Notification " +
1503 " -samplegroup RenderScript " +
1504 " -samplegroup Security " +
1505 " -samplegroup Sensors " +
1506 " -samplegroup System " +
1507 " -samplegroup Testing " +
1508 " -samplegroup UI " +
1509 " -samplegroup Views " +
1510 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1511}
1512
1513droiddoc {
1514 name: "hidden-docs",
1515 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001516 srcs: [
1517 ":framework-doc-stubs",
1518 ],
Nan Zhange9a76f72018-07-11 15:19:22 -07001519 proofread_file: "hidden-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001520 args: framework_docs_only_args +
Nan Zhange9a76f72018-07-11 15:19:22 -07001521 " -referenceonly " +
1522 " -title \"Android SDK - Including hidden APIs.\"",
1523}
1524
Nan Zhang7764a4b2018-08-22 11:27:31 -07001525droidstubs {
Colin Crossa2b78a72018-03-29 13:31:04 -07001526 name: "hwbinder-stubs-docs",
1527 srcs: [
1528 "core/java/android/os/HidlSupport.java",
1529 "core/java/android/annotation/IntDef.java",
1530 "core/java/android/annotation/NonNull.java",
1531 "core/java/android/annotation/SystemApi.java",
1532 "core/java/android/os/HwBinder.java",
1533 "core/java/android/os/HwBlob.java",
1534 "core/java/android/os/HwParcel.java",
1535 "core/java/android/os/IHwBinder.java",
1536 "core/java/android/os/IHwInterface.java",
1537 "core/java/android/os/DeadObjectException.java",
1538 "core/java/android/os/DeadSystemException.java",
Nirav Atre9850dd92018-07-24 17:03:44 -07001539 "core/java/android/os/NativeHandle.java",
Colin Crossa2b78a72018-03-29 13:31:04 -07001540 "core/java/android/os/RemoteException.java",
1541 "core/java/android/util/AndroidException.java",
1542 ],
Colin Crossa2b78a72018-03-29 13:31:04 -07001543 installable: false,
1544 no_framework_libs: true,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001545 annotations_enabled: true,
1546 previous_api: ":last-released-public-api",
1547 merge_annotations_dirs: [
1548 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001549 "ojluni-annotated-sdk-stubs",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001550 ],
1551 args: " --show-annotation android.annotation.SystemApi",
Colin Crossa2b78a72018-03-29 13:31:04 -07001552}
1553
1554java_library_static {
1555 name: "hwbinder.stubs",
1556 sdk_version: "core_current",
1557 srcs: [
1558 ":hwbinder-stubs-docs",
1559 ],
1560}
Nan Zhanga0f91af2018-04-09 17:41:51 -07001561
Nan Zhang894c9ec2018-09-10 18:58:39 -07001562droidstubs {
Nan Zhanga17beeb2018-08-22 10:48:15 -07001563 name: "hiddenapi-lists-docs",
1564 defaults: ["metalava-api-stubs-default"],
David Brazdil96c9cbc2018-04-26 14:05:13 +01001565 arg_files: [
1566 "core/res/AndroidManifest.xml",
David Brazdil96c9cbc2018-04-26 14:05:13 +01001567 ],
David Brazdil6f6a1262018-05-31 13:58:41 +01001568 dex_api_filename: "public-dex.txt",
David Brazdil96c9cbc2018-04-26 14:05:13 +01001569 private_dex_api_filename: "private-dex.txt",
1570 removed_dex_api_filename: "removed-dex.txt",
Nan Zhanga17beeb2018-08-22 10:48:15 -07001571 args: metalava_framework_docs_args +
1572 " --show-unannotated " +
1573 " --show-annotation android.annotation.SystemApi " +
1574 " --show-annotation android.annotation.TestApi "
David Brazdil96c9cbc2018-04-26 14:05:13 +01001575}
1576
Nan Zhanga17beeb2018-08-22 10:48:15 -07001577
Nan Zhang7764a4b2018-08-22 11:27:31 -07001578droidstubs {
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001579 name: "hiddenapi-mappings",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001580 defaults: ["metalava-api-stubs-default"],
Paul Duffina0cb5382018-10-31 10:34:51 +00001581 srcs: [
1582 ":openjdk_java_files",
1583 ":non_openjdk_java_files",
1584 ],
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001585 arg_files: [
1586 "core/res/AndroidManifest.xml",
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001587 ],
1588 dex_mapping_filename: "dex-mapping.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001589 args: metalava_framework_docs_args +
Adrian Roos9bdbd302018-12-07 13:53:40 +01001590 " --hide ReferencesHidden " +
Adrian Roosc6e2fc82018-12-12 15:08:44 +01001591 " --hide UnhiddenSystemApi " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001592 " --show-unannotated " +
1593 " --show-annotation android.annotation.SystemApi " +
1594 " --show-annotation android.annotation.TestApi "
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001595}
1596
Nan Zhanga0f91af2018-04-09 17:41:51 -07001597filegroup {
1598 name: "apache-http-stubs-sources",
1599 srcs: [
1600 "core/java/org/apache/http/conn/ConnectTimeoutException.java",
1601 "core/java/org/apache/http/conn/scheme/HostNameResolver.java",
1602 "core/java/org/apache/http/conn/scheme/LayeredSocketFactory.java",
1603 "core/java/org/apache/http/conn/scheme/SocketFactory.java",
1604 "core/java/org/apache/http/conn/ssl/AbstractVerifier.java",
1605 "core/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java",
1606 "core/java/org/apache/http/conn/ssl/AndroidDistinguishedNameParser.java",
1607 "core/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java",
1608 "core/java/org/apache/http/conn/ssl/SSLSocketFactory.java",
1609 "core/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java",
1610 "core/java/org/apache/http/conn/ssl/X509HostnameVerifier.java",
1611 "core/java/org/apache/http/params/CoreConnectionPNames.java",
1612 "core/java/org/apache/http/params/HttpConnectionParams.java",
1613 "core/java/org/apache/http/params/HttpParams.java",
Nan Zhanga0f91af2018-04-09 17:41:51 -07001614 "core/java/android/net/http/SslCertificate.java",
1615 "core/java/android/net/http/SslError.java",
1616 "core/java/com/android/internal/util/HexDump.java",
1617 ],
1618}
Nan Zhang4212eb12018-04-25 17:23:33 -07001619
Nan Zhang894c9ec2018-09-10 18:58:39 -07001620droidstubs {
Nan Zhangc28a0ac2018-08-07 13:40:33 -07001621 name: "api-stubs-docs",
Nan Zhange9a76f72018-07-11 15:19:22 -07001622 defaults: ["metalava-api-stubs-default"],
Nan Zhang4212eb12018-04-25 17:23:33 -07001623 api_filename: "public_api.txt",
1624 private_api_filename: "private.txt",
1625 removed_api_filename: "removed.txt",
1626 arg_files: [
1627 "core/res/AndroidManifest.xml",
1628 ],
1629 args: metalava_framework_docs_args,
Nan Zhange5612602018-08-16 16:16:00 -07001630 check_api: {
1631 current: {
1632 api_file: "api/current.txt",
1633 removed_api_file: "api/removed.txt",
1634 },
Nan Zhangcd060d92018-08-20 20:34:26 -07001635 last_released: {
1636 api_file: ":last-released-public-api",
1637 removed_api_file: "api/removed.txt",
1638 },
Nan Zhange5612602018-08-16 16:16:00 -07001639 },
Nan Zhang81f29f52018-09-17 14:33:08 -07001640 jdiff_enabled: true,
Nan Zhang4212eb12018-04-25 17:23:33 -07001641}
1642
Nan Zhang894c9ec2018-09-10 18:58:39 -07001643droidstubs {
Nan Zhangc28a0ac2018-08-07 13:40:33 -07001644 name: "system-api-stubs-docs",
Nan Zhange9a76f72018-07-11 15:19:22 -07001645 defaults: ["metalava-api-stubs-default"],
Nan Zhangc28a0ac2018-08-07 13:40:33 -07001646 api_tag_name: "SYSTEM",
Nan Zhang4212eb12018-04-25 17:23:33 -07001647 api_filename: "system-api.txt",
1648 private_api_filename: "system-private.txt",
1649 private_dex_api_filename: "system-private-dex.txt",
1650 removed_api_filename: "system-removed.txt",
1651 arg_files: [
1652 "core/res/AndroidManifest.xml",
1653 ],
1654 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi",
Nan Zhange5612602018-08-16 16:16:00 -07001655 check_api: {
1656 current: {
1657 api_file: "api/system-current.txt",
1658 removed_api_file: "api/system-removed.txt",
1659 },
Nan Zhangcd060d92018-08-20 20:34:26 -07001660 last_released: {
1661 api_file: ":last-released-system-api",
1662 removed_api_file: "api/system-removed.txt",
1663 },
Nan Zhange5612602018-08-16 16:16:00 -07001664 },
Nan Zhang81f29f52018-09-17 14:33:08 -07001665 jdiff_enabled: true,
Nan Zhang4212eb12018-04-25 17:23:33 -07001666}
1667
Nan Zhang894c9ec2018-09-10 18:58:39 -07001668droidstubs {
Nan Zhangc28a0ac2018-08-07 13:40:33 -07001669 name: "test-api-stubs-docs",
Nan Zhange9a76f72018-07-11 15:19:22 -07001670 defaults: ["metalava-api-stubs-default"],
Nan Zhangc28a0ac2018-08-07 13:40:33 -07001671 api_tag_name: "TEST",
Nan Zhang4212eb12018-04-25 17:23:33 -07001672 api_filename: "test-api.txt",
1673 removed_api_filename: "test-removed.txt",
1674 arg_files: [
1675 "core/res/AndroidManifest.xml",
1676 ],
1677 args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi",
Nan Zhange5612602018-08-16 16:16:00 -07001678 check_api: {
1679 current: {
1680 api_file: "api/test-current.txt",
1681 removed_api_file: "api/test-removed.txt",
1682 },
1683 },
Nan Zhang4212eb12018-04-25 17:23:33 -07001684}
Nan Zhangaf251302018-08-30 10:59:51 -07001685
1686filegroup {
1687 name: "framework-annotation-nonnull-srcs",
1688 srcs: [
1689 "core/java/android/annotation/NonNull.java",
1690 ],
1691}
Andrei Oneac1d180c2019-03-08 12:34:28 +00001692
Andrei Oneaae93c8b2019-03-04 16:05:26 +00001693// Creates an index of AIDL methods; used for adding UnsupportedAppUsage
1694// annotations to private apis
1695aidl_mapping {
1696 name: "framework-aidl-mappings",
1697 srcs: [":framework-defaults"],
1698 output: "framework-aidl-mappings.txt"
Andrei Oneac1d180c2019-03-08 12:34:28 +00001699}