2015-05-07 03:23:20 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2008 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.
|
|
|
|
#
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
# We have a special case here where we build the library's resources
|
|
|
|
# independently from its code, so we need to find where the resource
|
|
|
|
# class source got placed in the course of building the resources.
|
|
|
|
# Thus, the magic here.
|
|
|
|
# Also, this module cannot depend directly on the R.java file; if it
|
|
|
|
# did, the PRIVATE_* vars for R.java wouldn't be guaranteed to be correct.
|
|
|
|
# Instead, it depends on the R.stamp file, which lists the corresponding
|
|
|
|
# R.java file as a prerequisite.
|
|
|
|
# TODO: find a more appropriate way to do this.
|
|
|
|
framework_res_source_path := APPS/framework-res_intermediates/src
|
|
|
|
|
|
|
|
# Build the master framework library.
|
|
|
|
# The framework contains too many method references (>64K) for poor old DEX.
|
|
|
|
# So we first build the framework as a monolithic static library then split it
|
|
|
|
# up into smaller pieces.
|
|
|
|
# ============================================================
|
|
|
|
|
|
|
|
# embedded builds use nothing in frameworks/base
|
|
|
|
ifneq ($(ANDROID_BUILD_EMBEDDED),true)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2016-12-19 10:53:15 -05:00
|
|
|
# Load framework-specific path mappings used later in the build.
|
|
|
|
include $(LOCAL_PATH)/pathmap.mk
|
|
|
|
|
2015-05-07 03:23:20 +00:00
|
|
|
# FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
|
First checkin of incident reporting.
There are a few major pieces here:
incidentd
---------
This daemon (started by init) runs and accepts incoming requests to take
incident reports. When prompted, it calls into various system services
and fills in an IncidentProto data structure, and then writes the report
into dropbox.
The next steps for incidentd:
- Security review of SELinux policies. These will be a subset of
the dumpstate permissions. Until this is done, incidentd is
not started at boot time.
incident
--------
This shell command calls into incidentd, and can initiate an incident
report and either capture the output or leave for dropbox.
incident_report
---------------
This host side tool can call adb shell with the correct parameters
and also format the incident report as text. This formatting code
was left of the device on purpose. Right now it's pretty small, but
as the number of fields increases, the metadata and code to do the
formatting will start to grow.
The incident_report command also contains a workaround to let it
work before incidentd is turned on by default. Right now, it is
implemented to call adb shell dumpsys <service> --proto directly,
whereas in the future it will go through the full incidentd flow.
incident_section_gen
--------------------
A build-time tool that generates a stripped down set of information
about the fields that are available.
libincident
-----------
This library contains the code to connect to incidentd, and the
meta proto definitions that are used by the framework protos.
The basics are here now, but they are not fully fleshed out yet.
The privacy.proto file contains annotations that can go in the
proto file that we will later use to filter which fields are
uploaded, and which are used by local sources. For example, a
device in a test lab is safe to upload much much more information
than a real user. These will share the same mechanism, but the
user's output will be filtered according to these annotations.
frameworks/core/proto
---------------------
These .proto files contain the definitions of the system's
output. There is one master android.os.IncidentProto file that
is the top level of an incident report, but some other services
(notification, fingerprint, batterystats, etc) will have others
that are used directly by the logging mechanism.
Other files which are shared by several of the services also go
here, such as ComponentName, Locale, Configuration, etc. There
will be many more.
There is also a first iplementation of a dump method handling
--proto in the fingerprint service.
IncidentManager
---------------
The java API to trigger an incident report.
Test: Not written yet
Change-Id: I59568b115ac7fcf73af70c946c95752bf33ae67f
2016-11-21 17:51:35 -08:00
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
$(call find-other-java-files,$(FRAMEWORKS_BASE_SUBDIRS)) \
|
|
|
|
$(call all-proto-files-under, core/proto)
|
2015-05-07 03:23:20 +00:00
|
|
|
|
|
|
|
# EventLogTags files.
|
|
|
|
LOCAL_SRC_FILES += \
|
2016-03-15 12:07:23 +00:00
|
|
|
core/java/android/app/admin/SecurityLogTags.logtags \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/content/EventLogTags.logtags \
|
|
|
|
core/java/android/speech/tts/EventLogTags.logtags \
|
2016-12-02 12:17:21 -07:00
|
|
|
core/java/android/net/EventLogTags.logtags \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/webkit/EventLogTags.logtags \
|
|
|
|
core/java/com/android/internal/logging/EventLogTags.logtags \
|
|
|
|
|
|
|
|
## 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 below 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: ########################################################
|
|
|
|
LOCAL_SRC_FILES += \
|
|
|
|
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/IActivityContainer.aidl \
|
|
|
|
core/java/android/app/IActivityContainerCallback.aidl \
|
|
|
|
core/java/android/app/IActivityController.aidl \
|
2016-10-21 17:55:27 -07:00
|
|
|
core/java/android/app/IActivityManager.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/app/IActivityPendingResult.aidl \
|
2015-10-01 10:24:31 -07:00
|
|
|
core/java/android/app/IAlarmCompleteListener.aidl \
|
|
|
|
core/java/android/app/IAlarmListener.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/app/IAlarmManager.aidl \
|
|
|
|
core/java/android/app/IAppTask.aidl \
|
2016-10-13 12:03:44 -07:00
|
|
|
core/java/android/app/IApplicationThread.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/app/ITaskStackListener.aidl \
|
|
|
|
core/java/android/app/IBackupAgent.aidl \
|
2016-08-04 14:27:15 -07:00
|
|
|
core/java/android/app/IEphemeralResolver.aidl \
|
2017-03-01 13:56:58 -08:00
|
|
|
core/java/android/app/IInstantAppResolver.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/app/IInstrumentationWatcher.aidl \
|
|
|
|
core/java/android/app/INotificationManager.aidl \
|
|
|
|
core/java/android/app/IProcessObserver.aidl \
|
|
|
|
core/java/android/app/ISearchManager.aidl \
|
|
|
|
core/java/android/app/ISearchManagerCallback.aidl \
|
|
|
|
core/java/android/app/IServiceConnection.aidl \
|
|
|
|
core/java/android/app/IStopUserCallback.aidl \
|
|
|
|
core/java/android/app/job/IJobCallback.aidl \
|
|
|
|
core/java/android/app/job/IJobScheduler.aidl \
|
|
|
|
core/java/android/app/job/IJobService.aidl \
|
|
|
|
core/java/android/app/ITransientNotification.aidl \
|
2015-05-15 16:36:12 -07:00
|
|
|
core/java/android/app/IUidObserver.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/app/IUiAutomationConnection.aidl \
|
|
|
|
core/java/android/app/IUiModeManager.aidl \
|
|
|
|
core/java/android/app/IUserSwitchObserver.aidl \
|
|
|
|
core/java/android/app/IWallpaperManager.aidl \
|
|
|
|
core/java/android/app/IWallpaperManagerCallback.aidl \
|
|
|
|
core/java/android/app/admin/IDevicePolicyManager.aidl \
|
2015-08-14 15:53:06 -07:00
|
|
|
core/java/android/app/trust/IStrongAuthTracker.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/app/trust/ITrustManager.aidl \
|
|
|
|
core/java/android/app/trust/ITrustListener.aidl \
|
|
|
|
core/java/android/app/backup/IBackupManager.aidl \
|
2015-12-15 16:26:23 +01:00
|
|
|
core/java/android/app/backup/IBackupObserver.aidl \
|
2017-01-27 12:03:53 +00:00
|
|
|
core/java/android/app/backup/IBackupManagerMonitor.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/app/backup/IFullBackupRestoreObserver.aidl \
|
|
|
|
core/java/android/app/backup/IRestoreObserver.aidl \
|
|
|
|
core/java/android/app/backup/IRestoreSession.aidl \
|
2017-01-13 14:48:56 +00:00
|
|
|
core/java/android/app/backup/ISelectBackupTransportCallback.aidl \
|
2017-01-23 14:33:42 -08:00
|
|
|
core/java/android/app/usage/ICacheQuotaService.aidl \
|
2017-01-04 11:33:33 -07:00
|
|
|
core/java/android/app/usage/IStorageStatsManager.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/app/usage/IUsageStatsManager.aidl \
|
|
|
|
core/java/android/bluetooth/IBluetooth.aidl \
|
|
|
|
core/java/android/bluetooth/IBluetoothA2dp.aidl \
|
|
|
|
core/java/android/bluetooth/IBluetoothA2dpSink.aidl \
|
|
|
|
core/java/android/bluetooth/IBluetoothAvrcpController.aidl \
|
|
|
|
core/java/android/bluetooth/IBluetoothCallback.aidl \
|
|
|
|
core/java/android/bluetooth/IBluetoothProfileServiceConnection.aidl \
|
|
|
|
core/java/android/bluetooth/IBluetoothHeadset.aidl \
|
|
|
|
core/java/android/bluetooth/IBluetoothHeadsetPhone.aidl \
|
|
|
|
core/java/android/bluetooth/IBluetoothHealth.aidl \
|
|
|
|
core/java/android/bluetooth/IBluetoothHealthCallback.aidl \
|
|
|
|
core/java/android/bluetooth/IBluetoothInputDevice.aidl \
|
|
|
|
core/java/android/bluetooth/IBluetoothPan.aidl \
|
|
|
|
core/java/android/bluetooth/IBluetoothManager.aidl \
|
|
|
|
core/java/android/bluetooth/IBluetoothManagerCallback.aidl \
|
2016-09-01 14:19:28 -07:00
|
|
|
core/java/android/bluetooth/IBluetoothMap.aidl \
|
|
|
|
core/java/android/bluetooth/IBluetoothMapClient.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/bluetooth/IBluetoothPbap.aidl \
|
2016-03-04 13:02:54 -08:00
|
|
|
core/java/android/bluetooth/IBluetoothPbapClient.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/bluetooth/IBluetoothSap.aidl \
|
|
|
|
core/java/android/bluetooth/IBluetoothStateChangeCallback.aidl \
|
|
|
|
core/java/android/bluetooth/IBluetoothHeadsetClient.aidl \
|
2016-12-23 11:52:21 +00:00
|
|
|
core/java/android/bluetooth/IBluetoothInputHost.aidl \
|
2014-04-18 11:22:45 +05:30
|
|
|
core/java/android/bluetooth/IBluetoothHidDeviceCallback.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/bluetooth/IBluetoothGatt.aidl \
|
2017-03-27 12:14:40 -07:00
|
|
|
core/java/android/bluetooth/IBluetoothGattCallback.aidl \
|
|
|
|
core/java/android/bluetooth/IBluetoothGattServerCallback.aidl \
|
2016-08-05 06:40:31 -07:00
|
|
|
core/java/android/bluetooth/le/IAdvertiserCallback.aidl \
|
2017-01-10 06:15:54 -08:00
|
|
|
core/java/android/bluetooth/le/IAdvertisingSetCallback.aidl \
|
2017-01-16 07:21:01 -08:00
|
|
|
core/java/android/bluetooth/le/IPeriodicAdvertisingCallback.aidl \
|
2016-10-26 13:05:30 -07:00
|
|
|
core/java/android/bluetooth/le/IScannerCallback.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/content/IClipboard.aidl \
|
|
|
|
core/java/android/content/IContentService.aidl \
|
|
|
|
core/java/android/content/IIntentReceiver.aidl \
|
|
|
|
core/java/android/content/IIntentSender.aidl \
|
|
|
|
core/java/android/content/IOnPrimaryClipChangedListener.aidl \
|
|
|
|
core/java/android/content/IRestrictionsManager.aidl \
|
|
|
|
core/java/android/content/ISyncAdapter.aidl \
|
|
|
|
core/java/android/content/ISyncContext.aidl \
|
|
|
|
core/java/android/content/ISyncServiceAdapter.aidl \
|
|
|
|
core/java/android/content/ISyncStatusObserver.aidl \
|
2015-12-15 16:40:23 +01:00
|
|
|
core/java/android/content/om/IOverlayManager.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/content/pm/ILauncherApps.aidl \
|
|
|
|
core/java/android/content/pm/IOnAppsChangedListener.aidl \
|
2016-12-02 15:48:40 -08:00
|
|
|
core/java/android/content/pm/IOnPermissionsChangeListener.aidl \
|
2015-11-10 08:58:14 -08:00
|
|
|
core/java/android/content/pm/IOtaDexopt.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/content/pm/IPackageDataObserver.aidl \
|
|
|
|
core/java/android/content/pm/IPackageDeleteObserver.aidl \
|
|
|
|
core/java/android/content/pm/IPackageDeleteObserver2.aidl \
|
|
|
|
core/java/android/content/pm/IPackageInstallObserver.aidl \
|
|
|
|
core/java/android/content/pm/IPackageInstallObserver2.aidl \
|
|
|
|
core/java/android/content/pm/IPackageInstaller.aidl \
|
|
|
|
core/java/android/content/pm/IPackageInstallerCallback.aidl \
|
|
|
|
core/java/android/content/pm/IPackageInstallerSession.aidl \
|
|
|
|
core/java/android/content/pm/IPackageManager.aidl \
|
|
|
|
core/java/android/content/pm/IPackageMoveObserver.aidl \
|
|
|
|
core/java/android/content/pm/IPackageStatsObserver.aidl \
|
2016-12-02 15:48:40 -08:00
|
|
|
core/java/android/content/pm/IPinItemRequest.aidl \
|
2016-03-04 13:39:41 -08:00
|
|
|
core/java/android/content/pm/IShortcutService.aidl \
|
2016-02-25 18:22:10 -08:00
|
|
|
core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/database/IContentObserver.aidl \
|
2015-12-17 16:50:50 -08:00
|
|
|
../av/camera/aidl/android/hardware/ICameraService.aidl \
|
|
|
|
../av/camera/aidl/android/hardware/ICameraServiceListener.aidl \
|
|
|
|
../av/camera/aidl/android/hardware/ICameraServiceProxy.aidl \
|
|
|
|
../av/camera/aidl/android/hardware/ICamera.aidl \
|
|
|
|
../av/camera/aidl/android/hardware/ICameraClient.aidl \
|
|
|
|
../av/camera/aidl/android/hardware/camera2/ICameraDeviceUser.aidl \
|
|
|
|
../av/camera/aidl/android/hardware/camera2/ICameraDeviceCallbacks.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/hardware/IConsumerIrService.aidl \
|
|
|
|
core/java/android/hardware/ISerialManager.aidl \
|
|
|
|
core/java/android/hardware/display/IDisplayManager.aidl \
|
|
|
|
core/java/android/hardware/display/IDisplayManagerCallback.aidl \
|
|
|
|
core/java/android/hardware/display/IVirtualDisplayCallback.aidl \
|
|
|
|
core/java/android/hardware/fingerprint/IFingerprintService.aidl \
|
2015-08-28 16:59:13 -07:00
|
|
|
core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl \
|
2017-01-20 15:57:24 -08:00
|
|
|
core/java/android/hardware/fingerprint/IFingerprintClientActiveCallback.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
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 \
|
2015-08-19 22:52:47 +01:00
|
|
|
core/java/android/hardware/input/ITabletModeChangedListener.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/hardware/location/IActivityRecognitionHardware.aidl \
|
2015-06-23 17:25:53 -07:00
|
|
|
core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl \
|
|
|
|
core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl \
|
|
|
|
core/java/android/hardware/location/IFusedLocationHardware.aidl \
|
|
|
|
core/java/android/hardware/location/IFusedLocationHardwareSink.aidl \
|
|
|
|
core/java/android/hardware/location/IGeofenceHardware.aidl \
|
|
|
|
core/java/android/hardware/location/IGeofenceHardwareCallback.aidl \
|
|
|
|
core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl \
|
2016-01-18 17:19:27 -08:00
|
|
|
core/java/android/hardware/location/IContextHubCallback.aidl \
|
|
|
|
core/java/android/hardware/location/IContextHubService.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl \
|
|
|
|
core/java/android/hardware/usb/IUsbManager.aidl \
|
2015-05-22 10:50:39 -04:00
|
|
|
core/java/android/net/ICaptivePortal.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/net/IConnectivityManager.aidl \
|
2016-09-09 09:23:47 +09:00
|
|
|
core/java/android/net/IIpConnectivityMetrics.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/net/IEthernetManager.aidl \
|
|
|
|
core/java/android/net/IEthernetServiceListener.aidl \
|
2016-10-12 14:59:26 +01:00
|
|
|
core/java/android/net/INetdEventCallback.aidl \
|
2017-03-01 18:55:06 -08:00
|
|
|
core/java/android/net/IIpSecService.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/net/INetworkManagementEventObserver.aidl \
|
|
|
|
core/java/android/net/INetworkPolicyListener.aidl \
|
|
|
|
core/java/android/net/INetworkPolicyManager.aidl \
|
2016-11-28 17:47:35 -08:00
|
|
|
core/java/android/net/INetworkRecommendationProvider.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
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/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 \
|
2016-01-22 18:14:18 +09:00
|
|
|
core/java/android/nfc/INfcFCardEmulation.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/nfc/INfcUnlockHandler.aidl \
|
2016-04-14 15:19:31 +02:00
|
|
|
core/java/android/nfc/ITagRemovedCallback.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/os/IBatteryPropertiesListener.aidl \
|
|
|
|
core/java/android/os/IBatteryPropertiesRegistrar.aidl \
|
|
|
|
core/java/android/os/ICancellationSignal.aidl \
|
2016-09-09 16:01:32 -07:00
|
|
|
core/java/android/os/IDeviceIdentifiersPolicyService.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/os/IDeviceIdleController.aidl \
|
2016-02-12 20:38:23 +01:00
|
|
|
core/java/android/os/IHardwarePropertiesManager.aidl \
|
First checkin of incident reporting.
There are a few major pieces here:
incidentd
---------
This daemon (started by init) runs and accepts incoming requests to take
incident reports. When prompted, it calls into various system services
and fills in an IncidentProto data structure, and then writes the report
into dropbox.
The next steps for incidentd:
- Security review of SELinux policies. These will be a subset of
the dumpstate permissions. Until this is done, incidentd is
not started at boot time.
incident
--------
This shell command calls into incidentd, and can initiate an incident
report and either capture the output or leave for dropbox.
incident_report
---------------
This host side tool can call adb shell with the correct parameters
and also format the incident report as text. This formatting code
was left of the device on purpose. Right now it's pretty small, but
as the number of fields increases, the metadata and code to do the
formatting will start to grow.
The incident_report command also contains a workaround to let it
work before incidentd is turned on by default. Right now, it is
implemented to call adb shell dumpsys <service> --proto directly,
whereas in the future it will go through the full incidentd flow.
incident_section_gen
--------------------
A build-time tool that generates a stripped down set of information
about the fields that are available.
libincident
-----------
This library contains the code to connect to incidentd, and the
meta proto definitions that are used by the framework protos.
The basics are here now, but they are not fully fleshed out yet.
The privacy.proto file contains annotations that can go in the
proto file that we will later use to filter which fields are
uploaded, and which are used by local sources. For example, a
device in a test lab is safe to upload much much more information
than a real user. These will share the same mechanism, but the
user's output will be filtered according to these annotations.
frameworks/core/proto
---------------------
These .proto files contain the definitions of the system's
output. There is one master android.os.IncidentProto file that
is the top level of an incident report, but some other services
(notification, fingerprint, batterystats, etc) will have others
that are used directly by the logging mechanism.
Other files which are shared by several of the services also go
here, such as ComponentName, Locale, Configuration, etc. There
will be many more.
There is also a first iplementation of a dump method handling
--proto in the fingerprint service.
IncidentManager
---------------
The java API to trigger an incident report.
Test: Not written yet
Change-Id: I59568b115ac7fcf73af70c946c95752bf33ae67f
2016-11-21 17:51:35 -08:00
|
|
|
core/java/android/os/IIncidentManager.aidl \
|
|
|
|
core/java/android/os/IIncidentReportCompletedListener.aidl \
|
|
|
|
core/java/android/os/IIncidentReportStatusListener.aidl \
|
2016-01-13 14:44:36 -08:00
|
|
|
core/java/android/os/IMaintenanceActivityListener.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
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 \
|
2016-03-22 15:32:31 -06:00
|
|
|
core/java/android/os/IProgressListener.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/os/IPowerManager.aidl \
|
2015-12-31 07:44:55 -08:00
|
|
|
core/java/android/os/IRecoverySystem.aidl \
|
|
|
|
core/java/android/os/IRecoverySystemProgressListener.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/os/IRemoteCallback.aidl \
|
|
|
|
core/java/android/os/ISchedulingPolicyService.aidl \
|
|
|
|
core/java/android/os/IUpdateLock.aidl \
|
|
|
|
core/java/android/os/IUserManager.aidl \
|
|
|
|
core/java/android/os/IVibratorService.aidl \
|
2016-11-07 15:41:02 -08:00
|
|
|
core/java/android/os/storage/IStorageManager.aidl \
|
|
|
|
core/java/android/os/storage/IStorageEventListener.aidl \
|
|
|
|
core/java/android/os/storage/IStorageShutdownObserver.aidl \
|
2016-10-18 17:15:18 -07:00
|
|
|
core/java/android/os/storage/IObbActionListener.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/security/IKeystoreService.aidl \
|
2016-06-03 11:31:55 -07:00
|
|
|
core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl \
|
2016-10-13 09:02:32 -07:00
|
|
|
core/java/android/service/autofill/IAutoFillService.aidl \
|
2017-02-28 13:08:56 -08:00
|
|
|
core/java/android/service/autofill/IAutoFillServiceConnection.aidl \
|
2017-02-02 20:02:51 -08:00
|
|
|
core/java/android/service/autofill/IFillCallback.aidl \
|
|
|
|
core/java/android/service/autofill/ISaveCallback.aidl \
|
2015-05-22 15:56:09 -07:00
|
|
|
core/java/android/service/carrier/ICarrierService.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/service/carrier/ICarrierMessagingCallback.aidl \
|
|
|
|
core/java/android/service/carrier/ICarrierMessagingService.aidl \
|
|
|
|
core/java/android/service/gatekeeper/IGateKeeperService.aidl \
|
|
|
|
core/java/android/service/notification/INotificationListener.aidl \
|
|
|
|
core/java/android/service/notification/IStatusBarNotificationHolder.aidl \
|
|
|
|
core/java/android/service/notification/IConditionListener.aidl \
|
|
|
|
core/java/android/service/notification/IConditionProvider.aidl \
|
2017-03-16 14:32:37 -07:00
|
|
|
core/java/android/service/vr/IPersistentVrStateCallbacks.aidl \
|
2016-02-16 21:38:24 -08:00
|
|
|
core/java/android/service/vr/IVrListener.aidl \
|
2016-04-01 17:07:51 -07:00
|
|
|
core/java/android/service/vr/IVrManager.aidl \
|
|
|
|
core/java/android/service/vr/IVrStateCallbacks.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
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 \
|
2016-02-24 11:32:43 -08:00
|
|
|
core/java/android/print/IPrintServicesChangeListener.aidl \
|
2016-03-14 14:31:12 -07:00
|
|
|
core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/print/IPrintManager.aidl \
|
|
|
|
core/java/android/print/IPrintSpooler.aidl \
|
|
|
|
core/java/android/print/IPrintSpoolerCallbacks.aidl \
|
|
|
|
core/java/android/print/IPrintSpoolerClient.aidl \
|
2016-03-14 14:31:12 -07:00
|
|
|
core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl \
|
|
|
|
core/java/android/printservice/recommendation/IRecommendationService.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/print/IWriteResultCallback.aidl \
|
|
|
|
core/java/android/printservice/IPrintService.aidl \
|
|
|
|
core/java/android/printservice/IPrintServiceClient.aidl \
|
2017-01-22 13:52:51 -08:00
|
|
|
core/java/android/companion/ICompanionDeviceManager.aidl \
|
2017-02-15 10:28:51 -08:00
|
|
|
core/java/android/companion/ICompanionDeviceDiscoveryService.aidl \
|
|
|
|
core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl \
|
|
|
|
core/java/android/companion/IFindDeviceCallback.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/service/dreams/IDreamManager.aidl \
|
|
|
|
core/java/android/service/dreams/IDreamService.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 \
|
2017-03-14 11:52:17 -07:00
|
|
|
core/java/android/service/resolver/IResolverRankerService.aidl \
|
|
|
|
core/java/android/service/resolver/IResolverRankerResult.aidl \
|
2016-12-14 15:38:56 +00:00
|
|
|
core/java/android/text/ITextClassificationService.aidl \
|
2015-05-07 03:23:20 +00: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 \
|
2017-02-11 00:52:02 +00:00
|
|
|
core/java/android/view/autofill/IAutoFillManager.aidl \
|
|
|
|
core/java/android/view/autofill/IAutoFillManagerClient.aidl \
|
2017-03-22 20:24:00 -07:00
|
|
|
core/java/android/view/autofill/IAutofillWindowPresenter.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/view/IApplicationToken.aidl \
|
2015-10-29 13:08:29 +01:00
|
|
|
core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl \
|
2015-12-21 13:22:31 +01:00
|
|
|
core/java/android/view/IDockedStackListener.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/view/IGraphicsStats.aidl \
|
2017-01-19 15:56:21 -08:00
|
|
|
core/java/android/view/IGraphicsStatsCallback.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/view/IInputFilter.aidl \
|
|
|
|
core/java/android/view/IInputFilterHost.aidl \
|
|
|
|
core/java/android/view/IOnKeyguardExitResult.aidl \
|
2016-10-31 13:14:28 -07:00
|
|
|
core/java/android/view/IPinnedStackController.aidl \
|
|
|
|
core/java/android/view/IPinnedStackListener.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/android/view/IRotationWatcher.aidl \
|
|
|
|
core/java/android/view/IWindow.aidl \
|
|
|
|
core/java/android/view/IWindowFocusObserver.aidl \
|
|
|
|
core/java/android/view/IWindowId.aidl \
|
|
|
|
core/java/android/view/IWindowManager.aidl \
|
|
|
|
core/java/android/view/IWindowSession.aidl \
|
|
|
|
core/java/android/view/IWindowSessionCallback.aidl \
|
|
|
|
core/java/android/webkit/IWebViewUpdateService.aidl \
|
|
|
|
core/java/android/speech/IRecognitionListener.aidl \
|
|
|
|
core/java/android/speech/IRecognitionService.aidl \
|
|
|
|
core/java/android/speech/tts/ITextToSpeechCallback.aidl \
|
|
|
|
core/java/android/speech/tts/ITextToSpeechService.aidl \
|
|
|
|
core/java/com/android/internal/app/IAppOpsCallback.aidl \
|
|
|
|
core/java/com/android/internal/app/IAppOpsService.aidl \
|
|
|
|
core/java/com/android/internal/app/IAssistScreenshotReceiver.aidl \
|
|
|
|
core/java/com/android/internal/app/IBatteryStats.aidl \
|
2016-01-25 10:33:11 -08:00
|
|
|
core/java/com/android/internal/app/ISoundTriggerService.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl \
|
2016-06-27 16:01:52 -07:00
|
|
|
core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
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 \
|
2016-03-21 15:30:09 -07:00
|
|
|
core/java/com/android/internal/app/procstats/IProcessStats.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
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 \
|
2017-01-10 09:31:51 -08:00
|
|
|
core/java/com/android/internal/font/IFontManager.aidl \
|
2016-06-22 16:31:41 -07:00
|
|
|
core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl \
|
2015-07-09 12:13:59 -07:00
|
|
|
core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl \
|
2016-11-02 21:57:33 -07:00
|
|
|
core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/com/android/internal/policy/IKeyguardExitCallback.aidl \
|
|
|
|
core/java/com/android/internal/policy/IKeyguardService.aidl \
|
|
|
|
core/java/com/android/internal/policy/IKeyguardStateCallback.aidl \
|
2016-02-24 16:20:54 -08:00
|
|
|
core/java/com/android/internal/policy/IShortcutService.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/com/android/internal/os/IDropBoxManagerService.aidl \
|
|
|
|
core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl \
|
|
|
|
core/java/com/android/internal/os/IResultReceiver.aidl \
|
2016-08-22 17:00:05 -07:00
|
|
|
core/java/com/android/internal/os/IShellCallback.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/com/android/internal/statusbar/IStatusBar.aidl \
|
|
|
|
core/java/com/android/internal/statusbar/IStatusBarService.aidl \
|
|
|
|
core/java/com/android/internal/textservice/ISpellCheckerService.aidl \
|
2017-02-08 11:54:05 -08:00
|
|
|
core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
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 \
|
2016-04-20 14:22:23 -07:00
|
|
|
core/java/com/android/internal/view/IDragAndDropPermissions.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
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 \
|
2016-06-30 23:41:37 -07:00
|
|
|
core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
core/java/com/android/internal/widget/ILockSettings.aidl \
|
|
|
|
core/java/com/android/internal/widget/IRemoteViewsFactory.aidl \
|
|
|
|
core/java/com/android/internal/widget/IRemoteViewsAdapterConnection.aidl \
|
|
|
|
keystore/java/android/security/IKeyChainAliasCallback.aidl \
|
|
|
|
keystore/java/android/security/IKeyChainService.aidl \
|
2017-01-12 13:57:38 -08:00
|
|
|
location/java/android/location/IBatchedLocationCallback.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
location/java/android/location/ICountryDetector.aidl \
|
|
|
|
location/java/android/location/ICountryListener.aidl \
|
|
|
|
location/java/android/location/IFusedProvider.aidl \
|
|
|
|
location/java/android/location/IGeocodeProvider.aidl \
|
|
|
|
location/java/android/location/IGeofenceProvider.aidl \
|
2016-01-07 23:20:38 -08:00
|
|
|
location/java/android/location/IGnssStatusListener.aidl \
|
|
|
|
location/java/android/location/IGnssStatusProvider.aidl \
|
2016-02-01 01:52:00 -08:00
|
|
|
location/java/android/location/IGnssMeasurementsListener.aidl \
|
|
|
|
location/java/android/location/IGnssNavigationMessageListener.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
location/java/android/location/ILocationListener.aidl \
|
|
|
|
location/java/android/location/ILocationManager.aidl \
|
|
|
|
location/java/android/location/IFusedGeofenceHardware.aidl \
|
|
|
|
location/java/android/location/IGpsGeofenceHardware.aidl \
|
|
|
|
location/java/android/location/INetInitiatedListener.aidl \
|
|
|
|
location/java/com/android/internal/location/ILocationProvider.aidl \
|
|
|
|
media/java/android/media/IAudioService.aidl \
|
2017-02-27 16:06:46 -08:00
|
|
|
../av/drm/libmediadrm/aidl/android/media/ICas.aidl \
|
|
|
|
../av/drm/libmediadrm/aidl/android/media/ICasListener.aidl \
|
|
|
|
../av/drm/libmediadrm/aidl/android/media/IDescrambler.aidl \
|
|
|
|
../av/drm/libmediadrm/aidl/android/media/IMediaCasService.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
media/java/android/media/IAudioFocusDispatcher.aidl \
|
|
|
|
media/java/android/media/IAudioRoutesObserver.aidl \
|
|
|
|
media/java/android/media/IMediaHTTPConnection.aidl \
|
|
|
|
media/java/android/media/IMediaHTTPService.aidl \
|
2015-12-14 21:57:34 +09:00
|
|
|
media/java/android/media/IMediaResourceMonitor.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
media/java/android/media/IMediaRouterClient.aidl \
|
|
|
|
media/java/android/media/IMediaRouterService.aidl \
|
|
|
|
media/java/android/media/IMediaScannerListener.aidl \
|
|
|
|
media/java/android/media/IMediaScannerService.aidl \
|
Notification of playback activity
AudioService keeps track of status of implementations of PlayerBase.
AudioService's PlaybackActivityMonitor maintains a list of
playback configurations for each PlayerBase, and a list
of clients that want to receive updates about the playback.
Playback activity clients can query the playback configuration
of the system through AudioManager, or register a callback
for updates. For clients with MODIFY_AUDIO_ROUTING permission
(system), the playback configurations contain more information
about each player (player type, uid, pid, state), and can see
all players, not just the "active" ones. The act of stripping
off data about the players that is not supposed to be seen
by non-system clients, is referred to as "anonymization". It
is implemented in system server, so no system data is ever
sent to playback activity clients without system permission.
More information about the AudioPlaybackConfiguration is
available in the SystemApi (uid, pid, player type, player state).
Test: run cts -m CtsMediaTestCases -t android.media.cts.AudioPlaybackConfigurationTest
Bug: 30955183
Change-Id: I85997594c0378216419f5f0fdaa0714996fd3573
2016-12-01 08:32:15 -08:00
|
|
|
media/java/android/media/IPlaybackConfigDispatcher.aidl \
|
|
|
|
media/java/android/media/IPlayer.aidl \
|
2015-12-07 11:59:31 -08:00
|
|
|
media/java/android/media/IRecordingConfigDispatcher.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
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 \
|
2015-09-03 14:37:03 -07:00
|
|
|
media/java/android/media/midi/IBluetoothMidiService.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
media/java/android/media/midi/IMidiDeviceListener.aidl \
|
2015-06-04 13:43:56 -07:00
|
|
|
media/java/android/media/midi/IMidiDeviceOpenCallback.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
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 \
|
2017-02-03 16:21:38 +09:00
|
|
|
media/java/android/media/session/ICallback.aidl \
|
2017-01-19 16:33:14 -08:00
|
|
|
media/java/android/media/session/IOnMediaKeyListener.aidl \
|
2016-12-23 11:22:02 +09:00
|
|
|
media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
media/java/android/media/session/ISession.aidl \
|
|
|
|
media/java/android/media/session/ISessionCallback.aidl \
|
2016-12-23 11:22:02 +09:00
|
|
|
media/java/android/media/session/ISessionController.aidl \
|
|
|
|
media/java/android/media/session/ISessionControllerCallback.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
media/java/android/media/session/ISessionManager.aidl \
|
|
|
|
media/java/android/media/tv/ITvInputClient.aidl \
|
|
|
|
media/java/android/media/tv/ITvInputHardware.aidl \
|
|
|
|
media/java/android/media/tv/ITvInputHardwareCallback.aidl \
|
|
|
|
media/java/android/media/tv/ITvInputManager.aidl \
|
|
|
|
media/java/android/media/tv/ITvInputManagerCallback.aidl \
|
|
|
|
media/java/android/media/tv/ITvInputService.aidl \
|
|
|
|
media/java/android/media/tv/ITvInputServiceCallback.aidl \
|
|
|
|
media/java/android/media/tv/ITvInputSession.aidl \
|
|
|
|
media/java/android/media/tv/ITvInputSessionCallback.aidl \
|
2016-01-28 16:53:16 -08:00
|
|
|
media/java/android/media/tv/ITvRemoteProvider.aidl \
|
|
|
|
media/java/android/media/tv/ITvRemoteServiceInput.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
media/java/android/service/media/IMediaBrowserService.aidl \
|
|
|
|
media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl \
|
2016-01-24 18:21:53 -08:00
|
|
|
telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl \
|
|
|
|
telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
telecomm/java/com/android/internal/telecom/IVideoCallback.aidl \
|
|
|
|
telecomm/java/com/android/internal/telecom/IVideoProvider.aidl \
|
|
|
|
telecomm/java/com/android/internal/telecom/IConnectionService.aidl \
|
|
|
|
telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl \
|
|
|
|
telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl \
|
|
|
|
telecomm/java/com/android/internal/telecom/IInCallService.aidl \
|
|
|
|
telecomm/java/com/android/internal/telecom/ITelecomService.aidl \
|
|
|
|
telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl \
|
|
|
|
telephony/java/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 \
|
2016-03-10 12:57:21 -08:00
|
|
|
telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl \
|
2017-01-25 14:26:41 -08:00
|
|
|
telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl \
|
2016-03-10 12:57:21 -08:00
|
|
|
telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
telephony/java/com/android/ims/internal/IImsService.aidl \
|
2017-01-23 15:17:50 -08:00
|
|
|
telephony/java/com/android/ims/internal/IImsServiceController.aidl \
|
|
|
|
telephony/java/com/android/ims/internal/IImsServiceFeatureListener.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
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 \
|
2016-03-18 16:09:50 -07:00
|
|
|
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 \
|
2015-05-07 03:23:20 +00:00
|
|
|
telephony/java/com/android/ims/ImsConfigListener.aidl \
|
|
|
|
telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl \
|
|
|
|
telephony/java/com/android/internal/telephony/IMms.aidl \
|
|
|
|
telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl \
|
|
|
|
telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \
|
|
|
|
telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
|
|
|
|
telephony/java/com/android/internal/telephony/ISms.aidl \
|
|
|
|
telephony/java/com/android/internal/telephony/ISub.aidl \
|
|
|
|
telephony/java/com/android/internal/telephony/ITelephony.aidl \
|
|
|
|
telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \
|
|
|
|
telephony/java/com/android/internal/telephony/IWapPushManager.aidl \
|
|
|
|
wifi/java/android/net/wifi/IWifiManager.aidl \
|
2016-10-26 11:22:06 -07:00
|
|
|
wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl \
|
|
|
|
wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl \
|
|
|
|
wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl \
|
|
|
|
wifi/java/android/net/wifi/IWifiScanner.aidl \
|
|
|
|
wifi/java/android/net/wifi/IRttManager.aidl \
|
|
|
|
packages/services/PacProcessor/com/android/net/IProxyService.aidl \
|
|
|
|
packages/services/Proxy/com/android/net/IProxyCallback.aidl \
|
|
|
|
packages/services/Proxy/com/android/net/IProxyPortListener.aidl \
|
2015-11-06 15:47:26 -05:00
|
|
|
core/java/android/service/quicksettings/IQSService.aidl \
|
|
|
|
core/java/android/service/quicksettings/IQSTileService.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
|
2016-01-19 15:52:28 -08:00
|
|
|
# The following are native binders that need to go with the native component
|
|
|
|
# at system/update_engine/binder_bindings/. Use relative path to refer to them.
|
|
|
|
LOCAL_SRC_FILES += \
|
|
|
|
../../system/update_engine/binder_bindings/android/os/IUpdateEngine.aidl \
|
|
|
|
../../system/update_engine/binder_bindings/android/os/IUpdateEngineCallback.aidl \
|
|
|
|
|
2016-10-28 09:32:03 -07:00
|
|
|
LOCAL_SRC_FILES += \
|
2016-07-05 11:34:21 +09:00
|
|
|
../../system/netd/server/binder/android/net/INetd.aidl \
|
2016-12-09 14:31:26 -07:00
|
|
|
../native/cmds/installd/binder/android/os/IInstalld.aidl \
|
2016-07-05 11:34:21 +09:00
|
|
|
|
2016-01-19 15:52:28 -08:00
|
|
|
LOCAL_AIDL_INCLUDES += system/update_engine/binder_bindings
|
|
|
|
|
2015-05-07 03:23:20 +00:00
|
|
|
# FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk
|
2016-01-05 17:29:43 -08:00
|
|
|
LOCAL_AIDL_INCLUDES += \
|
|
|
|
$(FRAMEWORKS_BASE_JAVA_SRC_DIRS) \
|
|
|
|
frameworks/native/aidl/binder
|
2015-05-07 03:23:20 +00:00
|
|
|
|
2015-12-17 16:50:50 -08:00
|
|
|
LOCAL_AIDL_INCLUDES += \
|
|
|
|
frameworks/av/camera/aidl \
|
2017-02-27 16:06:46 -08:00
|
|
|
frameworks/av/drm/libmediadrm/aidl \
|
2016-03-30 18:52:40 +01:00
|
|
|
frameworks/native/aidl/gui \
|
|
|
|
system/netd/server/binder
|
2015-12-17 16:50:50 -08:00
|
|
|
|
2015-05-07 03:23:20 +00:00
|
|
|
LOCAL_INTERMEDIATE_SOURCES := \
|
|
|
|
$(framework_res_source_path)/android/R.java \
|
|
|
|
$(framework_res_source_path)/android/Manifest.java \
|
|
|
|
$(framework_res_source_path)/com/android/internal/R.java
|
|
|
|
|
2016-08-31 18:01:06 -07:00
|
|
|
# Make sure that R.java and Manifest.java are built before we build
|
|
|
|
# the source for this library.
|
|
|
|
framework_res_R_stamp := \
|
|
|
|
$(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(framework_res_R_stamp)
|
|
|
|
|
2015-05-07 03:23:20 +00:00
|
|
|
LOCAL_NO_STANDARD_LIBRARIES := true
|
2016-11-30 13:29:39 +00:00
|
|
|
LOCAL_JAVA_LIBRARIES := core-oj core-libart conscrypt okhttp bouncycastle ext
|
2016-10-24 12:36:23 -07:00
|
|
|
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := \
|
|
|
|
framework-protos \
|
2016-11-10 14:02:45 -08:00
|
|
|
android.hardware.health@1.0-java-constants \
|
2017-03-21 12:56:08 -07:00
|
|
|
android.hardware.thermal@1.0-java-constants \
|
|
|
|
android.hardware.tv.input@1.0-java-constants \
|
2017-01-23 17:13:15 -08:00
|
|
|
android.hardware.usb@1.0-java-constants \
|
2017-01-31 18:33:54 +00:00
|
|
|
android.hardware.vibrator@1.0-java-constants \
|
2015-05-07 03:23:20 +00:00
|
|
|
|
2017-03-21 10:59:07 -07:00
|
|
|
# Loaded with System.loadLibrary by android.view.textclassifier
|
|
|
|
LOCAL_REQUIRED_MODULES += libtextclassifier
|
|
|
|
|
First checkin of incident reporting.
There are a few major pieces here:
incidentd
---------
This daemon (started by init) runs and accepts incoming requests to take
incident reports. When prompted, it calls into various system services
and fills in an IncidentProto data structure, and then writes the report
into dropbox.
The next steps for incidentd:
- Security review of SELinux policies. These will be a subset of
the dumpstate permissions. Until this is done, incidentd is
not started at boot time.
incident
--------
This shell command calls into incidentd, and can initiate an incident
report and either capture the output or leave for dropbox.
incident_report
---------------
This host side tool can call adb shell with the correct parameters
and also format the incident report as text. This formatting code
was left of the device on purpose. Right now it's pretty small, but
as the number of fields increases, the metadata and code to do the
formatting will start to grow.
The incident_report command also contains a workaround to let it
work before incidentd is turned on by default. Right now, it is
implemented to call adb shell dumpsys <service> --proto directly,
whereas in the future it will go through the full incidentd flow.
incident_section_gen
--------------------
A build-time tool that generates a stripped down set of information
about the fields that are available.
libincident
-----------
This library contains the code to connect to incidentd, and the
meta proto definitions that are used by the framework protos.
The basics are here now, but they are not fully fleshed out yet.
The privacy.proto file contains annotations that can go in the
proto file that we will later use to filter which fields are
uploaded, and which are used by local sources. For example, a
device in a test lab is safe to upload much much more information
than a real user. These will share the same mechanism, but the
user's output will be filtered according to these annotations.
frameworks/core/proto
---------------------
These .proto files contain the definitions of the system's
output. There is one master android.os.IncidentProto file that
is the top level of an incident report, but some other services
(notification, fingerprint, batterystats, etc) will have others
that are used directly by the logging mechanism.
Other files which are shared by several of the services also go
here, such as ComponentName, Locale, Configuration, etc. There
will be many more.
There is also a first iplementation of a dump method handling
--proto in the fingerprint service.
IncidentManager
---------------
The java API to trigger an incident report.
Test: Not written yet
Change-Id: I59568b115ac7fcf73af70c946c95752bf33ae67f
2016-11-21 17:51:35 -08:00
|
|
|
LOCAL_PROTOC_OPTIMIZE_TYPE := stream
|
|
|
|
LOCAL_PROTOC_FLAGS := \
|
|
|
|
-Iexternal/protobuf/src
|
|
|
|
|
2015-05-07 03:23:20 +00:00
|
|
|
LOCAL_MODULE := framework
|
|
|
|
|
2016-12-21 16:48:32 -08:00
|
|
|
LOCAL_DX_FLAGS := --core-library --multi-dex
|
2015-05-07 03:23:20 +00:00
|
|
|
LOCAL_JACK_FLAGS := --multi-dex native
|
|
|
|
|
|
|
|
LOCAL_RMTYPEDEFS := true
|
|
|
|
|
2016-06-27 17:01:50 -07:00
|
|
|
ifeq ($(EMMA_INSTRUMENT_FRAMEWORK),true)
|
|
|
|
LOCAL_EMMA_INSTRUMENT := true
|
|
|
|
endif
|
|
|
|
|
2015-05-07 03:23:20 +00:00
|
|
|
include $(BUILD_JAVA_LIBRARY)
|
|
|
|
|
2016-08-31 18:01:06 -07:00
|
|
|
framework_module := $(LOCAL_INSTALLED_MODULE)
|
2015-05-07 03:23:20 +00:00
|
|
|
$(framework_module): | $(dir $(framework_module))framework-res.apk
|
|
|
|
|
|
|
|
framework_built := $(call java-lib-deps,framework)
|
|
|
|
|
|
|
|
# Copy AIDL files to be preprocessed and included in the SDK,
|
|
|
|
# specified relative to the root of the build tree.
|
|
|
|
# ============================================================
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
aidl_files := \
|
|
|
|
frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
|
|
|
|
frameworks/base/telephony/java/android/telephony/SubscriptionInfo.aidl \
|
|
|
|
frameworks/base/telephony/java/android/telephony/CellInfo.aidl \
|
|
|
|
frameworks/base/telephony/java/android/telephony/SignalStrength.aidl \
|
|
|
|
frameworks/base/telephony/java/android/telephony/IccOpenLogicalChannelResponse.aidl \
|
|
|
|
frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.aidl \
|
2015-05-28 00:12:37 -07:00
|
|
|
frameworks/base/telephony/java/android/telephony/ModemActivityInfo.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
frameworks/base/location/java/android/location/Location.aidl \
|
|
|
|
frameworks/base/location/java/android/location/Address.aidl \
|
|
|
|
frameworks/base/location/java/android/location/Criteria.aidl \
|
|
|
|
frameworks/base/media/java/android/media/MediaMetadata.aidl \
|
|
|
|
frameworks/base/media/java/android/media/MediaDescription.aidl \
|
|
|
|
frameworks/base/media/java/android/media/Rating.aidl \
|
|
|
|
frameworks/base/media/java/android/media/AudioAttributes.aidl \
|
|
|
|
frameworks/base/media/java/android/media/AudioFocusInfo.aidl \
|
|
|
|
frameworks/base/media/java/android/media/session/PlaybackState.aidl \
|
|
|
|
frameworks/base/media/java/android/media/session/MediaSession.aidl \
|
|
|
|
frameworks/base/media/java/android/media/tv/TvInputInfo.aidl \
|
|
|
|
frameworks/base/media/java/android/media/tv/TvTrackInfo.aidl \
|
|
|
|
frameworks/base/media/java/android/media/browse/MediaBrowser.aidl \
|
|
|
|
frameworks/base/wifi/java/android/net/wifi/ScanSettings.aidl \
|
2016-10-26 11:22:06 -07:00
|
|
|
frameworks/base/wifi/java/android/net/wifi/aware/ConfigRequest.aidl \
|
|
|
|
frameworks/base/wifi/java/android/net/wifi/aware/PublishConfig.aidl \
|
|
|
|
frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pInfo.aidl \
|
|
|
|
frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDeviceList.aidl \
|
|
|
|
frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pConfig.aidl \
|
|
|
|
frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDevice.aidl \
|
|
|
|
frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pGroup.aidl \
|
|
|
|
frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceRequest.aidl \
|
|
|
|
frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceInfo.aidl \
|
|
|
|
frameworks/base/wifi/java/android/net/wifi/WpsInfo.aidl \
|
|
|
|
frameworks/base/wifi/java/android/net/wifi/ScanResult.aidl \
|
2016-01-27 19:05:24 -08:00
|
|
|
frameworks/base/wifi/java/android/net/wifi/PasspointManagementObjectDefinition.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
frameworks/base/wifi/java/android/net/wifi/WifiEnterpriseConfig.aidl \
|
|
|
|
frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.aidl \
|
|
|
|
frameworks/base/wifi/java/android/net/wifi/WifiInfo.aidl \
|
|
|
|
frameworks/base/graphics/java/android/graphics/Region.aidl \
|
|
|
|
frameworks/base/graphics/java/android/graphics/Bitmap.aidl \
|
|
|
|
frameworks/base/graphics/java/android/graphics/Point.aidl \
|
|
|
|
frameworks/base/graphics/java/android/graphics/PointF.aidl \
|
|
|
|
frameworks/base/graphics/java/android/graphics/RectF.aidl \
|
|
|
|
frameworks/base/graphics/java/android/graphics/Rect.aidl \
|
2015-12-01 14:44:24 -08:00
|
|
|
frameworks/base/graphics/java/android/graphics/drawable/Icon.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
frameworks/base/core/java/android/accounts/AuthenticatorDescription.aidl \
|
|
|
|
frameworks/base/core/java/android/accounts/Account.aidl \
|
2016-10-12 16:40:06 +01:00
|
|
|
frameworks/base/core/java/android/app/admin/ConnectEvent.aidl \
|
|
|
|
frameworks/base/core/java/android/app/admin/DnsEvent.aidl \
|
|
|
|
frameworks/base/core/java/android/app/admin/NetworkEvent.aidl \
|
2015-05-05 16:57:37 +01:00
|
|
|
frameworks/base/core/java/android/app/admin/SystemUpdatePolicy.aidl \
|
2016-08-02 14:22:17 +01:00
|
|
|
frameworks/base/core/java/android/app/admin/PasswordMetrics.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
frameworks/base/core/java/android/print/PrintDocumentInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/print/PageRange.aidl \
|
|
|
|
frameworks/base/core/java/android/print/PrintAttributes.aidl \
|
|
|
|
frameworks/base/core/java/android/print/PrinterCapabilitiesInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/print/PrinterId.aidl \
|
|
|
|
frameworks/base/core/java/android/print/PrintJobInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/print/PrinterInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/print/PrintJobId.aidl \
|
2016-03-14 14:31:12 -07:00
|
|
|
frameworks/base/core/java/android/printservice/recommendation/RecommendationInfo.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
frameworks/base/core/java/android/hardware/usb/UsbDevice.aidl \
|
|
|
|
frameworks/base/core/java/android/hardware/usb/UsbInterface.aidl \
|
|
|
|
frameworks/base/core/java/android/hardware/usb/UsbEndpoint.aidl \
|
|
|
|
frameworks/base/core/java/android/hardware/usb/UsbAccessory.aidl \
|
|
|
|
frameworks/base/core/java/android/os/Messenger.aidl \
|
|
|
|
frameworks/base/core/java/android/os/PatternMatcher.aidl \
|
|
|
|
frameworks/base/core/java/android/os/Message.aidl \
|
|
|
|
frameworks/base/core/java/android/os/UserHandle.aidl \
|
|
|
|
frameworks/base/core/java/android/os/ParcelUuid.aidl \
|
|
|
|
frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \
|
|
|
|
frameworks/base/core/java/android/os/ResultReceiver.aidl \
|
|
|
|
frameworks/base/core/java/android/os/WorkSource.aidl \
|
|
|
|
frameworks/base/core/java/android/os/DropBoxManager.aidl \
|
|
|
|
frameworks/base/core/java/android/os/Bundle.aidl \
|
2016-10-13 12:03:44 -07:00
|
|
|
frameworks/base/core/java/android/os/Debug.aidl \
|
2016-10-21 17:55:27 -07:00
|
|
|
frameworks/base/core/java/android/os/StrictMode.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
frameworks/base/core/java/android/accessibilityservice/AccessibilityServiceInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/net/Network.aidl \
|
|
|
|
frameworks/base/core/java/android/net/RouteInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/net/NetworkInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/net/IpPrefix.aidl \
|
|
|
|
frameworks/base/core/java/android/net/NetworkCapabilities.aidl \
|
|
|
|
frameworks/base/core/java/android/net/DhcpInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/net/ProxyInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/net/LinkProperties.aidl \
|
|
|
|
frameworks/base/core/java/android/net/Uri.aidl \
|
|
|
|
frameworks/base/core/java/android/net/NetworkRequest.aidl \
|
|
|
|
frameworks/base/core/java/android/net/LinkAddress.aidl \
|
2016-04-19 19:38:00 -07:00
|
|
|
frameworks/base/core/java/android/util/MemoryIntArray.aidl \
|
2015-05-11 15:02:07 -07:00
|
|
|
frameworks/base/core/java/android/view/Display.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
frameworks/base/core/java/android/view/InputDevice.aidl \
|
|
|
|
frameworks/base/core/java/android/view/InputEvent.aidl \
|
2015-12-17 16:50:50 -08:00
|
|
|
frameworks/native/aidl/gui/android/view/Surface.aidl \
|
2015-05-11 15:02:07 -07:00
|
|
|
frameworks/base/core/java/android/view/WindowContentFrameStats.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
frameworks/base/core/java/android/view/inputmethod/InputMethodSubtype.aidl \
|
|
|
|
frameworks/base/core/java/android/view/inputmethod/CursorAnchorInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/view/inputmethod/CompletionInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/view/inputmethod/ExtractedText.aidl \
|
|
|
|
frameworks/base/core/java/android/view/inputmethod/EditorInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/view/inputmethod/InputMethodInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/view/inputmethod/CorrectionInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/view/inputmethod/InputBinding.aidl \
|
|
|
|
frameworks/base/core/java/android/view/inputmethod/ExtractedTextRequest.aidl \
|
|
|
|
frameworks/base/core/java/android/view/DragEvent.aidl \
|
|
|
|
frameworks/base/core/java/android/view/KeyEvent.aidl \
|
|
|
|
frameworks/base/core/java/android/view/WindowManager.aidl \
|
|
|
|
frameworks/base/core/java/android/view/WindowAnimationFrameStats.aidl \
|
|
|
|
frameworks/base/core/java/android/view/MotionEvent.aidl \
|
|
|
|
frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/view/accessibility/AccessibilityRecord.aidl \
|
|
|
|
frameworks/base/core/java/android/view/accessibility/AccessibilityWindowInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/view/accessibility/AccessibilityEvent.aidl \
|
|
|
|
frameworks/base/core/java/android/view/textservice/SpellCheckerSubtype.aidl \
|
|
|
|
frameworks/base/core/java/android/view/textservice/TextInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/view/textservice/SpellCheckerInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/view/textservice/SentenceSuggestionsInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/view/textservice/SuggestionsInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/service/carrier/CarrierIdentifier.aidl \
|
|
|
|
frameworks/base/core/java/android/service/carrier/MessagePdu.aidl \
|
2016-12-01 15:05:13 -05:00
|
|
|
frameworks/base/core/java/android/service/notification/Adjustment.aidl \
|
|
|
|
frameworks/base/core/java/android/service/notification/Condition.aidl \
|
|
|
|
frameworks/base/core/java/android/service/notification/SnoozeCriterion.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
frameworks/base/core/java/android/service/notification/StatusBarNotification.aidl \
|
|
|
|
frameworks/base/core/java/android/service/chooser/ChooserTarget.aidl \
|
2017-03-14 11:52:17 -07:00
|
|
|
frameworks/base/core/java/android/service/resolver/ResolverTarget.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
frameworks/base/core/java/android/speech/tts/Voice.aidl \
|
2017-01-23 14:33:42 -08:00
|
|
|
frameworks/base/core/java/android/app/usage/CacheQuotaHint.aidl \
|
2017-01-09 18:21:21 -07:00
|
|
|
frameworks/base/core/java/android/app/usage/ExternalStorageStats.aidl \
|
2017-01-04 11:33:33 -07:00
|
|
|
frameworks/base/core/java/android/app/usage/StorageStats.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
frameworks/base/core/java/android/app/usage/UsageEvents.aidl \
|
|
|
|
frameworks/base/core/java/android/app/Notification.aidl \
|
|
|
|
frameworks/base/core/java/android/app/NotificationManager.aidl \
|
|
|
|
frameworks/base/core/java/android/app/WallpaperInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/app/AppOpsManager.aidl \
|
|
|
|
frameworks/base/core/java/android/app/ActivityManager.aidl \
|
|
|
|
frameworks/base/core/java/android/app/PendingIntent.aidl \
|
|
|
|
frameworks/base/core/java/android/app/AlarmManager.aidl \
|
|
|
|
frameworks/base/core/java/android/app/SearchableInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/app/VoiceInteractor.aidl \
|
2015-06-02 10:52:59 -07:00
|
|
|
frameworks/base/core/java/android/app/assist/AssistContent.aidl \
|
|
|
|
frameworks/base/core/java/android/app/assist/AssistStructure.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
frameworks/base/core/java/android/app/job/JobParameters.aidl \
|
|
|
|
frameworks/base/core/java/android/app/job/JobInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/appwidget/AppWidgetProviderInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/content/ClipDescription.aidl \
|
|
|
|
frameworks/base/core/java/android/content/IntentFilter.aidl \
|
|
|
|
frameworks/base/core/java/android/content/Intent.aidl \
|
|
|
|
frameworks/base/core/java/android/content/res/Configuration.aidl \
|
|
|
|
frameworks/base/core/java/android/content/res/ObbInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/content/RestrictionEntry.aidl \
|
|
|
|
frameworks/base/core/java/android/content/ClipData.aidl \
|
|
|
|
frameworks/base/core/java/android/content/SyncAdapterType.aidl \
|
|
|
|
frameworks/base/core/java/android/content/SyncRequest.aidl \
|
|
|
|
frameworks/base/core/java/android/content/PeriodicSync.aidl \
|
|
|
|
frameworks/base/core/java/android/content/SyncResult.aidl \
|
|
|
|
frameworks/base/core/java/android/content/pm/FeatureInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/content/pm/InstrumentationInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/content/pm/PackageInstaller.aidl \
|
|
|
|
frameworks/base/core/java/android/content/pm/ServiceInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/content/pm/Signature.aidl \
|
|
|
|
frameworks/base/core/java/android/content/pm/ApplicationInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/content/pm/PermissionInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/content/pm/ActivityInfo.aidl \
|
2016-10-21 17:55:27 -07:00
|
|
|
frameworks/base/core/java/android/content/pm/ConfigurationInfo.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
frameworks/base/core/java/android/content/pm/PackageInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/content/pm/ResolveInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/content/pm/ProviderInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/content/pm/PackageStats.aidl \
|
|
|
|
frameworks/base/core/java/android/content/pm/PermissionGroupInfo.aidl \
|
2016-03-04 13:39:41 -08:00
|
|
|
frameworks/base/core/java/android/content/pm/ShortcutInfo.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
frameworks/base/core/java/android/content/pm/LabeledIntent.aidl \
|
|
|
|
frameworks/base/core/java/android/content/ComponentName.aidl \
|
|
|
|
frameworks/base/core/java/android/content/SyncStats.aidl \
|
|
|
|
frameworks/base/core/java/android/content/ContentValues.aidl \
|
|
|
|
frameworks/base/core/java/android/content/SyncInfo.aidl \
|
|
|
|
frameworks/base/core/java/android/content/IntentSender.aidl \
|
|
|
|
frameworks/base/core/java/android/widget/RemoteViews.aidl \
|
|
|
|
frameworks/base/core/java/android/text/style/SuggestionSpan.aidl \
|
|
|
|
frameworks/base/core/java/android/nfc/Tag.aidl \
|
|
|
|
frameworks/base/core/java/android/nfc/NdefRecord.aidl \
|
|
|
|
frameworks/base/core/java/android/nfc/NdefMessage.aidl \
|
|
|
|
frameworks/base/core/java/android/bluetooth/BluetoothHealthAppConfiguration.aidl \
|
|
|
|
frameworks/base/core/java/android/bluetooth/le/AdvertiseSettings.aidl \
|
|
|
|
frameworks/base/core/java/android/bluetooth/le/ScanSettings.aidl \
|
|
|
|
frameworks/base/core/java/android/bluetooth/le/AdvertiseData.aidl \
|
|
|
|
frameworks/base/core/java/android/bluetooth/le/ScanFilter.aidl \
|
|
|
|
frameworks/base/core/java/android/bluetooth/le/ScanResult.aidl \
|
|
|
|
frameworks/base/core/java/android/bluetooth/BluetoothDevice.aidl \
|
|
|
|
frameworks/base/core/java/android/database/CursorWindow.aidl \
|
2015-11-06 15:47:26 -05:00
|
|
|
frameworks/base/core/java/android/service/quicksettings/Tile.aidl \
|
2016-01-05 17:29:43 -08:00
|
|
|
frameworks/native/aidl/binder/android/os/PersistableBundle.aidl \
|
2016-03-30 18:52:40 +01:00
|
|
|
system/netd/server/binder/android/net/UidRange.aidl \
|
2016-06-02 13:43:27 -07:00
|
|
|
frameworks/base/telephony/java/android/telephony/PcoData.aidl \
|
2015-05-07 03:23:20 +00:00
|
|
|
|
|
|
|
gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl
|
|
|
|
$(gen): PRIVATE_SRC_FILES := $(aidl_files)
|
|
|
|
ALL_SDK_FILES += $(gen)
|
|
|
|
$(gen): $(aidl_files) | $(AIDL)
|
|
|
|
@echo Aidl Preprocess: $@
|
|
|
|
$(hide) $(AIDL) --preprocess $@ $(PRIVATE_SRC_FILES)
|
|
|
|
|
|
|
|
# the documentation
|
|
|
|
# ============================================================
|
|
|
|
|
|
|
|
# TODO: deal with com/google/android/googleapps
|
|
|
|
packages_to_document := \
|
|
|
|
android \
|
|
|
|
javax/microedition/khronos \
|
|
|
|
org/apache/http/conn \
|
|
|
|
org/apache/http/params
|
|
|
|
|
|
|
|
|
|
|
|
# Search through the base framework dirs for these packages.
|
|
|
|
# The result will be relative to frameworks/base.
|
|
|
|
fwbase_dirs_to_document := \
|
2016-11-30 13:29:39 +00:00
|
|
|
legacy-test/src \
|
2015-05-07 03:23:20 +00:00
|
|
|
test-runner/src \
|
|
|
|
$(patsubst $(LOCAL_PATH)/%,%, \
|
|
|
|
$(wildcard \
|
|
|
|
$(foreach dir, $(FRAMEWORKS_BASE_JAVA_SRC_DIRS), \
|
|
|
|
$(addprefix $(dir)/, $(packages_to_document)) \
|
|
|
|
) \
|
|
|
|
) \
|
|
|
|
)
|
|
|
|
|
|
|
|
# include definition of libcore_to_document
|
|
|
|
include libcore/Docs.mk
|
|
|
|
|
|
|
|
non_base_dirs := \
|
|
|
|
../opt/telephony/src/java/android/provider \
|
|
|
|
../opt/telephony/src/java/android/telephony \
|
|
|
|
../opt/telephony/src/java/android/telephony/gsm \
|
|
|
|
../opt/net/voip/src/java/android/net/rtp \
|
|
|
|
../opt/net/voip/src/java/android/net/sip
|
|
|
|
|
|
|
|
# These are relative to frameworks/base
|
|
|
|
dirs_to_check_apis := \
|
|
|
|
$(fwbase_dirs_to_document) \
|
|
|
|
$(non_base_dirs)
|
|
|
|
|
2015-12-03 07:39:55 -08:00
|
|
|
###########################################################
|
|
|
|
## Return all directories that have a 'NO_DOCS' file in
|
|
|
|
## them, appending a '%' to them to form a pattern to
|
|
|
|
## filter out files under those directories.
|
|
|
|
## $(1): A list of base directories to look at.
|
|
|
|
###########################################################
|
|
|
|
define find-no-docs-pattern
|
|
|
|
$(addsuffix %, $(dir $(foreach dir, $(1), $(shell cd $(LOCAL_PATH); find $(dir) -name NO_DOCS))))
|
|
|
|
endef
|
|
|
|
|
2015-05-07 03:23:20 +00:00
|
|
|
# These are relative to frameworks/base
|
|
|
|
# FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
|
|
|
|
dirs_to_document := \
|
|
|
|
$(dirs_to_check_apis) \
|
2015-07-13 16:45:34 -07:00
|
|
|
$(addprefix ../../, $(FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS)) \
|
|
|
|
$(addprefix ../../, $(FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS)) \
|
2015-05-07 03:23:20 +00:00
|
|
|
|
2015-12-03 07:39:55 -08:00
|
|
|
patterns_to_not_document := \
|
|
|
|
$(call find-no-docs-pattern, $(dirs_to_document))
|
|
|
|
|
2015-05-07 03:23:20 +00:00
|
|
|
# These are relative to frameworks/base
|
|
|
|
html_dirs := \
|
|
|
|
$(FRAMEWORKS_BASE_SUBDIRS) \
|
|
|
|
$(non_base_dirs)
|
|
|
|
|
|
|
|
# Common sources for doc check and api check
|
|
|
|
common_src_files := \
|
|
|
|
$(call find-other-html-files, $(html_dirs)) \
|
2016-12-12 16:35:36 +00:00
|
|
|
$(addprefix ../../, $(libcore_to_document))
|
2015-05-07 03:23:20 +00:00
|
|
|
|
|
|
|
# These are relative to frameworks/base
|
|
|
|
framework_docs_LOCAL_SRC_FILES := \
|
2015-12-03 07:39:55 -08:00
|
|
|
$(filter-out $(patterns_to_not_document), $(call find-other-java-files, $(dirs_to_document))) \
|
2015-05-07 03:23:20 +00:00
|
|
|
$(common_src_files)
|
|
|
|
|
|
|
|
# These are relative to frameworks/base
|
|
|
|
framework_docs_LOCAL_API_CHECK_SRC_FILES := \
|
|
|
|
$(call find-other-java-files, $(dirs_to_check_apis)) \
|
|
|
|
$(common_src_files)
|
|
|
|
|
|
|
|
# This is used by ide.mk as the list of source files that are
|
|
|
|
# always included.
|
|
|
|
INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document))
|
|
|
|
|
|
|
|
framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
|
|
|
|
$(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
|
|
|
|
|
|
|
|
framework_docs_LOCAL_INTERMEDIATE_SOURCES := \
|
|
|
|
$(framework_res_source_path)/android/R.java \
|
|
|
|
$(framework_res_source_path)/android/Manifest.java \
|
|
|
|
$(framework_res_source_path)/com/android/internal/R.java
|
|
|
|
|
|
|
|
framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES := \
|
2015-02-17 16:58:52 +00:00
|
|
|
core-oj \
|
2015-05-07 03:23:20 +00:00
|
|
|
core-libart \
|
|
|
|
conscrypt \
|
|
|
|
bouncycastle \
|
|
|
|
okhttp \
|
|
|
|
ext \
|
2015-08-03 13:54:28 +01:00
|
|
|
icu4j \
|
2015-05-07 03:23:20 +00:00
|
|
|
framework \
|
|
|
|
telephony-common \
|
|
|
|
voip-common
|
|
|
|
|
|
|
|
framework_docs_LOCAL_JAVA_LIBRARIES := \
|
|
|
|
$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) \
|
|
|
|
$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES)
|
|
|
|
|
|
|
|
framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
|
|
|
framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html
|
|
|
|
# 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_LOCAL_DROIDDOC_OPTIONS := \
|
|
|
|
-knowntags ./frameworks/base/docs/knowntags.txt \
|
2015-07-27 14:02:11 +01:00
|
|
|
-knowntags ./libcore/known_oj_tags.txt \
|
2015-05-07 03:23:20 +00:00
|
|
|
-hidePackage com.android.org.conscrypt \
|
|
|
|
-since $(SRC_API_DIR)/1.xml 1 \
|
|
|
|
-since $(SRC_API_DIR)/2.xml 2 \
|
|
|
|
-since $(SRC_API_DIR)/3.xml 3 \
|
|
|
|
-since $(SRC_API_DIR)/4.xml 4 \
|
|
|
|
-since $(SRC_API_DIR)/5.xml 5 \
|
|
|
|
-since $(SRC_API_DIR)/6.xml 6 \
|
|
|
|
-since $(SRC_API_DIR)/7.xml 7 \
|
|
|
|
-since $(SRC_API_DIR)/8.xml 8 \
|
|
|
|
-since $(SRC_API_DIR)/9.xml 9 \
|
|
|
|
-since $(SRC_API_DIR)/10.xml 10 \
|
|
|
|
-since $(SRC_API_DIR)/11.xml 11 \
|
|
|
|
-since $(SRC_API_DIR)/12.xml 12 \
|
|
|
|
-since $(SRC_API_DIR)/13.xml 13 \
|
|
|
|
-since $(SRC_API_DIR)/14.txt 14 \
|
|
|
|
-since $(SRC_API_DIR)/15.txt 15 \
|
|
|
|
-since $(SRC_API_DIR)/16.txt 16 \
|
|
|
|
-since $(SRC_API_DIR)/17.txt 17 \
|
|
|
|
-since $(SRC_API_DIR)/18.txt 18 \
|
|
|
|
-since $(SRC_API_DIR)/19.txt 19 \
|
|
|
|
-since $(SRC_API_DIR)/20.txt 20 \
|
|
|
|
-since $(SRC_API_DIR)/21.txt 21 \
|
|
|
|
-since $(SRC_API_DIR)/22.txt 22 \
|
2015-08-12 19:45:22 -07:00
|
|
|
-since $(SRC_API_DIR)/23.txt 23 \
|
2016-06-14 16:26:28 -07:00
|
|
|
-since $(SRC_API_DIR)/24.txt 24 \
|
2016-10-14 10:27:08 -07:00
|
|
|
-since $(SRC_API_DIR)/25.txt 25 \
|
2017-02-23 14:51:06 -08:00
|
|
|
-since ./frameworks/base/api/current.txt O \
|
2015-05-07 03:23:20 +00:00
|
|
|
-werror -hide 111 -hide 113 \
|
|
|
|
-overview $(LOCAL_PATH)/core/java/overview.html
|
|
|
|
|
2017-03-10 15:09:33 -05:00
|
|
|
# Allow the support library to add its own droiddoc options.
|
|
|
|
include $(LOCAL_PATH)/../support/droiddoc.mk
|
2017-02-24 10:29:48 -05:00
|
|
|
|
2015-05-07 03:23:20 +00:00
|
|
|
framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \
|
|
|
|
$(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON)
|
|
|
|
|
|
|
|
framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \
|
|
|
|
$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) \
|
|
|
|
$(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,COMMON)) \
|
|
|
|
$(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib)-res,,COMMON))
|
|
|
|
|
|
|
|
framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \
|
2015-07-14 13:39:23 +01:00
|
|
|
frameworks/base/docs/knowntags.txt \
|
|
|
|
libcore/Docs.mk
|
2015-05-07 03:23:20 +00:00
|
|
|
|
|
|
|
samples_dir := development/samples/browseable
|
|
|
|
|
|
|
|
# Whitelist of valid groups, used for default TOC grouping. Each sample must
|
|
|
|
# belong to one (and only one) group. Assign samples to groups by setting
|
|
|
|
# a sample.group var to one of these groups in the sample's _index.jd.
|
|
|
|
sample_groups := -samplegroup Admin \
|
|
|
|
-samplegroup Background \
|
|
|
|
-samplegroup Connectivity \
|
|
|
|
-samplegroup Content \
|
|
|
|
-samplegroup Input \
|
|
|
|
-samplegroup Media \
|
|
|
|
-samplegroup Notification \
|
|
|
|
-samplegroup RenderScript \
|
|
|
|
-samplegroup Security \
|
|
|
|
-samplegroup Sensors \
|
2015-05-27 14:50:51 -07:00
|
|
|
-samplegroup System \
|
2015-05-07 03:23:20 +00:00
|
|
|
-samplegroup Testing \
|
|
|
|
-samplegroup UI \
|
|
|
|
-samplegroup Views \
|
|
|
|
-samplegroup Wearable
|
|
|
|
|
|
|
|
## SDK version identifiers used in the published docs
|
|
|
|
# major[.minor] version for current SDK. (full releases only)
|
2016-08-29 18:36:50 -07:00
|
|
|
framework_docs_SDK_VERSION:=7.0
|
2015-05-07 03:23:20 +00:00
|
|
|
# release version (ie "Release x") (full releases only)
|
|
|
|
framework_docs_SDK_REL_ID:=1
|
|
|
|
|
|
|
|
framework_docs_LOCAL_DROIDDOC_OPTIONS += \
|
2017-03-03 13:09:15 -08:00
|
|
|
-hdf dac true \
|
2017-03-21 13:43:31 -07:00
|
|
|
-hdf sdk.codename O \
|
|
|
|
-hdf sdk.preview.version 1 \
|
2015-05-07 03:23:20 +00:00
|
|
|
-hdf sdk.version $(framework_docs_SDK_VERSION) \
|
|
|
|
-hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
|
2017-03-21 13:43:31 -07:00
|
|
|
-hdf sdk.preview 0 \
|
|
|
|
-resourcesdir $(LOCAL_PATH)/docs/html/reference/images/ \
|
|
|
|
-resourcesoutdir reference/android/images/
|
2015-05-07 03:23:20 +00:00
|
|
|
|
|
|
|
# ==== the api stubs and current.xml ===========================
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
|
|
|
|
LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
|
|
|
|
LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
|
|
|
|
LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
|
|
|
|
LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
|
|
|
|
LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
|
|
|
|
LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
|
|
|
|
|
|
|
|
LOCAL_MODULE := api-stubs
|
|
|
|
|
2015-07-16 14:20:22 -07:00
|
|
|
LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src
|
|
|
|
|
2015-05-07 03:23:20 +00:00
|
|
|
LOCAL_DROIDDOC_OPTIONS:=\
|
|
|
|
$(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
|
2016-09-01 19:52:17 -07:00
|
|
|
-referenceonly \
|
2015-05-07 03:23:20 +00:00
|
|
|
-api $(INTERNAL_PLATFORM_API_FILE) \
|
|
|
|
-removedApi $(INTERNAL_PLATFORM_REMOVED_API_FILE) \
|
|
|
|
-nodocs
|
|
|
|
|
2017-02-21 14:30:58 -08:00
|
|
|
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
|
2015-05-07 03:23:20 +00:00
|
|
|
|
|
|
|
LOCAL_UNINSTALLABLE_MODULE := true
|
|
|
|
|
|
|
|
include $(BUILD_DROIDDOC)
|
|
|
|
|
|
|
|
# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
|
|
|
|
$(full_target): $(framework_built) $(gen)
|
|
|
|
$(INTERNAL_PLATFORM_API_FILE): $(full_target)
|
|
|
|
$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE))
|
|
|
|
|
|
|
|
# ==== the system api stubs ===================================
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
|
|
|
|
LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
|
|
|
|
LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
|
|
|
|
LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
|
|
|
|
LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
|
|
|
|
LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
|
|
|
|
LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
|
|
|
|
|
|
|
|
LOCAL_MODULE := system-api-stubs
|
|
|
|
|
2015-07-16 14:20:22 -07:00
|
|
|
LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src
|
|
|
|
|
2015-05-07 03:23:20 +00:00
|
|
|
LOCAL_DROIDDOC_OPTIONS:=\
|
|
|
|
$(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
|
2016-09-01 19:52:17 -07:00
|
|
|
-referenceonly \
|
2015-05-07 03:23:20 +00:00
|
|
|
-showAnnotation android.annotation.SystemApi \
|
|
|
|
-api $(INTERNAL_PLATFORM_SYSTEM_API_FILE) \
|
|
|
|
-removedApi $(INTERNAL_PLATFORM_SYSTEM_REMOVED_API_FILE) \
|
|
|
|
-nodocs
|
|
|
|
|
2017-02-21 14:30:58 -08:00
|
|
|
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
|
2015-05-07 03:23:20 +00:00
|
|
|
|
|
|
|
LOCAL_UNINSTALLABLE_MODULE := true
|
|
|
|
|
|
|
|
include $(BUILD_DROIDDOC)
|
|
|
|
|
|
|
|
# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
|
|
|
|
$(full_target): $(framework_built) $(gen)
|
|
|
|
$(INTERNAL_PLATFORM_SYSTEM_API_FILE): $(full_target)
|
|
|
|
$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_SYSTEM_API_FILE))
|
|
|
|
|
2015-11-06 15:21:13 +00:00
|
|
|
# ==== the test api stubs ===================================
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
|
|
|
|
LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
|
|
|
|
LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
|
|
|
|
LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
|
|
|
|
LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
|
|
|
|
LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
|
|
|
|
LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
|
|
|
|
|
|
|
|
LOCAL_MODULE := test-api-stubs
|
|
|
|
|
|
|
|
LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src
|
|
|
|
|
|
|
|
LOCAL_DROIDDOC_OPTIONS:=\
|
|
|
|
$(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
|
2016-09-01 19:52:17 -07:00
|
|
|
-referenceonly \
|
2015-11-06 15:21:13 +00:00
|
|
|
-stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src \
|
|
|
|
-showAnnotation android.annotation.TestApi \
|
|
|
|
-api $(INTERNAL_PLATFORM_TEST_API_FILE) \
|
|
|
|
-removedApi $(INTERNAL_PLATFORM_TEST_REMOVED_API_FILE) \
|
|
|
|
-nodocs
|
|
|
|
|
2017-02-21 14:30:58 -08:00
|
|
|
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
|
2015-11-06 15:21:13 +00:00
|
|
|
|
|
|
|
LOCAL_UNINSTALLABLE_MODULE := true
|
|
|
|
|
|
|
|
include $(BUILD_DROIDDOC)
|
|
|
|
|
|
|
|
# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
|
|
|
|
$(full_target): $(framework_built) $(gen)
|
|
|
|
$(INTERNAL_PLATFORM_TEST_API_FILE): $(full_target)
|
|
|
|
$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_TEST_API_FILE))
|
|
|
|
|
2015-05-07 03:23:20 +00:00
|
|
|
# ==== check javadoc comments but don't generate docs ========
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
|
|
|
|
LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
|
|
|
|
LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
|
|
|
|
LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
|
|
|
|
LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
|
|
|
|
LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
|
|
|
|
LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
|
|
|
|
|
|
|
|
LOCAL_MODULE := doc-comment-check
|
|
|
|
|
|
|
|
LOCAL_DROIDDOC_OPTIONS:=\
|
|
|
|
$(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
|
2016-09-01 19:52:17 -07:00
|
|
|
-referenceonly \
|
2015-05-07 03:23:20 +00:00
|
|
|
-parsecomments
|
|
|
|
|
2017-02-21 14:30:58 -08:00
|
|
|
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
|
2015-05-07 03:23:20 +00:00
|
|
|
|
|
|
|
LOCAL_UNINSTALLABLE_MODULE := true
|
|
|
|
|
|
|
|
include $(BUILD_DROIDDOC)
|
|
|
|
|
|
|
|
# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
|
|
|
|
$(full_target): $(framework_built) $(gen)
|
|
|
|
|
|
|
|
# Run this for checkbuild
|
|
|
|
checkbuild: doc-comment-check-docs
|
|
|
|
# Check comment when you are updating the API
|
|
|
|
update-api: doc-comment-check-docs
|
|
|
|
|
|
|
|
# ==== static html in the sdk ==================================
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
|
|
|
|
LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
|
|
|
|
LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
|
|
|
|
LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
|
|
|
|
LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
|
|
|
|
LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
|
|
|
|
LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
|
|
|
|
|
|
|
|
LOCAL_MODULE := offline-sdk
|
|
|
|
|
2016-06-14 17:11:57 -07:00
|
|
|
LOCAL_DROIDDOC_OPTIONS:=\
|
|
|
|
$(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
|
|
|
|
-offlinemode \
|
|
|
|
-title "Android SDK" \
|
|
|
|
-proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
|
|
|
|
-sdkvalues $(OUT_DOCS) \
|
|
|
|
-hdf android.whichdoc offline
|
|
|
|
|
2017-02-21 14:30:58 -08:00
|
|
|
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
|
2016-06-14 17:11:57 -07:00
|
|
|
|
|
|
|
include $(BUILD_DROIDDOC)
|
|
|
|
|
|
|
|
static_doc_index_redirect := $(out_dir)/index.html
|
|
|
|
$(static_doc_index_redirect): \
|
|
|
|
$(LOCAL_PATH)/docs/docs-preview-index.html | $(ACP)
|
|
|
|
$(hide) mkdir -p $(dir $@)
|
|
|
|
$(hide) $(ACP) $< $@
|
|
|
|
|
|
|
|
$(full_target): $(static_doc_index_redirect)
|
|
|
|
$(full_target): $(framework_built)
|
|
|
|
|
|
|
|
|
|
|
|
# ==== static html in the sdk ==================================
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
|
|
|
|
LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
|
|
|
|
LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
|
|
|
|
LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
|
|
|
|
LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
|
|
|
|
LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
|
|
|
|
LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
|
|
|
|
|
|
|
|
LOCAL_MODULE := offline-sdk-referenceonly
|
|
|
|
|
2016-03-07 18:38:08 -08:00
|
|
|
LOCAL_DROIDDOC_OPTIONS:=\
|
|
|
|
$(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
|
|
|
|
-offlinemode \
|
|
|
|
-title "Android SDK" \
|
|
|
|
-proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
|
|
|
|
-sdkvalues $(OUT_DOCS) \
|
|
|
|
-hdf android.whichdoc offline \
|
2017-03-21 13:43:31 -07:00
|
|
|
-referenceonly
|
2016-03-07 18:38:08 -08:00
|
|
|
|
2017-02-21 14:30:58 -08:00
|
|
|
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
|
2016-03-07 18:38:08 -08:00
|
|
|
|
|
|
|
include $(BUILD_DROIDDOC)
|
|
|
|
|
|
|
|
static_doc_index_redirect := $(out_dir)/index.html
|
2016-08-31 08:42:09 -07:00
|
|
|
$(static_doc_index_redirect): $(LOCAL_PATH)/docs/docs-documentation-redirect.html
|
2016-03-23 00:42:44 -07:00
|
|
|
$(copy-file-to-target)
|
2016-03-07 18:38:08 -08:00
|
|
|
|
2016-09-21 14:05:50 -07:00
|
|
|
static_doc_properties := $(out_dir)/source.properties
|
|
|
|
$(static_doc_properties): \
|
|
|
|
$(LOCAL_PATH)/docs/source.properties | $(ACP)
|
|
|
|
$(hide) mkdir -p $(dir $@)
|
|
|
|
$(hide) $(ACP) $< $@
|
|
|
|
|
2016-03-07 18:38:08 -08:00
|
|
|
$(full_target): $(static_doc_index_redirect)
|
2016-09-21 14:05:50 -07:00
|
|
|
$(full_target): $(static_doc_properties)
|
2016-03-07 18:38:08 -08:00
|
|
|
$(full_target): $(framework_built)
|
|
|
|
|
2016-03-10 14:13:30 -08:00
|
|
|
|
2015-05-07 03:23:20 +00:00
|
|
|
# ==== docs for the web (on the androiddevdocs app engine server) =======================
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
|
|
|
|
LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
|
|
|
|
LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
|
|
|
|
LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
|
|
|
|
LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
|
|
|
|
LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
|
|
|
|
LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
|
|
|
|
LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
|
|
|
|
|
|
|
|
LOCAL_MODULE := online-sdk
|
|
|
|
|
|
|
|
LOCAL_DROIDDOC_OPTIONS:= \
|
|
|
|
$(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
|
|
|
|
-toroot / \
|
|
|
|
-hdf android.whichdoc online \
|
|
|
|
$(sample_groups) \
|
|
|
|
-hdf android.hasSamples true \
|
|
|
|
-samplesdir $(samples_dir)
|
|
|
|
|
2017-02-21 14:30:58 -08:00
|
|
|
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
|
2015-05-07 03:23:20 +00:00
|
|
|
|
|
|
|
include $(BUILD_DROIDDOC)
|
|
|
|
|
|
|
|
# ==== docs for the web (on the androiddevdocs app engine server) =======================
|
|
|
|
# TODO: Fix the System API docs build.
|
|
|
|
ifneq ($(filter online-system-api-sdk-docs,$(MAKECMDGOALS)),)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
|
|
|
|
LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
|
|
|
|
LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
|
|
|
|
LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
|
|
|
|
LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
|
|
|
|
LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
|
|
|
|
LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
|
|
|
|
LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
|
|
|
|
|
|
|
|
LOCAL_MODULE := online-system-api-sdk
|
|
|
|
|
|
|
|
LOCAL_DROIDDOC_OPTIONS:= \
|
|
|
|
$(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
|
2016-09-01 19:52:17 -07:00
|
|
|
-referenceonly \
|
2015-05-07 03:23:20 +00:00
|
|
|
-showAnnotation android.annotation.SystemApi \
|
|
|
|
-title "Android SDK - Including system APIs." \
|
|
|
|
-toroot / \
|
2016-05-31 17:25:48 -07:00
|
|
|
-hide 101 \
|
|
|
|
-hide 104 \
|
|
|
|
-hide 108 \
|
2015-05-07 03:23:20 +00:00
|
|
|
-hdf android.whichdoc online \
|
|
|
|
$(sample_groups) \
|
|
|
|
-hdf android.hasSamples true \
|
|
|
|
-samplesdir $(samples_dir)
|
|
|
|
|
2017-02-21 14:30:58 -08:00
|
|
|
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
|
2015-05-07 03:23:20 +00:00
|
|
|
# Don't build by default
|
|
|
|
LOCAL_UNINSTALLABLE_MODULE := true
|
|
|
|
|
|
|
|
include $(BUILD_DROIDDOC)
|
|
|
|
endif # online-system-api-sdk-docs in make command line.
|
|
|
|
|
|
|
|
# ==== docs for the web (on the devsite app engine server) =======================
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
|
|
|
|
LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
|
|
|
|
LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
|
|
|
|
LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
|
|
|
|
LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
|
|
|
|
LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
|
|
|
|
LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
|
|
|
|
# specify a second html input dir and an output path relative to OUT_DIR)
|
2016-04-10 02:05:09 -07:00
|
|
|
LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
|
2015-05-07 03:23:20 +00:00
|
|
|
|
|
|
|
LOCAL_MODULE := ds
|
|
|
|
|
|
|
|
LOCAL_DROIDDOC_OPTIONS:= \
|
|
|
|
$(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
|
|
|
|
-toroot / \
|
|
|
|
-hdf android.whichdoc online \
|
2016-06-14 16:26:28 -07:00
|
|
|
-devsite \
|
2016-04-10 02:05:09 -07:00
|
|
|
$(sample_groups) \
|
|
|
|
-hdf android.hasSamples true \
|
|
|
|
-samplesdir $(samples_dir)
|
2015-05-07 03:23:20 +00:00
|
|
|
|
2017-02-21 14:30:58 -08:00
|
|
|
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
|
2015-05-07 03:23:20 +00:00
|
|
|
|
|
|
|
include $(BUILD_DROIDDOC)
|
|
|
|
|
2016-06-14 16:26:28 -07:00
|
|
|
# ==== docs for the web (on the devsite app engine server) =======================
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
|
|
|
|
LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
|
|
|
|
LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
|
|
|
|
LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
|
|
|
|
LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
|
|
|
|
LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
|
|
|
|
LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
|
|
|
|
# specify a second html input dir and an output path relative to OUT_DIR)
|
|
|
|
LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
|
|
|
|
|
|
|
|
LOCAL_MODULE := ds-static
|
|
|
|
|
|
|
|
LOCAL_DROIDDOC_OPTIONS:= \
|
|
|
|
$(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
|
|
|
|
-hdf android.whichdoc online \
|
|
|
|
-staticonly \
|
|
|
|
-toroot / \
|
|
|
|
-devsite \
|
|
|
|
-ignoreJdLinks
|
|
|
|
|
2017-02-21 14:30:58 -08:00
|
|
|
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
|
2016-06-14 16:26:28 -07:00
|
|
|
|
|
|
|
include $(BUILD_DROIDDOC)
|
|
|
|
|
2016-09-13 16:44:25 -07:00
|
|
|
# ==== generates full navtree for resolving @links in ds postprocessing ====
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
|
|
|
|
LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
|
|
|
|
LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
|
|
|
|
LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
|
|
|
|
LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
|
|
|
|
LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
|
|
|
|
|
|
|
|
LOCAL_MODULE := ds-ref-navtree
|
|
|
|
|
|
|
|
LOCAL_DROIDDOC_OPTIONS:= \
|
|
|
|
$(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
|
|
|
|
-hdf android.whichdoc online \
|
|
|
|
-toroot / \
|
|
|
|
-atLinksNavtree \
|
|
|
|
-navtreeonly
|
|
|
|
|
2017-02-21 14:30:58 -08:00
|
|
|
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
|
2016-09-13 16:44:25 -07:00
|
|
|
|
2016-06-14 16:26:28 -07:00
|
|
|
include $(BUILD_DROIDDOC)
|
2015-05-07 03:23:20 +00:00
|
|
|
|
2015-11-07 13:18:02 -08:00
|
|
|
# ==== site updates for docs (on the androiddevdocs app engine server) =======================
|
2015-05-07 03:23:20 +00:00
|
|
|
include $(CLEAR_VARS)
|
2015-11-07 13:18:02 -08:00
|
|
|
|
2015-05-07 03:23:20 +00:00
|
|
|
LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
|
|
|
|
LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
|
|
|
|
LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
|
|
|
|
LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
|
|
|
|
LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
|
2015-11-07 13:18:02 -08:00
|
|
|
LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
|
2015-05-07 03:23:20 +00:00
|
|
|
LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
|
2015-11-07 13:18:02 -08:00
|
|
|
LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
|
2015-05-07 03:23:20 +00:00
|
|
|
|
2015-11-07 13:18:02 -08:00
|
|
|
LOCAL_MODULE := online-sdk-dev
|
2015-05-07 03:23:20 +00:00
|
|
|
|
|
|
|
LOCAL_DROIDDOC_OPTIONS:= \
|
|
|
|
$(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
|
|
|
|
-toroot / \
|
|
|
|
-hdf android.whichdoc online \
|
|
|
|
$(sample_groups) \
|
|
|
|
-hdf android.hasSamples true \
|
|
|
|
-samplesdir $(samples_dir)
|
|
|
|
|
2017-02-21 14:30:58 -08:00
|
|
|
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
|
2015-05-07 03:23:20 +00:00
|
|
|
|
|
|
|
include $(BUILD_DROIDDOC)
|
|
|
|
|
|
|
|
# ==== docs that have all of the stuff that's @hidden =======================
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
|
|
|
|
LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
|
|
|
|
LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
|
|
|
|
LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
|
|
|
|
LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
|
|
|
|
LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
|
|
|
|
LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
|
|
|
|
|
|
|
|
LOCAL_MODULE := hidden
|
|
|
|
LOCAL_DROIDDOC_OPTIONS:=\
|
|
|
|
$(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
|
2016-09-01 19:52:17 -07:00
|
|
|
-referenceonly \
|
2015-05-07 03:23:20 +00:00
|
|
|
-title "Android SDK - Including hidden APIs."
|
|
|
|
# -hidden
|
|
|
|
|
2017-02-21 14:30:58 -08:00
|
|
|
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
|
2015-05-07 03:23:20 +00:00
|
|
|
|
|
|
|
include $(BUILD_DROIDDOC)
|
|
|
|
|
|
|
|
# Build ext.jar
|
|
|
|
# ============================================================
|
|
|
|
|
|
|
|
ext_dirs := \
|
|
|
|
../../external/nist-sip/java \
|
|
|
|
../../external/tagsoup/src \
|
|
|
|
|
|
|
|
ext_src_files := $(call all-java-files-under,$(ext_dirs))
|
|
|
|
|
|
|
|
# ==== the library =========================================
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := $(ext_src_files)
|
|
|
|
|
|
|
|
LOCAL_NO_STANDARD_LIBRARIES := true
|
2015-02-17 16:58:52 +00:00
|
|
|
LOCAL_JAVA_LIBRARIES := core-oj core-libart
|
2015-05-07 03:23:20 +00:00
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := libphonenumber-platform
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_MODULE := ext
|
|
|
|
|
2016-12-21 16:48:32 -08:00
|
|
|
LOCAL_DX_FLAGS := --core-library
|
|
|
|
|
2016-02-01 16:22:43 -08:00
|
|
|
ifneq ($(INCREMENTAL_BUILDS),)
|
|
|
|
LOCAL_PROGUARD_ENABLED := disabled
|
|
|
|
LOCAL_JACK_ENABLED := incremental
|
|
|
|
endif
|
|
|
|
|
2015-05-07 03:23:20 +00:00
|
|
|
include $(BUILD_JAVA_LIBRARY)
|
|
|
|
|
2017-01-19 15:56:21 -08:00
|
|
|
# ==== c++ proto device library ==============================
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := libplatformprotos
|
|
|
|
# b/34740546, work around clang-tidy segmentation fault.
|
|
|
|
LOCAL_TIDY_CHECKS := -modernize*
|
|
|
|
LOCAL_PROTOC_OPTIMIZE_TYPE := lite
|
|
|
|
LOCAL_PROTOC_FLAGS := \
|
|
|
|
--include_source_info \
|
|
|
|
-Iexternal/protobuf/src
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
$(call all-proto-files-under, core/proto) \
|
|
|
|
$(call all-proto-files-under, libs/incident/proto)
|
2017-03-29 18:41:27 -07:00
|
|
|
LOCAL_SHARED_LIBRARIES := libprotobuf-cpp-full
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
2017-01-19 15:56:21 -08:00
|
|
|
|
First checkin of incident reporting.
There are a few major pieces here:
incidentd
---------
This daemon (started by init) runs and accepts incoming requests to take
incident reports. When prompted, it calls into various system services
and fills in an IncidentProto data structure, and then writes the report
into dropbox.
The next steps for incidentd:
- Security review of SELinux policies. These will be a subset of
the dumpstate permissions. Until this is done, incidentd is
not started at boot time.
incident
--------
This shell command calls into incidentd, and can initiate an incident
report and either capture the output or leave for dropbox.
incident_report
---------------
This host side tool can call adb shell with the correct parameters
and also format the incident report as text. This formatting code
was left of the device on purpose. Right now it's pretty small, but
as the number of fields increases, the metadata and code to do the
formatting will start to grow.
The incident_report command also contains a workaround to let it
work before incidentd is turned on by default. Right now, it is
implemented to call adb shell dumpsys <service> --proto directly,
whereas in the future it will go through the full incidentd flow.
incident_section_gen
--------------------
A build-time tool that generates a stripped down set of information
about the fields that are available.
libincident
-----------
This library contains the code to connect to incidentd, and the
meta proto definitions that are used by the framework protos.
The basics are here now, but they are not fully fleshed out yet.
The privacy.proto file contains annotations that can go in the
proto file that we will later use to filter which fields are
uploaded, and which are used by local sources. For example, a
device in a test lab is safe to upload much much more information
than a real user. These will share the same mechanism, but the
user's output will be filtered according to these annotations.
frameworks/core/proto
---------------------
These .proto files contain the definitions of the system's
output. There is one master android.os.IncidentProto file that
is the top level of an incident report, but some other services
(notification, fingerprint, batterystats, etc) will have others
that are used directly by the logging mechanism.
Other files which are shared by several of the services also go
here, such as ComponentName, Locale, Configuration, etc. There
will be many more.
There is also a first iplementation of a dump method handling
--proto in the fingerprint service.
IncidentManager
---------------
The java API to trigger an incident report.
Test: Not written yet
Change-Id: I59568b115ac7fcf73af70c946c95752bf33ae67f
2016-11-21 17:51:35 -08:00
|
|
|
# ==== c++ proto host library ==============================
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := libplatformprotos
|
2017-01-26 18:47:14 -08:00
|
|
|
# b/34740546, work around clang-tidy segmentation fault.
|
|
|
|
LOCAL_TIDY_CHECKS := -modernize*
|
First checkin of incident reporting.
There are a few major pieces here:
incidentd
---------
This daemon (started by init) runs and accepts incoming requests to take
incident reports. When prompted, it calls into various system services
and fills in an IncidentProto data structure, and then writes the report
into dropbox.
The next steps for incidentd:
- Security review of SELinux policies. These will be a subset of
the dumpstate permissions. Until this is done, incidentd is
not started at boot time.
incident
--------
This shell command calls into incidentd, and can initiate an incident
report and either capture the output or leave for dropbox.
incident_report
---------------
This host side tool can call adb shell with the correct parameters
and also format the incident report as text. This formatting code
was left of the device on purpose. Right now it's pretty small, but
as the number of fields increases, the metadata and code to do the
formatting will start to grow.
The incident_report command also contains a workaround to let it
work before incidentd is turned on by default. Right now, it is
implemented to call adb shell dumpsys <service> --proto directly,
whereas in the future it will go through the full incidentd flow.
incident_section_gen
--------------------
A build-time tool that generates a stripped down set of information
about the fields that are available.
libincident
-----------
This library contains the code to connect to incidentd, and the
meta proto definitions that are used by the framework protos.
The basics are here now, but they are not fully fleshed out yet.
The privacy.proto file contains annotations that can go in the
proto file that we will later use to filter which fields are
uploaded, and which are used by local sources. For example, a
device in a test lab is safe to upload much much more information
than a real user. These will share the same mechanism, but the
user's output will be filtered according to these annotations.
frameworks/core/proto
---------------------
These .proto files contain the definitions of the system's
output. There is one master android.os.IncidentProto file that
is the top level of an incident report, but some other services
(notification, fingerprint, batterystats, etc) will have others
that are used directly by the logging mechanism.
Other files which are shared by several of the services also go
here, such as ComponentName, Locale, Configuration, etc. There
will be many more.
There is also a first iplementation of a dump method handling
--proto in the fingerprint service.
IncidentManager
---------------
The java API to trigger an incident report.
Test: Not written yet
Change-Id: I59568b115ac7fcf73af70c946c95752bf33ae67f
2016-11-21 17:51:35 -08:00
|
|
|
LOCAL_PROTOC_OPTIMIZE_TYPE := full
|
|
|
|
LOCAL_PROTOC_FLAGS := \
|
|
|
|
--include_source_info \
|
|
|
|
-Iexternal/protobuf/src
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
$(call all-proto-files-under, core/proto) \
|
|
|
|
$(call all-proto-files-under, libs/incident/proto)
|
|
|
|
include $(BUILD_HOST_SHARED_LIBRARY)
|
|
|
|
|
|
|
|
|
|
|
|
# ==== java proto host library ==============================
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := platformprotos
|
|
|
|
LOCAL_PROTOC_OPTIMIZE_TYPE := full
|
|
|
|
LOCAL_PROTOC_FLAGS := \
|
|
|
|
-Iexternal/protobuf/src
|
|
|
|
LOCAL_SOURCE_FILES_ALL_GENERATED := true
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
$(call all-proto-files-under, core/proto) \
|
|
|
|
$(call all-proto-files-under, libs/incident/proto)
|
|
|
|
include $(BUILD_HOST_JAVA_LIBRARY)
|
|
|
|
|
2015-05-07 03:23:20 +00:00
|
|
|
|
|
|
|
# Include subdirectory makefiles
|
|
|
|
# ============================================================
|
|
|
|
|
|
|
|
# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
|
|
|
|
# team really wants is to build the stuff defined by this makefile.
|
|
|
|
ifeq (,$(ONE_SHOT_MAKEFILE))
|
|
|
|
include $(call first-makefiles-under,$(LOCAL_PATH))
|
|
|
|
endif
|
|
|
|
|
|
|
|
endif # ANDROID_BUILD_EMBEDDED
|