blob: 45ccba0f6707287db17453adcedbe6492354d148 [file] [log] [blame]
Dan Albert2a8d9c22016-09-23 15:55:49 -07001// Copyright (C) 2016 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Colin Crosscf3a0b52017-11-16 00:15:28 -080015// Build the master framework library.
16
17// READ ME: ########################################################
18//
19// When updating this list of aidl files, consider if that aidl is
20// part of the SDK API. If it is, also add it to the list in Android.mk
21// that is preprocessed and distributed with the SDK. This list should
22// not contain any aidl files for parcelables, but the one below should
23// if you intend for 3rd parties to be able to send those objects
24// across process boundaries.
25//
26// READ ME: ########################################################
27
Mathew Inwoodbad89e52018-06-28 14:12:10 +010028java_defaults {
29 name: "framework-defaults",
Colin Crossa12c0f52018-06-27 11:00:11 -070030 installable: true,
Colin Crosscf3a0b52017-11-16 00:15:28 -080031
32 srcs: [
33 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
34 "core/java/**/*.java",
35 "graphics/java/**/*.java",
36 "location/java/**/*.java",
37 "lowpan/java/**/*.java",
38 "media/java/**/*.java",
39 "media/mca/effect/java/**/*.java",
40 "media/mca/filterfw/java/**/*.java",
41 "media/mca/filterpacks/java/**/*.java",
42 "drm/java/**/*.java",
43 "opengl/java/**/*.java",
44 "sax/java/**/*.java",
45 "telecomm/java/**/*.java",
46 "telephony/java/**/*.java",
47 "wifi/java/**/*.java",
48 "keystore/java/**/*.java",
49 "rs/java/**/*.java",
50
51 ":framework-javastream-protos",
52
53 "core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl",
54 "core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl",
55 "core/java/android/accounts/IAccountManager.aidl",
56 "core/java/android/accounts/IAccountManagerResponse.aidl",
57 "core/java/android/accounts/IAccountAuthenticator.aidl",
58 "core/java/android/accounts/IAccountAuthenticatorResponse.aidl",
59 "core/java/android/app/IActivityController.aidl",
60 "core/java/android/app/IActivityManager.aidl",
61 "core/java/android/app/IActivityPendingResult.aidl",
Wale Ogunwale65ebd952018-04-25 15:41:44 -070062 "core/java/android/app/IActivityTaskManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -080063 "core/java/android/app/IAlarmCompleteListener.aidl",
64 "core/java/android/app/IAlarmListener.aidl",
65 "core/java/android/app/IAlarmManager.aidl",
66 "core/java/android/app/IAppTask.aidl",
67 "core/java/android/app/IApplicationThread.aidl",
68 "core/java/android/app/IAssistDataReceiver.aidl",
69 "core/java/android/app/ITaskStackListener.aidl",
70 "core/java/android/app/IBackupAgent.aidl",
71 "core/java/android/app/IEphemeralResolver.aidl",
72 "core/java/android/app/IInputForwarder.aidl",
73 "core/java/android/app/IInstantAppResolver.aidl",
74 "core/java/android/app/IInstrumentationWatcher.aidl",
75 "core/java/android/app/INotificationManager.aidl",
76 "core/java/android/app/IProcessObserver.aidl",
77 "core/java/android/app/ISearchManager.aidl",
78 "core/java/android/app/ISearchManagerCallback.aidl",
79 "core/java/android/app/IServiceConnection.aidl",
Makoto Onukidf7e4812018-09-24 14:31:25 -070080 "core/java/android/app/ISmsAppService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -080081 "core/java/android/app/IStopUserCallback.aidl",
82 "core/java/android/app/job/IJobCallback.aidl",
83 "core/java/android/app/job/IJobScheduler.aidl",
84 "core/java/android/app/job/IJobService.aidl",
85 "core/java/android/app/ITransientNotification.aidl",
86 "core/java/android/app/IUidObserver.aidl",
87 "core/java/android/app/IUiAutomationConnection.aidl",
88 "core/java/android/app/IUiModeManager.aidl",
Wale Ogunwale6d50dcc2018-07-21 23:00:40 -070089 "core/java/android/app/IUriGrantsManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -080090 "core/java/android/app/IUserSwitchObserver.aidl",
91 "core/java/android/app/IWallpaperManager.aidl",
92 "core/java/android/app/IWallpaperManagerCallback.aidl",
93 "core/java/android/app/admin/IDeviceAdminService.aidl",
94 "core/java/android/app/admin/IDevicePolicyManager.aidl",
Neda Topoljanac19f29162018-10-22 18:12:16 +010095 "core/java/android/app/admin/StartInstallingUpdateCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -080096 "core/java/android/app/trust/IStrongAuthTracker.aidl",
97 "core/java/android/app/trust/ITrustManager.aidl",
98 "core/java/android/app/trust/ITrustListener.aidl",
Bernardo Rufino2d87f452018-06-22 11:47:49 +010099 "core/java/android/app/backup/IBackupCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800100 "core/java/android/app/backup/IBackupManager.aidl",
101 "core/java/android/app/backup/IBackupObserver.aidl",
102 "core/java/android/app/backup/IBackupManagerMonitor.aidl",
103 "core/java/android/app/backup/IFullBackupRestoreObserver.aidl",
104 "core/java/android/app/backup/IRestoreObserver.aidl",
105 "core/java/android/app/backup/IRestoreSession.aidl",
106 "core/java/android/app/backup/ISelectBackupTransportCallback.aidl",
Winson Chung3fb0f252019-01-08 17:41:55 -0800107 "core/java/android/app/contentsuggestions/IClassificationsCallback.aidl",
108 "core/java/android/app/contentsuggestions/IContentSuggestionsManager.aidl",
109 "core/java/android/app/contentsuggestions/ISelectionsCallback.aidl",
Sunny Goyal54e91342018-11-14 11:59:02 -0800110 "core/java/android/app/prediction/IPredictionCallback.aidl",
111 "core/java/android/app/prediction/IPredictionManager.aidl",
Hai Zhang31d06ba2018-12-06 18:14:42 -0800112 "core/java/android/app/role/IOnRoleHoldersChangedListener.aidl",
Hai Zhangb7776682018-09-25 15:10:57 -0700113 "core/java/android/app/role/IRoleManager.aidl",
114 "core/java/android/app/role/IRoleManagerCallback.aidl",
Jason Monk8f5f7ff2017-10-17 14:12:42 -0400115 "core/java/android/app/slice/ISliceManager.aidl",
Jason Monk74f5e362017-12-06 08:56:33 -0500116 "core/java/android/app/slice/ISliceListener.aidl",
Neil Fullerfeeee682018-05-30 14:35:24 +0100117 "core/java/android/app/timedetector/ITimeDetectorService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800118 "core/java/android/app/timezone/ICallback.aidl",
119 "core/java/android/app/timezone/IRulesManager.aidl",
Neil Fuller7fb88c32018-06-19 12:53:47 +0100120 "core/java/android/app/timezonedetector/ITimeZoneDetectorService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800121 "core/java/android/app/usage/ICacheQuotaService.aidl",
122 "core/java/android/app/usage/IStorageStatsManager.aidl",
123 "core/java/android/app/usage/IUsageStatsManager.aidl",
124 ":libbluetooth-binder-aidl",
125 "core/java/android/content/IClipboard.aidl",
126 "core/java/android/content/IContentService.aidl",
127 "core/java/android/content/IIntentReceiver.aidl",
128 "core/java/android/content/IIntentSender.aidl",
129 "core/java/android/content/IOnPrimaryClipChangedListener.aidl",
130 "core/java/android/content/IRestrictionsManager.aidl",
131 "core/java/android/content/ISyncAdapter.aidl",
Philip P. Moltmann486b2412018-01-03 11:29:01 -0800132 "core/java/android/content/ISyncAdapterUnsyncableAccountCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800133 "core/java/android/content/ISyncContext.aidl",
134 "core/java/android/content/ISyncServiceAdapter.aidl",
135 "core/java/android/content/ISyncStatusObserver.aidl",
136 "core/java/android/content/om/IOverlayManager.aidl",
Tony Makb0d22622018-01-18 12:49:49 +0000137 "core/java/android/content/pm/ICrossProfileApps.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800138 "core/java/android/content/pm/IDexModuleRegisterCallback.aidl",
139 "core/java/android/content/pm/ILauncherApps.aidl",
140 "core/java/android/content/pm/IOnAppsChangedListener.aidl",
141 "core/java/android/content/pm/IOnPermissionsChangeListener.aidl",
142 "core/java/android/content/pm/IOtaDexopt.aidl",
143 "core/java/android/content/pm/IPackageDataObserver.aidl",
144 "core/java/android/content/pm/IPackageDeleteObserver.aidl",
145 "core/java/android/content/pm/IPackageDeleteObserver2.aidl",
146 "core/java/android/content/pm/IPackageInstallObserver2.aidl",
147 "core/java/android/content/pm/IPackageInstaller.aidl",
148 "core/java/android/content/pm/IPackageInstallerCallback.aidl",
149 "core/java/android/content/pm/IPackageInstallerSession.aidl",
150 "core/java/android/content/pm/IPackageManager.aidl",
151 ":libbinder_aidl",
152 "core/java/android/content/pm/IPackageMoveObserver.aidl",
153 "core/java/android/content/pm/IPackageStatsObserver.aidl",
154 "core/java/android/content/pm/IPinItemRequest.aidl",
155 "core/java/android/content/pm/IShortcutService.aidl",
Calin Juravle45f8b292017-11-07 18:49:43 -0800156 "core/java/android/content/pm/dex/IArtManager.aidl",
157 "core/java/android/content/pm/dex/ISnapshotRuntimeProfileCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800158 "core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl",
Richard Uhlerb29f1452018-09-12 16:38:15 +0100159 "core/java/android/content/rollback/IRollbackManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800160 "core/java/android/database/IContentObserver.aidl",
Kenny Rootf74bfde2018-01-18 15:42:48 -0800161 "core/java/android/debug/IAdbManager.aidl",
Kenny Root61fd3602018-01-19 09:01:46 -0500162 "core/java/android/debug/IAdbTransport.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800163 ":libcamera_client_aidl",
164 ":libcamera_client_framework_aidl",
165 "core/java/android/hardware/IConsumerIrService.aidl",
166 "core/java/android/hardware/ISerialManager.aidl",
Kevin Chynb7b54a62018-09-28 18:48:12 -0700167 "core/java/android/hardware/biometrics/IBiometricEnabledOnKeyguardCallback.aidl",
Kevin Chyn352adfe2018-09-20 22:28:50 -0700168 "core/java/android/hardware/biometrics/IBiometricService.aidl",
169 "core/java/android/hardware/biometrics/IBiometricServiceReceiver.aidl",
Kevin Chyn23289ef2018-11-28 16:32:36 -0800170 "core/java/android/hardware/biometrics/IBiometricServiceReceiverInternal.aidl",
Kevin Chyna56dff72018-06-19 18:41:12 -0700171 "core/java/android/hardware/biometrics/IBiometricServiceLockoutResetCallback.aidl",
Christine Franks39b03112018-07-03 14:46:07 -0700172 "core/java/android/hardware/display/IColorDisplayManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800173 "core/java/android/hardware/display/IDisplayManager.aidl",
174 "core/java/android/hardware/display/IDisplayManagerCallback.aidl",
175 "core/java/android/hardware/display/IVirtualDisplayCallback.aidl",
Kevin Chynaae4a152018-01-18 11:48:09 -0800176 "core/java/android/hardware/fingerprint/IFingerprintClientActiveCallback.aidl",
Gilad Brettercb51b8b2018-03-22 17:04:51 +0200177 "core/java/android/hardware/face/IFaceService.aidl",
Gilad Brettercb51b8b2018-03-22 17:04:51 +0200178 "core/java/android/hardware/face/IFaceServiceReceiver.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800179 "core/java/android/hardware/fingerprint/IFingerprintService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800180 "core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl",
181 "core/java/android/hardware/hdmi/IHdmiControlCallback.aidl",
182 "core/java/android/hardware/hdmi/IHdmiControlService.aidl",
183 "core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl",
184 "core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl",
185 "core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl",
186 "core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl",
187 "core/java/android/hardware/hdmi/IHdmiRecordListener.aidl",
188 "core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl",
189 "core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl",
190 "core/java/android/hardware/input/IInputManager.aidl",
191 "core/java/android/hardware/input/IInputDevicesChangedListener.aidl",
192 "core/java/android/hardware/input/ITabletModeChangedListener.aidl",
Kevin Chyn51676d22018-11-05 18:00:43 -0800193 "core/java/android/hardware/iris/IIrisService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800194 "core/java/android/hardware/location/IGeofenceHardware.aidl",
195 "core/java/android/hardware/location/IGeofenceHardwareCallback.aidl",
196 "core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl",
197 "core/java/android/hardware/location/IContextHubCallback.aidl",
198 "core/java/android/hardware/location/IContextHubClient.aidl",
199 "core/java/android/hardware/location/IContextHubClientCallback.aidl",
200 "core/java/android/hardware/location/IContextHubService.aidl",
201 "core/java/android/hardware/location/IContextHubTransactionCallback.aidl",
Tomasz Wasilczykf151a7b2018-01-11 16:03:46 -0800202 "core/java/android/hardware/radio/IAnnouncementListener.aidl",
203 "core/java/android/hardware/radio/ICloseHandle.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800204 "core/java/android/hardware/radio/IRadioService.aidl",
205 "core/java/android/hardware/radio/ITuner.aidl",
206 "core/java/android/hardware/radio/ITunerCallback.aidl",
207 "core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl",
208 "core/java/android/hardware/usb/IUsbManager.aidl",
Philip P. Moltmanna2c6eea2018-08-24 09:50:40 -0700209 "core/java/android/hardware/usb/IUsbSerialReader.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800210 "core/java/android/net/ICaptivePortal.aidl",
211 "core/java/android/net/IConnectivityManager.aidl",
Chad Brubaker90f391f2018-10-19 10:26:19 -0700212 "core/java/android/hardware/ISensorPrivacyListener.aidl",
213 "core/java/android/hardware/ISensorPrivacyManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800214 "core/java/android/net/IIpConnectivityMetrics.aidl",
215 "core/java/android/net/IEthernetManager.aidl",
216 "core/java/android/net/IEthernetServiceListener.aidl",
217 "core/java/android/net/INetdEventCallback.aidl",
218 "core/java/android/net/IIpSecService.aidl",
219 "core/java/android/net/INetworkManagementEventObserver.aidl",
220 "core/java/android/net/INetworkPolicyListener.aidl",
221 "core/java/android/net/INetworkPolicyManager.aidl",
222 "core/java/android/net/INetworkRecommendationProvider.aidl",
223 "core/java/android/net/INetworkScoreCache.aidl",
224 "core/java/android/net/INetworkScoreService.aidl",
225 "core/java/android/net/INetworkStatsService.aidl",
226 "core/java/android/net/INetworkStatsSession.aidl",
227 "core/java/android/net/ITetheringStatsProvider.aidl",
228 "core/java/android/net/nsd/INsdManager.aidl",
229 "core/java/android/nfc/IAppCallback.aidl",
230 "core/java/android/nfc/INfcAdapter.aidl",
231 "core/java/android/nfc/INfcAdapterExtras.aidl",
232 "core/java/android/nfc/INfcTag.aidl",
233 "core/java/android/nfc/INfcCardEmulation.aidl",
234 "core/java/android/nfc/INfcFCardEmulation.aidl",
235 "core/java/android/nfc/INfcUnlockHandler.aidl",
236 "core/java/android/nfc/INfcDta.aidl",
237 "core/java/android/nfc/ITagRemovedCallback.aidl",
Ruchi Kandoia1f94012017-12-08 15:07:03 -0800238 "core/java/android/se/omapi/ISecureElementService.aidl",
239 "core/java/android/se/omapi/ISecureElementListener.aidl",
240 "core/java/android/se/omapi/ISecureElementChannel.aidl",
241 "core/java/android/se/omapi/ISecureElementReader.aidl",
242 "core/java/android/se/omapi/ISecureElementSession.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800243 "core/java/android/os/IBatteryPropertiesRegistrar.aidl",
244 "core/java/android/os/ICancellationSignal.aidl",
245 "core/java/android/os/IDeviceIdentifiersPolicyService.aidl",
246 "core/java/android/os/IDeviceIdleController.aidl",
247 "core/java/android/os/IHardwarePropertiesManager.aidl",
Colin Crossbc2dc312018-10-26 22:34:06 -0700248 ":libincident_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800249 "core/java/android/os/IMaintenanceActivityListener.aidl",
250 "core/java/android/os/IMessenger.aidl",
251 "core/java/android/os/INetworkActivityListener.aidl",
252 "core/java/android/os/INetworkManagementService.aidl",
253 "core/java/android/os/IPermissionController.aidl",
254 "core/java/android/os/IProcessInfoService.aidl",
255 "core/java/android/os/IProgressListener.aidl",
256 "core/java/android/os/IPowerManager.aidl",
257 "core/java/android/os/IRecoverySystem.aidl",
258 "core/java/android/os/IRecoverySystemProgressListener.aidl",
259 "core/java/android/os/IRemoteCallback.aidl",
260 "core/java/android/os/ISchedulingPolicyService.aidl",
Colin Crossbc2dc312018-10-26 22:34:06 -0700261 ":statsd_aidl",
Tao Bao07342dc2017-01-24 15:08:21 -0800262 "core/java/android/os/ISystemUpdateManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800263 "core/java/android/os/IThermalEventListener.aidl",
Wei Wang37b17542018-11-12 11:02:09 -0800264 "core/java/android/os/IThermalStatusListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800265 "core/java/android/os/IThermalService.aidl",
266 "core/java/android/os/IUpdateLock.aidl",
267 "core/java/android/os/IUserManager.aidl",
268 "core/java/android/os/IVibratorService.aidl",
269 "core/java/android/os/storage/IStorageManager.aidl",
270 "core/java/android/os/storage/IStorageEventListener.aidl",
271 "core/java/android/os/storage/IStorageShutdownObserver.aidl",
272 "core/java/android/os/storage/IObbActionListener.aidl",
Philip P. Moltmannbc054d82018-12-21 09:41:58 -0800273 "core/java/android/permission/IPermissionController.aidl",
Hai Zhangb7776682018-09-25 15:10:57 -0700274 "core/java/android/rolecontrollerservice/IRoleControllerService.aidl",
Logan Chien404eb2b2018-02-14 13:53:04 +0800275 ":keystore_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800276 "core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl",
Sunny Goyal54e91342018-11-14 11:59:02 -0800277 "core/java/android/service/appprediction/IPredictionService.aidl",
Felipe Leme749b8892018-12-03 16:30:30 -0800278 "core/java/android/service/autofill/augmented/IAugmentedAutofillService.aidl",
279 "core/java/android/service/autofill/augmented/IFillCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800280 "core/java/android/service/autofill/IAutoFillService.aidl",
Felipe Lemebc055b02018-01-05 17:04:10 -0800281 "core/java/android/service/autofill/IAutofillFieldClassificationService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800282 "core/java/android/service/autofill/IFillCallback.aidl",
283 "core/java/android/service/autofill/ISaveCallback.aidl",
284 "core/java/android/service/carrier/ICarrierService.aidl",
285 "core/java/android/service/carrier/ICarrierMessagingCallback.aidl",
286 "core/java/android/service/carrier/ICarrierMessagingService.aidl",
Winson Chung3fb0f252019-01-08 17:41:55 -0800287 "core/java/android/service/contentsuggestions/IContentSuggestionsService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800288 "core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl",
289 "core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl",
290 "core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl",
291 "core/java/android/service/euicc/IEuiccService.aidl",
292 "core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl",
293 "core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl",
294 "core/java/android/service/euicc/IGetEidCallback.aidl",
295 "core/java/android/service/euicc/IGetEuiccInfoCallback.aidl",
296 "core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl",
Qingxi Li54058362017-12-13 15:13:02 -0800297 "core/java/android/service/euicc/IGetOtaStatusCallback.aidl",
Qingxi Li6019f9c2017-12-14 15:36:06 -0800298 "core/java/android/service/euicc/IOtaStatusChangedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800299 "core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl",
300 "core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl",
301 "core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl",
302 "core/java/android/service/gatekeeper/IGateKeeperService.aidl",
Felipe Leme749b8892018-12-03 16:30:30 -0800303 "core/java/android/service/contentcapture/IContentCaptureService.aidl",
Felipe Lemeaf4e4fd2019-01-15 08:32:42 -0800304 "core/java/android/service/contentcapture/IContentCaptureServiceCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800305 "core/java/android/service/notification/INotificationListener.aidl",
306 "core/java/android/service/notification/IStatusBarNotificationHolder.aidl",
307 "core/java/android/service/notification/IConditionListener.aidl",
308 "core/java/android/service/notification/IConditionProvider.aidl",
309 "core/java/android/service/settings/suggestions/ISuggestionService.aidl",
Hongming Jinfa329d32018-10-26 16:18:07 -0700310 "core/java/android/service/sms/IFinancialSmsService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800311 "core/java/android/service/vr/IPersistentVrStateCallbacks.aidl",
312 "core/java/android/service/vr/IVrListener.aidl",
313 "core/java/android/service/vr/IVrManager.aidl",
314 "core/java/android/service/vr/IVrStateCallbacks.aidl",
315 "core/java/android/print/ILayoutResultCallback.aidl",
316 "core/java/android/print/IPrinterDiscoveryObserver.aidl",
317 "core/java/android/print/IPrintDocumentAdapter.aidl",
318 "core/java/android/print/IPrintDocumentAdapterObserver.aidl",
319 "core/java/android/print/IPrintJobStateChangeListener.aidl",
320 "core/java/android/print/IPrintServicesChangeListener.aidl",
321 "core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl",
322 "core/java/android/print/IPrintManager.aidl",
323 "core/java/android/print/IPrintSpooler.aidl",
324 "core/java/android/print/IPrintSpoolerCallbacks.aidl",
325 "core/java/android/print/IPrintSpoolerClient.aidl",
326 "core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl",
327 "core/java/android/printservice/recommendation/IRecommendationService.aidl",
328 "core/java/android/print/IWriteResultCallback.aidl",
329 "core/java/android/printservice/IPrintService.aidl",
330 "core/java/android/printservice/IPrintServiceClient.aidl",
331 "core/java/android/companion/ICompanionDeviceManager.aidl",
332 "core/java/android/companion/ICompanionDeviceDiscoveryService.aidl",
333 "core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl",
334 "core/java/android/companion/IFindDeviceCallback.aidl",
335 "core/java/android/service/dreams/IDreamManager.aidl",
336 "core/java/android/service/dreams/IDreamService.aidl",
337 "core/java/android/service/oemlock/IOemLockService.aidl",
338 "core/java/android/service/persistentdata/IPersistentDataBlockService.aidl",
339 "core/java/android/service/trust/ITrustAgentService.aidl",
340 "core/java/android/service/trust/ITrustAgentServiceCallback.aidl",
341 "core/java/android/service/voice/IVoiceInteractionService.aidl",
342 "core/java/android/service/voice/IVoiceInteractionSession.aidl",
343 "core/java/android/service/voice/IVoiceInteractionSessionService.aidl",
344 "core/java/android/service/wallpaper/IWallpaperConnection.aidl",
345 "core/java/android/service/wallpaper/IWallpaperEngine.aidl",
346 "core/java/android/service/wallpaper/IWallpaperService.aidl",
347 "core/java/android/service/chooser/IChooserTargetService.aidl",
348 "core/java/android/service/chooser/IChooserTargetResult.aidl",
349 "core/java/android/service/resolver/IResolverRankerService.aidl",
350 "core/java/android/service/resolver/IResolverRankerResult.aidl",
Tony Mak0be540b2018-11-09 16:58:35 +0000351 "core/java/android/service/textclassifier/IConversationActionsCallback.aidl",
Abodunrinwa Tokid32906c2018-01-18 04:34:44 -0800352 "core/java/android/service/textclassifier/ITextClassificationCallback.aidl",
353 "core/java/android/service/textclassifier/ITextClassifierService.aidl",
Tony Mak0be540b2018-11-09 16:58:35 +0000354 "core/java/android/service/textclassifier/ITextLanguageCallback.aidl",
Abodunrinwa Tokid32906c2018-01-18 04:34:44 -0800355 "core/java/android/service/textclassifier/ITextLinksCallback.aidl",
356 "core/java/android/service/textclassifier/ITextSelectionCallback.aidl",
Alex Salob81472f2018-12-12 14:44:28 -0800357 "core/java/android/service/attention/IAttentionService.aidl",
358 "core/java/android/service/attention/IAttentionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800359 "core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl",
360 "core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl",
361 "core/java/android/view/accessibility/IAccessibilityManager.aidl",
362 "core/java/android/view/accessibility/IAccessibilityManagerClient.aidl",
363 "core/java/android/view/autofill/IAutoFillManager.aidl",
364 "core/java/android/view/autofill/IAutoFillManagerClient.aidl",
Felipe Leme284ad1c2018-11-15 18:16:12 -0800365 "core/java/android/view/autofill/IAugmentedAutofillManagerClient.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800366 "core/java/android/view/autofill/IAutofillWindowPresenter.aidl",
Felipe Lemeb96878492018-12-17 12:22:29 -0800367 "core/java/android/view/contentcapture/IContentCaptureDirectManager.aidl",
Felipe Leme749b8892018-12-03 16:30:30 -0800368 "core/java/android/view/contentcapture/IContentCaptureManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800369 "core/java/android/view/IApplicationToken.aidl",
370 "core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl",
371 "core/java/android/view/IDockedStackListener.aidl",
372 "core/java/android/view/IGraphicsStats.aidl",
373 "core/java/android/view/IGraphicsStatsCallback.aidl",
374 "core/java/android/view/IInputFilter.aidl",
375 "core/java/android/view/IInputFilterHost.aidl",
376 "core/java/android/view/IOnKeyguardExitResult.aidl",
377 "core/java/android/view/IPinnedStackController.aidl",
378 "core/java/android/view/IPinnedStackListener.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100379 "core/java/android/view/IRemoteAnimationRunner.aidl",
Winson Chunge2d72172018-01-25 17:46:20 +0000380 "core/java/android/view/IRecentsAnimationController.aidl",
381 "core/java/android/view/IRecentsAnimationRunner.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100382 "core/java/android/view/IRemoteAnimationFinishedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800383 "core/java/android/view/IRotationWatcher.aidl",
384 "core/java/android/view/IWallpaperVisibilityListener.aidl",
385 "core/java/android/view/IWindow.aidl",
386 "core/java/android/view/IWindowFocusObserver.aidl",
387 "core/java/android/view/IWindowId.aidl",
388 "core/java/android/view/IWindowManager.aidl",
389 "core/java/android/view/IWindowSession.aidl",
390 "core/java/android/view/IWindowSessionCallback.aidl",
391 "core/java/android/webkit/IWebViewUpdateService.aidl",
392 "core/java/android/speech/IRecognitionListener.aidl",
393 "core/java/android/speech/IRecognitionService.aidl",
394 "core/java/android/speech/tts/ITextToSpeechCallback.aidl",
395 "core/java/android/speech/tts/ITextToSpeechService.aidl",
Svetoslav Ganov2d20fb42018-02-08 15:52:10 -0800396 "core/java/com/android/internal/app/IAppOpsActiveCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800397 "core/java/com/android/internal/app/IAppOpsCallback.aidl",
Svet Ganovb3d2ae22018-12-17 22:06:15 -0800398 "core/java/com/android/internal/app/IAppOpsNotedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800399 "core/java/com/android/internal/app/IAppOpsService.aidl",
400 "core/java/com/android/internal/app/IBatteryStats.aidl",
401 "core/java/com/android/internal/app/ISoundTriggerService.aidl",
jiayuzhou21a353b2018-08-16 16:09:43 -0700402 "core/java/com/android/internal/app/IVoiceActionCheckCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800403 "core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl",
404 "core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl",
405 "core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl",
406 "core/java/com/android/internal/app/IVoiceInteractor.aidl",
407 "core/java/com/android/internal/app/IVoiceInteractorCallback.aidl",
408 "core/java/com/android/internal/app/IVoiceInteractorRequest.aidl",
409 "core/java/com/android/internal/app/IMediaContainerService.aidl",
410 "core/java/com/android/internal/app/procstats/IProcessStats.aidl",
411 "core/java/com/android/internal/appwidget/IAppWidgetService.aidl",
412 "core/java/com/android/internal/appwidget/IAppWidgetHost.aidl",
413 "core/java/com/android/internal/backup/IBackupTransport.aidl",
414 "core/java/com/android/internal/backup/IObbBackupService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800415 "core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl",
Yohei Yukawac54c1172018-09-06 11:39:50 -0700416 "core/java/com/android/internal/inputmethod/IInputMethodPrivilegedOperations.aidl",
Yohei Yukawabae5bea2018-11-12 15:08:30 -0800417 "core/java/com/android/internal/inputmethod/IMultiClientInputMethod.aidl",
418 "core/java/com/android/internal/inputmethod/IMultiClientInputMethodPrivilegedOperations.aidl",
419 "core/java/com/android/internal/inputmethod/IMultiClientInputMethodSession.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800420 "core/java/com/android/internal/net/INetworkWatchlistManager.aidl",
421 "core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl",
422 "core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl",
423 "core/java/com/android/internal/policy/IKeyguardExitCallback.aidl",
424 "core/java/com/android/internal/policy/IKeyguardService.aidl",
425 "core/java/com/android/internal/policy/IKeyguardStateCallback.aidl",
426 "core/java/com/android/internal/policy/IShortcutService.aidl",
427 "core/java/com/android/internal/os/IDropBoxManagerService.aidl",
428 "core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl",
429 "core/java/com/android/internal/os/IResultReceiver.aidl",
430 "core/java/com/android/internal/os/IShellCallback.aidl",
431 "core/java/com/android/internal/statusbar/IStatusBar.aidl",
432 "core/java/com/android/internal/statusbar/IStatusBarService.aidl",
433 "core/java/com/android/internal/textservice/ISpellCheckerService.aidl",
434 "core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl",
435 "core/java/com/android/internal/textservice/ISpellCheckerSession.aidl",
436 "core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl",
437 "core/java/com/android/internal/textservice/ITextServicesManager.aidl",
438 "core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl",
439 "core/java/com/android/internal/view/IDragAndDropPermissions.aidl",
440 "core/java/com/android/internal/view/IInputContext.aidl",
441 "core/java/com/android/internal/view/IInputContextCallback.aidl",
442 "core/java/com/android/internal/view/IInputMethod.aidl",
443 "core/java/com/android/internal/view/IInputMethodClient.aidl",
444 "core/java/com/android/internal/view/IInputMethodManager.aidl",
445 "core/java/com/android/internal/view/IInputMethodSession.aidl",
446 "core/java/com/android/internal/view/IInputSessionCallback.aidl",
447 "core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl",
448 "core/java/com/android/internal/widget/ILockSettings.aidl",
449 "core/java/com/android/internal/widget/IRemoteViewsFactory.aidl",
450 "keystore/java/android/security/IKeyChainAliasCallback.aidl",
451 "keystore/java/android/security/IKeyChainService.aidl",
452 "location/java/android/location/IBatchedLocationCallback.aidl",
453 "location/java/android/location/ICountryDetector.aidl",
454 "location/java/android/location/ICountryListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800455 "location/java/android/location/IGeocodeProvider.aidl",
456 "location/java/android/location/IGeofenceProvider.aidl",
457 "location/java/android/location/IGnssStatusListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800458 "location/java/android/location/IGnssMeasurementsListener.aidl",
459 "location/java/android/location/IGnssNavigationMessageListener.aidl",
460 "location/java/android/location/ILocationListener.aidl",
461 "location/java/android/location/ILocationManager.aidl",
462 "location/java/android/location/IFusedGeofenceHardware.aidl",
463 "location/java/android/location/IGpsGeofenceHardware.aidl",
464 "location/java/android/location/INetInitiatedListener.aidl",
465 "location/java/com/android/internal/location/ILocationProvider.aidl",
Soonil Nagarkar1575a042018-10-24 17:54:54 -0700466 "location/java/com/android/internal/location/ILocationProviderManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800467 "media/java/android/media/IAudioFocusDispatcher.aidl",
468 "media/java/android/media/IAudioRoutesObserver.aidl",
Jaewan Kim379e30d2018-01-29 11:57:04 +0900469 "media/java/android/media/IAudioService.aidl",
Eric Laurent1d3cdce2018-01-20 10:31:21 -0800470 "media/java/android/media/IAudioServerStateDispatcher.aidl",
Sungsoo Limf894f772018-12-28 13:47:08 +0900471 "media/java/android/media/IMediaController2.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800472 "media/java/android/media/IMediaHTTPConnection.aidl",
473 "media/java/android/media/IMediaHTTPService.aidl",
474 "media/java/android/media/IMediaResourceMonitor.aidl",
475 "media/java/android/media/IMediaRouterClient.aidl",
476 "media/java/android/media/IMediaRouterService.aidl",
Sungsoo Limf894f772018-12-28 13:47:08 +0900477 "media/java/android/media/IMediaSession2.aidl",
Jaewan Kim45d94a42019-01-09 17:12:46 +0900478 "media/java/android/media/IMediaSession2Service.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800479 "media/java/android/media/IMediaScannerListener.aidl",
480 "media/java/android/media/IMediaScannerService.aidl",
481 "media/java/android/media/IPlaybackConfigDispatcher.aidl",
482 ":libaudioclient_aidl",
483 "media/java/android/media/IRecordingConfigDispatcher.aidl",
484 "media/java/android/media/IRemoteDisplayCallback.aidl",
485 "media/java/android/media/IRemoteDisplayProvider.aidl",
486 "media/java/android/media/IRemoteVolumeController.aidl",
487 "media/java/android/media/IRemoteVolumeObserver.aidl",
488 "media/java/android/media/IRingtonePlayer.aidl",
489 "media/java/android/media/IVolumeController.aidl",
490 "media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl",
491 "media/java/android/media/midi/IBluetoothMidiService.aidl",
492 "media/java/android/media/midi/IMidiDeviceListener.aidl",
493 "media/java/android/media/midi/IMidiDeviceOpenCallback.aidl",
494 "media/java/android/media/midi/IMidiDeviceServer.aidl",
495 "media/java/android/media/midi/IMidiManager.aidl",
496 "media/java/android/media/projection/IMediaProjection.aidl",
497 "media/java/android/media/projection/IMediaProjectionCallback.aidl",
498 "media/java/android/media/projection/IMediaProjectionManager.aidl",
499 "media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl",
500 "media/java/android/media/session/IActiveSessionsListener.aidl",
501 "media/java/android/media/session/ICallback.aidl",
502 "media/java/android/media/session/IOnMediaKeyListener.aidl",
503 "media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl",
504 "media/java/android/media/session/ISession.aidl",
Jaewan Kimea911862019-01-07 16:45:14 +0900505 "media/java/android/media/session/ISession2TokensListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800506 "media/java/android/media/session/ISessionCallback.aidl",
507 "media/java/android/media/session/ISessionController.aidl",
508 "media/java/android/media/session/ISessionControllerCallback.aidl",
509 "media/java/android/media/session/ISessionManager.aidl",
Philip P. Moltmann18e3eb82018-03-09 16:55:55 -0800510 "media/java/android/media/soundtrigger/ISoundTriggerDetectionService.aidl",
511 "media/java/android/media/soundtrigger/ISoundTriggerDetectionServiceClient.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800512 "media/java/android/media/tv/ITvInputClient.aidl",
513 "media/java/android/media/tv/ITvInputHardware.aidl",
514 "media/java/android/media/tv/ITvInputHardwareCallback.aidl",
515 "media/java/android/media/tv/ITvInputManager.aidl",
516 "media/java/android/media/tv/ITvInputManagerCallback.aidl",
517 "media/java/android/media/tv/ITvInputService.aidl",
518 "media/java/android/media/tv/ITvInputServiceCallback.aidl",
519 "media/java/android/media/tv/ITvInputSession.aidl",
520 "media/java/android/media/tv/ITvInputSessionCallback.aidl",
521 "media/java/android/media/tv/ITvRemoteProvider.aidl",
522 "media/java/android/media/tv/ITvRemoteServiceInput.aidl",
523 "media/java/android/service/media/IMediaBrowserService.aidl",
524 "media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl",
sqianea8970c2018-06-06 22:54:04 -0700525 "telecomm/java/com/android/internal/telecom/ICallRedirectionAdapter.aidl",
526 "telecomm/java/com/android/internal/telecom/ICallRedirectionService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800527 "telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl",
528 "telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl",
529 "telecomm/java/com/android/internal/telecom/IVideoCallback.aidl",
530 "telecomm/java/com/android/internal/telecom/IVideoProvider.aidl",
531 "telecomm/java/com/android/internal/telecom/IConnectionService.aidl",
532 "telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl",
533 "telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl",
534 "telecomm/java/com/android/internal/telecom/IInCallService.aidl",
Hall Liuc47570d2018-12-06 17:53:25 -0800535 "telecomm/java/com/android/internal/telecom/IPhoneAccountSuggestionCallback.aidl",
536 "telecomm/java/com/android/internal/telecom/IPhoneAccountSuggestionService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800537 "telecomm/java/com/android/internal/telecom/ITelecomService.aidl",
538 "telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl",
Mohamed Abdalkader48e18c52018-01-22 15:43:37 -0800539 "telephony/java/android/telephony/data/IDataService.aidl",
540 "telephony/java/android/telephony/data/IDataServiceCallback.aidl",
Jack Yua3ab5752018-02-20 14:08:57 -0800541 "telephony/java/android/telephony/data/IQualifiedNetworksService.aidl",
542 "telephony/java/android/telephony/data/IQualifiedNetworksServiceCallback.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800543 "telephony/java/android/telephony/ims/aidl/IImsCallSessionListener.aidl",
Brad Ebinger112c36d2018-01-16 09:33:47 -0800544 "telephony/java/android/telephony/ims/aidl/IImsCapabilityCallback.aidl",
545 "telephony/java/android/telephony/ims/aidl/IImsConfig.aidl",
546 "telephony/java/android/telephony/ims/aidl/IImsConfigCallback.aidl",
547 "telephony/java/android/telephony/ims/aidl/IImsMmTelFeature.aidl",
548 "telephony/java/android/telephony/ims/aidl/IImsMmTelListener.aidl",
549 "telephony/java/android/telephony/ims/aidl/IImsRegistration.aidl",
550 "telephony/java/android/telephony/ims/aidl/IImsRegistrationCallback.aidl",
551 "telephony/java/android/telephony/ims/aidl/IImsRcsFeature.aidl",
552 "telephony/java/android/telephony/ims/aidl/IImsServiceController.aidl",
553 "telephony/java/android/telephony/ims/aidl/IImsServiceControllerListener.aidl",
Logan Chien71ddfea2018-02-27 16:43:50 +0800554 "telephony/java/android/telephony/ims/aidl/IImsSmsListener.aidl",
Sahin Caliskan84dd3062018-12-03 14:06:39 -0800555 "telephony/java/android/telephony/ims/aidl/IRcs.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800556 "telephony/java/android/telephony/mbms/IMbmsDownloadSessionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800557 "telephony/java/android/telephony/mbms/IMbmsStreamingSessionCallback.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700558 "telephony/java/android/telephony/mbms/IMbmsGroupCallSessionCallback.aidl",
Hall Liu79539972018-03-19 18:12:23 -0700559 "telephony/java/android/telephony/mbms/IDownloadStatusListener.aidl",
560 "telephony/java/android/telephony/mbms/IDownloadProgressListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800561 "telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700562 "telephony/java/android/telephony/mbms/IGroupCallCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800563 "telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl",
564 "telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl",
Hall Liua7b0c1f2018-04-19 17:57:58 -0700565 "telephony/java/android/telephony/mbms/vendor/IMbmsGroupCallService.aidl",
Nathan Harold2aa2cc12018-09-27 18:49:16 -0700566 "telephony/java/android/telephony/ICellInfoCallback.aidl",
Jack Yud5f1de12017-12-21 11:00:05 -0800567 "telephony/java/android/telephony/INetworkService.aidl",
568 "telephony/java/android/telephony/INetworkServiceCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800569 "telephony/java/com/android/ims/internal/IImsCallSession.aidl",
570 "telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl",
571 "telephony/java/com/android/ims/internal/IImsConfig.aidl",
572 "telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl",
573 "telephony/java/com/android/ims/internal/IImsEcbm.aidl",
574 "telephony/java/com/android/ims/internal/IImsEcbmListener.aidl",
575 "telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl",
576 "telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl",
577 "telephony/java/com/android/ims/internal/IImsMMTelFeature.aidl",
578 "telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl",
579 "telephony/java/com/android/ims/internal/IImsRcsFeature.aidl",
580 "telephony/java/com/android/ims/internal/IImsService.aidl",
581 "telephony/java/com/android/ims/internal/IImsServiceController.aidl",
582 "telephony/java/com/android/ims/internal/IImsServiceFeatureCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800583 "telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl",
584 "telephony/java/com/android/ims/internal/IImsUt.aidl",
585 "telephony/java/com/android/ims/internal/IImsUtListener.aidl",
586 "telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl",
587 "telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800588 "telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl",
589 "telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl",
590 "telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl",
591 "telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl",
592 "telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl",
593 "telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl",
594 "telephony/java/com/android/ims/ImsConfigListener.aidl",
595 "telephony/java/com/android/internal/telephony/IApnSourceService.aidl",
596 "telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl",
597 "telephony/java/com/android/internal/telephony/IMms.aidl",
Hall Liu53140362018-11-28 10:44:22 -0800598 "telephony/java/com/android/internal/telephony/INumberVerificationCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800599 "telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl",
600 "telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl",
601 "telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl",
602 "telephony/java/com/android/internal/telephony/ISms.aidl",
603 "telephony/java/com/android/internal/telephony/ISub.aidl",
Sooraj Sasindranfd617462019-01-08 13:23:17 -0800604 "telephony/java/com/android/internal/telephony/IOns.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800605 "telephony/java/com/android/internal/telephony/ITelephony.aidl",
606 "telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl",
607 "telephony/java/com/android/internal/telephony/IWapPushManager.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800608 "telephony/java/com/android/internal/telephony/euicc/IAuthenticateServerCallback.aidl",
609 "telephony/java/com/android/internal/telephony/euicc/ICancelSessionCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800610 "telephony/java/com/android/internal/telephony/euicc/IDeleteProfileCallback.aidl",
611 "telephony/java/com/android/internal/telephony/euicc/IDisableProfileCallback.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800612 "telephony/java/com/android/internal/telephony/euicc/IEuiccCardController.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800613 "telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800614 "telephony/java/com/android/internal/telephony/euicc/IGetAllProfilesCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800615 "telephony/java/com/android/internal/telephony/euicc/IGetDefaultSmdpAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800616 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccChallengeCallback.aidl",
617 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo1Callback.aidl",
618 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo2Callback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800619 "telephony/java/com/android/internal/telephony/euicc/IGetProfileCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800620 "telephony/java/com/android/internal/telephony/euicc/IGetRulesAuthTableCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800621 "telephony/java/com/android/internal/telephony/euicc/IGetSmdsAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800622 "telephony/java/com/android/internal/telephony/euicc/IListNotificationsCallback.aidl",
623 "telephony/java/com/android/internal/telephony/euicc/ILoadBoundProfilePackageCallback.aidl",
624 "telephony/java/com/android/internal/telephony/euicc/IPrepareDownloadCallback.aidl",
625 "telephony/java/com/android/internal/telephony/euicc/IRemoveNotificationFromListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800626 "telephony/java/com/android/internal/telephony/euicc/IResetMemoryCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800627 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationCallback.aidl",
628 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800629 "telephony/java/com/android/internal/telephony/euicc/ISetDefaultSmdpAddressCallback.aidl",
630 "telephony/java/com/android/internal/telephony/euicc/ISetNicknameCallback.aidl",
631 "telephony/java/com/android/internal/telephony/euicc/ISwitchToProfileCallback.aidl",
Roshan Pius3c38ee42018-10-09 10:06:33 -0700632 "wifi/java/android/net/wifi/INetworkRequestMatchCallback.aidl",
633 "wifi/java/android/net/wifi/INetworkRequestUserSelectionCallback.aidl",
Mehdi Alizadeh0037dde2017-11-28 15:31:28 -0800634 "wifi/java/android/net/wifi/ISoftApCallback.aidl",
Roshan Pius80fb1372018-07-16 15:43:03 -0700635 "wifi/java/android/net/wifi/ITrafficStateCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800636 "wifi/java/android/net/wifi/IWifiManager.aidl",
637 "wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl",
638 "wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl",
639 "wifi/java/android/net/wifi/aware/IWifiAwareMacAddressProvider.aidl",
640 "wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl",
641 "wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl",
642 "wifi/java/android/net/wifi/rtt/IRttCallback.aidl",
643 "wifi/java/android/net/wifi/rtt/IWifiRttManager.aidl",
644 "wifi/java/android/net/wifi/hotspot2/IProvisioningCallback.aidl",
Hai Shalome1afc8d2018-12-07 10:13:43 -0800645 "wifi/java/android/net/wifi/IDppCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800646 "wifi/java/android/net/wifi/IWifiScanner.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800647 "packages/services/PacProcessor/com/android/net/IProxyService.aidl",
648 "packages/services/Proxy/com/android/net/IProxyCallback.aidl",
649 "packages/services/Proxy/com/android/net/IProxyPortListener.aidl",
650 "core/java/android/service/quicksettings/IQSService.aidl",
651 "core/java/android/service/quicksettings/IQSTileService.aidl",
652
653 ":libupdate_engine_aidl",
654
655 ":storaged_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800656 ":vold_aidl",
657 ":installd_aidl",
Nandana Duttb3f71682018-10-03 10:01:25 +0100658 ":dumpstate_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800659
660 "lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl",
661 "lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl",
662 "lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl",
663 "lowpan/java/android/net/lowpan/ILowpanInterface.aidl",
664 "lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl",
665 "lowpan/java/android/net/lowpan/ILowpanManager.aidl",
666
667 "core/java/android/app/admin/SecurityLogTags.logtags",
668 "core/java/android/content/EventLogTags.logtags",
669 "core/java/android/speech/tts/EventLogTags.logtags",
670 "core/java/android/net/EventLogTags.logtags",
Makoto Onuki49392d32018-04-11 13:51:02 -0700671 "core/java/android/os/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800672 "core/java/android/webkit/EventLogTags.logtags",
Ben Gruverc7ffbe62018-01-19 11:28:04 -0800673 "core/java/com/android/internal/app/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800674 "core/java/com/android/internal/logging/EventLogTags.logtags",
Siyuan Zhoubafcd7b2017-12-04 13:02:11 -0800675 "core/java/com/android/server/DropboxLogTags.logtags",
Ricardo Quesadaab086c52017-12-11 11:26:53 -0800676 "core/java/org/chromium/arc/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800677
Inseob Kimc1246e62018-11-08 13:13:54 +0900678 ":platform-properties",
679
Colin Crosscf3a0b52017-11-16 00:15:28 -0800680 ":framework-statslog-gen",
681 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800682
683 aidl: {
Colin Cross4eb07842017-12-14 15:18:42 -0800684 export_include_dirs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800685 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
686 "core/java",
687 "graphics/java",
688 "location/java",
689 "lowpan/java",
690 "media/java",
691 "media/mca/effect/java",
692 "media/mca/filterfw/java",
693 "media/mca/filterpacks/java",
694 "drm/java",
695 "opengl/java",
696 "sax/java",
697 "telecomm/java",
698 "telephony/java",
699 "wifi/java",
700 "keystore/java",
701 "rs/java",
702 ],
703
704 include_dirs: [
705 "system/update_engine/binder_bindings",
706 "frameworks/native/aidl/binder",
Nandana Duttb3f71682018-10-03 10:01:25 +0100707 "frameworks/native/cmds/dumpstate/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800708 "frameworks/av/camera/aidl",
709 "frameworks/av/media/libaudioclient/aidl",
710 "frameworks/native/aidl/gui",
711 "system/core/storaged/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800712 "system/vold/binder",
713 "system/bt/binder",
Logan Chien404eb2b2018-02-14 13:53:04 +0800714 "system/security/keystore/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800715 ],
Olivier Gaillardb0ea4212018-07-26 11:52:37 +0100716
717 generate_get_transaction_name: true
Colin Crosscf3a0b52017-11-16 00:15:28 -0800718 },
719
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000720 exclude_srcs: [
Paul Duffina3b69212018-01-25 09:58:32 +0000721 // See comment on framework-atb-backward-compatibility module below
722 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
723 // See comment on framework-oahl-backward-compatibility module below
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000724 "core/java/android/content/pm/OrgApacheHttpLegacyUpdater.java",
725 ],
726
Colin Crosscf3a0b52017-11-16 00:15:28 -0800727 no_framework_libs: true,
728 libs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800729 "ext",
730 ],
731
732 static_libs: [
Dario Frenid8bf22e2018-08-31 14:18:04 +0100733 "apex_aidl_interface-java",
Remi NGUYEN VANc094a542018-12-07 16:52:24 +0900734 "networkstack-aidl-interfaces-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800735 "framework-protos",
Peiyong Lin9ca1dd82019-01-12 17:44:29 -0800736 "game-driver-protos",
Dongwon Kangdfea0aa2018-07-10 12:42:58 -0700737 "mediaplayer2-protos",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800738 "android.hidl.base-V1.0-java",
739 "android.hardware.cas-V1.0-java",
740 "android.hardware.contexthub-V1.0-java",
741 "android.hardware.health-V1.0-java-constants",
742 "android.hardware.thermal-V1.0-java-constants",
Wei Wangfb21bd82019-01-10 14:16:23 -0800743 "android.hardware.thermal-V1.0-java",
Wei Wangbad7c202018-11-01 11:57:39 -0700744 "android.hardware.thermal-V1.1-java",
745 "android.hardware.thermal-V2.0-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800746 "android.hardware.tv.input-V1.0-java-constants",
747 "android.hardware.usb-V1.0-java-constants",
748 "android.hardware.usb-V1.1-java-constants",
Michael Wrightf268bf52018-02-07 23:23:34 +0000749 "android.hardware.vibrator-V1.0-java",
750 "android.hardware.vibrator-V1.1-java",
751 "android.hardware.vibrator-V1.2-java",
Harpreet "Eli" Sanghaa456f082018-12-14 12:06:10 +0900752 "android.hardware.vibrator-V1.3-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800753 "android.hardware.wifi-V1.0-java-constants",
yuemingw9361a132017-11-24 18:20:11 +0000754 "android.hardware.radio-V1.0-java",
sqianff1dc372018-09-07 21:01:26 -0700755 "android.hardware.radio-V1.3-java",
Malcolm Chen8310bcd2018-11-25 15:14:47 -0800756 "android.hardware.radio-V1.4-java",
Jerry Zhang327b8092018-01-09 17:53:04 -0800757 "android.hardware.usb.gadget-V1.0-java",
Chalard Jean8c141bd2018-12-04 20:20:56 +0900758 "networkstack-aidl-interfaces-java",
Luke Huang13b79e82018-09-26 14:53:42 +0800759 "netd_aidl_interface-java",
arangelov1ab61492018-11-22 13:56:50 +0000760 "devicepolicyprotosnano",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800761 ],
762
Wei Jia0a8a8f02017-12-05 17:05:29 -0800763 required: [
Anton Hansson11905c62018-11-27 12:10:30 +0000764 // TODO: remove gps_debug when the build system propagates "required" properly.
765 "gps_debug.conf",
766 // Loaded with System.loadLibrary by android.view.textclassifier
Logan Chien71ddfea2018-02-27 16:43:50 +0800767 "libmedia2_jni",
768 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800769
Colin Crosscf3a0b52017-11-16 00:15:28 -0800770 dxflags: [
771 "--core-library",
772 "--multi-dex",
773 ],
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100774
775}
776
Colin Crossbc2dc312018-10-26 22:34:06 -0700777filegroup {
778 name: "libincident_aidl",
779 srcs: [
780 "core/java/android/os/IIncidentManager.aidl",
781 "core/java/android/os/IIncidentReportStatusListener.aidl",
782 ],
783}
784
785filegroup {
786 name: "statsd_aidl",
787 srcs: [
788 "core/java/android/os/IStatsCompanionService.aidl",
789 "core/java/android/os/IStatsManager.aidl",
790 ],
791}
792
Mathew Inwoodbad89e52018-06-28 14:12:10 +0100793java_library {
794 name: "framework",
795 defaults: ["framework-defaults"],
796 javac_shard_size: 150,
797}
798
799java_library {
800 name: "framework-annotation-proc",
801 defaults: ["framework-defaults"],
802 // Use UsedByApps annotation processor
803 annotation_processors: ["unsupportedappusage-annotation-processor"],
804 // b/25860419: annotation processors must be explicitly specified for grok
805 annotation_processor_classes: [
806 "android.processor.unsupportedappusage.UsedByAppsProcessor",
807 ],
808}
809
810// A host library including just UnsupportedAppUsage.java so that the annotation
811// processor can also use this annotation.
812java_library_host {
813 name: "unsupportedappusage-annotation",
814 srcs: [
815 "core/java/android/annotation/IntDef.java",
816 "core/java/android/annotation/UnsupportedAppUsage.java",
817 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800818}
819
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000820// A temporary build target that is conditionally included on the bootclasspath if
821// org.apache.http.legacy library has been removed and which provides support for
822// maintaining backwards compatibility for APKs that target pre-P and depend on
823// org.apache.http.legacy classes. This is used iff REMOVE_OAHL_FROM_BCP=true is
824// specified on the build command line.
825java_library {
826 name: "framework-oahl-backward-compatibility",
Colin Crossd7647c12018-07-10 14:24:31 -0700827 installable: true,
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000828 srcs: [
829 "core/java/android/content/pm/OrgApacheHttpLegacyUpdater.java",
830 ],
831}
832
Paul Duffina3b69212018-01-25 09:58:32 +0000833// A temporary build target that is conditionally included on the bootclasspath if
834// android.test.base library has been removed and which provides support for
835// maintaining backwards compatibility for APKs that target pre-P and depend on
836// android.test.base classes. This is used iff REMOVE_ATB_FROM_BCP=true is
837// specified on the build command line.
838java_library {
839 name: "framework-atb-backward-compatibility",
840 srcs: [
841 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
842 ],
843}
844
Colin Crosscf3a0b52017-11-16 00:15:28 -0800845genrule {
846 name: "framework-statslog-gen",
847 tools: ["stats-log-api-gen"],
848 cmd: "$(location stats-log-api-gen) --java $(out)",
David Chen0a368b22017-12-06 16:28:16 -0800849 out: ["android/util/StatsLogInternal.java"],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800850}
851
852gensrcs {
853 name: "framework-javastream-protos",
854 depfile: true,
855
Alex Light159799d2018-08-08 07:05:19 -0700856 tool_files: [ "tools/genprotos.sh", ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800857 tools: [
858 "aprotoc",
859 "protoc-gen-javastream",
860 "soong_zip",
861 ],
862
Alex Light159799d2018-08-08 07:05:19 -0700863 // TODO This should not be needed. If you set a custom OUT_DIR or OUT_DIR_COMMON_BASE you can
864 // end up with a command that is extremely long, potentially going passed MAX_ARG_STRLEN due to
865 // the way sbox rewrites the command. See b/70221552.
866 cmd: "$(location tools/genprotos.sh) " +
867 " $(location aprotoc) " +
868 " $(location protoc-gen-javastream) " +
869 " $(location soong_zip) " +
870 " $(genDir) " +
871 " $(depfile) " +
872 " $(in) " +
873 " $(out)",
Yi Jin437aa6e2018-01-10 11:34:26 -0800874 srcs: [
875 "core/proto/**/*.proto",
876 "libs/incident/**/*.proto",
877 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800878 output_extension: "srcjar",
879}
880
Remi NGUYEN VANc094a542018-12-07 16:52:24 +0900881// AIDL interfaces between the core system and the networking mainline module.
882aidl_interface {
883 name: "networkstack-aidl-interfaces",
884 local_include_dir: "core/java",
885 srcs: [
Remi NGUYEN VANe67b0c32018-12-27 16:43:56 +0900886 "core/java/android/net/INetworkMonitor.aidl",
887 "core/java/android/net/INetworkMonitorCallbacks.aidl",
Chalard Jeanf89d7be2018-12-07 23:09:02 +0900888 "core/java/android/net/IIpMemoryStore.aidl",
Remi NGUYEN VANc094a542018-12-07 16:52:24 +0900889 "core/java/android/net/INetworkStackConnector.aidl",
Remi NGUYEN VAN0e3d09232018-12-04 12:13:09 +0900890 "core/java/android/net/INetworkStackStatusCallback.aidl",
Remi NGUYEN VAN4855a2e2019-01-08 10:46:21 +0900891 "core/java/android/net/IpPrefixParcelable.aidl",
892 "core/java/android/net/LinkAddressParcelable.aidl",
893 "core/java/android/net/LinkPropertiesParcelable.aidl",
Remi NGUYEN VANe67b0c32018-12-27 16:43:56 +0900894 "core/java/android/net/PrivateDnsConfigParcel.aidl",
Remi NGUYEN VAN4855a2e2019-01-08 10:46:21 +0900895 "core/java/android/net/ProxyInfoParcelable.aidl",
896 "core/java/android/net/RouteInfoParcelable.aidl",
Remi NGUYEN VAN761198a2018-12-10 16:35:30 +0900897 "core/java/android/net/dhcp/DhcpServingParamsParcel.aidl",
Remi NGUYEN VAN0e3d09232018-12-04 12:13:09 +0900898 "core/java/android/net/dhcp/IDhcpServer.aidl",
899 "core/java/android/net/dhcp/IDhcpServerCallbacks.aidl",
Chalard Jeanf89d7be2018-12-07 23:09:02 +0900900 "core/java/android/net/ipmemorystore/**/*.aidl",
Remi NGUYEN VANc094a542018-12-07 16:52:24 +0900901 ],
902 api_dir: "aidl/networkstack",
903}
904
Colin Crossd8e02252017-10-02 17:14:22 -0700905// Build ext.jar
906// ============================================================
907java_library {
908 name: "ext",
Colin Crossa12c0f52018-06-27 11:00:11 -0700909 installable: true,
Paul Duffinba4cee02018-11-23 12:19:49 +0000910 no_framework_libs: true,
Colin Crossd8e02252017-10-02 17:14:22 -0700911 static_libs: [
912 "libphonenumber-platform",
913 "nist-sip",
914 "tagsoup",
Ricky Wai0d1bc332017-10-31 14:31:01 +0000915 "rappor",
Tony Mak64c4cb22018-09-25 13:38:28 +0100916 "libtextclassifier-java",
917 ],
918 required: [
919 "libtextclassifier",
Colin Crossd8e02252017-10-02 17:14:22 -0700920 ],
921 dxflags: ["--core-library"],
922}
923
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700924// ==== java proto host library ==============================
925java_library_host {
926 name: "platformprotos",
927 srcs: [
928 "cmds/am/proto/instrumentation_data.proto",
Howard Ro0546d542018-08-30 16:23:44 -0700929 "cmds/statsd/src/**/*.proto",
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700930 "core/proto/**/*.proto",
931 "libs/incident/proto/**/*.proto",
Andreas Gampeaf27bf662018-05-17 10:49:26 -0700932 ],
933 proto: {
934 include_dirs: ["external/protobuf/src"],
935 type: "full",
936 },
937 errorprone: {
938 javacflags: ["-Xep:MissingOverride:OFF"], // b/72714520
939 },
940}
941
Colin Cross43214162018-08-20 13:57:24 -0700942// ==== java proto device library (for test only) ==============================
943java_library {
944 name: "platformprotosnano",
945 proto: {
946 type: "nano",
947 output_params: ["store_unknown_fields=true"],
948 include_dirs: ["external/protobuf/src"],
949 },
950
951 sdk_version: "current",
952 srcs: [
953 "core/proto/**/*.proto",
954 "libs/incident/proto/android/os/**/*.proto",
955 ],
956}
957
958// ==== java proto device library (for test only) ==============================
959java_library {
960 name: "platformprotoslite",
961 proto: {
962 type: "lite",
963 include_dirs: ["external/protobuf/src"],
964 },
965
966 srcs: [
967 "core/proto/**/*.proto",
968 "libs/incident/proto/android/os/**/*.proto",
969 ],
970 // Protos have lots of MissingOverride and similar.
971 errorprone: {
972 javacflags: ["-XepDisableAllChecks"],
973 },
974}
975
Colin Crossaa0d4352017-05-02 14:14:56 -0700976// ==== c++ proto device library ==============================
977cc_library {
978 name: "libplatformprotos",
979 host_supported: true,
Colin Crossaa0d4352017-05-02 14:14:56 -0700980 proto: {
981 export_proto_headers: true,
982 include_dirs: ["external/protobuf/src"],
983 },
984
Chih-Hung Hsiehc7edf072017-10-03 09:57:55 -0700985 cflags: [
986 "-Wall",
987 "-Werror",
988 "-Wno-unused-parameter",
989 ],
Joe Onorato62c220b2017-11-18 20:32:56 -0800990
991 srcs: [
992 "core/proto/**/*.proto",
993 "libs/incident/**/*.proto",
Joe Onorato62c220b2017-11-18 20:32:56 -0800994 ],
995
Colin Crossaa0d4352017-05-02 14:14:56 -0700996 target: {
997 host: {
998 proto: {
999 type: "full",
1000 },
1001 },
1002 android: {
1003 proto: {
1004 type: "lite",
1005 },
1006 shared: {
Colin Crossaa0d4352017-05-02 14:14:56 -07001007 enabled: false,
1008 },
1009 },
1010 },
Colin Crossaa0d4352017-05-02 14:14:56 -07001011}
1012
Yi Jin04625ad2017-10-17 18:29:33 -07001013gensrcs {
1014 name: "gen-platform-proto-constants",
1015 depfile: true,
1016
1017 tools: [
1018 "aprotoc",
1019 "protoc-gen-cppstream",
1020 ],
1021
1022 srcs: [
Kweku Adamseadd1232018-02-05 16:45:13 -08001023 "core/proto/android/os/backtrace.proto",
Kweku Adams59e6fd72017-12-27 15:48:14 -08001024 "core/proto/android/os/batterytype.proto",
Yi Jin0eb22342017-11-06 17:17:27 -08001025 "core/proto/android/os/cpufreq.proto",
Yi Jine2f7f792017-11-01 17:08:27 -07001026 "core/proto/android/os/cpuinfo.proto",
Colin Crossbc2dc312018-10-26 22:34:06 -07001027 "core/proto/android/os/data.proto",
Yi Jin04625ad2017-10-17 18:29:33 -07001028 "core/proto/android/os/kernelwake.proto",
1029 "core/proto/android/os/pagetypeinfo.proto",
1030 "core/proto/android/os/procrank.proto",
Kweku Adamsf5cc5752017-12-20 17:59:17 -08001031 "core/proto/android/os/ps.proto",
Yi Jin0dfa7522017-11-06 17:43:47 -08001032 "core/proto/android/os/system_properties.proto",
Yi Jin3c034c92017-12-22 17:36:47 -08001033 "core/proto/android/util/event_log_tags.proto",
Colin Crossbc2dc312018-10-26 22:34:06 -07001034 "core/proto/android/util/log.proto",
Yi Jin04625ad2017-10-17 18:29:33 -07001035 ],
1036
1037 // Append protoc-gen-cppstream tool's PATH otherwise aprotoc can't find the plugin tool
Yi Jin3c034c92017-12-22 17:36:47 -08001038 cmd: "mkdir -p $(genDir) " +
1039 "&& $(location aprotoc) " +
1040 " --plugin=$(location protoc-gen-cppstream) " +
1041 " --dependency_out=$(depfile) " +
1042 " --cppstream_out=$(genDir) " +
1043 " -Iexternal/protobuf/src " +
1044 " -I . " +
1045 " $(in)",
Yi Jin04625ad2017-10-17 18:29:33 -07001046
Logan Chien71ddfea2018-02-27 16:43:50 +08001047 output_extension: "proto.h",
Yi Jin04625ad2017-10-17 18:29:33 -07001048}
1049
Dan Albert2a8d9c22016-09-23 15:55:49 -07001050subdirs = [
Yi Jin0a3406f2017-06-22 19:23:11 -07001051 "cmds/*",
Jeff Sharkey0c686e72017-10-23 16:04:31 -06001052 "core/*",
Colin Cross4f8d9e62016-12-01 15:55:00 -08001053 "libs/*",
Colin Cross76de4f62017-05-15 18:10:40 -07001054 "media/*",
Colin Cross747e7c12017-10-24 16:21:22 -07001055 "proto",
Fabien Sanglard19160202017-01-12 14:24:31 -05001056 "tools/*",
Dan Albert2a8d9c22016-09-23 15:55:49 -07001057 "native/android",
Dan Albert7ce8df32016-09-23 16:43:49 -07001058 "native/graphics/jni",
Dan Albert2a8d9c22016-09-23 15:55:49 -07001059]
Svetoslav Ganov74c99832016-12-05 20:07:20 -08001060
1061optional_subdirs = [
1062 "core/tests/utiltests/jni",
1063]
Steven Morelandeddafe92017-10-02 16:58:41 -07001064
Colin Crossa2b78a72018-03-29 13:31:04 -07001065// TODO(b/77285514): remove this once the last few hidl interfaces have been
1066// updated to use hwbinder.stubs.
Steven Morelandeddafe92017-10-02 16:58:41 -07001067java_library {
1068 name: "hwbinder",
1069 no_framework_libs: true,
1070
1071 srcs: [
1072 "core/java/android/os/HidlSupport.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -08001073 "core/java/android/annotation/IntDef.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001074 "core/java/android/annotation/NonNull.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -08001075 "core/java/android/annotation/SystemApi.java",
Steven Morelandcbba4c72019-01-11 10:19:51 -08001076 "core/java/android/annotation/TestApi.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001077 "core/java/android/os/HwBinder.java",
1078 "core/java/android/os/HwBlob.java",
1079 "core/java/android/os/HwParcel.java",
1080 "core/java/android/os/IHwBinder.java",
1081 "core/java/android/os/IHwInterface.java",
1082 "core/java/android/os/DeadObjectException.java",
1083 "core/java/android/os/DeadSystemException.java",
Nirav Atre9850dd92018-07-24 17:03:44 -07001084 "core/java/android/os/NativeHandle.java",
Steven Morelandeddafe92017-10-02 16:58:41 -07001085 "core/java/android/os/RemoteException.java",
1086 "core/java/android/util/AndroidException.java",
1087 ],
1088
1089 dxflags: ["--core-library"],
1090 installable: false,
1091}
Nan Zhang2db709d2017-11-08 20:48:46 -08001092
1093python_defaults {
1094 name: "base_default",
1095 version: {
1096 py2: {
1097 enabled: true,
1098 embedded_launcher: true,
1099 },
1100 py3: {
1101 enabled: false,
1102 embedded_launcher: false,
1103 },
1104 },
1105}
1106
1107python_binary_host {
1108 name: "fontchain_linter",
1109 defaults: ["base_default"],
1110 main: "tools/fonts/fontchain_linter.py",
1111 srcs: [
1112 "tools/fonts/fontchain_linter.py",
1113 ],
1114 libs: [
1115 "fontTools",
1116 ],
1117}
Nan Zhang172875b2018-02-27 11:24:03 -08001118
1119// TODO: Don't rely on this list once droiddoc can take a list of packages to document
1120frameworks_base_subdirs = [
1121 "core/java",
1122 "graphics/java",
1123 "location/java",
1124 "media/java",
1125 "media/mca/effect/java",
1126 "media/mca/filterfw/java",
1127 "media/mca/filterpacks/java",
1128 "drm/java",
1129 "opengl/java",
1130 "sax/java",
1131 "telecomm/java",
1132 "telephony/java",
1133 "wifi/java",
1134 "lowpan/java",
1135 "keystore/java",
1136 "rs/java",
1137]
1138
1139packages_to_document = [
1140 "android",
1141 "javax/microedition/khronos",
1142 "org/apache/http/conn",
1143 "org/apache/http/params",
1144]
1145
1146// The since flag (-since N.xml API_LEVEL) is used to add API Level information
1147// to the reference documentation. Must be in order of oldest to newest.
1148//
1149// Conscrypt (com.android.org.conscrypt) is an implementation detail and should
1150// not be referenced in the documentation.
1151framework_docs_args = "-android -manifest $(location core/res/AndroidManifest.xml) " +
Nan Zhangf33e1942018-03-23 00:57:00 -07001152 "-hidePackage com.android.internal " +
1153 "-hidePackage com.android.internal.util " +
1154 "-hidePackage com.android.okhttp " +
1155 "-hidePackage com.android.org.conscrypt " +
1156 "-hidePackage com.android.server " +
Anton Hansson6a9e7262018-04-19 16:23:53 +01001157 "-since $(location 1/public/api/android.xml) 1 " +
1158 "-since $(location 2/public/api/android.xml) 2 " +
1159 "-since $(location 3/public/api/android.xml) 3 " +
1160 "-since $(location 4/public/api/android.xml) 4 " +
1161 "-since $(location 5/public/api/android.xml) 5 " +
1162 "-since $(location 6/public/api/android.xml) 6 " +
1163 "-since $(location 7/public/api/android.xml) 7 " +
1164 "-since $(location 8/public/api/android.xml) 8 " +
1165 "-since $(location 9/public/api/android.xml) 9 " +
1166 "-since $(location 10/public/api/android.xml) 10 " +
1167 "-since $(location 11/public/api/android.xml) 11 " +
1168 "-since $(location 12/public/api/android.xml) 12 " +
1169 "-since $(location 13/public/api/android.xml) 13 " +
1170 "-since $(location 14/public/api/android.txt) 14 " +
1171 "-since $(location 15/public/api/android.txt) 15 " +
1172 "-since $(location 16/public/api/android.txt) 16 " +
1173 "-since $(location 17/public/api/android.txt) 17 " +
1174 "-since $(location 18/public/api/android.txt) 18 " +
1175 "-since $(location 19/public/api/android.txt) 19 " +
1176 "-since $(location 20/public/api/android.txt) 20 " +
1177 "-since $(location 21/public/api/android.txt) 21 " +
1178 "-since $(location 22/public/api/android.txt) 22 " +
1179 "-since $(location 23/public/api/android.txt) 23 " +
1180 "-since $(location 24/public/api/android.txt) 24 " +
1181 "-since $(location 25/public/api/android.txt) 25 " +
1182 "-since $(location 26/public/api/android.txt) 26 " +
1183 "-since $(location 27/public/api/android.txt) 27 " +
1184 "-since $(location 28/public/api/android.txt) 28 " +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001185 "-since $(location api/current.txt) Q " +
Nan Zhang172875b2018-02-27 11:24:03 -08001186 "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
1187 "-overview $(location core/java/overview.html) " +
1188 // Federate Support Library references against local API file.
1189 "-federate SupportLib https://developer.android.com " +
1190 "-federationapi SupportLib $(location current/support-api.txt) "
1191
Nan Zhang7764a4b2018-08-22 11:27:31 -07001192framework_docs_only_args = " -android -manifest $(location core/res/AndroidManifest.xml) " +
Nan Zhangb03396e2018-10-11 18:06:10 -07001193 "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001194 "-overview $(location core/java/overview.html) " +
1195 // Federate Support Library references against local API file.
1196 "-federate SupportLib https://developer.android.com " +
1197 "-federationapi SupportLib $(location current/support-api.txt) "
Nan Zhang172875b2018-02-27 11:24:03 -08001198
Nan Zhang7764a4b2018-08-22 11:27:31 -07001199framework_docs_only_libs = [
Nan Zhang7764a4b2018-08-22 11:27:31 -07001200 "voip-common",
1201 "android.test.mock",
1202 "android-support-annotations",
1203 "android-support-compat",
1204 "android-support-core-ui",
1205 "android-support-core-utils",
1206 "android-support-customtabs",
1207 "android-support-design",
1208 "android-support-dynamic-animation",
1209 "android-support-exifinterface",
1210 "android-support-fragment",
1211 "android-support-media-compat",
1212 "android-support-percent",
1213 "android-support-recommendation",
1214 "android-support-transition",
1215 "android-support-tv-provider",
1216 "android-support-v7-cardview",
1217 "android-support-v7-gridlayout",
1218 "android-support-v7-mediarouter",
1219 "android-support-v7-palette",
1220 "android-support-v7-preference",
1221 "android-support-v13",
1222 "android-support-v14-preference",
1223 "android-support-v17-leanback",
1224 "android-support-v17-preference-leanback",
1225 "android-support-wear",
1226 "android-support-vectordrawable",
1227 "android-support-animatedvectordrawable",
1228 "android-support-v7-appcompat",
1229 "android-support-v7-recyclerview",
1230 "android-support-emoji",
1231 "android-support-emoji-appcompat",
1232 "android-support-emoji-bundled",
1233 "android-support-v8-renderscript",
1234 "android-support-multidex",
1235 "android-support-multidex-instrumentation",
1236]
1237
1238metalava_framework_docs_args = "--manifest $(location core/res/AndroidManifest.xml) " +
1239 "--hide-package com.android.okhttp " +
1240 "--hide-package com.android.org.conscrypt --hide-package com.android.server " +
Adrian Roosc6e2fc82018-12-12 15:08:44 +01001241 "--error UnhiddenSystemApi " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001242 "--hide RequiresPermission " +
1243 "--hide MissingPermission --hide BroadcastBehavior " +
1244 "--hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol " +
1245 "--hide SdkConstant --hide HiddenTypeParameter --hide Todo --hide Typo"
1246
1247stubs_defaults {
1248 name: "framework-doc-stubs-default",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001249 srcs: [
1250 "test-base/src/**/*.java",
1251 ":opt-telephony-srcs",
1252 ":opt-net-voip-srcs",
1253 ":openjdk_javadoc_files",
1254 ":non_openjdk_javadoc_files",
1255 ":android_icu4j_src_files_for_docs",
Adam Vartanian6333c842018-10-18 10:10:35 +01001256 ":conscrypt_public_api_files",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001257 "test-mock/src/**/*.java",
1258 "test-runner/src/**/*.java",
1259 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001260 srcs_lib: "framework",
1261 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1262 srcs_lib_whitelist_pkgs: packages_to_document,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001263 libs: framework_docs_only_libs,
Nan Zhang3e15ba82018-07-26 18:41:12 +00001264 local_sourcepaths: frameworks_base_subdirs,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001265 create_doc_stubs: true,
1266 annotations_enabled: true,
1267 api_levels_annotations_enabled: true,
1268 api_levels_annotations_dirs: [
1269 "sdk-dir",
1270 "api-versions-jars-dir",
1271 ],
1272 previous_api: ":last-released-public-api",
1273 merge_annotations_dirs: [
1274 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001275 "ojluni-annotated-sdk-stubs",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001276 ],
1277}
1278
1279doc_defaults {
1280 name: "framework-docs-default",
Nan Zhangb03396e2018-10-11 18:06:10 -07001281 libs: framework_docs_only_libs +
1282 ["stub-annotations"],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001283 html_dirs: [
1284 "docs/html",
1285 ],
1286 knowntags: [
1287 "docs/knowntags.txt",
1288 ":known-oj-tags",
1289 ],
1290 custom_template: "droiddoc-templates-sdk",
1291 resourcesdir: "docs/html/reference/images/",
1292 resourcesoutdir: "reference/android/images/",
1293 hdf: [
1294 "dac true",
1295 "sdk.codename O",
1296 "sdk.preview.version 1",
1297 "sdk.version 7.0",
1298 "sdk.rel.id 1",
1299 "sdk.preview 0",
1300 ],
1301 arg_files: [
1302 "core/res/AndroidManifest.xml",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001303 "core/java/overview.html",
1304 ":current-support-api",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001305 ],
1306 create_stubs: false,
1307}
1308
Nan Zhang894c9ec2018-09-10 18:58:39 -07001309stubs_defaults {
Nan Zhangd25ad462018-08-22 10:48:15 -07001310 name: "metalava-api-stubs-default",
1311 srcs: [
1312 ":opt-telephony-srcs",
1313 ":opt-net-voip-srcs",
1314 ":openjdk_javadoc_files",
1315 ":non_openjdk_javadoc_files",
1316 ":android_icu4j_src_files_for_docs",
Adam Vartanian6333c842018-10-18 10:10:35 +01001317 ":conscrypt_public_api_files",
Nan Zhangd25ad462018-08-22 10:48:15 -07001318 ],
1319 srcs_lib: "framework",
1320 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1321 srcs_lib_whitelist_pkgs: packages_to_document,
1322 libs: [
Nan Zhangd25ad462018-08-22 10:48:15 -07001323 "ext",
1324 "framework",
1325 "voip-common",
Nan Zhangd25ad462018-08-22 10:48:15 -07001326 ],
1327 local_sourcepaths: frameworks_base_subdirs,
1328 installable: false,
Nan Zhang894c9ec2018-09-10 18:58:39 -07001329 annotations_enabled: true,
1330 previous_api: ":last-released-public-api",
1331 merge_annotations_dirs: [
Nan Zhangd25ad462018-08-22 10:48:15 -07001332 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001333 "ojluni-annotated-sdk-stubs",
Nan Zhangd25ad462018-08-22 10:48:15 -07001334 ],
Nan Zhang91cc7662018-09-18 10:46:10 -07001335 api_levels_annotations_enabled: true,
1336 api_levels_annotations_dirs: [
1337 "sdk-dir",
1338 "api-versions-jars-dir",
1339 ],
Nan Zhangd25ad462018-08-22 10:48:15 -07001340}
1341
Nan Zhang7764a4b2018-08-22 11:27:31 -07001342droidstubs {
1343 name: "framework-doc-stubs",
1344 defaults: ["framework-doc-stubs-default"],
1345 arg_files: [
1346 "core/res/AndroidManifest.xml",
1347 ],
1348 args: metalava_framework_docs_args,
1349}
1350
1351droidstubs {
1352 name: "framework-doc-system-stubs",
1353 defaults: ["framework-doc-stubs-default"],
1354 arg_files: [
1355 "core/res/AndroidManifest.xml",
1356 ],
1357 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi ",
1358}
1359
Nan Zhang3e15ba82018-07-26 18:41:12 +00001360droiddoc {
1361 name: "doc-comment-check-docs",
1362 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001363 srcs: [
1364 ":framework-doc-stubs",
1365 ],
1366 args: framework_docs_only_args + " -referenceonly -parsecomments",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001367 installable: false,
1368}
1369
1370droiddoc {
1371 name: "offline-sdk-docs",
1372 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001373 srcs: [
1374 ":framework-doc-stubs",
1375 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001376 hdf: [
1377 "android.whichdoc offline",
1378 ],
1379 proofread_file: "offline-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001380 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\"",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001381 write_sdk_values: true,
1382 static_doc_index_redirect: "docs/docs-preview-index.html",
1383}
1384
1385droiddoc {
Nan Zhang963612b2018-09-21 17:16:49 -07001386 // Please sync with android-api-council@ before making any changes for the name property below.
1387 // Since there's cron jobs that fetch offline-sdk-referenceonly-docs-docs.zip periodically.
1388 // See b/116221385 for reference.
Nan Zhang3e15ba82018-07-26 18:41:12 +00001389 name: "offline-sdk-referenceonly-docs",
1390 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001391 srcs: [
1392 ":framework-doc-stubs",
1393 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001394 hdf: [
1395 "android.whichdoc offline",
1396 ],
1397 proofread_file: "offline-sdk-referenceonly-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001398 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\" -referenceonly",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001399 write_sdk_values: true,
1400 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
1401 static_doc_properties: "docs/source.properties",
1402}
1403
1404droiddoc {
Nan Zhang963612b2018-09-21 17:16:49 -07001405 // Please sync with android-api-council@ before making any changes for the name property below.
1406 // Since there's cron jobs that fetch offline-system-sdk-referenceonly-docs-docs.zip periodically.
1407 // See b/116221385 for reference.
Nan Zhang3e15ba82018-07-26 18:41:12 +00001408 name: "offline-system-sdk-referenceonly-docs",
1409 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001410 srcs: [
1411 ":framework-doc-system-stubs",
1412 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001413 hdf: [
1414 "android.whichdoc offline",
1415 ],
1416 proofread_file: "offline-system-sdk-referenceonly-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001417 args: framework_docs_only_args + " -hide 101 -hide 104 -hide 108" +
1418 " -offlinemode -title \"Android System SDK\" -referenceonly",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001419 write_sdk_values: true,
1420 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
1421 static_doc_properties: "docs/source.properties",
1422}
1423
1424droiddoc {
1425 name: "online-sdk-docs",
1426 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001427 srcs: [
1428 ":framework-doc-stubs",
1429 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001430 hdf: [
1431 "android.whichdoc online",
1432 "android.hasSamples true",
1433 ],
1434 proofread_file: "online-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001435 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001436 " -toroot / -samplegroup Admin " +
1437 " -samplegroup Background " +
1438 " -samplegroup Connectivity " +
1439 " -samplegroup Content " +
1440 " -samplegroup Input " +
1441 " -samplegroup Media " +
1442 " -samplegroup Notification " +
1443 " -samplegroup RenderScript " +
1444 " -samplegroup Security " +
1445 " -samplegroup Sensors " +
1446 " -samplegroup System " +
1447 " -samplegroup Testing " +
1448 " -samplegroup UI " +
1449 " -samplegroup Views " +
1450 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1451}
1452
1453droiddoc {
1454 name: "online-system-api-sdk-docs",
1455 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001456 srcs: [
1457 ":framework-doc-system-stubs",
1458 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001459 hdf: [
1460 "android.whichdoc online",
1461 "android.hasSamples true",
1462 ],
1463 proofread_file: "online-system-api-sdk-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001464 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001465 " -referenceonly " +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001466 " -title \"Android SDK - Including system APIs.\" " +
1467 " -hide 101 " +
1468 " -hide 104 " +
1469 " -hide 108 " +
1470 " -toroot / -samplegroup Admin " +
1471 " -samplegroup Background " +
1472 " -samplegroup Connectivity " +
1473 " -samplegroup Content " +
1474 " -samplegroup Input " +
1475 " -samplegroup Media " +
1476 " -samplegroup Notification " +
1477 " -samplegroup RenderScript " +
1478 " -samplegroup Security " +
1479 " -samplegroup Sensors " +
1480 " -samplegroup System " +
1481 " -samplegroup Testing " +
1482 " -samplegroup UI " +
1483 " -samplegroup Views " +
1484 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1485 installable: false,
1486}
1487
1488droiddoc {
1489 name: "ds-docs",
1490 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001491 srcs: [
1492 ":framework-doc-stubs",
1493 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001494 hdf: [
1495 "android.whichdoc online",
1496 "android.hasSamples true",
1497 ],
1498 proofread_file: "ds-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001499 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001500 " -toroot / -samplegroup Admin " +
1501 " -samplegroup Background " +
1502 " -samplegroup Connectivity " +
1503 " -samplegroup Content " +
1504 " -samplegroup Input " +
1505 " -samplegroup Media " +
1506 " -samplegroup Notification " +
1507 " -samplegroup RenderScript " +
1508 " -samplegroup Security " +
1509 " -samplegroup Sensors " +
1510 " -samplegroup System " +
1511 " -samplegroup Testing " +
1512 " -samplegroup UI " +
1513 " -samplegroup Views " +
1514 " -samplegroup Wearable -devsite -samplesdir development/samples/browseable ",
1515}
1516
1517droiddoc {
1518 name: "ds-static-docs",
1519 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001520 srcs: [
1521 ":framework-doc-stubs",
1522 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001523 hdf: [
1524 "android.whichdoc online",
1525 ],
1526 proofread_file: "ds-static-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001527 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001528 " -staticonly " +
1529 " -toroot / " +
1530 " -devsite " +
1531 " -ignoreJdLinks ",
1532}
1533
1534droiddoc {
1535 name: "ds-ref-navtree-docs",
1536 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001537 srcs: [
1538 ":framework-doc-stubs",
1539 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001540 hdf: [
1541 "android.whichdoc online",
1542 ],
1543 proofread_file: "ds-ref-navtree-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001544 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001545 " -toroot / " +
1546 " -atLinksNavtree " +
1547 " -navtreeonly ",
1548}
1549
1550droiddoc {
1551 name: "online-sdk-dev-docs",
1552 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001553 srcs: [
1554 ":framework-doc-stubs",
1555 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001556 hdf: [
1557 "android.whichdoc online",
1558 "android.hasSamples true",
1559 ],
1560 proofread_file: "online-sdk-dev-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001561 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001562 " -toroot / -samplegroup Admin " +
1563 " -samplegroup Background " +
1564 " -samplegroup Connectivity " +
1565 " -samplegroup Content " +
1566 " -samplegroup Input " +
1567 " -samplegroup Media " +
1568 " -samplegroup Notification " +
1569 " -samplegroup RenderScript " +
1570 " -samplegroup Security " +
1571 " -samplegroup Sensors " +
1572 " -samplegroup System " +
1573 " -samplegroup Testing " +
1574 " -samplegroup UI " +
1575 " -samplegroup Views " +
1576 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1577}
1578
1579droiddoc {
1580 name: "hidden-docs",
1581 defaults: ["framework-docs-default"],
Nan Zhang7764a4b2018-08-22 11:27:31 -07001582 srcs: [
1583 ":framework-doc-stubs",
1584 ],
Nan Zhang3e15ba82018-07-26 18:41:12 +00001585 proofread_file: "hidden-docs-proofrerad.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001586 args: framework_docs_only_args +
Nan Zhang3e15ba82018-07-26 18:41:12 +00001587 " -referenceonly " +
1588 " -title \"Android SDK - Including hidden APIs.\"",
1589}
1590
Nan Zhang7764a4b2018-08-22 11:27:31 -07001591droidstubs {
Colin Crossa2b78a72018-03-29 13:31:04 -07001592 name: "hwbinder-stubs-docs",
1593 srcs: [
1594 "core/java/android/os/HidlSupport.java",
1595 "core/java/android/annotation/IntDef.java",
1596 "core/java/android/annotation/NonNull.java",
1597 "core/java/android/annotation/SystemApi.java",
1598 "core/java/android/os/HwBinder.java",
1599 "core/java/android/os/HwBlob.java",
1600 "core/java/android/os/HwParcel.java",
1601 "core/java/android/os/IHwBinder.java",
1602 "core/java/android/os/IHwInterface.java",
1603 "core/java/android/os/DeadObjectException.java",
1604 "core/java/android/os/DeadSystemException.java",
Nirav Atre9850dd92018-07-24 17:03:44 -07001605 "core/java/android/os/NativeHandle.java",
Colin Crossa2b78a72018-03-29 13:31:04 -07001606 "core/java/android/os/RemoteException.java",
1607 "core/java/android/util/AndroidException.java",
1608 ],
Colin Crossa2b78a72018-03-29 13:31:04 -07001609 installable: false,
1610 no_framework_libs: true,
Nan Zhang7764a4b2018-08-22 11:27:31 -07001611 annotations_enabled: true,
1612 previous_api: ":last-released-public-api",
1613 merge_annotations_dirs: [
1614 "metalava-manual",
Pete Gillinff978192018-09-17 15:45:33 +01001615 "ojluni-annotated-sdk-stubs",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001616 ],
1617 args: " --show-annotation android.annotation.SystemApi",
Colin Crossa2b78a72018-03-29 13:31:04 -07001618}
1619
1620java_library_static {
1621 name: "hwbinder.stubs",
1622 sdk_version: "core_current",
1623 srcs: [
1624 ":hwbinder-stubs-docs",
1625 ],
1626}
Nan Zhanga0f91af2018-04-09 17:41:51 -07001627
Nan Zhang894c9ec2018-09-10 18:58:39 -07001628droidstubs {
Nan Zhangd25ad462018-08-22 10:48:15 -07001629 name: "hiddenapi-lists-docs",
1630 defaults: ["metalava-api-stubs-default"],
David Brazdil4f9d4d52018-04-26 14:05:13 +01001631 arg_files: [
1632 "core/res/AndroidManifest.xml",
David Brazdil4f9d4d52018-04-26 14:05:13 +01001633 ],
David Brazdil6f6a1262018-05-31 13:58:41 +01001634 dex_api_filename: "public-dex.txt",
David Brazdil4f9d4d52018-04-26 14:05:13 +01001635 private_dex_api_filename: "private-dex.txt",
1636 removed_dex_api_filename: "removed-dex.txt",
Nan Zhangd25ad462018-08-22 10:48:15 -07001637 args: metalava_framework_docs_args +
1638 " --show-unannotated " +
1639 " --show-annotation android.annotation.SystemApi " +
1640 " --show-annotation android.annotation.TestApi "
David Brazdil4f9d4d52018-04-26 14:05:13 +01001641}
1642
Nan Zhangd25ad462018-08-22 10:48:15 -07001643
Nan Zhang7764a4b2018-08-22 11:27:31 -07001644droidstubs {
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001645 name: "hiddenapi-mappings",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001646 defaults: ["metalava-api-stubs-default"],
Paul Duffina0cb5382018-10-31 10:34:51 +00001647 srcs: [
1648 ":openjdk_java_files",
1649 ":non_openjdk_java_files",
1650 ],
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001651 arg_files: [
1652 "core/res/AndroidManifest.xml",
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001653 ],
1654 dex_mapping_filename: "dex-mapping.txt",
Nan Zhang7764a4b2018-08-22 11:27:31 -07001655 args: metalava_framework_docs_args +
Adrian Roos9bdbd302018-12-07 13:53:40 +01001656 " --hide ReferencesHidden " +
Adrian Roosc6e2fc82018-12-12 15:08:44 +01001657 " --hide UnhiddenSystemApi " +
Nan Zhang7764a4b2018-08-22 11:27:31 -07001658 " --show-unannotated " +
1659 " --show-annotation android.annotation.SystemApi " +
1660 " --show-annotation android.annotation.TestApi "
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001661}
1662
Nan Zhanga0f91af2018-04-09 17:41:51 -07001663filegroup {
1664 name: "apache-http-stubs-sources",
1665 srcs: [
1666 "core/java/org/apache/http/conn/ConnectTimeoutException.java",
1667 "core/java/org/apache/http/conn/scheme/HostNameResolver.java",
1668 "core/java/org/apache/http/conn/scheme/LayeredSocketFactory.java",
1669 "core/java/org/apache/http/conn/scheme/SocketFactory.java",
1670 "core/java/org/apache/http/conn/ssl/AbstractVerifier.java",
1671 "core/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java",
1672 "core/java/org/apache/http/conn/ssl/AndroidDistinguishedNameParser.java",
1673 "core/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java",
1674 "core/java/org/apache/http/conn/ssl/SSLSocketFactory.java",
1675 "core/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java",
1676 "core/java/org/apache/http/conn/ssl/X509HostnameVerifier.java",
1677 "core/java/org/apache/http/params/CoreConnectionPNames.java",
1678 "core/java/org/apache/http/params/HttpConnectionParams.java",
1679 "core/java/org/apache/http/params/HttpParams.java",
Nan Zhanga0f91af2018-04-09 17:41:51 -07001680 "core/java/android/net/http/SslCertificate.java",
1681 "core/java/android/net/http/SslError.java",
1682 "core/java/com/android/internal/util/HexDump.java",
1683 ],
1684}
Nan Zhang4212eb12018-04-25 17:23:33 -07001685
Nan Zhang894c9ec2018-09-10 18:58:39 -07001686droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001687 name: "api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001688 defaults: ["metalava-api-stubs-default"],
Nan Zhang4212eb12018-04-25 17:23:33 -07001689 api_filename: "public_api.txt",
1690 private_api_filename: "private.txt",
1691 removed_api_filename: "removed.txt",
1692 arg_files: [
1693 "core/res/AndroidManifest.xml",
1694 ],
1695 args: metalava_framework_docs_args,
Nan Zhange5612602018-08-16 16:16:00 -07001696 check_api: {
1697 current: {
1698 api_file: "api/current.txt",
1699 removed_api_file: "api/removed.txt",
1700 },
Nan Zhangcd060d92018-08-20 20:34:26 -07001701 last_released: {
1702 api_file: ":last-released-public-api",
1703 removed_api_file: "api/removed.txt",
1704 },
Nan Zhange5612602018-08-16 16:16:00 -07001705 },
Nan Zhang81f29f52018-09-17 14:33:08 -07001706 jdiff_enabled: true,
Nan Zhang4212eb12018-04-25 17:23:33 -07001707}
1708
Nan Zhang894c9ec2018-09-10 18:58:39 -07001709droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001710 name: "system-api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001711 defaults: ["metalava-api-stubs-default"],
Nan Zhang4d3f5012018-08-07 13:40:33 -07001712 api_tag_name: "SYSTEM",
Nan Zhang4212eb12018-04-25 17:23:33 -07001713 api_filename: "system-api.txt",
1714 private_api_filename: "system-private.txt",
1715 private_dex_api_filename: "system-private-dex.txt",
1716 removed_api_filename: "system-removed.txt",
1717 arg_files: [
1718 "core/res/AndroidManifest.xml",
1719 ],
1720 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi",
Nan Zhange5612602018-08-16 16:16:00 -07001721 check_api: {
1722 current: {
1723 api_file: "api/system-current.txt",
1724 removed_api_file: "api/system-removed.txt",
1725 },
Nan Zhangcd060d92018-08-20 20:34:26 -07001726 last_released: {
1727 api_file: ":last-released-system-api",
1728 removed_api_file: "api/system-removed.txt",
1729 },
Nan Zhange5612602018-08-16 16:16:00 -07001730 },
Nan Zhang81f29f52018-09-17 14:33:08 -07001731 jdiff_enabled: true,
Nan Zhang4212eb12018-04-25 17:23:33 -07001732}
1733
Nan Zhang894c9ec2018-09-10 18:58:39 -07001734droidstubs {
Nan Zhang4d3f5012018-08-07 13:40:33 -07001735 name: "test-api-stubs-docs",
Nan Zhang3e15ba82018-07-26 18:41:12 +00001736 defaults: ["metalava-api-stubs-default"],
Nan Zhang4d3f5012018-08-07 13:40:33 -07001737 api_tag_name: "TEST",
Nan Zhang4212eb12018-04-25 17:23:33 -07001738 api_filename: "test-api.txt",
1739 removed_api_filename: "test-removed.txt",
1740 arg_files: [
1741 "core/res/AndroidManifest.xml",
1742 ],
1743 args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi",
Nan Zhange5612602018-08-16 16:16:00 -07001744 check_api: {
1745 current: {
1746 api_file: "api/test-current.txt",
1747 removed_api_file: "api/test-removed.txt",
1748 },
1749 },
Nan Zhang4212eb12018-04-25 17:23:33 -07001750}
Nan Zhangaf251302018-08-30 10:59:51 -07001751
1752filegroup {
1753 name: "framework-annotation-nonnull-srcs",
1754 srcs: [
1755 "core/java/android/annotation/NonNull.java",
1756 ],
1757}
Insun Kang06b25ae2018-11-20 10:05:44 +09001758
1759filegroup {
1760 name: "framework-media-annotation-srcs",
1761 srcs: [
1762 "core/java/android/annotation/CallbackExecutor.java",
1763 "core/java/android/annotation/DrawableRes.java",
1764 "core/java/android/annotation/IntDef.java",
1765 "core/java/android/annotation/LongDef.java",
1766 "core/java/android/annotation/NonNull.java",
1767 "core/java/android/annotation/Nullable.java",
1768 "core/java/android/annotation/RequiresPermission.java",
1769 "core/java/android/annotation/SdkConstant.java",
1770 "core/java/android/annotation/StringDef.java",
Dongwon Kang3584c662018-11-27 11:14:08 -08001771 "core/java/android/annotation/TestApi.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001772 "core/java/android/annotation/UnsupportedAppUsage.java",
Dongwon Kang3584c662018-11-27 11:14:08 -08001773 "core/java/com/android/internal/annotations/GuardedBy.java",
Insun Kang06b25ae2018-11-20 10:05:44 +09001774 ],
1775}
1776