Dan Albert | 2a8d9c2 | 2016-09-23 15:55:49 -0700 | [diff] [blame] | 1 | // 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 Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 15 | // Build the master framework library. |
| 16 | |
| 17 | // READ ME: ######################################################## |
| 18 | // |
| 19 | // When updating this list of aidl files, consider if that aidl is |
| 20 | // part of the SDK API. If it is, also add it to the list in Android.mk |
| 21 | // that is preprocessed and distributed with the SDK. This list should |
| 22 | // not contain any aidl files for parcelables, but the one below should |
| 23 | // if you intend for 3rd parties to be able to send those objects |
| 24 | // across process boundaries. |
| 25 | // |
| 26 | // READ ME: ######################################################## |
| 27 | |
Mathew Inwood | bad89e5 | 2018-06-28 14:12:10 +0100 | [diff] [blame] | 28 | java_defaults { |
| 29 | name: "framework-defaults", |
Colin Cross | a12c0f5 | 2018-06-27 11:00:11 -0700 | [diff] [blame] | 30 | installable: true, |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 31 | |
| 32 | srcs: [ |
| 33 | // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS |
| 34 | "core/java/**/*.java", |
| 35 | "graphics/java/**/*.java", |
| 36 | "location/java/**/*.java", |
| 37 | "lowpan/java/**/*.java", |
| 38 | "media/java/**/*.java", |
| 39 | "media/mca/effect/java/**/*.java", |
| 40 | "media/mca/filterfw/java/**/*.java", |
| 41 | "media/mca/filterpacks/java/**/*.java", |
| 42 | "drm/java/**/*.java", |
| 43 | "opengl/java/**/*.java", |
| 44 | "sax/java/**/*.java", |
| 45 | "telecomm/java/**/*.java", |
| 46 | "telephony/java/**/*.java", |
| 47 | "wifi/java/**/*.java", |
| 48 | "keystore/java/**/*.java", |
| 49 | "rs/java/**/*.java", |
| 50 | |
| 51 | ":framework-javastream-protos", |
| 52 | |
| 53 | "core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl", |
| 54 | "core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl", |
| 55 | "core/java/android/accounts/IAccountManager.aidl", |
| 56 | "core/java/android/accounts/IAccountManagerResponse.aidl", |
| 57 | "core/java/android/accounts/IAccountAuthenticator.aidl", |
| 58 | "core/java/android/accounts/IAccountAuthenticatorResponse.aidl", |
| 59 | "core/java/android/app/IActivityController.aidl", |
| 60 | "core/java/android/app/IActivityManager.aidl", |
| 61 | "core/java/android/app/IActivityPendingResult.aidl", |
| 62 | "core/java/android/app/IAlarmCompleteListener.aidl", |
| 63 | "core/java/android/app/IAlarmListener.aidl", |
| 64 | "core/java/android/app/IAlarmManager.aidl", |
| 65 | "core/java/android/app/IAppTask.aidl", |
| 66 | "core/java/android/app/IApplicationThread.aidl", |
| 67 | "core/java/android/app/IAssistDataReceiver.aidl", |
| 68 | "core/java/android/app/ITaskStackListener.aidl", |
| 69 | "core/java/android/app/IBackupAgent.aidl", |
| 70 | "core/java/android/app/IEphemeralResolver.aidl", |
| 71 | "core/java/android/app/IInputForwarder.aidl", |
| 72 | "core/java/android/app/IInstantAppResolver.aidl", |
| 73 | "core/java/android/app/IInstrumentationWatcher.aidl", |
| 74 | "core/java/android/app/INotificationManager.aidl", |
| 75 | "core/java/android/app/IProcessObserver.aidl", |
| 76 | "core/java/android/app/ISearchManager.aidl", |
| 77 | "core/java/android/app/ISearchManagerCallback.aidl", |
| 78 | "core/java/android/app/IServiceConnection.aidl", |
| 79 | "core/java/android/app/IStopUserCallback.aidl", |
| 80 | "core/java/android/app/job/IJobCallback.aidl", |
| 81 | "core/java/android/app/job/IJobScheduler.aidl", |
| 82 | "core/java/android/app/job/IJobService.aidl", |
| 83 | "core/java/android/app/ITransientNotification.aidl", |
| 84 | "core/java/android/app/IUidObserver.aidl", |
| 85 | "core/java/android/app/IUiAutomationConnection.aidl", |
| 86 | "core/java/android/app/IUiModeManager.aidl", |
| 87 | "core/java/android/app/IUserSwitchObserver.aidl", |
| 88 | "core/java/android/app/IWallpaperManager.aidl", |
| 89 | "core/java/android/app/IWallpaperManagerCallback.aidl", |
| 90 | "core/java/android/app/admin/IDeviceAdminService.aidl", |
| 91 | "core/java/android/app/admin/IDevicePolicyManager.aidl", |
| 92 | "core/java/android/app/trust/IStrongAuthTracker.aidl", |
| 93 | "core/java/android/app/trust/ITrustManager.aidl", |
| 94 | "core/java/android/app/trust/ITrustListener.aidl", |
| 95 | "core/java/android/app/backup/IBackupManager.aidl", |
| 96 | "core/java/android/app/backup/IBackupObserver.aidl", |
| 97 | "core/java/android/app/backup/IBackupManagerMonitor.aidl", |
| 98 | "core/java/android/app/backup/IFullBackupRestoreObserver.aidl", |
| 99 | "core/java/android/app/backup/IRestoreObserver.aidl", |
| 100 | "core/java/android/app/backup/IRestoreSession.aidl", |
| 101 | "core/java/android/app/backup/ISelectBackupTransportCallback.aidl", |
Jason Monk | 8f5f7ff | 2017-10-17 14:12:42 -0400 | [diff] [blame] | 102 | "core/java/android/app/slice/ISliceManager.aidl", |
Jason Monk | 74f5e36 | 2017-12-06 08:56:33 -0500 | [diff] [blame] | 103 | "core/java/android/app/slice/ISliceListener.aidl", |
Neil Fuller | b557907 | 2018-05-30 14:35:24 +0100 | [diff] [blame] | 104 | "core/java/android/app/timedetector/ITimeDetectorService.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 105 | "core/java/android/app/timezone/ICallback.aidl", |
| 106 | "core/java/android/app/timezone/IRulesManager.aidl", |
| 107 | "core/java/android/app/usage/ICacheQuotaService.aidl", |
| 108 | "core/java/android/app/usage/IStorageStatsManager.aidl", |
| 109 | "core/java/android/app/usage/IUsageStatsManager.aidl", |
| 110 | ":libbluetooth-binder-aidl", |
| 111 | "core/java/android/content/IClipboard.aidl", |
| 112 | "core/java/android/content/IContentService.aidl", |
| 113 | "core/java/android/content/IIntentReceiver.aidl", |
| 114 | "core/java/android/content/IIntentSender.aidl", |
| 115 | "core/java/android/content/IOnPrimaryClipChangedListener.aidl", |
| 116 | "core/java/android/content/IRestrictionsManager.aidl", |
| 117 | "core/java/android/content/ISyncAdapter.aidl", |
Philip P. Moltmann | 486b241 | 2018-01-03 11:29:01 -0800 | [diff] [blame] | 118 | "core/java/android/content/ISyncAdapterUnsyncableAccountCallback.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 119 | "core/java/android/content/ISyncContext.aidl", |
| 120 | "core/java/android/content/ISyncServiceAdapter.aidl", |
| 121 | "core/java/android/content/ISyncStatusObserver.aidl", |
| 122 | "core/java/android/content/om/IOverlayManager.aidl", |
Tony Mak | b0d2262 | 2018-01-18 12:49:49 +0000 | [diff] [blame] | 123 | "core/java/android/content/pm/ICrossProfileApps.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 124 | "core/java/android/content/pm/IDexModuleRegisterCallback.aidl", |
| 125 | "core/java/android/content/pm/ILauncherApps.aidl", |
| 126 | "core/java/android/content/pm/IOnAppsChangedListener.aidl", |
| 127 | "core/java/android/content/pm/IOnPermissionsChangeListener.aidl", |
| 128 | "core/java/android/content/pm/IOtaDexopt.aidl", |
| 129 | "core/java/android/content/pm/IPackageDataObserver.aidl", |
| 130 | "core/java/android/content/pm/IPackageDeleteObserver.aidl", |
| 131 | "core/java/android/content/pm/IPackageDeleteObserver2.aidl", |
| 132 | "core/java/android/content/pm/IPackageInstallObserver2.aidl", |
| 133 | "core/java/android/content/pm/IPackageInstaller.aidl", |
| 134 | "core/java/android/content/pm/IPackageInstallerCallback.aidl", |
| 135 | "core/java/android/content/pm/IPackageInstallerSession.aidl", |
| 136 | "core/java/android/content/pm/IPackageManager.aidl", |
| 137 | ":libbinder_aidl", |
| 138 | "core/java/android/content/pm/IPackageMoveObserver.aidl", |
| 139 | "core/java/android/content/pm/IPackageStatsObserver.aidl", |
| 140 | "core/java/android/content/pm/IPinItemRequest.aidl", |
| 141 | "core/java/android/content/pm/IShortcutService.aidl", |
Calin Juravle | 45f8b29 | 2017-11-07 18:49:43 -0800 | [diff] [blame] | 142 | "core/java/android/content/pm/dex/IArtManager.aidl", |
| 143 | "core/java/android/content/pm/dex/ISnapshotRuntimeProfileCallback.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 144 | "core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl", |
| 145 | "core/java/android/database/IContentObserver.aidl", |
| 146 | ":libcamera_client_aidl", |
| 147 | ":libcamera_client_framework_aidl", |
| 148 | "core/java/android/hardware/IConsumerIrService.aidl", |
| 149 | "core/java/android/hardware/ISerialManager.aidl", |
Vishwath Mohan | ecf00ce | 2018-04-05 10:28:24 -0700 | [diff] [blame] | 150 | "core/java/android/hardware/biometrics/IBiometricPromptReceiver.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 151 | "core/java/android/hardware/display/IDisplayManager.aidl", |
| 152 | "core/java/android/hardware/display/IDisplayManagerCallback.aidl", |
| 153 | "core/java/android/hardware/display/IVirtualDisplayCallback.aidl", |
Kevin Chyn | aae4a15 | 2018-01-18 11:48:09 -0800 | [diff] [blame] | 154 | "core/java/android/hardware/fingerprint/IFingerprintClientActiveCallback.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 155 | "core/java/android/hardware/fingerprint/IFingerprintService.aidl", |
| 156 | "core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 157 | "core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl", |
| 158 | "core/java/android/hardware/hdmi/IHdmiControlCallback.aidl", |
| 159 | "core/java/android/hardware/hdmi/IHdmiControlService.aidl", |
| 160 | "core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl", |
| 161 | "core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl", |
| 162 | "core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl", |
| 163 | "core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl", |
| 164 | "core/java/android/hardware/hdmi/IHdmiRecordListener.aidl", |
| 165 | "core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl", |
| 166 | "core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl", |
| 167 | "core/java/android/hardware/input/IInputManager.aidl", |
| 168 | "core/java/android/hardware/input/IInputDevicesChangedListener.aidl", |
| 169 | "core/java/android/hardware/input/ITabletModeChangedListener.aidl", |
| 170 | "core/java/android/hardware/location/IActivityRecognitionHardware.aidl", |
| 171 | "core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl", |
| 172 | "core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl", |
| 173 | "core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 174 | "core/java/android/hardware/location/IGeofenceHardware.aidl", |
| 175 | "core/java/android/hardware/location/IGeofenceHardwareCallback.aidl", |
| 176 | "core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl", |
| 177 | "core/java/android/hardware/location/IContextHubCallback.aidl", |
| 178 | "core/java/android/hardware/location/IContextHubClient.aidl", |
| 179 | "core/java/android/hardware/location/IContextHubClientCallback.aidl", |
| 180 | "core/java/android/hardware/location/IContextHubService.aidl", |
| 181 | "core/java/android/hardware/location/IContextHubTransactionCallback.aidl", |
Tomasz Wasilczyk | f151a7b | 2018-01-11 16:03:46 -0800 | [diff] [blame] | 182 | "core/java/android/hardware/radio/IAnnouncementListener.aidl", |
| 183 | "core/java/android/hardware/radio/ICloseHandle.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 184 | "core/java/android/hardware/radio/IRadioService.aidl", |
| 185 | "core/java/android/hardware/radio/ITuner.aidl", |
| 186 | "core/java/android/hardware/radio/ITunerCallback.aidl", |
| 187 | "core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl", |
| 188 | "core/java/android/hardware/usb/IUsbManager.aidl", |
Remi NGUYEN VAN | cfff01e | 2019-02-13 20:58:59 +0900 | [diff] [blame] | 189 | "core/java/android/net/ICaptivePortal.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 190 | "core/java/android/net/IConnectivityManager.aidl", |
| 191 | "core/java/android/net/IIpConnectivityMetrics.aidl", |
| 192 | "core/java/android/net/IEthernetManager.aidl", |
| 193 | "core/java/android/net/IEthernetServiceListener.aidl", |
| 194 | "core/java/android/net/INetdEventCallback.aidl", |
| 195 | "core/java/android/net/IIpSecService.aidl", |
| 196 | "core/java/android/net/INetworkManagementEventObserver.aidl", |
| 197 | "core/java/android/net/INetworkPolicyListener.aidl", |
| 198 | "core/java/android/net/INetworkPolicyManager.aidl", |
| 199 | "core/java/android/net/INetworkRecommendationProvider.aidl", |
| 200 | "core/java/android/net/INetworkScoreCache.aidl", |
| 201 | "core/java/android/net/INetworkScoreService.aidl", |
| 202 | "core/java/android/net/INetworkStatsService.aidl", |
| 203 | "core/java/android/net/INetworkStatsSession.aidl", |
junyulai | 7c46917 | 2019-01-16 20:23:34 +0800 | [diff] [blame] | 204 | "core/java/android/net/ISocketKeepaliveCallback.aidl", |
Benedict Wong | e40eab6 | 2018-11-14 17:50:13 -0800 | [diff] [blame] | 205 | "core/java/android/net/ITestNetworkManager.aidl", |
markchien | 26299ed | 2019-02-27 14:56:11 +0800 | [diff] [blame] | 206 | "core/java/android/net/ITetheringEventCallback.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 207 | "core/java/android/net/ITetheringStatsProvider.aidl", |
| 208 | "core/java/android/net/nsd/INsdManager.aidl", |
| 209 | "core/java/android/nfc/IAppCallback.aidl", |
| 210 | "core/java/android/nfc/INfcAdapter.aidl", |
| 211 | "core/java/android/nfc/INfcAdapterExtras.aidl", |
| 212 | "core/java/android/nfc/INfcTag.aidl", |
| 213 | "core/java/android/nfc/INfcCardEmulation.aidl", |
| 214 | "core/java/android/nfc/INfcFCardEmulation.aidl", |
| 215 | "core/java/android/nfc/INfcUnlockHandler.aidl", |
| 216 | "core/java/android/nfc/INfcDta.aidl", |
| 217 | "core/java/android/nfc/ITagRemovedCallback.aidl", |
Ruchi Kandoi | a1f9401 | 2017-12-08 15:07:03 -0800 | [diff] [blame] | 218 | "core/java/android/se/omapi/ISecureElementService.aidl", |
| 219 | "core/java/android/se/omapi/ISecureElementListener.aidl", |
| 220 | "core/java/android/se/omapi/ISecureElementChannel.aidl", |
| 221 | "core/java/android/se/omapi/ISecureElementReader.aidl", |
| 222 | "core/java/android/se/omapi/ISecureElementSession.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 223 | "core/java/android/os/IBatteryPropertiesRegistrar.aidl", |
| 224 | "core/java/android/os/ICancellationSignal.aidl", |
| 225 | "core/java/android/os/IDeviceIdentifiersPolicyService.aidl", |
| 226 | "core/java/android/os/IDeviceIdleController.aidl", |
Howard Chen | f17f42b | 2019-01-07 14:10:44 +0800 | [diff] [blame] | 227 | "core/java/android/os/IDynamicAndroidService.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 228 | "core/java/android/os/IHardwarePropertiesManager.aidl", |
Colin Cross | 05c9e5c | 2018-10-26 22:34:06 -0700 | [diff] [blame] | 229 | ":libincident_aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 230 | "core/java/android/os/IMaintenanceActivityListener.aidl", |
| 231 | "core/java/android/os/IMessenger.aidl", |
| 232 | "core/java/android/os/INetworkActivityListener.aidl", |
| 233 | "core/java/android/os/INetworkManagementService.aidl", |
| 234 | "core/java/android/os/IPermissionController.aidl", |
| 235 | "core/java/android/os/IProcessInfoService.aidl", |
| 236 | "core/java/android/os/IProgressListener.aidl", |
| 237 | "core/java/android/os/IPowerManager.aidl", |
| 238 | "core/java/android/os/IRecoverySystem.aidl", |
| 239 | "core/java/android/os/IRecoverySystemProgressListener.aidl", |
| 240 | "core/java/android/os/IRemoteCallback.aidl", |
| 241 | "core/java/android/os/ISchedulingPolicyService.aidl", |
Colin Cross | 05c9e5c | 2018-10-26 22:34:06 -0700 | [diff] [blame] | 242 | ":statsd_aidl", |
Tao Bao | 07342dc | 2017-01-24 15:08:21 -0800 | [diff] [blame] | 243 | "core/java/android/os/ISystemUpdateManager.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 244 | "core/java/android/os/IThermalEventListener.aidl", |
| 245 | "core/java/android/os/IThermalService.aidl", |
| 246 | "core/java/android/os/IUpdateLock.aidl", |
| 247 | "core/java/android/os/IUserManager.aidl", |
| 248 | "core/java/android/os/IVibratorService.aidl", |
| 249 | "core/java/android/os/storage/IStorageManager.aidl", |
| 250 | "core/java/android/os/storage/IStorageEventListener.aidl", |
| 251 | "core/java/android/os/storage/IStorageShutdownObserver.aidl", |
| 252 | "core/java/android/os/storage/IObbActionListener.aidl", |
Logan Chien | 404eb2b | 2018-02-14 13:53:04 +0800 | [diff] [blame] | 253 | ":keystore_aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 254 | "core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl", |
| 255 | "core/java/android/service/autofill/IAutoFillService.aidl", |
Felipe Leme | bc055b0 | 2018-01-05 17:04:10 -0800 | [diff] [blame] | 256 | "core/java/android/service/autofill/IAutofillFieldClassificationService.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 257 | "core/java/android/service/autofill/IFillCallback.aidl", |
| 258 | "core/java/android/service/autofill/ISaveCallback.aidl", |
| 259 | "core/java/android/service/carrier/ICarrierService.aidl", |
| 260 | "core/java/android/service/carrier/ICarrierMessagingCallback.aidl", |
| 261 | "core/java/android/service/carrier/ICarrierMessagingService.aidl", |
| 262 | "core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl", |
| 263 | "core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl", |
| 264 | "core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl", |
| 265 | "core/java/android/service/euicc/IEuiccService.aidl", |
| 266 | "core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl", |
| 267 | "core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl", |
| 268 | "core/java/android/service/euicc/IGetEidCallback.aidl", |
| 269 | "core/java/android/service/euicc/IGetEuiccInfoCallback.aidl", |
| 270 | "core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl", |
Qingxi Li | 5405836 | 2017-12-13 15:13:02 -0800 | [diff] [blame] | 271 | "core/java/android/service/euicc/IGetOtaStatusCallback.aidl", |
Qingxi Li | 6019f9c | 2017-12-14 15:36:06 -0800 | [diff] [blame] | 272 | "core/java/android/service/euicc/IOtaStatusChangedCallback.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 273 | "core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl", |
| 274 | "core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl", |
| 275 | "core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl", |
| 276 | "core/java/android/service/gatekeeper/IGateKeeperService.aidl", |
| 277 | "core/java/android/service/notification/INotificationListener.aidl", |
| 278 | "core/java/android/service/notification/IStatusBarNotificationHolder.aidl", |
| 279 | "core/java/android/service/notification/IConditionListener.aidl", |
| 280 | "core/java/android/service/notification/IConditionProvider.aidl", |
| 281 | "core/java/android/service/settings/suggestions/ISuggestionService.aidl", |
| 282 | "core/java/android/service/vr/IPersistentVrStateCallbacks.aidl", |
| 283 | "core/java/android/service/vr/IVrListener.aidl", |
| 284 | "core/java/android/service/vr/IVrManager.aidl", |
| 285 | "core/java/android/service/vr/IVrStateCallbacks.aidl", |
| 286 | "core/java/android/print/ILayoutResultCallback.aidl", |
| 287 | "core/java/android/print/IPrinterDiscoveryObserver.aidl", |
| 288 | "core/java/android/print/IPrintDocumentAdapter.aidl", |
| 289 | "core/java/android/print/IPrintDocumentAdapterObserver.aidl", |
| 290 | "core/java/android/print/IPrintJobStateChangeListener.aidl", |
| 291 | "core/java/android/print/IPrintServicesChangeListener.aidl", |
| 292 | "core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl", |
| 293 | "core/java/android/print/IPrintManager.aidl", |
| 294 | "core/java/android/print/IPrintSpooler.aidl", |
| 295 | "core/java/android/print/IPrintSpoolerCallbacks.aidl", |
| 296 | "core/java/android/print/IPrintSpoolerClient.aidl", |
| 297 | "core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl", |
| 298 | "core/java/android/printservice/recommendation/IRecommendationService.aidl", |
| 299 | "core/java/android/print/IWriteResultCallback.aidl", |
| 300 | "core/java/android/printservice/IPrintService.aidl", |
| 301 | "core/java/android/printservice/IPrintServiceClient.aidl", |
| 302 | "core/java/android/companion/ICompanionDeviceManager.aidl", |
| 303 | "core/java/android/companion/ICompanionDeviceDiscoveryService.aidl", |
| 304 | "core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl", |
| 305 | "core/java/android/companion/IFindDeviceCallback.aidl", |
| 306 | "core/java/android/service/dreams/IDreamManager.aidl", |
| 307 | "core/java/android/service/dreams/IDreamService.aidl", |
| 308 | "core/java/android/service/oemlock/IOemLockService.aidl", |
| 309 | "core/java/android/service/persistentdata/IPersistentDataBlockService.aidl", |
| 310 | "core/java/android/service/trust/ITrustAgentService.aidl", |
| 311 | "core/java/android/service/trust/ITrustAgentServiceCallback.aidl", |
| 312 | "core/java/android/service/voice/IVoiceInteractionService.aidl", |
| 313 | "core/java/android/service/voice/IVoiceInteractionSession.aidl", |
| 314 | "core/java/android/service/voice/IVoiceInteractionSessionService.aidl", |
| 315 | "core/java/android/service/wallpaper/IWallpaperConnection.aidl", |
| 316 | "core/java/android/service/wallpaper/IWallpaperEngine.aidl", |
| 317 | "core/java/android/service/wallpaper/IWallpaperService.aidl", |
| 318 | "core/java/android/service/chooser/IChooserTargetService.aidl", |
| 319 | "core/java/android/service/chooser/IChooserTargetResult.aidl", |
| 320 | "core/java/android/service/resolver/IResolverRankerService.aidl", |
| 321 | "core/java/android/service/resolver/IResolverRankerResult.aidl", |
Abodunrinwa Toki | d32906c | 2018-01-18 04:34:44 -0800 | [diff] [blame] | 322 | "core/java/android/service/textclassifier/ITextClassificationCallback.aidl", |
| 323 | "core/java/android/service/textclassifier/ITextClassifierService.aidl", |
| 324 | "core/java/android/service/textclassifier/ITextLinksCallback.aidl", |
| 325 | "core/java/android/service/textclassifier/ITextSelectionCallback.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 326 | "core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl", |
| 327 | "core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl", |
| 328 | "core/java/android/view/accessibility/IAccessibilityManager.aidl", |
| 329 | "core/java/android/view/accessibility/IAccessibilityManagerClient.aidl", |
| 330 | "core/java/android/view/autofill/IAutoFillManager.aidl", |
| 331 | "core/java/android/view/autofill/IAutoFillManagerClient.aidl", |
| 332 | "core/java/android/view/autofill/IAutofillWindowPresenter.aidl", |
| 333 | "core/java/android/view/IApplicationToken.aidl", |
| 334 | "core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl", |
| 335 | "core/java/android/view/IDockedStackListener.aidl", |
| 336 | "core/java/android/view/IGraphicsStats.aidl", |
| 337 | "core/java/android/view/IGraphicsStatsCallback.aidl", |
| 338 | "core/java/android/view/IInputFilter.aidl", |
| 339 | "core/java/android/view/IInputFilterHost.aidl", |
| 340 | "core/java/android/view/IOnKeyguardExitResult.aidl", |
| 341 | "core/java/android/view/IPinnedStackController.aidl", |
| 342 | "core/java/android/view/IPinnedStackListener.aidl", |
Jorim Jaggi | 33a701a | 2017-12-01 14:58:18 +0100 | [diff] [blame] | 343 | "core/java/android/view/IRemoteAnimationRunner.aidl", |
Winson Chung | e2d7217 | 2018-01-25 17:46:20 +0000 | [diff] [blame] | 344 | "core/java/android/view/IRecentsAnimationController.aidl", |
| 345 | "core/java/android/view/IRecentsAnimationRunner.aidl", |
Jorim Jaggi | 33a701a | 2017-12-01 14:58:18 +0100 | [diff] [blame] | 346 | "core/java/android/view/IRemoteAnimationFinishedCallback.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 347 | "core/java/android/view/IRotationWatcher.aidl", |
| 348 | "core/java/android/view/IWallpaperVisibilityListener.aidl", |
| 349 | "core/java/android/view/IWindow.aidl", |
| 350 | "core/java/android/view/IWindowFocusObserver.aidl", |
| 351 | "core/java/android/view/IWindowId.aidl", |
| 352 | "core/java/android/view/IWindowManager.aidl", |
| 353 | "core/java/android/view/IWindowSession.aidl", |
| 354 | "core/java/android/view/IWindowSessionCallback.aidl", |
| 355 | "core/java/android/webkit/IWebViewUpdateService.aidl", |
| 356 | "core/java/android/speech/IRecognitionListener.aidl", |
| 357 | "core/java/android/speech/IRecognitionService.aidl", |
| 358 | "core/java/android/speech/tts/ITextToSpeechCallback.aidl", |
| 359 | "core/java/android/speech/tts/ITextToSpeechService.aidl", |
Svetoslav Ganov | 2d20fb4 | 2018-02-08 15:52:10 -0800 | [diff] [blame] | 360 | "core/java/com/android/internal/app/IAppOpsActiveCallback.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 361 | "core/java/com/android/internal/app/IAppOpsCallback.aidl", |
| 362 | "core/java/com/android/internal/app/IAppOpsService.aidl", |
| 363 | "core/java/com/android/internal/app/IBatteryStats.aidl", |
| 364 | "core/java/com/android/internal/app/ISoundTriggerService.aidl", |
| 365 | "core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl", |
| 366 | "core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl", |
| 367 | "core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl", |
| 368 | "core/java/com/android/internal/app/IVoiceInteractor.aidl", |
| 369 | "core/java/com/android/internal/app/IVoiceInteractorCallback.aidl", |
| 370 | "core/java/com/android/internal/app/IVoiceInteractorRequest.aidl", |
| 371 | "core/java/com/android/internal/app/IMediaContainerService.aidl", |
| 372 | "core/java/com/android/internal/app/procstats/IProcessStats.aidl", |
| 373 | "core/java/com/android/internal/appwidget/IAppWidgetService.aidl", |
| 374 | "core/java/com/android/internal/appwidget/IAppWidgetHost.aidl", |
| 375 | "core/java/com/android/internal/backup/IBackupTransport.aidl", |
| 376 | "core/java/com/android/internal/backup/IObbBackupService.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 377 | "core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl", |
| 378 | "core/java/com/android/internal/net/INetworkWatchlistManager.aidl", |
| 379 | "core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl", |
| 380 | "core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl", |
| 381 | "core/java/com/android/internal/policy/IKeyguardExitCallback.aidl", |
| 382 | "core/java/com/android/internal/policy/IKeyguardService.aidl", |
| 383 | "core/java/com/android/internal/policy/IKeyguardStateCallback.aidl", |
| 384 | "core/java/com/android/internal/policy/IShortcutService.aidl", |
| 385 | "core/java/com/android/internal/os/IDropBoxManagerService.aidl", |
| 386 | "core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl", |
| 387 | "core/java/com/android/internal/os/IResultReceiver.aidl", |
| 388 | "core/java/com/android/internal/os/IShellCallback.aidl", |
| 389 | "core/java/com/android/internal/statusbar/IStatusBar.aidl", |
| 390 | "core/java/com/android/internal/statusbar/IStatusBarService.aidl", |
| 391 | "core/java/com/android/internal/textservice/ISpellCheckerService.aidl", |
| 392 | "core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl", |
| 393 | "core/java/com/android/internal/textservice/ISpellCheckerSession.aidl", |
| 394 | "core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl", |
| 395 | "core/java/com/android/internal/textservice/ITextServicesManager.aidl", |
| 396 | "core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl", |
| 397 | "core/java/com/android/internal/view/IDragAndDropPermissions.aidl", |
| 398 | "core/java/com/android/internal/view/IInputContext.aidl", |
| 399 | "core/java/com/android/internal/view/IInputContextCallback.aidl", |
| 400 | "core/java/com/android/internal/view/IInputMethod.aidl", |
| 401 | "core/java/com/android/internal/view/IInputMethodClient.aidl", |
| 402 | "core/java/com/android/internal/view/IInputMethodManager.aidl", |
| 403 | "core/java/com/android/internal/view/IInputMethodSession.aidl", |
| 404 | "core/java/com/android/internal/view/IInputSessionCallback.aidl", |
| 405 | "core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl", |
| 406 | "core/java/com/android/internal/widget/ILockSettings.aidl", |
| 407 | "core/java/com/android/internal/widget/IRemoteViewsFactory.aidl", |
| 408 | "keystore/java/android/security/IKeyChainAliasCallback.aidl", |
| 409 | "keystore/java/android/security/IKeyChainService.aidl", |
| 410 | "location/java/android/location/IBatchedLocationCallback.aidl", |
| 411 | "location/java/android/location/ICountryDetector.aidl", |
| 412 | "location/java/android/location/ICountryListener.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 413 | "location/java/android/location/IGeocodeProvider.aidl", |
| 414 | "location/java/android/location/IGeofenceProvider.aidl", |
| 415 | "location/java/android/location/IGnssStatusListener.aidl", |
| 416 | "location/java/android/location/IGnssStatusProvider.aidl", |
| 417 | "location/java/android/location/IGnssMeasurementsListener.aidl", |
| 418 | "location/java/android/location/IGnssNavigationMessageListener.aidl", |
| 419 | "location/java/android/location/ILocationListener.aidl", |
| 420 | "location/java/android/location/ILocationManager.aidl", |
| 421 | "location/java/android/location/IFusedGeofenceHardware.aidl", |
| 422 | "location/java/android/location/IGpsGeofenceHardware.aidl", |
| 423 | "location/java/android/location/INetInitiatedListener.aidl", |
| 424 | "location/java/com/android/internal/location/ILocationProvider.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 425 | "media/java/android/media/IAudioFocusDispatcher.aidl", |
| 426 | "media/java/android/media/IAudioRoutesObserver.aidl", |
Jaewan Kim | 379e30d | 2018-01-29 11:57:04 +0900 | [diff] [blame] | 427 | "media/java/android/media/IAudioService.aidl", |
Eric Laurent | 1d3cdce | 2018-01-20 10:31:21 -0800 | [diff] [blame] | 428 | "media/java/android/media/IAudioServerStateDispatcher.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 429 | "media/java/android/media/IMediaHTTPConnection.aidl", |
| 430 | "media/java/android/media/IMediaHTTPService.aidl", |
| 431 | "media/java/android/media/IMediaResourceMonitor.aidl", |
| 432 | "media/java/android/media/IMediaRouterClient.aidl", |
| 433 | "media/java/android/media/IMediaRouterService.aidl", |
| 434 | "media/java/android/media/IMediaScannerListener.aidl", |
| 435 | "media/java/android/media/IMediaScannerService.aidl", |
| 436 | "media/java/android/media/IPlaybackConfigDispatcher.aidl", |
Jaewan Kim | 379e30d | 2018-01-29 11:57:04 +0900 | [diff] [blame] | 437 | "media/java/android/media/ISessionTokensListener.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 438 | ":libaudioclient_aidl", |
| 439 | "media/java/android/media/IRecordingConfigDispatcher.aidl", |
| 440 | "media/java/android/media/IRemoteDisplayCallback.aidl", |
| 441 | "media/java/android/media/IRemoteDisplayProvider.aidl", |
| 442 | "media/java/android/media/IRemoteVolumeController.aidl", |
| 443 | "media/java/android/media/IRemoteVolumeObserver.aidl", |
| 444 | "media/java/android/media/IRingtonePlayer.aidl", |
| 445 | "media/java/android/media/IVolumeController.aidl", |
| 446 | "media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl", |
| 447 | "media/java/android/media/midi/IBluetoothMidiService.aidl", |
| 448 | "media/java/android/media/midi/IMidiDeviceListener.aidl", |
| 449 | "media/java/android/media/midi/IMidiDeviceOpenCallback.aidl", |
| 450 | "media/java/android/media/midi/IMidiDeviceServer.aidl", |
| 451 | "media/java/android/media/midi/IMidiManager.aidl", |
| 452 | "media/java/android/media/projection/IMediaProjection.aidl", |
| 453 | "media/java/android/media/projection/IMediaProjectionCallback.aidl", |
| 454 | "media/java/android/media/projection/IMediaProjectionManager.aidl", |
| 455 | "media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl", |
| 456 | "media/java/android/media/session/IActiveSessionsListener.aidl", |
| 457 | "media/java/android/media/session/ICallback.aidl", |
| 458 | "media/java/android/media/session/IOnMediaKeyListener.aidl", |
| 459 | "media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl", |
| 460 | "media/java/android/media/session/ISession.aidl", |
| 461 | "media/java/android/media/session/ISessionCallback.aidl", |
| 462 | "media/java/android/media/session/ISessionController.aidl", |
| 463 | "media/java/android/media/session/ISessionControllerCallback.aidl", |
| 464 | "media/java/android/media/session/ISessionManager.aidl", |
Philip P. Moltmann | 18e3eb8 | 2018-03-09 16:55:55 -0800 | [diff] [blame] | 465 | "media/java/android/media/soundtrigger/ISoundTriggerDetectionService.aidl", |
| 466 | "media/java/android/media/soundtrigger/ISoundTriggerDetectionServiceClient.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 467 | "media/java/android/media/tv/ITvInputClient.aidl", |
| 468 | "media/java/android/media/tv/ITvInputHardware.aidl", |
| 469 | "media/java/android/media/tv/ITvInputHardwareCallback.aidl", |
| 470 | "media/java/android/media/tv/ITvInputManager.aidl", |
| 471 | "media/java/android/media/tv/ITvInputManagerCallback.aidl", |
| 472 | "media/java/android/media/tv/ITvInputService.aidl", |
| 473 | "media/java/android/media/tv/ITvInputServiceCallback.aidl", |
| 474 | "media/java/android/media/tv/ITvInputSession.aidl", |
| 475 | "media/java/android/media/tv/ITvInputSessionCallback.aidl", |
| 476 | "media/java/android/media/tv/ITvRemoteProvider.aidl", |
| 477 | "media/java/android/media/tv/ITvRemoteServiceInput.aidl", |
| 478 | "media/java/android/service/media/IMediaBrowserService.aidl", |
| 479 | "media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl", |
sqian | cae1f26 | 2018-06-06 22:54:04 -0700 | [diff] [blame] | 480 | "telecomm/java/com/android/internal/telecom/ICallRedirectionAdapter.aidl", |
| 481 | "telecomm/java/com/android/internal/telecom/ICallRedirectionService.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 482 | "telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl", |
| 483 | "telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl", |
| 484 | "telecomm/java/com/android/internal/telecom/IVideoCallback.aidl", |
| 485 | "telecomm/java/com/android/internal/telecom/IVideoProvider.aidl", |
| 486 | "telecomm/java/com/android/internal/telecom/IConnectionService.aidl", |
| 487 | "telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl", |
| 488 | "telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl", |
| 489 | "telecomm/java/com/android/internal/telecom/IInCallService.aidl", |
Hall Liu | c47570d | 2018-12-06 17:53:25 -0800 | [diff] [blame] | 490 | "telecomm/java/com/android/internal/telecom/IPhoneAccountSuggestionCallback.aidl", |
| 491 | "telecomm/java/com/android/internal/telecom/IPhoneAccountSuggestionService.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 492 | "telecomm/java/com/android/internal/telecom/ITelecomService.aidl", |
| 493 | "telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl", |
Mohamed Abdalkader | 48e18c5 | 2018-01-22 15:43:37 -0800 | [diff] [blame] | 494 | "telephony/java/android/telephony/data/IDataService.aidl", |
| 495 | "telephony/java/android/telephony/data/IDataServiceCallback.aidl", |
Jack Yu | a3ab575 | 2018-02-20 14:08:57 -0800 | [diff] [blame] | 496 | "telephony/java/android/telephony/data/IQualifiedNetworksService.aidl", |
| 497 | "telephony/java/android/telephony/data/IQualifiedNetworksServiceCallback.aidl", |
Brad Ebinger | 2646254 | 2018-01-11 10:27:43 -0800 | [diff] [blame] | 498 | "telephony/java/android/telephony/ims/aidl/IImsCallSessionListener.aidl", |
Brad Ebinger | 112c36d | 2018-01-16 09:33:47 -0800 | [diff] [blame] | 499 | "telephony/java/android/telephony/ims/aidl/IImsCapabilityCallback.aidl", |
| 500 | "telephony/java/android/telephony/ims/aidl/IImsConfig.aidl", |
| 501 | "telephony/java/android/telephony/ims/aidl/IImsConfigCallback.aidl", |
| 502 | "telephony/java/android/telephony/ims/aidl/IImsMmTelFeature.aidl", |
| 503 | "telephony/java/android/telephony/ims/aidl/IImsMmTelListener.aidl", |
| 504 | "telephony/java/android/telephony/ims/aidl/IImsRegistration.aidl", |
| 505 | "telephony/java/android/telephony/ims/aidl/IImsRegistrationCallback.aidl", |
| 506 | "telephony/java/android/telephony/ims/aidl/IImsRcsFeature.aidl", |
| 507 | "telephony/java/android/telephony/ims/aidl/IImsServiceController.aidl", |
| 508 | "telephony/java/android/telephony/ims/aidl/IImsServiceControllerListener.aidl", |
Logan Chien | 71ddfea | 2018-02-27 16:43:50 +0800 | [diff] [blame] | 509 | "telephony/java/android/telephony/ims/aidl/IImsSmsListener.aidl", |
Sahin Caliskan | 7719db2 | 2018-12-03 14:06:39 -0800 | [diff] [blame] | 510 | "telephony/java/android/telephony/ims/aidl/IRcs.aidl", |
Brad Ebinger | 2646254 | 2018-01-11 10:27:43 -0800 | [diff] [blame] | 511 | "telephony/java/android/telephony/mbms/IMbmsDownloadSessionCallback.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 512 | "telephony/java/android/telephony/mbms/IMbmsStreamingSessionCallback.aidl", |
Hall Liu | a7b0c1f | 2018-04-19 17:57:58 -0700 | [diff] [blame] | 513 | "telephony/java/android/telephony/mbms/IMbmsGroupCallSessionCallback.aidl", |
Hall Liu | 7953997 | 2018-03-19 18:12:23 -0700 | [diff] [blame] | 514 | "telephony/java/android/telephony/mbms/IDownloadStatusListener.aidl", |
| 515 | "telephony/java/android/telephony/mbms/IDownloadProgressListener.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 516 | "telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl", |
Hall Liu | a7b0c1f | 2018-04-19 17:57:58 -0700 | [diff] [blame] | 517 | "telephony/java/android/telephony/mbms/IGroupCallCallback.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 518 | "telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl", |
| 519 | "telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl", |
Hall Liu | a7b0c1f | 2018-04-19 17:57:58 -0700 | [diff] [blame] | 520 | "telephony/java/android/telephony/mbms/vendor/IMbmsGroupCallService.aidl", |
Nathan Harold | 2aa2cc1 | 2018-09-27 18:49:16 -0700 | [diff] [blame] | 521 | "telephony/java/android/telephony/ICellInfoCallback.aidl", |
Jack Yu | d5f1de1 | 2017-12-21 11:00:05 -0800 | [diff] [blame] | 522 | "telephony/java/android/telephony/INetworkService.aidl", |
| 523 | "telephony/java/android/telephony/INetworkServiceCallback.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 524 | "telephony/java/com/android/ims/internal/IImsCallSession.aidl", |
| 525 | "telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl", |
| 526 | "telephony/java/com/android/ims/internal/IImsConfig.aidl", |
| 527 | "telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl", |
| 528 | "telephony/java/com/android/ims/internal/IImsEcbm.aidl", |
| 529 | "telephony/java/com/android/ims/internal/IImsEcbmListener.aidl", |
| 530 | "telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl", |
| 531 | "telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl", |
| 532 | "telephony/java/com/android/ims/internal/IImsMMTelFeature.aidl", |
| 533 | "telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl", |
| 534 | "telephony/java/com/android/ims/internal/IImsRcsFeature.aidl", |
| 535 | "telephony/java/com/android/ims/internal/IImsService.aidl", |
| 536 | "telephony/java/com/android/ims/internal/IImsServiceController.aidl", |
| 537 | "telephony/java/com/android/ims/internal/IImsServiceFeatureCallback.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 538 | "telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl", |
| 539 | "telephony/java/com/android/ims/internal/IImsUt.aidl", |
| 540 | "telephony/java/com/android/ims/internal/IImsUtListener.aidl", |
| 541 | "telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl", |
| 542 | "telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 543 | "telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl", |
| 544 | "telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl", |
| 545 | "telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl", |
| 546 | "telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl", |
| 547 | "telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl", |
| 548 | "telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl", |
| 549 | "telephony/java/com/android/ims/ImsConfigListener.aidl", |
| 550 | "telephony/java/com/android/internal/telephony/IApnSourceService.aidl", |
| 551 | "telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl", |
| 552 | "telephony/java/com/android/internal/telephony/IMms.aidl", |
Hall Liu | 5314036 | 2018-11-28 10:44:22 -0800 | [diff] [blame] | 553 | "telephony/java/com/android/internal/telephony/INumberVerificationCallback.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 554 | "telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl", |
| 555 | "telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl", |
| 556 | "telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl", |
Malcolm Chen | fd11df2 | 2019-02-05 17:19:48 -0800 | [diff] [blame] | 557 | "telephony/java/com/android/internal/telephony/ISetOpportunisticDataCallback.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 558 | "telephony/java/com/android/internal/telephony/ISms.aidl", |
| 559 | "telephony/java/com/android/internal/telephony/ISub.aidl", |
Sooraj Sasindran | 9ac6a8b | 2019-01-08 13:23:17 -0800 | [diff] [blame] | 560 | "telephony/java/com/android/internal/telephony/IOns.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 561 | "telephony/java/com/android/internal/telephony/ITelephony.aidl", |
| 562 | "telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl", |
danielwbhuang | a335880 | 2019-03-11 11:52:10 +0800 | [diff] [blame] | 563 | "telephony/java/com/android/internal/telephony/IUpdateAvailableNetworksCallback.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 564 | "telephony/java/com/android/internal/telephony/IWapPushManager.aidl", |
Holly Jiuyu Sun | fb1c784 | 2017-12-21 18:44:59 -0800 | [diff] [blame] | 565 | "telephony/java/com/android/internal/telephony/euicc/IAuthenticateServerCallback.aidl", |
| 566 | "telephony/java/com/android/internal/telephony/euicc/ICancelSessionCallback.aidl", |
Holly Jiuyu Sun | bbc8580 | 2017-12-21 18:44:59 -0800 | [diff] [blame] | 567 | "telephony/java/com/android/internal/telephony/euicc/IDeleteProfileCallback.aidl", |
| 568 | "telephony/java/com/android/internal/telephony/euicc/IDisableProfileCallback.aidl", |
Holly Jiuyu Sun | 5c11024 | 2017-12-21 18:44:59 -0800 | [diff] [blame] | 569 | "telephony/java/com/android/internal/telephony/euicc/IEuiccCardController.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 570 | "telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl", |
Holly Jiuyu Sun | 5c11024 | 2017-12-21 18:44:59 -0800 | [diff] [blame] | 571 | "telephony/java/com/android/internal/telephony/euicc/IGetAllProfilesCallback.aidl", |
Holly Jiuyu Sun | bbc8580 | 2017-12-21 18:44:59 -0800 | [diff] [blame] | 572 | "telephony/java/com/android/internal/telephony/euicc/IGetDefaultSmdpAddressCallback.aidl", |
Holly Jiuyu Sun | fb1c784 | 2017-12-21 18:44:59 -0800 | [diff] [blame] | 573 | "telephony/java/com/android/internal/telephony/euicc/IGetEuiccChallengeCallback.aidl", |
| 574 | "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo1Callback.aidl", |
| 575 | "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo2Callback.aidl", |
Holly Jiuyu Sun | bbc8580 | 2017-12-21 18:44:59 -0800 | [diff] [blame] | 576 | "telephony/java/com/android/internal/telephony/euicc/IGetProfileCallback.aidl", |
Holly Jiuyu Sun | fb1c784 | 2017-12-21 18:44:59 -0800 | [diff] [blame] | 577 | "telephony/java/com/android/internal/telephony/euicc/IGetRulesAuthTableCallback.aidl", |
Holly Jiuyu Sun | bbc8580 | 2017-12-21 18:44:59 -0800 | [diff] [blame] | 578 | "telephony/java/com/android/internal/telephony/euicc/IGetSmdsAddressCallback.aidl", |
Holly Jiuyu Sun | fb1c784 | 2017-12-21 18:44:59 -0800 | [diff] [blame] | 579 | "telephony/java/com/android/internal/telephony/euicc/IListNotificationsCallback.aidl", |
| 580 | "telephony/java/com/android/internal/telephony/euicc/ILoadBoundProfilePackageCallback.aidl", |
| 581 | "telephony/java/com/android/internal/telephony/euicc/IPrepareDownloadCallback.aidl", |
| 582 | "telephony/java/com/android/internal/telephony/euicc/IRemoveNotificationFromListCallback.aidl", |
Holly Jiuyu Sun | bbc8580 | 2017-12-21 18:44:59 -0800 | [diff] [blame] | 583 | "telephony/java/com/android/internal/telephony/euicc/IResetMemoryCallback.aidl", |
Holly Jiuyu Sun | fb1c784 | 2017-12-21 18:44:59 -0800 | [diff] [blame] | 584 | "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationCallback.aidl", |
| 585 | "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationListCallback.aidl", |
Holly Jiuyu Sun | bbc8580 | 2017-12-21 18:44:59 -0800 | [diff] [blame] | 586 | "telephony/java/com/android/internal/telephony/euicc/ISetDefaultSmdpAddressCallback.aidl", |
| 587 | "telephony/java/com/android/internal/telephony/euicc/ISetNicknameCallback.aidl", |
| 588 | "telephony/java/com/android/internal/telephony/euicc/ISwitchToProfileCallback.aidl", |
Mehdi Alizadeh | 0037dde | 2017-11-28 15:31:28 -0800 | [diff] [blame] | 589 | "wifi/java/android/net/wifi/ISoftApCallback.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 590 | "wifi/java/android/net/wifi/IWifiManager.aidl", |
| 591 | "wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl", |
| 592 | "wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl", |
| 593 | "wifi/java/android/net/wifi/aware/IWifiAwareMacAddressProvider.aidl", |
| 594 | "wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl", |
| 595 | "wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl", |
| 596 | "wifi/java/android/net/wifi/rtt/IRttCallback.aidl", |
| 597 | "wifi/java/android/net/wifi/rtt/IWifiRttManager.aidl", |
| 598 | "wifi/java/android/net/wifi/hotspot2/IProvisioningCallback.aidl", |
| 599 | "wifi/java/android/net/wifi/IWifiScanner.aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 600 | "packages/services/PacProcessor/com/android/net/IProxyService.aidl", |
| 601 | "packages/services/Proxy/com/android/net/IProxyCallback.aidl", |
| 602 | "packages/services/Proxy/com/android/net/IProxyPortListener.aidl", |
| 603 | "core/java/android/service/quicksettings/IQSService.aidl", |
| 604 | "core/java/android/service/quicksettings/IQSTileService.aidl", |
| 605 | |
| 606 | ":libupdate_engine_aidl", |
| 607 | |
| 608 | ":storaged_aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 609 | ":vold_aidl", |
Howard Chen | f17f42b | 2019-01-07 14:10:44 +0800 | [diff] [blame] | 610 | ":gsiservice_aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 611 | ":installd_aidl", |
Nandana Dutt | b3f7168 | 2018-10-03 10:01:25 +0100 | [diff] [blame] | 612 | ":dumpstate_aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 613 | |
| 614 | "lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl", |
| 615 | "lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl", |
| 616 | "lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl", |
| 617 | "lowpan/java/android/net/lowpan/ILowpanInterface.aidl", |
| 618 | "lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl", |
| 619 | "lowpan/java/android/net/lowpan/ILowpanManager.aidl", |
| 620 | |
| 621 | "core/java/android/app/admin/SecurityLogTags.logtags", |
| 622 | "core/java/android/content/EventLogTags.logtags", |
| 623 | "core/java/android/speech/tts/EventLogTags.logtags", |
| 624 | "core/java/android/net/EventLogTags.logtags", |
Makoto Onuki | 49392d3 | 2018-04-11 13:51:02 -0700 | [diff] [blame] | 625 | "core/java/android/os/EventLogTags.logtags", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 626 | "core/java/android/webkit/EventLogTags.logtags", |
Ben Gruver | c7ffbe6 | 2018-01-19 11:28:04 -0800 | [diff] [blame] | 627 | "core/java/com/android/internal/app/EventLogTags.logtags", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 628 | "core/java/com/android/internal/logging/EventLogTags.logtags", |
Siyuan Zhou | bafcd7b | 2017-12-04 13:02:11 -0800 | [diff] [blame] | 629 | "core/java/com/android/server/DropboxLogTags.logtags", |
Ricardo Quesada | ab086c5 | 2017-12-11 11:26:53 -0800 | [diff] [blame] | 630 | "core/java/org/chromium/arc/EventLogTags.logtags", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 631 | |
Inseob Kim | 5b1cc27 | 2018-12-10 07:06:25 +0000 | [diff] [blame] | 632 | ":platform-properties", |
| 633 | |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 634 | ":framework-statslog-gen", |
| 635 | ], |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 636 | |
| 637 | aidl: { |
Colin Cross | 4eb0784 | 2017-12-14 15:18:42 -0800 | [diff] [blame] | 638 | export_include_dirs: [ |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 639 | // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS |
| 640 | "core/java", |
| 641 | "graphics/java", |
| 642 | "location/java", |
| 643 | "lowpan/java", |
| 644 | "media/java", |
| 645 | "media/mca/effect/java", |
| 646 | "media/mca/filterfw/java", |
| 647 | "media/mca/filterpacks/java", |
| 648 | "drm/java", |
| 649 | "opengl/java", |
| 650 | "sax/java", |
| 651 | "telecomm/java", |
| 652 | "telephony/java", |
| 653 | "wifi/java", |
| 654 | "keystore/java", |
| 655 | "rs/java", |
| 656 | ], |
| 657 | |
| 658 | include_dirs: [ |
| 659 | "system/update_engine/binder_bindings", |
| 660 | "frameworks/native/aidl/binder", |
Nandana Dutt | b3f7168 | 2018-10-03 10:01:25 +0100 | [diff] [blame] | 661 | "frameworks/native/cmds/dumpstate/binder", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 662 | "frameworks/av/camera/aidl", |
| 663 | "frameworks/av/media/libaudioclient/aidl", |
| 664 | "frameworks/native/aidl/gui", |
| 665 | "system/core/storaged/binder", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 666 | "system/vold/binder", |
Howard Chen | f17f42b | 2019-01-07 14:10:44 +0800 | [diff] [blame] | 667 | "system/gsid/aidl", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 668 | "system/bt/binder", |
Logan Chien | 404eb2b | 2018-02-14 13:53:04 +0800 | [diff] [blame] | 669 | "system/security/keystore/binder", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 670 | ], |
Olivier Gaillard | b0ea421 | 2018-07-26 11:52:37 +0100 | [diff] [blame] | 671 | |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 672 | generate_get_transaction_name: true, |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 673 | }, |
| 674 | |
Paul Duffin | beee5dc | 2018-01-23 13:39:00 +0000 | [diff] [blame] | 675 | exclude_srcs: [ |
Paul Duffin | a3b6921 | 2018-01-25 09:58:32 +0000 | [diff] [blame] | 676 | // See comment on framework-atb-backward-compatibility module below |
| 677 | "core/java/android/content/pm/AndroidTestBaseUpdater.java", |
Paul Duffin | beee5dc | 2018-01-23 13:39:00 +0000 | [diff] [blame] | 678 | ], |
| 679 | |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 680 | no_framework_libs: true, |
| 681 | libs: [ |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 682 | "ext", |
| 683 | ], |
| 684 | |
Steven Moreland | 19e8d46 | 2019-03-08 10:44:22 -0800 | [diff] [blame] | 685 | jarjar_rules: ":framework-jarjar-rules", |
Steven Moreland | 20a1848 | 2019-01-17 12:24:54 -0800 | [diff] [blame] | 686 | |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 687 | static_libs: [ |
Dario Freni | e186f99 | 2018-08-31 14:18:04 +0100 | [diff] [blame] | 688 | "apex_aidl_interface-java", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 689 | "framework-protos", |
Peiyong Lin | ac74bc8 | 2019-01-12 17:44:29 -0800 | [diff] [blame] | 690 | "game-driver-protos", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 691 | "android.hidl.base-V1.0-java", |
| 692 | "android.hardware.cas-V1.0-java", |
| 693 | "android.hardware.contexthub-V1.0-java", |
| 694 | "android.hardware.health-V1.0-java-constants", |
Steven Moreland | 2f5d7d8 | 2019-01-24 12:03:26 -0800 | [diff] [blame] | 695 | "android.hardware.radio-V1.0-java", |
| 696 | "android.hardware.radio-V1.1-java", |
| 697 | "android.hardware.radio-V1.2-java", |
| 698 | "android.hardware.radio-V1.3-java", |
| 699 | "android.hardware.radio-V1.4-java", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 700 | "android.hardware.thermal-V1.0-java-constants", |
| 701 | "android.hardware.tv.input-V1.0-java-constants", |
| 702 | "android.hardware.usb-V1.0-java-constants", |
| 703 | "android.hardware.usb-V1.1-java-constants", |
Steven Moreland | 2f5d7d8 | 2019-01-24 12:03:26 -0800 | [diff] [blame] | 704 | "android.hardware.usb.gadget-V1.0-java", |
Michael Wright | f268bf5 | 2018-02-07 23:23:34 +0000 | [diff] [blame] | 705 | "android.hardware.vibrator-V1.0-java", |
| 706 | "android.hardware.vibrator-V1.1-java", |
| 707 | "android.hardware.vibrator-V1.2-java", |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 708 | "android.hardware.wifi-V1.0-java-constants", |
| 709 | ], |
| 710 | |
Wei Jia | 0a8a8f0 | 2017-12-05 17:05:29 -0800 | [diff] [blame] | 711 | required: [ |
Anton Hansson | b27f0fa | 2018-11-27 12:10:30 +0000 | [diff] [blame] | 712 | // TODO: remove gps_debug when the build system propagates "required" properly. |
| 713 | "gps_debug.conf", |
Anton Hansson | b27f0fa | 2018-11-27 12:10:30 +0000 | [diff] [blame] | 714 | // Loaded with System.loadLibrary by android.view.textclassifier |
Logan Chien | 71ddfea | 2018-02-27 16:43:50 +0800 | [diff] [blame] | 715 | "libmedia2_jni", |
| 716 | ], |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 717 | |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 718 | dxflags: [ |
| 719 | "--core-library", |
| 720 | "--multi-dex", |
| 721 | ], |
Mathew Inwood | bad89e5 | 2018-06-28 14:12:10 +0100 | [diff] [blame] | 722 | |
| 723 | } |
| 724 | |
Colin Cross | 05c9e5c | 2018-10-26 22:34:06 -0700 | [diff] [blame] | 725 | filegroup { |
Steven Moreland | 19e8d46 | 2019-03-08 10:44:22 -0800 | [diff] [blame] | 726 | name: "framework-jarjar-rules", |
| 727 | srcs: ["jarjar_rules_hidl.txt"], |
| 728 | } |
| 729 | |
| 730 | filegroup { |
Colin Cross | 05c9e5c | 2018-10-26 22:34:06 -0700 | [diff] [blame] | 731 | name: "libincident_aidl", |
| 732 | srcs: [ |
| 733 | "core/java/android/os/IIncidentManager.aidl", |
| 734 | "core/java/android/os/IIncidentReportStatusListener.aidl", |
| 735 | ], |
| 736 | } |
| 737 | |
| 738 | filegroup { |
| 739 | name: "statsd_aidl", |
| 740 | srcs: [ |
| 741 | "core/java/android/os/IStatsCompanionService.aidl", |
| 742 | "core/java/android/os/IStatsManager.aidl", |
| 743 | ], |
| 744 | } |
| 745 | |
Mathew Inwood | bad89e5 | 2018-06-28 14:12:10 +0100 | [diff] [blame] | 746 | java_library { |
| 747 | name: "framework", |
| 748 | defaults: ["framework-defaults"], |
| 749 | javac_shard_size: 150, |
| 750 | } |
| 751 | |
| 752 | java_library { |
| 753 | name: "framework-annotation-proc", |
| 754 | defaults: ["framework-defaults"], |
| 755 | // Use UsedByApps annotation processor |
Colin Cross | a1f8e1a | 2019-01-21 21:45:20 -0800 | [diff] [blame] | 756 | plugins: ["unsupportedappusage-annotation-processor"], |
Mathew Inwood | bad89e5 | 2018-06-28 14:12:10 +0100 | [diff] [blame] | 757 | } |
| 758 | |
| 759 | // A host library including just UnsupportedAppUsage.java so that the annotation |
| 760 | // processor can also use this annotation. |
| 761 | java_library_host { |
| 762 | name: "unsupportedappusage-annotation", |
| 763 | srcs: [ |
| 764 | "core/java/android/annotation/IntDef.java", |
| 765 | "core/java/android/annotation/UnsupportedAppUsage.java", |
Andrei Onea | 5e22614 | 2019-05-08 13:50:16 +0100 | [diff] [blame] | 766 | ":unsupportedappusage_annotation_files", |
Mathew Inwood | bad89e5 | 2018-06-28 14:12:10 +0100 | [diff] [blame] | 767 | ], |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 768 | } |
| 769 | |
Paul Duffin | beee5dc | 2018-01-23 13:39:00 +0000 | [diff] [blame] | 770 | // A temporary build target that is conditionally included on the bootclasspath if |
Paul Duffin | a3b6921 | 2018-01-25 09:58:32 +0000 | [diff] [blame] | 771 | // android.test.base library has been removed and which provides support for |
| 772 | // maintaining backwards compatibility for APKs that target pre-P and depend on |
| 773 | // android.test.base classes. This is used iff REMOVE_ATB_FROM_BCP=true is |
| 774 | // specified on the build command line. |
| 775 | java_library { |
| 776 | name: "framework-atb-backward-compatibility", |
Paul Duffin | fab8754 | 2019-02-15 11:39:12 +0000 | [diff] [blame] | 777 | installable: true, |
Paul Duffin | a3b6921 | 2018-01-25 09:58:32 +0000 | [diff] [blame] | 778 | srcs: [ |
| 779 | "core/java/android/content/pm/AndroidTestBaseUpdater.java", |
| 780 | ], |
| 781 | } |
| 782 | |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 783 | genrule { |
| 784 | name: "framework-statslog-gen", |
| 785 | tools: ["stats-log-api-gen"], |
| 786 | cmd: "$(location stats-log-api-gen) --java $(out)", |
David Chen | 0a368b2 | 2017-12-06 16:28:16 -0800 | [diff] [blame] | 787 | out: ["android/util/StatsLogInternal.java"], |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 788 | } |
| 789 | |
| 790 | gensrcs { |
| 791 | name: "framework-javastream-protos", |
| 792 | depfile: true, |
| 793 | |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 794 | tool_files: ["tools/genprotos.sh"], |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 795 | tools: [ |
| 796 | "aprotoc", |
| 797 | "protoc-gen-javastream", |
| 798 | "soong_zip", |
| 799 | ], |
| 800 | |
Alex Light | 159799d | 2018-08-08 07:05:19 -0700 | [diff] [blame] | 801 | // TODO This should not be needed. If you set a custom OUT_DIR or OUT_DIR_COMMON_BASE you can |
| 802 | // end up with a command that is extremely long, potentially going passed MAX_ARG_STRLEN due to |
| 803 | // the way sbox rewrites the command. See b/70221552. |
| 804 | cmd: "$(location tools/genprotos.sh) " + |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 805 | " $(location aprotoc) " + |
| 806 | " $(location protoc-gen-javastream) " + |
| 807 | " $(location soong_zip) " + |
| 808 | " $(genDir) " + |
| 809 | " $(depfile) " + |
| 810 | " $(in) " + |
| 811 | " $(out)", |
Yi Jin | 437aa6e | 2018-01-10 11:34:26 -0800 | [diff] [blame] | 812 | srcs: [ |
| 813 | "core/proto/**/*.proto", |
| 814 | "libs/incident/**/*.proto", |
| 815 | ], |
Colin Cross | cf3a0b5 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 816 | output_extension: "srcjar", |
| 817 | } |
| 818 | |
Remi NGUYEN VAN | e88516f | 2019-01-20 09:35:10 +0900 | [diff] [blame] | 819 | filegroup { |
Chalard Jean | 9521351 | 2019-01-30 21:04:58 +0900 | [diff] [blame] | 820 | name: "framework-annotations", |
Remi NGUYEN VAN | e88516f | 2019-01-20 09:35:10 +0900 | [diff] [blame] | 821 | srcs: [ |
Remi NGUYEN VAN | e88516f | 2019-01-20 09:35:10 +0900 | [diff] [blame] | 822 | "core/java/android/annotation/NonNull.java", |
| 823 | "core/java/android/annotation/Nullable.java", |
| 824 | "core/java/android/annotation/IntDef.java", |
Remi NGUYEN VAN | 3ba6c0d | 2019-01-20 13:48:19 +0900 | [diff] [blame] | 825 | "core/java/android/annotation/IntRange.java", |
Remi NGUYEN VAN | e88516f | 2019-01-20 09:35:10 +0900 | [diff] [blame] | 826 | "core/java/android/annotation/UnsupportedAppUsage.java", |
Remi NGUYEN VAN | 231b52b | 2019-01-29 15:38:52 +0900 | [diff] [blame] | 827 | "core/java/com/android/internal/annotations/GuardedBy.java", |
Remi NGUYEN VAN | e88516f | 2019-01-20 09:35:10 +0900 | [diff] [blame] | 828 | "core/java/com/android/internal/annotations/VisibleForTesting.java", |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 829 | ], |
Chalard Jean | 9521351 | 2019-01-30 21:04:58 +0900 | [diff] [blame] | 830 | } |
| 831 | |
| 832 | filegroup { |
Remi NGUYEN VAN | c094a54 | 2018-12-07 16:52:24 +0900 | [diff] [blame] | 833 | name: "framework-networkstack-shared-srcs", |
Remi NGUYEN VAN | e88516f | 2019-01-20 09:35:10 +0900 | [diff] [blame] | 834 | srcs: [ |
| 835 | // TODO: remove these annotations as soon as we can use andoid.support.annotations.* |
Chalard Jean | 9521351 | 2019-01-30 21:04:58 +0900 | [diff] [blame] | 836 | ":framework-annotations", |
Remi NGUYEN VAN | e88516f | 2019-01-20 09:35:10 +0900 | [diff] [blame] | 837 | "core/java/android/net/DhcpResults.java", |
| 838 | "core/java/android/util/LocalLog.java", |
Remi NGUYEN VAN | e88516f | 2019-01-20 09:35:10 +0900 | [diff] [blame] | 839 | "core/java/com/android/internal/util/HexDump.java", |
Remi NGUYEN VAN | 3ba6c0d | 2019-01-20 13:48:19 +0900 | [diff] [blame] | 840 | "core/java/com/android/internal/util/IndentingPrintWriter.java", |
Remi NGUYEN VAN | e88516f | 2019-01-20 09:35:10 +0900 | [diff] [blame] | 841 | "core/java/com/android/internal/util/IState.java", |
| 842 | "core/java/com/android/internal/util/MessageUtils.java", |
| 843 | "core/java/com/android/internal/util/Preconditions.java", |
Remi NGUYEN VAN | 3ba6c0d | 2019-01-20 13:48:19 +0900 | [diff] [blame] | 844 | "core/java/com/android/internal/util/RingBufferIndices.java", |
Remi NGUYEN VAN | e88516f | 2019-01-20 09:35:10 +0900 | [diff] [blame] | 845 | "core/java/com/android/internal/util/State.java", |
| 846 | "core/java/com/android/internal/util/StateMachine.java", |
Chalard Jean | 896245a | 2019-04-09 11:16:56 +0900 | [diff] [blame] | 847 | "core/java/com/android/internal/util/TrafficStatsConstants.java", |
Remi NGUYEN VAN | e88516f | 2019-01-20 09:35:10 +0900 | [diff] [blame] | 848 | "core/java/com/android/internal/util/WakeupMessage.java", |
| 849 | "core/java/android/net/shared/*.java", |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 850 | ], |
Remi NGUYEN VAN | e88516f | 2019-01-20 09:35:10 +0900 | [diff] [blame] | 851 | } |
| 852 | |
Colin Cross | d8e0225 | 2017-10-02 17:14:22 -0700 | [diff] [blame] | 853 | // Build ext.jar |
| 854 | // ============================================================ |
| 855 | java_library { |
| 856 | name: "ext", |
Colin Cross | a12c0f5 | 2018-06-27 11:00:11 -0700 | [diff] [blame] | 857 | installable: true, |
Paul Duffin | ba4cee0 | 2018-11-23 12:19:49 +0000 | [diff] [blame] | 858 | no_framework_libs: true, |
Colin Cross | d8e0225 | 2017-10-02 17:14:22 -0700 | [diff] [blame] | 859 | static_libs: [ |
| 860 | "libphonenumber-platform", |
| 861 | "nist-sip", |
| 862 | "tagsoup", |
Ricky Wai | 0d1bc33 | 2017-10-31 14:31:01 +0000 | [diff] [blame] | 863 | "rappor", |
Nikita Iashchenko | 7ea2f83 | 2019-01-11 18:41:59 +0000 | [diff] [blame] | 864 | "libtextclassifier-java", |
| 865 | ], |
| 866 | required: [ |
| 867 | "libtextclassifier", |
Colin Cross | d8e0225 | 2017-10-02 17:14:22 -0700 | [diff] [blame] | 868 | ], |
| 869 | dxflags: ["--core-library"], |
| 870 | } |
| 871 | |
Andreas Gampe | 37b0763 | 2018-05-17 10:49:26 -0700 | [diff] [blame] | 872 | // ==== java proto host library ============================== |
| 873 | java_library_host { |
| 874 | name: "platformprotos", |
| 875 | srcs: [ |
| 876 | "cmds/am/proto/instrumentation_data.proto", |
| 877 | "core/proto/**/*.proto", |
| 878 | "libs/incident/proto/**/*.proto", |
| 879 | "cmds/statsd/src/**/*.proto", |
| 880 | ], |
| 881 | proto: { |
| 882 | include_dirs: ["external/protobuf/src"], |
| 883 | type: "full", |
| 884 | }, |
| 885 | errorprone: { |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 886 | javacflags: ["-Xep:MissingOverride:OFF"], // b/72714520 |
Andreas Gampe | 37b0763 | 2018-05-17 10:49:26 -0700 | [diff] [blame] | 887 | }, |
| 888 | } |
| 889 | |
Colin Cross | 4321416 | 2018-08-20 13:57:24 -0700 | [diff] [blame] | 890 | // ==== java proto device library (for test only) ============================== |
| 891 | java_library { |
| 892 | name: "platformprotosnano", |
| 893 | proto: { |
| 894 | type: "nano", |
| 895 | output_params: ["store_unknown_fields=true"], |
| 896 | include_dirs: ["external/protobuf/src"], |
| 897 | }, |
| 898 | |
| 899 | sdk_version: "current", |
| 900 | srcs: [ |
| 901 | "core/proto/**/*.proto", |
| 902 | "libs/incident/proto/android/os/**/*.proto", |
| 903 | ], |
| 904 | } |
| 905 | |
| 906 | // ==== java proto device library (for test only) ============================== |
| 907 | java_library { |
| 908 | name: "platformprotoslite", |
| 909 | proto: { |
| 910 | type: "lite", |
| 911 | include_dirs: ["external/protobuf/src"], |
| 912 | }, |
| 913 | |
| 914 | srcs: [ |
| 915 | "core/proto/**/*.proto", |
| 916 | "libs/incident/proto/android/os/**/*.proto", |
| 917 | ], |
| 918 | // Protos have lots of MissingOverride and similar. |
| 919 | errorprone: { |
| 920 | javacflags: ["-XepDisableAllChecks"], |
| 921 | }, |
| 922 | } |
| 923 | |
Colin Cross | aa0d435 | 2017-05-02 14:14:56 -0700 | [diff] [blame] | 924 | // ==== c++ proto device library ============================== |
| 925 | cc_library { |
| 926 | name: "libplatformprotos", |
| 927 | host_supported: true, |
Colin Cross | aa0d435 | 2017-05-02 14:14:56 -0700 | [diff] [blame] | 928 | proto: { |
| 929 | export_proto_headers: true, |
| 930 | include_dirs: ["external/protobuf/src"], |
| 931 | }, |
| 932 | |
Chih-Hung Hsieh | c7edf07 | 2017-10-03 09:57:55 -0700 | [diff] [blame] | 933 | cflags: [ |
| 934 | "-Wall", |
| 935 | "-Werror", |
| 936 | "-Wno-unused-parameter", |
| 937 | ], |
Joe Onorato | 62c220b | 2017-11-18 20:32:56 -0800 | [diff] [blame] | 938 | |
| 939 | srcs: [ |
| 940 | "core/proto/**/*.proto", |
| 941 | "libs/incident/**/*.proto", |
Joe Onorato | 62c220b | 2017-11-18 20:32:56 -0800 | [diff] [blame] | 942 | ], |
| 943 | |
Colin Cross | aa0d435 | 2017-05-02 14:14:56 -0700 | [diff] [blame] | 944 | target: { |
| 945 | host: { |
| 946 | proto: { |
| 947 | type: "full", |
| 948 | }, |
| 949 | }, |
| 950 | android: { |
| 951 | proto: { |
| 952 | type: "lite", |
| 953 | }, |
| 954 | shared: { |
Colin Cross | aa0d435 | 2017-05-02 14:14:56 -0700 | [diff] [blame] | 955 | enabled: false, |
| 956 | }, |
| 957 | }, |
| 958 | }, |
Colin Cross | aa0d435 | 2017-05-02 14:14:56 -0700 | [diff] [blame] | 959 | } |
| 960 | |
Yi Jin | 04625ad | 2017-10-17 18:29:33 -0700 | [diff] [blame] | 961 | gensrcs { |
| 962 | name: "gen-platform-proto-constants", |
| 963 | depfile: true, |
| 964 | |
| 965 | tools: [ |
| 966 | "aprotoc", |
| 967 | "protoc-gen-cppstream", |
| 968 | ], |
| 969 | |
| 970 | srcs: [ |
Kweku Adams | eadd123 | 2018-02-05 16:45:13 -0800 | [diff] [blame] | 971 | "core/proto/android/os/backtrace.proto", |
Kweku Adams | 59e6fd7 | 2017-12-27 15:48:14 -0800 | [diff] [blame] | 972 | "core/proto/android/os/batterytype.proto", |
Yi Jin | 0eb2234 | 2017-11-06 17:17:27 -0800 | [diff] [blame] | 973 | "core/proto/android/os/cpufreq.proto", |
Yi Jin | e2f7f79 | 2017-11-01 17:08:27 -0700 | [diff] [blame] | 974 | "core/proto/android/os/cpuinfo.proto", |
Colin Cross | 05c9e5c | 2018-10-26 22:34:06 -0700 | [diff] [blame] | 975 | "core/proto/android/os/data.proto", |
Yi Jin | 04625ad | 2017-10-17 18:29:33 -0700 | [diff] [blame] | 976 | "core/proto/android/os/kernelwake.proto", |
| 977 | "core/proto/android/os/pagetypeinfo.proto", |
| 978 | "core/proto/android/os/procrank.proto", |
Kweku Adams | f5cc575 | 2017-12-20 17:59:17 -0800 | [diff] [blame] | 979 | "core/proto/android/os/ps.proto", |
Yi Jin | 0dfa752 | 2017-11-06 17:43:47 -0800 | [diff] [blame] | 980 | "core/proto/android/os/system_properties.proto", |
Yi Jin | 3c034c9 | 2017-12-22 17:36:47 -0800 | [diff] [blame] | 981 | "core/proto/android/util/event_log_tags.proto", |
Colin Cross | 05c9e5c | 2018-10-26 22:34:06 -0700 | [diff] [blame] | 982 | "core/proto/android/util/log.proto", |
Yi Jin | 04625ad | 2017-10-17 18:29:33 -0700 | [diff] [blame] | 983 | ], |
| 984 | |
| 985 | // Append protoc-gen-cppstream tool's PATH otherwise aprotoc can't find the plugin tool |
Yi Jin | 3c034c9 | 2017-12-22 17:36:47 -0800 | [diff] [blame] | 986 | cmd: "mkdir -p $(genDir) " + |
| 987 | "&& $(location aprotoc) " + |
| 988 | " --plugin=$(location protoc-gen-cppstream) " + |
| 989 | " --dependency_out=$(depfile) " + |
| 990 | " --cppstream_out=$(genDir) " + |
| 991 | " -Iexternal/protobuf/src " + |
| 992 | " -I . " + |
| 993 | " $(in)", |
Yi Jin | 04625ad | 2017-10-17 18:29:33 -0700 | [diff] [blame] | 994 | |
Logan Chien | 71ddfea | 2018-02-27 16:43:50 +0800 | [diff] [blame] | 995 | output_extension: "proto.h", |
Yi Jin | 04625ad | 2017-10-17 18:29:33 -0700 | [diff] [blame] | 996 | } |
| 997 | |
Dan Albert | 2a8d9c2 | 2016-09-23 15:55:49 -0700 | [diff] [blame] | 998 | subdirs = [ |
Yi Jin | 0a3406f | 2017-06-22 19:23:11 -0700 | [diff] [blame] | 999 | "cmds/*", |
Jeff Sharkey | 0c686e7 | 2017-10-23 16:04:31 -0600 | [diff] [blame] | 1000 | "core/*", |
Colin Cross | 4f8d9e6 | 2016-12-01 15:55:00 -0800 | [diff] [blame] | 1001 | "libs/*", |
Colin Cross | 76de4f6 | 2017-05-15 18:10:40 -0700 | [diff] [blame] | 1002 | "media/*", |
Colin Cross | 747e7c1 | 2017-10-24 16:21:22 -0700 | [diff] [blame] | 1003 | "proto", |
Fabien Sanglard | 1916020 | 2017-01-12 14:24:31 -0500 | [diff] [blame] | 1004 | "tools/*", |
Dan Albert | 2a8d9c2 | 2016-09-23 15:55:49 -0700 | [diff] [blame] | 1005 | "native/android", |
Dan Albert | 7ce8df3 | 2016-09-23 16:43:49 -0700 | [diff] [blame] | 1006 | "native/graphics/jni", |
Dan Albert | 2a8d9c2 | 2016-09-23 15:55:49 -0700 | [diff] [blame] | 1007 | ] |
Svetoslav Ganov | 74c9983 | 2016-12-05 20:07:20 -0800 | [diff] [blame] | 1008 | |
| 1009 | optional_subdirs = [ |
| 1010 | "core/tests/utiltests/jni", |
| 1011 | ] |
Steven Moreland | eddafe9 | 2017-10-02 16:58:41 -0700 | [diff] [blame] | 1012 | |
Colin Cross | a2b78a7 | 2018-03-29 13:31:04 -0700 | [diff] [blame] | 1013 | // TODO(b/77285514): remove this once the last few hidl interfaces have been |
| 1014 | // updated to use hwbinder.stubs. |
Steven Moreland | eddafe9 | 2017-10-02 16:58:41 -0700 | [diff] [blame] | 1015 | java_library { |
| 1016 | name: "hwbinder", |
| 1017 | no_framework_libs: true, |
| 1018 | |
| 1019 | srcs: [ |
| 1020 | "core/java/android/os/HidlSupport.java", |
Steven Moreland | e8e63aa | 2018-01-10 15:45:36 -0800 | [diff] [blame] | 1021 | "core/java/android/annotation/IntDef.java", |
Steven Moreland | eddafe9 | 2017-10-02 16:58:41 -0700 | [diff] [blame] | 1022 | "core/java/android/annotation/NonNull.java", |
Steven Moreland | 0ff061a | 2019-03-04 17:56:30 -0800 | [diff] [blame] | 1023 | "core/java/android/annotation/Nullable.java", |
Steven Moreland | e8e63aa | 2018-01-10 15:45:36 -0800 | [diff] [blame] | 1024 | "core/java/android/annotation/SystemApi.java", |
Steven Moreland | 14b9eb6 | 2019-01-11 10:19:51 -0800 | [diff] [blame] | 1025 | "core/java/android/annotation/TestApi.java", |
Andrei Onea | dcb6773 | 2019-03-18 11:37:25 +0000 | [diff] [blame] | 1026 | "core/java/android/annotation/UnsupportedAppUsage.java", |
Steven Moreland | eddafe9 | 2017-10-02 16:58:41 -0700 | [diff] [blame] | 1027 | "core/java/android/os/HwBinder.java", |
| 1028 | "core/java/android/os/HwBlob.java", |
| 1029 | "core/java/android/os/HwParcel.java", |
| 1030 | "core/java/android/os/IHwBinder.java", |
| 1031 | "core/java/android/os/IHwInterface.java", |
| 1032 | "core/java/android/os/DeadObjectException.java", |
| 1033 | "core/java/android/os/DeadSystemException.java", |
Nirav Atre | 9850dd9 | 2018-07-24 17:03:44 -0700 | [diff] [blame] | 1034 | "core/java/android/os/NativeHandle.java", |
Steven Moreland | eddafe9 | 2017-10-02 16:58:41 -0700 | [diff] [blame] | 1035 | "core/java/android/os/RemoteException.java", |
| 1036 | "core/java/android/util/AndroidException.java", |
| 1037 | ], |
| 1038 | |
| 1039 | dxflags: ["--core-library"], |
| 1040 | installable: false, |
| 1041 | } |
Nan Zhang | 2db709d | 2017-11-08 20:48:46 -0800 | [diff] [blame] | 1042 | |
| 1043 | python_defaults { |
| 1044 | name: "base_default", |
| 1045 | version: { |
| 1046 | py2: { |
| 1047 | enabled: true, |
| 1048 | embedded_launcher: true, |
| 1049 | }, |
| 1050 | py3: { |
| 1051 | enabled: false, |
| 1052 | embedded_launcher: false, |
| 1053 | }, |
| 1054 | }, |
| 1055 | } |
| 1056 | |
| 1057 | python_binary_host { |
| 1058 | name: "fontchain_linter", |
| 1059 | defaults: ["base_default"], |
| 1060 | main: "tools/fonts/fontchain_linter.py", |
| 1061 | srcs: [ |
| 1062 | "tools/fonts/fontchain_linter.py", |
| 1063 | ], |
| 1064 | libs: [ |
| 1065 | "fontTools", |
| 1066 | ], |
| 1067 | } |
Nan Zhang | 172875b | 2018-02-27 11:24:03 -0800 | [diff] [blame] | 1068 | |
| 1069 | // TODO: Don't rely on this list once droiddoc can take a list of packages to document |
| 1070 | frameworks_base_subdirs = [ |
| 1071 | "core/java", |
| 1072 | "graphics/java", |
| 1073 | "location/java", |
| 1074 | "media/java", |
| 1075 | "media/mca/effect/java", |
| 1076 | "media/mca/filterfw/java", |
| 1077 | "media/mca/filterpacks/java", |
| 1078 | "drm/java", |
| 1079 | "opengl/java", |
| 1080 | "sax/java", |
| 1081 | "telecomm/java", |
| 1082 | "telephony/java", |
| 1083 | "wifi/java", |
| 1084 | "lowpan/java", |
| 1085 | "keystore/java", |
| 1086 | "rs/java", |
| 1087 | ] |
| 1088 | |
| 1089 | packages_to_document = [ |
| 1090 | "android", |
| 1091 | "javax/microedition/khronos", |
| 1092 | "org/apache/http/conn", |
| 1093 | "org/apache/http/params", |
| 1094 | ] |
| 1095 | |
Paul Duffin | 0440e1f | 2019-02-11 16:13:25 +0000 | [diff] [blame] | 1096 | // Make the api/current.txt file available for use by modules in other |
| 1097 | // directories. |
| 1098 | filegroup { |
| 1099 | name: "frameworks-base-api-current.txt", |
| 1100 | srcs: [ |
| 1101 | "api/current.txt", |
| 1102 | ], |
| 1103 | } |
| 1104 | |
Paul Duffin | cd35de3 | 2019-05-30 15:12:47 +0100 | [diff] [blame] | 1105 | // Make the api/system-current.txt file available for use by modules in other |
| 1106 | // directories. |
| 1107 | filegroup { |
| 1108 | name: "frameworks-base-api-system-current.txt", |
| 1109 | srcs: [ |
| 1110 | "api/system-current.txt", |
| 1111 | ], |
| 1112 | } |
| 1113 | |
| 1114 | // Make the api/system-removed.txt file available for use by modules in other |
| 1115 | // directories. |
| 1116 | filegroup { |
| 1117 | name: "frameworks-base-api-system-removed.txt", |
| 1118 | srcs: [ |
| 1119 | "api/system-removed.txt", |
| 1120 | ], |
| 1121 | } |
| 1122 | |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1123 | framework_docs_only_args = " -android -manifest $(location core/res/AndroidManifest.xml) " + |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1124 | "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " + |
| 1125 | "-overview $(location core/java/overview.html) " + |
| 1126 | // Federate Support Library references against local API file. |
| 1127 | "-federate SupportLib https://developer.android.com " + |
| 1128 | "-federationapi SupportLib $(location :current-support-api) " |
Nan Zhang | 172875b | 2018-02-27 11:24:03 -0800 | [diff] [blame] | 1129 | |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1130 | framework_docs_only_libs = [ |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1131 | "voip-common", |
| 1132 | "android.test.mock", |
| 1133 | "android-support-annotations", |
| 1134 | "android-support-compat", |
| 1135 | "android-support-core-ui", |
| 1136 | "android-support-core-utils", |
| 1137 | "android-support-customtabs", |
| 1138 | "android-support-design", |
| 1139 | "android-support-dynamic-animation", |
| 1140 | "android-support-exifinterface", |
| 1141 | "android-support-fragment", |
| 1142 | "android-support-media-compat", |
| 1143 | "android-support-percent", |
| 1144 | "android-support-recommendation", |
| 1145 | "android-support-transition", |
| 1146 | "android-support-tv-provider", |
| 1147 | "android-support-v7-cardview", |
| 1148 | "android-support-v7-gridlayout", |
| 1149 | "android-support-v7-mediarouter", |
| 1150 | "android-support-v7-palette", |
| 1151 | "android-support-v7-preference", |
| 1152 | "android-support-v13", |
| 1153 | "android-support-v14-preference", |
| 1154 | "android-support-v17-leanback", |
| 1155 | "android-support-v17-preference-leanback", |
| 1156 | "android-support-wear", |
| 1157 | "android-support-vectordrawable", |
| 1158 | "android-support-animatedvectordrawable", |
| 1159 | "android-support-v7-appcompat", |
| 1160 | "android-support-v7-recyclerview", |
| 1161 | "android-support-emoji", |
| 1162 | "android-support-emoji-appcompat", |
| 1163 | "android-support-emoji-bundled", |
| 1164 | "android-support-v8-renderscript", |
| 1165 | "android-support-multidex", |
| 1166 | "android-support-multidex-instrumentation", |
| 1167 | ] |
| 1168 | |
| 1169 | metalava_framework_docs_args = "--manifest $(location core/res/AndroidManifest.xml) " + |
| 1170 | "--hide-package com.android.okhttp " + |
| 1171 | "--hide-package com.android.org.conscrypt --hide-package com.android.server " + |
Adrian Roos | c6e2fc8 | 2018-12-12 15:08:44 +0100 | [diff] [blame] | 1172 | "--error UnhiddenSystemApi " + |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1173 | "--hide RequiresPermission " + |
| 1174 | "--hide MissingPermission --hide BroadcastBehavior " + |
| 1175 | "--hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol " + |
Tobias Thierer | 8f55941 | 2019-05-22 20:17:49 +0100 | [diff] [blame] | 1176 | "--hide SdkConstant --hide HiddenTypeParameter --hide Todo --hide Typo " |
| 1177 | |
| 1178 | // http://b/129765390 Rewrite links to "platform" or "technotes" folders |
| 1179 | // which are siblings (and thus outside of) {@docRoot}. |
| 1180 | // |
| 1181 | // We have to escape \ as \\ and $ as $$ here because they get resolved by |
| 1182 | // different layers of the build tooling. The arguments are wrapped in '' so |
| 1183 | // that the shell doesn't add yet another level of escaping. |
| 1184 | metalava_framework_docs_args += " --replace-documentation " + |
| 1185 | // packages whose descendants to apply replacement to (all packages from |
| 1186 | // libcore/ojluni/src/main/java that contribute to documentation). |
| 1187 | "com.sun:java:javax:jdk.net:sun " + |
| 1188 | // regex of the string to replace |
| 1189 | "'(<a\\s+href\\s?=[\\*\\s]*\")(?:(?:\\{@docRoot\\}/\\.\\./)|(?:(?:\\.\\./)+))((?:platform|technotes).+)\">' " + |
| 1190 | // replacement (with $1, $2 backreferences to the regex groups) |
| 1191 | "'$$1https://docs.oracle.com/javase/8/docs/$$2\">' " |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1192 | |
| 1193 | stubs_defaults { |
| 1194 | name: "framework-doc-stubs-default", |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1195 | srcs: [ |
| 1196 | "test-base/src/**/*.java", |
| 1197 | ":opt-telephony-srcs", |
| 1198 | ":opt-net-voip-srcs", |
Neil Fuller | cce7b33 | 2019-02-26 12:00:38 +0000 | [diff] [blame] | 1199 | ":core_public_api_files", |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1200 | "test-mock/src/**/*.java", |
| 1201 | "test-runner/src/**/*.java", |
| 1202 | ], |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1203 | srcs_lib: "framework", |
| 1204 | srcs_lib_whitelist_dirs: frameworks_base_subdirs, |
| 1205 | srcs_lib_whitelist_pkgs: packages_to_document, |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1206 | libs: framework_docs_only_libs, |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1207 | local_sourcepaths: frameworks_base_subdirs, |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1208 | create_doc_stubs: true, |
| 1209 | annotations_enabled: true, |
| 1210 | api_levels_annotations_enabled: true, |
| 1211 | api_levels_annotations_dirs: [ |
| 1212 | "sdk-dir", |
| 1213 | "api-versions-jars-dir", |
| 1214 | ], |
| 1215 | previous_api: ":last-released-public-api", |
| 1216 | merge_annotations_dirs: [ |
| 1217 | "metalava-manual", |
Pete Gillin | ff97819 | 2018-09-17 15:45:33 +0100 | [diff] [blame] | 1218 | "ojluni-annotated-sdk-stubs", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1219 | ], |
| 1220 | } |
| 1221 | |
| 1222 | doc_defaults { |
| 1223 | name: "framework-docs-default", |
Nan Zhang | b03396e | 2018-10-11 18:06:10 -0700 | [diff] [blame] | 1224 | libs: framework_docs_only_libs + |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1225 | ["stub-annotations"], |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1226 | html_dirs: [ |
| 1227 | "docs/html", |
| 1228 | ], |
| 1229 | knowntags: [ |
| 1230 | "docs/knowntags.txt", |
| 1231 | ":known-oj-tags", |
| 1232 | ], |
| 1233 | custom_template: "droiddoc-templates-sdk", |
| 1234 | resourcesdir: "docs/html/reference/images/", |
| 1235 | resourcesoutdir: "reference/android/images/", |
| 1236 | hdf: [ |
| 1237 | "dac true", |
| 1238 | "sdk.codename O", |
| 1239 | "sdk.preview.version 1", |
| 1240 | "sdk.version 7.0", |
| 1241 | "sdk.rel.id 1", |
| 1242 | "sdk.preview 0", |
| 1243 | ], |
| 1244 | arg_files: [ |
| 1245 | "core/res/AndroidManifest.xml", |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1246 | "core/java/overview.html", |
| 1247 | ":current-support-api", |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1248 | ], |
| 1249 | create_stubs: false, |
| 1250 | } |
| 1251 | |
Nan Zhang | 894c9ec | 2018-09-10 18:58:39 -0700 | [diff] [blame] | 1252 | stubs_defaults { |
Nan Zhang | a17beeb | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1253 | name: "metalava-api-stubs-default", |
| 1254 | srcs: [ |
| 1255 | ":opt-telephony-srcs", |
| 1256 | ":opt-net-voip-srcs", |
Neil Fuller | cce7b33 | 2019-02-26 12:00:38 +0000 | [diff] [blame] | 1257 | ":core_public_api_files", |
Nan Zhang | a17beeb | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1258 | ], |
| 1259 | srcs_lib: "framework", |
| 1260 | srcs_lib_whitelist_dirs: frameworks_base_subdirs, |
| 1261 | srcs_lib_whitelist_pkgs: packages_to_document, |
| 1262 | libs: [ |
Nan Zhang | a17beeb | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1263 | "ext", |
| 1264 | "framework", |
| 1265 | "voip-common", |
Nan Zhang | a17beeb | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1266 | ], |
| 1267 | local_sourcepaths: frameworks_base_subdirs, |
| 1268 | installable: false, |
Nan Zhang | 894c9ec | 2018-09-10 18:58:39 -0700 | [diff] [blame] | 1269 | annotations_enabled: true, |
| 1270 | previous_api: ":last-released-public-api", |
| 1271 | merge_annotations_dirs: [ |
Nan Zhang | a17beeb | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1272 | "metalava-manual", |
Pete Gillin | ff97819 | 2018-09-17 15:45:33 +0100 | [diff] [blame] | 1273 | "ojluni-annotated-sdk-stubs", |
Nan Zhang | a17beeb | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1274 | ], |
Nan Zhang | 4079654 | 2018-09-18 10:46:10 -0700 | [diff] [blame] | 1275 | api_levels_annotations_enabled: true, |
| 1276 | api_levels_annotations_dirs: [ |
| 1277 | "sdk-dir", |
| 1278 | "api-versions-jars-dir", |
| 1279 | ], |
Nan Zhang | a17beeb | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1280 | } |
| 1281 | |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1282 | droidstubs { |
| 1283 | name: "framework-doc-stubs", |
| 1284 | defaults: ["framework-doc-stubs-default"], |
| 1285 | arg_files: [ |
| 1286 | "core/res/AndroidManifest.xml", |
| 1287 | ], |
| 1288 | args: metalava_framework_docs_args, |
| 1289 | } |
| 1290 | |
| 1291 | droidstubs { |
| 1292 | name: "framework-doc-system-stubs", |
| 1293 | defaults: ["framework-doc-stubs-default"], |
| 1294 | arg_files: [ |
| 1295 | "core/res/AndroidManifest.xml", |
| 1296 | ], |
| 1297 | args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi ", |
| 1298 | } |
| 1299 | |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1300 | droiddoc { |
| 1301 | name: "doc-comment-check-docs", |
| 1302 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1303 | srcs: [ |
| 1304 | ":framework-doc-stubs", |
| 1305 | ], |
| 1306 | args: framework_docs_only_args + " -referenceonly -parsecomments", |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1307 | installable: false, |
| 1308 | } |
| 1309 | |
| 1310 | droiddoc { |
| 1311 | name: "offline-sdk-docs", |
| 1312 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1313 | srcs: [ |
| 1314 | ":framework-doc-stubs", |
| 1315 | ], |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1316 | hdf: [ |
| 1317 | "android.whichdoc offline", |
| 1318 | ], |
| 1319 | proofread_file: "offline-sdk-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1320 | args: framework_docs_only_args + " -offlinemode -title \"Android SDK\"", |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1321 | write_sdk_values: true, |
| 1322 | static_doc_index_redirect: "docs/docs-preview-index.html", |
| 1323 | } |
| 1324 | |
| 1325 | droiddoc { |
Nan Zhang | 963612b | 2018-09-21 17:16:49 -0700 | [diff] [blame] | 1326 | // Please sync with android-api-council@ before making any changes for the name property below. |
| 1327 | // Since there's cron jobs that fetch offline-sdk-referenceonly-docs-docs.zip periodically. |
| 1328 | // See b/116221385 for reference. |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1329 | name: "offline-sdk-referenceonly-docs", |
| 1330 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1331 | srcs: [ |
| 1332 | ":framework-doc-stubs", |
| 1333 | ], |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1334 | hdf: [ |
| 1335 | "android.whichdoc offline", |
| 1336 | ], |
| 1337 | proofread_file: "offline-sdk-referenceonly-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1338 | args: framework_docs_only_args + " -offlinemode -title \"Android SDK\" -referenceonly", |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1339 | write_sdk_values: true, |
| 1340 | static_doc_index_redirect: "docs/docs-documentation-redirect.html", |
| 1341 | static_doc_properties: "docs/source.properties", |
| 1342 | } |
| 1343 | |
| 1344 | droiddoc { |
Nan Zhang | 963612b | 2018-09-21 17:16:49 -0700 | [diff] [blame] | 1345 | // Please sync with android-api-council@ before making any changes for the name property below. |
| 1346 | // Since there's cron jobs that fetch offline-system-sdk-referenceonly-docs-docs.zip periodically. |
| 1347 | // See b/116221385 for reference. |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1348 | name: "offline-system-sdk-referenceonly-docs", |
| 1349 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1350 | srcs: [ |
| 1351 | ":framework-doc-system-stubs", |
| 1352 | ], |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1353 | hdf: [ |
| 1354 | "android.whichdoc offline", |
| 1355 | ], |
| 1356 | proofread_file: "offline-system-sdk-referenceonly-docs-proofrerad.txt", |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1357 | args: framework_docs_only_args + " -hide 101 -hide 104 -hide 108" + |
| 1358 | " -offlinemode -title \"Android System SDK\" -referenceonly", |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1359 | write_sdk_values: true, |
| 1360 | static_doc_index_redirect: "docs/docs-documentation-redirect.html", |
| 1361 | static_doc_properties: "docs/source.properties", |
| 1362 | } |
| 1363 | |
| 1364 | droiddoc { |
| 1365 | name: "online-sdk-docs", |
| 1366 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1367 | srcs: [ |
| 1368 | ":framework-doc-stubs", |
| 1369 | ], |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1370 | hdf: [ |
| 1371 | "android.whichdoc online", |
| 1372 | "android.hasSamples true", |
| 1373 | ], |
| 1374 | proofread_file: "online-sdk-docs-proofrerad.txt", |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1375 | args: framework_docs_only_args + |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1376 | " -toroot / -samplegroup Admin " + |
| 1377 | " -samplegroup Background " + |
| 1378 | " -samplegroup Connectivity " + |
| 1379 | " -samplegroup Content " + |
| 1380 | " -samplegroup Input " + |
| 1381 | " -samplegroup Media " + |
| 1382 | " -samplegroup Notification " + |
| 1383 | " -samplegroup RenderScript " + |
| 1384 | " -samplegroup Security " + |
| 1385 | " -samplegroup Sensors " + |
| 1386 | " -samplegroup System " + |
| 1387 | " -samplegroup Testing " + |
| 1388 | " -samplegroup UI " + |
| 1389 | " -samplegroup Views " + |
| 1390 | " -samplegroup Wearable -samplesdir development/samples/browseable ", |
| 1391 | } |
| 1392 | |
| 1393 | droiddoc { |
| 1394 | name: "online-system-api-sdk-docs", |
| 1395 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1396 | srcs: [ |
| 1397 | ":framework-doc-system-stubs", |
| 1398 | ], |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1399 | hdf: [ |
| 1400 | "android.whichdoc online", |
| 1401 | "android.hasSamples true", |
| 1402 | ], |
| 1403 | proofread_file: "online-system-api-sdk-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1404 | args: framework_docs_only_args + |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1405 | " -referenceonly " + |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1406 | " -title \"Android SDK - Including system APIs.\" " + |
| 1407 | " -hide 101 " + |
| 1408 | " -hide 104 " + |
| 1409 | " -hide 108 " + |
| 1410 | " -toroot / -samplegroup Admin " + |
| 1411 | " -samplegroup Background " + |
| 1412 | " -samplegroup Connectivity " + |
| 1413 | " -samplegroup Content " + |
| 1414 | " -samplegroup Input " + |
| 1415 | " -samplegroup Media " + |
| 1416 | " -samplegroup Notification " + |
| 1417 | " -samplegroup RenderScript " + |
| 1418 | " -samplegroup Security " + |
| 1419 | " -samplegroup Sensors " + |
| 1420 | " -samplegroup System " + |
| 1421 | " -samplegroup Testing " + |
| 1422 | " -samplegroup UI " + |
| 1423 | " -samplegroup Views " + |
| 1424 | " -samplegroup Wearable -samplesdir development/samples/browseable ", |
| 1425 | installable: false, |
| 1426 | } |
| 1427 | |
| 1428 | droiddoc { |
| 1429 | name: "ds-docs", |
| 1430 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1431 | srcs: [ |
| 1432 | ":framework-doc-stubs", |
| 1433 | ], |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1434 | hdf: [ |
| 1435 | "android.whichdoc online", |
| 1436 | "android.hasSamples true", |
| 1437 | ], |
| 1438 | proofread_file: "ds-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1439 | args: framework_docs_only_args + |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1440 | " -toroot / -samplegroup Admin " + |
| 1441 | " -samplegroup Background " + |
| 1442 | " -samplegroup Connectivity " + |
| 1443 | " -samplegroup Content " + |
| 1444 | " -samplegroup Input " + |
| 1445 | " -samplegroup Media " + |
| 1446 | " -samplegroup Notification " + |
| 1447 | " -samplegroup RenderScript " + |
| 1448 | " -samplegroup Security " + |
| 1449 | " -samplegroup Sensors " + |
| 1450 | " -samplegroup System " + |
| 1451 | " -samplegroup Testing " + |
| 1452 | " -samplegroup UI " + |
| 1453 | " -samplegroup Views " + |
| 1454 | " -samplegroup Wearable -devsite -samplesdir development/samples/browseable ", |
| 1455 | } |
| 1456 | |
| 1457 | droiddoc { |
| 1458 | name: "ds-static-docs", |
| 1459 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1460 | srcs: [ |
| 1461 | ":framework-doc-stubs", |
| 1462 | ], |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1463 | hdf: [ |
| 1464 | "android.whichdoc online", |
| 1465 | ], |
| 1466 | proofread_file: "ds-static-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1467 | args: framework_docs_only_args + |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1468 | " -staticonly " + |
| 1469 | " -toroot / " + |
| 1470 | " -devsite " + |
| 1471 | " -ignoreJdLinks ", |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1472 | } |
| 1473 | |
| 1474 | droiddoc { |
| 1475 | name: "ds-ref-navtree-docs", |
| 1476 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1477 | srcs: [ |
| 1478 | ":framework-doc-stubs", |
| 1479 | ], |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1480 | hdf: [ |
| 1481 | "android.whichdoc online", |
| 1482 | ], |
| 1483 | proofread_file: "ds-ref-navtree-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1484 | args: framework_docs_only_args + |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1485 | " -toroot / " + |
| 1486 | " -atLinksNavtree " + |
| 1487 | " -navtreeonly ", |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1488 | } |
| 1489 | |
| 1490 | droiddoc { |
| 1491 | name: "online-sdk-dev-docs", |
| 1492 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1493 | srcs: [ |
| 1494 | ":framework-doc-stubs", |
| 1495 | ], |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1496 | hdf: [ |
| 1497 | "android.whichdoc online", |
| 1498 | "android.hasSamples true", |
| 1499 | ], |
| 1500 | proofread_file: "online-sdk-dev-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1501 | args: framework_docs_only_args + |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1502 | " -toroot / -samplegroup Admin " + |
| 1503 | " -samplegroup Background " + |
| 1504 | " -samplegroup Connectivity " + |
| 1505 | " -samplegroup Content " + |
| 1506 | " -samplegroup Input " + |
| 1507 | " -samplegroup Media " + |
| 1508 | " -samplegroup Notification " + |
| 1509 | " -samplegroup RenderScript " + |
| 1510 | " -samplegroup Security " + |
| 1511 | " -samplegroup Sensors " + |
| 1512 | " -samplegroup System " + |
| 1513 | " -samplegroup Testing " + |
| 1514 | " -samplegroup UI " + |
| 1515 | " -samplegroup Views " + |
| 1516 | " -samplegroup Wearable -samplesdir development/samples/browseable ", |
| 1517 | } |
| 1518 | |
| 1519 | droiddoc { |
| 1520 | name: "hidden-docs", |
| 1521 | defaults: ["framework-docs-default"], |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1522 | srcs: [ |
| 1523 | ":framework-doc-stubs", |
| 1524 | ], |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1525 | proofread_file: "hidden-docs-proofrerad.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1526 | args: framework_docs_only_args + |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1527 | " -referenceonly " + |
| 1528 | " -title \"Android SDK - Including hidden APIs.\"", |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1529 | } |
| 1530 | |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1531 | droidstubs { |
Colin Cross | a2b78a7 | 2018-03-29 13:31:04 -0700 | [diff] [blame] | 1532 | name: "hwbinder-stubs-docs", |
| 1533 | srcs: [ |
| 1534 | "core/java/android/os/HidlSupport.java", |
| 1535 | "core/java/android/annotation/IntDef.java", |
| 1536 | "core/java/android/annotation/NonNull.java", |
| 1537 | "core/java/android/annotation/SystemApi.java", |
| 1538 | "core/java/android/os/HwBinder.java", |
| 1539 | "core/java/android/os/HwBlob.java", |
| 1540 | "core/java/android/os/HwParcel.java", |
| 1541 | "core/java/android/os/IHwBinder.java", |
| 1542 | "core/java/android/os/IHwInterface.java", |
| 1543 | "core/java/android/os/DeadObjectException.java", |
| 1544 | "core/java/android/os/DeadSystemException.java", |
Nirav Atre | 9850dd9 | 2018-07-24 17:03:44 -0700 | [diff] [blame] | 1545 | "core/java/android/os/NativeHandle.java", |
Colin Cross | a2b78a7 | 2018-03-29 13:31:04 -0700 | [diff] [blame] | 1546 | "core/java/android/os/RemoteException.java", |
| 1547 | "core/java/android/util/AndroidException.java", |
| 1548 | ], |
Colin Cross | a2b78a7 | 2018-03-29 13:31:04 -0700 | [diff] [blame] | 1549 | installable: false, |
| 1550 | no_framework_libs: true, |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1551 | annotations_enabled: true, |
| 1552 | previous_api: ":last-released-public-api", |
| 1553 | merge_annotations_dirs: [ |
| 1554 | "metalava-manual", |
Pete Gillin | ff97819 | 2018-09-17 15:45:33 +0100 | [diff] [blame] | 1555 | "ojluni-annotated-sdk-stubs", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1556 | ], |
| 1557 | args: " --show-annotation android.annotation.SystemApi", |
Colin Cross | a2b78a7 | 2018-03-29 13:31:04 -0700 | [diff] [blame] | 1558 | } |
| 1559 | |
| 1560 | java_library_static { |
| 1561 | name: "hwbinder.stubs", |
| 1562 | sdk_version: "core_current", |
| 1563 | srcs: [ |
| 1564 | ":hwbinder-stubs-docs", |
| 1565 | ], |
| 1566 | } |
Nan Zhang | a0f91af | 2018-04-09 17:41:51 -0700 | [diff] [blame] | 1567 | |
Nan Zhang | 894c9ec | 2018-09-10 18:58:39 -0700 | [diff] [blame] | 1568 | droidstubs { |
Nan Zhang | a17beeb | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1569 | name: "hiddenapi-lists-docs", |
| 1570 | defaults: ["metalava-api-stubs-default"], |
David Brazdil | 96c9cbc | 2018-04-26 14:05:13 +0100 | [diff] [blame] | 1571 | arg_files: [ |
| 1572 | "core/res/AndroidManifest.xml", |
David Brazdil | 96c9cbc | 2018-04-26 14:05:13 +0100 | [diff] [blame] | 1573 | ], |
David Brazdil | 6f6a126 | 2018-05-31 13:58:41 +0100 | [diff] [blame] | 1574 | dex_api_filename: "public-dex.txt", |
David Brazdil | 96c9cbc | 2018-04-26 14:05:13 +0100 | [diff] [blame] | 1575 | private_dex_api_filename: "private-dex.txt", |
| 1576 | removed_dex_api_filename: "removed-dex.txt", |
Nan Zhang | a17beeb | 2018-08-22 10:48:15 -0700 | [diff] [blame] | 1577 | args: metalava_framework_docs_args + |
| 1578 | " --show-unannotated " + |
| 1579 | " --show-annotation android.annotation.SystemApi " + |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1580 | " --show-annotation android.annotation.TestApi ", |
David Brazdil | 96c9cbc | 2018-04-26 14:05:13 +0100 | [diff] [blame] | 1581 | } |
| 1582 | |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1583 | droidstubs { |
Mathew Inwood | 0a6a273 | 2018-06-22 15:30:02 +0100 | [diff] [blame] | 1584 | name: "hiddenapi-mappings", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1585 | defaults: ["metalava-api-stubs-default"], |
Paul Duffin | a0cb538 | 2018-10-31 10:34:51 +0000 | [diff] [blame] | 1586 | srcs: [ |
| 1587 | ":openjdk_java_files", |
| 1588 | ":non_openjdk_java_files", |
Andrei Onea | dd8f37a | 2019-03-13 15:27:23 +0000 | [diff] [blame] | 1589 | ":opt-telephony-common-srcs", |
Andrei Onea | 65b6296 | 2019-03-22 14:56:51 +0000 | [diff] [blame] | 1590 | "core/java/**/*.java", |
Paul Duffin | a0cb538 | 2018-10-31 10:34:51 +0000 | [diff] [blame] | 1591 | ], |
Mathew Inwood | 0a6a273 | 2018-06-22 15:30:02 +0100 | [diff] [blame] | 1592 | arg_files: [ |
| 1593 | "core/res/AndroidManifest.xml", |
Mathew Inwood | 0a6a273 | 2018-06-22 15:30:02 +0100 | [diff] [blame] | 1594 | ], |
| 1595 | dex_mapping_filename: "dex-mapping.txt", |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1596 | args: metalava_framework_docs_args + |
Adrian Roos | 9bdbd30 | 2018-12-07 13:53:40 +0100 | [diff] [blame] | 1597 | " --hide ReferencesHidden " + |
Adrian Roos | c6e2fc8 | 2018-12-12 15:08:44 +0100 | [diff] [blame] | 1598 | " --hide UnhiddenSystemApi " + |
Nan Zhang | 7764a4b | 2018-08-22 11:27:31 -0700 | [diff] [blame] | 1599 | " --show-unannotated " + |
| 1600 | " --show-annotation android.annotation.SystemApi " + |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1601 | " --show-annotation android.annotation.TestApi ", |
Mathew Inwood | 0a6a273 | 2018-06-22 15:30:02 +0100 | [diff] [blame] | 1602 | } |
| 1603 | |
Nan Zhang | a0f91af | 2018-04-09 17:41:51 -0700 | [diff] [blame] | 1604 | filegroup { |
| 1605 | name: "apache-http-stubs-sources", |
| 1606 | srcs: [ |
| 1607 | "core/java/org/apache/http/conn/ConnectTimeoutException.java", |
| 1608 | "core/java/org/apache/http/conn/scheme/HostNameResolver.java", |
| 1609 | "core/java/org/apache/http/conn/scheme/LayeredSocketFactory.java", |
| 1610 | "core/java/org/apache/http/conn/scheme/SocketFactory.java", |
| 1611 | "core/java/org/apache/http/conn/ssl/AbstractVerifier.java", |
| 1612 | "core/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java", |
| 1613 | "core/java/org/apache/http/conn/ssl/AndroidDistinguishedNameParser.java", |
| 1614 | "core/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java", |
| 1615 | "core/java/org/apache/http/conn/ssl/SSLSocketFactory.java", |
| 1616 | "core/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java", |
| 1617 | "core/java/org/apache/http/conn/ssl/X509HostnameVerifier.java", |
| 1618 | "core/java/org/apache/http/params/CoreConnectionPNames.java", |
| 1619 | "core/java/org/apache/http/params/HttpConnectionParams.java", |
| 1620 | "core/java/org/apache/http/params/HttpParams.java", |
Nan Zhang | a0f91af | 2018-04-09 17:41:51 -0700 | [diff] [blame] | 1621 | "core/java/android/net/http/SslCertificate.java", |
| 1622 | "core/java/android/net/http/SslError.java", |
| 1623 | "core/java/com/android/internal/util/HexDump.java", |
| 1624 | ], |
| 1625 | } |
Nan Zhang | 4212eb1 | 2018-04-25 17:23:33 -0700 | [diff] [blame] | 1626 | |
Nan Zhang | 894c9ec | 2018-09-10 18:58:39 -0700 | [diff] [blame] | 1627 | droidstubs { |
Nan Zhang | c28a0ac | 2018-08-07 13:40:33 -0700 | [diff] [blame] | 1628 | name: "api-stubs-docs", |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1629 | defaults: ["metalava-api-stubs-default"], |
Nan Zhang | 4212eb1 | 2018-04-25 17:23:33 -0700 | [diff] [blame] | 1630 | api_filename: "public_api.txt", |
| 1631 | private_api_filename: "private.txt", |
| 1632 | removed_api_filename: "removed.txt", |
| 1633 | arg_files: [ |
| 1634 | "core/res/AndroidManifest.xml", |
| 1635 | ], |
| 1636 | args: metalava_framework_docs_args, |
Nan Zhang | e561260 | 2018-08-16 16:16:00 -0700 | [diff] [blame] | 1637 | check_api: { |
| 1638 | current: { |
| 1639 | api_file: "api/current.txt", |
| 1640 | removed_api_file: "api/removed.txt", |
| 1641 | }, |
Nan Zhang | cd060d9 | 2018-08-20 20:34:26 -0700 | [diff] [blame] | 1642 | last_released: { |
| 1643 | api_file: ":last-released-public-api", |
| 1644 | removed_api_file: "api/removed.txt", |
| 1645 | }, |
Nan Zhang | e561260 | 2018-08-16 16:16:00 -0700 | [diff] [blame] | 1646 | }, |
Nan Zhang | 81f29f5 | 2018-09-17 14:33:08 -0700 | [diff] [blame] | 1647 | jdiff_enabled: true, |
Nan Zhang | 4212eb1 | 2018-04-25 17:23:33 -0700 | [diff] [blame] | 1648 | } |
| 1649 | |
Nan Zhang | 894c9ec | 2018-09-10 18:58:39 -0700 | [diff] [blame] | 1650 | droidstubs { |
Nan Zhang | c28a0ac | 2018-08-07 13:40:33 -0700 | [diff] [blame] | 1651 | name: "system-api-stubs-docs", |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1652 | defaults: ["metalava-api-stubs-default"], |
Nan Zhang | c28a0ac | 2018-08-07 13:40:33 -0700 | [diff] [blame] | 1653 | api_tag_name: "SYSTEM", |
Nan Zhang | 4212eb1 | 2018-04-25 17:23:33 -0700 | [diff] [blame] | 1654 | api_filename: "system-api.txt", |
| 1655 | private_api_filename: "system-private.txt", |
| 1656 | private_dex_api_filename: "system-private-dex.txt", |
| 1657 | removed_api_filename: "system-removed.txt", |
| 1658 | arg_files: [ |
| 1659 | "core/res/AndroidManifest.xml", |
| 1660 | ], |
| 1661 | args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi", |
Nan Zhang | e561260 | 2018-08-16 16:16:00 -0700 | [diff] [blame] | 1662 | check_api: { |
| 1663 | current: { |
| 1664 | api_file: "api/system-current.txt", |
| 1665 | removed_api_file: "api/system-removed.txt", |
| 1666 | }, |
Nan Zhang | cd060d9 | 2018-08-20 20:34:26 -0700 | [diff] [blame] | 1667 | last_released: { |
| 1668 | api_file: ":last-released-system-api", |
| 1669 | removed_api_file: "api/system-removed.txt", |
| 1670 | }, |
Nan Zhang | e561260 | 2018-08-16 16:16:00 -0700 | [diff] [blame] | 1671 | }, |
Nan Zhang | 81f29f5 | 2018-09-17 14:33:08 -0700 | [diff] [blame] | 1672 | jdiff_enabled: true, |
Nan Zhang | 4212eb1 | 2018-04-25 17:23:33 -0700 | [diff] [blame] | 1673 | } |
| 1674 | |
Nan Zhang | 894c9ec | 2018-09-10 18:58:39 -0700 | [diff] [blame] | 1675 | droidstubs { |
Nan Zhang | c28a0ac | 2018-08-07 13:40:33 -0700 | [diff] [blame] | 1676 | name: "test-api-stubs-docs", |
Nan Zhang | e9a76f7 | 2018-07-11 15:19:22 -0700 | [diff] [blame] | 1677 | defaults: ["metalava-api-stubs-default"], |
Nan Zhang | c28a0ac | 2018-08-07 13:40:33 -0700 | [diff] [blame] | 1678 | api_tag_name: "TEST", |
Nan Zhang | 4212eb1 | 2018-04-25 17:23:33 -0700 | [diff] [blame] | 1679 | api_filename: "test-api.txt", |
| 1680 | removed_api_filename: "test-removed.txt", |
| 1681 | arg_files: [ |
| 1682 | "core/res/AndroidManifest.xml", |
| 1683 | ], |
| 1684 | args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi", |
Nan Zhang | e561260 | 2018-08-16 16:16:00 -0700 | [diff] [blame] | 1685 | check_api: { |
| 1686 | current: { |
| 1687 | api_file: "api/test-current.txt", |
| 1688 | removed_api_file: "api/test-removed.txt", |
| 1689 | }, |
| 1690 | }, |
Nan Zhang | 4212eb1 | 2018-04-25 17:23:33 -0700 | [diff] [blame] | 1691 | } |
Andrei Onea | ae93c8b | 2019-03-04 16:05:26 +0000 | [diff] [blame] | 1692 | |
Nan Zhang | af25130 | 2018-08-30 10:59:51 -0700 | [diff] [blame] | 1693 | filegroup { |
| 1694 | name: "framework-annotation-nonnull-srcs", |
| 1695 | srcs: [ |
| 1696 | "core/java/android/annotation/NonNull.java", |
| 1697 | ], |
| 1698 | } |
Andrei Onea | c1d180c | 2019-03-08 12:34:28 +0000 | [diff] [blame] | 1699 | |
Andrei Onea | ae93c8b | 2019-03-04 16:05:26 +0000 | [diff] [blame] | 1700 | // Creates an index of AIDL methods; used for adding UnsupportedAppUsage |
| 1701 | // annotations to private apis |
| 1702 | aidl_mapping { |
| 1703 | name: "framework-aidl-mappings", |
| 1704 | srcs: [":framework-defaults"], |
Tobias Thierer | bc05034 | 2019-05-23 16:20:12 +0100 | [diff] [blame] | 1705 | output: "framework-aidl-mappings.txt", |
junyulai | 7c46917 | 2019-01-16 20:23:34 +0800 | [diff] [blame] | 1706 | } |