blob: 7d36a88b31b0c5135bc3e761f52bdb0f951a49fa [file] [log] [blame]
Dan Albert2a8d9c22016-09-23 15:55:49 -07001// Copyright (C) 2016 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Colin Crosscf3a0b52017-11-16 00:15:28 -080015// Build the master framework library.
16
17// READ ME: ########################################################
18//
19// When updating this list of aidl files, consider if that aidl is
20// part of the SDK API. If it is, also add it to the list in Android.mk
21// that is preprocessed and distributed with the SDK. This list should
22// not contain any aidl files for parcelables, but the one below should
23// if you intend for 3rd parties to be able to send those objects
24// across process boundaries.
25//
26// READ ME: ########################################################
27
28java_library {
29 name: "framework",
30
31 srcs: [
32 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
33 "core/java/**/*.java",
34 "graphics/java/**/*.java",
35 "location/java/**/*.java",
36 "lowpan/java/**/*.java",
37 "media/java/**/*.java",
38 "media/mca/effect/java/**/*.java",
39 "media/mca/filterfw/java/**/*.java",
40 "media/mca/filterpacks/java/**/*.java",
41 "drm/java/**/*.java",
42 "opengl/java/**/*.java",
43 "sax/java/**/*.java",
44 "telecomm/java/**/*.java",
45 "telephony/java/**/*.java",
46 "wifi/java/**/*.java",
47 "keystore/java/**/*.java",
48 "rs/java/**/*.java",
49
50 ":framework-javastream-protos",
51
52 "core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl",
53 "core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl",
54 "core/java/android/accounts/IAccountManager.aidl",
55 "core/java/android/accounts/IAccountManagerResponse.aidl",
56 "core/java/android/accounts/IAccountAuthenticator.aidl",
57 "core/java/android/accounts/IAccountAuthenticatorResponse.aidl",
58 "core/java/android/app/IActivityController.aidl",
59 "core/java/android/app/IActivityManager.aidl",
60 "core/java/android/app/IActivityPendingResult.aidl",
61 "core/java/android/app/IAlarmCompleteListener.aidl",
62 "core/java/android/app/IAlarmListener.aidl",
63 "core/java/android/app/IAlarmManager.aidl",
64 "core/java/android/app/IAppTask.aidl",
65 "core/java/android/app/IApplicationThread.aidl",
66 "core/java/android/app/IAssistDataReceiver.aidl",
67 "core/java/android/app/ITaskStackListener.aidl",
68 "core/java/android/app/IBackupAgent.aidl",
69 "core/java/android/app/IEphemeralResolver.aidl",
70 "core/java/android/app/IInputForwarder.aidl",
71 "core/java/android/app/IInstantAppResolver.aidl",
72 "core/java/android/app/IInstrumentationWatcher.aidl",
73 "core/java/android/app/INotificationManager.aidl",
74 "core/java/android/app/IProcessObserver.aidl",
75 "core/java/android/app/ISearchManager.aidl",
76 "core/java/android/app/ISearchManagerCallback.aidl",
77 "core/java/android/app/IServiceConnection.aidl",
78 "core/java/android/app/IStopUserCallback.aidl",
79 "core/java/android/app/job/IJobCallback.aidl",
80 "core/java/android/app/job/IJobScheduler.aidl",
81 "core/java/android/app/job/IJobService.aidl",
82 "core/java/android/app/ITransientNotification.aidl",
83 "core/java/android/app/IUidObserver.aidl",
84 "core/java/android/app/IUiAutomationConnection.aidl",
85 "core/java/android/app/IUiModeManager.aidl",
86 "core/java/android/app/IUserSwitchObserver.aidl",
87 "core/java/android/app/IWallpaperManager.aidl",
88 "core/java/android/app/IWallpaperManagerCallback.aidl",
89 "core/java/android/app/admin/IDeviceAdminService.aidl",
90 "core/java/android/app/admin/IDevicePolicyManager.aidl",
91 "core/java/android/app/trust/IStrongAuthTracker.aidl",
92 "core/java/android/app/trust/ITrustManager.aidl",
93 "core/java/android/app/trust/ITrustListener.aidl",
94 "core/java/android/app/backup/IBackupManager.aidl",
95 "core/java/android/app/backup/IBackupObserver.aidl",
96 "core/java/android/app/backup/IBackupManagerMonitor.aidl",
97 "core/java/android/app/backup/IFullBackupRestoreObserver.aidl",
98 "core/java/android/app/backup/IRestoreObserver.aidl",
99 "core/java/android/app/backup/IRestoreSession.aidl",
100 "core/java/android/app/backup/ISelectBackupTransportCallback.aidl",
Jason Monk8f5f7ff2017-10-17 14:12:42 -0400101 "core/java/android/app/slice/ISliceManager.aidl",
Jason Monk74f5e362017-12-06 08:56:33 -0500102 "core/java/android/app/slice/ISliceListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800103 "core/java/android/app/timezone/ICallback.aidl",
104 "core/java/android/app/timezone/IRulesManager.aidl",
105 "core/java/android/app/usage/ICacheQuotaService.aidl",
106 "core/java/android/app/usage/IStorageStatsManager.aidl",
107 "core/java/android/app/usage/IUsageStatsManager.aidl",
108 ":libbluetooth-binder-aidl",
109 "core/java/android/content/IClipboard.aidl",
110 "core/java/android/content/IContentService.aidl",
111 "core/java/android/content/IIntentReceiver.aidl",
112 "core/java/android/content/IIntentSender.aidl",
113 "core/java/android/content/IOnPrimaryClipChangedListener.aidl",
114 "core/java/android/content/IRestrictionsManager.aidl",
115 "core/java/android/content/ISyncAdapter.aidl",
116 "core/java/android/content/ISyncContext.aidl",
117 "core/java/android/content/ISyncServiceAdapter.aidl",
118 "core/java/android/content/ISyncStatusObserver.aidl",
119 "core/java/android/content/om/IOverlayManager.aidl",
120 "core/java/android/content/pm/crossprofile/ICrossProfileApps.aidl",
121 "core/java/android/content/pm/IDexModuleRegisterCallback.aidl",
122 "core/java/android/content/pm/ILauncherApps.aidl",
123 "core/java/android/content/pm/IOnAppsChangedListener.aidl",
124 "core/java/android/content/pm/IOnPermissionsChangeListener.aidl",
125 "core/java/android/content/pm/IOtaDexopt.aidl",
126 "core/java/android/content/pm/IPackageDataObserver.aidl",
127 "core/java/android/content/pm/IPackageDeleteObserver.aidl",
128 "core/java/android/content/pm/IPackageDeleteObserver2.aidl",
129 "core/java/android/content/pm/IPackageInstallObserver2.aidl",
130 "core/java/android/content/pm/IPackageInstaller.aidl",
131 "core/java/android/content/pm/IPackageInstallerCallback.aidl",
132 "core/java/android/content/pm/IPackageInstallerSession.aidl",
133 "core/java/android/content/pm/IPackageManager.aidl",
134 ":libbinder_aidl",
135 "core/java/android/content/pm/IPackageMoveObserver.aidl",
136 "core/java/android/content/pm/IPackageStatsObserver.aidl",
137 "core/java/android/content/pm/IPinItemRequest.aidl",
138 "core/java/android/content/pm/IShortcutService.aidl",
Calin Juravle45f8b292017-11-07 18:49:43 -0800139 "core/java/android/content/pm/dex/IArtManager.aidl",
140 "core/java/android/content/pm/dex/ISnapshotRuntimeProfileCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800141 "core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl",
142 "core/java/android/database/IContentObserver.aidl",
143 ":libcamera_client_aidl",
144 ":libcamera_client_framework_aidl",
145 "core/java/android/hardware/IConsumerIrService.aidl",
146 "core/java/android/hardware/ISerialManager.aidl",
147 "core/java/android/hardware/display/IDisplayManager.aidl",
148 "core/java/android/hardware/display/IDisplayManagerCallback.aidl",
149 "core/java/android/hardware/display/IVirtualDisplayCallback.aidl",
150 "core/java/android/hardware/fingerprint/IFingerprintService.aidl",
151 "core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl",
152 "core/java/android/hardware/fingerprint/IFingerprintClientActiveCallback.aidl",
153 "core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl",
154 "core/java/android/hardware/hdmi/IHdmiControlCallback.aidl",
155 "core/java/android/hardware/hdmi/IHdmiControlService.aidl",
156 "core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl",
157 "core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl",
158 "core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl",
159 "core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl",
160 "core/java/android/hardware/hdmi/IHdmiRecordListener.aidl",
161 "core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl",
162 "core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl",
163 "core/java/android/hardware/input/IInputManager.aidl",
164 "core/java/android/hardware/input/IInputDevicesChangedListener.aidl",
165 "core/java/android/hardware/input/ITabletModeChangedListener.aidl",
166 "core/java/android/hardware/location/IActivityRecognitionHardware.aidl",
167 "core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl",
168 "core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl",
169 "core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl",
170 "core/java/android/hardware/location/IFusedLocationHardware.aidl",
171 "core/java/android/hardware/location/IFusedLocationHardwareSink.aidl",
172 "core/java/android/hardware/location/IGeofenceHardware.aidl",
173 "core/java/android/hardware/location/IGeofenceHardwareCallback.aidl",
174 "core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl",
175 "core/java/android/hardware/location/IContextHubCallback.aidl",
176 "core/java/android/hardware/location/IContextHubClient.aidl",
177 "core/java/android/hardware/location/IContextHubClientCallback.aidl",
178 "core/java/android/hardware/location/IContextHubService.aidl",
179 "core/java/android/hardware/location/IContextHubTransactionCallback.aidl",
180 "core/java/android/hardware/radio/IRadioService.aidl",
181 "core/java/android/hardware/radio/ITuner.aidl",
182 "core/java/android/hardware/radio/ITunerCallback.aidl",
183 "core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl",
184 "core/java/android/hardware/usb/IUsbManager.aidl",
185 "core/java/android/net/ICaptivePortal.aidl",
186 "core/java/android/net/IConnectivityManager.aidl",
187 "core/java/android/net/IIpConnectivityMetrics.aidl",
188 "core/java/android/net/IEthernetManager.aidl",
189 "core/java/android/net/IEthernetServiceListener.aidl",
190 "core/java/android/net/INetdEventCallback.aidl",
191 "core/java/android/net/IIpSecService.aidl",
192 "core/java/android/net/INetworkManagementEventObserver.aidl",
193 "core/java/android/net/INetworkPolicyListener.aidl",
194 "core/java/android/net/INetworkPolicyManager.aidl",
195 "core/java/android/net/INetworkRecommendationProvider.aidl",
196 "core/java/android/net/INetworkScoreCache.aidl",
197 "core/java/android/net/INetworkScoreService.aidl",
198 "core/java/android/net/INetworkStatsService.aidl",
199 "core/java/android/net/INetworkStatsSession.aidl",
200 "core/java/android/net/ITetheringStatsProvider.aidl",
201 "core/java/android/net/nsd/INsdManager.aidl",
202 "core/java/android/nfc/IAppCallback.aidl",
203 "core/java/android/nfc/INfcAdapter.aidl",
204 "core/java/android/nfc/INfcAdapterExtras.aidl",
205 "core/java/android/nfc/INfcTag.aidl",
206 "core/java/android/nfc/INfcCardEmulation.aidl",
207 "core/java/android/nfc/INfcFCardEmulation.aidl",
208 "core/java/android/nfc/INfcUnlockHandler.aidl",
209 "core/java/android/nfc/INfcDta.aidl",
210 "core/java/android/nfc/ITagRemovedCallback.aidl",
211 "core/java/android/os/IBatteryPropertiesListener.aidl",
212 "core/java/android/os/IBatteryPropertiesRegistrar.aidl",
213 "core/java/android/os/ICancellationSignal.aidl",
214 "core/java/android/os/IDeviceIdentifiersPolicyService.aidl",
215 "core/java/android/os/IDeviceIdleController.aidl",
216 "core/java/android/os/IHardwarePropertiesManager.aidl",
217 "core/java/android/os/IIncidentManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800218 "core/java/android/os/IIncidentReportStatusListener.aidl",
219 "core/java/android/os/IMaintenanceActivityListener.aidl",
220 "core/java/android/os/IMessenger.aidl",
221 "core/java/android/os/INetworkActivityListener.aidl",
222 "core/java/android/os/INetworkManagementService.aidl",
223 "core/java/android/os/IPermissionController.aidl",
224 "core/java/android/os/IProcessInfoService.aidl",
225 "core/java/android/os/IProgressListener.aidl",
226 "core/java/android/os/IPowerManager.aidl",
227 "core/java/android/os/IRecoverySystem.aidl",
228 "core/java/android/os/IRecoverySystemProgressListener.aidl",
229 "core/java/android/os/IRemoteCallback.aidl",
230 "core/java/android/os/ISchedulingPolicyService.aidl",
231 "core/java/android/os/IStatsCompanionService.aidl",
232 "core/java/android/os/IStatsManager.aidl",
233 "core/java/android/os/IThermalEventListener.aidl",
234 "core/java/android/os/IThermalService.aidl",
235 "core/java/android/os/IUpdateLock.aidl",
236 "core/java/android/os/IUserManager.aidl",
237 "core/java/android/os/IVibratorService.aidl",
238 "core/java/android/os/storage/IStorageManager.aidl",
239 "core/java/android/os/storage/IStorageEventListener.aidl",
240 "core/java/android/os/storage/IStorageShutdownObserver.aidl",
241 "core/java/android/os/storage/IObbActionListener.aidl",
242 "core/java/android/security/IKeystoreService.aidl",
243 "core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl",
244 "core/java/android/service/autofill/IAutoFillService.aidl",
245 "core/java/android/service/autofill/IFillCallback.aidl",
246 "core/java/android/service/autofill/ISaveCallback.aidl",
247 "core/java/android/service/carrier/ICarrierService.aidl",
248 "core/java/android/service/carrier/ICarrierMessagingCallback.aidl",
249 "core/java/android/service/carrier/ICarrierMessagingService.aidl",
250 "core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl",
251 "core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl",
252 "core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl",
253 "core/java/android/service/euicc/IEuiccService.aidl",
254 "core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl",
255 "core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl",
256 "core/java/android/service/euicc/IGetEidCallback.aidl",
257 "core/java/android/service/euicc/IGetEuiccInfoCallback.aidl",
258 "core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl",
Qingxi Li54058362017-12-13 15:13:02 -0800259 "core/java/android/service/euicc/IGetOtaStatusCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800260 "core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl",
261 "core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl",
262 "core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl",
263 "core/java/android/service/gatekeeper/IGateKeeperService.aidl",
264 "core/java/android/service/notification/INotificationListener.aidl",
265 "core/java/android/service/notification/IStatusBarNotificationHolder.aidl",
266 "core/java/android/service/notification/IConditionListener.aidl",
267 "core/java/android/service/notification/IConditionProvider.aidl",
268 "core/java/android/service/settings/suggestions/ISuggestionService.aidl",
269 "core/java/android/service/vr/IPersistentVrStateCallbacks.aidl",
270 "core/java/android/service/vr/IVrListener.aidl",
271 "core/java/android/service/vr/IVrManager.aidl",
272 "core/java/android/service/vr/IVrStateCallbacks.aidl",
273 "core/java/android/print/ILayoutResultCallback.aidl",
274 "core/java/android/print/IPrinterDiscoveryObserver.aidl",
275 "core/java/android/print/IPrintDocumentAdapter.aidl",
276 "core/java/android/print/IPrintDocumentAdapterObserver.aidl",
277 "core/java/android/print/IPrintJobStateChangeListener.aidl",
278 "core/java/android/print/IPrintServicesChangeListener.aidl",
279 "core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl",
280 "core/java/android/print/IPrintManager.aidl",
281 "core/java/android/print/IPrintSpooler.aidl",
282 "core/java/android/print/IPrintSpoolerCallbacks.aidl",
283 "core/java/android/print/IPrintSpoolerClient.aidl",
284 "core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl",
285 "core/java/android/printservice/recommendation/IRecommendationService.aidl",
286 "core/java/android/print/IWriteResultCallback.aidl",
287 "core/java/android/printservice/IPrintService.aidl",
288 "core/java/android/printservice/IPrintServiceClient.aidl",
289 "core/java/android/companion/ICompanionDeviceManager.aidl",
290 "core/java/android/companion/ICompanionDeviceDiscoveryService.aidl",
291 "core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl",
292 "core/java/android/companion/IFindDeviceCallback.aidl",
293 "core/java/android/service/dreams/IDreamManager.aidl",
294 "core/java/android/service/dreams/IDreamService.aidl",
295 "core/java/android/service/oemlock/IOemLockService.aidl",
296 "core/java/android/service/persistentdata/IPersistentDataBlockService.aidl",
297 "core/java/android/service/trust/ITrustAgentService.aidl",
298 "core/java/android/service/trust/ITrustAgentServiceCallback.aidl",
299 "core/java/android/service/voice/IVoiceInteractionService.aidl",
300 "core/java/android/service/voice/IVoiceInteractionSession.aidl",
301 "core/java/android/service/voice/IVoiceInteractionSessionService.aidl",
302 "core/java/android/service/wallpaper/IWallpaperConnection.aidl",
303 "core/java/android/service/wallpaper/IWallpaperEngine.aidl",
304 "core/java/android/service/wallpaper/IWallpaperService.aidl",
305 "core/java/android/service/chooser/IChooserTargetService.aidl",
306 "core/java/android/service/chooser/IChooserTargetResult.aidl",
307 "core/java/android/service/resolver/IResolverRankerService.aidl",
308 "core/java/android/service/resolver/IResolverRankerResult.aidl",
309 "core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl",
310 "core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl",
311 "core/java/android/view/accessibility/IAccessibilityManager.aidl",
312 "core/java/android/view/accessibility/IAccessibilityManagerClient.aidl",
313 "core/java/android/view/autofill/IAutoFillManager.aidl",
314 "core/java/android/view/autofill/IAutoFillManagerClient.aidl",
315 "core/java/android/view/autofill/IAutofillWindowPresenter.aidl",
316 "core/java/android/view/IApplicationToken.aidl",
317 "core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl",
318 "core/java/android/view/IDockedStackListener.aidl",
319 "core/java/android/view/IGraphicsStats.aidl",
320 "core/java/android/view/IGraphicsStatsCallback.aidl",
321 "core/java/android/view/IInputFilter.aidl",
322 "core/java/android/view/IInputFilterHost.aidl",
323 "core/java/android/view/IOnKeyguardExitResult.aidl",
324 "core/java/android/view/IPinnedStackController.aidl",
325 "core/java/android/view/IPinnedStackListener.aidl",
326 "core/java/android/view/IRotationWatcher.aidl",
327 "core/java/android/view/IWallpaperVisibilityListener.aidl",
328 "core/java/android/view/IWindow.aidl",
329 "core/java/android/view/IWindowFocusObserver.aidl",
330 "core/java/android/view/IWindowId.aidl",
331 "core/java/android/view/IWindowManager.aidl",
332 "core/java/android/view/IWindowSession.aidl",
333 "core/java/android/view/IWindowSessionCallback.aidl",
334 "core/java/android/webkit/IWebViewUpdateService.aidl",
335 "core/java/android/speech/IRecognitionListener.aidl",
336 "core/java/android/speech/IRecognitionService.aidl",
337 "core/java/android/speech/tts/ITextToSpeechCallback.aidl",
338 "core/java/android/speech/tts/ITextToSpeechService.aidl",
339 "core/java/com/android/internal/app/IAppOpsCallback.aidl",
340 "core/java/com/android/internal/app/IAppOpsService.aidl",
341 "core/java/com/android/internal/app/IBatteryStats.aidl",
342 "core/java/com/android/internal/app/ISoundTriggerService.aidl",
343 "core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl",
344 "core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl",
345 "core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl",
346 "core/java/com/android/internal/app/IVoiceInteractor.aidl",
347 "core/java/com/android/internal/app/IVoiceInteractorCallback.aidl",
348 "core/java/com/android/internal/app/IVoiceInteractorRequest.aidl",
349 "core/java/com/android/internal/app/IMediaContainerService.aidl",
350 "core/java/com/android/internal/app/procstats/IProcessStats.aidl",
351 "core/java/com/android/internal/appwidget/IAppWidgetService.aidl",
352 "core/java/com/android/internal/appwidget/IAppWidgetHost.aidl",
353 "core/java/com/android/internal/backup/IBackupTransport.aidl",
354 "core/java/com/android/internal/backup/IObbBackupService.aidl",
355 "core/java/com/android/internal/car/ICarServiceHelper.aidl",
356 "core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl",
357 "core/java/com/android/internal/net/INetworkWatchlistManager.aidl",
358 "core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl",
359 "core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl",
360 "core/java/com/android/internal/policy/IKeyguardExitCallback.aidl",
361 "core/java/com/android/internal/policy/IKeyguardService.aidl",
362 "core/java/com/android/internal/policy/IKeyguardStateCallback.aidl",
363 "core/java/com/android/internal/policy/IShortcutService.aidl",
364 "core/java/com/android/internal/os/IDropBoxManagerService.aidl",
365 "core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl",
366 "core/java/com/android/internal/os/IResultReceiver.aidl",
367 "core/java/com/android/internal/os/IShellCallback.aidl",
368 "core/java/com/android/internal/statusbar/IStatusBar.aidl",
369 "core/java/com/android/internal/statusbar/IStatusBarService.aidl",
370 "core/java/com/android/internal/textservice/ISpellCheckerService.aidl",
371 "core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl",
372 "core/java/com/android/internal/textservice/ISpellCheckerSession.aidl",
373 "core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl",
374 "core/java/com/android/internal/textservice/ITextServicesManager.aidl",
375 "core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl",
376 "core/java/com/android/internal/view/IDragAndDropPermissions.aidl",
377 "core/java/com/android/internal/view/IInputContext.aidl",
378 "core/java/com/android/internal/view/IInputContextCallback.aidl",
379 "core/java/com/android/internal/view/IInputMethod.aidl",
380 "core/java/com/android/internal/view/IInputMethodClient.aidl",
381 "core/java/com/android/internal/view/IInputMethodManager.aidl",
382 "core/java/com/android/internal/view/IInputMethodSession.aidl",
383 "core/java/com/android/internal/view/IInputSessionCallback.aidl",
384 "core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl",
385 "core/java/com/android/internal/widget/ILockSettings.aidl",
386 "core/java/com/android/internal/widget/IRemoteViewsFactory.aidl",
387 "keystore/java/android/security/IKeyChainAliasCallback.aidl",
388 "keystore/java/android/security/IKeyChainService.aidl",
389 "location/java/android/location/IBatchedLocationCallback.aidl",
390 "location/java/android/location/ICountryDetector.aidl",
391 "location/java/android/location/ICountryListener.aidl",
392 "location/java/android/location/IFusedProvider.aidl",
393 "location/java/android/location/IGeocodeProvider.aidl",
394 "location/java/android/location/IGeofenceProvider.aidl",
395 "location/java/android/location/IGnssStatusListener.aidl",
396 "location/java/android/location/IGnssStatusProvider.aidl",
397 "location/java/android/location/IGnssMeasurementsListener.aidl",
398 "location/java/android/location/IGnssNavigationMessageListener.aidl",
399 "location/java/android/location/ILocationListener.aidl",
400 "location/java/android/location/ILocationManager.aidl",
401 "location/java/android/location/IFusedGeofenceHardware.aidl",
402 "location/java/android/location/IGpsGeofenceHardware.aidl",
403 "location/java/android/location/INetInitiatedListener.aidl",
404 "location/java/com/android/internal/location/ILocationProvider.aidl",
405 "media/java/android/media/IAudioService.aidl",
406 "media/java/android/media/IAudioFocusDispatcher.aidl",
407 "media/java/android/media/IAudioRoutesObserver.aidl",
408 "media/java/android/media/IMediaHTTPConnection.aidl",
409 "media/java/android/media/IMediaHTTPService.aidl",
410 "media/java/android/media/IMediaResourceMonitor.aidl",
411 "media/java/android/media/IMediaRouterClient.aidl",
412 "media/java/android/media/IMediaRouterService.aidl",
413 "media/java/android/media/IMediaScannerListener.aidl",
414 "media/java/android/media/IMediaScannerService.aidl",
415 "media/java/android/media/IPlaybackConfigDispatcher.aidl",
416 ":libaudioclient_aidl",
417 "media/java/android/media/IRecordingConfigDispatcher.aidl",
418 "media/java/android/media/IRemoteDisplayCallback.aidl",
419 "media/java/android/media/IRemoteDisplayProvider.aidl",
420 "media/java/android/media/IRemoteVolumeController.aidl",
421 "media/java/android/media/IRemoteVolumeObserver.aidl",
422 "media/java/android/media/IRingtonePlayer.aidl",
423 "media/java/android/media/IVolumeController.aidl",
424 "media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl",
425 "media/java/android/media/midi/IBluetoothMidiService.aidl",
426 "media/java/android/media/midi/IMidiDeviceListener.aidl",
427 "media/java/android/media/midi/IMidiDeviceOpenCallback.aidl",
428 "media/java/android/media/midi/IMidiDeviceServer.aidl",
429 "media/java/android/media/midi/IMidiManager.aidl",
430 "media/java/android/media/projection/IMediaProjection.aidl",
431 "media/java/android/media/projection/IMediaProjectionCallback.aidl",
432 "media/java/android/media/projection/IMediaProjectionManager.aidl",
433 "media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl",
434 "media/java/android/media/session/IActiveSessionsListener.aidl",
435 "media/java/android/media/session/ICallback.aidl",
436 "media/java/android/media/session/IOnMediaKeyListener.aidl",
437 "media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl",
438 "media/java/android/media/session/ISession.aidl",
439 "media/java/android/media/session/ISessionCallback.aidl",
440 "media/java/android/media/session/ISessionController.aidl",
441 "media/java/android/media/session/ISessionControllerCallback.aidl",
442 "media/java/android/media/session/ISessionManager.aidl",
443 "media/java/android/media/tv/ITvInputClient.aidl",
444 "media/java/android/media/tv/ITvInputHardware.aidl",
445 "media/java/android/media/tv/ITvInputHardwareCallback.aidl",
446 "media/java/android/media/tv/ITvInputManager.aidl",
447 "media/java/android/media/tv/ITvInputManagerCallback.aidl",
448 "media/java/android/media/tv/ITvInputService.aidl",
449 "media/java/android/media/tv/ITvInputServiceCallback.aidl",
450 "media/java/android/media/tv/ITvInputSession.aidl",
451 "media/java/android/media/tv/ITvInputSessionCallback.aidl",
452 "media/java/android/media/tv/ITvRemoteProvider.aidl",
453 "media/java/android/media/tv/ITvRemoteServiceInput.aidl",
454 "media/java/android/service/media/IMediaBrowserService.aidl",
455 "media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl",
456 "telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl",
457 "telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl",
458 "telecomm/java/com/android/internal/telecom/IVideoCallback.aidl",
459 "telecomm/java/com/android/internal/telecom/IVideoProvider.aidl",
460 "telecomm/java/com/android/internal/telecom/IConnectionService.aidl",
461 "telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl",
462 "telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl",
463 "telecomm/java/com/android/internal/telecom/IInCallService.aidl",
464 "telecomm/java/com/android/internal/telecom/ITelecomService.aidl",
465 "telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl",
Brad Ebingerea8fd1b2017-11-28 19:15:47 -0800466 "telephony/java/android/telephony/ims/internal/aidl/IImsCallSessionListener.aidl",
467 "telephony/java/android/telephony/ims/internal/aidl/IImsCapabilityCallback.aidl",
468 "telephony/java/android/telephony/ims/internal/aidl/IImsConfig.aidl",
469 "telephony/java/android/telephony/ims/internal/aidl/IImsConfigCallback.aidl",
470 "telephony/java/android/telephony/ims/internal/aidl/IImsMmTelFeature.aidl",
471 "telephony/java/android/telephony/ims/internal/aidl/IImsMmTelListener.aidl",
472 "telephony/java/android/telephony/ims/internal/aidl/IImsRcsFeature.aidl",
473 "telephony/java/android/telephony/ims/internal/aidl/IImsRegistration.aidl",
474 "telephony/java/android/telephony/ims/internal/aidl/IImsRegistrationCallback.aidl",
475 "telephony/java/android/telephony/ims/internal/aidl/IImsServiceController.aidl",
476 "telephony/java/android/telephony/ims/internal/aidl/IImsServiceControllerListener.aidl",
Brad Ebingerb2a83cf2017-11-28 19:15:47 -0800477 "telephony/java/android/telephony/ims/internal/aidl/IImsSmsListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800478 "telephony/java/android/telephony/mbms/IMbmsDownloadSessionCallback.aidl",
479 "telephony/java/android/telephony/mbms/IMbmsStreamingSessionCallback.aidl",
480 "telephony/java/android/telephony/mbms/IDownloadStateCallback.aidl",
481 "telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl",
482 "telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl",
483 "telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl",
484 "telephony/java/com/android/ims/internal/IImsCallSession.aidl",
485 "telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl",
486 "telephony/java/com/android/ims/internal/IImsConfig.aidl",
487 "telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl",
488 "telephony/java/com/android/ims/internal/IImsEcbm.aidl",
489 "telephony/java/com/android/ims/internal/IImsEcbmListener.aidl",
490 "telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl",
491 "telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl",
492 "telephony/java/com/android/ims/internal/IImsMMTelFeature.aidl",
493 "telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl",
494 "telephony/java/com/android/ims/internal/IImsRcsFeature.aidl",
495 "telephony/java/com/android/ims/internal/IImsService.aidl",
496 "telephony/java/com/android/ims/internal/IImsServiceController.aidl",
497 "telephony/java/com/android/ims/internal/IImsServiceFeatureCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800498 "telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl",
499 "telephony/java/com/android/ims/internal/IImsUt.aidl",
500 "telephony/java/com/android/ims/internal/IImsUtListener.aidl",
501 "telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl",
502 "telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800503 "telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl",
504 "telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl",
505 "telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl",
506 "telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl",
507 "telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl",
508 "telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl",
509 "telephony/java/com/android/ims/ImsConfigListener.aidl",
510 "telephony/java/com/android/internal/telephony/IApnSourceService.aidl",
511 "telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl",
512 "telephony/java/com/android/internal/telephony/IMms.aidl",
513 "telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl",
514 "telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl",
515 "telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl",
516 "telephony/java/com/android/internal/telephony/ISms.aidl",
517 "telephony/java/com/android/internal/telephony/ISub.aidl",
518 "telephony/java/com/android/internal/telephony/ITelephony.aidl",
519 "telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl",
520 "telephony/java/com/android/internal/telephony/IWapPushManager.aidl",
521 "telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl",
522 "wifi/java/android/net/wifi/IWifiManager.aidl",
523 "wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl",
524 "wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl",
525 "wifi/java/android/net/wifi/aware/IWifiAwareMacAddressProvider.aidl",
526 "wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl",
527 "wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl",
528 "wifi/java/android/net/wifi/rtt/IRttCallback.aidl",
529 "wifi/java/android/net/wifi/rtt/IWifiRttManager.aidl",
530 "wifi/java/android/net/wifi/hotspot2/IProvisioningCallback.aidl",
531 "wifi/java/android/net/wifi/IWifiScanner.aidl",
532 "wifi/java/android/net/wifi/IRttManager.aidl",
533 "packages/services/PacProcessor/com/android/net/IProxyService.aidl",
534 "packages/services/Proxy/com/android/net/IProxyCallback.aidl",
535 "packages/services/Proxy/com/android/net/IProxyPortListener.aidl",
536 "core/java/android/service/quicksettings/IQSService.aidl",
537 "core/java/android/service/quicksettings/IQSTileService.aidl",
538
539 ":libupdate_engine_aidl",
540
541 ":storaged_aidl",
542 ":netd_aidl",
543 ":vold_aidl",
544 ":installd_aidl",
545
546 "lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl",
547 "lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl",
548 "lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl",
549 "lowpan/java/android/net/lowpan/ILowpanInterface.aidl",
550 "lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl",
551 "lowpan/java/android/net/lowpan/ILowpanManager.aidl",
552
553 "core/java/android/app/admin/SecurityLogTags.logtags",
554 "core/java/android/content/EventLogTags.logtags",
555 "core/java/android/speech/tts/EventLogTags.logtags",
556 "core/java/android/net/EventLogTags.logtags",
557 "core/java/android/webkit/EventLogTags.logtags",
558 "core/java/com/android/internal/logging/EventLogTags.logtags",
Siyuan Zhoubafcd7b2017-12-04 13:02:11 -0800559 "core/java/com/android/server/DropboxLogTags.logtags",
Ricardo Quesadaab086c52017-12-11 11:26:53 -0800560 "core/java/org/chromium/arc/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800561
562 ":framework-statslog-gen",
563 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800564
565 aidl: {
Colin Cross4eb07842017-12-14 15:18:42 -0800566 export_include_dirs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800567 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
568 "core/java",
569 "graphics/java",
570 "location/java",
571 "lowpan/java",
572 "media/java",
573 "media/mca/effect/java",
574 "media/mca/filterfw/java",
575 "media/mca/filterpacks/java",
576 "drm/java",
577 "opengl/java",
578 "sax/java",
579 "telecomm/java",
580 "telephony/java",
581 "wifi/java",
582 "keystore/java",
583 "rs/java",
584 ],
585
586 include_dirs: [
587 "system/update_engine/binder_bindings",
588 "frameworks/native/aidl/binder",
589 "frameworks/av/camera/aidl",
590 "frameworks/av/media/libaudioclient/aidl",
591 "frameworks/native/aidl/gui",
592 "system/core/storaged/binder",
593 "system/netd/server/binder",
594 "system/vold/binder",
595 "system/bt/binder",
596 ],
597 },
598
599 no_framework_libs: true,
600 libs: [
601 "conscrypt",
602 "okhttp",
603 "bouncycastle",
604 "ext",
605 ],
606
607 static_libs: [
608 "framework-protos",
609 "android.hidl.base-V1.0-java",
610 "android.hardware.cas-V1.0-java",
611 "android.hardware.contexthub-V1.0-java",
612 "android.hardware.health-V1.0-java-constants",
613 "android.hardware.thermal-V1.0-java-constants",
614 "android.hardware.tv.input-V1.0-java-constants",
615 "android.hardware.usb-V1.0-java-constants",
616 "android.hardware.usb-V1.1-java-constants",
617 "android.hardware.vibrator-V1.0-java-constants",
618 "android.hardware.vibrator-V1.1-java-constants",
619 "android.hardware.wifi-V1.0-java-constants",
620 ],
621
622 // Loaded with System.loadLibrary by android.view.textclassifier
623 required: ["libtextclassifier"],
624
625 javac_shard_size: 150,
626
627 dxflags: [
628 "--core-library",
629 "--multi-dex",
630 ],
631}
632
633genrule {
634 name: "framework-statslog-gen",
635 tools: ["stats-log-api-gen"],
636 cmd: "$(location stats-log-api-gen) --java $(out)",
David Chen0a368b22017-12-06 16:28:16 -0800637 out: ["android/util/StatsLogInternal.java"],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800638}
639
640gensrcs {
641 name: "framework-javastream-protos",
642 depfile: true,
643
644 tools: [
645 "aprotoc",
646 "protoc-gen-javastream",
647 "soong_zip",
648 ],
649
Colin Cross6471db92017-12-04 16:02:10 -0800650 cmd: "mkdir -p $(genDir)/$(in) " +
Colin Crosscf3a0b52017-11-16 00:15:28 -0800651 "&& $(location aprotoc) " +
Colin Cross6471db92017-12-04 16:02:10 -0800652 " --plugin=$(location protoc-gen-javastream) " +
Colin Crosscf3a0b52017-11-16 00:15:28 -0800653 " --dependency_out=$(depfile) " +
654 " --javastream_out=$(genDir)/$(in) " +
655 " -Iexternal/protobuf/src " +
656 " -I . " +
657 " $(in) " +
658 "&& $(location soong_zip) -jar -o $(out) -C $(genDir)/$(in) -D $(genDir)/$(in)",
659
660 srcs: ["core/proto/**/*.proto"],
661 output_extension: "srcjar",
662}
663
Colin Crossd8e02252017-10-02 17:14:22 -0700664// Build ext.jar
665// ============================================================
666java_library {
667 name: "ext",
668 no_framework_libs: true,
669 static_libs: [
670 "libphonenumber-platform",
671 "nist-sip",
672 "tagsoup",
Ricky Wai0d1bc332017-10-31 14:31:01 +0000673 "rappor",
Colin Crossd8e02252017-10-02 17:14:22 -0700674 ],
675 dxflags: ["--core-library"],
676}
677
Colin Crossaa0d4352017-05-02 14:14:56 -0700678// ==== c++ proto device library ==============================
679cc_library {
680 name: "libplatformprotos",
681 host_supported: true,
Colin Crossaa0d4352017-05-02 14:14:56 -0700682 proto: {
683 export_proto_headers: true,
684 include_dirs: ["external/protobuf/src"],
685 },
686
Chih-Hung Hsiehc7edf072017-10-03 09:57:55 -0700687 cflags: [
688 "-Wall",
689 "-Werror",
690 "-Wno-unused-parameter",
691 ],
Joe Onorato62c220b2017-11-18 20:32:56 -0800692
693 srcs: [
694 "core/proto/**/*.proto",
695 "libs/incident/**/*.proto",
Joe Onorato62c220b2017-11-18 20:32:56 -0800696 ],
697
Colin Crossaa0d4352017-05-02 14:14:56 -0700698 target: {
699 host: {
700 proto: {
701 type: "full",
702 },
703 },
704 android: {
705 proto: {
706 type: "lite",
707 },
708 shared: {
Colin Crossaa0d4352017-05-02 14:14:56 -0700709 enabled: false,
710 },
711 },
712 },
Colin Crossaa0d4352017-05-02 14:14:56 -0700713}
714
Yi Jin04625ad2017-10-17 18:29:33 -0700715gensrcs {
716 name: "gen-platform-proto-constants",
717 depfile: true,
718
719 tools: [
720 "aprotoc",
721 "protoc-gen-cppstream",
722 ],
723
724 srcs: [
Yi Jin0eb22342017-11-06 17:17:27 -0800725 "core/proto/android/os/cpufreq.proto",
Yi Jine2f7f792017-11-01 17:08:27 -0700726 "core/proto/android/os/cpuinfo.proto",
Yi Jin04625ad2017-10-17 18:29:33 -0700727 "core/proto/android/os/kernelwake.proto",
728 "core/proto/android/os/pagetypeinfo.proto",
729 "core/proto/android/os/procrank.proto",
Yi Jin0dfa7522017-11-06 17:43:47 -0800730 "core/proto/android/os/system_properties.proto",
Yi Jin04625ad2017-10-17 18:29:33 -0700731 ],
732
733 // Append protoc-gen-cppstream tool's PATH otherwise aprotoc can't find the plugin tool
734 cmd: "PATH=$$PATH:$$(dirname $(location protoc-gen-cppstream)) $(location aprotoc) --plugin=protoc-gen-cpp-stream=$(location protoc-gen-cppstream) --dependency_out=$(depfile) --cppstream_out=$(genDir)/ -Iexternal/protobuf/src -I . $(in)",
735
736 output_extension = "proto.h",
737}
738
Dan Albert2a8d9c22016-09-23 15:55:49 -0700739subdirs = [
Yi Jin0a3406f2017-06-22 19:23:11 -0700740 "cmds/*",
Jeff Sharkey0c686e72017-10-23 16:04:31 -0600741 "core/*",
Colin Cross4f8d9e62016-12-01 15:55:00 -0800742 "libs/*",
Colin Cross76de4f62017-05-15 18:10:40 -0700743 "media/*",
Colin Cross747e7c12017-10-24 16:21:22 -0700744 "proto",
Fabien Sanglard19160202017-01-12 14:24:31 -0500745 "tools/*",
Dan Albert2a8d9c22016-09-23 15:55:49 -0700746 "native/android",
Dan Albert7ce8df32016-09-23 16:43:49 -0700747 "native/graphics/jni",
Dan Albert2a8d9c22016-09-23 15:55:49 -0700748]
Svetoslav Ganov74c99832016-12-05 20:07:20 -0800749
750optional_subdirs = [
751 "core/tests/utiltests/jni",
752]
Steven Morelandeddafe92017-10-02 16:58:41 -0700753
754java_library {
755 name: "hwbinder",
756 no_framework_libs: true,
757
758 srcs: [
759 "core/java/android/os/HidlSupport.java",
760 "core/java/android/annotation/NonNull.java",
761 "core/java/android/os/HwBinder.java",
762 "core/java/android/os/HwBlob.java",
763 "core/java/android/os/HwParcel.java",
764 "core/java/android/os/IHwBinder.java",
765 "core/java/android/os/IHwInterface.java",
766 "core/java/android/os/DeadObjectException.java",
767 "core/java/android/os/DeadSystemException.java",
768 "core/java/android/os/RemoteException.java",
769 "core/java/android/util/AndroidException.java",
770 ],
771
772 dxflags: ["--core-library"],
773 installable: false,
774}
Nan Zhang2db709d2017-11-08 20:48:46 -0800775
776python_defaults {
777 name: "base_default",
778 version: {
779 py2: {
780 enabled: true,
781 embedded_launcher: true,
782 },
783 py3: {
784 enabled: false,
785 embedded_launcher: false,
786 },
787 },
788}
789
790python_binary_host {
791 name: "fontchain_linter",
792 defaults: ["base_default"],
793 main: "tools/fonts/fontchain_linter.py",
794 srcs: [
795 "tools/fonts/fontchain_linter.py",
796 ],
797 libs: [
798 "fontTools",
799 ],
800}