2009-03-03 19:31:44 -08: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.
|
2010-07-14 19:58:30 -07:00
|
|
|
framework_res_source_path := APPS/framework-res_intermediates/src
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
# the library
|
|
|
|
# ============================================================
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
# FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
|
|
|
|
LOCAL_SRC_FILES := $(call find-other-java-files,$(FRAMEWORKS_BASE_SUBDIRS))
|
|
|
|
|
2010-02-07 22:25:34 -08:00
|
|
|
# EventLogTags files.
|
2010-02-10 19:27:58 -08:00
|
|
|
LOCAL_SRC_FILES += \
|
|
|
|
core/java/android/content/EventLogTags.logtags \
|
2011-07-08 12:13:03 +01:00
|
|
|
core/java/android/speech/tts/EventLogTags.logtags \
|
2010-02-10 19:27:58 -08:00
|
|
|
core/java/android/webkit/EventLogTags.logtags \
|
2010-02-07 22:25:34 -08:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
# The following filters out code we are temporarily not including at all.
|
|
|
|
# TODO: Move AWT and beans (and associated harmony code) back into libcore.
|
|
|
|
# TODO: Maybe remove javax.microedition entirely?
|
|
|
|
# TODO: Move SyncML (org.mobilecontrol.*) into its own library.
|
|
|
|
LOCAL_SRC_FILES := $(filter-out \
|
|
|
|
org/mobilecontrol/% \
|
|
|
|
,$(LOCAL_SRC_FILES))
|
|
|
|
|
|
|
|
## READ ME: ########################################################
|
|
|
|
##
|
2009-04-06 10:52:24 -07:00
|
|
|
## When updating this list of aidl files, consider if that aidl is
|
2009-03-03 19:31:44 -08:00
|
|
|
## 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 += \
|
2009-05-14 22:28:01 -07:00
|
|
|
core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl \
|
Accessibility focus - framework
Usefulness: Keep track of the current user location in the screen when
traversing the it. Enabling structural and directional
navigation over all elements on the screen. This enables
blind users that know the application layout to efficiently
locate desired elements as opposed to try touch exploring the
region where the the element should be - very tedious.
Rationale: There are two ways to implement accessibility focus One is
to let accessibility services keep track of it since they
have access to the screen content, and another to let the view
hierarchy keep track of it. While the first approach would
require almost no work on our part it poses several challenges
which make it a sub-optimal choice. Having the accessibility focus
in the accessibility service would require that service to scrape
the window content every time it changes to sync the view tree
state and the accessibility focus location. Pretty much the service
will have to keep an off screen model of the screen content. This
could be quite challenging to get right and would incur performance
cost for the multiple IPCs to repeatedly fetch the screen content.
Further, keeping virtual accessibility focus (i.e. in the service)
would require sync of the input and accessibility focus. This could
be challenging to implement right as well. Also, having an unlimited
number of accessibility services we cannot guarantee that they will
have a proper implementation, if any, to allow users to perform structural
navigation of the screen content. Assuming two accessibility
services implement structural navigation via accessibility focus,
there is not guarantee that they will behave similarly by default,
i.e. provide some standard way to navigate the screen content.
Also feedback from experienced accessibility researchers, specifically
T.V Raman, provides evidence that having virtual accessibility focus
creates many issues and it is very hard to get right.
Therefore, keeping accessibility focus in the system will avoid
keeping an off-screen model in accessibility services, it will always
be in sync with the state of the view hierarchy and the input focus.
Also this will allow having a default behavior for traversing the
screen via this accessibility focus that is consistent in all
accessibility services. We provide accessibility services with APIs to
override this behavior but all of them will perform screen traversal
in a consistent way by default.
Behavior: If accessibility is enabled the accessibility focus is the leading one
and the input follows it. Putting accessibility focus on a view moves
the input focus there. Clearing the accessibility focus of a view, clears
the input focus of this view. If accessibility focus is on a view that
cannot take input focus, then no other view should have input focus.
In accessibility mode we initially give accessibility focus to the topmost
view and no view has input focus. This ensures consistent behavior accross
all apps. Note that accessibility focus can move hierarchically in the
view tree and having it at the root is better than putting it where the
input focus would be - at the first input focusable which could be at
an arbitrary depth in the view tree. By default not all views are reported
for accessibility, only the important ones. A view may be explicitly labeled
as important or not for accessibility, or the system determines which one
is such - default. Important views for accessibility are all views that are
not dumb layout managers used only to arrange their chidren. Since the same
content arrangement can be obtained via different combintation of layout
managers, such managers cannot be used to reliably determine the application
structure. For example, a user should see a list as a list view with several
list items and each list item as a text view and a button as opposed to seeing
all the layout managers used to arrange the list item's content.
By default only important for accessibility views are regared for accessibility
purposes. View not regarded for accessibility neither fire accessibility events,
nor are reported being on the screen. An accessibility service may request the
system to regard all views. If the target SDK of an accessibility services is
less than JellyBean, then all views are regarded for accessibility.
Note that an accessibility service that requires all view to be ragarded for
accessibility may put accessibility focus on any view. Hence, it may implement
any navigational paradigm if desired. Especially considering the fact that
the system is detecting some standard gestures and delegates their processing
to an accessibility service. The default implementation of an accessibility
services performs the defualt navigation.
bug:5932640
bug:5605641
Change-Id: Ieac461d480579d706a847b9325720cb254736ebe
2012-03-20 11:51:39 -07:00
|
|
|
core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl \
|
2009-03-24 22:48:12 -07:00
|
|
|
core/java/android/accounts/IAccountManager.aidl \
|
|
|
|
core/java/android/accounts/IAccountManagerResponse.aidl \
|
|
|
|
core/java/android/accounts/IAccountAuthenticator.aidl \
|
|
|
|
core/java/android/accounts/IAccountAuthenticatorResponse.aidl \
|
2009-07-13 13:07:51 -07:00
|
|
|
core/java/android/app/IActivityController.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
core/java/android/app/IActivityPendingResult.aidl \
|
|
|
|
core/java/android/app/IAlarmManager.aidl \
|
2009-07-13 13:07:51 -07:00
|
|
|
core/java/android/app/IBackupAgent.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
core/java/android/app/IInstrumentationWatcher.aidl \
|
|
|
|
core/java/android/app/INotificationManager.aidl \
|
2011-05-20 15:29:23 -07:00
|
|
|
core/java/android/app/IProcessObserver.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
core/java/android/app/ISearchManager.aidl \
|
2009-06-05 13:22:28 +01:00
|
|
|
core/java/android/app/ISearchManagerCallback.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
core/java/android/app/IServiceConnection.aidl \
|
|
|
|
core/java/android/app/IThumbnailReceiver.aidl \
|
2011-04-08 18:14:09 -07:00
|
|
|
core/java/android/app/IThumbnailRetriever.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
core/java/android/app/ITransientNotification.aidl \
|
2010-02-09 23:09:17 +01:00
|
|
|
core/java/android/app/IUiModeManager.aidl \
|
2009-08-05 21:29:42 -07:00
|
|
|
core/java/android/app/IWallpaperManager.aidl \
|
|
|
|
core/java/android/app/IWallpaperManagerCallback.aidl \
|
2010-02-26 17:25:54 -08:00
|
|
|
core/java/android/app/admin/IDevicePolicyManager.aidl \
|
2010-03-05 15:46:30 -08:00
|
|
|
core/java/android/app/backup/IBackupManager.aidl \
|
Full local backup infrastructure
This is the basic infrastructure for pulling a full(*) backup of the
device's data over an adb(**) connection to the local device. The
basic process consists of these interacting pieces:
1. The framework's BackupManagerService, which coordinates the
collection of app data and routing to the destination.
2. A new framework-provided BackupAgent implementation called
FullBackupAgent, which is instantiated in the target applications'
processes in turn, and knows how to emit a datastream that contains
all of the app's saved data files.
3. A new shell-level program called "bu" that is used to bridge from
adb to the framework's Backup Manager.
4. adb itself, which now knows how to use 'bu' to kick off a backup
operation and pull the resulting data stream to the desktop host.
5. A system-provided application that verifies with the user that
an attempted backup/restore operation is in fact expected and to
be allowed.
The full agent implementation is not used during normal operation of
the delta-based app-customized remote backup process. Instead it's
used during user-confirmed *full* backup of applications and all their
data to a local destination, e.g. via the adb connection.
The output format is 'tar'. This makes it very easy for the end
user to examine the resulting dataset, e.g. for purpose of extracting
files for debug purposes; as well as making it easy to contemplate
adding things like a direct gzip stage to the data pipeline during
backup/restore. It also makes it convenient to construct and maintain
synthetic backup datasets for testing purposes.
Within the tar format, certain artificial conventions are used.
All files are stored within top-level directories according to
their semantic origin:
apps/pkgname/a/ : Application .apk file itself
apps/pkgname/obb/: The application's associated .obb containers
apps/pkgname/f/ : The subtree rooted at the getFilesDir() location
apps/pkgname/db/ : The subtree rooted at the getDatabasePath() parent
apps/pkgname/sp/ : The subtree rooted at the getSharedPrefsFile() parent
apps/pkgname/r/ : Files stored relative to the root of the app's file tree
apps/pkgname/c/ : Reserved for the app's getCacheDir() tree; not stored.
For each package, the first entry in the tar stream is a file called
"_manifest", nominally rooted at apps/pkgname. This file contains some
metadata about the package whose data is stored in the archive.
The contents of shared storage can optionally be included in the tar
stream. It is placed in the synthetic location:
shared/...
uid/gid are ignored; app uids are assigned at install time, and the
app's data is handled from within its own execution environment, so
will automatically have the app's correct uid.
Forward-locked .apk files are never backed up. System-partition
.apk files are not backed up unless they have been overridden by a
post-factory upgrade, in which case the current .apk *is* backed up --
i.e. the .apk that matches the on-disk data. The manifest preceding
each application's portion of the tar stream provides version numbers
and signature blocks for version checking, as well as an indication
of whether the restore logic should expect to install the .apk before
extracting the data.
System packages can designate their own full backup agents. This is
to manage things like the settings provider which (a) cannot be shut
down on the fly in order to do a clean snapshot of their file trees,
and (b) manage data that is not only irrelevant but actively hostile
to non-identical devices -- CDMA telephony settings would seriously
mess up a GSM device if emplaced there blind, for example.
When a full backup or restore is initiated from adb, the system will
present a confirmation UI that the user must explicitly respond to
within a short [~ 30 seconds] timeout. This is to avoid the
possibility of malicious desktop-side software secretly grabbing a copy
of all the user's data for nefarious purposes.
(*) The backup is not strictly a full mirror. In particular, the
settings database is not cloned; it is handled the same way that
it is in cloud backup/restore. This is because some settings
are actively destructive if cloned onto a different (or
especially a different-model) device: telephony settings and
AndroidID are good examples of this.
(**) On the framework side it doesn't care that it's adb; it just
sends the tar stream to a file descriptor. This can easily be
retargeted around whatever transport we might decide to use
in the future.
KNOWN ISSUES:
* the security UI is desperately ugly; no proper designs have yet
been done for it
* restore is not yet implemented
* shared storage backup is not yet implemented
* symlinks aren't yet handled, though some infrastructure for
dealing with them has been put in place.
Change-Id: Ia8347611e23b398af36ea22c36dff0a276b1ce91
2011-04-01 14:43:32 -07:00
|
|
|
core/java/android/app/backup/IFullBackupRestoreObserver.aidl \
|
2010-03-05 15:46:30 -08:00
|
|
|
core/java/android/app/backup/IRestoreObserver.aidl \
|
|
|
|
core/java/android/app/backup/IRestoreSession.aidl \
|
2009-08-14 18:33:38 -07:00
|
|
|
core/java/android/bluetooth/IBluetooth.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
core/java/android/bluetooth/IBluetoothA2dp.aidl \
|
2009-10-07 07:44:03 +02:00
|
|
|
core/java/android/bluetooth/IBluetoothCallback.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
core/java/android/bluetooth/IBluetoothHeadset.aidl \
|
2012-02-16 16:57:18 -08:00
|
|
|
core/java/android/bluetooth/IBluetoothHeadsetPhone.aidl \
|
2012-03-22 17:18:37 -07:00
|
|
|
core/java/android/bluetooth/IBluetoothHealth.aidl \
|
2011-04-01 16:33:09 -07:00
|
|
|
core/java/android/bluetooth/IBluetoothHealthCallback.aidl \
|
2012-03-21 23:15:06 -07:00
|
|
|
core/java/android/bluetooth/IBluetoothInputDevice.aidl \
|
2012-04-12 00:02:00 -07:00
|
|
|
core/java/android/bluetooth/IBluetoothPan.aidl \
|
|
|
|
core/java/android/bluetooth/IBluetoothManager.aidl \
|
|
|
|
core/java/android/bluetooth/IBluetoothManagerCallback.aidl \
|
2009-07-02 16:36:02 +08:00
|
|
|
core/java/android/bluetooth/IBluetoothPbap.aidl \
|
2011-07-21 18:13:38 -07:00
|
|
|
core/java/android/bluetooth/IBluetoothStateChangeCallback.aidl \
|
2010-08-04 17:48:03 -07:00
|
|
|
core/java/android/content/IClipboard.aidl \
|
2009-07-13 13:07:51 -07:00
|
|
|
core/java/android/content/IContentService.aidl \
|
2009-06-12 10:09:58 -07:00
|
|
|
core/java/android/content/IIntentReceiver.aidl \
|
|
|
|
core/java/android/content/IIntentSender.aidl \
|
2010-08-04 17:48:03 -07:00
|
|
|
core/java/android/content/IOnPrimaryClipChangedListener.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
core/java/android/content/ISyncAdapter.aidl \
|
|
|
|
core/java/android/content/ISyncContext.aidl \
|
2009-07-13 13:07:51 -07:00
|
|
|
core/java/android/content/ISyncStatusObserver.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
core/java/android/content/pm/IPackageDataObserver.aidl \
|
|
|
|
core/java/android/content/pm/IPackageDeleteObserver.aidl \
|
|
|
|
core/java/android/content/pm/IPackageInstallObserver.aidl \
|
|
|
|
core/java/android/content/pm/IPackageManager.aidl \
|
2010-02-19 09:19:34 -08:00
|
|
|
core/java/android/content/pm/IPackageMoveObserver.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
core/java/android/content/pm/IPackageStatsObserver.aidl \
|
|
|
|
core/java/android/database/IContentObserver.aidl \
|
2011-08-29 20:11:07 -04:00
|
|
|
core/java/android/hardware/ISerialManager.aidl \
|
2012-07-23 19:26:30 -07:00
|
|
|
core/java/android/hardware/display/IDisplayManager.aidl \
|
2012-04-05 14:27:12 -07:00
|
|
|
core/java/android/hardware/input/IInputManager.aidl \
|
2012-04-12 17:32:48 -07:00
|
|
|
core/java/android/hardware/input/IInputDevicesChangedListener.aidl \
|
2011-03-01 08:04:54 -08:00
|
|
|
core/java/android/hardware/usb/IUsbManager.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
core/java/android/net/IConnectivityManager.aidl \
|
2010-01-22 16:07:46 -08:00
|
|
|
core/java/android/net/INetworkManagementEventObserver.aidl \
|
2010-05-17 17:27:30 -04:00
|
|
|
core/java/android/net/IThrottleManager.aidl \
|
2011-05-19 17:12:49 -07:00
|
|
|
core/java/android/net/INetworkPolicyListener.aidl \
|
2011-05-03 20:27:17 -07:00
|
|
|
core/java/android/net/INetworkPolicyManager.aidl \
|
2011-05-24 18:39:45 -07:00
|
|
|
core/java/android/net/INetworkStatsService.aidl \
|
2012-04-06 11:12:08 -07:00
|
|
|
core/java/android/net/INetworkStatsSession.aidl \
|
2012-03-22 17:01:39 -07:00
|
|
|
core/java/android/net/nsd/INsdManager.aidl \
|
2011-05-24 02:57:37 -07:00
|
|
|
core/java/android/nfc/INdefPushCallback.aidl \
|
2010-10-14 19:16:35 -07:00
|
|
|
core/java/android/nfc/INfcAdapter.aidl \
|
2011-03-08 11:43:30 -08:00
|
|
|
core/java/android/nfc/INfcAdapterExtras.aidl \
|
2010-10-14 19:16:35 -07:00
|
|
|
core/java/android/nfc/INfcTag.aidl \
|
2012-05-07 20:06:46 -07:00
|
|
|
core/java/android/os/ICancellationSignal.aidl \
|
2010-05-17 17:27:30 -04:00
|
|
|
core/java/android/os/IHardwareService.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
core/java/android/os/IMessenger.aidl \
|
2010-01-14 10:25:07 -08:00
|
|
|
core/java/android/os/INetworkManagementService.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
core/java/android/os/IPermissionController.aidl \
|
|
|
|
core/java/android/os/IPowerManager.aidl \
|
2011-04-20 12:12:33 -07:00
|
|
|
core/java/android/os/IRemoteCallback.aidl \
|
2012-04-23 15:00:43 -07:00
|
|
|
core/java/android/os/ISchedulingPolicyService.aidl \
|
2012-02-23 14:59:36 -08:00
|
|
|
core/java/android/os/IUpdateLock.aidl \
|
2012-08-10 17:06:33 -07:00
|
|
|
core/java/android/os/IUserManager.aidl \
|
2009-11-24 00:30:52 -05:00
|
|
|
core/java/android/os/IVibratorService.aidl \
|
2012-01-30 14:33:52 -05:00
|
|
|
core/java/android/service/dreams/IDreamManager.aidl \
|
|
|
|
core/java/android/service/dreams/IDreamService.aidl \
|
2011-04-20 12:12:33 -07:00
|
|
|
core/java/android/service/wallpaper/IWallpaperConnection.aidl \
|
|
|
|
core/java/android/service/wallpaper/IWallpaperEngine.aidl \
|
|
|
|
core/java/android/service/wallpaper/IWallpaperService.aidl \
|
|
|
|
core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl\
|
|
|
|
core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl\
|
2009-05-14 22:28:01 -07:00
|
|
|
core/java/android/view/accessibility/IAccessibilityManager.aidl \
|
|
|
|
core/java/android/view/accessibility/IAccessibilityManagerClient.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
core/java/android/view/IApplicationToken.aidl \
|
2012-07-16 08:46:07 -07:00
|
|
|
core/java/android/view/IInputFilter.aidl \
|
|
|
|
core/java/android/view/IInputFilterHost.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
core/java/android/view/IOnKeyguardExitResult.aidl \
|
|
|
|
core/java/android/view/IRotationWatcher.aidl \
|
|
|
|
core/java/android/view/IWindow.aidl \
|
|
|
|
core/java/android/view/IWindowManager.aidl \
|
|
|
|
core/java/android/view/IWindowSession.aidl \
|
2009-09-15 11:19:58 -07:00
|
|
|
core/java/android/speech/IRecognitionListener.aidl \
|
|
|
|
core/java/android/speech/IRecognitionService.aidl \
|
2011-03-08 16:00:40 +00:00
|
|
|
core/java/android/speech/tts/ITextToSpeechCallback.aidl \
|
|
|
|
core/java/android/speech/tts/ITextToSpeechService.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
core/java/com/android/internal/app/IBatteryStats.aidl \
|
|
|
|
core/java/com/android/internal/app/IUsageStats.aidl \
|
2010-01-25 12:19:12 -08:00
|
|
|
core/java/com/android/internal/app/IMediaContainerService.aidl \
|
2009-03-11 12:11:56 -07:00
|
|
|
core/java/com/android/internal/appwidget/IAppWidgetService.aidl \
|
|
|
|
core/java/com/android/internal/appwidget/IAppWidgetHost.aidl \
|
2009-04-29 14:03:25 -07:00
|
|
|
core/java/com/android/internal/backup/IBackupTransport.aidl \
|
2011-09-05 16:03:14 -07:00
|
|
|
core/java/com/android/internal/policy/IFaceLockCallback.aidl \
|
|
|
|
core/java/com/android/internal/policy/IFaceLockInterface.aidl \
|
2009-11-12 11:32:50 -08:00
|
|
|
core/java/com/android/internal/os/IDropBoxManagerService.aidl \
|
2009-03-11 12:11:56 -07:00
|
|
|
core/java/com/android/internal/os/IResultReceiver.aidl \
|
2010-05-02 16:28:15 -07:00
|
|
|
core/java/com/android/internal/statusbar/IStatusBar.aidl \
|
|
|
|
core/java/com/android/internal/statusbar/IStatusBarService.aidl \
|
2011-06-22 16:38:13 +09:00
|
|
|
core/java/com/android/internal/textservice/ISpellCheckerService.aidl \
|
|
|
|
core/java/com/android/internal/textservice/ISpellCheckerSession.aidl \
|
|
|
|
core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl \
|
|
|
|
core/java/com/android/internal/textservice/ITextServicesManager.aidl \
|
|
|
|
core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl \
|
2009-03-03 19:31:44 -08: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/IInputMethodCallback.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 \
|
2012-03-28 11:42:42 -07:00
|
|
|
core/java/com/android/internal/widget/ILockSettings.aidl \
|
2010-07-16 11:18:17 -07:00
|
|
|
core/java/com/android/internal/widget/IRemoteViewsFactory.aidl \
|
2011-01-11 18:05:01 -08:00
|
|
|
core/java/com/android/internal/widget/IRemoteViewsAdapterConnection.aidl \
|
2011-06-09 15:05:35 -07:00
|
|
|
keystore/java/android/security/IKeyChainAliasCallback.aidl \
|
2011-04-11 09:03:51 -07:00
|
|
|
keystore/java/android/security/IKeyChainService.aidl \
|
2010-07-13 15:32:16 +08:00
|
|
|
location/java/android/location/ICountryDetector.aidl \
|
|
|
|
location/java/android/location/ICountryListener.aidl \
|
2009-04-15 11:10:11 -04:00
|
|
|
location/java/android/location/IGeocodeProvider.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
location/java/android/location/IGpsStatusListener.aidl \
|
2009-05-01 07:53:28 -04:00
|
|
|
location/java/android/location/IGpsStatusProvider.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
location/java/android/location/ILocationListener.aidl \
|
|
|
|
location/java/android/location/ILocationManager.aidl \
|
2009-08-18 18:28:45 -04:00
|
|
|
location/java/android/location/INetInitiatedListener.aidl \
|
Location overhaul, major commit.
Themes: Fused Location, Geofencing, LocationRequest.
API changes
o Fused location is always returned when asking for location by Criteria.
o Fused location is never returned as a LocationProvider object, nor returned
as a provider String. This wouldn't make sense because the current API
design assumes that LocationProvider's have fixed properties (accuracy, power
etc).
o The fused location engine will tune itself based on the criteria passed
by applications.
o Deprecate LocationProvider. Apps should use fused location (via Criteria
class), instead of enumerating through LocationProvider objects. It is
also over-engineered: designed for a world with a plethora of location
providers that never materialized.
o The Criteria class is also over-engineered, with many methods that aren't
currently used, but for now we won't deprecate them since they may have
value in the future. It is now used to tune the fused location engine.
o Deprecate getBestProvider() and getProvider().
o Add getLastKnownLocation(Criteria), so we can return last known
fused locations.
o Apps with only ACCESS_COARSE_LOCATION _can_ now use the GPS, but the location
they receive will be fudged to a 1km radius. They can also use NETWORK
and fused locatoins, which are fudged in the same way if necessary.
o Totally deprecate Criteria, in favor of LocationRequest.
Criteria was designed to map QOS to a location provider. What we
really need is to map QOS to _locations_.
The death knell was the conflicting ACCURACY_ constants on
Criteria, with values 1, 2, 3, 1, 2. Yes not a typo.
o Totally deprecate LocationProvider.
o Deprecate test/mock provider support. They require a named provider,
which is a concept we are moving away from. We do not yet have a
replacement, but I think its ok to deprecate since you also
need to have 'allow mock locations' checked in developer settings.
They will continue to work.
o Deprecate event codes associated with provider status. The fused
provider is _always_ available.
o Introduce Geofence data object to provide an easier path fowards
for polygons etc.
Implementation changes
o Fused implementation: incoming (GPS and NLP) location fixes are given
a weight, that exponentially decays with respect to age and accuracy.
The half-life of age is ~60 seconds, and the half-life of accuracy is
~20 meters. The fixes are weighted and combined to output a fused
location.
o Move Fused Location impl into
frameworks/base/packages/FusedLocation
o Refactor Fused Location behind the IProvider AIDL interface. This allow us
to distribute newer versions of Fused Location in a new APK, at run-time.
o Introduce ServiceWatcher.java, to refactor code used for run-time upgrades of
Fused Location, and the NLP.
o Fused Location is by default run in the system server (but can be moved to
any process or pacakge, even at run-time).
o Plumb the Criteria requirements through to the Fused Location provider via
ILocation.sendExtraCommand(). I re-used this interface to avoid modifying the
ILocation interface, which would have broken run-time upgradability of the
NLP.
o Switch the geofence manager to using fused location.
o Clean up 'adb shell dumpsys location' output.
o Introduce config_locationProviderPackageNames and
config_overlay_locationProviderPackageNames to configure the default
and overlay package names for Geocoder, NLP and FLP.
o Lots of misc cleanup.
o Improve location fudging. Apply random vector then quantize.
o Hide internal POJO's from clients of com.android.location.provider.jar
(NLP and FLP). Introduce wrappers ProviderRequestUnbundled and
ProviderPropertiesUnbundled.
o Introduce ProviderProperties to collapse all the provider accuracy/
bearing/altitude/power plumbing (that is deprecated anyway).
o DELETE lots of code: DummyLocationProvider,
o Rename the (internal) LocationProvider to LocationProviderBase.
o Plumb pid, uid and packageName throughout
LocationManagerService#Receiver to support future features.
TODO: The FLP and Geofencer have a lot of room to be more intelligent
TODO: Documentation
TODO: test test test
Change-Id: Iacefd2f176ed40ce1e23b090a164792aa8819c55
2012-07-16 12:18:23 -07:00
|
|
|
location/java/com/android/internal/location/ILocationProvider.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
media/java/android/media/IAudioService.aidl \
|
2010-01-28 11:56:42 -08:00
|
|
|
media/java/android/media/IAudioFocusDispatcher.aidl \
|
2012-06-19 14:03:09 -07:00
|
|
|
media/java/android/media/IAudioRoutesObserver.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
media/java/android/media/IMediaScannerListener.aidl \
|
|
|
|
media/java/android/media/IMediaScannerService.aidl \
|
2011-08-18 19:16:47 -07:00
|
|
|
media/java/android/media/IRemoteControlClient.aidl \
|
|
|
|
media/java/android/media/IRemoteControlDisplay.aidl \
|
2012-06-19 14:03:09 -07:00
|
|
|
media/java/android/media/IRemoteVolumeObserver.aidl \
|
2012-04-26 17:30:34 -07:00
|
|
|
media/java/android/media/IRingtonePlayer.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \
|
|
|
|
telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
|
|
|
|
telephony/java/com/android/internal/telephony/ITelephony.aidl \
|
|
|
|
telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \
|
2010-08-20 08:10:00 +09:00
|
|
|
telephony/java/com/android/internal/telephony/IWapPushManager.aidl \
|
2012-07-10 12:37:54 -07:00
|
|
|
telephony/java/com/android/internal/telephony/IExtendedNetworkService.aidl \
|
2009-03-27 18:24:06 -07:00
|
|
|
wifi/java/android/net/wifi/IWifiManager.aidl \
|
2011-06-24 14:23:07 -07:00
|
|
|
wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl \
|
2010-08-05 12:17:37 +08:00
|
|
|
voip/java/android/net/sip/ISipSession.aidl \
|
|
|
|
voip/java/android/net/sip/ISipSessionListener.aidl \
|
|
|
|
voip/java/android/net/sip/ISipService.aidl
|
|
|
|
#
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2009-12-08 12:47:12 -08:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
# FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk
|
|
|
|
LOCAL_AIDL_INCLUDES += $(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
|
|
|
|
|
|
|
|
LOCAL_INTERMEDIATE_SOURCES := \
|
2010-07-14 19:58:30 -07:00
|
|
|
$(framework_res_source_path)/android/R.java \
|
|
|
|
$(framework_res_source_path)/android/Manifest.java \
|
|
|
|
$(framework_res_source_path)/com/android/internal/R.java
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
LOCAL_NO_STANDARD_LIBRARIES := true
|
2010-06-30 00:54:29 -07:00
|
|
|
LOCAL_JAVA_LIBRARIES := bouncycastle core core-junit ext
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
LOCAL_MODULE := framework
|
|
|
|
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
|
|
|
|
|
|
|
# List of classes and interfaces which should be loaded by the Zygote.
|
|
|
|
LOCAL_JAVA_RESOURCE_FILES += $(LOCAL_PATH)/preloaded-classes
|
|
|
|
|
|
|
|
#LOCAL_JARJAR_RULES := $(LOCAL_PATH)/jarjar-rules.txt
|
|
|
|
|
|
|
|
LOCAL_DX_FLAGS := --core-library
|
|
|
|
|
|
|
|
include $(BUILD_JAVA_LIBRARY)
|
|
|
|
|
|
|
|
# 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
|
|
|
|
$(full_classes_compiled_jar): $(framework_res_R_stamp)
|
|
|
|
|
|
|
|
# Make sure that framework-res is installed when framework is.
|
|
|
|
$(LOCAL_INSTALLED_MODULE): | $(dir $(LOCAL_INSTALLED_MODULE))framework-res.apk
|
|
|
|
|
2011-09-15 16:16:45 -07:00
|
|
|
framework_built := $(call java-lib-deps,framework)
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
# AIDL files to be preprocessed and included in the SDK,
|
|
|
|
# relative to the root of the build tree.
|
|
|
|
# ============================================================
|
|
|
|
aidl_files := \
|
2009-03-24 22:48:12 -07:00
|
|
|
frameworks/base/core/java/android/accounts/IAccountManager.aidl \
|
|
|
|
frameworks/base/core/java/android/accounts/IAccountManagerResponse.aidl \
|
|
|
|
frameworks/base/core/java/android/accounts/IAccountAuthenticator.aidl \
|
|
|
|
frameworks/base/core/java/android/accounts/IAccountAuthenticatorResponse.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
frameworks/base/core/java/android/app/Notification.aidl \
|
|
|
|
frameworks/base/core/java/android/app/PendingIntent.aidl \
|
2009-11-04 17:23:55 -08:00
|
|
|
frameworks/base/core/java/android/bluetooth/BluetoothDevice.aidl \
|
2011-04-01 16:33:09 -07:00
|
|
|
frameworks/base/core/java/android/bluetooth/BluetoothHealthAppConfiguration.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
frameworks/base/core/java/android/content/ComponentName.aidl \
|
|
|
|
frameworks/base/core/java/android/content/Intent.aidl \
|
2009-06-12 10:09:58 -07:00
|
|
|
frameworks/base/core/java/android/content/IntentSender.aidl \
|
2010-01-27 12:17:49 -08:00
|
|
|
frameworks/base/core/java/android/content/PeriodicSync.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
frameworks/base/core/java/android/content/SyncStats.aidl \
|
|
|
|
frameworks/base/core/java/android/content/res/Configuration.aidl \
|
2009-03-11 12:11:56 -07:00
|
|
|
frameworks/base/core/java/android/appwidget/AppWidgetProviderInfo.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
frameworks/base/core/java/android/net/Uri.aidl \
|
2010-10-14 19:16:35 -07:00
|
|
|
frameworks/base/core/java/android/nfc/NdefMessage.aidl \
|
|
|
|
frameworks/base/core/java/android/nfc/NdefRecord.aidl \
|
|
|
|
frameworks/base/core/java/android/nfc/Tag.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
frameworks/base/core/java/android/os/Bundle.aidl \
|
2009-11-12 11:32:50 -08:00
|
|
|
frameworks/base/core/java/android/os/DropBoxManager.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \
|
2009-09-28 12:33:17 -07:00
|
|
|
frameworks/base/core/java/android/os/ParcelUuid.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
frameworks/base/core/java/android/view/KeyEvent.aidl \
|
|
|
|
frameworks/base/core/java/android/view/MotionEvent.aidl \
|
|
|
|
frameworks/base/core/java/android/view/Surface.aidl \
|
|
|
|
frameworks/base/core/java/android/view/WindowManager.aidl \
|
|
|
|
frameworks/base/core/java/android/widget/RemoteViews.aidl \
|
2011-06-22 16:38:13 +09:00
|
|
|
frameworks/base/core/java/com/android/internal/textservice/ISpellCheckerService.aidl \
|
|
|
|
frameworks/base/core/java/com/android/internal/textservice/ISpellCheckerSession.aidl \
|
|
|
|
frameworks/base/core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl \
|
|
|
|
frameworks/base/core/java/com/android/internal/textservice/ITextServicesManager.aidl \
|
|
|
|
frameworks/base/core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
frameworks/base/core/java/com/android/internal/view/IInputContext.aidl \
|
|
|
|
frameworks/base/core/java/com/android/internal/view/IInputMethod.aidl \
|
|
|
|
frameworks/base/core/java/com/android/internal/view/IInputMethodCallback.aidl \
|
|
|
|
frameworks/base/core/java/com/android/internal/view/IInputMethodClient.aidl \
|
|
|
|
frameworks/base/core/java/com/android/internal/view/IInputMethodManager.aidl \
|
|
|
|
frameworks/base/core/java/com/android/internal/view/IInputMethodSession.aidl \
|
|
|
|
frameworks/base/graphics/java/android/graphics/Bitmap.aidl \
|
|
|
|
frameworks/base/graphics/java/android/graphics/Rect.aidl \
|
|
|
|
frameworks/base/graphics/java/android/graphics/Region.aidl \
|
|
|
|
frameworks/base/location/java/android/location/Criteria.aidl \
|
Location overhaul, major commit.
Themes: Fused Location, Geofencing, LocationRequest.
API changes
o Fused location is always returned when asking for location by Criteria.
o Fused location is never returned as a LocationProvider object, nor returned
as a provider String. This wouldn't make sense because the current API
design assumes that LocationProvider's have fixed properties (accuracy, power
etc).
o The fused location engine will tune itself based on the criteria passed
by applications.
o Deprecate LocationProvider. Apps should use fused location (via Criteria
class), instead of enumerating through LocationProvider objects. It is
also over-engineered: designed for a world with a plethora of location
providers that never materialized.
o The Criteria class is also over-engineered, with many methods that aren't
currently used, but for now we won't deprecate them since they may have
value in the future. It is now used to tune the fused location engine.
o Deprecate getBestProvider() and getProvider().
o Add getLastKnownLocation(Criteria), so we can return last known
fused locations.
o Apps with only ACCESS_COARSE_LOCATION _can_ now use the GPS, but the location
they receive will be fudged to a 1km radius. They can also use NETWORK
and fused locatoins, which are fudged in the same way if necessary.
o Totally deprecate Criteria, in favor of LocationRequest.
Criteria was designed to map QOS to a location provider. What we
really need is to map QOS to _locations_.
The death knell was the conflicting ACCURACY_ constants on
Criteria, with values 1, 2, 3, 1, 2. Yes not a typo.
o Totally deprecate LocationProvider.
o Deprecate test/mock provider support. They require a named provider,
which is a concept we are moving away from. We do not yet have a
replacement, but I think its ok to deprecate since you also
need to have 'allow mock locations' checked in developer settings.
They will continue to work.
o Deprecate event codes associated with provider status. The fused
provider is _always_ available.
o Introduce Geofence data object to provide an easier path fowards
for polygons etc.
Implementation changes
o Fused implementation: incoming (GPS and NLP) location fixes are given
a weight, that exponentially decays with respect to age and accuracy.
The half-life of age is ~60 seconds, and the half-life of accuracy is
~20 meters. The fixes are weighted and combined to output a fused
location.
o Move Fused Location impl into
frameworks/base/packages/FusedLocation
o Refactor Fused Location behind the IProvider AIDL interface. This allow us
to distribute newer versions of Fused Location in a new APK, at run-time.
o Introduce ServiceWatcher.java, to refactor code used for run-time upgrades of
Fused Location, and the NLP.
o Fused Location is by default run in the system server (but can be moved to
any process or pacakge, even at run-time).
o Plumb the Criteria requirements through to the Fused Location provider via
ILocation.sendExtraCommand(). I re-used this interface to avoid modifying the
ILocation interface, which would have broken run-time upgradability of the
NLP.
o Switch the geofence manager to using fused location.
o Clean up 'adb shell dumpsys location' output.
o Introduce config_locationProviderPackageNames and
config_overlay_locationProviderPackageNames to configure the default
and overlay package names for Geocoder, NLP and FLP.
o Lots of misc cleanup.
o Improve location fudging. Apply random vector then quantize.
o Hide internal POJO's from clients of com.android.location.provider.jar
(NLP and FLP). Introduce wrappers ProviderRequestUnbundled and
ProviderPropertiesUnbundled.
o Introduce ProviderProperties to collapse all the provider accuracy/
bearing/altitude/power plumbing (that is deprecated anyway).
o DELETE lots of code: DummyLocationProvider,
o Rename the (internal) LocationProvider to LocationProviderBase.
o Plumb pid, uid and packageName throughout
LocationManagerService#Receiver to support future features.
TODO: The FLP and Geofencer have a lot of room to be more intelligent
TODO: Documentation
TODO: test test test
Change-Id: Iacefd2f176ed40ce1e23b090a164792aa8819c55
2012-07-16 12:18:23 -07:00
|
|
|
frameworks/base/location/java/android/location/Geofence.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
frameworks/base/location/java/android/location/Location.aidl \
|
Location overhaul, major commit.
Themes: Fused Location, Geofencing, LocationRequest.
API changes
o Fused location is always returned when asking for location by Criteria.
o Fused location is never returned as a LocationProvider object, nor returned
as a provider String. This wouldn't make sense because the current API
design assumes that LocationProvider's have fixed properties (accuracy, power
etc).
o The fused location engine will tune itself based on the criteria passed
by applications.
o Deprecate LocationProvider. Apps should use fused location (via Criteria
class), instead of enumerating through LocationProvider objects. It is
also over-engineered: designed for a world with a plethora of location
providers that never materialized.
o The Criteria class is also over-engineered, with many methods that aren't
currently used, but for now we won't deprecate them since they may have
value in the future. It is now used to tune the fused location engine.
o Deprecate getBestProvider() and getProvider().
o Add getLastKnownLocation(Criteria), so we can return last known
fused locations.
o Apps with only ACCESS_COARSE_LOCATION _can_ now use the GPS, but the location
they receive will be fudged to a 1km radius. They can also use NETWORK
and fused locatoins, which are fudged in the same way if necessary.
o Totally deprecate Criteria, in favor of LocationRequest.
Criteria was designed to map QOS to a location provider. What we
really need is to map QOS to _locations_.
The death knell was the conflicting ACCURACY_ constants on
Criteria, with values 1, 2, 3, 1, 2. Yes not a typo.
o Totally deprecate LocationProvider.
o Deprecate test/mock provider support. They require a named provider,
which is a concept we are moving away from. We do not yet have a
replacement, but I think its ok to deprecate since you also
need to have 'allow mock locations' checked in developer settings.
They will continue to work.
o Deprecate event codes associated with provider status. The fused
provider is _always_ available.
o Introduce Geofence data object to provide an easier path fowards
for polygons etc.
Implementation changes
o Fused implementation: incoming (GPS and NLP) location fixes are given
a weight, that exponentially decays with respect to age and accuracy.
The half-life of age is ~60 seconds, and the half-life of accuracy is
~20 meters. The fixes are weighted and combined to output a fused
location.
o Move Fused Location impl into
frameworks/base/packages/FusedLocation
o Refactor Fused Location behind the IProvider AIDL interface. This allow us
to distribute newer versions of Fused Location in a new APK, at run-time.
o Introduce ServiceWatcher.java, to refactor code used for run-time upgrades of
Fused Location, and the NLP.
o Fused Location is by default run in the system server (but can be moved to
any process or pacakge, even at run-time).
o Plumb the Criteria requirements through to the Fused Location provider via
ILocation.sendExtraCommand(). I re-used this interface to avoid modifying the
ILocation interface, which would have broken run-time upgradability of the
NLP.
o Switch the geofence manager to using fused location.
o Clean up 'adb shell dumpsys location' output.
o Introduce config_locationProviderPackageNames and
config_overlay_locationProviderPackageNames to configure the default
and overlay package names for Geocoder, NLP and FLP.
o Lots of misc cleanup.
o Improve location fudging. Apply random vector then quantize.
o Hide internal POJO's from clients of com.android.location.provider.jar
(NLP and FLP). Introduce wrappers ProviderRequestUnbundled and
ProviderPropertiesUnbundled.
o Introduce ProviderProperties to collapse all the provider accuracy/
bearing/altitude/power plumbing (that is deprecated anyway).
o DELETE lots of code: DummyLocationProvider,
o Rename the (internal) LocationProvider to LocationProviderBase.
o Plumb pid, uid and packageName throughout
LocationManagerService#Receiver to support future features.
TODO: The FLP and Geofencer have a lot of room to be more intelligent
TODO: Documentation
TODO: test test test
Change-Id: Iacefd2f176ed40ce1e23b090a164792aa8819c55
2012-07-16 12:18:23 -07:00
|
|
|
frameworks/base/location/java/android/location/LocationRequest.aidl \
|
|
|
|
frameworks/base/location/java/com/android/internal/location/ProviderProperties.aidl \
|
|
|
|
frameworks/base/location/java/com/android/internal/location/ProviderRequest.aidl \
|
2009-03-03 19:31:44 -08:00
|
|
|
frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
|
|
|
|
frameworks/base/telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
|
2009-06-08 22:05:22 -07:00
|
|
|
frameworks/base/telephony/java/com/android/internal/telephony/ITelephony.aidl \
|
2009-03-03 19:31:44 -08: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
|
|
|
|
|
|
|
|
# Search through the base framework dirs for these packages.
|
|
|
|
# The result will be relative to frameworks/base.
|
|
|
|
fwbase_dirs_to_document := \
|
2010-02-19 10:49:27 -08:00
|
|
|
test-runner/src \
|
2009-03-03 19:31:44 -08:00
|
|
|
$(patsubst $(LOCAL_PATH)/%,%, \
|
|
|
|
$(wildcard \
|
|
|
|
$(foreach dir, $(FRAMEWORKS_BASE_JAVA_SRC_DIRS), \
|
|
|
|
$(addprefix $(dir)/, $(packages_to_document)) \
|
|
|
|
) \
|
|
|
|
) \
|
|
|
|
)
|
|
|
|
|
2011-01-05 17:52:36 -08:00
|
|
|
# include definition of libcore_to_document
|
2012-04-16 10:13:59 -07:00
|
|
|
include libcore/Docs.mk
|
|
|
|
|
|
|
|
# include definition of junit_to_document
|
|
|
|
include external/junit/Common.mk
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
non_base_dirs := \
|
2012-07-10 12:37:54 -07:00
|
|
|
../../external/apache-http/src/org/apache/http \
|
|
|
|
../opt/telephony/src/java/android/telephony \
|
|
|
|
../opt/telephony/src/java/android/telephony/gsm \
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
# These are relative to frameworks/base
|
2011-11-17 11:53:46 -08:00
|
|
|
dirs_to_check_apis := \
|
|
|
|
$(fwbase_dirs_to_document) \
|
2011-03-24 14:14:28 -07:00
|
|
|
$(non_base_dirs)
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2011-11-17 11:53:46 -08:00
|
|
|
# These are relative to frameworks/base
|
|
|
|
# FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
|
|
|
|
dirs_to_document := \
|
|
|
|
$(dirs_to_check_apis) \
|
|
|
|
$(addprefix ../../, $(FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS))
|
|
|
|
|
|
|
|
# These are relative to frameworks/base
|
2009-03-03 19:31:44 -08:00
|
|
|
html_dirs := \
|
|
|
|
$(FRAMEWORKS_BASE_SUBDIRS) \
|
|
|
|
$(non_base_dirs)
|
|
|
|
|
2011-11-17 11:53:46 -08:00
|
|
|
# Common sources for doc check and api check
|
|
|
|
common_src_files := \
|
|
|
|
$(call find-other-html-files, $(html_dirs)) \
|
2012-04-16 10:13:59 -07:00
|
|
|
$(addprefix ../../libcore/, $(call libcore_to_document, $(LOCAL_PATH)/../../libcore)) \
|
|
|
|
$(addprefix ../../external/junit/, $(call junit_to_document, $(LOCAL_PATH)/../../external/junit))
|
2011-11-17 11:53:46 -08:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
# These are relative to frameworks/base
|
|
|
|
framework_docs_LOCAL_SRC_FILES := \
|
|
|
|
$(call find-other-java-files, $(dirs_to_document)) \
|
2011-11-17 11:53:46 -08: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)
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2010-05-17 18:21:44 -07:00
|
|
|
# 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))
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
|
|
|
|
$(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
|
|
|
|
|
|
|
|
framework_docs_LOCAL_INTERMEDIATE_SOURCES := \
|
2010-07-14 19:58:30 -07:00
|
|
|
$(framework_res_source_path)/android/R.java \
|
|
|
|
$(framework_res_source_path)/android/Manifest.java \
|
|
|
|
$(framework_res_source_path)/com/android/internal/R.java
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
framework_docs_LOCAL_JAVA_LIBRARIES := \
|
2010-06-30 00:54:29 -07:00
|
|
|
bouncycastle \
|
2009-03-03 19:31:44 -08:00
|
|
|
core \
|
|
|
|
ext \
|
2009-12-10 17:08:14 -08:00
|
|
|
framework \
|
2012-07-10 12:37:54 -07:00
|
|
|
mms-common \
|
|
|
|
telephony-common \
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
2010-08-27 15:05:39 -04:00
|
|
|
framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html
|
2009-07-31 13:03:36 -07:00
|
|
|
# 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.
|
2009-03-03 19:31:44 -08:00
|
|
|
framework_docs_LOCAL_DROIDDOC_OPTIONS := \
|
2010-09-16 11:56:03 -04:00
|
|
|
-knowntags ./frameworks/base/docs/knowntags.txt \
|
2009-07-31 13:03:36 -07:00
|
|
|
-since ./frameworks/base/api/1.xml 1 \
|
|
|
|
-since ./frameworks/base/api/2.xml 2 \
|
|
|
|
-since ./frameworks/base/api/3.xml 3 \
|
2009-08-24 14:45:00 -07:00
|
|
|
-since ./frameworks/base/api/4.xml 4 \
|
2009-10-16 15:25:15 -07:00
|
|
|
-since ./frameworks/base/api/5.xml 5 \
|
2009-11-18 23:06:16 -08:00
|
|
|
-since ./frameworks/base/api/6.xml 6 \
|
2009-12-16 21:41:10 -08:00
|
|
|
-since ./frameworks/base/api/7.xml 7 \
|
2010-04-19 12:00:15 -07:00
|
|
|
-since ./frameworks/base/api/8.xml 8 \
|
2010-10-18 18:41:52 -07:00
|
|
|
-since ./frameworks/base/api/9.xml 9 \
|
2011-01-26 17:40:35 -08:00
|
|
|
-since ./frameworks/base/api/10.xml 10 \
|
2011-02-07 16:35:46 -08:00
|
|
|
-since ./frameworks/base/api/11.xml 11 \
|
2011-03-29 16:25:16 -07:00
|
|
|
-since ./frameworks/base/api/12.xml 12 \
|
2011-06-21 10:14:44 -07:00
|
|
|
-since ./frameworks/base/api/13.xml 13 \
|
2011-09-21 18:09:25 -07:00
|
|
|
-since ./frameworks/base/api/14.txt 14 \
|
2011-12-12 13:49:31 -08:00
|
|
|
-since ./frameworks/base/api/15.txt 15 \
|
2012-06-21 21:20:42 -07:00
|
|
|
-since ./frameworks/base/api/16.txt 16 \
|
2010-09-16 15:42:20 -04:00
|
|
|
-werror -hide 113 \
|
2009-03-03 19:31:44 -08:00
|
|
|
-overview $(LOCAL_PATH)/core/java/overview.html
|
|
|
|
|
2011-05-17 13:12:42 -07:00
|
|
|
framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON)
|
2010-09-16 11:56:03 -04:00
|
|
|
|
|
|
|
framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \
|
|
|
|
frameworks/base/docs/knowntags.txt
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
sample_dir := development/samples
|
|
|
|
|
2010-02-08 10:53:12 -08:00
|
|
|
# the list here should match the list of samples included in the sdk samples package
|
|
|
|
# (see development/build/sdk.atree)
|
2009-03-03 19:31:44 -08:00
|
|
|
web_docs_sample_code_flags := \
|
|
|
|
-hdf android.hasSamples 1 \
|
2010-11-24 16:17:52 -08:00
|
|
|
-samplecode $(sample_dir)/AccelerometerPlay \
|
|
|
|
resources/samples/AccelerometerPlay "Accelerometer Play" \
|
2011-09-30 15:48:34 -07:00
|
|
|
-samplecode $(sample_dir)/ActionBarCompat \
|
|
|
|
resources/samples/ActionBarCompat "Action Bar Compatibility" \
|
2011-10-14 01:24:57 -07:00
|
|
|
-samplecode $(sample_dir)/AndroidBeamDemo \
|
2011-10-14 14:29:14 -07:00
|
|
|
resources/samples/AndroidBeamDemo "Android Beam Demo" \
|
2011-06-16 13:31:57 -07:00
|
|
|
-samplecode $(sample_dir)/ApiDemos \
|
2011-01-19 18:14:50 -08:00
|
|
|
resources/samples/ApiDemos "API Demos" \
|
2011-06-16 13:31:57 -07:00
|
|
|
-samplecode $(sample_dir)/Support4Demos \
|
|
|
|
resources/samples/Support4Demos "API 4+ Support Demos" \
|
|
|
|
-samplecode $(sample_dir)/Support13Demos \
|
|
|
|
resources/samples/Support13Demos "API 13+ Support Demos" \
|
2010-04-07 11:15:45 -07:00
|
|
|
-samplecode $(sample_dir)/BackupRestore \
|
|
|
|
resources/samples/BackupRestore "Backup and Restore" \
|
2009-12-10 16:25:06 -08:00
|
|
|
-samplecode $(sample_dir)/BluetoothChat \
|
|
|
|
resources/samples/BluetoothChat "Bluetooth Chat" \
|
2011-11-16 15:15:30 -08:00
|
|
|
-samplecode $(sample_dir)/BluetoothHDP \
|
|
|
|
resources/samples/BluetoothHDP "Bluetooth HDP Demo" \
|
2010-01-07 16:26:39 -08:00
|
|
|
-samplecode $(sample_dir)/BusinessCard \
|
|
|
|
resources/samples/BusinessCard "Business Card" \
|
2009-12-10 16:25:06 -08:00
|
|
|
-samplecode $(sample_dir)/ContactManager \
|
|
|
|
resources/samples/ContactManager "Contact Manager" \
|
2011-09-30 15:48:34 -07:00
|
|
|
-samplecode $(sample_dir)/CubeLiveWallpaper \
|
|
|
|
resources/samples/CubeLiveWallpaper "Cube Live Wallpaper" \
|
2009-08-24 14:45:00 -07:00
|
|
|
-samplecode $(sample_dir)/Home \
|
2009-12-10 16:25:06 -08:00
|
|
|
resources/samples/Home "Home" \
|
2011-09-30 15:48:34 -07:00
|
|
|
-samplecode $(sample_dir)/HoneycombGallery \
|
|
|
|
resources/samples/HoneycombGallery "Honeycomb Gallery" \
|
2009-08-24 14:45:00 -07:00
|
|
|
-samplecode $(sample_dir)/JetBoy \
|
2009-12-10 16:25:06 -08:00
|
|
|
resources/samples/JetBoy "JetBoy" \
|
2012-03-29 01:33:08 +08:00
|
|
|
-samplecode $(sample_dir)/KeyChainDemo \
|
|
|
|
resources/samples/KeyChainDemo "KeyChain Demo" \
|
2009-03-03 19:31:44 -08:00
|
|
|
-samplecode $(sample_dir)/LunarLander \
|
2009-12-10 16:25:06 -08:00
|
|
|
resources/samples/LunarLander "Lunar Lander" \
|
2011-12-15 10:44:11 -08:00
|
|
|
-samplecode $(sample_dir)/training/ads-and-ux \
|
|
|
|
resources/samples/training/ads-and-ux "Mobile Advertisement Integration" \
|
2009-12-10 16:25:06 -08:00
|
|
|
-samplecode $(sample_dir)/MultiResolution \
|
|
|
|
resources/samples/MultiResolution "Multiple Resolutions" \
|
2011-12-09 17:27:21 -08:00
|
|
|
-samplecode $(sample_dir)/training/multiscreen/newsreader \
|
|
|
|
resources/samples/newsreader "News Reader" \
|
2009-03-03 19:31:44 -08:00
|
|
|
-samplecode $(sample_dir)/NotePad \
|
2009-12-10 16:25:06 -08:00
|
|
|
resources/samples/NotePad "Note Pad" \
|
2011-10-19 22:46:18 +09:00
|
|
|
-samplecode $(sample_dir)/SpellChecker/SampleSpellCheckerService \
|
2011-10-28 15:55:39 -07:00
|
|
|
resources/samples/SpellChecker/SampleSpellCheckerService "Spell Checker Service" \
|
2011-10-27 19:57:34 +09:00
|
|
|
-samplecode $(sample_dir)/SpellChecker/HelloSpellChecker \
|
2011-10-28 15:55:39 -07:00
|
|
|
resources/samples/SpellChecker/HelloSpellChecker "Spell Checker Client" \
|
2010-06-04 13:38:43 -07:00
|
|
|
-samplecode $(sample_dir)/SampleSyncAdapter \
|
|
|
|
resources/samples/SampleSyncAdapter "Sample Sync Adapter" \
|
2011-06-07 01:23:02 -04:00
|
|
|
-samplecode $(sample_dir)/RandomMusicPlayer \
|
|
|
|
resources/samples/RandomMusicPlayer "Random Music Player" \
|
2011-02-28 15:53:15 -08:00
|
|
|
-samplecode $(sample_dir)/RenderScript \
|
|
|
|
resources/samples/RenderScript "RenderScript" \
|
2009-08-29 13:17:53 -07:00
|
|
|
-samplecode $(sample_dir)/SearchableDictionary \
|
2010-05-07 15:08:36 -07:00
|
|
|
resources/samples/SearchableDictionary "Searchable Dictionary v2" \
|
2010-11-02 22:26:11 -07:00
|
|
|
-samplecode $(sample_dir)/SipDemo \
|
|
|
|
resources/samples/SipDemo "SIP Demo" \
|
2009-08-24 14:45:00 -07:00
|
|
|
-samplecode $(sample_dir)/Snake \
|
2009-12-10 16:25:06 -08:00
|
|
|
resources/samples/Snake "Snake" \
|
2009-08-24 14:45:00 -07:00
|
|
|
-samplecode $(sample_dir)/SoftKeyboard \
|
2009-12-10 16:25:06 -08:00
|
|
|
resources/samples/SoftKeyboard "Soft Keyboard" \
|
2010-04-14 14:40:59 -07:00
|
|
|
-samplecode $(sample_dir)/Spinner \
|
|
|
|
resources/samples/Spinner "Spinner" \
|
|
|
|
-samplecode $(sample_dir)/SpinnerTest \
|
|
|
|
resources/samples/SpinnerTest "SpinnerTest" \
|
2011-02-10 18:57:45 -08:00
|
|
|
-samplecode $(sample_dir)/StackWidget \
|
2011-02-15 10:58:34 -08:00
|
|
|
resources/samples/StackWidget "StackView Widget" \
|
2010-05-08 21:22:11 -07:00
|
|
|
-samplecode $(sample_dir)/TicTacToeLib \
|
|
|
|
resources/samples/TicTacToeLib "TicTacToeLib" \
|
|
|
|
-samplecode $(sample_dir)/TicTacToeMain \
|
|
|
|
resources/samples/TicTacToeMain "TicTacToeMain" \
|
2011-11-28 16:44:13 -08:00
|
|
|
-samplecode $(sample_dir)/ToyVpn \
|
|
|
|
resources/samples/ToyVpn "Toy VPN Client" \
|
2011-05-02 17:49:05 -07:00
|
|
|
-samplecode $(sample_dir)/USB \
|
|
|
|
resources/samples/USB "USB" \
|
2011-02-10 19:11:33 -08:00
|
|
|
-samplecode $(sample_dir)/WeatherListWidget \
|
2011-02-15 10:58:34 -08:00
|
|
|
resources/samples/WeatherListWidget "Weather List Widget" \
|
2011-10-06 08:03:45 +05:30
|
|
|
-samplecode $(sample_dir)/WiFiDirectDemo \
|
|
|
|
resources/samples/WiFiDirectDemo "Wi-Fi Direct Demo" \
|
2009-12-10 16:25:06 -08:00
|
|
|
-samplecode $(sample_dir)/Wiktionary \
|
|
|
|
resources/samples/Wiktionary "Wiktionary" \
|
|
|
|
-samplecode $(sample_dir)/WiktionarySimple \
|
2010-02-12 14:09:55 -08:00
|
|
|
resources/samples/WiktionarySimple "Wiktionary (Simplified)" \
|
|
|
|
-samplecode $(sample_dir)/VoiceRecognitionService \
|
2010-06-23 16:53:35 -07:00
|
|
|
resources/samples/VoiceRecognitionService "Voice Recognition Service" \
|
2011-05-19 13:21:48 +01:00
|
|
|
-samplecode $(sample_dir)/VoicemailProviderDemo \
|
|
|
|
resources/samples/VoicemailProviderDemo "Voicemail Provider Demo" \
|
2010-06-23 16:53:35 -07:00
|
|
|
-samplecode $(sample_dir)/XmlAdapters \
|
2011-06-23 10:43:27 +01:00
|
|
|
resources/samples/XmlAdapters "XML Adapters" \
|
|
|
|
-samplecode $(sample_dir)/TtsEngine \
|
2011-12-15 10:25:41 -08:00
|
|
|
resources/samples/TtsEngine "Text To Speech Engine" \
|
|
|
|
-samplecode $(sample_dir)/training/device-management-policy \
|
|
|
|
resources/samples/training/device-management-policy "Device Management Policy"
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2009-08-05 19:04:18 -07:00
|
|
|
## SDK version identifiers used in the published docs
|
|
|
|
# major[.minor] version for current SDK. (full releases only)
|
2012-06-21 21:20:42 -07:00
|
|
|
framework_docs_SDK_VERSION:=4.1
|
2009-08-05 19:04:18 -07:00
|
|
|
# release version (ie "Release x") (full releases only)
|
2011-02-07 16:35:46 -08:00
|
|
|
framework_docs_SDK_REL_ID:=1
|
2009-04-20 17:56:34 -07:00
|
|
|
|
|
|
|
framework_docs_LOCAL_DROIDDOC_OPTIONS += \
|
|
|
|
-hdf sdk.version $(framework_docs_SDK_VERSION) \
|
2010-11-29 14:28:13 -08:00
|
|
|
-hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
|
2011-02-07 16:35:46 -08:00
|
|
|
-hdf sdk.preview 0 \
|
2009-03-03 19:31:44 -08:00
|
|
|
|
2009-07-20 11:57:12 -04:00
|
|
|
# ==== the api stubs and current.xml ===========================
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2011-11-17 11:53:46 -08:00
|
|
|
LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
|
2009-07-20 11:57:12 -04:00
|
|
|
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)
|
2010-09-16 11:56:03 -04:00
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
|
2009-07-20 11:57:12 -04:00
|
|
|
|
|
|
|
LOCAL_MODULE := api-stubs
|
|
|
|
|
|
|
|
LOCAL_DROIDDOC_OPTIONS:=\
|
|
|
|
$(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
|
|
|
|
-stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src \
|
2011-03-09 13:34:39 -08:00
|
|
|
-api $(INTERNAL_PLATFORM_API_FILE) \
|
2009-07-20 11:57:12 -04:00
|
|
|
-nodocs
|
|
|
|
|
|
|
|
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
|
|
|
|
|
2010-09-01 10:41:35 -07:00
|
|
|
LOCAL_UNINSTALLABLE_MODULE := true
|
|
|
|
|
2009-07-20 11:57:12 -04:00
|
|
|
include $(BUILD_DROIDDOC)
|
|
|
|
|
2010-05-07 15:00:10 -07:00
|
|
|
# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
|
|
|
|
$(full_target): $(framework_built) $(gen)
|
2009-07-20 11:57:12 -04:00
|
|
|
$(INTERNAL_PLATFORM_API_FILE): $(full_target)
|
|
|
|
$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE))
|
|
|
|
|
2010-08-27 17:13:22 -04: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)
|
2010-09-16 11:56:03 -04:00
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
|
2010-08-27 17:13:22 -04:00
|
|
|
|
|
|
|
LOCAL_MODULE := doc-comment-check
|
|
|
|
|
|
|
|
LOCAL_DROIDDOC_OPTIONS:=\
|
|
|
|
$(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
|
|
|
|
-parsecomments
|
|
|
|
|
|
|
|
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
|
|
|
|
|
2010-09-01 10:41:35 -07:00
|
|
|
LOCAL_UNINSTALLABLE_MODULE := true
|
|
|
|
|
2010-08-27 17:13:22 -04:00
|
|
|
include $(BUILD_DROIDDOC)
|
|
|
|
|
|
|
|
# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
|
|
|
|
$(full_target): $(framework_built) $(gen)
|
|
|
|
|
|
|
|
droidcore: doc-comment-check-docs
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
# ==== 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)
|
2010-09-16 11:56:03 -04:00
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
LOCAL_MODULE := offline-sdk
|
|
|
|
|
|
|
|
LOCAL_DROIDDOC_OPTIONS:=\
|
|
|
|
$(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
|
2009-11-19 20:19:49 -08:00
|
|
|
$(web_docs_sample_code_flags) \
|
2009-11-20 10:44:21 -08:00
|
|
|
-offlinemode \
|
2009-03-03 19:31:44 -08:00
|
|
|
-title "Android SDK" \
|
|
|
|
-proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
|
|
|
|
-todo $(OUT_DOCS)/$(LOCAL_MODULE)-docs-todo.html \
|
|
|
|
-sdkvalues $(OUT_DOCS) \
|
2010-08-25 12:12:57 -07:00
|
|
|
-hdf android.whichdoc offline
|
2009-08-05 19:04:18 -07:00
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
|
|
|
|
|
|
|
|
include $(BUILD_DROIDDOC)
|
|
|
|
|
|
|
|
static_doc_index_redirect := $(out_dir)/index.html
|
|
|
|
$(static_doc_index_redirect): \
|
2009-04-20 17:56:34 -07:00
|
|
|
$(LOCAL_PATH)/docs/docs-documentation-redirect.html | $(ACP)
|
2009-03-03 19:31:44 -08:00
|
|
|
$(hide) mkdir -p $(dir $@)
|
|
|
|
$(hide) $(ACP) $< $@
|
|
|
|
|
|
|
|
$(full_target): $(static_doc_index_redirect)
|
|
|
|
$(full_target): $(framework_built)
|
|
|
|
|
|
|
|
# ==== docs for the web (on the google 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)
|
2010-09-16 11:56:03 -04:00
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
LOCAL_MODULE := online-sdk
|
|
|
|
|
|
|
|
LOCAL_DROIDDOC_OPTIONS:= \
|
2009-04-20 17:56:34 -07:00
|
|
|
$(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
|
|
|
|
$(web_docs_sample_code_flags) \
|
|
|
|
-toroot / \
|
2009-07-07 17:37:13 -07:00
|
|
|
-hdf android.whichdoc online \
|
|
|
|
-hdf template.showLanguageMenu true
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
|
|
|
|
|
|
|
|
include $(BUILD_DROIDDOC)
|
|
|
|
|
2010-08-25 18:13:02 -07:00
|
|
|
# explicitly specify that online-sdk depends on framework-res and any generated docs
|
2010-08-25 08:21:15 -04:00
|
|
|
$(full_target): framework-res-package-target
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
# ==== 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) framework
|
|
|
|
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)
|
2011-05-17 13:12:42 -07:00
|
|
|
LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
|
2010-09-16 11:56:03 -04:00
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
LOCAL_MODULE := hidden
|
|
|
|
LOCAL_DROIDDOC_OPTIONS:=\
|
|
|
|
$(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
|
2010-08-25 12:12:57 -07:00
|
|
|
-title "Android SDK - Including hidden APIs."
|
|
|
|
# -hidden
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
|
|
|
|
|
|
|
|
include $(BUILD_DROIDDOC)
|
|
|
|
|
|
|
|
# Build ext.jar
|
|
|
|
# ============================================================
|
|
|
|
|
2010-10-19 14:54:05 -07:00
|
|
|
# NOTICE notes for non-obvious sections
|
|
|
|
# apache-http - covered by the Apache Commons section.
|
|
|
|
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
ext_dirs := \
|
2010-08-05 12:17:37 +08:00
|
|
|
../../external/nist-sip/java \
|
2009-03-03 19:31:44 -08:00
|
|
|
../../external/apache-http/src \
|
2010-06-07 10:25:53 +08:00
|
|
|
../../external/tagsoup/src \
|
|
|
|
../../external/libphonenumber/java/src
|
2009-03-03 19:31:44 -08:00
|
|
|
|
|
|
|
ext_src_files := $(call all-java-files-under,$(ext_dirs))
|
|
|
|
|
2010-06-07 10:25:53 +08:00
|
|
|
ext_res_dirs := \
|
|
|
|
../../external/libphonenumber/java/src
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
# ==== the library =========================================
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := $(ext_src_files)
|
|
|
|
|
|
|
|
LOCAL_NO_STANDARD_LIBRARIES := true
|
|
|
|
LOCAL_JAVA_LIBRARIES := core
|
2010-06-07 10:25:53 +08:00
|
|
|
LOCAL_JAVA_RESOURCE_DIRS := $(ext_res_dirs)
|
2010-09-16 17:50:43 -07:00
|
|
|
LOCAL_MODULE_TAGS := optional
|
2009-03-03 19:31:44 -08:00
|
|
|
LOCAL_MODULE := ext
|
|
|
|
|
2011-04-01 15:49:41 -07:00
|
|
|
LOCAL_DX_FLAGS := --core-library
|
|
|
|
|
2009-03-03 19:31:44 -08:00
|
|
|
include $(BUILD_JAVA_LIBRARY)
|
|
|
|
|
|
|
|
|
|
|
|
# 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
|