2016-09-23 15:55:49 -07:00
|
|
|
// Copyright (C) 2016 The Android Open Source Project
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
|
2017-11-16 00:15:28 -08:00
|
|
|
// Build the master framework library.
|
|
|
|
|
|
|
|
// READ ME: ########################################################
|
|
|
|
//
|
|
|
|
// When updating this list of aidl files, consider if that aidl is
|
|
|
|
// part of the SDK API. If it is, also add it to the list in Android.mk
|
|
|
|
// that is preprocessed and distributed with the SDK. This list should
|
|
|
|
// not contain any aidl files for parcelables, but the one below should
|
|
|
|
// if you intend for 3rd parties to be able to send those objects
|
|
|
|
// across process boundaries.
|
|
|
|
//
|
|
|
|
// READ ME: ########################################################
|
|
|
|
|
2018-06-28 14:12:10 +01:00
|
|
|
java_defaults {
|
|
|
|
name: "framework-defaults",
|
2018-06-27 11:00:11 -07:00
|
|
|
installable: true,
|
2017-11-16 00:15:28 -08:00
|
|
|
|
|
|
|
srcs: [
|
|
|
|
// From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
|
|
|
|
"core/java/**/*.java",
|
|
|
|
"graphics/java/**/*.java",
|
|
|
|
"location/java/**/*.java",
|
|
|
|
"lowpan/java/**/*.java",
|
|
|
|
"media/java/**/*.java",
|
|
|
|
"media/mca/effect/java/**/*.java",
|
|
|
|
"media/mca/filterfw/java/**/*.java",
|
|
|
|
"media/mca/filterpacks/java/**/*.java",
|
|
|
|
"drm/java/**/*.java",
|
|
|
|
"opengl/java/**/*.java",
|
|
|
|
"sax/java/**/*.java",
|
|
|
|
"telecomm/java/**/*.java",
|
|
|
|
"telephony/java/**/*.java",
|
|
|
|
"wifi/java/**/*.java",
|
|
|
|
"keystore/java/**/*.java",
|
|
|
|
"rs/java/**/*.java",
|
|
|
|
|
|
|
|
":framework-javastream-protos",
|
2019-01-24 04:25:44 +09:00
|
|
|
// TODO: Resolve circular library dependency and remove media1-srcs and mediasession2-srcs
|
2019-01-23 13:17:53 +09:00
|
|
|
":media1-srcs",
|
2019-01-22 17:16:07 +09:00
|
|
|
":mediasession2-srcs",
|
2017-11-16 00:15:28 -08:00
|
|
|
|
|
|
|
"core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl",
|
|
|
|
"core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl",
|
|
|
|
"core/java/android/accounts/IAccountManager.aidl",
|
|
|
|
"core/java/android/accounts/IAccountManagerResponse.aidl",
|
|
|
|
"core/java/android/accounts/IAccountAuthenticator.aidl",
|
|
|
|
"core/java/android/accounts/IAccountAuthenticatorResponse.aidl",
|
|
|
|
"core/java/android/app/IActivityController.aidl",
|
|
|
|
"core/java/android/app/IActivityManager.aidl",
|
|
|
|
"core/java/android/app/IActivityPendingResult.aidl",
|
2018-04-25 15:41:44 -07:00
|
|
|
"core/java/android/app/IActivityTaskManager.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/app/IAlarmCompleteListener.aidl",
|
|
|
|
"core/java/android/app/IAlarmListener.aidl",
|
|
|
|
"core/java/android/app/IAlarmManager.aidl",
|
|
|
|
"core/java/android/app/IAppTask.aidl",
|
|
|
|
"core/java/android/app/IApplicationThread.aidl",
|
|
|
|
"core/java/android/app/IAssistDataReceiver.aidl",
|
|
|
|
"core/java/android/app/ITaskStackListener.aidl",
|
|
|
|
"core/java/android/app/IBackupAgent.aidl",
|
|
|
|
"core/java/android/app/IEphemeralResolver.aidl",
|
|
|
|
"core/java/android/app/IInputForwarder.aidl",
|
|
|
|
"core/java/android/app/IInstantAppResolver.aidl",
|
|
|
|
"core/java/android/app/IInstrumentationWatcher.aidl",
|
|
|
|
"core/java/android/app/INotificationManager.aidl",
|
|
|
|
"core/java/android/app/IProcessObserver.aidl",
|
|
|
|
"core/java/android/app/ISearchManager.aidl",
|
|
|
|
"core/java/android/app/ISearchManagerCallback.aidl",
|
|
|
|
"core/java/android/app/IServiceConnection.aidl",
|
2018-09-24 14:31:25 -07:00
|
|
|
"core/java/android/app/ISmsAppService.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/app/IStopUserCallback.aidl",
|
|
|
|
"core/java/android/app/job/IJobCallback.aidl",
|
|
|
|
"core/java/android/app/job/IJobScheduler.aidl",
|
|
|
|
"core/java/android/app/job/IJobService.aidl",
|
|
|
|
"core/java/android/app/ITransientNotification.aidl",
|
|
|
|
"core/java/android/app/IUidObserver.aidl",
|
|
|
|
"core/java/android/app/IUiAutomationConnection.aidl",
|
|
|
|
"core/java/android/app/IUiModeManager.aidl",
|
2018-07-21 23:00:40 -07:00
|
|
|
"core/java/android/app/IUriGrantsManager.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/app/IUserSwitchObserver.aidl",
|
|
|
|
"core/java/android/app/IWallpaperManager.aidl",
|
|
|
|
"core/java/android/app/IWallpaperManagerCallback.aidl",
|
|
|
|
"core/java/android/app/admin/IDeviceAdminService.aidl",
|
|
|
|
"core/java/android/app/admin/IDevicePolicyManager.aidl",
|
2018-10-22 18:12:16 +01:00
|
|
|
"core/java/android/app/admin/StartInstallingUpdateCallback.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/app/trust/IStrongAuthTracker.aidl",
|
|
|
|
"core/java/android/app/trust/ITrustManager.aidl",
|
|
|
|
"core/java/android/app/trust/ITrustListener.aidl",
|
[KV] State machine to linear task w/ RemoteCall
This is the first CL of key-value backup refactor.
* Method execute() that executed the state machine states is now empty
and run() is created with the initial version of the linear task. It's
basically composed of begin + loop + end. Although it still has the notion
of state, it's more restricted than before (with private methods returning
the next state). This is intentional to avoid making this CL too heavy to
review and to avoid too much behavioral changes here. In the next CLs I
intend to remove BackupState.
* Introduction of RemoteCall, which encapsulates an outbound call that
leaves the system_server, with time-out and cancellation built-in.
Agent calls are now triggered using this. As a result there is no more
operationComplete() method either.
* Cancellation now is cleaner. We don't need a step lock anymore, only a
(volatile) boolean that is checked in every queue iteration. If asked
to cancel during an ongoing agent call we rely on RemoteCall.cancel()
to return control of the task thread to us. We wait for the cancel
acknowledgement to preserve the contract of no more transport calls.
* PFTBT instantiation moved from the constructor to the run() method,
which makes more sense.
* No need for mFinished, mBackupData == null bookkeeping since time-outs,
cancellation and legitimate agent responses won't step into one another
anymore.
* Ternary (mQueue.isEmpty) ? BackupState.FINAL : BackupState.RUNNING_QUEUE gone
because we check this in the beginning of invokeNextAgent() and now we
don't pay the state-machine tick price associated with the handler.
* PerformBackupTask call sites now call static method start(), that
spins up a new dedicated thread for the task. This new thread is
assigned the same (process) priority as the backup thread
(THREAD_PRIORITY_BACKGROUND).
Work left for future CLs:
* RemoteCall spins up a new thread for kicking off the call, this is for
system agents that are executed inline. Old PBT also executed in the same
thread (backup handler thread), so maintaining this to keep this CL at
a reasonable size.
Test: atest PerformBackupTaskTest
Test: atest RunFrameworksServicesRoboTests
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/backup
Test: atest CtsBackupTestCases
Test: atest CtsBackupHostTestCases
Test: atest GtsBackupTestCases
Test: atest GtsBackupHostTestCases
Test: adb shell bmgr backupnow <kv_packages>
Test: 1. adb shell bmgr backup <p1> <p2>
2. adb shell bmgr run
A) 3. Cancel while sending <p1> data to transport
4. Verify <p1> is backed-up and not pending
Verify <p2> is not backed-up and is pending
B) 3. Cancel while waiting for <p1> agent
4. Verify <p1> is not backed-up and is pending
Verify <p2> is not backed-up and is pending
Change-Id: Ia456c4e807de95d662c9e923245be07e8996f58a
2018-06-22 11:47:49 +01:00
|
|
|
"core/java/android/app/backup/IBackupCallback.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/app/backup/IBackupManager.aidl",
|
|
|
|
"core/java/android/app/backup/IBackupObserver.aidl",
|
|
|
|
"core/java/android/app/backup/IBackupManagerMonitor.aidl",
|
|
|
|
"core/java/android/app/backup/IFullBackupRestoreObserver.aidl",
|
|
|
|
"core/java/android/app/backup/IRestoreObserver.aidl",
|
|
|
|
"core/java/android/app/backup/IRestoreSession.aidl",
|
|
|
|
"core/java/android/app/backup/ISelectBackupTransportCallback.aidl",
|
2019-01-08 17:41:55 -08:00
|
|
|
"core/java/android/app/contentsuggestions/IClassificationsCallback.aidl",
|
|
|
|
"core/java/android/app/contentsuggestions/IContentSuggestionsManager.aidl",
|
|
|
|
"core/java/android/app/contentsuggestions/ISelectionsCallback.aidl",
|
2018-11-14 11:59:02 -08:00
|
|
|
"core/java/android/app/prediction/IPredictionCallback.aidl",
|
|
|
|
"core/java/android/app/prediction/IPredictionManager.aidl",
|
2018-12-06 18:14:42 -08:00
|
|
|
"core/java/android/app/role/IOnRoleHoldersChangedListener.aidl",
|
2018-09-25 15:10:57 -07:00
|
|
|
"core/java/android/app/role/IRoleManager.aidl",
|
|
|
|
"core/java/android/app/role/IRoleManagerCallback.aidl",
|
2017-10-17 14:12:42 -04:00
|
|
|
"core/java/android/app/slice/ISliceManager.aidl",
|
2017-12-06 08:56:33 -05:00
|
|
|
"core/java/android/app/slice/ISliceListener.aidl",
|
2018-05-30 14:35:24 +01:00
|
|
|
"core/java/android/app/timedetector/ITimeDetectorService.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/app/timezone/ICallback.aidl",
|
|
|
|
"core/java/android/app/timezone/IRulesManager.aidl",
|
2018-06-19 12:53:47 +01:00
|
|
|
"core/java/android/app/timezonedetector/ITimeZoneDetectorService.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/app/usage/ICacheQuotaService.aidl",
|
|
|
|
"core/java/android/app/usage/IStorageStatsManager.aidl",
|
|
|
|
"core/java/android/app/usage/IUsageStatsManager.aidl",
|
|
|
|
":libbluetooth-binder-aidl",
|
|
|
|
"core/java/android/content/IClipboard.aidl",
|
|
|
|
"core/java/android/content/IContentService.aidl",
|
|
|
|
"core/java/android/content/IIntentReceiver.aidl",
|
|
|
|
"core/java/android/content/IIntentSender.aidl",
|
|
|
|
"core/java/android/content/IOnPrimaryClipChangedListener.aidl",
|
|
|
|
"core/java/android/content/IRestrictionsManager.aidl",
|
|
|
|
"core/java/android/content/ISyncAdapter.aidl",
|
2018-01-03 11:29:01 -08:00
|
|
|
"core/java/android/content/ISyncAdapterUnsyncableAccountCallback.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/content/ISyncContext.aidl",
|
|
|
|
"core/java/android/content/ISyncServiceAdapter.aidl",
|
|
|
|
"core/java/android/content/ISyncStatusObserver.aidl",
|
|
|
|
"core/java/android/content/om/IOverlayManager.aidl",
|
2018-01-18 12:49:49 +00:00
|
|
|
"core/java/android/content/pm/ICrossProfileApps.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/content/pm/IDexModuleRegisterCallback.aidl",
|
|
|
|
"core/java/android/content/pm/ILauncherApps.aidl",
|
|
|
|
"core/java/android/content/pm/IOnAppsChangedListener.aidl",
|
|
|
|
"core/java/android/content/pm/IOnPermissionsChangeListener.aidl",
|
|
|
|
"core/java/android/content/pm/IOtaDexopt.aidl",
|
|
|
|
"core/java/android/content/pm/IPackageDataObserver.aidl",
|
|
|
|
"core/java/android/content/pm/IPackageDeleteObserver.aidl",
|
|
|
|
"core/java/android/content/pm/IPackageDeleteObserver2.aidl",
|
|
|
|
"core/java/android/content/pm/IPackageInstallObserver2.aidl",
|
|
|
|
"core/java/android/content/pm/IPackageInstaller.aidl",
|
|
|
|
"core/java/android/content/pm/IPackageInstallerCallback.aidl",
|
|
|
|
"core/java/android/content/pm/IPackageInstallerSession.aidl",
|
|
|
|
"core/java/android/content/pm/IPackageManager.aidl",
|
|
|
|
":libbinder_aidl",
|
|
|
|
"core/java/android/content/pm/IPackageMoveObserver.aidl",
|
|
|
|
"core/java/android/content/pm/IPackageStatsObserver.aidl",
|
|
|
|
"core/java/android/content/pm/IPinItemRequest.aidl",
|
|
|
|
"core/java/android/content/pm/IShortcutService.aidl",
|
2017-11-07 18:49:43 -08:00
|
|
|
"core/java/android/content/pm/dex/IArtManager.aidl",
|
|
|
|
"core/java/android/content/pm/dex/ISnapshotRuntimeProfileCallback.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl",
|
2018-09-12 16:38:15 +01:00
|
|
|
"core/java/android/content/rollback/IRollbackManager.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/database/IContentObserver.aidl",
|
2018-01-18 15:42:48 -08:00
|
|
|
"core/java/android/debug/IAdbManager.aidl",
|
2018-01-19 09:01:46 -05:00
|
|
|
"core/java/android/debug/IAdbTransport.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
":libcamera_client_aidl",
|
|
|
|
":libcamera_client_framework_aidl",
|
|
|
|
"core/java/android/hardware/IConsumerIrService.aidl",
|
|
|
|
"core/java/android/hardware/ISerialManager.aidl",
|
2018-09-28 18:48:12 -07:00
|
|
|
"core/java/android/hardware/biometrics/IBiometricEnabledOnKeyguardCallback.aidl",
|
2018-09-20 22:28:50 -07:00
|
|
|
"core/java/android/hardware/biometrics/IBiometricService.aidl",
|
|
|
|
"core/java/android/hardware/biometrics/IBiometricServiceReceiver.aidl",
|
3/n: For passive modalities, add plumbing for "try again"
When "try again" is showing, authentication is canceled internally.
BiometricService caches the client's info so that authentication can
be restarted when "try again" is pressed. Because authentication
is not running when "try again" is showing, BiometricService also needs
to have a TaskStackListener so that BP can be dismissed and an error can
be sent to the client when the app loses focus.
IBiometricServiceReceiver has been split into two. One for BiometricPrompt
to receive messages from BiometricService, and another for BiometricService
to receive messages from SystemUI/<Biometric>Services.
When we get locked out, don't send the last onAuthenticationFailed
to the client, since "Authentication failed" will be shown briefly
and be replaced by "Device locked out" which is janky
Bug: 111461540
Test: Tested with requireConfirmation enabled/disabled
Test: Tested onConfigurationChange corner cases, e.g. when "try again"
or "confirm" buttons are showing, rotate the device. Buttons
persist correctly and don't appear when unexpected
Test: Tested task stack corner cases, e.g. when "try again" is showing,
press home button. BP dismisses and client receives ERROR_CANCELED
Test: BiometricPromptDemo receives all callbacks
Change-Id: I62126708ce8db8b358c666a07aa7c39607642c9d
2018-11-28 16:32:36 -08:00
|
|
|
"core/java/android/hardware/biometrics/IBiometricServiceReceiverInternal.aidl",
|
2018-06-19 18:41:12 -07:00
|
|
|
"core/java/android/hardware/biometrics/IBiometricServiceLockoutResetCallback.aidl",
|
2018-07-03 14:46:07 -07:00
|
|
|
"core/java/android/hardware/display/IColorDisplayManager.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/hardware/display/IDisplayManager.aidl",
|
|
|
|
"core/java/android/hardware/display/IDisplayManagerCallback.aidl",
|
|
|
|
"core/java/android/hardware/display/IVirtualDisplayCallback.aidl",
|
2018-01-18 11:48:09 -08:00
|
|
|
"core/java/android/hardware/fingerprint/IFingerprintClientActiveCallback.aidl",
|
2018-03-22 17:04:51 +02:00
|
|
|
"core/java/android/hardware/face/IFaceService.aidl",
|
|
|
|
"core/java/android/hardware/face/IFaceServiceReceiver.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/hardware/fingerprint/IFingerprintService.aidl",
|
|
|
|
"core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl",
|
|
|
|
"core/java/android/hardware/hdmi/IHdmiControlCallback.aidl",
|
|
|
|
"core/java/android/hardware/hdmi/IHdmiControlService.aidl",
|
|
|
|
"core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl",
|
|
|
|
"core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl",
|
|
|
|
"core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl",
|
|
|
|
"core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl",
|
|
|
|
"core/java/android/hardware/hdmi/IHdmiRecordListener.aidl",
|
|
|
|
"core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl",
|
|
|
|
"core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl",
|
|
|
|
"core/java/android/hardware/input/IInputManager.aidl",
|
|
|
|
"core/java/android/hardware/input/IInputDevicesChangedListener.aidl",
|
|
|
|
"core/java/android/hardware/input/ITabletModeChangedListener.aidl",
|
2018-11-05 18:00:43 -08:00
|
|
|
"core/java/android/hardware/iris/IIrisService.aidl",
|
2019-01-22 18:01:40 +00:00
|
|
|
"core/java/android/hardware/location/IActivityRecognitionHardware.aidl",
|
|
|
|
"core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl",
|
|
|
|
"core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl",
|
|
|
|
"core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/hardware/location/IGeofenceHardware.aidl",
|
|
|
|
"core/java/android/hardware/location/IGeofenceHardwareCallback.aidl",
|
|
|
|
"core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl",
|
|
|
|
"core/java/android/hardware/location/IContextHubCallback.aidl",
|
|
|
|
"core/java/android/hardware/location/IContextHubClient.aidl",
|
|
|
|
"core/java/android/hardware/location/IContextHubClientCallback.aidl",
|
|
|
|
"core/java/android/hardware/location/IContextHubService.aidl",
|
|
|
|
"core/java/android/hardware/location/IContextHubTransactionCallback.aidl",
|
2018-01-11 16:03:46 -08:00
|
|
|
"core/java/android/hardware/radio/IAnnouncementListener.aidl",
|
|
|
|
"core/java/android/hardware/radio/ICloseHandle.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/hardware/radio/IRadioService.aidl",
|
|
|
|
"core/java/android/hardware/radio/ITuner.aidl",
|
|
|
|
"core/java/android/hardware/radio/ITunerCallback.aidl",
|
|
|
|
"core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl",
|
|
|
|
"core/java/android/hardware/usb/IUsbManager.aidl",
|
2018-08-24 09:50:40 -07:00
|
|
|
"core/java/android/hardware/usb/IUsbSerialReader.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/net/IConnectivityManager.aidl",
|
2018-10-19 10:26:19 -07:00
|
|
|
"core/java/android/hardware/ISensorPrivacyListener.aidl",
|
|
|
|
"core/java/android/hardware/ISensorPrivacyManager.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/net/IIpConnectivityMetrics.aidl",
|
|
|
|
"core/java/android/net/IEthernetManager.aidl",
|
|
|
|
"core/java/android/net/IEthernetServiceListener.aidl",
|
|
|
|
"core/java/android/net/INetdEventCallback.aidl",
|
|
|
|
"core/java/android/net/IIpSecService.aidl",
|
|
|
|
"core/java/android/net/INetworkManagementEventObserver.aidl",
|
|
|
|
"core/java/android/net/INetworkPolicyListener.aidl",
|
|
|
|
"core/java/android/net/INetworkPolicyManager.aidl",
|
|
|
|
"core/java/android/net/INetworkRecommendationProvider.aidl",
|
|
|
|
"core/java/android/net/INetworkScoreCache.aidl",
|
|
|
|
"core/java/android/net/INetworkScoreService.aidl",
|
|
|
|
"core/java/android/net/INetworkStatsService.aidl",
|
|
|
|
"core/java/android/net/INetworkStatsSession.aidl",
|
|
|
|
"core/java/android/net/ITetheringStatsProvider.aidl",
|
|
|
|
"core/java/android/net/nsd/INsdManager.aidl",
|
|
|
|
"core/java/android/nfc/IAppCallback.aidl",
|
|
|
|
"core/java/android/nfc/INfcAdapter.aidl",
|
|
|
|
"core/java/android/nfc/INfcAdapterExtras.aidl",
|
|
|
|
"core/java/android/nfc/INfcTag.aidl",
|
|
|
|
"core/java/android/nfc/INfcCardEmulation.aidl",
|
|
|
|
"core/java/android/nfc/INfcFCardEmulation.aidl",
|
|
|
|
"core/java/android/nfc/INfcUnlockHandler.aidl",
|
|
|
|
"core/java/android/nfc/INfcDta.aidl",
|
|
|
|
"core/java/android/nfc/ITagRemovedCallback.aidl",
|
2017-12-08 15:07:03 -08:00
|
|
|
"core/java/android/se/omapi/ISecureElementService.aidl",
|
|
|
|
"core/java/android/se/omapi/ISecureElementListener.aidl",
|
|
|
|
"core/java/android/se/omapi/ISecureElementChannel.aidl",
|
|
|
|
"core/java/android/se/omapi/ISecureElementReader.aidl",
|
|
|
|
"core/java/android/se/omapi/ISecureElementSession.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/os/IBatteryPropertiesRegistrar.aidl",
|
|
|
|
"core/java/android/os/ICancellationSignal.aidl",
|
|
|
|
"core/java/android/os/IDeviceIdentifiersPolicyService.aidl",
|
|
|
|
"core/java/android/os/IDeviceIdleController.aidl",
|
|
|
|
"core/java/android/os/IHardwarePropertiesManager.aidl",
|
2018-10-26 22:34:06 -07:00
|
|
|
":libincident_aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/os/IMaintenanceActivityListener.aidl",
|
|
|
|
"core/java/android/os/IMessenger.aidl",
|
|
|
|
"core/java/android/os/INetworkActivityListener.aidl",
|
|
|
|
"core/java/android/os/INetworkManagementService.aidl",
|
|
|
|
"core/java/android/os/IPermissionController.aidl",
|
|
|
|
"core/java/android/os/IProcessInfoService.aidl",
|
|
|
|
"core/java/android/os/IProgressListener.aidl",
|
|
|
|
"core/java/android/os/IPowerManager.aidl",
|
|
|
|
"core/java/android/os/IRecoverySystem.aidl",
|
|
|
|
"core/java/android/os/IRecoverySystemProgressListener.aidl",
|
|
|
|
"core/java/android/os/IRemoteCallback.aidl",
|
|
|
|
"core/java/android/os/ISchedulingPolicyService.aidl",
|
2018-10-26 22:34:06 -07:00
|
|
|
":statsd_aidl",
|
2017-01-24 15:08:21 -08:00
|
|
|
"core/java/android/os/ISystemUpdateManager.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/os/IThermalEventListener.aidl",
|
2018-11-12 11:02:09 -08:00
|
|
|
"core/java/android/os/IThermalStatusListener.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/os/IThermalService.aidl",
|
|
|
|
"core/java/android/os/IUpdateLock.aidl",
|
|
|
|
"core/java/android/os/IUserManager.aidl",
|
|
|
|
"core/java/android/os/IVibratorService.aidl",
|
|
|
|
"core/java/android/os/storage/IStorageManager.aidl",
|
|
|
|
"core/java/android/os/storage/IStorageEventListener.aidl",
|
|
|
|
"core/java/android/os/storage/IStorageShutdownObserver.aidl",
|
|
|
|
"core/java/android/os/storage/IObbActionListener.aidl",
|
2018-12-21 09:41:58 -08:00
|
|
|
"core/java/android/permission/IPermissionController.aidl",
|
2018-09-25 15:10:57 -07:00
|
|
|
"core/java/android/rolecontrollerservice/IRoleControllerService.aidl",
|
2018-02-14 13:53:04 +08:00
|
|
|
":keystore_aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl",
|
2018-11-14 11:59:02 -08:00
|
|
|
"core/java/android/service/appprediction/IPredictionService.aidl",
|
2018-12-03 16:30:30 -08:00
|
|
|
"core/java/android/service/autofill/augmented/IAugmentedAutofillService.aidl",
|
|
|
|
"core/java/android/service/autofill/augmented/IFillCallback.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/service/autofill/IAutoFillService.aidl",
|
2018-01-05 17:04:10 -08:00
|
|
|
"core/java/android/service/autofill/IAutofillFieldClassificationService.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/service/autofill/IFillCallback.aidl",
|
|
|
|
"core/java/android/service/autofill/ISaveCallback.aidl",
|
|
|
|
"core/java/android/service/carrier/ICarrierService.aidl",
|
|
|
|
"core/java/android/service/carrier/ICarrierMessagingCallback.aidl",
|
|
|
|
"core/java/android/service/carrier/ICarrierMessagingService.aidl",
|
2019-01-08 17:41:55 -08:00
|
|
|
"core/java/android/service/contentsuggestions/IContentSuggestionsService.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl",
|
|
|
|
"core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl",
|
|
|
|
"core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl",
|
|
|
|
"core/java/android/service/euicc/IEuiccService.aidl",
|
|
|
|
"core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl",
|
|
|
|
"core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl",
|
|
|
|
"core/java/android/service/euicc/IGetEidCallback.aidl",
|
|
|
|
"core/java/android/service/euicc/IGetEuiccInfoCallback.aidl",
|
|
|
|
"core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl",
|
2017-12-13 15:13:02 -08:00
|
|
|
"core/java/android/service/euicc/IGetOtaStatusCallback.aidl",
|
2017-12-14 15:36:06 -08:00
|
|
|
"core/java/android/service/euicc/IOtaStatusChangedCallback.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl",
|
|
|
|
"core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl",
|
|
|
|
"core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl",
|
|
|
|
"core/java/android/service/gatekeeper/IGateKeeperService.aidl",
|
2018-12-03 16:30:30 -08:00
|
|
|
"core/java/android/service/contentcapture/IContentCaptureService.aidl",
|
2019-01-15 08:32:42 -08:00
|
|
|
"core/java/android/service/contentcapture/IContentCaptureServiceCallback.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/service/notification/INotificationListener.aidl",
|
|
|
|
"core/java/android/service/notification/IStatusBarNotificationHolder.aidl",
|
|
|
|
"core/java/android/service/notification/IConditionListener.aidl",
|
|
|
|
"core/java/android/service/notification/IConditionProvider.aidl",
|
|
|
|
"core/java/android/service/settings/suggestions/ISuggestionService.aidl",
|
2018-10-26 16:18:07 -07:00
|
|
|
"core/java/android/service/sms/IFinancialSmsService.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/service/vr/IPersistentVrStateCallbacks.aidl",
|
|
|
|
"core/java/android/service/vr/IVrListener.aidl",
|
|
|
|
"core/java/android/service/vr/IVrManager.aidl",
|
|
|
|
"core/java/android/service/vr/IVrStateCallbacks.aidl",
|
|
|
|
"core/java/android/print/ILayoutResultCallback.aidl",
|
|
|
|
"core/java/android/print/IPrinterDiscoveryObserver.aidl",
|
|
|
|
"core/java/android/print/IPrintDocumentAdapter.aidl",
|
|
|
|
"core/java/android/print/IPrintDocumentAdapterObserver.aidl",
|
|
|
|
"core/java/android/print/IPrintJobStateChangeListener.aidl",
|
|
|
|
"core/java/android/print/IPrintServicesChangeListener.aidl",
|
|
|
|
"core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl",
|
|
|
|
"core/java/android/print/IPrintManager.aidl",
|
|
|
|
"core/java/android/print/IPrintSpooler.aidl",
|
|
|
|
"core/java/android/print/IPrintSpoolerCallbacks.aidl",
|
|
|
|
"core/java/android/print/IPrintSpoolerClient.aidl",
|
|
|
|
"core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl",
|
|
|
|
"core/java/android/printservice/recommendation/IRecommendationService.aidl",
|
|
|
|
"core/java/android/print/IWriteResultCallback.aidl",
|
|
|
|
"core/java/android/printservice/IPrintService.aidl",
|
|
|
|
"core/java/android/printservice/IPrintServiceClient.aidl",
|
|
|
|
"core/java/android/companion/ICompanionDeviceManager.aidl",
|
|
|
|
"core/java/android/companion/ICompanionDeviceDiscoveryService.aidl",
|
|
|
|
"core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl",
|
|
|
|
"core/java/android/companion/IFindDeviceCallback.aidl",
|
|
|
|
"core/java/android/service/dreams/IDreamManager.aidl",
|
|
|
|
"core/java/android/service/dreams/IDreamService.aidl",
|
|
|
|
"core/java/android/service/oemlock/IOemLockService.aidl",
|
|
|
|
"core/java/android/service/persistentdata/IPersistentDataBlockService.aidl",
|
|
|
|
"core/java/android/service/trust/ITrustAgentService.aidl",
|
|
|
|
"core/java/android/service/trust/ITrustAgentServiceCallback.aidl",
|
|
|
|
"core/java/android/service/voice/IVoiceInteractionService.aidl",
|
|
|
|
"core/java/android/service/voice/IVoiceInteractionSession.aidl",
|
|
|
|
"core/java/android/service/voice/IVoiceInteractionSessionService.aidl",
|
|
|
|
"core/java/android/service/wallpaper/IWallpaperConnection.aidl",
|
|
|
|
"core/java/android/service/wallpaper/IWallpaperEngine.aidl",
|
|
|
|
"core/java/android/service/wallpaper/IWallpaperService.aidl",
|
|
|
|
"core/java/android/service/chooser/IChooserTargetService.aidl",
|
|
|
|
"core/java/android/service/chooser/IChooserTargetResult.aidl",
|
|
|
|
"core/java/android/service/resolver/IResolverRankerService.aidl",
|
|
|
|
"core/java/android/service/resolver/IResolverRankerResult.aidl",
|
2018-11-09 16:58:35 +00:00
|
|
|
"core/java/android/service/textclassifier/IConversationActionsCallback.aidl",
|
2018-01-18 04:34:44 -08:00
|
|
|
"core/java/android/service/textclassifier/ITextClassificationCallback.aidl",
|
|
|
|
"core/java/android/service/textclassifier/ITextClassifierService.aidl",
|
2018-11-09 16:58:35 +00:00
|
|
|
"core/java/android/service/textclassifier/ITextLanguageCallback.aidl",
|
2018-01-18 04:34:44 -08:00
|
|
|
"core/java/android/service/textclassifier/ITextLinksCallback.aidl",
|
|
|
|
"core/java/android/service/textclassifier/ITextSelectionCallback.aidl",
|
2018-12-12 14:44:28 -08:00
|
|
|
"core/java/android/service/attention/IAttentionService.aidl",
|
|
|
|
"core/java/android/service/attention/IAttentionCallback.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl",
|
|
|
|
"core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl",
|
|
|
|
"core/java/android/view/accessibility/IAccessibilityManager.aidl",
|
|
|
|
"core/java/android/view/accessibility/IAccessibilityManagerClient.aidl",
|
|
|
|
"core/java/android/view/autofill/IAutoFillManager.aidl",
|
|
|
|
"core/java/android/view/autofill/IAutoFillManagerClient.aidl",
|
2018-11-15 18:16:12 -08:00
|
|
|
"core/java/android/view/autofill/IAugmentedAutofillManagerClient.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/view/autofill/IAutofillWindowPresenter.aidl",
|
2018-12-17 12:22:29 -08:00
|
|
|
"core/java/android/view/contentcapture/IContentCaptureDirectManager.aidl",
|
2018-12-03 16:30:30 -08:00
|
|
|
"core/java/android/view/contentcapture/IContentCaptureManager.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/view/IApplicationToken.aidl",
|
|
|
|
"core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl",
|
|
|
|
"core/java/android/view/IDockedStackListener.aidl",
|
|
|
|
"core/java/android/view/IGraphicsStats.aidl",
|
|
|
|
"core/java/android/view/IGraphicsStatsCallback.aidl",
|
|
|
|
"core/java/android/view/IInputFilter.aidl",
|
|
|
|
"core/java/android/view/IInputFilterHost.aidl",
|
|
|
|
"core/java/android/view/IOnKeyguardExitResult.aidl",
|
|
|
|
"core/java/android/view/IPinnedStackController.aidl",
|
|
|
|
"core/java/android/view/IPinnedStackListener.aidl",
|
2017-12-01 14:58:18 +01:00
|
|
|
"core/java/android/view/IRemoteAnimationRunner.aidl",
|
2018-01-25 17:46:20 +00:00
|
|
|
"core/java/android/view/IRecentsAnimationController.aidl",
|
|
|
|
"core/java/android/view/IRecentsAnimationRunner.aidl",
|
2017-12-01 14:58:18 +01:00
|
|
|
"core/java/android/view/IRemoteAnimationFinishedCallback.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/view/IRotationWatcher.aidl",
|
|
|
|
"core/java/android/view/IWallpaperVisibilityListener.aidl",
|
|
|
|
"core/java/android/view/IWindow.aidl",
|
|
|
|
"core/java/android/view/IWindowFocusObserver.aidl",
|
|
|
|
"core/java/android/view/IWindowId.aidl",
|
|
|
|
"core/java/android/view/IWindowManager.aidl",
|
|
|
|
"core/java/android/view/IWindowSession.aidl",
|
|
|
|
"core/java/android/view/IWindowSessionCallback.aidl",
|
|
|
|
"core/java/android/webkit/IWebViewUpdateService.aidl",
|
|
|
|
"core/java/android/speech/IRecognitionListener.aidl",
|
|
|
|
"core/java/android/speech/IRecognitionService.aidl",
|
|
|
|
"core/java/android/speech/tts/ITextToSpeechCallback.aidl",
|
|
|
|
"core/java/android/speech/tts/ITextToSpeechService.aidl",
|
2018-02-08 15:52:10 -08:00
|
|
|
"core/java/com/android/internal/app/IAppOpsActiveCallback.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/com/android/internal/app/IAppOpsCallback.aidl",
|
2018-12-17 22:06:15 -08:00
|
|
|
"core/java/com/android/internal/app/IAppOpsNotedCallback.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/com/android/internal/app/IAppOpsService.aidl",
|
|
|
|
"core/java/com/android/internal/app/IBatteryStats.aidl",
|
|
|
|
"core/java/com/android/internal/app/ISoundTriggerService.aidl",
|
2018-08-16 16:09:43 -07:00
|
|
|
"core/java/com/android/internal/app/IVoiceActionCheckCallback.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl",
|
|
|
|
"core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl",
|
|
|
|
"core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl",
|
|
|
|
"core/java/com/android/internal/app/IVoiceInteractor.aidl",
|
|
|
|
"core/java/com/android/internal/app/IVoiceInteractorCallback.aidl",
|
|
|
|
"core/java/com/android/internal/app/IVoiceInteractorRequest.aidl",
|
|
|
|
"core/java/com/android/internal/app/IMediaContainerService.aidl",
|
|
|
|
"core/java/com/android/internal/app/procstats/IProcessStats.aidl",
|
|
|
|
"core/java/com/android/internal/appwidget/IAppWidgetService.aidl",
|
|
|
|
"core/java/com/android/internal/appwidget/IAppWidgetHost.aidl",
|
|
|
|
"core/java/com/android/internal/backup/IBackupTransport.aidl",
|
|
|
|
"core/java/com/android/internal/backup/IObbBackupService.aidl",
|
|
|
|
"core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl",
|
Add a new Binder interface to allow IMS to directly talk to IMMS
Historically, InputMethodService (IMS) has relied on
InputMethodManager's hidden methods to communicate with
InputMethodManagerService (IMMS). Because of this, InputMethodManager
(IMM) has ended up being a mixture of IPC endpoint for both IME
clients and IME itself.
There are multiple problems.
* IMM is instantiated in almost all user mode processes. This means
that unnecessary IPC endpoints have been accessible to them via
reflection. Even though those endpoints refuses request without a
valid IME window token, and even though we have tighten up use of
private APIs in the runtime level, exposing unnecessary IPC
endpoints is still questionable.
* Mixing multiple responsibilities has been caused unnecessary
complexity in IMM. In Bug 70282603, we have moved some APIs from
IMM to IMS to sort out this complexity that are surfaced in API
boundary, but in the implementation level everything remained to be
the same.
Now that Bug 70282603 is fixed, the natural next step is to start
implementing actual an IPC connection from IMS to IMMS without relying
on IMM.
Here is the new diagram that describes (most of) IPC interfaces around
IMEs.
APP---(1)---IMMS
\ |
\ |
\ |
\ |
\ |
(2) (3)
\ |
\ |
\ |
\ |
\|
IME
(1): IInputMethodManager.aidl: send requests from APP to IMMS
IInputMethodClient.aidl: send requests from IMMS to APP
(2): IInputMethodSession.aidl: send requests from APP to IME
IInputContext.aidl: send requests from IME to APP
-> this is the actual interface behind InputConnection
(3): IInputMethod.aidl: send requests from IMMS to IME
IInputMethodPrivilegedOperations.aidl:
send requests from IME to IMMS
IInputMethodPrivilegedOperations.aidl is what this CL is adding.
With that, this CL moves 5 IPC methods
from IInputMethodManager.aidl (1)
to IInputMethodPrivilegedOperations.aidl (3).
There remain some IPC methods that are intended to be used only from
IMEs in IInputMethodManager.aidl because those methods have been
unfortunately exposed via public APIs in InputMethodmanager.
Although all of those public APIs were deprecated in Android P as part
of Bug 70282603, we still need to keep maintaining those APIs until
(most of) IMEs migrate to APIs that are newly introduced in
InputMethodService. It would take several years.
IInputMethodManager#getInputMethodWindowVisibleHeight() is another
method that we cannot migrate right now because some apps have already
relied on its corresponding hidden method in IMM, as discussed in Bug
113914148.
Fix: 113177698
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Change-Id: I2f3ec3c5de546fb3603275a4b64000ed3f863b65
2018-09-06 11:39:50 -07:00
|
|
|
"core/java/com/android/internal/inputmethod/IInputMethodPrivilegedOperations.aidl",
|
Introduce multi-client IME for special form factors
An advanced multi-display support is requested for certain Android
form-factors so that user(s) can type text on each display at the same
time without losing software keyboard focus in other displays. This is
not possible in existing Android IMEs that are built on top of
InputMethodService class, because the assumption that a single IME
client can be focused at the same time was made before Android IME
APIs were introduced in Android 1.5 and many public APIs in
InputMethodService have already relied heavily on that
assumption. Updating InputMethodService class to support multi-client
scenario is, however, quite challenging because:
1. doing so would introduce an unacceptable amount of complexity into
InputMethodService, which is already hard to maintain,
2. IME developers still need to update their implementation to be
able to support parallel requests from multiple focused IME
client, which may require non-trivial redesign in their side
(e.g. input decoder, typing history database, ...), and
3. actual use cases for multi IME clients are expected to be evolved
rapidly hence the new protocol is not yet stable and not yet ready
to be exposed as public APIs.
This is why a new type of IME needs to be designed and developed
specifically for such special multi-display environments, rather than
reusing existing InputMethodService public class.
Note that there must be no behavior change unless multi-client IME is
explicitly enabled with 'adb shell setprop', which requires root
permission.
See multi-client-ime.md for details.
Fix: 114662040
Test: Manually verified as follows:
1. make -j MultiClientInputMethod
2. adb install -r $OUT/system/priv-app/MultiClientInputMethod/MultiClientInputMethod.apk
3. adb root
4. adb shell setprop persist.debug.multi_client_ime \
com.example.android.multiclientinputmethod/.MultiClientInputMethod
5. adb reboot
6. Try multiple text input scenario
Change-Id: I41dfe854557b178d8af740bc2869c936fc88608b
2018-11-12 15:08:30 -08:00
|
|
|
"core/java/com/android/internal/inputmethod/IMultiClientInputMethod.aidl",
|
|
|
|
"core/java/com/android/internal/inputmethod/IMultiClientInputMethodPrivilegedOperations.aidl",
|
|
|
|
"core/java/com/android/internal/inputmethod/IMultiClientInputMethodSession.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/com/android/internal/net/INetworkWatchlistManager.aidl",
|
|
|
|
"core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl",
|
|
|
|
"core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl",
|
|
|
|
"core/java/com/android/internal/policy/IKeyguardExitCallback.aidl",
|
|
|
|
"core/java/com/android/internal/policy/IKeyguardService.aidl",
|
|
|
|
"core/java/com/android/internal/policy/IKeyguardStateCallback.aidl",
|
|
|
|
"core/java/com/android/internal/policy/IShortcutService.aidl",
|
|
|
|
"core/java/com/android/internal/os/IDropBoxManagerService.aidl",
|
|
|
|
"core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl",
|
|
|
|
"core/java/com/android/internal/os/IResultReceiver.aidl",
|
|
|
|
"core/java/com/android/internal/os/IShellCallback.aidl",
|
|
|
|
"core/java/com/android/internal/statusbar/IStatusBar.aidl",
|
|
|
|
"core/java/com/android/internal/statusbar/IStatusBarService.aidl",
|
|
|
|
"core/java/com/android/internal/textservice/ISpellCheckerService.aidl",
|
|
|
|
"core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl",
|
|
|
|
"core/java/com/android/internal/textservice/ISpellCheckerSession.aidl",
|
|
|
|
"core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl",
|
|
|
|
"core/java/com/android/internal/textservice/ITextServicesManager.aidl",
|
|
|
|
"core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl",
|
|
|
|
"core/java/com/android/internal/view/IDragAndDropPermissions.aidl",
|
|
|
|
"core/java/com/android/internal/view/IInputContext.aidl",
|
|
|
|
"core/java/com/android/internal/view/IInputContextCallback.aidl",
|
|
|
|
"core/java/com/android/internal/view/IInputMethod.aidl",
|
|
|
|
"core/java/com/android/internal/view/IInputMethodClient.aidl",
|
|
|
|
"core/java/com/android/internal/view/IInputMethodManager.aidl",
|
|
|
|
"core/java/com/android/internal/view/IInputMethodSession.aidl",
|
|
|
|
"core/java/com/android/internal/view/IInputSessionCallback.aidl",
|
|
|
|
"core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl",
|
|
|
|
"core/java/com/android/internal/widget/ILockSettings.aidl",
|
|
|
|
"core/java/com/android/internal/widget/IRemoteViewsFactory.aidl",
|
|
|
|
"keystore/java/android/security/IKeyChainAliasCallback.aidl",
|
|
|
|
"keystore/java/android/security/IKeyChainService.aidl",
|
|
|
|
"location/java/android/location/IBatchedLocationCallback.aidl",
|
|
|
|
"location/java/android/location/ICountryDetector.aidl",
|
|
|
|
"location/java/android/location/ICountryListener.aidl",
|
|
|
|
"location/java/android/location/IGeocodeProvider.aidl",
|
|
|
|
"location/java/android/location/IGeofenceProvider.aidl",
|
|
|
|
"location/java/android/location/IGnssStatusListener.aidl",
|
|
|
|
"location/java/android/location/IGnssMeasurementsListener.aidl",
|
|
|
|
"location/java/android/location/IGnssNavigationMessageListener.aidl",
|
|
|
|
"location/java/android/location/ILocationListener.aidl",
|
|
|
|
"location/java/android/location/ILocationManager.aidl",
|
|
|
|
"location/java/android/location/IFusedGeofenceHardware.aidl",
|
|
|
|
"location/java/android/location/IGpsGeofenceHardware.aidl",
|
|
|
|
"location/java/android/location/INetInitiatedListener.aidl",
|
|
|
|
"location/java/com/android/internal/location/ILocationProvider.aidl",
|
2018-10-24 17:54:54 -07:00
|
|
|
"location/java/com/android/internal/location/ILocationProviderManager.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"media/java/android/media/IAudioFocusDispatcher.aidl",
|
|
|
|
"media/java/android/media/IAudioRoutesObserver.aidl",
|
2018-01-29 11:57:04 +09:00
|
|
|
"media/java/android/media/IAudioService.aidl",
|
2018-01-20 10:31:21 -08:00
|
|
|
"media/java/android/media/IAudioServerStateDispatcher.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"media/java/android/media/IMediaHTTPConnection.aidl",
|
|
|
|
"media/java/android/media/IMediaHTTPService.aidl",
|
|
|
|
"media/java/android/media/IMediaResourceMonitor.aidl",
|
|
|
|
"media/java/android/media/IMediaRouterClient.aidl",
|
|
|
|
"media/java/android/media/IMediaRouterService.aidl",
|
|
|
|
"media/java/android/media/IMediaScannerListener.aidl",
|
|
|
|
"media/java/android/media/IMediaScannerService.aidl",
|
|
|
|
"media/java/android/media/IPlaybackConfigDispatcher.aidl",
|
|
|
|
":libaudioclient_aidl",
|
|
|
|
"media/java/android/media/IRecordingConfigDispatcher.aidl",
|
|
|
|
"media/java/android/media/IRemoteDisplayCallback.aidl",
|
|
|
|
"media/java/android/media/IRemoteDisplayProvider.aidl",
|
|
|
|
"media/java/android/media/IRemoteVolumeController.aidl",
|
|
|
|
"media/java/android/media/IRemoteVolumeObserver.aidl",
|
|
|
|
"media/java/android/media/IRingtonePlayer.aidl",
|
|
|
|
"media/java/android/media/IVolumeController.aidl",
|
|
|
|
"media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl",
|
|
|
|
"media/java/android/media/midi/IBluetoothMidiService.aidl",
|
|
|
|
"media/java/android/media/midi/IMidiDeviceListener.aidl",
|
|
|
|
"media/java/android/media/midi/IMidiDeviceOpenCallback.aidl",
|
|
|
|
"media/java/android/media/midi/IMidiDeviceServer.aidl",
|
|
|
|
"media/java/android/media/midi/IMidiManager.aidl",
|
|
|
|
"media/java/android/media/projection/IMediaProjection.aidl",
|
|
|
|
"media/java/android/media/projection/IMediaProjectionCallback.aidl",
|
|
|
|
"media/java/android/media/projection/IMediaProjectionManager.aidl",
|
|
|
|
"media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl",
|
|
|
|
"media/java/android/media/session/IActiveSessionsListener.aidl",
|
|
|
|
"media/java/android/media/session/ICallback.aidl",
|
|
|
|
"media/java/android/media/session/IOnMediaKeyListener.aidl",
|
|
|
|
"media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl",
|
2019-01-07 16:45:14 +09:00
|
|
|
"media/java/android/media/session/ISession2TokensListener.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"media/java/android/media/session/ISessionManager.aidl",
|
2018-03-09 16:55:55 -08:00
|
|
|
"media/java/android/media/soundtrigger/ISoundTriggerDetectionService.aidl",
|
|
|
|
"media/java/android/media/soundtrigger/ISoundTriggerDetectionServiceClient.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"media/java/android/media/tv/ITvInputClient.aidl",
|
|
|
|
"media/java/android/media/tv/ITvInputHardware.aidl",
|
|
|
|
"media/java/android/media/tv/ITvInputHardwareCallback.aidl",
|
|
|
|
"media/java/android/media/tv/ITvInputManager.aidl",
|
|
|
|
"media/java/android/media/tv/ITvInputManagerCallback.aidl",
|
|
|
|
"media/java/android/media/tv/ITvInputService.aidl",
|
|
|
|
"media/java/android/media/tv/ITvInputServiceCallback.aidl",
|
|
|
|
"media/java/android/media/tv/ITvInputSession.aidl",
|
|
|
|
"media/java/android/media/tv/ITvInputSessionCallback.aidl",
|
|
|
|
"media/java/android/media/tv/ITvRemoteProvider.aidl",
|
|
|
|
"media/java/android/media/tv/ITvRemoteServiceInput.aidl",
|
2018-06-06 22:54:04 -07:00
|
|
|
"telecomm/java/com/android/internal/telecom/ICallRedirectionAdapter.aidl",
|
|
|
|
"telecomm/java/com/android/internal/telecom/ICallRedirectionService.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl",
|
|
|
|
"telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl",
|
|
|
|
"telecomm/java/com/android/internal/telecom/IVideoCallback.aidl",
|
|
|
|
"telecomm/java/com/android/internal/telecom/IVideoProvider.aidl",
|
|
|
|
"telecomm/java/com/android/internal/telecom/IConnectionService.aidl",
|
|
|
|
"telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl",
|
|
|
|
"telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl",
|
|
|
|
"telecomm/java/com/android/internal/telecom/IInCallService.aidl",
|
2018-12-06 17:53:25 -08:00
|
|
|
"telecomm/java/com/android/internal/telecom/IPhoneAccountSuggestionCallback.aidl",
|
|
|
|
"telecomm/java/com/android/internal/telecom/IPhoneAccountSuggestionService.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"telecomm/java/com/android/internal/telecom/ITelecomService.aidl",
|
|
|
|
"telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl",
|
2018-01-22 15:43:37 -08:00
|
|
|
"telephony/java/android/telephony/data/IDataService.aidl",
|
|
|
|
"telephony/java/android/telephony/data/IDataServiceCallback.aidl",
|
2018-02-20 14:08:57 -08:00
|
|
|
"telephony/java/android/telephony/data/IQualifiedNetworksService.aidl",
|
|
|
|
"telephony/java/android/telephony/data/IQualifiedNetworksServiceCallback.aidl",
|
2018-01-11 10:27:43 -08:00
|
|
|
"telephony/java/android/telephony/ims/aidl/IImsCallSessionListener.aidl",
|
2018-01-16 09:33:47 -08:00
|
|
|
"telephony/java/android/telephony/ims/aidl/IImsCapabilityCallback.aidl",
|
|
|
|
"telephony/java/android/telephony/ims/aidl/IImsConfig.aidl",
|
|
|
|
"telephony/java/android/telephony/ims/aidl/IImsConfigCallback.aidl",
|
|
|
|
"telephony/java/android/telephony/ims/aidl/IImsMmTelFeature.aidl",
|
|
|
|
"telephony/java/android/telephony/ims/aidl/IImsMmTelListener.aidl",
|
|
|
|
"telephony/java/android/telephony/ims/aidl/IImsRegistration.aidl",
|
|
|
|
"telephony/java/android/telephony/ims/aidl/IImsRegistrationCallback.aidl",
|
|
|
|
"telephony/java/android/telephony/ims/aidl/IImsRcsFeature.aidl",
|
|
|
|
"telephony/java/android/telephony/ims/aidl/IImsServiceController.aidl",
|
|
|
|
"telephony/java/android/telephony/ims/aidl/IImsServiceControllerListener.aidl",
|
2018-02-27 16:43:50 +08:00
|
|
|
"telephony/java/android/telephony/ims/aidl/IImsSmsListener.aidl",
|
2018-12-03 14:06:39 -08:00
|
|
|
"telephony/java/android/telephony/ims/aidl/IRcs.aidl",
|
2018-01-11 10:27:43 -08:00
|
|
|
"telephony/java/android/telephony/mbms/IMbmsDownloadSessionCallback.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"telephony/java/android/telephony/mbms/IMbmsStreamingSessionCallback.aidl",
|
2018-04-19 17:57:58 -07:00
|
|
|
"telephony/java/android/telephony/mbms/IMbmsGroupCallSessionCallback.aidl",
|
2018-03-19 18:12:23 -07:00
|
|
|
"telephony/java/android/telephony/mbms/IDownloadStatusListener.aidl",
|
|
|
|
"telephony/java/android/telephony/mbms/IDownloadProgressListener.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl",
|
2018-04-19 17:57:58 -07:00
|
|
|
"telephony/java/android/telephony/mbms/IGroupCallCallback.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl",
|
|
|
|
"telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl",
|
2018-04-19 17:57:58 -07:00
|
|
|
"telephony/java/android/telephony/mbms/vendor/IMbmsGroupCallService.aidl",
|
2018-09-27 18:49:16 -07:00
|
|
|
"telephony/java/android/telephony/ICellInfoCallback.aidl",
|
2017-12-21 11:00:05 -08:00
|
|
|
"telephony/java/android/telephony/INetworkService.aidl",
|
|
|
|
"telephony/java/android/telephony/INetworkServiceCallback.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"telephony/java/com/android/ims/internal/IImsCallSession.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/IImsConfig.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/IImsEcbm.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/IImsEcbmListener.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/IImsMMTelFeature.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/IImsRcsFeature.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/IImsService.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/IImsServiceController.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/IImsServiceFeatureCallback.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/IImsUt.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/IImsUtListener.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl",
|
|
|
|
"telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl",
|
|
|
|
"telephony/java/com/android/ims/ImsConfigListener.aidl",
|
|
|
|
"telephony/java/com/android/internal/telephony/IApnSourceService.aidl",
|
|
|
|
"telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl",
|
|
|
|
"telephony/java/com/android/internal/telephony/IMms.aidl",
|
2018-11-28 10:44:22 -08:00
|
|
|
"telephony/java/com/android/internal/telephony/INumberVerificationCallback.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl",
|
|
|
|
"telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl",
|
|
|
|
"telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl",
|
|
|
|
"telephony/java/com/android/internal/telephony/ISms.aidl",
|
|
|
|
"telephony/java/com/android/internal/telephony/ISub.aidl",
|
2019-01-08 13:23:17 -08:00
|
|
|
"telephony/java/com/android/internal/telephony/IOns.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"telephony/java/com/android/internal/telephony/ITelephony.aidl",
|
|
|
|
"telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl",
|
|
|
|
"telephony/java/com/android/internal/telephony/IWapPushManager.aidl",
|
2017-12-21 18:44:59 -08:00
|
|
|
"telephony/java/com/android/internal/telephony/euicc/IAuthenticateServerCallback.aidl",
|
|
|
|
"telephony/java/com/android/internal/telephony/euicc/ICancelSessionCallback.aidl",
|
2017-12-21 18:44:59 -08:00
|
|
|
"telephony/java/com/android/internal/telephony/euicc/IDeleteProfileCallback.aidl",
|
|
|
|
"telephony/java/com/android/internal/telephony/euicc/IDisableProfileCallback.aidl",
|
2017-12-21 18:44:59 -08:00
|
|
|
"telephony/java/com/android/internal/telephony/euicc/IEuiccCardController.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl",
|
2017-12-21 18:44:59 -08:00
|
|
|
"telephony/java/com/android/internal/telephony/euicc/IGetAllProfilesCallback.aidl",
|
2017-12-21 18:44:59 -08:00
|
|
|
"telephony/java/com/android/internal/telephony/euicc/IGetDefaultSmdpAddressCallback.aidl",
|
2017-12-21 18:44:59 -08:00
|
|
|
"telephony/java/com/android/internal/telephony/euicc/IGetEuiccChallengeCallback.aidl",
|
|
|
|
"telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo1Callback.aidl",
|
|
|
|
"telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo2Callback.aidl",
|
2017-12-21 18:44:59 -08:00
|
|
|
"telephony/java/com/android/internal/telephony/euicc/IGetProfileCallback.aidl",
|
2017-12-21 18:44:59 -08:00
|
|
|
"telephony/java/com/android/internal/telephony/euicc/IGetRulesAuthTableCallback.aidl",
|
2017-12-21 18:44:59 -08:00
|
|
|
"telephony/java/com/android/internal/telephony/euicc/IGetSmdsAddressCallback.aidl",
|
2017-12-21 18:44:59 -08:00
|
|
|
"telephony/java/com/android/internal/telephony/euicc/IListNotificationsCallback.aidl",
|
|
|
|
"telephony/java/com/android/internal/telephony/euicc/ILoadBoundProfilePackageCallback.aidl",
|
|
|
|
"telephony/java/com/android/internal/telephony/euicc/IPrepareDownloadCallback.aidl",
|
|
|
|
"telephony/java/com/android/internal/telephony/euicc/IRemoveNotificationFromListCallback.aidl",
|
2017-12-21 18:44:59 -08:00
|
|
|
"telephony/java/com/android/internal/telephony/euicc/IResetMemoryCallback.aidl",
|
2017-12-21 18:44:59 -08:00
|
|
|
"telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationCallback.aidl",
|
|
|
|
"telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationListCallback.aidl",
|
2017-12-21 18:44:59 -08:00
|
|
|
"telephony/java/com/android/internal/telephony/euicc/ISetDefaultSmdpAddressCallback.aidl",
|
|
|
|
"telephony/java/com/android/internal/telephony/euicc/ISetNicknameCallback.aidl",
|
|
|
|
"telephony/java/com/android/internal/telephony/euicc/ISwitchToProfileCallback.aidl",
|
2018-10-09 10:06:33 -07:00
|
|
|
"wifi/java/android/net/wifi/INetworkRequestMatchCallback.aidl",
|
|
|
|
"wifi/java/android/net/wifi/INetworkRequestUserSelectionCallback.aidl",
|
2017-11-28 15:31:28 -08:00
|
|
|
"wifi/java/android/net/wifi/ISoftApCallback.aidl",
|
2018-07-16 15:43:03 -07:00
|
|
|
"wifi/java/android/net/wifi/ITrafficStateCallback.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"wifi/java/android/net/wifi/IWifiManager.aidl",
|
2019-01-09 13:54:29 -08:00
|
|
|
"wifi/java/android/net/wifi/IWifiUsabilityStatsListener.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl",
|
|
|
|
"wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl",
|
|
|
|
"wifi/java/android/net/wifi/aware/IWifiAwareMacAddressProvider.aidl",
|
|
|
|
"wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl",
|
|
|
|
"wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl",
|
|
|
|
"wifi/java/android/net/wifi/rtt/IRttCallback.aidl",
|
|
|
|
"wifi/java/android/net/wifi/rtt/IWifiRttManager.aidl",
|
|
|
|
"wifi/java/android/net/wifi/hotspot2/IProvisioningCallback.aidl",
|
2018-12-07 10:13:43 -08:00
|
|
|
"wifi/java/android/net/wifi/IDppCallback.aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
"wifi/java/android/net/wifi/IWifiScanner.aidl",
|
|
|
|
"packages/services/PacProcessor/com/android/net/IProxyService.aidl",
|
|
|
|
"packages/services/Proxy/com/android/net/IProxyCallback.aidl",
|
|
|
|
"packages/services/Proxy/com/android/net/IProxyPortListener.aidl",
|
|
|
|
"core/java/android/service/quicksettings/IQSService.aidl",
|
|
|
|
"core/java/android/service/quicksettings/IQSTileService.aidl",
|
|
|
|
|
|
|
|
":libupdate_engine_aidl",
|
|
|
|
|
|
|
|
":storaged_aidl",
|
|
|
|
":vold_aidl",
|
|
|
|
":installd_aidl",
|
2018-10-03 10:01:25 +01:00
|
|
|
":dumpstate_aidl",
|
2017-11-16 00:15:28 -08:00
|
|
|
|
|
|
|
"lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl",
|
|
|
|
"lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl",
|
|
|
|
"lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl",
|
|
|
|
"lowpan/java/android/net/lowpan/ILowpanInterface.aidl",
|
|
|
|
"lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl",
|
|
|
|
"lowpan/java/android/net/lowpan/ILowpanManager.aidl",
|
|
|
|
|
|
|
|
"core/java/android/app/admin/SecurityLogTags.logtags",
|
|
|
|
"core/java/android/content/EventLogTags.logtags",
|
|
|
|
"core/java/android/speech/tts/EventLogTags.logtags",
|
|
|
|
"core/java/android/net/EventLogTags.logtags",
|
2018-04-11 13:51:02 -07:00
|
|
|
"core/java/android/os/EventLogTags.logtags",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/android/webkit/EventLogTags.logtags",
|
2018-01-19 11:28:04 -08:00
|
|
|
"core/java/com/android/internal/app/EventLogTags.logtags",
|
2017-11-16 00:15:28 -08:00
|
|
|
"core/java/com/android/internal/logging/EventLogTags.logtags",
|
2017-12-04 13:02:11 -08:00
|
|
|
"core/java/com/android/server/DropboxLogTags.logtags",
|
2017-12-11 11:26:53 -08:00
|
|
|
"core/java/org/chromium/arc/EventLogTags.logtags",
|
2017-11-16 00:15:28 -08:00
|
|
|
|
2018-11-08 13:13:54 +09:00
|
|
|
":platform-properties",
|
|
|
|
|
2017-11-16 00:15:28 -08:00
|
|
|
":framework-statslog-gen",
|
|
|
|
],
|
|
|
|
|
|
|
|
aidl: {
|
2017-12-14 15:18:42 -08:00
|
|
|
export_include_dirs: [
|
2017-11-16 00:15:28 -08:00
|
|
|
// From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
|
|
|
|
"core/java",
|
|
|
|
"graphics/java",
|
|
|
|
"location/java",
|
|
|
|
"lowpan/java",
|
|
|
|
"media/java",
|
2019-01-22 17:16:07 +09:00
|
|
|
"media/apex/java",
|
2017-11-16 00:15:28 -08:00
|
|
|
"media/mca/effect/java",
|
|
|
|
"media/mca/filterfw/java",
|
|
|
|
"media/mca/filterpacks/java",
|
|
|
|
"drm/java",
|
|
|
|
"opengl/java",
|
|
|
|
"sax/java",
|
|
|
|
"telecomm/java",
|
|
|
|
"telephony/java",
|
|
|
|
"wifi/java",
|
|
|
|
"keystore/java",
|
|
|
|
"rs/java",
|
|
|
|
],
|
|
|
|
|
|
|
|
include_dirs: [
|
|
|
|
"system/update_engine/binder_bindings",
|
|
|
|
"frameworks/native/aidl/binder",
|
2018-10-03 10:01:25 +01:00
|
|
|
"frameworks/native/cmds/dumpstate/binder",
|
2017-11-16 00:15:28 -08:00
|
|
|
"frameworks/av/camera/aidl",
|
|
|
|
"frameworks/av/media/libaudioclient/aidl",
|
|
|
|
"frameworks/native/aidl/gui",
|
|
|
|
"system/core/storaged/binder",
|
|
|
|
"system/vold/binder",
|
|
|
|
"system/bt/binder",
|
2018-02-14 13:53:04 +08:00
|
|
|
"system/security/keystore/binder",
|
2017-11-16 00:15:28 -08:00
|
|
|
],
|
2018-07-26 11:52:37 +01:00
|
|
|
|
|
|
|
generate_get_transaction_name: true
|
2017-11-16 00:15:28 -08:00
|
|
|
},
|
|
|
|
|
2018-01-23 13:39:00 +00:00
|
|
|
exclude_srcs: [
|
Conditionally remove android.test.base from bootclasspath
This makes the runtime handling of the android.test.base library
conditional based on a build flag REMOVE_ATB_FROM_BCP.
When REMOVE_ATB_FROM_BCP=true:
* The framework-atb-backward-compatibility is added to the
bootclasspath instead of android.test.base.
* Any APK that targets pre-P (or has a dependency on android.test.runner)
has android.test.base added to their library list.
Otherwise:
* The android.test.base library is added to the bootclasspath.
* Any APK that explicitly specifies that it depends on the
android.test.base library has the library removed as the classes
are available at runtime.
Added android.test.base to platform libraries so it can be used when
not on the bootclasspath.
Tested both cases by building with or without the build flag, flashing,
setting up, adding an account, adding a trusted place.
Also, tested that all combinations of REMOVE_ATB_FROM_BCP and
REMOVE_OAHL_FROM_BCP work.
adb install -r -g out/target/product/marlin/testcases/FrameworksCoreTests/FrameworksCoreTests.apk
adb shell am instrument -w -e class android.content.pm.PackageBackwardCompatibilityTest,android.content.pm.AndroidTestRunnerSplitUpdaterTest,android.content.pm.OrgApacheHttpLegacyUpdaterTest,android.content.pm.RemoveUnnecessaryOrgApacheHttpLegacyLibraryTest,android.content.pm.RemoveUnnecessaryAndroidTestBaseLibraryTest,android.content.pm.AndroidTestBaseUpdaterTest com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Bug: 30188076
Test: as above
Change-Id: I4b9d8a5bed6787cd334c2b13a458bbc0efc3f3b6
2018-01-25 09:58:32 +00:00
|
|
|
// See comment on framework-atb-backward-compatibility module below
|
|
|
|
"core/java/android/content/pm/AndroidTestBaseUpdater.java",
|
|
|
|
// See comment on framework-oahl-backward-compatibility module below
|
2018-01-23 13:39:00 +00:00
|
|
|
"core/java/android/content/pm/OrgApacheHttpLegacyUpdater.java",
|
|
|
|
],
|
|
|
|
|
2017-11-16 00:15:28 -08:00
|
|
|
no_framework_libs: true,
|
|
|
|
libs: [
|
|
|
|
"ext",
|
|
|
|
],
|
|
|
|
|
2019-01-17 12:24:54 -08:00
|
|
|
jarjar_rules: ":framework-hidl-jarjar",
|
|
|
|
|
2017-11-16 00:15:28 -08:00
|
|
|
static_libs: [
|
2018-08-31 14:18:04 +01:00
|
|
|
"apex_aidl_interface-java",
|
2018-12-07 16:52:24 +09:00
|
|
|
"networkstack-aidl-interfaces-java",
|
2017-11-16 00:15:28 -08:00
|
|
|
"framework-protos",
|
2019-01-12 17:44:29 -08:00
|
|
|
"game-driver-protos",
|
2018-07-10 12:42:58 -07:00
|
|
|
"mediaplayer2-protos",
|
2017-11-16 00:15:28 -08:00
|
|
|
"android.hidl.base-V1.0-java",
|
|
|
|
"android.hardware.cas-V1.0-java",
|
|
|
|
"android.hardware.contexthub-V1.0-java",
|
|
|
|
"android.hardware.health-V1.0-java-constants",
|
|
|
|
"android.hardware.thermal-V1.0-java-constants",
|
2019-01-10 14:16:23 -08:00
|
|
|
"android.hardware.thermal-V1.0-java",
|
2018-11-01 11:57:39 -07:00
|
|
|
"android.hardware.thermal-V1.1-java",
|
|
|
|
"android.hardware.thermal-V2.0-java",
|
2017-11-16 00:15:28 -08:00
|
|
|
"android.hardware.tv.input-V1.0-java-constants",
|
|
|
|
"android.hardware.usb-V1.0-java-constants",
|
|
|
|
"android.hardware.usb-V1.1-java-constants",
|
2018-12-09 14:49:38 -08:00
|
|
|
"android.hardware.usb-V1.2-java-constants",
|
2018-02-07 23:23:34 +00:00
|
|
|
"android.hardware.vibrator-V1.0-java",
|
|
|
|
"android.hardware.vibrator-V1.1-java",
|
|
|
|
"android.hardware.vibrator-V1.2-java",
|
2018-12-14 12:06:10 +09:00
|
|
|
"android.hardware.vibrator-V1.3-java",
|
2017-11-16 00:15:28 -08:00
|
|
|
"android.hardware.wifi-V1.0-java-constants",
|
2017-11-24 18:20:11 +00:00
|
|
|
"android.hardware.radio-V1.0-java",
|
2018-09-07 21:01:26 -07:00
|
|
|
"android.hardware.radio-V1.3-java",
|
2018-11-25 15:14:47 -08:00
|
|
|
"android.hardware.radio-V1.4-java",
|
2018-01-09 17:53:04 -08:00
|
|
|
"android.hardware.usb.gadget-V1.0-java",
|
2018-12-04 20:20:56 +09:00
|
|
|
"networkstack-aidl-interfaces-java",
|
2018-09-26 14:53:42 +08:00
|
|
|
"netd_aidl_interface-java",
|
2018-11-22 13:56:50 +00:00
|
|
|
"devicepolicyprotosnano",
|
2017-11-16 00:15:28 -08:00
|
|
|
],
|
|
|
|
|
2017-12-05 17:05:29 -08:00
|
|
|
required: [
|
2018-11-27 12:10:30 +00:00
|
|
|
// TODO: remove gps_debug when the build system propagates "required" properly.
|
|
|
|
"gps_debug.conf",
|
2018-02-27 16:43:50 +08:00
|
|
|
],
|
2017-11-16 00:15:28 -08:00
|
|
|
|
|
|
|
dxflags: [
|
|
|
|
"--core-library",
|
|
|
|
"--multi-dex",
|
|
|
|
],
|
2018-06-28 14:12:10 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2018-10-26 22:34:06 -07:00
|
|
|
filegroup {
|
|
|
|
name: "libincident_aidl",
|
|
|
|
srcs: [
|
|
|
|
"core/java/android/os/IIncidentManager.aidl",
|
|
|
|
"core/java/android/os/IIncidentReportStatusListener.aidl",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
filegroup {
|
|
|
|
name: "statsd_aidl",
|
|
|
|
srcs: [
|
|
|
|
"core/java/android/os/IStatsCompanionService.aidl",
|
|
|
|
"core/java/android/os/IStatsManager.aidl",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
2019-01-17 12:24:54 -08:00
|
|
|
filegroup {
|
|
|
|
name: "framework-hidl-jarjar",
|
|
|
|
srcs: ["jarjar_rules_hidl.txt"],
|
|
|
|
}
|
|
|
|
|
2018-06-28 14:12:10 +01:00
|
|
|
java_library {
|
|
|
|
name: "framework",
|
|
|
|
defaults: ["framework-defaults"],
|
|
|
|
javac_shard_size: 150,
|
|
|
|
}
|
|
|
|
|
|
|
|
java_library {
|
|
|
|
name: "framework-annotation-proc",
|
|
|
|
defaults: ["framework-defaults"],
|
|
|
|
// Use UsedByApps annotation processor
|
2019-01-21 21:45:20 -08:00
|
|
|
plugins: ["unsupportedappusage-annotation-processor"],
|
2018-06-28 14:12:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// A host library including just UnsupportedAppUsage.java so that the annotation
|
|
|
|
// processor can also use this annotation.
|
|
|
|
java_library_host {
|
|
|
|
name: "unsupportedappusage-annotation",
|
|
|
|
srcs: [
|
|
|
|
"core/java/android/annotation/IntDef.java",
|
|
|
|
"core/java/android/annotation/UnsupportedAppUsage.java",
|
|
|
|
],
|
2017-11-16 00:15:28 -08:00
|
|
|
}
|
|
|
|
|
2018-01-23 13:39:00 +00:00
|
|
|
// A temporary build target that is conditionally included on the bootclasspath if
|
|
|
|
// org.apache.http.legacy library has been removed and which provides support for
|
|
|
|
// maintaining backwards compatibility for APKs that target pre-P and depend on
|
|
|
|
// org.apache.http.legacy classes. This is used iff REMOVE_OAHL_FROM_BCP=true is
|
|
|
|
// specified on the build command line.
|
|
|
|
java_library {
|
|
|
|
name: "framework-oahl-backward-compatibility",
|
2018-07-10 14:24:31 -07:00
|
|
|
installable: true,
|
2018-01-23 13:39:00 +00:00
|
|
|
srcs: [
|
|
|
|
"core/java/android/content/pm/OrgApacheHttpLegacyUpdater.java",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
Conditionally remove android.test.base from bootclasspath
This makes the runtime handling of the android.test.base library
conditional based on a build flag REMOVE_ATB_FROM_BCP.
When REMOVE_ATB_FROM_BCP=true:
* The framework-atb-backward-compatibility is added to the
bootclasspath instead of android.test.base.
* Any APK that targets pre-P (or has a dependency on android.test.runner)
has android.test.base added to their library list.
Otherwise:
* The android.test.base library is added to the bootclasspath.
* Any APK that explicitly specifies that it depends on the
android.test.base library has the library removed as the classes
are available at runtime.
Added android.test.base to platform libraries so it can be used when
not on the bootclasspath.
Tested both cases by building with or without the build flag, flashing,
setting up, adding an account, adding a trusted place.
Also, tested that all combinations of REMOVE_ATB_FROM_BCP and
REMOVE_OAHL_FROM_BCP work.
adb install -r -g out/target/product/marlin/testcases/FrameworksCoreTests/FrameworksCoreTests.apk
adb shell am instrument -w -e class android.content.pm.PackageBackwardCompatibilityTest,android.content.pm.AndroidTestRunnerSplitUpdaterTest,android.content.pm.OrgApacheHttpLegacyUpdaterTest,android.content.pm.RemoveUnnecessaryOrgApacheHttpLegacyLibraryTest,android.content.pm.RemoveUnnecessaryAndroidTestBaseLibraryTest,android.content.pm.AndroidTestBaseUpdaterTest com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Bug: 30188076
Test: as above
Change-Id: I4b9d8a5bed6787cd334c2b13a458bbc0efc3f3b6
2018-01-25 09:58:32 +00:00
|
|
|
// A temporary build target that is conditionally included on the bootclasspath if
|
|
|
|
// android.test.base library has been removed and which provides support for
|
|
|
|
// maintaining backwards compatibility for APKs that target pre-P and depend on
|
|
|
|
// android.test.base classes. This is used iff REMOVE_ATB_FROM_BCP=true is
|
|
|
|
// specified on the build command line.
|
|
|
|
java_library {
|
|
|
|
name: "framework-atb-backward-compatibility",
|
|
|
|
srcs: [
|
|
|
|
"core/java/android/content/pm/AndroidTestBaseUpdater.java",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
2017-11-16 00:15:28 -08:00
|
|
|
genrule {
|
|
|
|
name: "framework-statslog-gen",
|
|
|
|
tools: ["stats-log-api-gen"],
|
|
|
|
cmd: "$(location stats-log-api-gen) --java $(out)",
|
2017-12-06 16:28:16 -08:00
|
|
|
out: ["android/util/StatsLogInternal.java"],
|
2017-11-16 00:15:28 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
gensrcs {
|
|
|
|
name: "framework-javastream-protos",
|
|
|
|
depfile: true,
|
|
|
|
|
2018-08-08 07:05:19 -07:00
|
|
|
tool_files: [ "tools/genprotos.sh", ],
|
2017-11-16 00:15:28 -08:00
|
|
|
tools: [
|
|
|
|
"aprotoc",
|
|
|
|
"protoc-gen-javastream",
|
|
|
|
"soong_zip",
|
|
|
|
],
|
|
|
|
|
2018-08-08 07:05:19 -07:00
|
|
|
// TODO This should not be needed. If you set a custom OUT_DIR or OUT_DIR_COMMON_BASE you can
|
|
|
|
// end up with a command that is extremely long, potentially going passed MAX_ARG_STRLEN due to
|
|
|
|
// the way sbox rewrites the command. See b/70221552.
|
|
|
|
cmd: "$(location tools/genprotos.sh) " +
|
|
|
|
" $(location aprotoc) " +
|
|
|
|
" $(location protoc-gen-javastream) " +
|
|
|
|
" $(location soong_zip) " +
|
|
|
|
" $(genDir) " +
|
|
|
|
" $(depfile) " +
|
|
|
|
" $(in) " +
|
|
|
|
" $(out)",
|
2018-01-10 11:34:26 -08:00
|
|
|
srcs: [
|
|
|
|
"core/proto/**/*.proto",
|
|
|
|
"libs/incident/**/*.proto",
|
|
|
|
],
|
2017-11-16 00:15:28 -08:00
|
|
|
output_extension: "srcjar",
|
|
|
|
}
|
|
|
|
|
2018-12-07 16:52:24 +09:00
|
|
|
// AIDL interfaces between the core system and the networking mainline module.
|
|
|
|
aidl_interface {
|
|
|
|
name: "networkstack-aidl-interfaces",
|
|
|
|
local_include_dir: "core/java",
|
|
|
|
srcs: [
|
2019-01-18 18:49:16 +09:00
|
|
|
"core/java/android/net/ApfCapabilitiesParcelable.aidl",
|
|
|
|
"core/java/android/net/DhcpResultsParcelable.aidl",
|
2019-01-21 23:36:53 +09:00
|
|
|
"core/java/android/net/ICaptivePortal.aidl",
|
2018-12-27 16:43:56 +09:00
|
|
|
"core/java/android/net/INetworkMonitor.aidl",
|
|
|
|
"core/java/android/net/INetworkMonitorCallbacks.aidl",
|
2018-12-07 23:09:02 +09:00
|
|
|
"core/java/android/net/IIpMemoryStore.aidl",
|
2018-12-07 16:52:24 +09:00
|
|
|
"core/java/android/net/INetworkStackConnector.aidl",
|
2018-12-04 12:13:09 +09:00
|
|
|
"core/java/android/net/INetworkStackStatusCallback.aidl",
|
2019-01-18 18:49:16 +09:00
|
|
|
"core/java/android/net/InitialConfigurationParcelable.aidl",
|
2019-01-08 10:46:21 +09:00
|
|
|
"core/java/android/net/IpPrefixParcelable.aidl",
|
|
|
|
"core/java/android/net/LinkAddressParcelable.aidl",
|
|
|
|
"core/java/android/net/LinkPropertiesParcelable.aidl",
|
2019-01-18 18:49:16 +09:00
|
|
|
"core/java/android/net/NetworkParcelable.aidl",
|
2018-12-27 16:43:56 +09:00
|
|
|
"core/java/android/net/PrivateDnsConfigParcel.aidl",
|
2019-01-18 18:49:16 +09:00
|
|
|
"core/java/android/net/ProvisioningConfigurationParcelable.aidl",
|
2019-01-08 10:46:21 +09:00
|
|
|
"core/java/android/net/ProxyInfoParcelable.aidl",
|
|
|
|
"core/java/android/net/RouteInfoParcelable.aidl",
|
2019-01-18 18:49:16 +09:00
|
|
|
"core/java/android/net/StaticIpConfigurationParcelable.aidl",
|
2018-12-10 16:35:30 +09:00
|
|
|
"core/java/android/net/dhcp/DhcpServingParamsParcel.aidl",
|
2018-12-04 12:13:09 +09:00
|
|
|
"core/java/android/net/dhcp/IDhcpServer.aidl",
|
|
|
|
"core/java/android/net/dhcp/IDhcpServerCallbacks.aidl",
|
2019-01-12 15:36:47 +09:00
|
|
|
"core/java/android/net/ip/IIpClient.aidl",
|
|
|
|
"core/java/android/net/ip/IIpClientCallbacks.aidl",
|
2018-12-07 23:09:02 +09:00
|
|
|
"core/java/android/net/ipmemorystore/**/*.aidl",
|
2018-12-07 16:52:24 +09:00
|
|
|
],
|
|
|
|
api_dir: "aidl/networkstack",
|
|
|
|
}
|
|
|
|
|
2017-10-02 17:14:22 -07:00
|
|
|
// Build ext.jar
|
|
|
|
// ============================================================
|
|
|
|
java_library {
|
|
|
|
name: "ext",
|
2018-06-27 11:00:11 -07:00
|
|
|
installable: true,
|
2018-11-23 12:19:49 +00:00
|
|
|
no_framework_libs: true,
|
2017-10-02 17:14:22 -07:00
|
|
|
static_libs: [
|
|
|
|
"libphonenumber-platform",
|
|
|
|
"nist-sip",
|
|
|
|
"tagsoup",
|
2017-10-31 14:31:01 +00:00
|
|
|
"rappor",
|
2018-09-25 13:38:28 +01:00
|
|
|
"libtextclassifier-java",
|
|
|
|
],
|
|
|
|
required: [
|
|
|
|
"libtextclassifier",
|
2017-10-02 17:14:22 -07:00
|
|
|
],
|
|
|
|
dxflags: ["--core-library"],
|
|
|
|
}
|
|
|
|
|
2018-05-17 10:49:26 -07:00
|
|
|
// ==== java proto host library ==============================
|
|
|
|
java_library_host {
|
|
|
|
name: "platformprotos",
|
|
|
|
srcs: [
|
|
|
|
"cmds/am/proto/instrumentation_data.proto",
|
2018-08-30 16:23:44 -07:00
|
|
|
"cmds/statsd/src/**/*.proto",
|
2018-05-17 10:49:26 -07:00
|
|
|
"core/proto/**/*.proto",
|
|
|
|
"libs/incident/proto/**/*.proto",
|
|
|
|
],
|
|
|
|
proto: {
|
|
|
|
include_dirs: ["external/protobuf/src"],
|
|
|
|
type: "full",
|
|
|
|
},
|
|
|
|
errorprone: {
|
|
|
|
javacflags: ["-Xep:MissingOverride:OFF"], // b/72714520
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
2018-08-20 13:57:24 -07:00
|
|
|
// ==== java proto device library (for test only) ==============================
|
|
|
|
java_library {
|
|
|
|
name: "platformprotosnano",
|
|
|
|
proto: {
|
|
|
|
type: "nano",
|
|
|
|
output_params: ["store_unknown_fields=true"],
|
|
|
|
include_dirs: ["external/protobuf/src"],
|
|
|
|
},
|
|
|
|
|
|
|
|
sdk_version: "current",
|
|
|
|
srcs: [
|
|
|
|
"core/proto/**/*.proto",
|
|
|
|
"libs/incident/proto/android/os/**/*.proto",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
// ==== java proto device library (for test only) ==============================
|
|
|
|
java_library {
|
|
|
|
name: "platformprotoslite",
|
|
|
|
proto: {
|
|
|
|
type: "lite",
|
|
|
|
include_dirs: ["external/protobuf/src"],
|
|
|
|
},
|
|
|
|
|
|
|
|
srcs: [
|
|
|
|
"core/proto/**/*.proto",
|
|
|
|
"libs/incident/proto/android/os/**/*.proto",
|
|
|
|
],
|
|
|
|
// Protos have lots of MissingOverride and similar.
|
|
|
|
errorprone: {
|
|
|
|
javacflags: ["-XepDisableAllChecks"],
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
2017-05-02 14:14:56 -07:00
|
|
|
// ==== c++ proto device library ==============================
|
|
|
|
cc_library {
|
|
|
|
name: "libplatformprotos",
|
|
|
|
host_supported: true,
|
|
|
|
proto: {
|
|
|
|
export_proto_headers: true,
|
|
|
|
include_dirs: ["external/protobuf/src"],
|
|
|
|
},
|
|
|
|
|
2017-10-03 09:57:55 -07:00
|
|
|
cflags: [
|
|
|
|
"-Wall",
|
|
|
|
"-Werror",
|
|
|
|
"-Wno-unused-parameter",
|
|
|
|
],
|
2017-11-18 20:32:56 -08:00
|
|
|
|
|
|
|
srcs: [
|
|
|
|
"core/proto/**/*.proto",
|
|
|
|
"libs/incident/**/*.proto",
|
|
|
|
],
|
|
|
|
|
2017-05-02 14:14:56 -07:00
|
|
|
target: {
|
|
|
|
host: {
|
|
|
|
proto: {
|
|
|
|
type: "full",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
android: {
|
|
|
|
proto: {
|
|
|
|
type: "lite",
|
|
|
|
},
|
|
|
|
shared: {
|
|
|
|
enabled: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
2017-10-17 18:29:33 -07:00
|
|
|
gensrcs {
|
|
|
|
name: "gen-platform-proto-constants",
|
|
|
|
depfile: true,
|
|
|
|
|
|
|
|
tools: [
|
|
|
|
"aprotoc",
|
|
|
|
"protoc-gen-cppstream",
|
|
|
|
],
|
|
|
|
|
|
|
|
srcs: [
|
2018-02-05 16:45:13 -08:00
|
|
|
"core/proto/android/os/backtrace.proto",
|
2017-12-27 15:48:14 -08:00
|
|
|
"core/proto/android/os/batterytype.proto",
|
2017-11-06 17:17:27 -08:00
|
|
|
"core/proto/android/os/cpufreq.proto",
|
2017-11-01 17:08:27 -07:00
|
|
|
"core/proto/android/os/cpuinfo.proto",
|
2018-10-26 22:34:06 -07:00
|
|
|
"core/proto/android/os/data.proto",
|
2017-10-17 18:29:33 -07:00
|
|
|
"core/proto/android/os/kernelwake.proto",
|
|
|
|
"core/proto/android/os/pagetypeinfo.proto",
|
|
|
|
"core/proto/android/os/procrank.proto",
|
2017-12-20 17:59:17 -08:00
|
|
|
"core/proto/android/os/ps.proto",
|
2017-11-06 17:43:47 -08:00
|
|
|
"core/proto/android/os/system_properties.proto",
|
2017-12-22 17:36:47 -08:00
|
|
|
"core/proto/android/util/event_log_tags.proto",
|
2018-10-26 22:34:06 -07:00
|
|
|
"core/proto/android/util/log.proto",
|
2017-10-17 18:29:33 -07:00
|
|
|
],
|
|
|
|
|
|
|
|
// Append protoc-gen-cppstream tool's PATH otherwise aprotoc can't find the plugin tool
|
2017-12-22 17:36:47 -08:00
|
|
|
cmd: "mkdir -p $(genDir) " +
|
|
|
|
"&& $(location aprotoc) " +
|
|
|
|
" --plugin=$(location protoc-gen-cppstream) " +
|
|
|
|
" --dependency_out=$(depfile) " +
|
|
|
|
" --cppstream_out=$(genDir) " +
|
|
|
|
" -Iexternal/protobuf/src " +
|
|
|
|
" -I . " +
|
|
|
|
" $(in)",
|
2017-10-17 18:29:33 -07:00
|
|
|
|
2018-02-27 16:43:50 +08:00
|
|
|
output_extension: "proto.h",
|
2017-10-17 18:29:33 -07:00
|
|
|
}
|
|
|
|
|
2016-09-23 15:55:49 -07:00
|
|
|
subdirs = [
|
2017-06-22 19:23:11 -07:00
|
|
|
"cmds/*",
|
2017-10-23 16:04:31 -06:00
|
|
|
"core/*",
|
2016-12-01 15:55:00 -08:00
|
|
|
"libs/*",
|
2017-05-15 18:10:40 -07:00
|
|
|
"media/*",
|
2017-10-24 16:21:22 -07:00
|
|
|
"proto",
|
2017-01-12 14:24:31 -05:00
|
|
|
"tools/*",
|
2016-09-23 15:55:49 -07:00
|
|
|
"native/android",
|
2016-09-23 16:43:49 -07:00
|
|
|
"native/graphics/jni",
|
2016-09-23 15:55:49 -07:00
|
|
|
]
|
2016-12-05 20:07:20 -08:00
|
|
|
|
|
|
|
optional_subdirs = [
|
|
|
|
"core/tests/utiltests/jni",
|
|
|
|
]
|
2017-10-02 16:58:41 -07:00
|
|
|
|
2018-03-29 13:31:04 -07:00
|
|
|
// TODO(b/77285514): remove this once the last few hidl interfaces have been
|
|
|
|
// updated to use hwbinder.stubs.
|
2017-10-02 16:58:41 -07:00
|
|
|
java_library {
|
|
|
|
name: "hwbinder",
|
|
|
|
no_framework_libs: true,
|
|
|
|
|
|
|
|
srcs: [
|
|
|
|
"core/java/android/os/HidlSupport.java",
|
2018-01-10 15:45:36 -08:00
|
|
|
"core/java/android/annotation/IntDef.java",
|
2017-10-02 16:58:41 -07:00
|
|
|
"core/java/android/annotation/NonNull.java",
|
2018-01-10 15:45:36 -08:00
|
|
|
"core/java/android/annotation/SystemApi.java",
|
2019-01-11 10:19:51 -08:00
|
|
|
"core/java/android/annotation/TestApi.java",
|
2017-10-02 16:58:41 -07:00
|
|
|
"core/java/android/os/HwBinder.java",
|
|
|
|
"core/java/android/os/HwBlob.java",
|
|
|
|
"core/java/android/os/HwParcel.java",
|
|
|
|
"core/java/android/os/IHwBinder.java",
|
|
|
|
"core/java/android/os/IHwInterface.java",
|
|
|
|
"core/java/android/os/DeadObjectException.java",
|
|
|
|
"core/java/android/os/DeadSystemException.java",
|
2018-07-24 17:03:44 -07:00
|
|
|
"core/java/android/os/NativeHandle.java",
|
2017-10-02 16:58:41 -07:00
|
|
|
"core/java/android/os/RemoteException.java",
|
|
|
|
"core/java/android/util/AndroidException.java",
|
|
|
|
],
|
|
|
|
|
|
|
|
dxflags: ["--core-library"],
|
|
|
|
installable: false,
|
|
|
|
}
|
2017-11-08 20:48:46 -08:00
|
|
|
|
|
|
|
python_defaults {
|
|
|
|
name: "base_default",
|
|
|
|
version: {
|
|
|
|
py2: {
|
|
|
|
enabled: true,
|
|
|
|
embedded_launcher: true,
|
|
|
|
},
|
|
|
|
py3: {
|
|
|
|
enabled: false,
|
|
|
|
embedded_launcher: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
python_binary_host {
|
|
|
|
name: "fontchain_linter",
|
|
|
|
defaults: ["base_default"],
|
|
|
|
main: "tools/fonts/fontchain_linter.py",
|
|
|
|
srcs: [
|
|
|
|
"tools/fonts/fontchain_linter.py",
|
|
|
|
],
|
|
|
|
libs: [
|
|
|
|
"fontTools",
|
|
|
|
],
|
|
|
|
}
|
2018-02-27 11:24:03 -08:00
|
|
|
|
|
|
|
// TODO: Don't rely on this list once droiddoc can take a list of packages to document
|
|
|
|
frameworks_base_subdirs = [
|
|
|
|
"core/java",
|
|
|
|
"graphics/java",
|
|
|
|
"location/java",
|
|
|
|
"media/java",
|
|
|
|
"media/mca/effect/java",
|
|
|
|
"media/mca/filterfw/java",
|
|
|
|
"media/mca/filterpacks/java",
|
|
|
|
"drm/java",
|
|
|
|
"opengl/java",
|
|
|
|
"sax/java",
|
|
|
|
"telecomm/java",
|
|
|
|
"telephony/java",
|
|
|
|
"wifi/java",
|
|
|
|
"lowpan/java",
|
|
|
|
"keystore/java",
|
|
|
|
"rs/java",
|
|
|
|
]
|
|
|
|
|
|
|
|
packages_to_document = [
|
|
|
|
"android",
|
|
|
|
"javax/microedition/khronos",
|
|
|
|
"org/apache/http/conn",
|
|
|
|
"org/apache/http/params",
|
|
|
|
]
|
|
|
|
|
|
|
|
// The since flag (-since N.xml API_LEVEL) is used to add API Level information
|
|
|
|
// to the reference documentation. Must be in order of oldest to newest.
|
|
|
|
//
|
|
|
|
// Conscrypt (com.android.org.conscrypt) is an implementation detail and should
|
|
|
|
// not be referenced in the documentation.
|
|
|
|
framework_docs_args = "-android -manifest $(location core/res/AndroidManifest.xml) " +
|
2018-03-23 00:57:00 -07:00
|
|
|
"-hidePackage com.android.internal " +
|
|
|
|
"-hidePackage com.android.internal.util " +
|
|
|
|
"-hidePackage com.android.okhttp " +
|
|
|
|
"-hidePackage com.android.org.conscrypt " +
|
|
|
|
"-hidePackage com.android.server " +
|
2018-04-19 16:23:53 +01:00
|
|
|
"-since $(location 1/public/api/android.xml) 1 " +
|
|
|
|
"-since $(location 2/public/api/android.xml) 2 " +
|
|
|
|
"-since $(location 3/public/api/android.xml) 3 " +
|
|
|
|
"-since $(location 4/public/api/android.xml) 4 " +
|
|
|
|
"-since $(location 5/public/api/android.xml) 5 " +
|
|
|
|
"-since $(location 6/public/api/android.xml) 6 " +
|
|
|
|
"-since $(location 7/public/api/android.xml) 7 " +
|
|
|
|
"-since $(location 8/public/api/android.xml) 8 " +
|
|
|
|
"-since $(location 9/public/api/android.xml) 9 " +
|
|
|
|
"-since $(location 10/public/api/android.xml) 10 " +
|
|
|
|
"-since $(location 11/public/api/android.xml) 11 " +
|
|
|
|
"-since $(location 12/public/api/android.xml) 12 " +
|
|
|
|
"-since $(location 13/public/api/android.xml) 13 " +
|
|
|
|
"-since $(location 14/public/api/android.txt) 14 " +
|
|
|
|
"-since $(location 15/public/api/android.txt) 15 " +
|
|
|
|
"-since $(location 16/public/api/android.txt) 16 " +
|
|
|
|
"-since $(location 17/public/api/android.txt) 17 " +
|
|
|
|
"-since $(location 18/public/api/android.txt) 18 " +
|
|
|
|
"-since $(location 19/public/api/android.txt) 19 " +
|
|
|
|
"-since $(location 20/public/api/android.txt) 20 " +
|
|
|
|
"-since $(location 21/public/api/android.txt) 21 " +
|
|
|
|
"-since $(location 22/public/api/android.txt) 22 " +
|
|
|
|
"-since $(location 23/public/api/android.txt) 23 " +
|
|
|
|
"-since $(location 24/public/api/android.txt) 24 " +
|
|
|
|
"-since $(location 25/public/api/android.txt) 25 " +
|
|
|
|
"-since $(location 26/public/api/android.txt) 26 " +
|
|
|
|
"-since $(location 27/public/api/android.txt) 27 " +
|
|
|
|
"-since $(location 28/public/api/android.txt) 28 " +
|
2018-07-26 18:41:12 +00:00
|
|
|
"-since $(location api/current.txt) Q " +
|
2018-02-27 11:24:03 -08:00
|
|
|
"-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
|
|
|
|
"-overview $(location core/java/overview.html) " +
|
|
|
|
// Federate Support Library references against local API file.
|
|
|
|
"-federate SupportLib https://developer.android.com " +
|
|
|
|
"-federationapi SupportLib $(location current/support-api.txt) "
|
|
|
|
|
2018-08-22 11:27:31 -07:00
|
|
|
framework_docs_only_args = " -android -manifest $(location core/res/AndroidManifest.xml) " +
|
2018-10-11 18:06:10 -07:00
|
|
|
"-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
|
2018-08-22 11:27:31 -07:00
|
|
|
"-overview $(location core/java/overview.html) " +
|
|
|
|
// Federate Support Library references against local API file.
|
|
|
|
"-federate SupportLib https://developer.android.com " +
|
|
|
|
"-federationapi SupportLib $(location current/support-api.txt) "
|
|
|
|
|
|
|
|
framework_docs_only_libs = [
|
|
|
|
"voip-common",
|
|
|
|
"android.test.mock",
|
|
|
|
"android-support-annotations",
|
|
|
|
"android-support-compat",
|
|
|
|
"android-support-core-ui",
|
|
|
|
"android-support-core-utils",
|
|
|
|
"android-support-customtabs",
|
|
|
|
"android-support-design",
|
|
|
|
"android-support-dynamic-animation",
|
|
|
|
"android-support-exifinterface",
|
|
|
|
"android-support-fragment",
|
|
|
|
"android-support-media-compat",
|
|
|
|
"android-support-percent",
|
|
|
|
"android-support-recommendation",
|
|
|
|
"android-support-transition",
|
|
|
|
"android-support-tv-provider",
|
|
|
|
"android-support-v7-cardview",
|
|
|
|
"android-support-v7-gridlayout",
|
|
|
|
"android-support-v7-mediarouter",
|
|
|
|
"android-support-v7-palette",
|
|
|
|
"android-support-v7-preference",
|
|
|
|
"android-support-v13",
|
|
|
|
"android-support-v14-preference",
|
|
|
|
"android-support-v17-leanback",
|
|
|
|
"android-support-v17-preference-leanback",
|
|
|
|
"android-support-wear",
|
|
|
|
"android-support-vectordrawable",
|
|
|
|
"android-support-animatedvectordrawable",
|
|
|
|
"android-support-v7-appcompat",
|
|
|
|
"android-support-v7-recyclerview",
|
|
|
|
"android-support-emoji",
|
|
|
|
"android-support-emoji-appcompat",
|
|
|
|
"android-support-emoji-bundled",
|
|
|
|
"android-support-v8-renderscript",
|
|
|
|
"android-support-multidex",
|
|
|
|
"android-support-multidex-instrumentation",
|
|
|
|
]
|
|
|
|
|
|
|
|
metalava_framework_docs_args = "--manifest $(location core/res/AndroidManifest.xml) " +
|
|
|
|
"--hide-package com.android.okhttp " +
|
|
|
|
"--hide-package com.android.org.conscrypt --hide-package com.android.server " +
|
2018-12-12 15:08:44 +01:00
|
|
|
"--error UnhiddenSystemApi " +
|
2018-08-22 11:27:31 -07:00
|
|
|
"--hide RequiresPermission " +
|
|
|
|
"--hide MissingPermission --hide BroadcastBehavior " +
|
|
|
|
"--hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol " +
|
|
|
|
"--hide SdkConstant --hide HiddenTypeParameter --hide Todo --hide Typo"
|
|
|
|
|
|
|
|
stubs_defaults {
|
|
|
|
name: "framework-doc-stubs-default",
|
2018-02-27 11:24:03 -08:00
|
|
|
srcs: [
|
2018-08-22 11:27:31 -07:00
|
|
|
"test-base/src/**/*.java",
|
2018-02-27 11:24:03 -08:00
|
|
|
":opt-telephony-srcs",
|
|
|
|
":opt-net-voip-srcs",
|
|
|
|
":openjdk_javadoc_files",
|
|
|
|
":non_openjdk_javadoc_files",
|
|
|
|
":android_icu4j_src_files_for_docs",
|
2018-10-18 10:10:35 +01:00
|
|
|
":conscrypt_public_api_files",
|
2019-01-24 04:25:44 +09:00
|
|
|
":media-srcs-without-aidls",
|
2018-08-22 11:27:31 -07:00
|
|
|
"test-mock/src/**/*.java",
|
|
|
|
"test-runner/src/**/*.java",
|
2018-02-27 11:24:03 -08:00
|
|
|
],
|
|
|
|
srcs_lib: "framework",
|
|
|
|
srcs_lib_whitelist_dirs: frameworks_base_subdirs,
|
|
|
|
srcs_lib_whitelist_pkgs: packages_to_document,
|
2018-08-22 11:27:31 -07:00
|
|
|
libs: framework_docs_only_libs,
|
2018-02-27 11:24:03 -08:00
|
|
|
local_sourcepaths: frameworks_base_subdirs,
|
2018-08-22 11:27:31 -07:00
|
|
|
create_doc_stubs: true,
|
|
|
|
annotations_enabled: true,
|
|
|
|
api_levels_annotations_enabled: true,
|
|
|
|
api_levels_annotations_dirs: [
|
|
|
|
"sdk-dir",
|
|
|
|
"api-versions-jars-dir",
|
2018-02-27 11:24:03 -08:00
|
|
|
],
|
2018-08-22 11:27:31 -07:00
|
|
|
previous_api: ":last-released-public-api",
|
|
|
|
merge_annotations_dirs: [
|
|
|
|
"metalava-manual",
|
2018-09-17 15:45:33 +01:00
|
|
|
"ojluni-annotated-sdk-stubs",
|
2018-02-27 11:24:03 -08:00
|
|
|
],
|
|
|
|
}
|
|
|
|
|
2018-07-26 18:41:12 +00:00
|
|
|
doc_defaults {
|
|
|
|
name: "framework-docs-default",
|
2018-10-11 18:06:10 -07:00
|
|
|
libs: framework_docs_only_libs +
|
|
|
|
["stub-annotations"],
|
2018-07-26 18:41:12 +00:00
|
|
|
html_dirs: [
|
|
|
|
"docs/html",
|
|
|
|
],
|
|
|
|
knowntags: [
|
|
|
|
"docs/knowntags.txt",
|
|
|
|
":known-oj-tags",
|
|
|
|
],
|
|
|
|
custom_template: "droiddoc-templates-sdk",
|
|
|
|
resourcesdir: "docs/html/reference/images/",
|
|
|
|
resourcesoutdir: "reference/android/images/",
|
|
|
|
hdf: [
|
|
|
|
"dac true",
|
|
|
|
"sdk.codename O",
|
|
|
|
"sdk.preview.version 1",
|
|
|
|
"sdk.version 7.0",
|
|
|
|
"sdk.rel.id 1",
|
|
|
|
"sdk.preview 0",
|
|
|
|
],
|
|
|
|
arg_files: [
|
|
|
|
"core/res/AndroidManifest.xml",
|
|
|
|
"core/java/overview.html",
|
|
|
|
":current-support-api",
|
|
|
|
],
|
|
|
|
create_stubs: false,
|
|
|
|
}
|
|
|
|
|
2018-09-10 18:58:39 -07:00
|
|
|
stubs_defaults {
|
2018-08-22 10:48:15 -07:00
|
|
|
name: "metalava-api-stubs-default",
|
|
|
|
srcs: [
|
|
|
|
":opt-telephony-srcs",
|
|
|
|
":opt-net-voip-srcs",
|
|
|
|
":openjdk_javadoc_files",
|
|
|
|
":non_openjdk_javadoc_files",
|
|
|
|
":android_icu4j_src_files_for_docs",
|
2018-10-18 10:10:35 +01:00
|
|
|
":conscrypt_public_api_files",
|
2019-01-24 04:25:44 +09:00
|
|
|
":media-srcs-without-aidls",
|
2018-08-22 10:48:15 -07:00
|
|
|
],
|
|
|
|
srcs_lib: "framework",
|
|
|
|
srcs_lib_whitelist_dirs: frameworks_base_subdirs,
|
|
|
|
srcs_lib_whitelist_pkgs: packages_to_document,
|
|
|
|
libs: [
|
|
|
|
"ext",
|
|
|
|
"framework",
|
|
|
|
"voip-common",
|
|
|
|
],
|
|
|
|
local_sourcepaths: frameworks_base_subdirs,
|
|
|
|
installable: false,
|
2018-09-10 18:58:39 -07:00
|
|
|
annotations_enabled: true,
|
|
|
|
previous_api: ":last-released-public-api",
|
|
|
|
merge_annotations_dirs: [
|
2018-08-22 10:48:15 -07:00
|
|
|
"metalava-manual",
|
2018-09-17 15:45:33 +01:00
|
|
|
"ojluni-annotated-sdk-stubs",
|
2018-08-22 10:48:15 -07:00
|
|
|
],
|
2018-09-18 10:46:10 -07:00
|
|
|
api_levels_annotations_enabled: true,
|
|
|
|
api_levels_annotations_dirs: [
|
|
|
|
"sdk-dir",
|
|
|
|
"api-versions-jars-dir",
|
|
|
|
],
|
2018-08-22 10:48:15 -07:00
|
|
|
}
|
|
|
|
|
2018-08-22 11:27:31 -07:00
|
|
|
droidstubs {
|
|
|
|
name: "framework-doc-stubs",
|
|
|
|
defaults: ["framework-doc-stubs-default"],
|
|
|
|
arg_files: [
|
|
|
|
"core/res/AndroidManifest.xml",
|
|
|
|
],
|
|
|
|
args: metalava_framework_docs_args,
|
|
|
|
}
|
|
|
|
|
|
|
|
droidstubs {
|
|
|
|
name: "framework-doc-system-stubs",
|
|
|
|
defaults: ["framework-doc-stubs-default"],
|
|
|
|
arg_files: [
|
|
|
|
"core/res/AndroidManifest.xml",
|
|
|
|
],
|
|
|
|
args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi ",
|
|
|
|
}
|
|
|
|
|
2018-07-26 18:41:12 +00:00
|
|
|
droiddoc {
|
|
|
|
name: "doc-comment-check-docs",
|
|
|
|
defaults: ["framework-docs-default"],
|
2018-08-22 11:27:31 -07:00
|
|
|
srcs: [
|
|
|
|
":framework-doc-stubs",
|
|
|
|
],
|
|
|
|
args: framework_docs_only_args + " -referenceonly -parsecomments",
|
2018-07-26 18:41:12 +00:00
|
|
|
installable: false,
|
|
|
|
}
|
|
|
|
|
|
|
|
droiddoc {
|
|
|
|
name: "offline-sdk-docs",
|
|
|
|
defaults: ["framework-docs-default"],
|
2018-08-22 11:27:31 -07:00
|
|
|
srcs: [
|
|
|
|
":framework-doc-stubs",
|
|
|
|
],
|
2018-07-26 18:41:12 +00:00
|
|
|
hdf: [
|
|
|
|
"android.whichdoc offline",
|
|
|
|
],
|
|
|
|
proofread_file: "offline-sdk-docs-proofrerad.txt",
|
2018-08-22 11:27:31 -07:00
|
|
|
args: framework_docs_only_args + " -offlinemode -title \"Android SDK\"",
|
2018-07-26 18:41:12 +00:00
|
|
|
write_sdk_values: true,
|
|
|
|
static_doc_index_redirect: "docs/docs-preview-index.html",
|
|
|
|
}
|
|
|
|
|
|
|
|
droiddoc {
|
2018-09-21 17:16:49 -07:00
|
|
|
// Please sync with android-api-council@ before making any changes for the name property below.
|
|
|
|
// Since there's cron jobs that fetch offline-sdk-referenceonly-docs-docs.zip periodically.
|
|
|
|
// See b/116221385 for reference.
|
2018-07-26 18:41:12 +00:00
|
|
|
name: "offline-sdk-referenceonly-docs",
|
|
|
|
defaults: ["framework-docs-default"],
|
2018-08-22 11:27:31 -07:00
|
|
|
srcs: [
|
|
|
|
":framework-doc-stubs",
|
|
|
|
],
|
2018-07-26 18:41:12 +00:00
|
|
|
hdf: [
|
|
|
|
"android.whichdoc offline",
|
|
|
|
],
|
|
|
|
proofread_file: "offline-sdk-referenceonly-docs-proofrerad.txt",
|
2018-08-22 11:27:31 -07:00
|
|
|
args: framework_docs_only_args + " -offlinemode -title \"Android SDK\" -referenceonly",
|
2018-07-26 18:41:12 +00:00
|
|
|
write_sdk_values: true,
|
|
|
|
static_doc_index_redirect: "docs/docs-documentation-redirect.html",
|
|
|
|
static_doc_properties: "docs/source.properties",
|
|
|
|
}
|
|
|
|
|
|
|
|
droiddoc {
|
2018-09-21 17:16:49 -07:00
|
|
|
// Please sync with android-api-council@ before making any changes for the name property below.
|
|
|
|
// Since there's cron jobs that fetch offline-system-sdk-referenceonly-docs-docs.zip periodically.
|
|
|
|
// See b/116221385 for reference.
|
2018-07-26 18:41:12 +00:00
|
|
|
name: "offline-system-sdk-referenceonly-docs",
|
|
|
|
defaults: ["framework-docs-default"],
|
2018-08-22 11:27:31 -07:00
|
|
|
srcs: [
|
|
|
|
":framework-doc-system-stubs",
|
|
|
|
],
|
2018-07-26 18:41:12 +00:00
|
|
|
hdf: [
|
|
|
|
"android.whichdoc offline",
|
|
|
|
],
|
|
|
|
proofread_file: "offline-system-sdk-referenceonly-docs-proofrerad.txt",
|
2018-08-22 11:27:31 -07:00
|
|
|
args: framework_docs_only_args + " -hide 101 -hide 104 -hide 108" +
|
|
|
|
" -offlinemode -title \"Android System SDK\" -referenceonly",
|
2018-07-26 18:41:12 +00:00
|
|
|
write_sdk_values: true,
|
|
|
|
static_doc_index_redirect: "docs/docs-documentation-redirect.html",
|
|
|
|
static_doc_properties: "docs/source.properties",
|
|
|
|
}
|
|
|
|
|
|
|
|
droiddoc {
|
|
|
|
name: "online-sdk-docs",
|
|
|
|
defaults: ["framework-docs-default"],
|
2018-08-22 11:27:31 -07:00
|
|
|
srcs: [
|
|
|
|
":framework-doc-stubs",
|
|
|
|
],
|
2018-07-26 18:41:12 +00:00
|
|
|
hdf: [
|
|
|
|
"android.whichdoc online",
|
|
|
|
"android.hasSamples true",
|
|
|
|
],
|
|
|
|
proofread_file: "online-sdk-docs-proofrerad.txt",
|
2018-08-22 11:27:31 -07:00
|
|
|
args: framework_docs_only_args +
|
2018-07-26 18:41:12 +00:00
|
|
|
" -toroot / -samplegroup Admin " +
|
|
|
|
" -samplegroup Background " +
|
|
|
|
" -samplegroup Connectivity " +
|
|
|
|
" -samplegroup Content " +
|
|
|
|
" -samplegroup Input " +
|
|
|
|
" -samplegroup Media " +
|
|
|
|
" -samplegroup Notification " +
|
|
|
|
" -samplegroup RenderScript " +
|
|
|
|
" -samplegroup Security " +
|
|
|
|
" -samplegroup Sensors " +
|
|
|
|
" -samplegroup System " +
|
|
|
|
" -samplegroup Testing " +
|
|
|
|
" -samplegroup UI " +
|
|
|
|
" -samplegroup Views " +
|
|
|
|
" -samplegroup Wearable -samplesdir development/samples/browseable ",
|
|
|
|
}
|
|
|
|
|
|
|
|
droiddoc {
|
|
|
|
name: "online-system-api-sdk-docs",
|
|
|
|
defaults: ["framework-docs-default"],
|
2018-08-22 11:27:31 -07:00
|
|
|
srcs: [
|
|
|
|
":framework-doc-system-stubs",
|
|
|
|
],
|
2018-07-26 18:41:12 +00:00
|
|
|
hdf: [
|
|
|
|
"android.whichdoc online",
|
|
|
|
"android.hasSamples true",
|
|
|
|
],
|
|
|
|
proofread_file: "online-system-api-sdk-docs-proofrerad.txt",
|
2018-08-22 11:27:31 -07:00
|
|
|
args: framework_docs_only_args +
|
2018-07-26 18:41:12 +00:00
|
|
|
" -referenceonly " +
|
|
|
|
" -title \"Android SDK - Including system APIs.\" " +
|
|
|
|
" -hide 101 " +
|
|
|
|
" -hide 104 " +
|
|
|
|
" -hide 108 " +
|
|
|
|
" -toroot / -samplegroup Admin " +
|
|
|
|
" -samplegroup Background " +
|
|
|
|
" -samplegroup Connectivity " +
|
|
|
|
" -samplegroup Content " +
|
|
|
|
" -samplegroup Input " +
|
|
|
|
" -samplegroup Media " +
|
|
|
|
" -samplegroup Notification " +
|
|
|
|
" -samplegroup RenderScript " +
|
|
|
|
" -samplegroup Security " +
|
|
|
|
" -samplegroup Sensors " +
|
|
|
|
" -samplegroup System " +
|
|
|
|
" -samplegroup Testing " +
|
|
|
|
" -samplegroup UI " +
|
|
|
|
" -samplegroup Views " +
|
|
|
|
" -samplegroup Wearable -samplesdir development/samples/browseable ",
|
|
|
|
installable: false,
|
|
|
|
}
|
|
|
|
|
|
|
|
droiddoc {
|
|
|
|
name: "ds-docs",
|
|
|
|
defaults: ["framework-docs-default"],
|
2018-08-22 11:27:31 -07:00
|
|
|
srcs: [
|
|
|
|
":framework-doc-stubs",
|
|
|
|
],
|
2018-07-26 18:41:12 +00:00
|
|
|
hdf: [
|
|
|
|
"android.whichdoc online",
|
|
|
|
"android.hasSamples true",
|
|
|
|
],
|
|
|
|
proofread_file: "ds-docs-proofrerad.txt",
|
2018-08-22 11:27:31 -07:00
|
|
|
args: framework_docs_only_args +
|
2018-07-26 18:41:12 +00:00
|
|
|
" -toroot / -samplegroup Admin " +
|
|
|
|
" -samplegroup Background " +
|
|
|
|
" -samplegroup Connectivity " +
|
|
|
|
" -samplegroup Content " +
|
|
|
|
" -samplegroup Input " +
|
|
|
|
" -samplegroup Media " +
|
|
|
|
" -samplegroup Notification " +
|
|
|
|
" -samplegroup RenderScript " +
|
|
|
|
" -samplegroup Security " +
|
|
|
|
" -samplegroup Sensors " +
|
|
|
|
" -samplegroup System " +
|
|
|
|
" -samplegroup Testing " +
|
|
|
|
" -samplegroup UI " +
|
|
|
|
" -samplegroup Views " +
|
|
|
|
" -samplegroup Wearable -devsite -samplesdir development/samples/browseable ",
|
|
|
|
}
|
|
|
|
|
|
|
|
droiddoc {
|
|
|
|
name: "ds-static-docs",
|
|
|
|
defaults: ["framework-docs-default"],
|
2018-08-22 11:27:31 -07:00
|
|
|
srcs: [
|
|
|
|
":framework-doc-stubs",
|
|
|
|
],
|
2018-07-26 18:41:12 +00:00
|
|
|
hdf: [
|
|
|
|
"android.whichdoc online",
|
|
|
|
],
|
|
|
|
proofread_file: "ds-static-docs-proofrerad.txt",
|
2018-08-22 11:27:31 -07:00
|
|
|
args: framework_docs_only_args +
|
2018-07-26 18:41:12 +00:00
|
|
|
" -staticonly " +
|
|
|
|
" -toroot / " +
|
|
|
|
" -devsite " +
|
|
|
|
" -ignoreJdLinks ",
|
|
|
|
}
|
|
|
|
|
|
|
|
droiddoc {
|
|
|
|
name: "ds-ref-navtree-docs",
|
|
|
|
defaults: ["framework-docs-default"],
|
2018-08-22 11:27:31 -07:00
|
|
|
srcs: [
|
|
|
|
":framework-doc-stubs",
|
|
|
|
],
|
2018-07-26 18:41:12 +00:00
|
|
|
hdf: [
|
|
|
|
"android.whichdoc online",
|
|
|
|
],
|
|
|
|
proofread_file: "ds-ref-navtree-docs-proofrerad.txt",
|
2018-08-22 11:27:31 -07:00
|
|
|
args: framework_docs_only_args +
|
2018-07-26 18:41:12 +00:00
|
|
|
" -toroot / " +
|
|
|
|
" -atLinksNavtree " +
|
|
|
|
" -navtreeonly ",
|
|
|
|
}
|
|
|
|
|
|
|
|
droiddoc {
|
|
|
|
name: "online-sdk-dev-docs",
|
|
|
|
defaults: ["framework-docs-default"],
|
2018-08-22 11:27:31 -07:00
|
|
|
srcs: [
|
|
|
|
":framework-doc-stubs",
|
|
|
|
],
|
2018-07-26 18:41:12 +00:00
|
|
|
hdf: [
|
|
|
|
"android.whichdoc online",
|
|
|
|
"android.hasSamples true",
|
|
|
|
],
|
|
|
|
proofread_file: "online-sdk-dev-docs-proofrerad.txt",
|
2018-08-22 11:27:31 -07:00
|
|
|
args: framework_docs_only_args +
|
2018-07-26 18:41:12 +00:00
|
|
|
" -toroot / -samplegroup Admin " +
|
|
|
|
" -samplegroup Background " +
|
|
|
|
" -samplegroup Connectivity " +
|
|
|
|
" -samplegroup Content " +
|
|
|
|
" -samplegroup Input " +
|
|
|
|
" -samplegroup Media " +
|
|
|
|
" -samplegroup Notification " +
|
|
|
|
" -samplegroup RenderScript " +
|
|
|
|
" -samplegroup Security " +
|
|
|
|
" -samplegroup Sensors " +
|
|
|
|
" -samplegroup System " +
|
|
|
|
" -samplegroup Testing " +
|
|
|
|
" -samplegroup UI " +
|
|
|
|
" -samplegroup Views " +
|
|
|
|
" -samplegroup Wearable -samplesdir development/samples/browseable ",
|
|
|
|
}
|
|
|
|
|
|
|
|
droiddoc {
|
|
|
|
name: "hidden-docs",
|
|
|
|
defaults: ["framework-docs-default"],
|
2018-08-22 11:27:31 -07:00
|
|
|
srcs: [
|
|
|
|
":framework-doc-stubs",
|
|
|
|
],
|
2018-07-26 18:41:12 +00:00
|
|
|
proofread_file: "hidden-docs-proofrerad.txt",
|
2018-08-22 11:27:31 -07:00
|
|
|
args: framework_docs_only_args +
|
2018-07-26 18:41:12 +00:00
|
|
|
" -referenceonly " +
|
|
|
|
" -title \"Android SDK - Including hidden APIs.\"",
|
|
|
|
}
|
|
|
|
|
2018-08-22 11:27:31 -07:00
|
|
|
droidstubs {
|
2018-03-29 13:31:04 -07:00
|
|
|
name: "hwbinder-stubs-docs",
|
|
|
|
srcs: [
|
|
|
|
"core/java/android/os/HidlSupport.java",
|
|
|
|
"core/java/android/annotation/IntDef.java",
|
|
|
|
"core/java/android/annotation/NonNull.java",
|
|
|
|
"core/java/android/annotation/SystemApi.java",
|
|
|
|
"core/java/android/os/HwBinder.java",
|
|
|
|
"core/java/android/os/HwBlob.java",
|
|
|
|
"core/java/android/os/HwParcel.java",
|
|
|
|
"core/java/android/os/IHwBinder.java",
|
|
|
|
"core/java/android/os/IHwInterface.java",
|
|
|
|
"core/java/android/os/DeadObjectException.java",
|
|
|
|
"core/java/android/os/DeadSystemException.java",
|
2018-07-24 17:03:44 -07:00
|
|
|
"core/java/android/os/NativeHandle.java",
|
2018-03-29 13:31:04 -07:00
|
|
|
"core/java/android/os/RemoteException.java",
|
|
|
|
"core/java/android/util/AndroidException.java",
|
|
|
|
],
|
|
|
|
installable: false,
|
|
|
|
no_framework_libs: true,
|
2018-08-22 11:27:31 -07:00
|
|
|
annotations_enabled: true,
|
|
|
|
previous_api: ":last-released-public-api",
|
|
|
|
merge_annotations_dirs: [
|
|
|
|
"metalava-manual",
|
2018-09-17 15:45:33 +01:00
|
|
|
"ojluni-annotated-sdk-stubs",
|
2018-08-22 11:27:31 -07:00
|
|
|
],
|
|
|
|
args: " --show-annotation android.annotation.SystemApi",
|
2018-03-29 13:31:04 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
java_library_static {
|
|
|
|
name: "hwbinder.stubs",
|
|
|
|
sdk_version: "core_current",
|
|
|
|
srcs: [
|
|
|
|
":hwbinder-stubs-docs",
|
|
|
|
],
|
|
|
|
}
|
2018-04-09 17:41:51 -07:00
|
|
|
|
2018-09-10 18:58:39 -07:00
|
|
|
droidstubs {
|
2018-08-22 10:48:15 -07:00
|
|
|
name: "hiddenapi-lists-docs",
|
|
|
|
defaults: ["metalava-api-stubs-default"],
|
2018-04-26 14:05:13 +01:00
|
|
|
arg_files: [
|
|
|
|
"core/res/AndroidManifest.xml",
|
|
|
|
],
|
2018-05-31 13:58:41 +01:00
|
|
|
dex_api_filename: "public-dex.txt",
|
2018-04-26 14:05:13 +01:00
|
|
|
private_dex_api_filename: "private-dex.txt",
|
|
|
|
removed_dex_api_filename: "removed-dex.txt",
|
2018-08-22 10:48:15 -07:00
|
|
|
args: metalava_framework_docs_args +
|
|
|
|
" --show-unannotated " +
|
|
|
|
" --show-annotation android.annotation.SystemApi " +
|
|
|
|
" --show-annotation android.annotation.TestApi "
|
2018-04-26 14:05:13 +01:00
|
|
|
}
|
|
|
|
|
2018-08-22 10:48:15 -07:00
|
|
|
|
2018-08-22 11:27:31 -07:00
|
|
|
droidstubs {
|
2018-06-22 15:30:02 +01:00
|
|
|
name: "hiddenapi-mappings",
|
2018-08-22 11:27:31 -07:00
|
|
|
defaults: ["metalava-api-stubs-default"],
|
2018-10-31 10:34:51 +00:00
|
|
|
srcs: [
|
|
|
|
":openjdk_java_files",
|
|
|
|
":non_openjdk_java_files",
|
|
|
|
],
|
2018-06-22 15:30:02 +01:00
|
|
|
arg_files: [
|
|
|
|
"core/res/AndroidManifest.xml",
|
|
|
|
],
|
|
|
|
dex_mapping_filename: "dex-mapping.txt",
|
2018-08-22 11:27:31 -07:00
|
|
|
args: metalava_framework_docs_args +
|
2018-12-07 13:53:40 +01:00
|
|
|
" --hide ReferencesHidden " +
|
2018-12-12 15:08:44 +01:00
|
|
|
" --hide UnhiddenSystemApi " +
|
2018-08-22 11:27:31 -07:00
|
|
|
" --show-unannotated " +
|
|
|
|
" --show-annotation android.annotation.SystemApi " +
|
|
|
|
" --show-annotation android.annotation.TestApi "
|
2018-04-26 14:05:13 +01:00
|
|
|
}
|
|
|
|
|
2018-04-09 17:41:51 -07:00
|
|
|
filegroup {
|
|
|
|
name: "apache-http-stubs-sources",
|
|
|
|
srcs: [
|
|
|
|
"core/java/org/apache/http/conn/ConnectTimeoutException.java",
|
|
|
|
"core/java/org/apache/http/conn/scheme/HostNameResolver.java",
|
|
|
|
"core/java/org/apache/http/conn/scheme/LayeredSocketFactory.java",
|
|
|
|
"core/java/org/apache/http/conn/scheme/SocketFactory.java",
|
|
|
|
"core/java/org/apache/http/conn/ssl/AbstractVerifier.java",
|
|
|
|
"core/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java",
|
|
|
|
"core/java/org/apache/http/conn/ssl/AndroidDistinguishedNameParser.java",
|
|
|
|
"core/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java",
|
|
|
|
"core/java/org/apache/http/conn/ssl/SSLSocketFactory.java",
|
|
|
|
"core/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java",
|
|
|
|
"core/java/org/apache/http/conn/ssl/X509HostnameVerifier.java",
|
|
|
|
"core/java/org/apache/http/params/CoreConnectionPNames.java",
|
|
|
|
"core/java/org/apache/http/params/HttpConnectionParams.java",
|
|
|
|
"core/java/org/apache/http/params/HttpParams.java",
|
|
|
|
"core/java/android/net/http/SslCertificate.java",
|
|
|
|
"core/java/android/net/http/SslError.java",
|
|
|
|
"core/java/com/android/internal/util/HexDump.java",
|
|
|
|
],
|
|
|
|
}
|
2018-04-25 17:23:33 -07:00
|
|
|
|
2018-09-10 18:58:39 -07:00
|
|
|
droidstubs {
|
2018-08-07 13:40:33 -07:00
|
|
|
name: "api-stubs-docs",
|
2018-07-26 18:41:12 +00:00
|
|
|
defaults: ["metalava-api-stubs-default"],
|
2018-04-25 17:23:33 -07:00
|
|
|
api_filename: "public_api.txt",
|
|
|
|
private_api_filename: "private.txt",
|
|
|
|
removed_api_filename: "removed.txt",
|
|
|
|
arg_files: [
|
|
|
|
"core/res/AndroidManifest.xml",
|
|
|
|
],
|
|
|
|
args: metalava_framework_docs_args,
|
2018-08-16 16:16:00 -07:00
|
|
|
check_api: {
|
|
|
|
current: {
|
|
|
|
api_file: "api/current.txt",
|
|
|
|
removed_api_file: "api/removed.txt",
|
|
|
|
},
|
2018-08-20 20:34:26 -07:00
|
|
|
last_released: {
|
|
|
|
api_file: ":last-released-public-api",
|
|
|
|
removed_api_file: "api/removed.txt",
|
|
|
|
},
|
2018-08-16 16:16:00 -07:00
|
|
|
},
|
2018-09-17 14:33:08 -07:00
|
|
|
jdiff_enabled: true,
|
2018-04-25 17:23:33 -07:00
|
|
|
}
|
|
|
|
|
2018-09-10 18:58:39 -07:00
|
|
|
droidstubs {
|
2018-08-07 13:40:33 -07:00
|
|
|
name: "system-api-stubs-docs",
|
2018-07-26 18:41:12 +00:00
|
|
|
defaults: ["metalava-api-stubs-default"],
|
2018-08-07 13:40:33 -07:00
|
|
|
api_tag_name: "SYSTEM",
|
2018-04-25 17:23:33 -07:00
|
|
|
api_filename: "system-api.txt",
|
|
|
|
private_api_filename: "system-private.txt",
|
|
|
|
private_dex_api_filename: "system-private-dex.txt",
|
|
|
|
removed_api_filename: "system-removed.txt",
|
|
|
|
arg_files: [
|
|
|
|
"core/res/AndroidManifest.xml",
|
|
|
|
],
|
|
|
|
args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi",
|
2018-08-16 16:16:00 -07:00
|
|
|
check_api: {
|
|
|
|
current: {
|
|
|
|
api_file: "api/system-current.txt",
|
|
|
|
removed_api_file: "api/system-removed.txt",
|
|
|
|
},
|
2018-08-20 20:34:26 -07:00
|
|
|
last_released: {
|
|
|
|
api_file: ":last-released-system-api",
|
|
|
|
removed_api_file: "api/system-removed.txt",
|
|
|
|
},
|
2018-08-16 16:16:00 -07:00
|
|
|
},
|
2018-09-17 14:33:08 -07:00
|
|
|
jdiff_enabled: true,
|
2018-04-25 17:23:33 -07:00
|
|
|
}
|
|
|
|
|
2018-09-10 18:58:39 -07:00
|
|
|
droidstubs {
|
2018-08-07 13:40:33 -07:00
|
|
|
name: "test-api-stubs-docs",
|
2018-07-26 18:41:12 +00:00
|
|
|
defaults: ["metalava-api-stubs-default"],
|
2018-08-07 13:40:33 -07:00
|
|
|
api_tag_name: "TEST",
|
2018-04-25 17:23:33 -07:00
|
|
|
api_filename: "test-api.txt",
|
|
|
|
removed_api_filename: "test-removed.txt",
|
|
|
|
arg_files: [
|
|
|
|
"core/res/AndroidManifest.xml",
|
|
|
|
],
|
|
|
|
args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi",
|
2018-08-16 16:16:00 -07:00
|
|
|
check_api: {
|
|
|
|
current: {
|
|
|
|
api_file: "api/test-current.txt",
|
|
|
|
removed_api_file: "api/test-removed.txt",
|
|
|
|
},
|
|
|
|
},
|
2018-04-25 17:23:33 -07:00
|
|
|
}
|
2018-08-30 10:59:51 -07:00
|
|
|
|
|
|
|
filegroup {
|
|
|
|
name: "framework-annotation-nonnull-srcs",
|
|
|
|
srcs: [
|
|
|
|
"core/java/android/annotation/NonNull.java",
|
|
|
|
],
|
|
|
|
}
|
2018-11-20 10:05:44 +09:00
|
|
|
|
|
|
|
filegroup {
|
|
|
|
name: "framework-media-annotation-srcs",
|
|
|
|
srcs: [
|
|
|
|
"core/java/android/annotation/CallbackExecutor.java",
|
2019-01-22 17:16:07 +09:00
|
|
|
"core/java/android/annotation/CallSuper.java",
|
2018-11-20 10:05:44 +09:00
|
|
|
"core/java/android/annotation/DrawableRes.java",
|
|
|
|
"core/java/android/annotation/IntDef.java",
|
|
|
|
"core/java/android/annotation/LongDef.java",
|
|
|
|
"core/java/android/annotation/NonNull.java",
|
|
|
|
"core/java/android/annotation/Nullable.java",
|
|
|
|
"core/java/android/annotation/RequiresPermission.java",
|
|
|
|
"core/java/android/annotation/SdkConstant.java",
|
|
|
|
"core/java/android/annotation/StringDef.java",
|
2019-01-23 13:17:53 +09:00
|
|
|
"core/java/android/annotation/SystemApi.java",
|
2018-11-27 11:14:08 -08:00
|
|
|
"core/java/android/annotation/TestApi.java",
|
2018-11-20 10:05:44 +09:00
|
|
|
"core/java/android/annotation/UnsupportedAppUsage.java",
|
2018-11-27 11:14:08 -08:00
|
|
|
"core/java/com/android/internal/annotations/GuardedBy.java",
|
2018-11-20 10:05:44 +09:00
|
|
|
],
|
|
|
|
}
|
|
|
|
|