| // Copyright (C) 2016 The Android Open Source Project |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| // Build the master framework library. |
| |
| // READ ME: ######################################################## |
| // |
| // When updating this list of aidl files, consider if that aidl is |
| // part of the SDK API. If it is, also add it to the list in Android.mk |
| // that is preprocessed and distributed with the SDK. This list should |
| // not contain any aidl files for parcelables, but the one below should |
| // if you intend for 3rd parties to be able to send those objects |
| // across process boundaries. |
| // |
| // READ ME: ######################################################## |
| |
| java_library { |
| name: "framework", |
| |
| srcs: [ |
| // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS |
| "core/java/**/*.java", |
| "graphics/java/**/*.java", |
| "location/java/**/*.java", |
| "lowpan/java/**/*.java", |
| "media/java/**/*.java", |
| "media/mca/effect/java/**/*.java", |
| "media/mca/filterfw/java/**/*.java", |
| "media/mca/filterpacks/java/**/*.java", |
| "drm/java/**/*.java", |
| "opengl/java/**/*.java", |
| "sax/java/**/*.java", |
| "telecomm/java/**/*.java", |
| "telephony/java/**/*.java", |
| "wifi/java/**/*.java", |
| "keystore/java/**/*.java", |
| "rs/java/**/*.java", |
| |
| ":framework-javastream-protos", |
| |
| "core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl", |
| "core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl", |
| "core/java/android/accounts/IAccountManager.aidl", |
| "core/java/android/accounts/IAccountManagerResponse.aidl", |
| "core/java/android/accounts/IAccountAuthenticator.aidl", |
| "core/java/android/accounts/IAccountAuthenticatorResponse.aidl", |
| "core/java/android/app/IActivityController.aidl", |
| "core/java/android/app/IActivityManager.aidl", |
| "core/java/android/app/IActivityPendingResult.aidl", |
| "core/java/android/app/IAlarmCompleteListener.aidl", |
| "core/java/android/app/IAlarmListener.aidl", |
| "core/java/android/app/IAlarmManager.aidl", |
| "core/java/android/app/IAppTask.aidl", |
| "core/java/android/app/IApplicationThread.aidl", |
| "core/java/android/app/ITaskStackListener.aidl", |
| "core/java/android/app/IBackupAgent.aidl", |
| "core/java/android/app/IEphemeralResolver.aidl", |
| "core/java/android/app/IInputForwarder.aidl", |
| "core/java/android/app/IInstantAppResolver.aidl", |
| "core/java/android/app/IInstrumentationWatcher.aidl", |
| "core/java/android/app/INotificationManager.aidl", |
| "core/java/android/app/IProcessObserver.aidl", |
| "core/java/android/app/ISearchManager.aidl", |
| "core/java/android/app/ISearchManagerCallback.aidl", |
| "core/java/android/app/IServiceConnection.aidl", |
| "core/java/android/app/IStopUserCallback.aidl", |
| "core/java/android/app/job/IJobCallback.aidl", |
| "core/java/android/app/job/IJobScheduler.aidl", |
| "core/java/android/app/job/IJobService.aidl", |
| "core/java/android/app/ITransientNotification.aidl", |
| "core/java/android/app/IUidObserver.aidl", |
| "core/java/android/app/IUiAutomationConnection.aidl", |
| "core/java/android/app/IUiModeManager.aidl", |
| "core/java/android/app/IUserSwitchObserver.aidl", |
| "core/java/android/app/IWallpaperManager.aidl", |
| "core/java/android/app/IWallpaperManagerCallback.aidl", |
| "core/java/android/app/admin/IDeviceAdminService.aidl", |
| "core/java/android/app/admin/IDevicePolicyManager.aidl", |
| "core/java/android/app/trust/IStrongAuthTracker.aidl", |
| "core/java/android/app/trust/ITrustManager.aidl", |
| "core/java/android/app/trust/ITrustListener.aidl", |
| "core/java/android/app/backup/IBackupManager.aidl", |
| "core/java/android/app/backup/IBackupObserver.aidl", |
| "core/java/android/app/backup/IBackupManagerMonitor.aidl", |
| "core/java/android/app/backup/IFullBackupRestoreObserver.aidl", |
| "core/java/android/app/backup/IRestoreObserver.aidl", |
| "core/java/android/app/backup/IRestoreSession.aidl", |
| "core/java/android/app/backup/ISelectBackupTransportCallback.aidl", |
| "core/java/android/app/timedetector/ITimeDetectorService.aidl", |
| "core/java/android/app/timezone/ICallback.aidl", |
| "core/java/android/app/timezone/IRulesManager.aidl", |
| "core/java/android/app/timezonedetector/ITimeZoneDetectorService.aidl", |
| "core/java/android/app/usage/ICacheQuotaService.aidl", |
| "core/java/android/app/usage/IStorageStatsManager.aidl", |
| "core/java/android/app/usage/IUsageStatsManager.aidl", |
| ":libbluetooth-binder-aidl", |
| "core/java/android/content/IClipboard.aidl", |
| "core/java/android/content/IContentService.aidl", |
| "core/java/android/content/IIntentReceiver.aidl", |
| "core/java/android/content/IIntentSender.aidl", |
| "core/java/android/content/IOnPrimaryClipChangedListener.aidl", |
| "core/java/android/content/IRestrictionsManager.aidl", |
| "core/java/android/content/ISyncAdapter.aidl", |
| "core/java/android/content/ISyncContext.aidl", |
| "core/java/android/content/ISyncServiceAdapter.aidl", |
| "core/java/android/content/ISyncStatusObserver.aidl", |
| "core/java/android/content/om/IOverlayManager.aidl", |
| "core/java/android/content/pm/IDexModuleRegisterCallback.aidl", |
| "core/java/android/content/pm/ILauncherApps.aidl", |
| "core/java/android/content/pm/IOnAppsChangedListener.aidl", |
| "core/java/android/content/pm/IOnPermissionsChangeListener.aidl", |
| "core/java/android/content/pm/IOtaDexopt.aidl", |
| "core/java/android/content/pm/IPackageDataObserver.aidl", |
| "core/java/android/content/pm/IPackageDeleteObserver.aidl", |
| "core/java/android/content/pm/IPackageDeleteObserver2.aidl", |
| "core/java/android/content/pm/IPackageInstallObserver.aidl", |
| "core/java/android/content/pm/IPackageInstallObserver2.aidl", |
| "core/java/android/content/pm/IPackageInstaller.aidl", |
| "core/java/android/content/pm/IPackageInstallerCallback.aidl", |
| "core/java/android/content/pm/IPackageInstallerSession.aidl", |
| "core/java/android/content/pm/IPackageManager.aidl", |
| ":libbinder_aidl", |
| "core/java/android/content/pm/IPackageMoveObserver.aidl", |
| "core/java/android/content/pm/IPackageStatsObserver.aidl", |
| "core/java/android/content/pm/IPinItemRequest.aidl", |
| "core/java/android/content/pm/IShortcutService.aidl", |
| "core/java/android/content/pm/dex/IArtManager.aidl", |
| "core/java/android/content/pm/dex/ISnapshotRuntimeProfileCallback.aidl", |
| "core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl", |
| "core/java/android/database/IContentObserver.aidl", |
| ":libcamera_client_aidl", |
| ":libcamera_client_framework_aidl", |
| "core/java/android/hardware/IConsumerIrService.aidl", |
| "core/java/android/hardware/ISerialManager.aidl", |
| "core/java/android/hardware/display/IDisplayManager.aidl", |
| "core/java/android/hardware/display/IDisplayManagerCallback.aidl", |
| "core/java/android/hardware/display/IVirtualDisplayCallback.aidl", |
| "core/java/android/hardware/fingerprint/IFingerprintService.aidl", |
| "core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl", |
| "core/java/android/hardware/fingerprint/IFingerprintClientActiveCallback.aidl", |
| "core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl", |
| "core/java/android/hardware/hdmi/IHdmiControlCallback.aidl", |
| "core/java/android/hardware/hdmi/IHdmiControlService.aidl", |
| "core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl", |
| "core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl", |
| "core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl", |
| "core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl", |
| "core/java/android/hardware/hdmi/IHdmiRecordListener.aidl", |
| "core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl", |
| "core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl", |
| "core/java/android/hardware/input/IInputManager.aidl", |
| "core/java/android/hardware/input/IInputDevicesChangedListener.aidl", |
| "core/java/android/hardware/input/ITabletModeChangedListener.aidl", |
| "core/java/android/hardware/location/IActivityRecognitionHardware.aidl", |
| "core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl", |
| "core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl", |
| "core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl", |
| "core/java/android/hardware/location/IGeofenceHardware.aidl", |
| "core/java/android/hardware/location/IGeofenceHardwareCallback.aidl", |
| "core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl", |
| "core/java/android/hardware/location/IContextHubCallback.aidl", |
| "core/java/android/hardware/location/IContextHubService.aidl", |
| "core/java/android/hardware/radio/IRadioService.aidl", |
| "core/java/android/hardware/radio/ITuner.aidl", |
| "core/java/android/hardware/radio/ITunerCallback.aidl", |
| "core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl", |
| "core/java/android/hardware/usb/IUsbManager.aidl", |
| "core/java/android/net/ICaptivePortal.aidl", |
| "core/java/android/net/IConnectivityManager.aidl", |
| "core/java/android/net/IIpConnectivityMetrics.aidl", |
| "core/java/android/net/IEthernetManager.aidl", |
| "core/java/android/net/IEthernetServiceListener.aidl", |
| "core/java/android/net/INetdEventCallback.aidl", |
| "core/java/android/net/IIpSecService.aidl", |
| "core/java/android/net/INetworkManagementEventObserver.aidl", |
| "core/java/android/net/INetworkPolicyListener.aidl", |
| "core/java/android/net/INetworkPolicyManager.aidl", |
| "core/java/android/net/INetworkRecommendationProvider.aidl", |
| "core/java/android/net/INetworkScoreCache.aidl", |
| "core/java/android/net/INetworkScoreService.aidl", |
| "core/java/android/net/INetworkStatsService.aidl", |
| "core/java/android/net/INetworkStatsSession.aidl", |
| "core/java/android/net/ITetheringStatsProvider.aidl", |
| "core/java/android/net/nsd/INsdManager.aidl", |
| "core/java/android/nfc/IAppCallback.aidl", |
| "core/java/android/nfc/INfcAdapter.aidl", |
| "core/java/android/nfc/INfcAdapterExtras.aidl", |
| "core/java/android/nfc/INfcTag.aidl", |
| "core/java/android/nfc/INfcCardEmulation.aidl", |
| "core/java/android/nfc/INfcFCardEmulation.aidl", |
| "core/java/android/nfc/INfcUnlockHandler.aidl", |
| "core/java/android/nfc/INfcDta.aidl", |
| "core/java/android/nfc/ITagRemovedCallback.aidl", |
| "core/java/android/se/omapi/ISecureElementService.aidl", |
| "core/java/android/se/omapi/ISecureElementListener.aidl", |
| "core/java/android/se/omapi/ISecureElementChannel.aidl", |
| "core/java/android/se/omapi/ISecureElementReader.aidl", |
| "core/java/android/se/omapi/ISecureElementSession.aidl", |
| "core/java/android/os/IBatteryPropertiesListener.aidl", |
| "core/java/android/os/IBatteryPropertiesRegistrar.aidl", |
| "core/java/android/os/ICancellationSignal.aidl", |
| "core/java/android/os/IDeviceIdentifiersPolicyService.aidl", |
| "core/java/android/os/IDeviceIdleController.aidl", |
| "core/java/android/os/IHardwarePropertiesManager.aidl", |
| "core/java/android/os/IIncidentManager.aidl", |
| "core/java/android/os/IIncidentReportCompletedListener.aidl", |
| "core/java/android/os/IIncidentReportStatusListener.aidl", |
| "core/java/android/os/IMaintenanceActivityListener.aidl", |
| "core/java/android/os/IMessenger.aidl", |
| "core/java/android/os/INetworkActivityListener.aidl", |
| "core/java/android/os/INetworkManagementService.aidl", |
| "core/java/android/os/IPermissionController.aidl", |
| "core/java/android/os/IProcessInfoService.aidl", |
| "core/java/android/os/IProgressListener.aidl", |
| "core/java/android/os/IPowerManager.aidl", |
| "core/java/android/os/IRecoverySystem.aidl", |
| "core/java/android/os/IRecoverySystemProgressListener.aidl", |
| "core/java/android/os/IRemoteCallback.aidl", |
| "core/java/android/os/ISchedulingPolicyService.aidl", |
| "core/java/android/os/IThermalEventListener.aidl", |
| "core/java/android/os/IThermalService.aidl", |
| "core/java/android/os/IUpdateLock.aidl", |
| "core/java/android/os/IUserManager.aidl", |
| "core/java/android/os/IVibratorService.aidl", |
| "core/java/android/os/storage/IStorageManager.aidl", |
| "core/java/android/os/storage/IStorageEventListener.aidl", |
| "core/java/android/os/storage/IStorageShutdownObserver.aidl", |
| "core/java/android/os/storage/IObbActionListener.aidl", |
| "core/java/android/security/IKeystoreService.aidl", |
| "core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl", |
| "core/java/android/service/autofill/IAutoFillService.aidl", |
| "core/java/android/service/autofill/IFillCallback.aidl", |
| "core/java/android/service/autofill/ISaveCallback.aidl", |
| "core/java/android/service/carrier/ICarrierService.aidl", |
| "core/java/android/service/carrier/ICarrierMessagingCallback.aidl", |
| "core/java/android/service/carrier/ICarrierMessagingService.aidl", |
| "core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl", |
| "core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl", |
| "core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl", |
| "core/java/android/service/euicc/IEuiccService.aidl", |
| "core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl", |
| "core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl", |
| "core/java/android/service/euicc/IGetEidCallback.aidl", |
| "core/java/android/service/euicc/IGetEuiccInfoCallback.aidl", |
| "core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl", |
| "core/java/android/service/euicc/IGetOtaStatusCallback.aidl", |
| "core/java/android/service/euicc/IOtaStatusChangedCallback.aidl", |
| "core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl", |
| "core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl", |
| "core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl", |
| "core/java/android/service/gatekeeper/IGateKeeperService.aidl", |
| "core/java/android/service/notification/INotificationListener.aidl", |
| "core/java/android/service/notification/IStatusBarNotificationHolder.aidl", |
| "core/java/android/service/notification/IConditionListener.aidl", |
| "core/java/android/service/notification/IConditionProvider.aidl", |
| "core/java/android/service/vr/IPersistentVrStateCallbacks.aidl", |
| "core/java/android/service/vr/IVrListener.aidl", |
| "core/java/android/service/vr/IVrManager.aidl", |
| "core/java/android/service/vr/IVrStateCallbacks.aidl", |
| "core/java/android/print/ILayoutResultCallback.aidl", |
| "core/java/android/print/IPrinterDiscoveryObserver.aidl", |
| "core/java/android/print/IPrintDocumentAdapter.aidl", |
| "core/java/android/print/IPrintDocumentAdapterObserver.aidl", |
| "core/java/android/print/IPrintJobStateChangeListener.aidl", |
| "core/java/android/print/IPrintServicesChangeListener.aidl", |
| "core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl", |
| "core/java/android/print/IPrintManager.aidl", |
| "core/java/android/print/IPrintSpooler.aidl", |
| "core/java/android/print/IPrintSpoolerCallbacks.aidl", |
| "core/java/android/print/IPrintSpoolerClient.aidl", |
| "core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl", |
| "core/java/android/printservice/recommendation/IRecommendationService.aidl", |
| "core/java/android/print/IWriteResultCallback.aidl", |
| "core/java/android/printservice/IPrintService.aidl", |
| "core/java/android/printservice/IPrintServiceClient.aidl", |
| "core/java/android/companion/ICompanionDeviceManager.aidl", |
| "core/java/android/companion/ICompanionDeviceDiscoveryService.aidl", |
| "core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl", |
| "core/java/android/companion/IFindDeviceCallback.aidl", |
| "core/java/android/service/dreams/IDreamManager.aidl", |
| "core/java/android/service/dreams/IDreamService.aidl", |
| "core/java/android/service/oemlock/IOemLockService.aidl", |
| "core/java/android/service/persistentdata/IPersistentDataBlockService.aidl", |
| "core/java/android/service/trust/ITrustAgentService.aidl", |
| "core/java/android/service/trust/ITrustAgentServiceCallback.aidl", |
| "core/java/android/service/voice/IVoiceInteractionService.aidl", |
| "core/java/android/service/voice/IVoiceInteractionSession.aidl", |
| "core/java/android/service/voice/IVoiceInteractionSessionService.aidl", |
| "core/java/android/service/wallpaper/IWallpaperConnection.aidl", |
| "core/java/android/service/wallpaper/IWallpaperEngine.aidl", |
| "core/java/android/service/wallpaper/IWallpaperService.aidl", |
| "core/java/android/service/chooser/IChooserTargetService.aidl", |
| "core/java/android/service/chooser/IChooserTargetResult.aidl", |
| "core/java/android/service/resolver/IResolverRankerService.aidl", |
| "core/java/android/service/resolver/IResolverRankerResult.aidl", |
| "core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl", |
| "core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl", |
| "core/java/android/view/accessibility/IAccessibilityManager.aidl", |
| "core/java/android/view/accessibility/IAccessibilityManagerClient.aidl", |
| "core/java/android/view/autofill/IAutoFillManager.aidl", |
| "core/java/android/view/autofill/IAutoFillManagerClient.aidl", |
| "core/java/android/view/autofill/IAutofillWindowPresenter.aidl", |
| "core/java/android/view/IApplicationToken.aidl", |
| "core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl", |
| "core/java/android/view/IDockedStackListener.aidl", |
| "core/java/android/view/IGraphicsStats.aidl", |
| "core/java/android/view/IGraphicsStatsCallback.aidl", |
| "core/java/android/view/IInputFilter.aidl", |
| "core/java/android/view/IInputFilterHost.aidl", |
| "core/java/android/view/IOnKeyguardExitResult.aidl", |
| "core/java/android/view/IPinnedStackController.aidl", |
| "core/java/android/view/IPinnedStackListener.aidl", |
| "core/java/android/view/IRotationWatcher.aidl", |
| "core/java/android/view/IWallpaperVisibilityListener.aidl", |
| "core/java/android/view/IWindow.aidl", |
| "core/java/android/view/IWindowFocusObserver.aidl", |
| "core/java/android/view/IWindowId.aidl", |
| "core/java/android/view/IWindowManager.aidl", |
| "core/java/android/view/IWindowSession.aidl", |
| "core/java/android/view/IWindowSessionCallback.aidl", |
| "core/java/android/webkit/IWebViewUpdateService.aidl", |
| "core/java/android/speech/IRecognitionListener.aidl", |
| "core/java/android/speech/IRecognitionService.aidl", |
| "core/java/android/speech/tts/ITextToSpeechCallback.aidl", |
| "core/java/android/speech/tts/ITextToSpeechService.aidl", |
| "core/java/com/android/internal/app/IAppOpsCallback.aidl", |
| "core/java/com/android/internal/app/IAppOpsService.aidl", |
| "core/java/com/android/internal/app/IAssistScreenshotReceiver.aidl", |
| "core/java/com/android/internal/app/IBatteryStats.aidl", |
| "core/java/com/android/internal/app/ISoundTriggerService.aidl", |
| "core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl", |
| "core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl", |
| "core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl", |
| "core/java/com/android/internal/app/IVoiceInteractor.aidl", |
| "core/java/com/android/internal/app/IVoiceInteractorCallback.aidl", |
| "core/java/com/android/internal/app/IVoiceInteractorRequest.aidl", |
| "core/java/com/android/internal/app/IMediaContainerService.aidl", |
| "core/java/com/android/internal/app/procstats/IProcessStats.aidl", |
| "core/java/com/android/internal/appwidget/IAppWidgetService.aidl", |
| "core/java/com/android/internal/appwidget/IAppWidgetHost.aidl", |
| "core/java/com/android/internal/backup/IBackupTransport.aidl", |
| "core/java/com/android/internal/backup/IObbBackupService.aidl", |
| "core/java/com/android/internal/car/ICarServiceHelper.aidl", |
| "core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl", |
| "core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl", |
| "core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl", |
| "core/java/com/android/internal/policy/IKeyguardExitCallback.aidl", |
| "core/java/com/android/internal/policy/IKeyguardService.aidl", |
| "core/java/com/android/internal/policy/IKeyguardStateCallback.aidl", |
| "core/java/com/android/internal/policy/IShortcutService.aidl", |
| "core/java/com/android/internal/os/IDropBoxManagerService.aidl", |
| "core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl", |
| "core/java/com/android/internal/os/IResultReceiver.aidl", |
| "core/java/com/android/internal/os/IShellCallback.aidl", |
| "core/java/com/android/internal/statusbar/IStatusBar.aidl", |
| "core/java/com/android/internal/statusbar/IStatusBarService.aidl", |
| "core/java/com/android/internal/textservice/ISpellCheckerService.aidl", |
| "core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl", |
| "core/java/com/android/internal/textservice/ISpellCheckerSession.aidl", |
| "core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl", |
| "core/java/com/android/internal/textservice/ITextServicesManager.aidl", |
| "core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl", |
| "core/java/com/android/internal/view/IDragAndDropPermissions.aidl", |
| "core/java/com/android/internal/view/IInputContext.aidl", |
| "core/java/com/android/internal/view/IInputContextCallback.aidl", |
| "core/java/com/android/internal/view/IInputMethod.aidl", |
| "core/java/com/android/internal/view/IInputMethodClient.aidl", |
| "core/java/com/android/internal/view/IInputMethodManager.aidl", |
| "core/java/com/android/internal/view/IInputMethodSession.aidl", |
| "core/java/com/android/internal/view/IInputSessionCallback.aidl", |
| "core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl", |
| "core/java/com/android/internal/widget/ILockSettings.aidl", |
| "core/java/com/android/internal/widget/IRemoteViewsFactory.aidl", |
| "core/java/com/android/internal/widget/IRemoteViewsAdapterConnection.aidl", |
| "keystore/java/android/security/IKeyChainAliasCallback.aidl", |
| "keystore/java/android/security/IKeyChainService.aidl", |
| "location/java/android/location/IBatchedLocationCallback.aidl", |
| "location/java/android/location/ICountryDetector.aidl", |
| "location/java/android/location/ICountryListener.aidl", |
| "location/java/android/location/IGeocodeProvider.aidl", |
| "location/java/android/location/IGeofenceProvider.aidl", |
| "location/java/android/location/IGnssStatusListener.aidl", |
| "location/java/android/location/IGnssStatusProvider.aidl", |
| "location/java/android/location/IGnssMeasurementsListener.aidl", |
| "location/java/android/location/IGnssNavigationMessageListener.aidl", |
| "location/java/android/location/ILocationListener.aidl", |
| "location/java/android/location/ILocationManager.aidl", |
| "location/java/android/location/IFusedGeofenceHardware.aidl", |
| "location/java/android/location/IGpsGeofenceHardware.aidl", |
| "location/java/android/location/INetInitiatedListener.aidl", |
| "location/java/com/android/internal/location/ILocationProvider.aidl", |
| "media/java/android/media/IAudioService.aidl", |
| "media/java/android/media/IAudioFocusDispatcher.aidl", |
| "media/java/android/media/IAudioRoutesObserver.aidl", |
| "media/java/android/media/IMediaHTTPConnection.aidl", |
| "media/java/android/media/IMediaHTTPService.aidl", |
| "media/java/android/media/IMediaResourceMonitor.aidl", |
| "media/java/android/media/IMediaRouterClient.aidl", |
| "media/java/android/media/IMediaRouterService.aidl", |
| "media/java/android/media/IMediaScannerListener.aidl", |
| "media/java/android/media/IMediaScannerService.aidl", |
| "media/java/android/media/IPlaybackConfigDispatcher.aidl", |
| "media/java/android/media/IPlayer.aidl", |
| "media/java/android/media/IRecordingConfigDispatcher.aidl", |
| "media/java/android/media/IRemoteDisplayCallback.aidl", |
| "media/java/android/media/IRemoteDisplayProvider.aidl", |
| "media/java/android/media/IRemoteVolumeController.aidl", |
| "media/java/android/media/IRemoteVolumeObserver.aidl", |
| "media/java/android/media/IRingtonePlayer.aidl", |
| "media/java/android/media/IVolumeController.aidl", |
| "media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl", |
| "media/java/android/media/midi/IBluetoothMidiService.aidl", |
| "media/java/android/media/midi/IMidiDeviceListener.aidl", |
| "media/java/android/media/midi/IMidiDeviceOpenCallback.aidl", |
| "media/java/android/media/midi/IMidiDeviceServer.aidl", |
| "media/java/android/media/midi/IMidiManager.aidl", |
| "media/java/android/media/projection/IMediaProjection.aidl", |
| "media/java/android/media/projection/IMediaProjectionCallback.aidl", |
| "media/java/android/media/projection/IMediaProjectionManager.aidl", |
| "media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl", |
| "media/java/android/media/session/IActiveSessionsListener.aidl", |
| "media/java/android/media/session/ICallback.aidl", |
| "media/java/android/media/session/IOnMediaKeyListener.aidl", |
| "media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl", |
| "media/java/android/media/session/ISession.aidl", |
| "media/java/android/media/session/ISessionCallback.aidl", |
| "media/java/android/media/session/ISessionController.aidl", |
| "media/java/android/media/session/ISessionControllerCallback.aidl", |
| "media/java/android/media/session/ISessionManager.aidl", |
| "media/java/android/media/tv/ITvInputClient.aidl", |
| "media/java/android/media/tv/ITvInputHardware.aidl", |
| "media/java/android/media/tv/ITvInputHardwareCallback.aidl", |
| "media/java/android/media/tv/ITvInputManager.aidl", |
| "media/java/android/media/tv/ITvInputManagerCallback.aidl", |
| "media/java/android/media/tv/ITvInputService.aidl", |
| "media/java/android/media/tv/ITvInputServiceCallback.aidl", |
| "media/java/android/media/tv/ITvInputSession.aidl", |
| "media/java/android/media/tv/ITvInputSessionCallback.aidl", |
| "media/java/android/media/tv/ITvRemoteProvider.aidl", |
| "media/java/android/media/tv/ITvRemoteServiceInput.aidl", |
| "media/java/android/service/media/IMediaBrowserService.aidl", |
| "media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl", |
| "telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl", |
| "telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl", |
| "telecomm/java/com/android/internal/telecom/IVideoCallback.aidl", |
| "telecomm/java/com/android/internal/telecom/IVideoProvider.aidl", |
| "telecomm/java/com/android/internal/telecom/IConnectionService.aidl", |
| "telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl", |
| "telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl", |
| "telecomm/java/com/android/internal/telecom/IInCallService.aidl", |
| "telecomm/java/com/android/internal/telecom/ITelecomService.aidl", |
| "telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl", |
| "telephony/java/android/telephony/data/IDataService.aidl", |
| "telephony/java/android/telephony/data/IDataServiceCallback.aidl", |
| "telephony/java/android/telephony/ims/aidl/IImsCallSessionListener.aidl", |
| "telephony/java/android/telephony/ims/aidl/IImsCapabilityCallback.aidl", |
| "telephony/java/android/telephony/ims/aidl/IImsConfig.aidl", |
| "telephony/java/android/telephony/ims/aidl/IImsConfigCallback.aidl", |
| "telephony/java/android/telephony/ims/aidl/IImsMmTelFeature.aidl", |
| "telephony/java/android/telephony/ims/aidl/IImsMmTelListener.aidl", |
| "telephony/java/android/telephony/ims/aidl/IImsRegistration.aidl", |
| "telephony/java/android/telephony/ims/aidl/IImsRegistrationCallback.aidl", |
| "telephony/java/android/telephony/ims/aidl/IImsRcsFeature.aidl", |
| "telephony/java/android/telephony/ims/aidl/IImsServiceController.aidl", |
| "telephony/java/android/telephony/ims/aidl/IImsServiceControllerListener.aidl", |
| "telephony/java/android/telephony/ims/aidl/IImsSmsListener.aidl", |
| "telephony/java/android/telephony/mbms/IMbmsDownloadSessionCallback.aidl", |
| "telephony/java/android/telephony/mbms/IMbmsStreamingSessionCallback.aidl", |
| "telephony/java/android/telephony/mbms/IDownloadStatusListener.aidl", |
| "telephony/java/android/telephony/mbms/IDownloadProgressListener.aidl", |
| "telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl", |
| "telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl", |
| "telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl", |
| "telephony/java/android/telephony/INetworkService.aidl", |
| "telephony/java/android/telephony/INetworkServiceCallback.aidl", |
| "telephony/java/com/android/ims/internal/IImsCallSession.aidl", |
| "telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl", |
| "telephony/java/com/android/ims/internal/IImsConfig.aidl", |
| "telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl", |
| "telephony/java/com/android/ims/internal/IImsEcbm.aidl", |
| "telephony/java/com/android/ims/internal/IImsEcbmListener.aidl", |
| "telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl", |
| "telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl", |
| "telephony/java/com/android/ims/internal/IImsMMTelFeature.aidl", |
| "telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl", |
| "telephony/java/com/android/ims/internal/IImsRcsFeature.aidl", |
| "telephony/java/com/android/ims/internal/IImsService.aidl", |
| "telephony/java/com/android/ims/internal/IImsServiceController.aidl", |
| "telephony/java/com/android/ims/internal/IImsServiceFeatureCallback.aidl", |
| "telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl", |
| "telephony/java/com/android/ims/internal/IImsUt.aidl", |
| "telephony/java/com/android/ims/internal/IImsUtListener.aidl", |
| "telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl", |
| "telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl", |
| "telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl", |
| "telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl", |
| "telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl", |
| "telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl", |
| "telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl", |
| "telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl", |
| "telephony/java/com/android/ims/ImsConfigListener.aidl", |
| "telephony/java/com/android/internal/telephony/IApnSourceService.aidl", |
| "telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl", |
| "telephony/java/com/android/internal/telephony/IMms.aidl", |
| "telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl", |
| "telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl", |
| "telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl", |
| "telephony/java/com/android/internal/telephony/ISms.aidl", |
| "telephony/java/com/android/internal/telephony/ISub.aidl", |
| "telephony/java/com/android/internal/telephony/ITelephony.aidl", |
| "telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl", |
| "telephony/java/com/android/internal/telephony/IWapPushManager.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/IAuthenticateServerCallback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/ICancelSessionCallback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/IDeleteProfileCallback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/IDisableProfileCallback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/IEuiccCardController.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/IGetAllProfilesCallback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/IGetDefaultSmdpAddressCallback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/IGetEuiccChallengeCallback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo1Callback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo2Callback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/IGetProfileCallback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/IGetRulesAuthTableCallback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/IGetSmdsAddressCallback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/IListNotificationsCallback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/ILoadBoundProfilePackageCallback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/IPrepareDownloadCallback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/IRemoveNotificationFromListCallback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/IResetMemoryCallback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationCallback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationListCallback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/ISetDefaultSmdpAddressCallback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/ISetNicknameCallback.aidl", |
| "telephony/java/com/android/internal/telephony/euicc/ISwitchToProfileCallback.aidl", |
| "wifi/java/android/net/wifi/IWifiManager.aidl", |
| "wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl", |
| "wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl", |
| "wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl", |
| "wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl", |
| "wifi/java/android/net/wifi/IWifiScanner.aidl", |
| "wifi/java/android/net/wifi/IRttManager.aidl", |
| "packages/services/PacProcessor/com/android/net/IProxyService.aidl", |
| "packages/services/Proxy/com/android/net/IProxyCallback.aidl", |
| "packages/services/Proxy/com/android/net/IProxyPortListener.aidl", |
| "core/java/android/service/quicksettings/IQSService.aidl", |
| "core/java/android/service/quicksettings/IQSTileService.aidl", |
| |
| ":libupdate_engine_aidl", |
| |
| ":netd_aidl", |
| ":installd_aidl", |
| |
| "lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl", |
| "lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl", |
| "lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl", |
| "lowpan/java/android/net/lowpan/ILowpanInterface.aidl", |
| "lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl", |
| "lowpan/java/android/net/lowpan/ILowpanManager.aidl", |
| |
| "core/java/android/app/admin/SecurityLogTags.logtags", |
| "core/java/android/content/EventLogTags.logtags", |
| "core/java/android/speech/tts/EventLogTags.logtags", |
| "core/java/android/net/EventLogTags.logtags", |
| "core/java/android/webkit/EventLogTags.logtags", |
| "core/java/com/android/internal/logging/EventLogTags.logtags", |
| "core/java/com/android/server/DropboxLogTags.logtags", |
| ], |
| |
| aidl: { |
| export_include_dirs: [ |
| // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS |
| "core/java", |
| "graphics/java", |
| "location/java", |
| "lowpan/java", |
| "media/java", |
| "media/mca/effect/java", |
| "media/mca/filterfw/java", |
| "media/mca/filterpacks/java", |
| "drm/java", |
| "opengl/java", |
| "sax/java", |
| "telecomm/java", |
| "telephony/java", |
| "wifi/java", |
| "keystore/java", |
| "rs/java", |
| ], |
| |
| include_dirs: [ |
| "system/update_engine/binder_bindings", |
| "frameworks/native/aidl/binder", |
| "frameworks/av/camera/aidl", |
| "frameworks/native/aidl/gui", |
| "system/netd/server/binder", |
| "system/bt/binder", |
| ], |
| }, |
| |
| no_framework_libs: true, |
| libs: [ |
| "conscrypt", |
| "okhttp", |
| "bouncycastle", |
| "ext", |
| ], |
| |
| static_libs: [ |
| "framework-protos", |
| "android.hidl.base-V1.0-java", |
| "android.hardware.cas-V1.0-java", |
| "android.hardware.health-V1.0-java-constants", |
| "android.hardware.thermal-V1.0-java-constants", |
| "android.hardware.tv.input-V1.0-java-constants", |
| "android.hardware.usb-V1.0-java-constants", |
| "android.hardware.usb-V1.1-java-constants", |
| "android.hardware.vibrator-V1.0-java-constants", |
| "android.hardware.vibrator-V1.1-java-constants", |
| "android.hardware.wifi-V1.0-java-constants", |
| "android.hardware.radio-V1.0-java", |
| ], |
| |
| // Loaded with System.loadLibrary by android.view.textclassifier |
| required: ["libtextclassifier"], |
| |
| javac_shard_size: 150, |
| |
| dxflags: [ |
| "--core-library", |
| "--multi-dex", |
| ], |
| } |
| |
| gensrcs { |
| name: "framework-javastream-protos", |
| depfile: true, |
| |
| tools: [ |
| "aprotoc", |
| "protoc-gen-javastream", |
| "soong_zip", |
| ], |
| |
| cmd: "mkdir -p $(genDir)/$(in) " + |
| "&& $(location aprotoc) " + |
| " --plugin=$(location protoc-gen-javastream) " + |
| " --dependency_out=$(depfile) " + |
| " --javastream_out=$(genDir)/$(in) " + |
| " -Iexternal/protobuf/src " + |
| " -I . " + |
| " $(in) " + |
| "&& $(location soong_zip) -jar -o $(out) -C $(genDir)/$(in) -D $(genDir)/$(in)", |
| |
| srcs: ["core/proto/**/*.proto"], |
| output_extension: "srcjar", |
| } |
| |
| // Build ext.jar |
| // ============================================================ |
| java_library { |
| name: "ext", |
| no_framework_libs: true, |
| static_libs: [ |
| "libphonenumber-platform", |
| "nist-sip", |
| "tagsoup", |
| ], |
| dxflags: ["--core-library"], |
| } |
| |
| // ==== c++ proto device library ============================== |
| cc_library { |
| name: "libplatformprotos", |
| host_supported: true, |
| proto: { |
| export_proto_headers: true, |
| include_dirs: ["external/protobuf/src"], |
| }, |
| |
| cflags: [ |
| "-Wall", |
| "-Werror", |
| "-Wno-unused-parameter", |
| ], |
| target: { |
| host: { |
| proto: { |
| type: "full", |
| }, |
| srcs: [ |
| "core/proto/**/*.proto", |
| "libs/incident/**/*.proto", |
| ], |
| }, |
| android: { |
| proto: { |
| type: "lite", |
| }, |
| // We only build the protos that are optimized for the lite |
| // runtime, as well as the only protos that are actually |
| // needed by the device. |
| srcs: [ |
| "core/proto/android/service/graphicsstats.proto", |
| ], |
| shared: { |
| enabled: false, |
| }, |
| }, |
| }, |
| } |
| |
| subdirs = [ |
| "cmds/*", |
| "core/*", |
| "libs/*", |
| "media/*", |
| "proto", |
| "tools/*", |
| "native/android", |
| "native/graphics/jni", |
| ] |
| |
| optional_subdirs = [ |
| "core/tests/utiltests/jni", |
| ] |
| |
| // TODO(b/77285514): remove this once the last few hidl interfaces have been |
| // updated to use hwbinder.stubs. |
| java_library { |
| name: "hwbinder", |
| no_framework_libs: true, |
| |
| srcs: [ |
| "core/java/android/os/HidlSupport.java", |
| "core/java/android/annotation/IntDef.java", |
| "core/java/android/annotation/NonNull.java", |
| "core/java/android/annotation/SystemApi.java", |
| "core/java/android/os/HwBinder.java", |
| "core/java/android/os/HwBlob.java", |
| "core/java/android/os/HwParcel.java", |
| "core/java/android/os/IHwBinder.java", |
| "core/java/android/os/IHwInterface.java", |
| "core/java/android/os/DeadObjectException.java", |
| "core/java/android/os/DeadSystemException.java", |
| "core/java/android/os/RemoteException.java", |
| "core/java/android/util/AndroidException.java", |
| ], |
| |
| dxflags: ["--core-library"], |
| installable: false, |
| } |
| |
| python_defaults { |
| name: "base_default", |
| version: { |
| py2: { |
| enabled: true, |
| embedded_launcher: true, |
| }, |
| py3: { |
| enabled: false, |
| embedded_launcher: false, |
| }, |
| }, |
| } |
| |
| python_binary_host { |
| name: "fontchain_linter", |
| defaults: ["base_default"], |
| main: "tools/fonts/fontchain_linter.py", |
| srcs: [ |
| "tools/fonts/fontchain_linter.py", |
| ], |
| libs: [ |
| "fontTools", |
| ], |
| } |
| |
| // TODO: Don't rely on this list once droiddoc can take a list of packages to document |
| frameworks_base_subdirs = [ |
| "core/java", |
| "graphics/java", |
| "location/java", |
| "media/java", |
| "media/mca/effect/java", |
| "media/mca/filterfw/java", |
| "media/mca/filterpacks/java", |
| "drm/java", |
| "opengl/java", |
| "sax/java", |
| "telecomm/java", |
| "telephony/java", |
| "wifi/java", |
| "lowpan/java", |
| "keystore/java", |
| "rs/java", |
| ] |
| |
| packages_to_document = [ |
| "android", |
| "javax/microedition/khronos", |
| "org/apache/http/conn", |
| "org/apache/http/params", |
| ] |
| |
| // The since flag (-since N.xml API_LEVEL) is used to add API Level information |
| // to the reference documentation. Must be in order of oldest to newest. |
| // |
| // Conscrypt (com.android.org.conscrypt) is an implementation detail and should |
| // not be referenced in the documentation. |
| framework_docs_args = "-android -manifest $(location core/res/AndroidManifest.xml) " + |
| "-hidePackage com.android.okhttp -hidePackage com.android.org.conscrypt -hidePackage com.android.server " + |
| "-since $(location 1/public/api/android.xml) 1 " + |
| "-since $(location 2/public/api/android.xml) 2 " + |
| "-since $(location 3/public/api/android.xml) 3 " + |
| "-since $(location 4/public/api/android.xml) 4 " + |
| "-since $(location 5/public/api/android.xml) 5 " + |
| "-since $(location 6/public/api/android.xml) 6 " + |
| "-since $(location 7/public/api/android.xml) 7 " + |
| "-since $(location 8/public/api/android.xml) 8 " + |
| "-since $(location 9/public/api/android.xml) 9 " + |
| "-since $(location 10/public/api/android.xml) 10 " + |
| "-since $(location 11/public/api/android.xml) 11 " + |
| "-since $(location 12/public/api/android.xml) 12 " + |
| "-since $(location 13/public/api/android.xml) 13 " + |
| "-since $(location 14/public/api/android.txt) 14 " + |
| "-since $(location 15/public/api/android.txt) 15 " + |
| "-since $(location 16/public/api/android.txt) 16 " + |
| "-since $(location 17/public/api/android.txt) 17 " + |
| "-since $(location 18/public/api/android.txt) 18 " + |
| "-since $(location 19/public/api/android.txt) 19 " + |
| "-since $(location 20/public/api/android.txt) 20 " + |
| "-since $(location 21/public/api/android.txt) 21 " + |
| "-since $(location 22/public/api/android.txt) 22 " + |
| "-since $(location 23/public/api/android.txt) 23 " + |
| "-since $(location 24/public/api/android.txt) 24 " + |
| "-since $(location 25/public/api/android.txt) 25 " + |
| "-since $(location 26/public/api/android.txt) 26 " + |
| "-since $(location 27/public/api/android.txt) 27 " + |
| "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " + |
| "-overview $(location core/java/overview.html) " + |
| // Federate Support Library references against local API file. |
| "-federate SupportLib https://developer.android.com " + |
| "-federationapi SupportLib $(location current/support-api.txt) " |
| |
| doc_defaults { |
| name: "framework-docs-default", |
| srcs: [ |
| // test mock src files. |
| "test-mock/src/android/test/mock/**/*.java", |
| // test runner excluding mock src files. |
| "test-runner/src/**/*.java", |
| "test-base/src/**/*.java", |
| ":opt-telephony-srcs", |
| ":opt-net-voip-srcs", |
| ":openjdk_javadoc_files", |
| ":non_openjdk_javadoc_files", |
| ":android_icu4j_src_files_for_docs", |
| ":gen-ojluni-jaif-annotated-srcs", |
| ], |
| exclude_srcs: [ |
| ":annotated_ojluni_files", |
| ], |
| srcs_lib: "framework", |
| srcs_lib_whitelist_dirs: frameworks_base_subdirs, |
| srcs_lib_whitelist_pkgs: packages_to_document, |
| libs: [ |
| "core-oj", |
| "core-libart", |
| "conscrypt", |
| "bouncycastle", |
| "okhttp", |
| "ext", |
| "framework", |
| "voip-common", |
| "android.test.mock", |
| ], |
| local_sourcepaths: frameworks_base_subdirs, |
| html_dirs: [ |
| "docs/html", |
| ], |
| knowntags: [ |
| "docs/knowntags.txt", |
| ":known-oj-tags", |
| ], |
| custom_template: "droiddoc-templates-sdk", |
| hdf: [ |
| "dac true", |
| "sdk.codename O", |
| "sdk.preview.version 1", |
| "sdk.version 7.0", |
| "sdk.rel.id 1", |
| "sdk.preview 0", |
| ], |
| resourcesdir: "docs/html/reference/images", |
| resourcesoutdir: "reference/android/images", |
| installable: false, |
| } |
| |
| check_last_released_api_args = "-hide 2 -hide 3 -hide 4 -hide 5 -hide 6 -hide 24 -hide 25 -hide 26 -hide 27 " + |
| "-error 7 -error 8 -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 " + |
| "-error 16 -error 17 -error 18" |
| |
| check_current_api_args = "-error 2 -error 3 -error 4 -error 5 -error 6 " + |
| "-error 7 -error 8 -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 "+ |
| "-error 16 -error 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24 " + |
| "-error 25 -error 26 -error 27" |
| |
| droiddoc { |
| name: "api-stubs-docs", |
| defaults: ["framework-docs-default"], |
| arg_files: [ |
| "core/res/AndroidManifest.xml", |
| ":api-version-xml", |
| "core/java/overview.html", |
| ":current-support-api", |
| ], |
| api_filename: "public_api.txt", |
| private_api_filename: "private.txt", |
| removed_api_filename: "removed.txt", |
| args: framework_docs_args + " -referenceonly -nodocs", |
| check_api: { |
| last_released: { |
| api_file: ":last-released-public-api", |
| removed_api_file: "api/removed.txt", |
| args: check_last_released_api_args, |
| }, |
| current: { |
| api_file: "api/current.txt", |
| removed_api_file: "api/removed.txt", |
| args: check_current_api_args, |
| }, |
| }, |
| } |
| |
| droiddoc { |
| name: "system-api-stubs-docs", |
| defaults: ["framework-docs-default"], |
| arg_files: [ |
| "core/res/AndroidManifest.xml", |
| ":api-version-xml", |
| "core/java/overview.html", |
| ":current-support-api", |
| ], |
| api_tag_name: "SYSTEM", |
| api_filename: "system-api.txt", |
| private_api_filename: "system-private.txt", |
| private_dex_api_filename: "system-private-dex.txt", |
| removed_api_filename: "system-removed.txt", |
| exact_api_filename: "system-exact.txt", |
| args: framework_docs_args + " -referenceonly -showAnnotation android.annotation.SystemApi -nodocs", |
| check_api: { |
| last_released: { |
| api_file: ":last-released-system-api", |
| removed_api_file: "api/system-removed.txt", |
| args: check_last_released_api_args, |
| }, |
| current: { |
| api_file: "api/system-current.txt", |
| removed_api_file: "api/system-removed.txt", |
| args: check_current_api_args, |
| }, |
| }, |
| } |
| |
| droiddoc { |
| name: "test-api-stubs-docs", |
| defaults: ["framework-docs-default"], |
| arg_files: [ |
| "core/res/AndroidManifest.xml", |
| ":api-version-xml", |
| "core/java/overview.html", |
| ":current-support-api", |
| ], |
| api_tag_name: "TEST", |
| api_filename: "test-api.txt", |
| removed_api_filename: "test-removed.txt", |
| exact_api_filename: "test-exact.txt", |
| args: framework_docs_args + " -referenceonly -showAnnotation android.annotation.TestApi -nodocs", |
| check_api: { |
| current: { |
| api_file: "api/test-current.txt", |
| removed_api_file: "api/test-removed.txt", |
| args: check_current_api_args, |
| }, |
| }, |
| } |
| |
| droiddoc { |
| name: "hwbinder-stubs-docs", |
| srcs: [ |
| "core/java/android/os/HidlSupport.java", |
| "core/java/android/annotation/IntDef.java", |
| "core/java/android/annotation/NonNull.java", |
| "core/java/android/annotation/SystemApi.java", |
| "core/java/android/os/HwBinder.java", |
| "core/java/android/os/HwBlob.java", |
| "core/java/android/os/HwParcel.java", |
| "core/java/android/os/IHwBinder.java", |
| "core/java/android/os/IHwInterface.java", |
| "core/java/android/os/DeadObjectException.java", |
| "core/java/android/os/DeadSystemException.java", |
| "core/java/android/os/RemoteException.java", |
| "core/java/android/util/AndroidException.java", |
| ], |
| custom_template: "droiddoc-templates-sdk", |
| installable: false, |
| no_framework_libs: true, |
| args: "-showAnnotation android.annotation.SystemApi -nodocs -stubsourceonly", |
| } |
| |
| java_library_static { |
| name: "hwbinder.stubs", |
| sdk_version: "core_current", |
| srcs: [ |
| ":hwbinder-stubs-docs", |
| ], |
| } |
| |
| droiddoc { |
| name: "hiddenapi-lists", |
| defaults: ["framework-docs-default"], |
| arg_files: [ |
| "core/res/AndroidManifest.xml", |
| ":api-version-xml", |
| "core/java/overview.html", |
| ":current-support-api", |
| ], |
| dex_api_filename: "public-dex.txt", |
| private_dex_api_filename: "private-dex.txt", |
| removed_dex_api_filename: "removed-dex.txt", |
| args: framework_docs_args + |
| " -referenceonly" + |
| " -nodocs" + |
| " -showUnannotated" + |
| " -showAnnotation android.annotation.SystemApi" + |
| " -showAnnotation android.annotation.TestApi", |
| } |
| |
| filegroup { |
| name: "apache-http-stubs-sources", |
| srcs: [ |
| "core/java/org/apache/http/conn/ConnectTimeoutException.java", |
| "core/java/org/apache/http/conn/scheme/HostNameResolver.java", |
| "core/java/org/apache/http/conn/scheme/LayeredSocketFactory.java", |
| "core/java/org/apache/http/conn/scheme/SocketFactory.java", |
| "core/java/org/apache/http/conn/ssl/AbstractVerifier.java", |
| "core/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java", |
| "core/java/org/apache/http/conn/ssl/AndroidDistinguishedNameParser.java", |
| "core/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java", |
| "core/java/org/apache/http/conn/ssl/SSLSocketFactory.java", |
| "core/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java", |
| "core/java/org/apache/http/conn/ssl/X509HostnameVerifier.java", |
| "core/java/org/apache/http/params/CoreConnectionPNames.java", |
| "core/java/org/apache/http/params/HttpConnectionParams.java", |
| "core/java/org/apache/http/params/HttpParams.java", |
| "core/java/android/net/http/HttpResponseCache.java", |
| "core/java/android/net/http/SslCertificate.java", |
| "core/java/android/net/http/SslError.java", |
| "core/java/com/android/internal/util/HexDump.java", |
| ], |
| } |
| |
| metalava_framework_docs_args = "--manifest $(location core/res/AndroidManifest.xml) " + |
| "--hide-package com.android.okhttp " + |
| "--hide-package com.android.org.conscrypt --hide-package com.android.server " + |
| "--hide RequiresPermission " + |
| "--hide MissingPermission --hide BroadcastBehavior " + |
| "--hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol " + |
| "--hide SdkConstant --hide HiddenTypeParameter --hide Todo --hide Typo" |
| |
| doc_defaults { |
| name: "metalava-framework-docs-default", |
| srcs: [ |
| // test mock src files. |
| "test-mock/src/android/test/mock/**/*.java", |
| // test runner excluding mock src files. |
| "test-runner/src/**/*.java", |
| "test-base/src/**/*.java", |
| ":opt-telephony-srcs", |
| ":opt-net-voip-srcs", |
| ":openjdk_javadoc_files", |
| ":non_openjdk_javadoc_files", |
| ":android_icu4j_src_files_for_docs", |
| ":gen-ojluni-jaif-annotated-srcs", |
| ], |
| exclude_srcs: [ |
| ":annotated_ojluni_files", |
| ], |
| srcs_lib: "framework", |
| srcs_lib_whitelist_dirs: frameworks_base_subdirs, |
| srcs_lib_whitelist_pkgs: packages_to_document, |
| libs: [ |
| "core-oj", |
| "core-libart", |
| "conscrypt", |
| "bouncycastle", |
| "okhttp", |
| "ext", |
| "framework", |
| "voip-common", |
| "android.test.mock", |
| ], |
| local_sourcepaths: frameworks_base_subdirs, |
| installable: false, |
| metalava_enabled: true, |
| metalava_annotations_enabled: true, |
| metalava_previous_api: ":public-api-for-metalava-annotations", |
| metalava_merge_annotations_dir: "tools/metalava/manual", |
| } |
| |
| droiddoc { |
| name: "metalava-api-stubs-docs", |
| defaults: ["metalava-framework-docs-default"], |
| api_tag_name: "METALAVA_PUBLIC", |
| api_filename: "public_api.txt", |
| private_api_filename: "private.txt", |
| removed_api_filename: "removed.txt", |
| arg_files: [ |
| "core/res/AndroidManifest.xml", |
| ], |
| args: metalava_framework_docs_args, |
| } |
| |
| droiddoc { |
| name: "metalava-system-api-stubs-docs", |
| defaults: ["metalava-framework-docs-default"], |
| api_tag_name: "METALAVA_SYSTEM", |
| api_filename: "system-api.txt", |
| private_api_filename: "system-private.txt", |
| private_dex_api_filename: "system-private-dex.txt", |
| removed_api_filename: "system-removed.txt", |
| arg_files: [ |
| "core/res/AndroidManifest.xml", |
| ], |
| args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi", |
| } |
| |
| droiddoc { |
| name: "metalava-test-api-stubs-docs", |
| defaults: ["metalava-framework-docs-default"], |
| api_tag_name: "METALAVA_TEST", |
| api_filename: "test-api.txt", |
| removed_api_filename: "test-removed.txt", |
| arg_files: [ |
| "core/res/AndroidManifest.xml", |
| ], |
| args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi", |
| } |