History log of /frameworks/base/Android.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
02937eba3251c475263169f0529060d8cdd1cc1a 09-Jan-2015 Ying Wang <wangying@google.com> Check in "current" system API files.

The API files were generated by running "make showcommands update-system-api".

Bug: 18960664
Change-Id: Ibb4756d98be3cbf67f6103f5d5d8ff060b3c34c9
/frameworks/base/Android.mk
0212be5150fb9fb3c340f3c7e51f6126372cc6f9 24-Nov-2014 Jean-Michel Trivi <jmtrivi@google.com> Support collaborative audio focus handling

Add new flag for an app to define it doesn't duck, but rather
pauses when losing focus with AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK.
This flag is to be used when requesting focus.
Add support for AudioPolicy to specify whether it will implement
ducking itself, rather than it being handled by an app.
When ducking is handled by a policy, do not notify focus owners
when they lose audio focus with LOSS_TRANSIENT_CAN_DUCK, unless
they would have paused, as expressed with the
AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS flag.
Add a focus listener for a policy to be notified of focus changes
so it can properly implement its own ducking.

Bug 16010554

Change-Id: I11d7cdb85c52fd086128a44f4d938aaa44db5c25
/frameworks/base/Android.mk
fb967585cc43937a88b0ed9a5e434a50b0a498b9 05-Dec-2014 Benjamin Franz <bfranz@google.com> Merge "Change the routing path of bluetooth headset connections." into lmp-mr1-dev
e8b98925d08f720c4d22b626d0650de536840a9a 12-Nov-2014 Benjamin Franz <bfranz@google.com> Change the routing path of bluetooth headset connections.

The HeadsetService is now bound directly by the BluetoothManagerService.
The IBinder object related to the HeadsetService is then given back to
the BluetoothHeadset and to the client app. This change makes the
HeadsetService available for managed profile clients.

Bug: 16968338
Change-Id: I016d1837e4f987c0fab1fc2c64cb06eb91b24d87
/frameworks/base/Android.mk
109ec376da86de1275f73fa432d6344431a457e9 04-Dec-2014 Cheuksan Wang <edwang@google.com> Merge "new SMS/MMS carrier app API" into lmp-mr1-dev
5244ab68e4aae1dd95f87e690f7df83c0e630cef 03-Dec-2014 Trevor Johns <trevorjohns@google.com> am b769fc0c: am 512103d6: am 19275484: Merge "Docs: Add "admin" to samples categories" into lmp-docs

* commit 'b769fc0c576f485022330b40ae5180fb23cc53ee':
Docs: Add "admin" to samples categories
0d78c52bfcccacf235d0dc3ab34544508a947ec1 27-Nov-2014 Trevor Johns <trevorjohns@google.com> Docs: Add "admin" to samples categories

Contains samples for device administration APIs.

Issue: 18544051
Change-Id: I8e157ba163848ac0356f2669a9cadd0f76b4ae9a
/frameworks/base/Android.mk
740c3ac782675d190941b2ab1905e56f246c1b11 13-Nov-2014 Winson Chung <winsonc@google.com> Initial changes to add callback on task stack changes. (Bug 17672056, Bug 18291345)

Add a listener to listen for changes in the Task stacks to preload thumbnails from the
system. In addition, reduce the amount of synchronous work done in activity creation
and first measure/layout passes.

Change-Id: I8bd9155d7a05e89c190a20429acff69a17808208
/frameworks/base/Android.mk
b72eb97e4bca1e4fd68e79f9d04e9a6a15aebd21 22-Nov-2014 Cheuksan Wang <edwang@google.com> new SMS/MMS carrier app API

Changes based on api council review

BUG: 18005911
Change-Id: I23bd207ce70f7fa201d6d964c1700cfc44cb009b
/frameworks/base/Android.mk
ab954546dc49e1070ed8513efbddc8954b529c23 11-Oct-2014 Jim Miller <jaggies@google.com> Make IKeyguardService interface asynchronous

Add a state callback so lockscreen reports back whenever its state
relevant for PhoneWindowManager changed, instead of synchronously
calling into SysUI which can lead to deadlocks. Directly use
LockPatternUtils for isSecure, and optimize the number of calls to
this method to optimize layout performance.

Bug: 17677097
Change-Id: I5d491fc8884d4f84d9562626b9ea0d5eaa5166fc
/frameworks/base/Android.mk
d09c4cad65c708f2c4810d24295456708a2000d2 22-Nov-2014 Wink Saville <wink@google.com> Additional changes to SubscriptionManager API as per API council.

bug: 17575308
Change-Id: Idd98aa46c15a9219ccf28091c62602ac8bf16c62
/frameworks/base/Android.mk
18ab5c216c62d90a4b86f37a4c993c1c8b56835d 21-Nov-2014 Jaewan Kim <jaewan@google.com> Merge "Add an API to check availability of Ethernet interface." into lmp-mr1-dev
2d1ee982276f5dbd0e035778b731b48e4ef34515 20-Nov-2014 Wink Saville <wink@google.com> Revert "Additional changes to SubscriptionManager API as per API council."

This reverts commit baf21da1e17ef358632c078128d381b3be218a08.

Change-Id: I73cbdfadf07ca3cf20b042781b62aafcc72b17d6
/frameworks/base/Android.mk
d109a7cf695b1d208bd69ddb013b9fbdd5658255 19-Oct-2014 Jaewan Kim <jaewan@google.com> Add an API to check availability of Ethernet interface.

Bug: 18045481
Change-Id: I95358241b431cfe4435ce70c23c9a639b9dc4d58
/frameworks/base/Android.mk
baf21da1e17ef358632c078128d381b3be218a08 20-Nov-2014 Wink Saville <wink@google.com> Additional changes to SubscriptionManager API as per API council.

bug: 17575308
Change-Id: I7773965094510999bfce8fc6b2b31ba6ce496653
/frameworks/base/Android.mk
0de36e51c5990b1c25c3d0fad3fea7d10aaecce5 14-Nov-2014 Ying Wang <wangying@google.com> Move preloaded-classes out of framework.jar.

Instead we install preloaded-classes as a standalone configuration file
/system/etc/preloaded-classes, so we can configure different file per product.

Bug: 18305157
Change-Id: I22f1a1dd44f90268d02532bf18405768523c0b1b
/frameworks/base/Android.mk
fb8db1c84b7fd59f596a6c090a8035fab08ef2f5 13-Nov-2014 Abhijith Shastry <ashastry@google.com> Merge "new sms/mms carrier app API" into lmp-mr1-dev
19865ccd44958b0902b9eedd11df279a03ff74c1 13-Nov-2014 Renato Mangini <mangini@google.com> am 5d7f91c7: am 40ac90e9: am 1b657d92: Fix the order of sample categories left nav.

* commit '5d7f91c77605a5c444eaaae2b812280c57ca244c':
Fix the order of sample categories left nav.
f9c50c45c615338bf9bfe57cd1ecff490051c997 22-Oct-2014 Cheuksan Wang <edwang@google.com> new sms/mms carrier app API

BUG: 18005911

Change-Id: Ib961badc1ccac270f1244f8d971d9abec324b73f
/frameworks/base/Android.mk
1b657d924301d1caa132797f2ab397ba48429e6b 12-Nov-2014 Renato Mangini <mangini@google.com> Fix the order of sample categories left nav.

Bug: 18323953
Change-Id: Iea882fed74428d092c02e3cfcf2171c4c596b8a8
/frameworks/base/Android.mk
2a3ce1853cb5aba8dc1bb9cb9479ec962f8b1e86 12-Nov-2014 Renato Mangini <mangini@google.com> am ca011519: am a53b8bad: am 4b7b68d8: Add "notification" category for samples.

* commit 'ca011519b61e2ae57dfe760547d7d073f7ec42f3':
Add "notification" category for samples.
138b83347b8da29166ee2eb09fa8126686bda3c7 11-Nov-2014 Adrian Roos <roosa@google.com> Obliterate LockPatternUtilsCache

It is disabled dead code already and not useful anymore
with the new caching in LockSettingsService.

Bug: 18163444
Change-Id: Icc184e923e0fbeab31ed128336c01f835b24c6f2
/frameworks/base/Android.mk
4b7b68d824ee8bf184f6bfb05f75c74c129a9f8e 12-Nov-2014 Renato Mangini <mangini@google.com> Add "notification" category for samples.

Bug: 18323953
Change-Id: Ifb78015604fd203baaf5f4c6496a86aa6c831227
/frameworks/base/Android.mk
a374c3d03b28f135cdfba2cadf6fe6f03ac010bd 11-Nov-2014 Wink Saville <wink@google.com> Update SubscriptionManager API as per API council.

bug: 17575308
Change-Id: Ib39a60e4f75981a466e9d606ec627756efad018d
/frameworks/base/Android.mk
85d558cd486d195aabfc4b43cff8f338126f60a5 04-Nov-2014 Dianne Hackborn <hackbod@google.com> Add Activity API to get referrer information.

This expands the use of EXTRA_REFERRER to be relevant anywhere,
allowing apps to supply referrer information if they want. However,
if they don't explicitly supply it, then the platform now keeps
track of package names that go with Intents when delivering them
to apps, which it can be returned as the default value.

The new method Activity.getReferrer() is used to retrieve this
referrer information. It knows about EXTRA_REFERRER, it can return
the default package name tracked internally, and it also can return
a new EXTRA_REFERRER_NAME if that exists. The latter is needed
because we can't use EXTRA_REFERRER in some cases since it is a Uri,
and things like #Intent; URI extras can only generate primitive type
extras. We really need to support this syntax for referrers, so we
need to have this additional extra field as an option.

When a referrer is to a native app, we are adopting the android-app
scheme. Since we are doing this, Intent's URI creation and parsing
now supports this scheme, and we improve its syntax to be able to build
intents with custom actions and stuff, instead of being all hung up
on custom schemes.

While doing this, fixed a problem when parsing both intent: and new
android-app: schemes with a selector portion, where we were not
respecting any scheme that was specified.

Change-Id: I06e55221e21a8156c1d6ac755a254fea386917a2
/frameworks/base/Android.mk
abcb138da8db27ff64da92bd29a9a12556db40db 23-Oct-2014 Trevor Johns <trevorjohns@google.com> Docs: Add TOC page for Wearable samples

Change-Id: I0fdf412f20fb2a45c34c9700ed1ca9446cfc6ff3
/frameworks/base/Android.mk
843e234318421b320e74bb2d09c3b436d82ee127 15-Oct-2014 Evan Charlton <evanc@google.com> Add WindowManager.aidl to AIDL list

WindowManager.aidl has an inner class (WindowManager.LayoutParams)
which needs to be included, but slipped past the api/current.txt grep.

This affects the SDK only

Change-Id: I71bea4e602428ab588d17c5e57cbe08a1d6e9493
/frameworks/base/Android.mk
b298a5a59421b61ae1faaa65b7a1e9036354d52b 12-Oct-2014 Evan Charlton <evanc@google.com> Update the SDK AIDL list

Populate the framework.aidl list with .aidl files which are:
- In the android.* namespace
- Not marked @hide
- Do not have their corresponding .java files marked @hide

Bug: 17952409
Change-Id: I1f4abf7abbc298a51605571cd168362dcc5603b2
/frameworks/base/Android.mk
12c50e0ed0936a45df7cad6e10e08222b5c6d416 09-Oct-2014 smain@google.com <smain@google.com> update droiddoc option to include api level 21 for javadoc tagging

Change-Id: Ifdb09267b0cdab4cd89aaea455de6270481ff230
/frameworks/base/Android.mk
052690540e2bccfebe586caf8d0fa843afb9a137 07-Oct-2014 Andres Morales <anmorales@google.com> Remove dead NFC unlock code from fw/base

Bug:17883273
Change-Id: I214d141b0b9d83b5698f596087fabb1f30543606
/frameworks/base/Android.mk
ef9f6f957d897ea0ed82114185b8fa3fefd4917b 13-Sep-2014 Tyler Gunn <tgunn@google.com> Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: I192cb5d189f55db012ea72ee82ccc5aedbc21638
/frameworks/base/Android.mk
b3fbf9dbe8d41d91efbac2118b676af74592257b 12-Sep-2014 Jinsuk Kim <jinsukkim@google.com> Replace the MHL register name 'scratchpad' with 'vendor'

Bug: 17479050
Change-Id: If6fe2949d17ad2d407df5b797c1915eb0e9bf421
/frameworks/base/Android.mk
69dd40d08a164d5c357442733cf291719dfe94e8 05-Sep-2014 Griff Hazen <griff@google.com> Merge "Reduce chance of notification listener dropped messages." into lmp-dev
5dfa0a5f7a6365ddf3939f29227366172979e53e 05-Sep-2014 RoboErik <epastern@google.com> Minor tweaks to MediaBrowser

-A swapped the param order on MediaBrowser.MediaItem constructor
-Added a missing aidl file for MediaItem

bug:17205016
Change-Id: I61538d76f76a993ed5a47b881e0d291fef1d8db3
/frameworks/base/Android.mk
84a00ea9e3df3ff051d3e86945d2befea32072ee 03-Sep-2014 Griff Hazen <griff@google.com> Reduce chance of notification listener dropped messages.

The existing code for notification manager/listeners uses a oneway
binder api to deliver messages. One problem with this is that
notification objects can sometimes get fairly large, and can bump
into the oneway binder transaction buffer if many happen at once.

To reduce this issue, flip the service into a oneway delivery of
a status bar notification holder, whose wrapped content is then
immediately fetched upon receipt of the one-way message. This moves
the meat of the fetch to be over a two-way interface without changing
the properties of which object is actually sent (a tickle solution
with lookup key would have changed this)

Further research: attempt to chunk notification objects themselves.
They can sometimes transfer hundreds of KB over a binder transaction.

Bug: 15426276
Change-Id: Ib1a1f4ff848c16f80bcf2ae4dfd2b87a9091f0b2
/frameworks/base/Android.mk
75ee9fcde4d9e1be3883eba6c8d193db4375b052 02-Sep-2014 Michael Wright <michaelwr@google.com> VirtualDisplay.Callbacks -> Callback

Also, rename methods to be onPaused instead of onDisplayPaused, etc.

Bug: 17008630
Change-Id: Id9ead22a42d36ac338309f0f021ba341ed991144
/frameworks/base/Android.mk
3625bf72cb8bcf3c7f8f8cd8d708d7206824cc62 28-Aug-2014 RoboErik <epastern@google.com> Update to MediaBrowser APIs per council feedback

Does all the updates in the bug except the loadIcon/loadBitmap
methods, which are removed per feedback from Sharkey.

bug:17205016
Change-Id: Ie84d4d25a59c6985ce16972c26c8d1e5c02ff5c9
/frameworks/base/Android.mk
808079bd27fc1fa7fb834567d70546b6c68684d2 25-Aug-2014 vandwalle <vandwalle@google.com> remove passpoint - DO NOT MERGE

This CL is dependent on I3d2a230b0362520b9f1b2bc3792260116971e106

Change-Id: I1a0d655877d9368d833d62e231797af4b2560862
/frameworks/base/Android.mk
f424932cfb1b16b01a37500d09e295912700a51d 21-Aug-2014 Jungshik Jang <jayjang@google.com> Implement interfaces for MHL scratchpad command

1. Add sendScratchpadCommand to IHdmiControlService interface,
which is used to send scratchpad command.

2. Add IHdmiMhlScratchpadCommandListener to handle incoming
MHL scratchpad command.

Bug: 17146522

Change-Id: I8e8e743dc08a18c80867be470997ce79d3292c15
/frameworks/base/Android.mk
b135d06cb83db03b1328b7a82f064de7868fb16f 20-Aug-2014 Jeff Brown <jeffbrown@google.com> Remove incomplete media router API. (DO NOT MERGE)

Change-Id: I310fadafb5a6b8190a32e5d87f3e1823c87bcef7
/frameworks/base/Android.mk
d86ecd26d78c7bcd7f820b9ef5e3f4c3eb037510 13-Aug-2014 Michael Wright <michaelwr@google.com> Add callbacks for MediaProjection start / stop.

Also, enforce that there is only one valid MediaProjection at a time.

Bug: 16488053
Change-Id: Id05445d798c98cb208bc4dab186296392e15d30b
/frameworks/base/Android.mk
b19a0bcdd8a5020c61a0d697f600fdc943c86f59 08-Aug-2014 Ihab Awad <ihab@google.com> Final structural tweaks to Telecomm API (1/8)

Bug: 16416927
Bug: 16494880
Change-Id: I45fbe287c410cbb5e1b985f320b862d732811f43
/frameworks/base/Android.mk
7f708ecc2f1dcebd516d9f445ec838a4385512fc 09-Aug-2014 Jose Lima <joselima@google.com> Merge "Added StatusBarNotification.aidl to frameworks/base/Android.mk" into lmp-dev
b6d77e2d16df7532f5e9bfb7c2ada9a4af92fc3c 09-Aug-2014 Jose Lima <joselima@google.com> Added StatusBarNotification.aidl to frameworks/base/Android.mk

Change-Id: I98fb4821642e3431bb41506de3d8905f90a40729
/frameworks/base/Android.mk
752217bfc662402cdf13368e4b2a0338e8e0aed8 08-Aug-2014 Andrew Lee <anwlee@google.com> Aidl changes related to VideoCallProvider in Ims.

+ Added a getVideoCallProvider function in IImsCallSession
+ Added IImsVideoCallProvider aidl. This is used for communication
between Telephony and the ImsService. It is redundant with
IVideoCallProvider on some level, but see associated bug and comments
in the class for more detail.
+ Added IImsVideoCallCallback. This is used for communicationing
callback invocations from ImsService to Telephony. It is redundant
with IVideoCallCallback for same reason in bugs/comments.
+ Some minor formatting changes.

Bug: 16886403
Change-Id: I03de12d4432f837e0930bc077307509b645493e0
/frameworks/base/Android.mk
fbd0e9fa37fc17ccd25e4c1f16195bbd27de3c4c 07-Aug-2014 Jeff Sharkey <jsharkey@android.com> Surface user action events when un/installing.

This will be used shortly to connect up with permissions
confirmation UI.

Bug: 16515814
Change-Id: If28cecc28549900d960ac107a1fba0b10ce5bd7b
/frameworks/base/Android.mk
eaeae259fa965fc341f7b255f67f91575771ea27 19-Jun-2014 Brian Carlstrom <bdc@google.com> Switch from core to core-libart

Bug: 14298175

(cherry picked from commit dbcae5ceb766b0bc65fa819841f9bfab9ae11c2f)

Change-Id: I982d02184b7bfdd14f447e2761fe5d058c53489b
/frameworks/base/Android.mk
1c18285c36a0cf202dcf737c96766638e1e56c5d 01-Aug-2014 Uma Maheswari Ramalingam <umam@codeaurora.org> Add ECBM functionality for IMS

Code for adding ECBM functionality for IMS.

Change-Id: I2833c81baf0a55a18ac6433c47fd76bad7cf0ec9
/frameworks/base/Android.mk
11d2e53dc0d2682f66f8dcbd8f0ad52432cb4aa7 23-Jul-2014 Andres Morales <anmorales@google.com> NFC Unlock api changes

Bug: 16401635
Change-Id: I994bd80be40052c2f894199bb44ebbde40077f27
/frameworks/base/Android.mk
92b4b3c64ddbec9d10b631e03f0fbba225ca9057 30-Jul-2014 Andres Morales <anmorales@google.com> Revert "NFC Unlock api changes"

This reverts commit 9fef5fbcd6d47ef86823b3a2d82d34801f9be335.

Change-Id: Idabe1c2901e0e26d38f84583308f69804ab2c1c3
/frameworks/base/Android.mk
131197aa6e6b0ae91fefe4bb5f39fffb780997c5 23-Jul-2014 Andres Morales <anmorales@google.com> NFC Unlock api changes

Bug: 16401635
Change-Id: I138a9aa0bb156982b6c7656c51a1e2194776e4ed
/frameworks/base/Android.mk
0f208eb707926f0afc1ce073be866bedd4955aa2 27-Jul-2014 Jeff Brown <jeffbrown@google.com> Remove DozeHardware since it will not be used.

Bug: 16516536
Change-Id: I14597d3c9470c94e3bc5b8cff500d2fe6b2fd977
/frameworks/base/Android.mk
16c8e3f49497b6046972ae650772f65768366be8 25-Jul-2014 Jeff Sharkey <jsharkey@android.com> PackageInstaller changes based on feedback.

Mostly cosmetic changes from API council feedback.

Bug: 16543552
Change-Id: Ic926829b3f77c31f50a899c59b779353daf00d59
/frameworks/base/Android.mk
50aca23bd7f51a3cf32a1f7e32238cc1e26ca1a0 23-Jul-2014 Andrew Lee <anwlee@google.com> Add VideoCall and VideoCall.Listener as an inner classes of Call.

Bug: 16494880
Bug: 16495203
Change-Id: Ife3b6723374ea5fbbff4927c4f9168d075be21e1
/frameworks/base/Android.mk
12e5dcefe136b58562f39604e6a8460ac92cb895 24-Jul-2014 Jungshik Jang <jayjang@google.com> Replace osd message for record status with IHdmiRecordCallback.

Add new interface, IHdmiRecordCallback, in order to handle
result of all recording features, One Touch Record and
Timer Recording.
HdmiRecordCallback is clientside interface which uses
RecordSource as return of getOneTouchRecordSource,
instead of raw byte array.

Along with it, add TimerRecordingAction.

Bug: 16160962

Change-Id: If0ed7abc5f45b020b39555cac585becbe8ee7da4
/frameworks/base/Android.mk
4b3e3931270f8e406fc806bc7fa1c2788256687d 22-Jul-2014 destradaa <destradaa@google.com> Expose Gps Navigation Messages in the platform.
b/16405976

Change-Id: Ic982ea2467d116585780c20c2fa7e974e50f8345
/frameworks/base/Android.mk
17d47989ee53c9e54f250d29a343ba949edf0ff9 17-Jul-2014 Yao Chen <yaochen@google.com> Updated media browsing API & tests.

Change-Id: I3a1e3eead99a98b1890e05843dd90203cee517b7
/frameworks/base/Android.mk
9c44933958bc03b93eac2452b26dd75567581b86 19-Jul-2014 Amith Yamasani <yamasani@google.com> API Review: Improvements to RestrictionsManager API

Use an activity intent for local approval instead of a type.
Use PeristableBundle instead of Bundle.
Pass requestId as an explicit argument in cases where it's required.

Bug: 16400892
Change-Id: Id882033f17c39aa9cd63a7eeb73bb7b51f98cf5b
/frameworks/base/Android.mk
88e199045bbe10296124203837b24dea116bf108 21-Jul-2014 Ying Wang <wangying@google.com> Build framework.jar with multidex support.

We don't need the framework/framework2 split now with the multidex
support.

Change-Id: I30ee5c7e24df87b2c54e854f17fbf0b5adef4c60
/frameworks/base/Android.mk
a6b2a7a59ab79b2d91412c1095d1c49b8dc9d507 16-Jul-2014 Jungshik Jang <jayjang@google.com> Add two apis for one touch record.

This change introduces new two apis for one touch record.
1. setRecordRequestListener
It's used to get notified when a recorder device initiates
"one touch record". As return of callback, client should
generate "record source" and return it.
2. startRecord
It's used to initiate "one touch record" from Tv.

Along with this, add HdmiRecordSources which is a helper
class assisting buidling byte array form from the given
record source information.

Bug: 16160962

Change-Id: I403d37b752c9b7f799c6d8188a071ef420fe8ac2
/frameworks/base/Android.mk
2d5720a028f5cd9e5ee9b8133945589c89d2a6ee 20-Jul-2014 Joe Onorato <joeo@google.com> Move android.bluetooth and android.telephony to framework2.jar.

Change-Id: I53cdd2a07165427c4dea037893ade3049f57f584
/frameworks/base/Android.mk
055897208d659e9734a82def88be4a806ff55448 18-Jul-2014 Sandeep Siddhartha <sansid@google.com> Move sound trigger calls to VoiceInteractionManagerService

- This ensures that any data being loaded on the DSP comes from the framework

Change-Id: Ie15f0994850ba8f298ca07c49fe0b89e066d9e2b
/frameworks/base/Android.mk
0debc9aff4c0cbc28e083a948081d91b0f171319 17-Jul-2014 Adam Lesinski <adamlesinski@google.com> First iteration of a public UsageStats API

UsageStats API that allows apps to get a list of packages that have been
recently used, along with basic stats like how long they have been in
the foreground and the most recent time they were running.

Bug: 15165667

Change-Id: I2a2d1ff69bd0b5703ac3d9de1780df42ad90d439
/frameworks/base/Android.mk
c39d47a8e7c74bd539104b0efab898ef6fc43ddf 09-Jul-2014 Michael Wright <michaelwr@google.com> Add MediaProjection APIs.

The new MediaProjection infrastructure allows the system to hand out
tokens granting the ability to capture the screen's contents, audio,
etc. at a granular level. It's intended to be used both for screen
casting, via the cast APIs, as well as screen sharing via third party
applications.

The screen sharing case is implemented, but all of audio capturing
is still forthcoming.

Change-Id: I4b24669bed7083e11413c10ed8d6b025f5375316
/frameworks/base/Android.mk
08cfaf672604422dd355d6703aec78f3aa5ee74e 08-May-2014 Torne (Richard Coles) <torne@google.com> Use the WebView's loader library to load the real library.

Load libwebviewchromiumloader and use it to load the real WebView
library, to enable sharing of the relro segment between different
application processes without requiring that the library be preloaded in
the zygote. A system service is added to track whether the relro segment
file has been prepared, and block loading of the library until it has
been.

Bug: 13005501
Change-Id: I846b37c7b8e2a4eb8a39e4fd455bccbb2048c173
/frameworks/base/Android.mk
7686c061b7c5c981c79e566e3b31f68b9e21c730 01-Jul-2014 Vinit Deshpande <vinitd@google.com> Introduce RTT Manager

Change-Id: Ic9a16d587897b272f85cdb2b8c52b51bca060d18
/frameworks/base/Android.mk
4d922e6f7452d30f2f6085a292cf261d62a1de02 15-Jul-2014 Amith Yamasani <yamasani@google.com> Merge "Revert some new APIs for restrictions provider" into lmp-dev
5470bc184a17c0848ad68fdd50bd5bd0002bd237 15-Jul-2014 Amith Yamasani <yamasani@google.com> Revert some new APIs for restrictions provider

Simplify back to being a broadcast receiver and add an extra to
indicate that a new request is desired vs. returning a pending
response from before.

Change-Id: Iafd16ed98293a2cc09006d2cce097fc3d590bbe2
/frameworks/base/Android.mk
969167dc05a6485a32d160895871cff46fd81884 24-Jun-2014 Wonsik Kim <wonsik@google.com> TIF: Revisit availability changes

Bug: 15838097, Bug: 15973274
Change-Id: Ida060696cb6222c8ced576d86c100c25d94dc5c0
/frameworks/base/Android.mk
864a2b291be09e3d260cd9e9d8fab37504188e5b 14-Jul-2014 Sailesh Nepal <sail@google.com> Remove CallServiceProvider and CallServiceDescriptor do not merge

This CL removes CallServiceProvider. Instead of using a
provider we'll look up ConnectionServices using the package
manager instead.

This CL also removes CallServiceDescriptor. For incoming calls,
connection services will now pass a PhoneAccount instead
of a call descriptor. For outgoing calls we already use
PhoneAccounts for everything.

Change-Id: I2e40c5c64c0d242dc41b680943d7e9209142db5b
(cherry picked from commit 7ade570fdc1ae719abca54867d97dc7f0130d664)
/frameworks/base/Android.mk
1a937b04e63539cb1fab1bde601031d415c7156f 02-Jul-2014 Jeff Brown <jeffbrown@google.com> Initial draft of new MediaRouter APIs.

This patch introduces basic infrastructure for the new MediaRouter
API. The code is fully documented but incompletely implemented.
It is being submitted not to facilitate API reviews.

MediaRouter is a new class that applications used to discovery,
connect to, and control media devices as represented by media
destinations and their routes. Routes may offer a variety of
capabilities. This new class is a much more powerful replacement
for the existing MediaRouter.

MediaRouteService is a base class for creating media route services
which third-parties can implement to make routes available to
applications. It is analoguous to the MediaRouteProvider
infrastructure of the old media router support library but it
is designed to be integrated into the framework and enable a
variety of new usages such as remote display projection.

Stay tuned for more...

Change-Id: I2c7c6013d9f751d71e83697e7fc9e49bf7751fef
/frameworks/base/Android.mk
01a500ed1c6ae3fff66678144ae637aa8cad0ecc 11-Jul-2014 Jeff Brown <jeffbrown@google.com> Delete first draft of media routing APIs.

The new APIs will not be as tightly integrated into MediaSession.

Change-Id: I5cfd37d9d8d0c5d46c55edb5cf0772a8f1ef13ab
/frameworks/base/Android.mk
f6e2fcc2eaf5e650237d3c6d79a2de49d2d4111e 10-Jul-2014 Amith Yamasani <yamasani@google.com> Improvements to Restrictions API

Convert restrictions provider to a service instead of a receiver.
Add a way to get pending responses from restrictions provider.
Add AbstractRestrictionsProvider.
Add a callback API for responses.

Removed some constants in RestrictionsManager.
Added new constants for errors and error codes.
Much improved javadocs.

Bug: 16176009

Change-Id: I838a50fabc80b94b632294b3a55cd5d8092acf55
/frameworks/base/Android.mk
bb580670350b76fa2fcc5ee873f99b7970759cbf 10-Jul-2014 Jeff Sharkey <jsharkey@android.com> Progress toward installer public API: callbacks.

Instead of surfacing all the existing cryptic error codes, we're
going to classify them into broad categories when surfacing through
public API. This change introduces InstallResultCallback and
UninstallResultCallback, and wires them up to existing AIDL
interfaces.

Also start defining general SessionObserver for apps interested
in general progress details, such as Launcher apps. Details about
active sessions are returned through new InstallSessionInfo objects.

Bug: 14975160
Change-Id: I068e2b0c30135f6340f59ae0fff93c321047f8f9
/frameworks/base/Android.mk
a4d88d1e6e0af284b5ecccc5d55bfcdaa2f784a8 11-Jul-2014 Etan Cohen <etancohen@google.com> IMS: Add Config interface to get/set IMS service/capabilities

Change-Id: I5f422aae105cbf8e85aee711aaa49b5d2e958573
/frameworks/base/Android.mk
a4fa3b5aa53cf677b623fe346c585cb8a0c1ce26 09-Jul-2014 destradaa <destradaa@google.com> Add support in the platform for Activity Recognition Hardware.

Change-Id: I7c4fff3526583475a5edf1f4ba8fede4e9419ead
/frameworks/base/Android.mk
ea8a8a6076f04360de2d25b3e5853cde8026cd5f 24-Jun-2014 destradaa <destradaa@google.com> Update location framework to accept raw data from GPS HAL.

Change-Id: Ib4feca004b53fa89dcece4299974ab08913455a0
/frameworks/base/Android.mk
68d4acd205e8c2da524e62734ca42847306cc029 02-Jul-2014 Andres Morales <anmorales@google.com> Service for reading and writing blocks to PST partition

Permits apps with permission
android.permission.ACCESS_PERSISTENT_PARTITION to obtain
a read and write data blocks to the PST partition.

Only one block ever exists at one time in PST. When
a client writes another block, the previous one is
overwritten.

This permits storing a block of data that will live
across factory resets.

Change-Id: I8f23df3531f3c0512118eb4b7530eff8a8e81c83
/frameworks/base/Android.mk
6828cd5bc4ba48f5ffebcfd6821899740defe9ed 09-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Make more room for methods in framework jar

- put android.filterfw and android.filterpacks in framework2

Change-Id: I1ecc6ab833d6c6d20d976789bacfd085f4e0bff9
/frameworks/base/Android.mk
db375786301e94becff7078e650a02f32a42afe5 08-Jul-2014 Ye Wen <ywen@google.com> Merge "Remove dependency on deprecated mms-common module"
27714569c3733251299da671d6fd0ff43490efbe 08-Jul-2014 Ye Wen <ywen@google.com> Remove dependency on deprecated mms-common module

Change-Id: If94d31b0dc2ac8ef6264001b7889bdc22b31b813
/frameworks/base/Android.mk
119160a68195bcb2f5bdf4a269807e01228eca97 07-Jul-2014 Jinsuk Kim <jinsukkim@google.com> Add vendor-specific command API for HdmiControl

Vendor-specific commands are not handled by the service. This CL
opens an API for vendors to implement customized handling of
CEC commands specific to their needs.

Change-Id: I8bfa3b891bd7994a903b3b41d7c2b27464167afa
/frameworks/base/Android.mk
2a46b90222e5c9c73de012382a604a71f9c0c30c 05-Jul-2014 Sailesh Nepal <sail@google.com> Move ICallService.aidl to IConnectionService.aidl

Change-Id: I5a082e50dafea0104174cb97d3ae8af168944fc3
/frameworks/base/Android.mk
be520fba1e45c77ca20eb66005a0cf19e10939a1 05-Jul-2014 Jeff Sharkey <jsharkey@android.com> Teach DCS about cluster packages.

For the time being, DCS is going to still be doing heavy lifting for
some install tasks, so it need to know how to handle both monolithic
and cluster packages. This change is mostly plumbing work to
eventually handle any various splits APKs that we may encounter.

Bug: 14975160
Change-Id: I39848d5666f9083cb4eca493e5cdaa868f3f99fb
/frameworks/base/Android.mk
9c37e1f53ea4734bfe5ae156dc5399ce5f2c7ccc 02-Jul-2014 Jinsuk Kim <jinsukkim@google.com> Implement some apis for TV Input Framework and HdmiControlService

- setInputChangeListener()
- getInputDevices()

Change-Id: I6f7d6d9c7094018e2b6b5ba37f63c8ee5df00e37
/frameworks/base/Android.mk
c0ffce5ddd6446f1d46a49cdfaeda4a2ce408e1d 01-Jul-2014 Craig Mautner <cmautner@google.com> Use cached thumbnails in Recent tasks.

The thumbnail returned from ActivityManager.getTaskThumbnail() now
contains either a Bitmap or a ParcelFileDescriptor that points to
a file containing a compressed Bitmap. The Recent tasks list is
now responsible for all thumbnail Bitmap caching as the activity
manager keeps only the most recent 5. This also permits low memory
devices to have many more tasks in the Recent tasks list.

As part of this CL the concept of subtasks is removed eliminating
code supporting the TaskAccessInfo and IThumbnailRetriever classes.

Fixes bug 15828934.

Change-Id: I0fd0320a1a04e3c78d79357899b83a2fff97abf2
/frameworks/base/Android.mk
dba34ba35cd2042d9a8fecfda56e2abe7a680bad 25-Jun-2014 Jeff Brown <jeffbrown@google.com> Make MediaSessionToken an inner class of MediaSession.

Also add some missing AIDLs to the framework makefile to ensure
they are included in the SDK.

Change-Id: If85a3091c7591e0b3bbe6cc4bb74aba2284b4f42
/frameworks/base/Android.mk
47768ca16c9b276208e994d4343a56abecd2e3bb 30-Jun-2014 Robert Ly <robertly@google.com> am c32386ea: am 4cdf8373: add api 20

* commit 'c32386ea44fb414e83fd503274bf7b5a9578fb04':
add api 20
476c287d590ec4382816f9be0003494c6149b33e 30-Jun-2014 Robert Ly <robertly@google.com> am 7b7f68ec: am 63234bf7: Merge "Revert "add API reference docs filtering for level 20"" into klp-modular-dev

* commit '7b7f68ec940b730d2f06115d518a62e878c2f4f4':
Revert "add API reference docs filtering for level 20"
3d19bf1df33c19407594bb6434244cde620d691e 30-Jun-2014 Robert Ly <robertly@google.com> am bc2b0529: resolved conflicts for merge of 4d329a8f to klp-modular-dev-plus-aosp

* commit 'bc2b05299d5fb369aa5c912ccad8e8e3ade06d90':
add API reference docs filtering for level 20
c32386ea44fb414e83fd503274bf7b5a9578fb04 30-Jun-2014 Robert Ly <robertly@google.com> am 4cdf8373: add api 20

* commit '4cdf83735de741bb44a9078b080dbdaf9db891a0':
add api 20
7b7f68ec940b730d2f06115d518a62e878c2f4f4 30-Jun-2014 Robert Ly <robertly@google.com> am 63234bf7: Merge "Revert "add API reference docs filtering for level 20"" into klp-modular-dev

* commit '63234bf7ab9a05f2e8fb858a31af270ca82b33ad':
Revert "add API reference docs filtering for level 20"
bc2b05299d5fb369aa5c912ccad8e8e3ade06d90 30-Jun-2014 Robert Ly <robertly@google.com> resolved conflicts for merge of 4d329a8f to klp-modular-dev-plus-aosp

Change-Id: Id8096712bc63fe16f93dca4a7963440e11087f7a
4cdf83735de741bb44a9078b080dbdaf9db891a0 30-Jun-2014 Robert Ly <robertly@google.com> add api 20

DO NOT MERGE

Change-Id: Iae685158ac9c08e3a074e36d60004faf995fd1c7
/frameworks/base/Android.mk
5e14541faf112afc7f5bd20195361a8cfb2ee3ce 29-Jun-2014 Ying Wang <wangying@google.com> Include online-system-api-sdk only if it's requested.

We can remove the conditional once the build is fixed.
Change-Id: I367504cf378280cc0a8eff0a7a3eb0936a4828c0
/frameworks/base/Android.mk
079d13e246103182736abd8625e77076553d9e10 27-Jun-2014 Ying Wang <wangying@google.com> Add target to build System API docs.

Also generate system_api.txt.

Change-Id: I413f7b3e455643450f959088dfabbc47296e0189
/frameworks/base/Android.mk
7b7d2ac12d2d9659a3e9f30e9c13954b21239667 30-Jun-2014 Robert Ly <robertly@google.com> Revert "add API reference docs filtering for level 20"

This reverts commit 7d7d4d6b86bdbfc54c63830351cf8d2f3830b68a.

Change-Id: I41e89bf297cb11db62601b3df0e6c655d7579007
/frameworks/base/Android.mk
7d7d4d6b86bdbfc54c63830351cf8d2f3830b68a 30-Jun-2014 Robert Ly <robertly@google.com> add API reference docs filtering for level 20

Change-Id: Iaab9d0965511d0394e7be29adb0fbcfd2904b857
/frameworks/base/Android.mk
eec155cbcd9497ec46bd27b9ed1dd57a37c58a78 28-Jun-2014 Dirk Dougherty <ddougherty@google.com> Revert "Add api 20 to list used by reference docs."

This reverts commit 99296a12c0d9a036518704610be07d3466b7e4b0.

Change-Id: Icf047da4ed344a86d84d1da7892a4303468919ca
/frameworks/base/Android.mk
99296a12c0d9a036518704610be07d3466b7e4b0 28-Jun-2014 Dirk Dougherty <ddougherty@google.com> Add api 20 to list used by reference docs.

Change-Id: Icdf0e9238846f943db527becde92d38f362a9f32
/frameworks/base/Android.mk
7c668b921b62e07833c2b8384b33e6ab9c5a0929 27-Jun-2014 Tyler Gunn <tgunn@google.com> Adding CallVideoClient, used to provide a callback mechanism for the
framework to notify the InCallUI of events related to video calls.

Change-Id: Ife628b27bcefd8e88df2fc899cbbcfa07cfac90b
/frameworks/base/Android.mk
6988c162a38802b02035f019137473e5881f2f50 26-Jun-2014 smain@google.com <smain@google.com> am 590ee5f9: fix build, remove briefdocs

* commit '590ee5f935139eeceec6ed75f658cb6007f82897':
fix build, remove briefdocs
590ee5f935139eeceec6ed75f658cb6007f82897 26-Jun-2014 smain@google.com <smain@google.com> fix build, remove briefdocs

Change-Id: I94a611f4bdc2b9c7f305727aacf2edbe63b4ece7
/frameworks/base/Android.mk
aaba687d04c15d45eb649a25b15fdad0387777b7 26-Jun-2014 smain@google.com <smain@google.com> am dfb41027: lots of updates to the wear design guide actually decent layout with images

* commit 'dfb4102718dcb87acdf4015dc44ab578f57e945f':
lots of updates to the wear design guide actually decent layout with images
dfb4102718dcb87acdf4015dc44ab578f57e945f 24-Jun-2014 smain@google.com <smain@google.com> lots of updates to the wear design guide
actually decent layout with images

Change-Id: I45047158b61d3d8202b0f77e1ff8aea9c57da7c5
/frameworks/base/Android.mk
1e1ca756a9db35792df880b39300fcfd07e6f707 25-Jun-2014 Robert Ly <robertly@google.com> am 823ce529: Merge "fix build" into klp-modular-dev

* commit '823ce5298fec4d0d9f5773ce16af882e633f1f16':
fix build
925db3bc6ac334a81b3fde95e2a1c5a06280ac09 25-Jun-2014 Robert Ly <robertly@google.com> fix build

Change-Id: I1f5ab49236b85cd1bd46e8199e7fd6decad73064
/frameworks/base/Android.mk
9d644b668c2c28be1e753c7157c3bb35fcc9f8eb 25-Jun-2014 Joe Fernandez <joefernandez@google.com> am 6fd69be6: Merge "docs: Android TV Dev Guide, final (probably)" into klp-modular-dev

* commit '6fd69be64cc34e4c3f223420dc404dadc244f28e':
docs: Android TV Dev Guide, final (probably)
27f7c240f6f546a062d100d4f197da946842193c 17-Jun-2014 Robert Ly <robertly@google.com> docs: Android TV Dev Guide, final (probably)

Change-Id: I5b333daa32ff9a50724151631661fab126b68704
/frameworks/base/Android.mk
24cc139bfa8ee1ec98a29da9ab6addb6c5c64b51 26-Jun-2014 smain@google.com <smain@google.com> am 6988c162: am 590ee5f9: fix build, remove briefdocs

* commit '6988c162a38802b02035f019137473e5881f2f50':
fix build, remove briefdocs
5574ea6363a4dab5d3be6e1014eab7677f281b37 26-Jun-2014 smain@google.com <smain@google.com> am aaba687d: am dfb41027: lots of updates to the wear design guide actually decent layout with images

* commit 'aaba687d04c15d45eb649a25b15fdad0387777b7':
lots of updates to the wear design guide actually decent layout with images
f8458ff9d97f8961d67c41ee107129ecba873f36 26-Jun-2014 Wink Saville <wink@google.com> Fix lpdk build.

Move aidl files from frameworks/opt/net/ims to frameworks/base so lpdk
compiles. The reason is lpdk doesn't have frameworks/base sources so
references to Pending and Bundle in aidl files breaks the pdk build.

I had to move all of them and the ims/*java files for dependency reasons.

Change-Id: I92452562591b157cecdfc01bcd892c4f35f5965c
/frameworks/base/Android.mk
19c9518f6a817d53d5234de0020313cab6950b2f 24-Jun-2014 RoboErik <epastern@google.com> b/15729204 Pipe sessions through to VolumePanel

When remote volume is changed via volume buttons we need to notify
the system UI so it can show the slider. This also passes it the
controller to use so adjustments to the slider are sent back to
the correct session.

Change-Id: If5847bcd5db16c56e0e9904b88c94e5b28954c41
/frameworks/base/Android.mk
0b16d7d807b213047bb018d565de8190a7362451 25-Jun-2014 Andrew Lee <anwlee@google.com> Merge "Adding CallVideoProvider to Telecomm."
13d11c3065c9e430ea3c5edef930f50047131446 21-Jun-2014 Andrew Lee <anwlee@google.com> Adding CallVideoProvider to Telecomm.

Change-Id: I16c3c64ff2bcda46e0fd95accb360c972f964b9d
/frameworks/base/Android.mk
76bc6f3f4c0d661405a39f4f69a574bda7f43b63 25-Jun-2014 Robert Ly <robertly@google.com> am 1e1ca756: am 823ce529: Merge "fix build" into klp-modular-dev

* commit '1e1ca756a9db35792df880b39300fcfd07e6f707':
fix build
ad3c74adf40148a1f46bb4792564616d7cf958d0 25-Jun-2014 Santos Cordon <santoscordon@google.com> Merge "Remote Connection implementation."
52d8a15e146e682319380322f94ceb6d93fa1a97 18-Jun-2014 Santos Cordon <santoscordon@google.com> Remote Connection implementation.

API classes for daisy-chaining connection services.

Change-Id: I90991697456377b72ec73d2ef835864cb0b7737a
/frameworks/base/Android.mk
cdd1fd76a62193f7ccb686113181c65cc47c9564 25-Jun-2014 Joe Fernandez <joefernandez@google.com> am 9d644b66: am 6fd69be6: Merge "docs: Android TV Dev Guide, final (probably)" into klp-modular-dev

* commit '9d644b668c2c28be1e753c7157c3bb35fcc9f8eb':
docs: Android TV Dev Guide, final (probably)
52a28f619fca8c2118e1f421cb56f6542805e954 18-Jun-2014 Ihab Awad <ihab@google.com> Replace CallServiceSelectors with Subscriptions (1/3)

Remove CallServiceSelectors and replace them with comprehensive
support for Subscriptions as the means of selecting ways of making
phone calls. After this change, a ConnectionService is not a
semantically meaningful "way of making a call" -- it's more like the
mechanism whereby the Android system communicates with a 3rd party
process to ask for phone services. We anticipate each process having
only one ConnectionService.

Change-Id: I11e6e246ae999683b3800496e98c93c3351aca7b
/frameworks/base/Android.mk
ea67c183fe5511ad99aeaae1a32b5245bd020e36 19-Jun-2014 Jungshik Jang <jayjang@google.com> Add for System Audio Mode

Note that this is skeleton change and do not merge
till get full review from outside of CEC team.

This change introduce four apis for System Audio Mode

1. boolean canChangeSystemAudioMode()
- Whether to change system audio mode or not.

2. setSystemAudioMode(boolean enabled, IHdmiControlCallback callback);
- Change system audio mode.

3. add/removeSystemAudioModeChangeLister.
- Register/deregister listner for AudioModeChange.

4. getSystemAudioMode()
- Whether to system audio is enabled or not.

Change-Id: I1e82365155a9f7f6c3ac5d9db4871cf6bad46865
/frameworks/base/Android.mk
3b33fd283c32a8fb707a23d25f3f3cf13e8b046f 20-May-2014 Andres Morales <anmorales@google.com> Framework changes to support NFC trustlet.

Adds a system-only ability to register for receiving
tags from NfcService at the lockscreen.

Change-Id: I4b50941031e8d1f40ebb6314211226e70a2ad187
/frameworks/base/Android.mk
80f1fe5f7cc80b6f1da142c782ccbbad45d878a8 19-Jun-2014 Brian Carlstrom <bdc@google.com> am f8077cf2: am 8e21e215: Merge "Switch from core to core-libart"

* commit 'f8077cf2d7ee55dbf02ec0c65a05db7e5c2fabfc':
Switch from core to core-libart
dbcae5ceb766b0bc65fa819841f9bfab9ae11c2f 19-Jun-2014 Brian Carlstrom <bdc@google.com> Switch from core to core-libart

Bug: 14298175
Change-Id: I89db18bf3d88f9511cb2ad943c64ecdbaf09d96f
/frameworks/base/Android.mk
7f047f02ad713305acf1de5db7d07792318d69c2 19-Jun-2014 Brian Carlstrom <bdc@google.com> am 80f1fe5f: am f8077cf2: am 8e21e215: Merge "Switch from core to core-libart"

* commit '80f1fe5f7cc80b6f1da142c782ccbbad45d878a8':
Switch from core to core-libart
369a107fd6f2d213e6dbc5cddd8152482b17b64f 19-Jun-2014 Ye Wen <ywen@google.com> Move IMms.aidl to frameworks/base (2/3)

Change-Id: Ia771496f92a841c72d950212b2f525aa0c733d7f
/frameworks/base/Android.mk
2ea0d3979e66da459a1ac51f385628716de63af2 18-Jun-2014 Griff Hazen <griff@google.com> DO NOT MERGE Reduce chance of notification listener dropped messages.

The existing code for notification manager/listeners uses a oneway
binder api to deliver messages. One problem with this is that
notification objects can sometimes get fairly large, and can bump
into the oneway binder transaction buffer if many happen at once.

To reduce this issue, flip the service into a oneway delivery of
a status bar notification holder, whose wrapped content is then
immediately fetched upon receipt of the one-way message. This moves
the meat of the fetch to be over a two-way interface without changing
the properties of which object is actually sent (a tickle solution
with lookup key would have changed this)

Further research: attempt to chunk notification objects themselves.
They can sometimes transfer hundreds of KB over a binder transaction.

Bug: 15426276
Change-Id: Ib1a1f4ff848c16f80bcf2ae4dfd2b87a9091f0b2
/frameworks/base/Android.mk
5b2034e2cc1cd8cb934160465364cb1eda99c208 17-Jun-2014 Christopher Tate <ctate@google.com> Merge "Switch everything to scheduled jobs"
cf1a2f73fc102be2ac7060ac97d4682bb2565ca5 17-Jun-2014 Christopher Tate <ctate@google.com> Switch everything to scheduled jobs

Everything that used the IdleMaintenance APIs/broadcasts gets to use the
spiffy new JobScheduler instead. Hooray!

On top of that, the now-obsolete "idle maintenance" APIs are now gone
entirely. Double hooray!

Bug 14993295

Change-Id: I5fb67c296ca8cd0ba8a2c8760a0f0d9d962d813b
/frameworks/base/Android.mk
fd445e0336021b4a19b590026d179181e52d7527 17-Jun-2014 Alex Klyubin <klyubin@google.com> Merge "Add PSKKeyManager to enable the use of TLS-PSK."
8bbfe71c0c2ad9aef3aa8ae1b0a4032ea5b69157 16-Jun-2014 Ying Wang <wangying@google.com> Merge "Rename "private api" to "system api", as the annotation indicates."
4e65d081d688c113718ea990a413e4822bd15942 14-Jun-2014 Ying Wang <wangying@google.com> Rename "private api" to "system api", as the annotation indicates.

Change-Id: I84161682406c28658a101ecb66a5bf9b2d6f38b3
/frameworks/base/Android.mk
6d97f5b91c6c82f28a2a3a5d3b922f0e5844e733 16-Jun-2014 Jinsuk Kim <jinsukkim@google.com> A few more APIs for HdmiControlService

Added following APIs in HdmiControlService:

- portSelect
- sendKeyEvent
- getPortInfo
- addDeviceEventListener

Some are not fleshed out yet. Will work on it in a follow up CL.

Change-Id: Ia8c635176c0378f6e8db589bf714d82bf21ce85d
/frameworks/base/Android.mk
24683f1e15cde8c1f70e2c5d9fa18bc7b4451241 13-Jun-2014 Wink Saville <wink@google.com> Merge "Merge kwd to master"
fb40dd4d00bd3361b2535bc866e6c21eadc52558 13-Jun-2014 Wink Saville <wink@google.com> Merge kwd to master

Add initial IMS and MSIM support from klp-wireless-dev-mirror

Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
/frameworks/base/Android.mk
94b59de852df7b6ce16aef73a9b2c11be8f3102d 03-Jun-2014 Mike Lockwood <lockwood@google.com> BluetoothAvrcpController: Move AVRCP controller support to new BluetoothProfile subclass

Change-Id: Id988040a7ce623ed68e0349920301ff48db1fbce
/frameworks/base/Android.mk
2263dd1ddd1a8ac828c25d34000c85165cad21ef 14-May-2014 Mike Lockwood <lockwood@google.com> BluetoothA2dpSink: Add new BluetoothProfile subclass for A2DP sink

Change-Id: I09d5cb8fdaea4c4828f333949b7c18deffd22722
/frameworks/base/Android.mk
cf916d34671f0ab6aad8de24c18e4dc96fb21941 12-Jun-2014 Mike Lockwood <lockwood@google.com> Rename BluetoothHandsfreeClient to BluetoothHeadsetClient

This makes our terminology consistent with the existing BluetoothHeadset profile

Also updated arguments to Context.bindService()

Change-Id: I27cc5a6fde256b1f5dccca53a7a15ec8f58691c2
/frameworks/base/Android.mk
7aca90fcc0175ab44613bb3e4f3f13fc4a688fa5 19-Aug-2013 Hemant Gupta <hemantg@codeaurora.org> Bluetooth: Add support for HFP Client role.

Implementation changes in frameworks to support
HFP Client role.

Change-Id: Ifb10527cd6c1301297cae4f923b20734af672034
/frameworks/base/Android.mk
b0d1d914073256db05aa33feb6b2d6018802635e 10-Jun-2014 Alex Klyubin <klyubin@google.com> Add PSKKeyManager to enable the use of TLS-PSK.

TLS-PSK is supported by the underlying TLS/SSL stack (based on
Conscrypt). This CL simply exposes this support in the Android
framework.

TLS-PSK is a set of TLS/SSL cipher suites which rely on a symmetric
pre-shared key (PSK) to secure the TLS/SSL connection and mutually
authenticate its peers. These cipher suites may be a more natural fit
compared to conventional public key based cipher suites in some
scenarios where communication between peers is bootstrapped via a
separate step (for example, a pairing step) and requires both peers
to authenticate each other. In such scenarios a symmetric key (PSK)
can be exchanged during the bootstrapping step, removing the need to
generate and exchange public key pairs and X.509 certificates.

Bug: 15073623
Change-Id: Idf2a773db3021de3d2ad144c5cc63d2415eb8e91
/frameworks/base/Android.mk
0188bee2c526270c178a0b1f918b2a09999de25f 11-Jun-2014 Christopher Tate <ctate@google.com> am d8f71d34: Merge "Out with the old; in with the new" into lmp-preview-dev

* commit 'd8f71d34c3c7fb161a1586de8edb52161c32d672':
Out with the old; in with the new
7060b04f6d92351b67222e636ab378a0273bf3e7 10-Jun-2014 Christopher Tate <ctate@google.com> Out with the old; in with the new

Switch to the official "JobScheduler" etc naming.

Bug 14997851

Change-Id: I73a61aaa9af0740c114d08188bd97c52f3ac86b7
/frameworks/base/Android.mk
5c507c1371d273cdff61d2395d47bd54fa26d614 06-Jun-2014 Jeff Brown <jeffbrown@google.com> Rename PrivateApi annotation to SystemApi. (DO NOT MERGE)

Change-Id: I97b473884f81ad375d0733e4766afe091dfdd854
/frameworks/base/Android.mk
e252909394921b65bce0e1910098b7c32c82232f 09-Jun-2014 RoboErik <epastern@google.com> am 6580a31d: Merge "Adds listeners for changes to the list of active sessions" into lmp-preview-dev

* commit '6580a31db0727dfffba99069f4866ad01fc88cfb':
Adds listeners for changes to the list of active sessions
a3d81885566f79b0e21438bd69634cc53a80918b 09-Jun-2014 RoboErik <epastern@google.com> Merge "Adds listeners for changes to the list of active sessions" into lmp-preview-dev
5adb67d4ce228a3afa6512e87d61c4d581dfd1e3 09-Jun-2014 Ed Heyl <edheyl@google.com> merge 4ce22057, regen api/current.txt

Change-Id: I39186b5c4d41753c729c5d1ee7ee96b03a45c514
3f48068d782b81dc1c8a0190b91fbb2862007244 06-Jun-2014 Jinsuk Kim <jinsukkim@google.com> Remove HdmiCecService

The service is replaced with HdmiControlService. Removing all the related
classes and the initialization of the service.

Change-Id: Ic7baaddffb9873613ddd1096e874f226da983939
/frameworks/base/Android.mk
2e7a9167aeefeb451f8d8c769175b9a0163744f3 05-Jun-2014 RoboErik <epastern@google.com> Adds listeners for changes to the list of active sessions

The listeners get notified when sessions are added, removed, or
reprioritized.

Change-Id: I7f3bfc84049719c3b9c19016c6bac92e1a5c3179
/frameworks/base/Android.mk
d5a5b5a547462f3e7c6315a501909bce2418ba86 06-Jun-2014 Jeff Brown <jeffbrown@google.com> Rename PrivateApi annotation to SystemApi.

Change-Id: I97b473884f81ad375d0733e4766afe091dfdd854
/frameworks/base/Android.mk
d8883df650b77dba3be38fb2ca8980594b901461 06-Jun-2014 Dianne Hackborn <hackbod@google.com> am 87bc3c25: Merge "Improvements to low power mode." into lmp-preview-dev

* commit '87bc3c258d8be516bc0fcedeb6eec34088582061':
Improvements to low power mode.
eb94fa7975b1e8742f3b00cec6bd4f9d6b329e3a 04-Jun-2014 Dianne Hackborn <hackbod@google.com> Improvements to low power mode.

Add new public API for monitoring low power mode.

BatteryService now puts device in to low power mode when
battery level is low.

Window manager now watches low power mode to turn off
animations.

Modifying the animator scale now gets propagated to all
processes.

Change-Id: I8fa566994764ddd4e1977631e28381ab9409f8ee
/frameworks/base/Android.mk
4c9e57f156d3cbd86b38e9897dfdab81964efe90 03-Jun-2014 Jae Seo <jaeseo@google.com> resolved conflicts for merge of ebe661c4 to master

Change-Id: Ic25dc762ee43654b439de3ec237ead007bee3df4
d5cc4a281e7ce29d1e8687ff3394b57a3a549260 31-May-2014 Jae Seo <jaeseo@google.com> Put TV Input Framework under android.media.tv, including TvContract

Bug: 15345342
Change-Id: I665ca23f0f074ce29cb2e047109b209178532107
/frameworks/base/Android.mk
f20d640fa2b155a971ddfe0965fc803a73b5e53c 25-May-2014 Amith Yamasani <yamasani@google.com> Restrictions Manager

Mechanism to register a provider for requesting an
administrator to respond to permission requests.

Request format and response format constants.

Description of manifest template for static restrictions.
Int type introduced in RestrictionEntry.

Needs more javadoc and better description of manifest templates,
including specifying the XML attributes.

Change-Id: I5a654d364e98379fc60f73db2e06bf9a8310263d
/frameworks/base/Android.mk
560ce61c598d9912c4adbd9c602f1a870fb478f4 28-May-2014 Christopher Tate <ctate@google.com> Merge "DO NOT MERGE - Run the task manager service at startup" into lmp-preview-dev
3afed57a7d8a6e9d9fcaaa483a3c3e3652e2199a 22-May-2014 Santos Cordon <santoscordon@google.com> Adding ITelecommService definition for Telecomm.

Until telecomm code moves into a system service, we need a way for
other apps to call into it for call-related functionality.

Initial implementation only has silenceRinger.
This is to be implemented by the telecomm code and used by
TelephonyManager (until we have a TelecommManager).

Change-Id: I9180797451dcb2e9029b20bed47f5d5cb8cddb9f
(cherry picked from commit b895606acf18dbb050c9a32106b3c9c2e5111829)
/frameworks/base/Android.mk
aae5886ad81ccbb823b3db4a9cecf26a4f2fe344 27-May-2014 Jeff Brown <jeffbrown@google.com> Merge "Split frameworks/base using inclusion and exclusion rules."
c3a6e23e3f286271abbda0d99edee35d0ceb6692 27-May-2014 Wonsik Kim <wonsik@google.com> am e32b2d32: Revert "Revert "Add physical TV input handling to TvInputManagerService""

* commit 'e32b2d32d7e4a492bb3038c7bc55988a908437a4':
Revert "Revert "Add physical TV input handling to TvInputManagerService""
c22dbb69194c8e8fe2a32326d1f37a738cad0904 26-May-2014 Wonsik Kim <wonsik@google.com> Revert "Revert "Add physical TV input handling to TvInputManagerService""

This reverts commit 1940e197a8de186df5edf0b78e0907ae539bd215.

Bug: 14118245, Bug: 15197740
Change-Id: Ia308f16d2ed8ec55112a4d21c180ccb97e8d7c6a
/frameworks/base/Android.mk
82d96d5e21641be086108838a70ab7b41374c0f1 24-May-2014 Guang Zhu <guangzhu@google.com> Merge "Revert "Add physical TV input handling to TvInputManagerService""
70aa0c6db3cf89adafe3e1946e3713c18b0de8f0 24-May-2014 Guang Zhu <guangzhu@google.com> Revert "Add physical TV input handling to TvInputManagerService"

Bug: 15197740

This reverts commit c8324a8e70d9f617c92f49e7c0b3e2484d9190fd.

Change-Id: Ie7b5405e929b5903f43188c3445fe9d24ecf92c2
/frameworks/base/Android.mk
5d038b9d6f2ab1eedb6825bee0c241b41df7767e 24-May-2014 Wonsik Kim <wonsik@google.com> Merge "Add physical TV input handling to TvInputManagerService"
3d9eb6a50ea017437c9e976cc61094b7da812ec1 24-May-2014 Jeff Brown <jeffbrown@google.com> Split frameworks/base using inclusion and exclusion rules.

Change-Id: I76df8b6c5482f9a154e9812367cfe5a385141605
/frameworks/base/Android.mk
fa380e982e41b0dcbbcf2201803abf26808016b5 19-May-2014 Christopher Tate <ctate@google.com> DO NOT MERGE - Run the task manager service at startup

Also moves most of it into android.app.task rather than android.content.

(Cherrypick from master)

Change-Id: Ic07a664bf54bc3e40aa0b892946edba4bf37262a
/frameworks/base/Android.mk
8f64f80888ab6cc2a4e3f8a65d8b54650e07fc5c 19-May-2014 Christopher Tate <ctate@google.com> Run the task manager service at startup

Also moves most of it into android.app.task rather than android.content.

Bug 14993295
Bug 14997851

Change-Id: I9b5738d026ea2526cdfbc96d0239c74687c51611
/frameworks/base/Android.mk
f176e3be88ffeaf806acc6e95b131789018bcaf5 23-May-2014 Adrian Roos <roosa@google.com> am fe3a59cf: Merge "Add a cache to LockPatternUtils" into lmp-preview-dev

* commit 'fe3a59cfa476fd22006f585b1c5ae8624d5191df':
Add a cache to LockPatternUtils
4f7884542ce8fba5bfed01ed834a32e6d3e2dea5 22-May-2014 Adrian Roos <roosa@google.com> Add a cache to LockPatternUtils

Caches responses from LockSettingsService in the client process.

Bug: 15088101
Change-Id: If77c5ec45f52a02c800d50cb8550bfcb180f301d
/frameworks/base/Android.mk
1f589759969f170fe58303d495b1a3e096c91780 04-Mar-2014 Wonsik Kim <wonsik@google.com> Add physical TV input handling to TvInputManagerService

Remaining work:
- Support buffer producer profile
- Implement communication with HdmiControlService such as input switch
and key event passing

Bug: 14118245
Change-Id: I01e6a8b5374a0cbe6f2ef1feabe768fd3c65480a
/frameworks/base/Android.mk
5c013261a941fabfb33df4f8d4e3799fab5e7a3e 22-May-2014 Santos Cordon <santoscordon@google.com> Merge "Adding ITelecommService definition for Telecomm."
08a7b76441dd3dbdd9011201b287b6057d37a11a 22-May-2014 Christoph Studer <chstuder@google.com> Move more packages to framework2

Change-Id: Ib8e3c915479eb5bc029256934d522f3714071bc2
/frameworks/base/Android.mk
e2c7a764644424311930b6f7c3681d40b4f2417c 22-May-2014 Lorenzo Colitti <lorenzo@google.com> Merge "Add an EthernetManager."
6848f72a49f05509e6bc95a8a73c9dcd629af62c 22-May-2014 Santos Cordon <santoscordon@google.com> Adding ITelecommService definition for Telecomm.

Until telecomm code moves into a system service, we need a way for
other apps to call into it for call-related functionality.

Initial implementation only has silenceRinger.
This is to be implemented by the telecomm code and used by
TelephonyManager (until we have a TelecommManager).

Change-Id: I9180797451dcb2e9029b20bed47f5d5cb8cddb9f
/frameworks/base/Android.mk
dbbceffd9b7fc812da9a5b0a1269d43f748c37b8 22-May-2014 Jinsuk Kim <jinsukkim@google.com> Merge "Add feature actions for HDMI-CEC playback device"
78d695d8ba532214b02e7f18e0ccf89cf099163d 13-May-2014 Jinsuk Kim <jinsukkim@google.com> Add feature actions for HDMI-CEC playback device

- OneTouchPlayAction
- DevicePowerStatusAction
- addHotplugEventListener
- removeHotplugEventListener

Change-Id: Ia7f31507ca62127efbacbbfe07ab43ba1f9bd4cf
/frameworks/base/Android.mk
4e5aa2cee69f6791f8001aeb1fc12389863fab8f 22-May-2014 Lorenzo Colitti <lorenzo@google.com> Add an EthernetManager.

The implementation will live in frameworks/opt/net/ethernet.

Bug: 7606609
Bug: 8687763
Bug: 14993642
Bug: 14981801
Change-Id: Ic771e268b0c78f0fc32f46af6fe0dd7c634a426e
/frameworks/base/Android.mk
3346a802087f621c6441bc512dfcc17b07143fc6 20-May-2014 John Spurlock <jspurlock@google.com> VolumeZen: SystemUI now hosts the volume dialog.

- Allow SystemUI to set the volume controller interface using
a new binder call to audio service.
- Remove VolumePanel's dependency on AudioService.
- Host the base VolumePanel in the SystemUI process.

Change-Id: I095d5a1a579d42b68d0f81abb4087bd0c754b876
/frameworks/base/Android.mk
7fee7232ee2ae45fb3cd4fcce314e8f1101ae8db 15-May-2014 Roger Chang <roger.chang@mediatek.com> Hotspot 2.0 framework - add implementation

Bug: 5485670
Change-Id: I4d0f728f4c20676232f2d61bbf49691f6e21a100
/frameworks/base/Android.mk
62b25a5bf0750483f36ac79c88177ee2ab630f8e 20-May-2014 Andres Morales <anmorales@google.com> Revert "Adding INfcUnlockSettings and NfcUnlock interface class."

This will be re-added as a Trustlet in a subsequent CL.

This reverts commit 38a7ed05f8fed0aa81f7214d827875f9876ffbe1.

Change-Id: I5aa36df42a7751f165b4ef184e0cda57e5568b59
/frameworks/base/Android.mk
94a873de0f6d2e1579bc2634712d9212fbe87dc8 19-May-2014 Santos Cordon <santoscordon@google.com> Merge "Remove methods added in TelephonyManager."
fc9c89f9aa53c61b3e832749f0a9e5f9ca86eed9 19-May-2014 Jinsuk Kim <jinsukkim@google.com> Merge "HdmiControlManager with HdmiPlaybackClient API definition"
91120c541ac0c8c5e256b75759c884b4d6d664fc 08-May-2014 Jinsuk Kim <jinsukkim@google.com> HdmiControlManager with HdmiPlaybackClient API definition

This is a rewrite of HdmiCecManager that exposes API for CEC Playback
device control. HdmiCecManager will be removed together with
HdmiCecService once the migration is completed.

Replaced direct access to CEC commands with the following 2 API:
- oneTouchPlay
- queryDisplayStatus

Each method requires communication with other device on CEC bus,
hence might take some time to finish. The result at the end of
protocol exchange is reported through a callback provided as a
parameter to the method.

The callback is based on interface not abstract class since
it has only one method 'onComplete'.

Change-Id: I41e9d4571f890303282a79a803c86530d0b46974
/frameworks/base/Android.mk
a4864472313208e4f1de02f45d3eadad237c54af 10-Apr-2014 Yuhao Zheng <yuhaozheng@google.com> Hotspot 2.0 framework APIs -- initial implementation

Cherry-picked from klp-wireless-dev-mirror
SHA1: e73969fac45aaca72528226dc8c0c5e54fb2cdd4

Bug: 5485670
Change-Id: If3250a2fae181a3774d3158e341220006ad6ebe5
/frameworks/base/Android.mk
14816d669b29607808e6d0ee72c602d340692d0e 17-May-2014 Santos Cordon <santoscordon@google.com> Remove methods added in TelephonyManager.

Change-Id: I771502ab76dfc24eb19b9ff58b029bea45d6832c
/frameworks/base/Android.mk
e8b718c264a2752c475d3022d3cfd6d8dbbce494 15-May-2014 Jeff Sharkey <jsharkey@android.com> Merge "Initial support for split APKs, PackageInstaller."
3a44f3f1b446315ef894e01d2ab9b5388c2bd8c4 29-Apr-2014 Jeff Sharkey <jsharkey@android.com> Initial support for split APKs, PackageInstaller.

Defines a new PackageInstaller class that will be used for installing
and upgrading packages. An application desiring to install an
application creates a session, stages one or more package files in
that session, and then kicks off the install.

Previously, PackageManager would always make its own copy of a package
before inspecting it, to ensure the data could be trusted. This new
session concept allows the installer to write package data directly to
its final resting place on disk, reducing disk I/O and footprint
requirements. Writes are directed through an intermediate pipe
to ensure we can prevent mutations once an install has been initiated.
Also uses fallocate() internally to support optimal ext4 block
allocation using extents to reduce fragmentation.

Sessions are also the way we support installing multiple "split" APKs
in a single atomic operation. For a set of packages to form a valid
application, they must have exactly the same package name, version
code, and certificates. A session can also be used to add a small
handful of splits to an application by inheriting existing packages
when not performing a full install.

Add PackageParser support for extracting split names and certificates.

Bug: 14975160
Change-Id: I23d1bf4fbeb9f99a8c83be0c458900a0f0d1bccc
/frameworks/base/Android.mk
4fe8628006e7754f2ddeb212c2672298eedcd83d 15-May-2014 Winson Chung <winsonc@google.com> Merge "Adding method for applications to query their own tasks. (Bug 14627210)"
1147c406515bbfbcb7dbd750f81c7a5de928c5c6 14-May-2014 Winson Chung <winsonc@google.com> Adding method for applications to query their own tasks. (Bug 14627210)

Change-Id: I33299bf59784849171b19af4a5be2ab7665581c5
/frameworks/base/Android.mk
d9225ba40472848fb1dccd4493f1c9c4b37bc4b8 09-May-2014 Dianne Hackborn <hackbod@google.com> am 60549e20: Merge "Usage stats!"

* commit '60549e202fd57679b0ead98224264c3308106ebd':
Usage stats!
e22b3b143240f0f18e3d6d3c06686ad3c23b131b 08-May-2014 Dianne Hackborn <hackbod@google.com> Usage stats!

Start reworking the usage stats service to be able
to have an API we can publish.

The basic information it keeps is still the same, though
that will be changing in the future. The one big addition
here is that we are also now collecting configuration usage
stats.

Also introduce the start of an access model for usage stats,
using app ops. There is an new app op that gives an application
access to usage stats even if it normally wouldn't have it,
disabled by default.

Change-Id: I6ead28e18a7f08eafd057d6ff37dd9cb216358f4
/frameworks/base/Android.mk
6f5494c7490b7724b30f8a71e2a37e55954038a6 08-May-2014 Vinit Deshapnde <vinitd@google.com> am c5fe3c17: Merge "Initial implementation of WifiScanner"

* commit 'c5fe3c179c9f82cacaf0ac082f49de9f9c31708c':
Initial implementation of WifiScanner
011e1b35a64180d6f0234af8a3c2b70777eb9f39 08-May-2014 Vinit Deshapnde <vinitd@google.com> Initial implementation of WifiScanner

This change implements basic functionality of WifiScanner. Following
functionality is enabled

1. Scanning - specify a list of channels to scan
2. Significant change detection
3. AP hotlist

Change-Id: Ieef75b96bdbbd3c7d9b9e698bd16e64d3b465254
/frameworks/base/Android.mk
dd0a28f80d455bffb22ef957714478350cebe054 07-May-2014 Ying Wang <wangying@google.com> am 68dca221: Merge "Check doc comments when you run update-api."

* commit '68dca221e2457dcf813a6308e504e9f67d69a6ca':
Check doc comments when you run update-api.
ed896004d678d32f59fd316825627682b460d86e 07-May-2014 Ying Wang <wangying@google.com> Check doc comments when you run update-api.

Bug: 14614668
Change-Id: I7ae8de19b51aeaeef70e2ba8bfa268ec70dfaf64
/frameworks/base/Android.mk
353bda0985af2c250f3a9f1a5e4eae279d1dea0d 07-May-2014 Jim Miller <jaggies@google.com> am d031e36c: First pass at adding FingerprintManagerService

* commit 'd031e36c433c94fc6da3732be7e61aa906e45ec4':
First pass at adding FingerprintManagerService
08fa40c5cb5229b7969b2a5146855a337870f45a 30-Apr-2014 Jim Miller <jaggies@google.com> First pass at adding FingerprintManagerService

This adds a new service for monitoring and enrolling fingerprints
to the platform.

Fixed documentation links.

Change-Id: I66013be5e09be9c5f9746c46aacf32d3e26c3b73
/frameworks/base/Android.mk
ed433f5b88f89b0871b9db5ecb2ad56863b08276 02-May-2014 Dianne Hackborn <hackbod@google.com> am 89094f50: Merge "Make GET_TASKS signature|system."

* commit '89094f504091775d1f7ff68cf9cde11c87d2417a':
Make GET_TASKS signature|system.
09233289624a85093b1d99e4a6a149bf09059d8d 30-Apr-2014 Dianne Hackborn <hackbod@google.com> Make GET_TASKS signature|system.

Normal apps can't hold it now. If they try to use
getRecentTasks() or getRunningTasks() without the permission,
they will only see their own tasks and home in the list.

Also took this opportunity to eradicate all of the old pending
thumbnail stuff.

Change-Id: I6dc52a06221c78097162e4a8b482027b798bf3ee
/frameworks/base/Android.mk
8319d99a346f53774fa7cbb51ed1fea4383e6a4c 02-May-2014 Jeff Davidson <jpd@google.com> am 9e35d785: Merge "API for network cache subsystems."

* commit '9e35d785d00a3dd219f08cb5bdf5d3c525837619':
API for network cache subsystems.
4cd4110f20c2fcf8feaf04414e60b15f5801af4f 02-May-2014 Jeff Davidson <jpd@google.com> Merge "API for network cache subsystems."
abb81817eacafdfd9a03896f472ea25d4a987d3f 01-May-2014 Matthew Williams <mjwilliams@google.com> am a54edd7e: Merge "TaskManager API first pass."

* commit 'a54edd7eb31e641630d594de37b3ee9ce6ddfa61':
TaskManager API first pass.
674bc2fca5146e371f4d506b361967e72ef1c229 01-May-2014 Matthew Williams <mjwilliams@google.com> Merge "TaskManager API first pass."
14f1ec05b2add5ee051c0d2e7c7c3b36a6e77b92 29-Apr-2014 Jeff Davidson <jpd@google.com> API for network cache subsystems.

A network subsystem (e.g. Wi-Fi) will be responsible for implementing
INetworkScoreCache. NetworkScoreService will load caches for each
configured network subsystem. When it receives a call to update
scores, it will separate the networks by type and call updateScores on
the appropriate INetworkScoreCache.

Each subsystem will also be responsible for requesting scores for new
networks by calling NetworkScoreManager#requestScores.

Bug: 14408144
Bug: 14137255
Change-Id: I76e5e5205bc359c39d6b9c1782126fb7f465cd96
/frameworks/base/Android.mk
99a58b0e3a5d32932a6c8198fc7dba07ba58e761 28-Apr-2014 Dianne Hackborn <hackbod@google.com> am c60f1877: Merge "Rework some of the voice interaction APIs."

* commit 'c60f1877896e795a6add525ee36770e3aa77dc29':
Rework some of the voice interaction APIs.
18f0d357f9693fe787a3e3777d8fdf01357a6e3f 26-Apr-2014 Dianne Hackborn <hackbod@google.com> Rework some of the voice interaction APIs.

On the app side, requests are now composed by subclassing
from various types of Request objects.

On the service side, starting a voice interaction session
involves starting another service that will then manage the
session. This leads the service design much more to what
we want, where the long-running main service is very tiny
and all the heavy-weight transient session work is elsewhere
in another process.

Change-Id: I46c074c6fe27b6c1cf2583c6d216aed1de2f1143
/frameworks/base/Android.mk
4210a3091c3226246df14aafd72b68962fed7c78 27-Apr-2014 John Spurlock <jspurlock@google.com> am c1644c59: Wire up condition providers to zen mode exit triggers.

* commit 'c1644c590bbc24955ecd367cb4c8e368c24fe2e5':
Wire up condition providers to zen mode exit triggers.
e77bb36d48b6b8b5c3bb6a1195aca469bb237919 26-Apr-2014 John Spurlock <jspurlock@google.com> Wire up condition providers to zen mode exit triggers.

Bug:13743109
Change-Id: I4e45d7050d1f9aaa379f46379a3203e61e216a3d
/frameworks/base/Android.mk
ff1005a6f5f3da396da95d1086c03efba33ab651 25-Apr-2014 John Spurlock <jspurlock@google.com> am 7745fb9e: Merge "Introduce condition provider services."

* commit '7745fb9e95b6938591a46ffcaace8db02c93962f':
Introduce condition provider services.
b22aabbbd2801db0be526a64badf2efa208f19f1 25-Apr-2014 John Spurlock <jspurlock@google.com> Merge "Introduce condition provider services."
1b27c34fb6d6dce4e73f513a428d7119f3049b1a 25-Apr-2014 Dianne Hackborn <hackbod@google.com> am ed407e04: Merge "Initial implementation of new voice interaction API."

* commit 'ed407e046e63ca1d22a1d9206e2ad558bf821525':
Initial implementation of new voice interaction API.
7340fc8665ae3f9f1978f42aa0e5e1da85036158 25-Apr-2014 John Spurlock <jspurlock@google.com> Introduce condition provider services.

Add the condition provider interface, base class, and associated
system metadata.

Pull out common service management code into a reusable helper,
used by notification listeners and condition providers. The
helper, ManagedServices, is now completely self-contained - it
has no dependencies on NoMan or NoMan abstractions.

Bug:13743109
Change-Id: I6856d40f0a2ead78ac9b5707568559a57e7eb009
/frameworks/base/Android.mk
91097de49b0f683b00e26a75dbc0ac6082344137 05-Apr-2014 Dianne Hackborn <hackbod@google.com> Initial implementation of new voice interaction API.

This gives a basic working implementation of a persist
running service that can start a voice interaction when
it wants, with the target activity(s) able to go through
the protocol to interact with it. It may even work when
the screen is off by putting the activity manager in the
correct state to act like the screen is on.

Includes a sample app that is a voice interation service
and also has an activity it can launch.

Now that I have this initial implementation, I think I
want to rework some aspects of the API.

Change-Id: I7646d0af8fb4ac768c63a18fe3de43f8091f60e9
/frameworks/base/Android.mk
71dd3d91216ef73805b40a8ee6ea4c86c0101141 22-Apr-2014 Jeff Davidson <jpd@google.com> am 2ca3962b: Merge "Initial implementation of NetworkScoreManager\'s backing service."

* commit '2ca3962bc0168d360cf9567a313608347da51944':
Initial implementation of NetworkScoreManager's backing service.
6e31c5c82bc5c9bddf9c01d254067ea5bebbd96b 12-Apr-2014 Matthew Williams <mjwilliams@google.com> TaskManager API first pass.

This is a very barebones first pass, meant to ensure we're all on the
same page, and also get feedback.

Change-Id: I7d5492dc5aafbe583f7c2d97ebf1444b6d2e068a
/frameworks/base/Android.mk
6a4b220f1263d95fdefe6361c2bc87bbb04bbed0 17-Apr-2014 Jeff Davidson <jpd@google.com> Initial implementation of NetworkScoreManager's backing service.

This service will ultimately be responsible for propagating scores
down to lower-level network subsystems. For now, it just keeps scores
in memory and exposes these for debugging purposes via "adb shell
dumpsys network_score".

This change also adds provisioning of a default scorer. When
NetworkScoreService is first initialized, it checks to see if it has
ever set a default scorer; if not, it reads a package name from a
build config property and attempts to set it as the default.

Also add autogenerated equals/hashCode methods to all parcelables.

Bug: 14111427
Bug: 13786258
Change-Id: I02271171653d42e12acd240b73b9e23950744f6b
/frameworks/base/Android.mk
161bec6fe4854f58d965c1a15b47bb343300ee80 18-Apr-2014 RoboErik <epastern@google.com> resolved conflicts for merge of 0a57a111 to master-nova

Change-Id: Id9fad51341239051203a219d58213b9438effc50
07c7077c54717dbbf2c401ea32d00fa6df6d77c6 20-Mar-2014 RoboErik <epastern@google.com> Add RouteProviders to the new Media APIs

Compiles and works with OneMedia. This currently is a rough test of
the system for finding, connecting to, and sending messages to routes.
This will just connect to the first route it finds when a request to
open the route picker is made (and disconnect when another request is
made).

Change-Id: I5de5521a079471b9e02664be4654c0591dfd9a6d
/frameworks/base/Android.mk
b3035749d453c857a14b97c1f805a516810de056 10-Apr-2014 Svetoslav <svetoslavganov@google.com> am 6be2f952: Merge "Adding render stats APIs to UiAutomation (framework)."

* commit '6be2f95202237b7284542e692273d13a5bd26913':
Adding render stats APIs to UiAutomation (framework).
6be2f95202237b7284542e692273d13a5bd26913 10-Apr-2014 Svetoslav <svetoslavganov@google.com> Merge "Adding render stats APIs to UiAutomation (framework)."
c686d9abaf7424c2e9894f2d4e97237d12edebde 09-Apr-2014 Amith Yamasani <yamasani@google.com> am 5784b398: Merge "Launcher APIs and broadcasts for managed profiles"

* commit '5784b39843bd3d6112352ff3b736a6498107911c':
Launcher APIs and broadcasts for managed profiles
5784b39843bd3d6112352ff3b736a6498107911c 09-Apr-2014 Amith Yamasani <yamasani@google.com> Merge "Launcher APIs and broadcasts for managed profiles"
9210e8cb23a1b16e0592612b283d729abe4611ef 08-Apr-2014 Jae Seo <jaeseo@google.com> am 3957091b: Initial round of Television Input Framework

* commit '3957091ba8f08c02b5e781098cb955a5f697a1ff':
Initial round of Television Input Framework
3957091ba8f08c02b5e781098cb955a5f697a1ff 21-Feb-2014 Jae Seo <jaeseo@google.com> Initial round of Television Input Framework

This provides APIs to control and create individual television inputs on
the system which will later be hosted by television applications.

Change-Id: I6866d28e78175a1bff2c32a85c5d77e94d0cd60c
/frameworks/base/Android.mk
4f58263d02f296430a9653126d28501e95c7bb6c 19-Feb-2014 Amith Yamasani <yamasani@google.com> Launcher APIs and broadcasts for managed profiles

UserManager
- Corp badging
- Querying list of managed profiles

Launcher API
- LauncherApps and Service to proxy changes in managed profile
to the launcher in the primary profile
- Querying and launching launchable apps across profiles

Change-Id: Id8f7b4201afdfb5f414d04156d7b81300119289e
/frameworks/base/Android.mk
1376d600d8e0eefdbc0aa11d398cf7517fc77129 13-Mar-2014 Svetoslav <svetoslavganov@google.com> Adding render stats APIs to UiAutomation (framework).

bug:12927198

Change-Id: Iae21481c75ae58dcdab3731bf5f1e2844e29d434
/frameworks/base/Android.mk
8d20561554e159f31a30075c23cfeb6d477aa27e 02-Apr-2014 Sailesh Nepal <sail@google.com> Add CallServiceSelectorAdapter

Previously the selector would communicate with Telecomm using
callbacks.

For handoff, it's easier to communicate using an adapter.

Bug: 13643568
Change-Id: Ida5859a3b5b15c9fa1c533f27a3e14fd0d7c36af
/frameworks/base/Android.mk
3830700257028d26506f4a9bd5a3dd25798d675f 31-Mar-2014 Adrian Roos <roosa@google.com> am 53ab5174: Merge "Define trust agent framework components"

* commit '53ab5174d5009786dc58da3011181b77e325c130':
Define trust agent framework components
82142c21dd333307682d5f4bb09de3ab3ccfa06c 27-Mar-2014 Adrian Roos <roosa@google.com> Define trust agent framework components

Adds the TrustManager system service that allows
registering for changes to the trust status and
reporting events that are important to trust agents.

Bug: 13723878
Change-Id: I7d0d2ea86fd755702d31aa5d49cac038a6cd4301
/frameworks/base/Android.mk
4bc08ab9a97159ac3a779101c15530ba2f48a1e4 31-Mar-2014 Adrian Roos <roosa@google.com> am 716f20d8: Merge "Define initial trust agent API"

* commit '716f20d833537461fef7d5d7ed62157451391f1c':
Define initial trust agent API
ff2144ccb4215acf4587fc628493b3d49dca6043 28-Mar-2014 Adrian Roos <roosa@google.com> Define initial trust agent API

Adds the minimal API needed to define a useful trust agent.

Bug: 13723878
Change-Id: Ib24440bab7b16d0b656bde8b059e7d42cab2c7dc
/frameworks/base/Android.mk
562e755774676da508aab87d96c24b4194af4801 29-Mar-2014 Yuhao Zheng <yuhaozheng@google.com> am 93627ac8: Merge "Wifi hotspot stack initial hook up"

* commit '93627ac86c3805aaf545501b586bbca4fbc259e9':
Wifi hotspot stack initial hook up
93627ac86c3805aaf545501b586bbca4fbc259e9 28-Mar-2014 Yuhao Zheng <yuhaozheng@google.com> Merge "Wifi hotspot stack initial hook up"
29cc5df383d9e3baffc9c596f473d5686df66553 27-Mar-2014 Christopher Tate <ctate@google.com> am 5454ac6b: Merge "Expand install observer semantics"

* commit '5454ac6b3754685210ac4dd790d24dad70bc2801':
Expand install observer semantics
f1977b4500e82b72ea6aa5c46d97406a20017caf 25-Mar-2014 Christopher Tate <ctate@google.com> Expand install observer semantics

...and now fail conservatively when two apps both attempt to define
the same permission. Apps signed with the same certificate are
permitted to redefine permissions.

We also finally have a (hidden) interface class for observing package
installation so that we can now rev the interface without breaking
existing callers.

Bug 13551375

Change-Id: Ifa4e59154dcccbb286ee46a35a6f25e4ad0f0f01
/frameworks/base/Android.mk
dc0f2be939f71bb7cf32aee96eebb21dbf36eba2 26-Mar-2014 Glenn Kasten <gkasten@google.com> am 1ee4eb07: Merge "Revert "Expand install observer semantics""

* commit '1ee4eb074c2d85148658e93e865a18834bdced72':
Revert "Expand install observer semantics"
1ee4eb074c2d85148658e93e865a18834bdced72 26-Mar-2014 Glenn Kasten <gkasten@google.com> Merge "Revert "Expand install observer semantics""
7629a18a3f190368e6268d3f2827824905683268 26-Mar-2014 Glenn Kasten <gkasten@google.com> Revert "Expand install observer semantics"

This reverts commit ab8a501f255b272af887acb0e66eb71cdf24c755.

Change-Id: I4ab4ae1a96efa2adf9d5a513793d8b84eef38b4e
/frameworks/base/Android.mk
cfe34117bc93e4171455535846db5ebed88190d8 26-Mar-2014 Christopher Tate <ctate@google.com> am 9067dc03: Merge "Expand install observer semantics"

* commit '9067dc03ffc76c5210d26d5a53a211eff046d412':
Expand install observer semantics
9067dc03ffc76c5210d26d5a53a211eff046d412 26-Mar-2014 Christopher Tate <ctate@google.com> Merge "Expand install observer semantics"
ab8a501f255b272af887acb0e66eb71cdf24c755 25-Mar-2014 Christopher Tate <ctate@google.com> Expand install observer semantics

...and now fail conservatively when two apps both attempt to define
the same permission.

We also finally have a (hidden) interface class for observing package
installation so that we can now rev the interface without breaking
existing callers.

Bug 13551375

Change-Id: I3a286d024a30e812ee4b098f345401df3c00e178
/frameworks/base/Android.mk
10bf6354a536152719bf4524429aa5739836c541 25-Mar-2014 Yuhao Zheng <yuhaozheng@google.com> Wifi hotspot stack initial hook up

Add a dummy wifi hotspot service for futher development use. This is to
resolve the different between master branch and kwd branch, such that future
development can go into kwd and being auto-merged to master.

bug: 5485670
Change-Id: Ica58de445dd050a9f0b817f8e4accaa2478299c5
/frameworks/base/Android.mk
00ffde305da868401b78f92c3ad33fef0221bf7c 25-Mar-2014 Sailesh Nepal <sail@google.com> resolved conflicts for merge of 2d72d000 to master-nova

Change-Id: Icfb617ffab2da2f8805e4628e75e006c620b479d
f1e1e7714375b3b83f2cc3956b112293face56a1 21-Mar-2014 Gabriel Peal <gpeal@google.com> resolved conflicts for merge of 74fb97de to master

Change-Id: If28dc21a2ea7e634da130f3c59c17cd63dd5336a
/frameworks/base/Android.mk
8ee4491dc80943429cd79d0c7b87c28056067a58 25-Mar-2014 Gabriel Peal <gpeal@google.com> am e05077d7: am 83da75d9: Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.

* commit 'e05077d78c9abde054a754db53e71c647b9a705c':
Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
16578caea887c258510a885476c11a2a9bc29f71 23-Mar-2014 Gabriel Peal <gpeal@google.com> am e05077d7: am 83da75d9: Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.

* commit 'e05077d78c9abde054a754db53e71c647b9a705c':
Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
e05077d78c9abde054a754db53e71c647b9a705c 23-Mar-2014 Gabriel Peal <gpeal@google.com> am 83da75d9: Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.

* commit '83da75d938d519bbcffb9c3b52802fd2daad4aee':
Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
83da75d938d519bbcffb9c3b52802fd2daad4aee 20-Mar-2014 Gabriel Peal <gpeal@google.com> Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.

The first set of these APIs is for telephony:

Added some APIs to ITelephony and created a first party framework for them

toggleHold()
merge()
mute(boolean mute)
playDtmfTone(char digit, boolean timedShortCode)
stopDtmfTone()
swap()
addListener(ITelephonyListener listener)
removeListener(ITelephonyListener listener)

Bug: 13302451
Change-Id: Iefec5688c26a1b4fe77f5643eba6e1690a057ee6
/frameworks/base/Android.mk
6418a7d30c38641bc0b1e471ff50624b86a0052a 21-Mar-2014 Colin Cross <ccross@android.com> am 8a60ded0: Merge "resolved conflicts for merge of a67e34c8 to master"

* commit '8a60ded02614bc8358f89aa9b7cf3f8e7b1383a2':
Add HDMI-CEC service
a42cb8b0e2b8fdfbac1a6590d6b60814caa01088 21-Mar-2014 Colin Cross <ccross@android.com> resolved conflicts for merge of a67e34c8 to master

Change-Id: I597525886260884c9b2dfc7945e01eb8138a58c2
f76b62f19e235c113ded9383b113811ce72c56ab 20-Mar-2014 Svetoslav <svetoslavganov@google.com> am 8e3feb15: Added accessibility APIs for introspecting interactive windows.

* commit '8e3feb15c5aec2c72b0ef120a1da325e1e8f0dda':
Added accessibility APIs for introspecting interactive windows.
8e3feb15c5aec2c72b0ef120a1da325e1e8f0dda 24-Feb-2014 Svetoslav <svetoslavganov@google.com> Added accessibility APIs for introspecting interactive windows.

1. The old introspection model was allowing querying only the active window
which is the one the user is touching or the focused one if no window is
touched. This was limiting as auto completion drop downs were not inspectable,
there was not way to know when the IME toggles, non-focusable windows were
not inspectable if the user taps them as until a screen-reader starts
introspecting the users finger is up, accessibility focus was limited to
only one window and the user couldn't use gestures to visit the whole UI,
and other things I can't remember right now.

The new APIs allow getting all interactive windows, i.e. ones that a
sighted user can interact with. This prevents an accessibility service
from interacting with content a sighter user cannot. The list of windows
can be obtained from an accessibility service or the host window from an
accessibility node info. Introspecting windows obey the same rules for
introspecting node, i.e. the service has to declare this capability
in its manifest.

When some windows change accessibility services receive a new type
of event. Initially the types of windows is very limited. We provide
the bounds in screen, layer, and some other properties which are
enough for a client to determined the spacial and hierarchical
relationship of the windows.

2. Update the documentation in AccessibilityService for newer event types.

3. LongArray was not removing elements properly.

4. Composite accessibility node ids were not properly constructed as they
are composed of two ints, each taking 32 bits. However, the values for
undefined were -1 so composing a 64 long from -1, -1 prevents from getting
back these values when unpacking.

5. Some apps were generating inconsistent AccessibilityNodeInfo tree. Added
a check that enforces such trees to be well formed on dev builds.

6. Removed an necessary code for piping the touch exploration state to
the policy as it should just use the AccessibilityManager from context.

7. When view's visibility changed it was not firing an event to notify
clients it disappeared/appeared. Also ViewGroup was sending accessibility
events for changes if the view is included for accessibility but this is
wrong as there may be a service that want all nodes, hence events from them.
The accessibility manager service takes care of delivering events from
not important for accessibility nodes only to services that want such.

8. Several places were asking for prefetching of sibling but not predecessor
nodes which resulted in prefetching of unconnected subtrees.

9. The local AccessibilityManager implementation was relying on the backing
service being ready when it is created but it can be fetched from a context
before that. If that happens the local manager was in a broken state forever.
Now it is more robust and starts working properly once the backing service
is up. Several places were lacking locking.

bug:13331285

Change-Id: Ie51166d4875d5f3def8d29d77973da4b9251f5c8
/frameworks/base/Android.mk
4f512fb451c8ddcea852645c5c24314c20c0974b 28-Feb-2014 Jinsuk Kim <jinsukkim@google.com> Add HDMI-CEC service

This CL adds a system service handling HDMI-CEC protocol. The service
is equipped with the capability sending/receiving HDMI-CEC messages

Not all the messages are in place. Currently it has messages to support
a few features only, as follows:

- One touch play
- System information
- Routing control (partially - active source status maintenance only)
- Device OSD transfer
- Power status

It will be extended to cover the wider usages in the follow up CLs.

The CEC standard version referenced in the implementation is 1.3a.

Change-Id: Ifed0b02f52ebf098eddb3bd0987efbf353b7e8fe
/frameworks/base/Android.mk
cdf01b1325cdf7375e39e465271530b85a8e3784 13-Mar-2014 Hui Shu <hush@google.com> am 57ad97fb: Merge "Add removeApi commandline option for doclava and an empty removed.txt"

* commit '57ad97fb701876ecb87b76f29592a41731aeb487':
Add removeApi commandline option for doclava and an empty removed.txt
57ad97fb701876ecb87b76f29592a41731aeb487 13-Mar-2014 Hui Shu <hush@google.com> Merge "Add removeApi commandline option for doclava and an empty removed.txt"
ab5d282dd6f487578ae86b2d53d0d8edc9b71747 09-Mar-2014 Sailesh Nepal <sail@google.com> Add wrappers around telecomm interfaces

This CL adds wrappers for:
CallServiceLookupResponse
CallServiceAdapter
IInCallAdapter
IInCallService

This CL also moves all the aidl files into
com.android.internal.telecomm.

Change-Id: I840f023bc545643e8bb719825e7bc78344ee46ee
/frameworks/base/Android.mk
e76f7f7824df3228d29e92f148950573abb70c86 01-Mar-2014 Dianne Hackborn <hackbod@google.com> am 77b987f1: Hold a wake lock while dispatching network activity events.

* commit '77b987f1a1bb6028a871de01065b94c4cfff0b5c':
Hold a wake lock while dispatching network activity events.
77b987f1a1bb6028a871de01065b94c4cfff0b5c 27-Feb-2014 Dianne Hackborn <hackbod@google.com> Hold a wake lock while dispatching network activity events.

Also add new API for determining whether the current data network
is active, and thus better scheduling network operations. This
API is designed to not be tied to a mobile network -- regardless
of the network, apps can use it to determine whether they should
initiate activity or wait. On non-mobile networks, it simply always
reports as the network being active.

This changed involved reworking how the idle timers are done so
that we only register an idle timer with the current default
network. This way, we can know whether we currently expect to
get callbacks about the network being active, or should just always
report that it is active. (Ultimately we need to be getting this
radio active data from the radio itself.)

Change-Id: Iaf6cc91a960d7542a70b72f87a7db26d12c4ea8e
/frameworks/base/Android.mk
e4f0fe586f456a59fc00cc9e3d0194cc183ddeaa 26-Feb-2014 RoboErik <epastern@google.com> resolved conflicts for merge of 8fb4cf1e to master-nova

Change-Id: I61a6fc192b0c2099af9bebdf8e9d8bbfaa4243a3
2f5b057da7d05d5d699a272aa24fd7c97cdda820 21-Feb-2014 RoboErik <epastern@google.com> Move Session apis to android.media.session

This is to make it easier to distinguish the new apis from the old
ones.

Change-Id: Ic5eaf65e8bd054a844f87b9118c4bb18f30ac8a7
/frameworks/base/Android.mk
06d37f716f3afb58ed691e749781b76881d5877f 21-Feb-2014 Hui Shu <hush@google.com> Add removeApi commandline option for doclava and an empty removed.txt

BUG: b/11293324
Change-Id: Ief41ae23f3d6364260ce34ee9f3211130a6a83d7
/frameworks/base/Android.mk
dda12a97461867a5e0bbdb836a9ecaa265b6edc8 21-Feb-2014 Jeff Brown <jeffbrown@google.com> am ac8bdfe4: Merge "resolved conflicts for merge of baaa080b to master"

* commit 'ac8bdfe4f06367e06e43d8759b6009b483a5e668':
Add a new "doze mode" based on Dream components.
10102e4c0e501333a12b38a5cfe709d1558d84dd 21-Feb-2014 Jeff Brown <jeffbrown@google.com> resolved conflicts for merge of baaa080b to master

Change-Id: I3ee12321e298f7a2ea577a99f30c49f3bb497fae
8f3fd30a60d4a5b6e9c94d463681b0c0ac3f119e 27-Jan-2014 Santos Cordon <santoscordon@google.com> Add interfaces between Telecomm and InCall.

Change-Id: Ie0e8c5e6626e1db33eb1142b302bf415785cfe47
/frameworks/base/Android.mk
f042a3f067b47a92c67d994ba3e24bf41636e4f9 15-Jan-2014 Ben Gilad <gilad@google.com> Following up on our discussion offline to introduce response objects for isSwitchable.

Change-Id: Ic1385d9b67ed0a859128845574d48ad90d6152a2
/frameworks/base/Android.mk
0f7dac1741dd4e2c56f8f6d441fdbef1533577b1 15-Jan-2014 Ben Gilad <gilad@google.com> Adding the CallServiceSelector skeleton (AIDL) files.

Change-Id: I55ca3bed6e1b964602a9291bd388a10c99729da7
/frameworks/base/Android.mk
4939ccf7864b3b5664c6cdbe124e49e68030cfa9 08-Jan-2014 Santos Cordon <santoscordon@google.com> Remove CallServiceProviderAdapter and replace with CallServiceLookupResponse.

Change-Id: I55a574784162e3cc4a88b2889f1d14a07116f937
/frameworks/base/Android.mk
6fee2ea8f887e32d4c4a8c35b0ff00ea7eeb2bb3 10-Jan-2014 Santos Cordon <santoscordon@google.com> Revert "Remove CallServiceProviderAdapter and replace with CallServiceLookupResponse."

This reverts commit 753fc58932e976086069bacb3e5252332960644b.

Change-Id: Ie17b4918fa404eb768c0f3ce5109d6cc8b2d1da8
/frameworks/base/Android.mk
6fbb1b73f82da0e7fe1244e4a44dea3c3c163997 08-Jan-2014 Santos Cordon <santoscordon@google.com> Remove CallServiceProviderAdapter and replace with CallServiceLookupResponse.

Change-Id: I4d1c007bd46b804ecbb80163fc26de199cdbb2eb
/frameworks/base/Android.mk
3784133b95f1206c0c6bbbddb5921ef396b5b941 17-Dec-2013 Santos Cordon <santoscordon@google.com> Additional fixes to aidl files.

Change-Id: I24e5ae0ff65c3049d735cd4c6e1d79a0c406d92b
/frameworks/base/Android.mk
b3e51b791873b2ca6da6694964a48e0f2f49305a 17-Dec-2013 Santos Cordon <santoscordon@google.com> Fixing typos and a build break.

Change-Id: I74ac6da8a9943b3b2cc76a4fc75027b7717b1bb3
/frameworks/base/Android.mk
e57944dd55f72aa1b9fc04c6b6bc48992076fdf6 17-Dec-2013 Ben Gilad <gilad@google.com> Add the CallService base class and the necessary call-service-provider
AIDL interfaces.

Change-Id: Ic0aab1245d259f1148d403033647d795e07ab015
/frameworks/base/Android.mk
bb69b0c2d821a9806fb00037284c399cbc78277d 13-Dec-2013 Ben Gilad <gilad@google.com> Adding the frameworks/base code from https://googleplex-android-review.git.corp.google.com/#/c/391028

Change-Id: I6fe7aae52a7ff52da1a1e009e8361810fcaddd1e
/frameworks/base/Android.mk
d13e1d2babf9e3d14d3fe661c7c701b3b18b3eca 13-Dec-2013 Ben Gilad <gilad@google.com> Remove the telecomm entries now that we have https://googleplex-android-review.git.corp.google.com/#/c/398927

DO NOT SUBMIT until the above CL is uploaded.

Change-Id: I4e4f19175b502ba81c882d1379d1d225b0e6ba67
/frameworks/base/Android.mk
2687550272ba061448f5d5b914700dc335299ee7 31-Jan-2014 Jeff Brown <jeffbrown@google.com> Add a new "doze mode" based on Dream components.

When a doze component has been specified in a config.xml resource
overlay, the power manager will try to start a preconfigured dream
whenever it would have otherwise gone to sleep and turned the
screen off. The dream should render whatever it intends to show
then call startDozing() to tell the power manager to put the display
into a low power "doze" state and allow the application processor
to be suspended. The dream may wake up periodically using the
alarm manager or other features to update the contents of the display.

Added several new config.xml resources related to dreams and dozing.
In particular for dozing there are two new resources that pertain to
decoupling auto-suspend mode and interactive mode from the display
state. This is a requirement to enable the application processor
and other components to be suspended while dozing. Most devices
do not support these features today.

Consolidated the power manager's NAPPING and DREAMING states into one
to simplify the logic. The NAPPING state was mostly superfluous
and simply indicated that the power manager should attempt to start
a new dream. This state is now tracked in the mSandmanSummoned field.

Added a new DOZING state which is analoguous to DREAMING. The normal
state transition is now: AWAKE -> DREAMING -> DOZING -> ASLEEP.
The PowerManager.goToSleep() method now enters the DOZING state instead
of immediately going to sleep.

While in the doze state, the screen remains on. However, we actually
tell the rest of the system that the screen is off. This is somewhat
unfortunate but much of the system makes inappropriate assumptions
about what it means for the screen to be on or off. In particular,
screen on is usually taken to indicate an interactive state where
the user is present but that's not at all true for dozing (and is
only sometimes true while dreaming). We will probably need to add
some more precise externally visible states at some point.

The DozeHardware interface encapsulates a generic microcontroller
interface to allow a doze dream for off-loading rendering or other
functions while dozing. If the device possesses an MCU HAL for dozing
then it is exposed to the DreamService here.

Removed a number of catch blocks in DreamService that caught Throwable
and attempted to cause the dream to finish itself. We actually just
want to let the process crash. Cleanup will happen automatically if
needed. Catching these exceptions results in mysterious undefined
behavior and broken dreams.

Bug: 12494706
Change-Id: Ie78336b37dde7250d1ce65b3d367879e3bfb2b8b
/frameworks/base/Android.mk
3df1380d14f5a54d4ed5aa44a07ba9eee7439b91 20-Feb-2014 RoboErik <epastern@google.com> am 33288685: Merge "Initial round of MediaSession APIs"

* commit '332886854438809e956fb232b69879e33b5dc2bb':
Initial round of MediaSession APIs
332886854438809e956fb232b69879e33b5dc2bb 20-Feb-2014 RoboErik <epastern@google.com> Merge "Initial round of MediaSession APIs"
01fe661ae5da3739215d93922412df4b24c859a2 13-Feb-2014 RoboErik <epastern@google.com> Initial round of MediaSession APIs

This is far from complete but puts the basic components in place
for an app to interact with media sessions.

Change-Id: Icfe313f90ad76ae56badbe42b0e43fc5f68db36f
/frameworks/base/Android.mk
f86a9221a448178f4760192f082f3701ac487a47 19-Feb-2014 Sailesh Nepal <sail@google.com> Delete Third Party Call APIs

Change-Id: I6121c53362804a228e0316a1666b5032817530ab
/frameworks/base/Android.mk
78d659870fda5e2c195d2b548a1e9a018cb3afc3 13-Feb-2014 Dirk Dougherty <ddougherty@google.com> am 5da502a5: am b9378d81: am 321cd18a: am 820bb4bd: am 9c50271d: am 257f6724: am 35cb4e49: Doc change: add new samples TOC groups and landing pages.

* commit '5da502a5b2a6eed6cf667c5d609818442a838c8a':
Doc change: add new samples TOC groups and landing pages.
5da502a5b2a6eed6cf667c5d609818442a838c8a 13-Feb-2014 Dirk Dougherty <ddougherty@google.com> am b9378d81: am 321cd18a: am 820bb4bd: am 9c50271d: am 257f6724: am 35cb4e49: Doc change: add new samples TOC groups and landing pages.

* commit 'b9378d8108555c920880d7ec7ec4122b04fb2960':
Doc change: add new samples TOC groups and landing pages.
820bb4bdd358bfaac446b8ce4af5474dcfc77613 13-Feb-2014 Dirk Dougherty <ddougherty@google.com> am 9c50271d: am 257f6724: am 35cb4e49: Doc change: add new samples TOC groups and landing pages.

* commit '9c50271dc34e48d527db7da85c3b3474574faee2':
Doc change: add new samples TOC groups and landing pages.
9c50271dc34e48d527db7da85c3b3474574faee2 13-Feb-2014 Dirk Dougherty <ddougherty@google.com> am 257f6724: am 35cb4e49: Doc change: add new samples TOC groups and landing pages.

* commit '257f67249afb017c9a3d0a79e545da567aa5bd02':
Doc change: add new samples TOC groups and landing pages.
257f67249afb017c9a3d0a79e545da567aa5bd02 13-Feb-2014 Dirk Dougherty <ddougherty@google.com> am 35cb4e49: Doc change: add new samples TOC groups and landing pages.

* commit '35cb4e49365a8a8da0607c2659399aaad9ea5a1c':
Doc change: add new samples TOC groups and landing pages.
35cb4e49365a8a8da0607c2659399aaad9ea5a1c 08-Feb-2014 Dirk Dougherty <ddougherty@google.com> Doc change: add new samples TOC groups and landing pages.

Change-Id: I2f39e82fb79d4f19362d9fe2deafdde5d87873a7
/frameworks/base/Android.mk
eaeb071a1751c9813612a1e3e2ec2450ea0d7a73 12-Feb-2014 Sailesh Nepal <sail@google.com> Add interface definitions for CallService/PhoneService

Interfaces are meant to replace ThirdParty*.aidl/java files in same
directory long term. The differences in methods are on purpose and
reflect more recent design directions.

Change-Id: Ia98603a1d0b6d07a3393c5f7c5aa040f9e3916e4
/frameworks/base/Android.mk
512b28309d3ee5dd506e62fb14913047b6049236 12-Feb-2014 Sailesh Nepal <sail@google.com> DO NOT MERGE ThirdPartyCallSendDtmfCallBack API

This API is needed to implement post dial.

Change-Id: Iefdeae81d0eae6be86e7ee1e8ab0251ae43ed079
/frameworks/base/Android.mk
cb1b23b5e600abe542e3374b66c2be7976fccd72 05-Feb-2014 Andreas Huber <andih@google.com> Merge "FINAL ATTEMPT: HTTP services are now provided from JAVA and made available to media code"
d2506a506303ed94fd1991cf986b825b870a67c5 29-Jan-2014 Andreas Huber <andih@google.com> FINAL ATTEMPT: HTTP services are now provided from JAVA and made available to media code

Change-Id: I7f6cdcfd2a28846d36d89dd5180ef20a22b03af8
/frameworks/base/Android.mk
d417d625d244356bc770e2692fd59e754a72f59f 20-Aug-2013 Christopher Tate <ctate@google.com> Introduce "IdleService" API to expose idle-time maintenance to apps

When an application wishes to do low-priority background work when the
device is otherwise idle (e.g. in a desk dock overnight), it declares
a service in its manifest that requires this permission:

android:permission="android.permission.BIND_IDLE_SERVICE

to launch, and which publishes this intent filter:

<intent-filter>
<action android:name="android.service.idle.IdleService" />
</intent-filter>

This string is declared in the API as IdleService.SERVICE_INTERFACE.

The service must be implemented by extending the new "IdleService"
class, which provides the API through which the system will communicate
with the app.

IdleService declares three methods, two of which are lifecycle callbacks
to the service, and the third of which is for the service itself to
invoke when appropriate. The lifecycle callbacks are

public abstract boolean onIdleStart();
public abstract void onIdleStop();

The first of these is a notification to the service that an idle
maintenance interval has begun. The service can then spin off
whatever non-UI work it wishes. When the interval is over, or if
the OS determines that idle services should be shut down immediately,
the onIdleStop() method will be invoked. The service must shut down
any background processing immediately when this method is called.

Both of these methods must return immediately. However, the OS
holds a wakelock on the application's behalf for the entire period
between the onIdleStart() and onIdleStop() callbacks. This means
that for system-arbitrated idle-time operation, the application does
not need to do any of its own wakelock management, and does not need
to hold any wakelock permissions.

The third method in IdleService is

public final void finishIdle();

Calling this method notifies the OS that the application has finished
whatever idle-time operation it needed to perform, and the OS is thus
free to release the wakelock and return to normal operation (or to
allow other apps to run their own idle services).

Currently the idle window granted to each idle service is ten minutes.
The OS is rather conservative about when these services are run; low
battery or any user activity will suppress them, and the OS will not
choose to run them particularly often.

Idle services are granted their execution windows in round-robin
fashion.

Bug 9680213

Change-Id: Idd6f35940c938c31b94aa4269a67870abf7125b6
/frameworks/base/Android.mk
c0877962b3dc49edb42aeda766593123c81613f1 22-Jan-2014 Svetoslav Ganov <svetoslavganov@google.com> Adding the print and accessibility pacelables to framework.aidl

1. There are a few parcelable classes related to printing and accessibility
which are public but not added in the framework.aidl list so third parties
cannot write aidl interfaces that pass these classes. As these classes
are public it is resonable for devepers to be able to pass them between
processes.

Change-Id: I85da1de5198902b74f19d23e3fe16b45b4a11051
/frameworks/base/Android.mk
ff288f7f57dfd7f12a6e8c36d9d46331077dbc03 19-Dec-2013 Craig Mautner <cmautner@google.com> resolved conflicts for merge of b7bba718 to master

Change-Id: Ibbac3f6e3eda0149ae9446d6baed1d1bee5138ac
4a1cb22056112f7ffd5f4fad8b7a092b96e7cc7b 05-Dec-2013 Craig Mautner <cmautner@google.com> Pair ActivityStacks with Displays

- Introduce concept of ActivityStacks residing on Displays and able
to be decoupled and moved around.
- Add a new interface, IActivityContainer for clients to handle
ActivityStacks.
- Abandon ordering of stacks based on mStackState and instead use
ActivityDisplayInfo.stacks<ActivityStack> ordering.

Progress towards closing bug 12078972.

Change-Id: I7785b61c26dc17f432a4803eebee07c7415fcc1f
/frameworks/base/Android.mk
38a7ed05f8fed0aa81f7214d827875f9876ffbe1 15-Nov-2013 Andres Morales <anmorales@google.com> Adding INfcUnlockSettings and NfcUnlock interface class.

Change-Id: Ie55a5d4bb58c2944952fc84cce32d3573a3a1a22
/frameworks/base/Android.mk
b33fe50a634e4fde635f7e662526db1c3e2cfa5c 05-Dec-2013 Ying Wang <wangying@google.com> am dcbde1b0: Merge "libcore_to_document and junit_to_document are no longer functions."

* commit 'dcbde1b02ad69c18509afd87974c72c3a22f45dd':
libcore_to_document and junit_to_document are no longer functions.
50a0fd50f7f76a76d068690e63194169da292215 05-Dec-2013 Ying Wang <wangying@google.com> libcore_to_document and junit_to_document are no longer functions.

They are evaluated only once in the corresponding export .mk file.
This fixes build log spam reported in:
https://code.google.com/p/android/issues/detail?id=63184

Change-Id: I549eb052272bbdebef8fca697822f5eaa0fe5764
/frameworks/base/Android.mk
c79d6a9bd6de724ec2357537ce8655f1845d481d 05-Dec-2013 Ying Wang <wangying@google.com> libcore_to_document and junit_to_document are no longer functions.

They are evaluated only once in the corresponding export .mk file.
This fixes build log spam reported in:
https://code.google.com/p/android/issues/detail?id=63184

Change-Id: I549eb052272bbdebef8fca697822f5eaa0fe5764
/frameworks/base/Android.mk
2fbe13dc63bea12ceddc4bf047058970bdc381c3 23-Nov-2013 Dirk Dougherty <ddougherty@google.com> am 713e3853: am 0b492138: am 6000f1ed: Re-enable samples browser.

* commit '713e3853bf57410f389496c20db1fc3818b3d5d8':
Re-enable samples browser.
0b492138c744299e695b6aeee24eebb880de1c7d 23-Nov-2013 Dirk Dougherty <ddougherty@google.com> am 6000f1ed: Re-enable samples browser.

* commit '6000f1ed3d402e3136df173d987c901cc3cc1ff2':
Re-enable samples browser.
6000f1ed3d402e3136df173d987c901cc3cc1ff2 22-Nov-2013 Dirk Dougherty <ddougherty@google.com> Re-enable samples browser.

Change-Id: I9d0c5966422ba0cf8bca576895f30679d40a19ab
/frameworks/base/Android.mk
59aa4be0ec76f09446f08ba3e95e162af78b8db3 22-Nov-2013 Dirk Dougherty <ddougherty@google.com> am a6703462: am a0501105: am 9eaa9443: Disable samples browsing temporarily.

* commit 'a6703462926408fa83f41a2cb319e4f51fa7d4ca':
Disable samples browsing temporarily.
a0501105723ac742114ee07bd610ddf5e2713c82 22-Nov-2013 Dirk Dougherty <ddougherty@google.com> am 9eaa9443: Disable samples browsing temporarily.

* commit '9eaa94439121f6cb03bff8ecf0acbcbc74442f2d':
Disable samples browsing temporarily.
9eaa94439121f6cb03bff8ecf0acbcbc74442f2d 22-Nov-2013 Dirk Dougherty <ddougherty@google.com> Disable samples browsing temporarily.

Change-Id: I65fe533f1b43903d6605d17691ec142d062b6b5e
/frameworks/base/Android.mk
39fa9b111958a9a5f43da114e926c832529da194 22-Nov-2013 Dirk Dougherty <ddougherty@google.com> am 3ee2c60e: am 8b5da356: am 1448d3cd: Merge "Pass a new samplesdir param to doclava as the starting point for generating samples browsing files. Removes older project-based configuration." into klp-docs

* commit '3ee2c60e453e19b02b0ab52793045d2dd9a20912':
Pass a new samplesdir param to doclava as the starting point for generating samples browsing files. Removes older project-based configuration.
8b5da35670960586d5b41ee101026b89522ceb74 22-Nov-2013 Dirk Dougherty <ddougherty@google.com> am 1448d3cd: Merge "Pass a new samplesdir param to doclava as the starting point for generating samples browsing files. Removes older project-based configuration." into klp-docs

* commit '1448d3cd81a685c68b0102e8303c0db4e6e5668f':
Pass a new samplesdir param to doclava as the starting point for generating samples browsing files. Removes older project-based configuration.
5c678cedb5970b1d7c4090b8e8c308c4978a3e01 22-Nov-2013 Dirk Dougherty <ddougherty@google.com> Pass a new samplesdir param to doclava as the starting point for generating samples browsing files. Removes older project-based configuration.

Change-Id: If59372a92f0572d54af0f2ed7f9f9e401fbce067
/frameworks/base/Android.mk
7acec30ac7d5b2fba11757a2d2e3ad351be23441 20-Nov-2013 Dirk Dougherty <ddougherty@google.com> am 3d763e25: am a9a39d6c: am acca12fa: Merge "Doc change: move localized files into an intl dir. Build output remains the same for online, offline, and ds docs." into klp-docs

* commit '3d763e258b6643d29a495b5dfb1cb376e6b61f87':
Doc change: move localized files into an intl dir. Build output remains the same for online, offline, and ds docs.
a9a39d6ca25796ba0fcf16ead3a9928f36b6444d 20-Nov-2013 Dirk Dougherty <ddougherty@google.com> am acca12fa: Merge "Doc change: move localized files into an intl dir. Build output remains the same for online, offline, and ds docs." into klp-docs

* commit 'acca12faea5fc1c9de63fdc08ae4d6bc0bad864a':
Doc change: move localized files into an intl dir. Build output remains the same for online, offline, and ds docs.
5f0462a4f57d857a7fda3c5b7ecc075c7b9c1f6f 19-Nov-2013 Dirk Dougherty <ddougherty@google.com> Doc change: move localized files into an intl dir. Build output remains the same for online, offline, and ds docs.

Change-Id: Ia75712323563cf56f0224822cb7977f3421f8527
/frameworks/base/Android.mk
697d9f2f30dfaf87fbebdd182e47fc552d345ce5 12-Nov-2013 Sailesh Nepal <sail@google.com> Add ThirdPartyCall APIs to master

These are APIs for the new ThirdPartyPhone feature.

Note, these APIs can't actually be used yet on master for two reasons:
- initiating a call from a 3rd party app isn't possible yet because
the TelephonyManager APIs aren't being added to master.
- the TeleService implementation of these APIs aren't being added to
master.

Also, these APIs will be removed and the final ones will be added
once they're ready to be merged into master.

Change-Id: Ie783290451da448a011f813983e55b12047b5d99
/frameworks/base/Android.mk
7da5bbedc75d7143d5b2cf36c4876f7b09a88807 08-Nov-2013 Jeff Brown <jeffbrown@google.com> am c2b652fd: am 5182ea4b: am d40a4d74: Merge "Add media router service and integrate with remote displays." into klp-dev

* commit 'c2b652fd4d386b79dc99af249b6ad3844e53fdf1':
Add media router service and integrate with remote displays.
6c58d890f3a6993a3bcf413b84ba6fba875832f8 08-Nov-2013 Jeff Brown <jeffbrown@google.com> am 84d76025: am eb223425: am 1f7a8a06: Merge "Add a platform library for remote display providers." into klp-dev

* commit '84d760257f46232601e5f47411fb4e59f57f1872':
Add a platform library for remote display providers.
5182ea4bb20ec8fbe9562d0eaae8135d433ea0b6 08-Nov-2013 Jeff Brown <jeffbrown@google.com> am d40a4d74: Merge "Add media router service and integrate with remote displays." into klp-dev

* commit 'd40a4d74c623175c96a2e9d865a99826e56d1132':
Add media router service and integrate with remote displays.
eb223425e38cd9a3da12cd38c8c41e696c6b7e96 08-Nov-2013 Jeff Brown <jeffbrown@google.com> am 1f7a8a06: Merge "Add a platform library for remote display providers." into klp-dev

* commit '1f7a8a06256907e03405f89108f081289c23e97a':
Add a platform library for remote display providers.
d40a4d74c623175c96a2e9d865a99826e56d1132 08-Nov-2013 Jeff Brown <jeffbrown@google.com> Merge "Add media router service and integrate with remote displays." into klp-dev
1f7a8a06256907e03405f89108f081289c23e97a 08-Nov-2013 Jeff Brown <jeffbrown@google.com> Merge "Add a platform library for remote display providers." into klp-dev
69b07161bebdb2c726e3a826c2268866f1a94517 07-Nov-2013 Jeff Brown <jeffbrown@google.com> Add media router service and integrate with remote displays.

This change adds a new media router service whose purpose is to track
global state information associated with media routes. This service
publishes routes to the media router instance in application processes
and handles requested state changes such as selecting or unselecting
global routes. The service also binds to remote display provider
services which can offer new remote display routes to the system.

Includes a test application for manually verifying certain aspects
of the operation of the media router service.

The remote display provider interface is essentially a stripped down
media route provider interface as defined in the support library
media router implementation. For now, it is designed to be used only
by first parties to publish remote display routes to the system so
it is not exposed as public API in the SDK. In the future, the remote
display provider interface will most likely be deprecated and replaced
with a more featureful media route provider interface for third
party integration, similar to what is in the support library today.

Further patch sets integrate these new capabilities into the System UI
and Settings for connecting remote displays.

Bug: 11257292
Change-Id: I31109f23f17b474d17534d0f5f4503e388b081c2
/frameworks/base/Android.mk
f3c99e883f46c56e5e2877e844b902b6eb45545b 06-Nov-2013 Jeff Brown <jeffbrown@google.com> Add a platform library for remote display providers.

This interface allows applications to register services that offer
remote displays to the system. The system will then provide UI
to allow user to connect to these displays and enable mirroring.

Bug: 11257292
Change-Id: I34da5b9dfdaf71267bd3450c505bc1b7368d1b40
/frameworks/base/Android.mk
df21eb11bc8a9341cd9d3b3886e1a056ecd46127 07-Nov-2013 Scott Main <smain@google.com> am 40730533: am f7188557: am 03ec3428: fix build

* commit '40730533d45e310891b4e949eee92eb31a87515f':
fix build
b9f9f5ce680a82a17f6208ff824eda2ce28c5939 07-Nov-2013 Scott Main <smain@google.com> am 5cfa3fcb: am d183aae9: am 4cf4f521: add storage provider sample to build

* commit '5cfa3fcbba2916279dd43f8c031d0526581c8098':
add storage provider sample to build
03ec3428c9bcd8f8a8b58f79c2fc99a65097e1c5 02-Nov-2013 Scott Main <smain@google.com> fix build

Change-Id: I9916113fde67afa04789f451355da215f9b015f7
/frameworks/base/Android.mk
4cf4f5213e496b8862aa2d88d00eb0c734598072 02-Nov-2013 Scott Main <smain@google.com> add storage provider sample to build

Change-Id: I76f1e64f68b9db7c39ab3ec9bbbe0ecdd7729ae6
/frameworks/base/Android.mk
36265698315f3ec5470d1c61ec6082b230d84674 30-Oct-2013 Dirk Dougherty <ddougherty@google.com> Enable samples browsing in builds.

Change-Id: Ic47ef693dd5b2cd4010e68a600cae3b88d426bd2
(cherry picked from commit e8b32feb72bf4347c1bd98e6b21b18a506d2c5e3)
/frameworks/base/Android.mk
1b01252af3fe67fa2439446eb7000501e957d3eb 31-Oct-2013 Dirk Dougherty <ddougherty@google.com> am 65fe1908: am b2a905f0: am d51578ee: Merge "Enable samples browsing in builds." into klp-dev

* commit '65fe1908fc0af13c19e02b7a56f9c5697046c4f5':
Enable samples browsing in builds.
e8b32feb72bf4347c1bd98e6b21b18a506d2c5e3 30-Oct-2013 Dirk Dougherty <ddougherty@google.com> Enable samples browsing in builds.

Change-Id: Ic47ef693dd5b2cd4010e68a600cae3b88d426bd2
/frameworks/base/Android.mk
ba545513d603461240e22567b0375d252c00479b 30-Oct-2013 Dirk Dougherty <ddougherty@google.com> am ad064dac: am 52de9b52: am fd391d6f: Merge "Doc change: add new list of browseable samples and sample groups." into klp-dev

* commit 'ad064dac70a7ad54b3eefc67fa99e06aa0845a79':
Doc change: add new list of browseable samples and sample groups.
c5f168a6942cf43ad53b5f961a575dcb7009a32c 30-Oct-2013 Dirk Dougherty <ddougherty@google.com> Doc change: add new list of browseable samples and sample groups.

Change-Id: I5f0c6899a34ada9f8dfc492f849c9e03203bc920
/frameworks/base/Android.mk
e9ffeac1389dd9c99fff120475127af8a065c1a8 19-Oct-2013 Svetoslav Ganov <svetoslavganov@google.com> am 8a51e2f4: am a53e1f81: am 23757527: Merge "Hide the print dialog if the printing activity is destroyed." into klp-dev

* commit '8a51e2f48cb24113e8463eb251a097080eb46a7f':
Hide the print dialog if the printing activity is destroyed.
858a1850e2e1c4516129d27ecdf54aaeade606ca 18-Oct-2013 Svetoslav Ganov <svetoslavganov@google.com> Hide the print dialog if the printing activity is destroyed.

1. For an app to print it creates a PrintDocumentAdapter implementation
which is passed to the print dialog activity. If the activity that
created the adapter is destroyed then the adapter, which may rely on
the activity state, may be in an invalid state. For example, an app
creates an adapter and calls print resuting in the app activity and
the print dialog activity being stacked. Now the user rotates the
device which triggers the recreating of the activity stack (assume the
app does not handle rotation). The recreated print dialog activity
receives the intent that originally created it with containing the
adapter that was constructed in the context of the old, now destroyed,
app activity instance.

To handle this we are limiting an app to be able to print only from
and activity and when this activity is destroyed we mark the adapter
as invalid which will result in hiding the print dialog activity. Note
that if the app process is killed we already handle this in the print
dialog activiy by registering a death recipient on the adapter binder.

2. In the PrintManager.PrintDocumentAdapterDelegate some of the state is
accessed only on the main thread and some from miltiple threads. The
code was trying to avoid locking for state that is not accessed by
multiple threads but this is error prone and the benefit does not
justify the complexity and added fragility. Now grabbing a lock all
the time.

3. The PrintJobConfigActivity waits for it to bind to the print spooler
service before instantiating its print controller and editor. However,
these can be accessed by invoking some of the activity cycle callbacks.
This change is adding null checks for the case where the activity
callbacks are called before the binding to the spooler is completed.

bug:11242661

Change-Id: Id906b3170e4f0a0553772dfa62686f06fdca0eaf
/frameworks/base/Android.mk
a1f9936c6ba5ab6761e0bd9de894997ae6ba9ba6 11-Oct-2013 Svetoslav <svetoslavganov@google.com> am 5c880d0d: am 6f688e87: am 8f34715b: Merge "Refactor how the print dialog activity is started." into klp-dev

* commit '5c880d0d1551603dcc4366406ec9ee3b812a8fc4':
Refactor how the print dialog activity is started.
7bfbbcb04bf4ba8f3069b2df136f708c9849bacf 10-Oct-2013 Svetoslav <svetoslavganov@google.com> Refactor how the print dialog activity is started.

1. Before the print job activity was started asyncronously with
respect to the print call on to the print manager. This was
creating a situation where the starting activity may finish
before the print dialog appears which may lead to an orphaned
print document adapter with no data to print (as the UI is
is gone), or strange behaviors where the print dialog starts
on as a separate task.

To address this the pending intent for starting the print
dialog is not started by the print spooler since we cannot
call into it synchronously as we have to start its process
and bind to the spooler service which leads to jankyness in
the client app. Now the pending intent is created by the
print manager service in the synchronous print call so
from an app's perspective calling print starts the activity.

The side effect of this design is that the print dialog
activity may start before the system is bound to the spooler
service. In such a case the print activity cannot start
poking the print spooler state as the system registers
callback to observe the spooler state. To address this
the print spooler activity disables the UI and also binds
to the spooler service which happenes immediately after it
is started. As soon as the print dialog binds to the
service it starts the UI.

2. Fixed an bug in the printer adapter of the print dialog that
was leading to a crash if the only item in the adater is the
all pritners option and it is selected.

3. Piping the package name that started the printing so we can
pass it to the storage UI as a hint to open the last location
the app used.

bug:11127269

Change-Id: Ia93820bdae0b0e7600a0930b1f10d9708bd86b68
/frameworks/base/Android.mk
f99ec85e4fccd03f4531dcfdb955864efaa2583a 05-Oct-2013 Scott Main <smain@google.com> am 856441e7: am 920de6c6: am 332408f8: update version number for doc stamp

* commit '856441e72fa6a79a5421e9538e5af17df281eaab':
update version number for doc stamp
332408f86290bc02090d69f3a4b08ed959d93b62 04-Oct-2013 Scott Main <smain@google.com> update version number for doc stamp

Change-Id: I881510209a56204a464df082840d2dde56312303
/frameworks/base/Android.mk
f16e56c83429e042d2b7376a4f01f3f2f139a0c3 04-Oct-2013 Scott Main <smain@google.com> am 2cf2948d: am 3f90705a: am 795b6e42: Merge "add -since flag for api level 19 to filter javadocs" into klp-dev

* commit '2cf2948dbf15e8c0645154957f511379d8ef53bf':
add -since flag for api level 19 to filter javadocs
49551ad60b17ab05cb1ab70f528c6fd1dcac1ad1 04-Oct-2013 Scott Main <smain@google.com> add -since flag for api level 19 to filter javadocs

Change-Id: I96e7e31f93b1e3c3877a342b84fb069bda5d92e3
/frameworks/base/Android.mk
04871b3d664c147699f684ae48711d02833a2429 02-Oct-2013 Jake Hamby <jhamby@google.com> am 65cacb3c: Merge "Add android.provider.Telephony to public API." into klp-dev

* commit '65cacb3c5174f93debd481c7d573f34bc36f80f4':
Add android.provider.Telephony to public API.
35a42e0e723914f8c091cd79ae00ee7b45760dd7 01-Oct-2013 Mike Lockwood <lockwood@google.com> Supress contents of this project in embedded builds

Change-Id: Ib5c2853f8a20be2cba21cab081a31a327239cfd4
/frameworks/base/Android.mk
65cacb3c5174f93debd481c7d573f34bc36f80f4 30-Sep-2013 Jake Hamby <jhamby@google.com> Merge "Add android.provider.Telephony to public API." into klp-dev
af1066d917fd47c8108df98f8a534babd48d18cd 26-Sep-2013 Svetoslav Ganov <svetoslavganov@google.com> am 4609d9a9: am 5cab967b: Merge "Adding hidden APIs for observing the print jobs state." into klp-dev

* commit '4609d9a9ebc17d804d31d5241968157439c92a57':
Adding hidden APIs for observing the print jobs state.
704697b6197262678e930daa831a1916ddee4dcf 22-Sep-2013 Svetoslav Ganov <svetoslavganov@google.com> Adding hidden APIs for observing the print jobs state.

This is needed for implementing the print job settigns UI.

bug:10935736

Change-Id: I63b42cbf4ce6a259fa1af47fa368b148ca5621c1
/frameworks/base/Android.mk
43e51a3580f0c4b694143e8e4e194a715873bf26 18-Sep-2013 Jake Hamby <jhamby@google.com> Add android.provider.Telephony to public API.

Add directory containing android/provider/Telephony.java to build.
Add unhidden Telephony fields and classes to api/current.txt.

Bug: 10653081
Change-Id: Ib4ba66e09be5320d35257fcf481db58f840fdc53
/frameworks/base/Android.mk
103a02453b397e68a8befffb908f0985624a4f1c 14-Sep-2013 Jason Monk <jmonk@google.com> am f9464838: am 312c495f: Merge "Guarantee that PAC Local Proxy owns Port" into klp-dev

* commit 'f9464838fe141aac1c677e2f4ec0133381fbb5af':
Guarantee that PAC Local Proxy owns Port
312c495f4b8d002264772f61fe1fa3ef87bf3e52 13-Sep-2013 Jason Monk <jmonk@google.com> Merge "Guarantee that PAC Local Proxy owns Port" into klp-dev
6f8a68f49a7e8cf86104e721a1e8be7568b5f730 24-Aug-2013 Jason Monk <jmonk@google.com> Guarantee that PAC Local Proxy owns Port

This changes the PAC support to not broadcast the Proxy information until
the Local Proxy has started up and successfully bound to a port so that
the local proxy information can be guaranteed to be owned by the proxy.

Bug: 10459877
Change-Id: I175cd3388c758c55e341115e4a8241884b90d633
/frameworks/base/Android.mk
3333259945a75832ff0be4746ef7e9a0da1c7fa4 12-Sep-2013 Dirk Dougherty <ddougherty@google.com> am bf142e6b: am 16dae599: am 834ba474: am 4c6cde54: am 89579294: Merge "Pass whitelist of sample groups to doclava." into jb-mr2-docs

* commit 'bf142e6b846d86d4dcf75a51cfb84c2495291bae':
Pass whitelist of sample groups to doclava.
16dae5997bb0ff7f03d5a0ccfdc4be94aa35ba51 12-Sep-2013 Dirk Dougherty <ddougherty@google.com> am 834ba474: am 4c6cde54: am 89579294: Merge "Pass whitelist of sample groups to doclava." into jb-mr2-docs

* commit '834ba47485a5fb55c89d8f22b826bdb26049f6d6':
Pass whitelist of sample groups to doclava.
834ba47485a5fb55c89d8f22b826bdb26049f6d6 12-Sep-2013 Dirk Dougherty <ddougherty@google.com> am 4c6cde54: am 89579294: Merge "Pass whitelist of sample groups to doclava." into jb-mr2-docs

* commit '4c6cde545c5d2e76d9ba8ef926399463369da7e7':
Pass whitelist of sample groups to doclava.
a6c02679e11fddccdae176edb5f8797e267e5131 11-Sep-2013 Dirk Dougherty <ddougherty@google.com> Pass whitelist of sample groups to doclava.

Change-Id: I36f3e3426115cc296531cf41d20ab07a4d429b19
/frameworks/base/Android.mk
4c980cc6aede622b165d7936a89aae507a317cd3 12-Sep-2013 Alexander Ray <aray@google.com> am b0049151: am 7563d423: Merge "Add consumer IR framework" into klp-dev

* commit 'b0049151f7c1f2ffa7481ac7c6f6baf7a548c5e8':
Add consumer IR framework
6f64688bc8c1fc01b632dadfe4f75587f446e626 12-Sep-2013 Sandeep Siddhartha <sansid@google.com> am 6c5e9fb4: am f702286c: Merge "Remove HotwordRecognition APIs" into klp-dev

* commit '6c5e9fb4c4215f76a8a1fd8d72eee1154deb1039':
Remove HotwordRecognition APIs
7563d42331ed7df7f026c8921ae990ce2fca9efd 11-Sep-2013 Alexander Ray <aray@google.com> Merge "Add consumer IR framework" into klp-dev
65a6ba347848069b198869a7500d07a419aaf15d 11-Sep-2013 Sandeep Siddhartha <sansid@google.com> Remove HotwordRecognition APIs

- and its usage from Keyguard

Bug: 10708010
Change-Id: Ic4a695a1d0e9312706a3b4ff01e59e2567b6ad9c
/frameworks/base/Android.mk
51e95df8f24e9ea30775686b9e324b9a671213dc 26-Jun-2013 Erik Gilling <konkers@android.com> Add consumer IR framework

Change-Id: I786c00db0cce61ef75e4edc24e90f2cdcba6dbfb
/frameworks/base/Android.mk
56dbf8f23677d28615e61ef2fbb0e738cca02528 26-Jul-2013 Matthew Williams <mjwilliams@google.com> Fix broken javadocs

Change-Id: Ibf7f2ed92919efd36fffa963447b1a443c0bb9db
/frameworks/base/Android.mk
c27aba779b8eeb40a008c55aaae3c23bcbae1cdd 05-Sep-2013 Dirk Dougherty <ddougherty@google.com> am 03e5039a: am 2069b004: am 76fcf6c7: am 07c9bcc3: am 4ef51c3c: Merge "Add a few more samples to browser." into jb-mr2-docs

* commit '03e5039a9857e321ce949a73c4c59e18fcac6934':
Add a few more samples to browser.
2069b00416c5da60a84ad75a9a9efe56a455e187 05-Sep-2013 Dirk Dougherty <ddougherty@google.com> am 76fcf6c7: am 07c9bcc3: am 4ef51c3c: Merge "Add a few more samples to browser." into jb-mr2-docs

* commit '76fcf6c73e7dda99ec80e6da616bee26c2a088e6':
Add a few more samples to browser.
76fcf6c73e7dda99ec80e6da616bee26c2a088e6 05-Sep-2013 Dirk Dougherty <ddougherty@google.com> am 07c9bcc3: am 4ef51c3c: Merge "Add a few more samples to browser." into jb-mr2-docs

* commit '07c9bcc3a60a8860b65aa43badd8ab1f1858522b':
Add a few more samples to browser.
2826df3f3d4ef1433703c617891f0c871216d380 04-Sep-2013 Dirk Dougherty <ddougherty@google.com> Add a few more samples to browser.

Change-Id: Iac7acc22a8dd71950b32e2c35c82f53abc34168a
/frameworks/base/Android.mk
070cfb2da08c1cef57a20a92e0d59ddda1452a14 04-Sep-2013 Martijn Coenen <maco@google.com> am a5259f62: am f48416de: Merge "Reader mode NFC API: move to callback model." into klp-dev

* commit 'a5259f6261ed4521d70d02328807aab34275a706':
Reader mode NFC API: move to callback model.
5b1e032ea7c06ab11d778264dd950009fcb93cc5 03-Sep-2013 Martijn Coenen <maco@google.com> Reader mode NFC API: move to callback model.

Using intents for reader mode doesn't work well for 2 reasons:
1) Intents are used to resolve, but in reader mode we already
know where to resolve to. Additionally, dispatching an intent
causes additional latency.
2) Using intents with foreground dispatch was tricky; for every
call to onNewIntent() with a new tag, there was a call to
onPause(), which effectively disabled reader mode again,
causing a discovery loop.

Instead, let the app register a callback, and call that when
we discover a new tag. Also, add new flag to disable platform
sounds, and to change the presence check delay.

Bug: 10360259
Change-Id: I8373543d6cf2f7ca73c9b3e42bb8b51e3ac48cac
/frameworks/base/Android.mk
b1401f99a12cf92ffdf92adebd58113dadafb1cd 27-Aug-2013 Sandeep Siddhartha <sansid@google.com> am f7a7a636: am b0a17400: Merge "Add Service API to perform Hotword recognition" into klp-dev

* commit 'f7a7a636f6a38b8de9a54911152ec5858e344db6':
Add Service API to perform Hotword recognition
b0a17400cbf96ebb179e9125524f52117981d1a9 27-Aug-2013 Sandeep Siddhartha <sansid@google.com> Merge "Add Service API to perform Hotword recognition" into klp-dev
637cc458096f2f9ad53728dfb9ab0511c08b4837 24-Aug-2013 Sandeep Siddhartha <sansid@google.com> Add Service API to perform Hotword recognition

Change-Id: I855330b255a12cce309aa11e0b7cde5b8e061043
/frameworks/base/Android.mk
f026518672ed93f0c9d4a9ec5c75cc146d4da0a3 27-Aug-2013 Svetoslav Ganov <svetoslavganov@google.com> am e0612ffe: am 826debf5: Merge "Print UI bug fixing and printer discovery refactoring." into klp-dev

* commit 'e0612ffe5495602134d60422f63bfc05387512e1':
Print UI bug fixing and printer discovery refactoring.
44720af55a8fdf991929983dad5d53c02851dd1e 21-Aug-2013 Svetoslav Ganov <svetoslavganov@google.com> Print UI bug fixing and printer discovery refactoring.

1. Added support for selecting a printer from the all printers activity
that is not in the initial printer selection drop down. The user
initially sees a sub set of the printers in the drop down and the
last option is to see all printers in a separate activity. Some
of the printers in the all printers activity are not shown in the
initial drop down.

2. Refactored printer discovery by adding (private for now) printer
discovery app facing APIs. These APIs are needed to support multiple
printer selection activities (print dialog and all printers activities)
and also the settings for showing all printers for a service.

Now multiple apps can request observing for printers and there is
a centralized mediator that ensures the same printer discovery
session is used. The mediator dispatches printer discovery specific
requests to print services. It also aggregates discovered printers
and delivers them to the interested apps. The mediator minimizes
printer discovery session creation and starting and stopping discovery
by sharing the same discovery session and discovery window with
multiple apps. Lastly, the mediator takes care of print services
enabled during discovery by bringing them up to the current
discovery state (create discovery session and start discovery if
needed). The mediator also reports disappearing of the printers
of a service removed during discovery and notifies a newly
registered observers for the currnet printers if the observers are
added during an active printer discovery session.

3. Fixed bugs in the print UI and implemented some UX tweaks.

Change-Id: I4d0b0c5a6c6f1809b2ba5dbc8e9d63ab3d48f1ef
/frameworks/base/Android.mk
80a35d1a2065c9193562b3de4eef857b1e3ace87 22-Aug-2013 Dirk Dougherty <ddougherty@google.com> am 1063698a: am e9a0601e: am 978ec174: am de525b44: am 2a4f71df: Merge "Temporarily disable sample code html generation in docs builds." into jb-mr2-docs

* commit '1063698a5000b1d9a03a4503c71d6eb7afb0924b':
Temporarily disable sample code html generation in docs builds.
e9a0601e6e518b7a46460045b1bcfe76492ec513 22-Aug-2013 Dirk Dougherty <ddougherty@google.com> am 978ec174: am de525b44: am 2a4f71df: Merge "Temporarily disable sample code html generation in docs builds." into jb-mr2-docs

* commit '978ec174fbbbda4a844178f645e83365861a0d4c':
Temporarily disable sample code html generation in docs builds.
978ec174fbbbda4a844178f645e83365861a0d4c 22-Aug-2013 Dirk Dougherty <ddougherty@google.com> am de525b44: am 2a4f71df: Merge "Temporarily disable sample code html generation in docs builds." into jb-mr2-docs

* commit 'de525b442f6a0a467074ab216543c3372786139e':
Temporarily disable sample code html generation in docs builds.
a345833acecfef8adc43507a8053bdaa6f637fa9 21-Aug-2013 Dirk Dougherty <ddougherty@google.com> Temporarily disable sample code html generation in docs builds.

Change-Id: Ibcf0e4d5ab63968211528f528cc5bee914d7a556
/frameworks/base/Android.mk
61832149eb74f55a58137ec13504b0307487db68 21-Aug-2013 Jason Monk <jmonk@google.com> am a9e12e03: am ff796e5a: Merge "Change PacProcessor to Android Service" into klp-dev

* commit 'a9e12e03f3c00522745dba0f5a80096d3c39ae43':
Change PacProcessor to Android Service
ff796e5a24481febd8c07b1a6a3c3eda0e3fd88b 21-Aug-2013 Jason Monk <jmonk@google.com> Merge "Change PacProcessor to Android Service" into klp-dev
9ced3cd9d6ea414523051ec872fffc68f5fdbf08 12-Aug-2013 Jason Monk <jmonk@google.com> Change PacProcessor to Android Service

This switches the PacProcessor over to an Android Service. The service
is bound and unbound by the PacManager, which also adds it to the
ServiceManager, allowing for Context-Free access by the PacProxySelector
in all DVMs.

bug:10182711
Change-Id: Id1ff7660be56e8976cdcccd76e041feb47a17a61
/frameworks/base/Android.mk
04f7c6417bf55279534909aca9fa72bc1592163c 20-Aug-2013 Svetoslav <svetoslavganov@google.com> am be88e35d: am d3092167: Merge "Implemented advanced printer selection and API refactoring." into klp-dev

* commit 'be88e35d61d06be4987167b468708f6cc937845b':
Implemented advanced printer selection and API refactoring.
d30921672ca3022107ce63f750b0f35ab224af4b 20-Aug-2013 Svetoslav <svetoslavganov@google.com> Merge "Implemented advanced printer selection and API refactoring." into klp-dev
269403b032f965ff3847eb982c2f697229dc5a92 15-Aug-2013 Svetoslav <svetoslavganov@google.com> Implemented advanced printer selection and API refactoring.

1. Added past printer history tracking and merging favorite printers
with discovered printers.

2. Added save as PDF support.

3. Added all printers activity with search capability and optional
add printers chooser (if any print service provides add printers
activity)

4. Refactored the printer discovery session APIs. Now one session
can have multiple window discovery windows and the session stores
the printers found during past discovery periods.

5. Merged the print spooler and the print spooler service - much
simpler and easier to maintain.

Change-Id: I4830b0eb6367e1c748b768a5ea9ea11baf36cfad
/frameworks/base/Android.mk
7be765bf1c342825d2dd319db5b1b5f40ede26b9 19-Aug-2013 Dirk Dougherty <ddougherty@google.com> am 9c057eb6: am cb13399c: am 2d9ee707: am 364fe3a8: am b6bc020d: doc change: Samples browsing first changes: Samples dir and file starters.

* commit '9c057eb613d48c7bda5be25347c255c52162a32d':
doc change: Samples browsing first changes: Samples dir and file starters.
cb13399c1b3a0067a6b5b81cd3dc3833a5e9dcd9 19-Aug-2013 Dirk Dougherty <ddougherty@google.com> am 2d9ee707: am 364fe3a8: am b6bc020d: doc change: Samples browsing first changes: Samples dir and file starters.

* commit '2d9ee70703cb52a16d726eb177f6f4e0be4f93e2':
doc change: Samples browsing first changes: Samples dir and file starters.
2d9ee70703cb52a16d726eb177f6f4e0be4f93e2 19-Aug-2013 Dirk Dougherty <ddougherty@google.com> am 364fe3a8: am b6bc020d: doc change: Samples browsing first changes: Samples dir and file starters.

* commit '364fe3a856e7bd0c0a35724c2f42d381d8616370':
doc change: Samples browsing first changes: Samples dir and file starters.
b6bc020d728960dc876a510c9e40cc441a9a9b6b 09-Jul-2013 Dirk Dougherty <ddougherty@google.com> doc change: Samples browsing first changes: Samples dir and file starters.

Change-Id: I6cc8c03bf4c2bcc771d4531619db5b3acd62601f
/frameworks/base/Android.mk
96076c9c08391eace048993ee7c285a013620e3e 15-Aug-2013 Ying Wang <wangying@google.com> Run rmtypedefs on framework.jar.

Bug: 10330586
Change-Id: I3063390c6da543a8e17957dedc758de0f79ab9a5
/frameworks/base/Android.mk
5c7e64609c4de93cd70c2cbe238a5fc3ff3c6078 14-Aug-2013 destradaa <destradaa@google.com> Merge "Add support in the platform for Flp Geofencing." into klp-dev
7a8d9d6fecb31124ad1ec349944659a2f5672776 14-Aug-2013 Robert Greenwalt <rgreenwalt@google.com> Merge "Add support for batched wifi scans." into klp-dev
0682809ad08db284d7110aab44108d5e9c310e6b 13-Aug-2013 destradaa <destradaa@google.com> Add support in the platform for Flp Geofencing.

Change-Id: I0fb0e276d3a06322697bb5d46323779aca1f78c5
/frameworks/base/Android.mk
0451d59ba2d768e7653752028910f00a6c96e64e 02-Aug-2013 Robert Greenwalt <rgreenwalt@google.com> Add support for batched wifi scans.

bug:9301872

Change-Id: I5a7edfdbd2b78a65119d11acad491eae350c0870
/frameworks/base/Android.mk
c7c4d6dd4df2b177d0b6e382fdcde9bf2032baea 11-Aug-2013 Svetoslav Ganov <svetoslavganov@google.com> Merge "Refinement of the print service APIs." into klp-dev
798bed6cc7d273e72b0253288605db9cd2b57740 11-Aug-2013 Svetoslav Ganov <svetoslavganov@google.com> Refinement of the print service APIs.

1. Factored out the printer discovery APIs of a print service in a
dedicated session object that is created by the print service on
demand. This ensures that added/removed/updated printers from
one session do not interfere with another session.

2. Updated the app facing APIs to pass in a document info along
with a printed file. Also exposed the print file adapter so
apps that create a temporary file for printing can intercept
when it is read by the system so the file can be deleted.

3. Updated the print service documentation.

Change-Id: I3473d586c26d8bda1cf7e2bdacb441aa9df982ed
/frameworks/base/Android.mk
fe3807a5b23f54f6539436d71aa0cd931a2b76f0 19-Jul-2013 Matthew Xie <mattx@google.com> Bluetooth MAP profile - sms and mms support initial check-in

bug:10116530

Change-Id: I57d022005bcff5bc3e56438a81ac92566f957744
/frameworks/base/Android.mk
1af4b0280af406cfc7eb46810f6b76e57b983e11 13-Jul-2013 destradaa <destradaa@google.com> Add FlpHal layer to support Location Batching.

Change-Id: Ia3a57d869dfb3f067a1b95fa66d54f311ddcfdc3
/frameworks/base/Android.mk
602b232a06ede86999aa362a12eb28cbc782dc1d 03-Jul-2013 Jason Monk <jmonk@google.com> Add PAC File support for proxy configuration

PAC (Proxy auto-config) files contain a single javascript function,
FindProxyForURL(url, host). It gets called to determine what proxy should be
used for a specific request.

This adds PAC support to the system. The ProxyProperties has been modified
to hold the PAC file when one is present. The Proxy method
setHttpProxySystemProperty has been modified to insert a PacProxySelector
as the default ProxySelector when it is required. This new ProxySelector
makes calls to the ConnectivityService to parse the PAC file.

The ConnectivityService and the WifiConfigStore have been modified to support
saving the extra PAC file data.

The ConnectivityService now has a class attached (PacProxyNative) that
interfaces to the native calls for PAC files. The parsing of the PAC file
is handled by libpac (which is being added to external/) which utilizes
libv8 to parse the javascript.

As a fallback to applications that don't use the java ProxySelector, the proxy
is setup to point to a local proxy server that will handle the pac parsing.

bug:10182711
Change-Id: I5eb8df893c632fd3e1b732385cb7720ad646f401
/frameworks/base/Android.mk
23fb6e84182f325f036b1735b817ecc253e2bd19 07-Aug-2013 Dianne Hackborn <hackbod@google.com> Start adding IPC calls to retrieve proc stat data.

Also fix a bug where we were not correctly unparcelling service
duration data.

Change-Id: Ie9113b2e3a747622441b1939ffc45edb5803a10f
/frameworks/base/Android.mk
badb063c81ef805377dac69048afaa02cea6593c 03-Aug-2013 Martijn Coenen <maco@google.com> Merge "NFC: Host-based card emulation APIs."
a7397883de67d674970d91f86d46ccf637e5e543 31-Jul-2013 Martijn Coenen <maco@google.com> NFC: Host-based card emulation APIs.

- New INfcCardEmulation interface to allow apps to interface
with card emulation system.
- New BIND_NFC_SERVICE permission to prevent malicious apps
from binding to card emulation services.
- ApduServiceInfo is now in the framework.
- Added constants to Settings.Secure for storing defaults.
- Modified XML grammar a bit.

Change-Id: I56b3fa6b42eb5dc132c91c1386ab1e6bac779059
/frameworks/base/Android.mk
27dfaf3bb19444cd31c78d4c67d402ffa4368a8f 31-Jul-2013 Scott Main <smain@google.com> am 30483952: am 1d7516a7: am ec6f327e: update sizes/sums for tools 22.0.5 release also update platform version number for doc builds

* commit '30483952528469c612c61c7370e99db9e40b3262':
update sizes/sums for tools 22.0.5 release also update platform version number for doc builds
30483952528469c612c61c7370e99db9e40b3262 31-Jul-2013 Scott Main <smain@google.com> am 1d7516a7: am ec6f327e: update sizes/sums for tools 22.0.5 release also update platform version number for doc builds

* commit '1d7516a79883dded43e6c370bf071feb9527971e':
update sizes/sums for tools 22.0.5 release also update platform version number for doc builds
2f1a2e423e0fbb64467d6fcfa4e82c6384f31210 26-Jul-2013 Eino-Ville Talvala <etalvala@google.com> Camera2 API: Rename package to android.hardware.camera2

Change-Id: I77b7939e199f9fe8e12a59393c24cff08097448c
/frameworks/base/Android.mk
ec6f327ed092f4ad9d919e4e622a13862e932a43 30-Jul-2013 Scott Main <smain@google.com> update sizes/sums for tools 22.0.5 release
also update platform version number for doc builds

Change-Id: Ib3e644c3bfe618137516398aebf3f778ebdd1e81
/frameworks/base/Android.mk
a9de3462a6f4eaea63e12d82aaa0eb5728b1f812 23-May-2013 Todd Poynor <toddpoynor@google.com> Add libbatteryservice AIDL and java interfaces

Add IBatteryPropertiesRegistrar and IBatteryPropertiesListener AIDLs,
BatteryProperties class.

Change-Id: Ic8e71178c02b04868eca29c3da88e877bc2590ca
/frameworks/base/Android.mk
fa77418134c6f1f80af225a78819f069e9c974fb 19-Jun-2013 Matthew Williams <mjwilliams@google.com> AnonymousSyncService & SyncRequest.

Changes to the way bundles are parcelled broke SM,
this update writes out the bundle as xml. This circumvents
the need for parcel, and makes it easier to debug whats
happening.
Change-Id: I6cd5d3a2eb80bfa5b3ae0c7f2d2ff91a65daaa34
/frameworks/base/Android.mk
5aa9064ef3c7f6dccd2ca3ee83376b03db0b0ca8 18-Jul-2013 Jeff Brown <jeffbrown@google.com> Split framework jar.

Change-Id: Ia4bcae15c029fd0efe01dd4527fa3d5b5367b6c8
/frameworks/base/Android.mk
a00271533f639c8ed36429c663889ac9f654bc72 25-Jun-2013 Svetoslav Ganov <svetoslavganov@google.com> Refactoring of the print sub-system and API clean up.

1. Now a user state has ins own spooler since the spooler app is
running per user. The user state registers an observer for the state
of the spooler to get information needed to orchestrate unbinding
from print serivces that have no work and eventually unbinding from
the spooler when all no service has any work.

2. Abstracted a remote print service from the perspective of the system
in a class that is transparently managing binding and unbinding to
the remote instance.

3. Abstracted the remote print spooler to transparently manage binding
and unbinding to the remote instance when there is work and when
there is no work, respectively.

4. Cleaned up the print document adapter (ex-PrintAdapter) APIs to
enable implementing the all callbacks on a thread of choice. If
the document is really small, using the main thread makes sense.

Now if an app that does not need the UI state to layout the printed
content, it can schedule all the work for allocating resources, laying
out, writing, and releasing resources on a dedicated thread.

5. Added info class for the printed document that is now propagated
the the print services. A print service gets an instance of a
new document class that encapsulates the document info and a method
to access the document's data.

6. Added APIs for describing the type of a document to the new document
info class. This allows a print service to do smarts based on the
doc type. For now we have only photo and document types.

7. Renamed the systemReady method for system services that implement
it with different semantics to systemRunning. Such methods assume
the the service can run third-party code which is not the same as
systemReady.

8. Cleaned up the print job configuration activity.

9. Sigh... code clean up here and there. Factoring out classes to
improve readability.

Change-Id: I637ba28412793166cbf519273fdf022241159a92
/frameworks/base/Android.mk
70725500dcf3b666b43d50563d64705aab58d2d3 25-Jun-2013 Igor Murashkin <iam@google.com> Initial camera device implementation

* Working streaming preview requests only
* Almost everything else returns empty objects that don't do anything

Bug: 9213377
Change-Id: Ie6f02a7c0952b0f5ebc41905425b15cae221f7d3
/frameworks/base/Android.mk
36483e9622b399ea1368fb84ed0c5a5495f65e42 25-Jun-2013 Igor Murashkin <iam@google.com> Revert "Initial camera device implementation"

This reverts commit 59bc67c732eab53b370b196066e8012d3f6bf09a.

Change-Id: I9e1ce3b9f4af4e2b9b98855c0ca533581c87ea7f
/frameworks/base/Android.mk
59bc67c732eab53b370b196066e8012d3f6bf09a 20-Jun-2013 Igor Murashkin <iam@google.com> Initial camera device implementation

* Working streaming preview requests only
* Almost everything else returns empty objects that don't do anything

Bug: 9213377
Change-Id: I183dd47ddd737ec2c3c374e5c3461542a97f09b0
/frameworks/base/Android.mk
fd90651cfcc7e2b75254666fd6861038b72fb4ac 24-Jun-2013 Svetoslav <svetoslavganov@google.com> Print APIs documentation update

Change-Id: I0df438e45ef540cc42c9ee5baafc816ebafa1c7b
/frameworks/base/Android.mk
4b9a4d16872bbb50712e007b419ac0b35ff1582d 12-Jun-2013 Svetoslav Ganov <svetoslavganov@google.com> Print - platform APIs

Related changes:
Skia (inlcude PDF APIs): https://googleplex-android-review.googlesource.com/#/c/305814/
Canvas to PDF: https://googleplex-android-review.googlesource.com/#/c/319367/
Settings (initial version): https://googleplex-android-review.googlesource.com/#/c/306077/
Build: https://googleplex-android-review.googlesource.com/#/c/292437/
Sample print services: https://googleplex-android-review.googlesource.com/#/c/281785/

Change-Id: I104d12efd12577f05c7b9b2a5e5e49125c0f09da
/frameworks/base/Android.mk
4491d684f47fcf1e05652f910587a930be8a4135 01-Jun-2013 Igor Murashkin <iam@google.com> camera: Add Java binder proxies for some existing binder interfaces

Note that anything not in the AIDL interfaces, will NOT be magically
compatible if you just add it there. It probably requires a change in
frameworks/av/camera as well.

Bug: 9213377
Change-Id: I91d3efb755ed2e3ace139f83573f86efdccccd06
/frameworks/base/Android.mk
2d66a4182a4712f60b0c63d854751fe13e44be0b 23-May-2013 Ying Wang <wangying@google.com> am 6c5b9799: am 1fa3cdf0: Merge "Move offline-pdk to where the source is." into jb-mr2-dev

* commit '6c5b979917b8189d7de75f9d622899ba1fb9e6d1':
Move offline-pdk to where the source is.
6c5b979917b8189d7de75f9d622899ba1fb9e6d1 23-May-2013 Ying Wang <wangying@google.com> am 1fa3cdf0: Merge "Move offline-pdk to where the source is." into jb-mr2-dev

* commit '1fa3cdf0cbc9bc788a313eda5d3ca3e2ad77fcc4':
Move offline-pdk to where the source is.
06acbf0e890ac74a659981c2b0759ccce9ef24c3 22-May-2013 Ying Wang <wangying@google.com> Move offline-pdk to where the source is.

Change-Id: I10b05c28954a27f11482751e14287ec21422dce2
/frameworks/base/Android.mk
5b48229b7406b2d80c189a978d71eda877ef36fc 14-May-2013 Jeff Brown <jeffbrown@google.com> am 9da9947d: am 05002977: Merge "Include support library resource modules when building docs." into jb-mr2-dev

* commit '9da9947d4c7a2195bf440f0af8370f0667af90bf':
Include support library resource modules when building docs.
9da9947d4c7a2195bf440f0af8370f0667af90bf 14-May-2013 Jeff Brown <jeffbrown@google.com> am 05002977: Merge "Include support library resource modules when building docs." into jb-mr2-dev

* commit '0500297714a26c744304a323267d5d642f351326':
Include support library resource modules when building docs.
ae1d6f2fd3869ff66cfad45547d166abefcd4319 11-May-2013 Jeff Brown <jeffbrown@google.com> Include support library resource modules when building docs.

Bug: 8175766
Change-Id: I0f0739d9f71386bae6c4ad23a2eb33e38d6a2d87
/frameworks/base/Android.mk
81d45178ec9a0b0234103898fc5d515c7fe5564c 07-May-2013 Dirk Dougherty <ddougherty@google.com> am 2ff5a479: am a6303d8a: am 67430e8e: am 2e52e815: am 6b6fd9d1: am 36aa2759: am b582c678: Doc change: delete legacy intl dir and update toc\'s for devsite-compatible lang strings.

* commit '2ff5a47999c5a6801e2e0530fbe1bf80ed25e8f1':
Doc change: delete legacy intl dir and update toc's for devsite-compatible lang strings.
2ff5a47999c5a6801e2e0530fbe1bf80ed25e8f1 07-May-2013 Dirk Dougherty <ddougherty@google.com> am a6303d8a: am 67430e8e: am 2e52e815: am 6b6fd9d1: am 36aa2759: am b582c678: Doc change: delete legacy intl dir and update toc\'s for devsite-compatible lang strings.

* commit 'a6303d8a211543a8e1f5fd2425024a1c4d0f88ff':
Doc change: delete legacy intl dir and update toc's for devsite-compatible lang strings.
a6303d8a211543a8e1f5fd2425024a1c4d0f88ff 07-May-2013 Dirk Dougherty <ddougherty@google.com> am 67430e8e: am 2e52e815: am 6b6fd9d1: am 36aa2759: am b582c678: Doc change: delete legacy intl dir and update toc\'s for devsite-compatible lang strings.

* commit '67430e8ec735c83f1f3304da7037e518aef6128a':
Doc change: delete legacy intl dir and update toc's for devsite-compatible lang strings.
b582c678c88df2848023b7f27f4bc0ab2249e1e1 04-May-2013 Dirk Dougherty <ddougherty@google.com> Doc change: delete legacy intl dir and update toc's for devsite-compatible lang strings.

Change-Id: Ie390d2bbd8abc0d063c1f313797e8c3d21d27490
/frameworks/base/Android.mk
3b748a44c6bd2ea05fe16839caf73dbe50bd7ae9 18-Apr-2013 Romain Guy <romainguy@google.com> Pack preloaded framework assets in a texture atlas

When the Android runtime starts, the system preloads a series of assets
in the Zygote process. These assets are shared across all processes.
Unfortunately, each one of these assets is later uploaded in its own
OpenGL texture, once per process. This wastes memory and generates
unnecessary OpenGL state changes.

This CL introduces an asset server that provides an atlas to all processes.

Note: bitmaps used by skia shaders are *not* sampled from the atlas.
It's an uncommon use case and would require extra texture transforms
in the GL shaders.

WHAT IS THE ASSETS ATLAS

The "assets atlas" is a single, shareable graphic buffer that contains
all the system's preloaded bitmap drawables (this includes 9-patches.)
The atlas is made of two distinct objects: the graphic buffer that
contains the actual pixels and the map which indicates where each
preloaded bitmap can be found in the atlas (essentially a pair of
x and y coordinates.)

HOW IS THE ASSETS ATLAS GENERATED

Because we need to support a wide variety of devices and because it
is easy to change the list of preloaded drawables, the atlas is
generated at runtime, during the startup phase of the system process.

There are several steps that lead to the atlas generation:

1. If the device is booting for the first time, or if the device was
updated, we need to find the best atlas configuration. To do so,
the atlas service tries a number of width, height and algorithm
variations that allows us to pack as many assets as possible while
using as little memory as possible. Once a best configuration is found,
it gets written to disk in /data/system/framework_atlas

2. Given a best configuration (algorithm variant, dimensions and
number of bitmaps that can be packed in the atlas), the atlas service
packs all the preloaded bitmaps into a single graphic buffer object.

3. The packing is done using Skia in a temporary native bitmap. The
Skia bitmap is then copied into the graphic buffer using OpenGL ES
to benefit from texture swizzling.

HOW PROCESSES USE THE ATLAS

Whenever a process' hardware renderer initializes its EGL context,
it queries the atlas service for the graphic buffer and the map.

It is important to remember that both the context and the map will
be valid for the lifetime of the hardware renderer (if the system
process goes down, all apps get killed as well.)

Every time the hardware renderer needs to render a bitmap, it first
checks whether the bitmap can be found in the assets atlas. When
the bitmap is part of the atlas, texture coordinates are remapped
appropriately before rendering.

Change-Id: I8eaecf53e7f6a33d90da3d0047c5ceec89ea3af0
/frameworks/base/Android.mk
178e8bbf25b6d211439133ec8525b7bab52f7796 30-Apr-2013 Kenny Root <kroot@google.com> am e9ae6822: resolved conflicts for merge of 1f6e789b to jb-mr2-dev-plus-aosp

* commit 'e9ae6822a80cb1f3bd13c785f1727c03d35da52e':
Track change to JSSE provider
e9ae6822a80cb1f3bd13c785f1727c03d35da52e 30-Apr-2013 Kenny Root <kroot@google.com> resolved conflicts for merge of 1f6e789b to jb-mr2-dev-plus-aosp

Change-Id: I06c05d637613215b6d83df3e29cd495f6a5a0176
12e752225aa96888358294be0d725d499a1c9f03 24-Apr-2013 Kenny Root <kroot@google.com> Track change to JSSE provider

Change-Id: I35e824e47ad758ab6408e91e2ba5dcda053a82f5
/frameworks/base/Android.mk
5ae02e92e4ea2621ae6be6076e304a972793e2f3 26-Apr-2013 Jeff Brown <jeffbrown@google.com> am eb6403e9: resolved conflicts for merge of bfdd2566 to jb-mr2-dev-plus-aosp

* commit 'eb6403e95d601b62be7b4610599e72fd329f2666':
Generate SDK docs for v7 support library packages.
eb6403e95d601b62be7b4610599e72fd329f2666 26-Apr-2013 Jeff Brown <jeffbrown@google.com> resolved conflicts for merge of bfdd2566 to jb-mr2-dev-plus-aosp

Change-Id: I42e15a186561222edd0d97047fcd207208a87282
caf7b0a155f6adef1b9af6cbf7370460c55e3a3f 26-Apr-2013 Jeff Brown <jeffbrown@google.com> Generate SDK docs for v7 support library packages.

This change required fixing some bugs in how AAPT handles
qualified symbols such as "android:layout_height"
when generating JavaDoc links. The links were being
generated using the package name of the generated R file
rather than the package name of the referenced symbol.
These broken links caused the JavaDoc build to fail.

Bug: 8175766
Change-Id: I52fbef27825a25abca960cb44b59c2132267e9d6
/frameworks/base/Android.mk
dfe49e9c9f62d55f72f65e84effcdf647e30f77e 23-Apr-2013 Nick Pelly <npelly@google.com> am 09e9e1a5: am edced26f: Merge "Add ContentValues & CursorWindow to framework.aidl" into jb-mr2-dev

* commit '09e9e1a5e7e3dd161b73f4254f239cab0410438a':
Add ContentValues & CursorWindow to framework.aidl
09e9e1a5e7e3dd161b73f4254f239cab0410438a 23-Apr-2013 Nick Pelly <npelly@google.com> am edced26f: Merge "Add ContentValues & CursorWindow to framework.aidl" into jb-mr2-dev

* commit 'edced26f162b0232338064e569fe651b8c805f93':
Add ContentValues & CursorWindow to framework.aidl
bb392ba5f72fac676d5a1454846d4713d2cd7ef5 22-Apr-2013 Nick Pelly <npelly@google.com> Add ContentValues & CursorWindow to framework.aidl

By adding these stubs, they will be automatically added to framework.aidl
in sdk builds.

This makes it easier for unbundled apps to pass these objects across
AIDL calls.

ContentValues & CursorWindow are already public Parcelables. It is an
oversight that they were not already in framework.aidl.

There are a lot of other public Parcelables that are missing from
framework.aidl. This just fixes two commonly requested ones.

Change-Id: If61e19b1206da1680413d9ea03de87a90b6d233e
/frameworks/base/Android.mk
032aeafd682d37bb51642892ca53d003509e4ea4 18-Apr-2013 Jaikumar Ganesh <jaikumar@google.com> am d5af1724: am 176c245c: Merge "Hardware geofence API changes." into jb-mr2-dev

* commit 'd5af1724500f42e389cc2b8a0be9bacdf53405ad':
Hardware geofence API changes.
d5af1724500f42e389cc2b8a0be9bacdf53405ad 18-Apr-2013 Jaikumar Ganesh <jaikumar@google.com> am 176c245c: Merge "Hardware geofence API changes." into jb-mr2-dev

* commit '176c245cefaf08f33043e9b67cb787efeb6ad662':
Hardware geofence API changes.
da6508954a492f3dd4397e70e4fa08ee54bd2741 17-Apr-2013 Jaikumar Ganesh <jaikumar@google.com> Hardware geofence API changes.

b/8631678

1.GeofenceRequest object created.
2.MonitorState moved to a new callback
3.getTypeAndStatus separated to 2 calls.
4.Binder death implemented
5.geofenceChange callback name changed.
6.Parameters rearranged in some calls.

Change-Id: I8fe9621186aeb49efeb0eef1821a2556afe03cfc
/frameworks/base/Android.mk
c541ca0d68bdb2a07d93fa8f49bb0a14524fb1f3 11-Apr-2013 Scott Main <smain@google.com> am 2f8caf6a: am dac80f63: Merge "add api level 18 to javadoc \'since\' tags" into jb-mr2-dev

* commit '2f8caf6a74c5d6bcddbc4fae57945c83e85788bd':
add api level 18 to javadoc 'since' tags
2f8caf6a74c5d6bcddbc4fae57945c83e85788bd 11-Apr-2013 Scott Main <smain@google.com> am dac80f63: Merge "add api level 18 to javadoc \'since\' tags" into jb-mr2-dev

* commit 'dac80f633977308ec87cca1dea802e81d0fb75ad':
add api level 18 to javadoc 'since' tags
0d9e45a24ecb6fe11fe6f2ccd372d547293aaa38 11-Apr-2013 Scott Main <smain@google.com> add api level 18 to javadoc 'since' tags

Change-Id: Iea2e13ef2fad47d6a19d380b5655aeeda0414930
/frameworks/base/Android.mk
a934b7c99ac558ba45a2a6fb8c6e3769cdd3db4b 11-Apr-2013 Jaikumar Ganesh <jaikumar@google.com> am 7228e1ae: am 8ce470dd: GPS Hardware geofencing.

* commit '7228e1aeb9a2af8fad410749e2adc61266b2649a':
GPS Hardware geofencing.
7228e1aeb9a2af8fad410749e2adc61266b2649a 11-Apr-2013 Jaikumar Ganesh <jaikumar@google.com> am 8ce470dd: GPS Hardware geofencing.

* commit '8ce470dd4ba0608abb6b5eae117cefca927af96b':
GPS Hardware geofencing.
8ce470dd4ba0608abb6b5eae117cefca927af96b 03-Apr-2013 Jaikumar Ganesh <jaikumar@google.com> GPS Hardware geofencing.

Add support for doing geofencing in hardware.

Change-Id: I6d5015190e8d84e1f4beb1010ed977a71c1622d0
/frameworks/base/Android.mk
8740cb1da6adb71a4e195774801c97db5853b097 05-Apr-2013 John Spurlock <jspurlock@google.com> resolved conflicts for merge of 29211d3a to master

Change-Id: I9691f41b12fbf52d0ef35a9bf5223edef7afdfd2
29211d3a16b807ddab47e46c9d955bf508c4d9b5 05-Apr-2013 Daniel Sandler <dsandler@android.com> am 5feceebb: New NotificationListenerService.

* commit '5feceebb892d4cb5777cea3c6174b206705d456b':
New NotificationListenerService.
5feceebb892d4cb5777cea3c6174b206705d456b 23-Mar-2013 Daniel Sandler <dsandler@android.com> New NotificationListenerService.

This is the best and only way for apps to listen for
notifications: create a NotificationListenerService, wait
for the NoMan to bind to you (as a result of the user
checking a box somewhere in Settings and agreeing to a
scary dialog box), and you'll start receiving notification
posted and dismissed callbacks. Your service, while enabled,
will also be able to clear one or all notifications.

Use this power wisely.

This change moves StatusBarNotification out of
com.android.internal into android.service.notification.
[Internal customers, including System UI and early users of
the system-only listener binder API, will need to be
updated.]

Bug: 8199624
Change-Id: I1be46f823d4b3ddc901109ec1e085cd6deb740c2
/frameworks/base/Android.mk
96242a1b17280b0250976cd44aa1e07c7912a384 03-Apr-2013 Brian Carlstrom <bdc@google.com> am 3c7df09d: am 6fdcb168: Merge "Adjust the HttpResponseCache for OkHttp."

* commit '3c7df09d4dd00fb23da888726182f00788957cd9':
Adjust the HttpResponseCache for OkHttp.
3c7df09d4dd00fb23da888726182f00788957cd9 03-Apr-2013 Brian Carlstrom <bdc@google.com> am 6fdcb168: Merge "Adjust the HttpResponseCache for OkHttp."

* commit '6fdcb168a7a0a4f508063019ca4d2ec35458f892':
Adjust the HttpResponseCache for OkHttp.
dea64ad715c121bfc5cd1881abc51fac9b1d04d6 30-Mar-2013 jwilson <jwilson@squareup.com> Adjust the HttpResponseCache for OkHttp.

Change-Id: I2a80f3c3f30a3d15673d797fa3d1211286f75030
/frameworks/base/Android.mk
c5ebd80c43e388977e4ef978f18fa5fc36bd8650 27-Mar-2013 Jeff Brown <jeffbrown@google.com> am 901b77c6: am ca3d655d: Merge "Use input transport for communications between app and IME." into jb-mr2-dev

* commit '901b77c63bc707c5785a149975e2113a43e38ad6':
Use input transport for communications between app and IME.
c28867a1d67121ce5963de135e3ae2b1dbd9a33d 26-Mar-2013 Jeff Brown <jeffbrown@google.com> Use input transport for communications between app and IME.

The input method manager service now supplies an input channel for
communication while creating an IME session on behalf of the
application.

This change significanly reduces the overhead of IME event dispatch
by using a standard input channel to send input events rather than
using binder. This results in fewer thread context switches
and fewer object allocations.

What's more, the IME may perform additional batching of the motion
events that it receives which may help it catch up if it is
getting behind while processing them.

Bug: 7984576
Bug: 8473020
Change-Id: Ibe26311edd0060cdcae80194f1753482e635786f
/frameworks/base/Android.mk
0878312fd96be3499d982dd4029ffc8cdd487bab 22-Mar-2013 Michael Wright <michaelwr@google.com> am 621c35e4: am 765ddb4b: Merge "Separate sessionCreated and finishedEvents callbacks" into jb-mr2-dev

* commit '621c35e4fc83c2864a82da31aac767832ce86df6':
Separate sessionCreated and finishedEvents callbacks
52a53526265c801b70eaf6dab1acf5c3f628f8a6 14-Mar-2013 Michael Wright <michaelwr@google.com> Separate sessionCreated and finishedEvents callbacks

Bug: 8276952
Change-Id: If7051086c060fcce5d1e958ebbddec0784c851da
/frameworks/base/Android.mk
294b512ecaa98a6a8ef12285ad14e7a4091b5d57 19-Feb-2013 Christopher Tate <ctate@google.com> DO NOT MERGE - Full backup/restore now handles OBBs sensibly

OBB backup/ restore is no longer handled within the target app
process. This is done to avoid having to require that OBB-using
apps have full read/write permission for external storage.

The new OBB backup service is a new component running in the
same app as the already-existing shared storage backup agent.
The backup infrastructure delegates backup/restore of apps'
OBB contents to this component (because the system process
may not itself read/write external storage).

From the command line, OBB backup is enabled by using new
-obb / -noobb flags with adb backup. The default is noobb.

Finally, a couple of nit fixes:

- buffer-size mismatch between the writer and reader of chunked
file data has been corrected; now the reading side won't be
issuing an extra pipe read per chunk.

- bu now explicitly closes the transport socket fd after
adopting it. This was benign but triggered a logged
warning about leaked fds.

(Cherrypicked)

Change-Id: I471f6348abcccb7bf1e1710b7beda9f23de53e14
/frameworks/base/Android.mk
46cc43c6fa7623820d4ae9149496cf96bb15f8a3 19-Feb-2013 Christopher Tate <ctate@google.com> Full backup/restore now handles OBBs sensibly

OBB backup/ restore is no longer handled within the target app
process. This is done to avoid having to require that OBB-using
apps have full read/write permission for external storage.

The new OBB backup service is a new component running in the
same app as the already-existing shared storage backup agent.
The backup infrastructure delegates backup/restore of apps'
OBB contents to this component (because the system process
may not itself read/write external storage).

From the command line, OBB backup is enabled by using new
-obb / -noobb flags with adb backup. The default is noobb.

Finally, a couple of nit fixes:

- buffer-size mismatch between the writer and reader of chunked
file data has been corrected; now the reading side won't be
issuing an extra pipe read per chunk.

- bu now explicitly closes the transport socket fd after
adopting it. This was benign but triggered a logged
warning about leaked fds.

Bug: 6718844
Change-Id: Ie252494e2327e9ab97cf9ed87c298410a8618492
/frameworks/base/Android.mk
ee61a7fb95b96880042a963c78774a148eed8c15 05-Mar-2013 Dianne Hackborn <hackbod@google.com> am 530b2b1c: am a5513616: Merge "Add new WindowId for cross-process monitoring of focus." into jb-mr2-dev

* commit '530b2b1c98e3a3d86fd90cd91a08005370b8aa49':
Add new WindowId for cross-process monitoring of focus.
e3f23a36d86fedf6c8c6503378cd6d2190c5ab23 01-Mar-2013 Dianne Hackborn <hackbod@google.com> Add new WindowId for cross-process monitoring of focus.

This is a class representing a window and providing limited
interaction with it, which can be handed across processes.

Change-Id: I22885f2064a9cc8c68d690a5858c2e28bbb6a0f3
/frameworks/base/Android.mk
25190577cc69eaa5930c6fbdc2fcca03afc84982 01-Mar-2013 Jim Miller <jaggies@google.com> Post-review Keyguard cleanup.

- remove userActivity() from KeyguardService interface and call it
on PowerManager directly
- Split IKeyguardResult into two parts: IKeyguardShowCallback and
IKeyguardExitCallback.
- Misc other changes from the review.

Change-Id: I3f679cfa5d3f8bc742f2b2259ac354045e89a87b
/frameworks/base/Android.mk
9e0a5668398ee31b07d5fd2615c98f5ea5290167 28-Feb-2013 Matthew Xie <mattx@google.com> am 23b046c4: Merge "Initial version of BLE support for Bluedroid" into jb-mr2-dev

* commit '23b046c4af6672d96a4ef7bb27fb444e40f0bd5d':
Initial version of BLE support for Bluedroid
9908112fd085d8b0d91e0562d32eebd1884f09a5 06-Feb-2013 Ganesh Ganapathi Batta <ganeshg@broadcom.com> Initial version of BLE support for Bluedroid

The API classes are hidden for now. Will unhide after API console
approval.
Change-Id: I8283dd562fd6189fdd15c866ef2efb8bbdbc4109
/frameworks/base/Android.mk
5ecd81154fa039961f65bb4e36d18ac555b0d1d6 10-Jan-2013 Jim Miller <jaggies@google.com> Move keyguard to its own process.

This is in preparation to moving keyguard into its own process.

Moved keyguard source and resources into new .apk.

Got basic test app working. Still need to implement MockPatternUtils
and means to pass it into KeyguardService with local binder interface.

Added new ACCESS_KEYGUARD_SECURE_STORAGE permission.

Temporarily disabled USER_PRESENT broadcast.

Remove unintentional whitespace changes in PhoneWindowManager, etc.

Checkpoint basic working version.

Move to systemui process.

Synchronize with TOT.

Sync with recent user API changes.

Fix bug with returing interface instead of stub for IKeyguardResult. Create KeyguardServiceDelegate to allow
for runtime-selectable local or remote interface.

More keyguard crash robustness.

Keyguard crash recovery working. Currently fails safe (locked).

Fix selector view which was still using frameworks resources.

Remove more references to internal framework variables. Use aliases for those we should move but
currently have dependencies.

Allow runtime switching between service and local mode.

Fix layout issue on tablets where orientation was reading the incorrect constant
from the framework. Remove more framework dependencies.

Fix PIN keyboard input.

Remove unnecessary copy of orientation attrs.

Remove unused user selector widget and attempt to get multi user working again.

Fix multi-user avatar icon by grabbing it from UserManager rather than directly since
keyguard can no longer read it.

Merge with AppWidget userId changes in master.

Change-Id: I254d6fc6423ae40f6d7fef50aead4caa701e5ad2
/frameworks/base/Android.mk
09a247e9a86df068422cbe8b60430fb6583c028c 14-Feb-2013 Daniel Sandler <dsandler@android.com> New INotificationListener interface.

Use with INotificationManager.registerListener(). Limited to
system only right now.

Change-Id: I65b6a8778267022cdc5e58eb75ae607a54b1cc52
/frameworks/base/Android.mk
4c818473d43e0d3dcc325365221b26f48951bcdd 13-Feb-2013 Ying Wang <wangying@google.com> Remove the unnecessary framework-res-package-target

Now the dependency should be correctly established by
framework_docs_LOCAL_JAVA_LIBRARIES.

Change-Id: I4c0ed2d3fb2855539027c7a0eb663f5747ae3ebd
/frameworks/base/Android.mk
16e8c1ed1b5cd98cefd128b9088dec803e67295f 12-Feb-2013 Robert Ly <robertly@google.com> Revert "makefile changes for gcm javadocs"

This reverts commit 5f9922d7c3bce158e4c7a58929d4075e7c91e32e

Change-Id: I310f27b231c6d64d6d407ae451b189a6ecf6b34f
/frameworks/base/Android.mk
6b2c7600e946b4130585f8665f9720d09feb6411 12-Feb-2013 Robert Ly <robertly@google.com> am e47033f9: am 4d9aa17a: am 87db373a: am 2328a779: am 9eb66b2d: Merge "Revert "makefile changes for gcm javadocs"" into jb-mr1-dev

# Via Android Git Automerger (4) and Android (Google) Code Review (2)
* commit 'e47033f9294056ab54c63608ab0a46de995fae63':
Revert "makefile changes for gcm javadocs"
2328a77980a8e4aa2dafac1b9a8e228877a7425c 12-Feb-2013 Robert Ly <robertly@google.com> am 9eb66b2d: Merge "Revert "makefile changes for gcm javadocs"" into jb-mr1-dev

# Via Android (Google) Code Review
* commit '9eb66b2db4724da7a2d6575fee29840004f1a5df':
Revert "makefile changes for gcm javadocs"
d3b50de375fd251e471aa0549e7677b4cf50e139 12-Feb-2013 Robert Ly <robertly@google.com> Revert "makefile changes for gcm javadocs"

This reverts commit 5f9922d7c3bce158e4c7a58929d4075e7c91e32e

Change-Id: I310f27b231c6d64d6d407ae451b189a6ecf6b34f
/frameworks/base/Android.mk
590aaea06d25f22275b14630091451cc624b2c7d 12-Feb-2013 Robert Ly <robertly@google.com> resolved conflicts for merge of 6db87978 to master

Change-Id: If439f5730e32fb2044a1e464fab0f6afb6bf1d08
a95a64ddd6155e90308aa1368e2c8098d86e677f 12-Feb-2013 Robert Ly <robertly@google.com> am dc8ee206: Merge "Revert "makefile changes for s.a.c"" into jb-mr1-dev

# Via Android (Google) Code Review
* commit 'dc8ee2066a45adc6a57157c550e65317c8650ca0':
Revert "makefile changes for s.a.c"
343a89c2cd2bf4458eb24662010693ac590657b1 12-Feb-2013 Robert Ly <robertly@google.com> Revert "makefile changes for s.a.c"

This reverts commit 4c01047ec7b06aabeeae273c7871caa6c3029b84

Change-Id: I4465cfa678717ff7c202347ae6ad36d12d5393bc
/frameworks/base/Android.mk
f065d0f024c389aa76d2c1f4a47667634d456972 12-Feb-2013 Robert Ly <robertly@google.com> remove sac make target to fix build

Change-Id: I44c51e12225cd0b1d82bfb70129fefa8ba66e8b4
/frameworks/base/Android.mk
e68cb0acd4f87f989250b2983f48f206e475a86e 12-Feb-2013 Robert Ly <robertly@google.com> am a578ade2: am 1c4311cc: am 4af36f4e: am 96b1b403: am 4c01047e: makefile changes for s.a.c

# Via Android Git Automerger (4) and Robert Ly (1)
* commit 'a578ade219c07a04f7e8374939734de6ca7cc478':
makefile changes for s.a.c
96b1b403b6ecf0daa2d7d0a8475e0d087790e457 11-Feb-2013 Robert Ly <robertly@google.com> am 4c01047e: makefile changes for s.a.c

# Via Robert Ly
* commit '4c01047ec7b06aabeeae273c7871caa6c3029b84':
makefile changes for s.a.c
4c01047ec7b06aabeeae273c7871caa6c3029b84 08-Feb-2013 Robert Ly <robertly@google.com> makefile changes for s.a.c

Change-Id: I501cc140994b2822c3df1f00639076f17765f256
/frameworks/base/Android.mk
48e9219e6b0606aa04bcbdd3c9f1c6a72e9cd53e 08-Feb-2013 Robert Ly <robertly@google.com> am 74e8693d: am ddc0a7bd: am 11fa4460: am 9da9a7cd: am e60b6023: Merge "makefile changes for gcm javadocs" into jb-mr1-dev

# Via Android Git Automerger (4) and others
* commit '74e8693d310d75e98c5cf62340612d474f6f197b':
makefile changes for gcm javadocs
9da9a7cda27a9b9a3a08e64e81d0ca10ac4c4ec1 08-Feb-2013 Robert Ly <robertly@google.com> am e60b6023: Merge "makefile changes for gcm javadocs" into jb-mr1-dev

# Via Android (Google) Code Review (1) and Robert Ly (1)
* commit 'e60b6023ae4fdea932d0effc553dddc38117d235':
makefile changes for gcm javadocs
17cccb8ccbfb077334dcf37d9e93ec614ff8761e 08-Feb-2013 Wink Saville <wink@google.com> Merge "Move a few files from frameworks/opt/telephony to frameworks/base."
5a72553ef991d4821fcab4feaa3c1b23faca8724 08-Feb-2013 Wink Saville <wink@google.com> Move a few files from frameworks/opt/telephony to frameworks/base.

Because ISms.aidl imports PendingIntent we couldn't easily
make opt/telephony part of the PDK. So this change moves
ISms.aidl and SmsRawData.*, which ISms.aidl also imports,
back to frameworks/base.

Change-Id: Ia64c6e771d5a292d9bfebb413a43f3745df55c85
/frameworks/base/Android.mk
5f9922d7c3bce158e4c7a58929d4075e7c91e32e 05-Dec-2012 Robert Ly <robertly@google.com> makefile changes for gcm javadocs

Change-Id: I5653eb710f13f0a097cb1cf447469c4da7342fe2
/frameworks/base/Android.mk
c2293025a25e04b26bf53713d71f85fd9ca5e8e9 07-Feb-2013 Dianne Hackborn <hackbod@google.com> App ops: track system windows, monitoring changes.

Change-Id: I273e82bdad66ada3bf0f7ec9176bc304b9ee1ee8
/frameworks/base/Android.mk
feda56f2fbbb980f074bce4444578238544aefe1 04-Feb-2013 Dirk Dougherty <ddougherty@google.com> am 25f97435: am 5fca0efa: am 6cb87b08: am 65fd9811: am 2aa47b33: Merge "Doc change: remove htmlified samples from docs build for now. Samples are still downloadable thorugh SDK Manager." into jb-mr1-dev

# Via Android Git Automerger (4) and others
* commit '25f97435302d8468afeb4ade9f00d5243b393082':
Doc change: remove htmlified samples from docs build for now. Samples are still downloadable thorugh SDK Manager.
d8a6100208c277e131e94df314b84e41b067ad7a 04-Feb-2013 Scott Main <smain@google.com> am 9dbf2479: am 960deffd: am 78bf7c9c: am 1e7e1104: am 4b7161cb: docs: switch devsite doc build to use templates-sdk

# Via Android Git Automerger (4) and Scott Main (1)
* commit '9dbf24797b82f4c70a75051050f32e53d1c35fe6':
docs: switch devsite doc build to use templates-sdk
4dfff520362bdd6b3f661e3aa371b2efa527fc64 04-Feb-2013 Scott Main <smain@google.com> am 0dd75034: am d4f5ce03: am 6dfb4d0a: am 5c37151c: am e75cd4bf: docs: add hdf bool for deviste, used to change aspects of the templates

# Via Android Git Automerger (4) and Scott Main (1)
* commit '0dd750349004579ca3356a155eb8a86994a45df2':
docs: add hdf bool for deviste, used to change aspects of the templates
3256aeed5fc85a1bfcaf5c9a6236519b96e908af 04-Feb-2013 Dirk Dougherty <ddougherty@google.com> am 61101eee: am e27f64b0: am 1417357e: am f8a9c509: am 7b32d32b: Merge "Add build rule for ds (devsite) online docs." into jb-mr1-dev

# Via Android Git Automerger (4) and others
* commit '61101eee367be6f3bae5974b05c4c3ae912bddaa':
Add build rule for ds (devsite) online docs.
65fd9811d3b00698ab25233543c2e49ef22c634b 01-Feb-2013 Dirk Dougherty <ddougherty@google.com> am 2aa47b33: Merge "Doc change: remove htmlified samples from docs build for now. Samples are still downloadable thorugh SDK Manager." into jb-mr1-dev

# Via Android (Google) Code Review (1) and Dirk Dougherty (1)
* commit '2aa47b336227a5d2bd1ee91f8fb4bd84be7e97f0':
Doc change: remove htmlified samples from docs build for now. Samples are still downloadable thorugh SDK Manager.
1e7e1104c422d89393565bba591479c1ccbae06d 01-Feb-2013 Scott Main <smain@google.com> am 4b7161cb: docs: switch devsite doc build to use templates-sdk

# Via Scott Main
* commit '4b7161cbd44f64537d2c661e87868ea2689dd126':
docs: switch devsite doc build to use templates-sdk
5c37151cb07519affba8e20018e0f0069d426527 01-Feb-2013 Scott Main <smain@google.com> am e75cd4bf: docs: add hdf bool for deviste, used to change aspects of the templates

# Via Scott Main
* commit 'e75cd4bfd176fbb1483ec5e17edfbd993adce40f':
docs: add hdf bool for deviste, used to change aspects of the templates
f8a9c5090c7b9e4cfd27bf65093939381746e638 01-Feb-2013 Dirk Dougherty <ddougherty@google.com> am 7b32d32b: Merge "Add build rule for ds (devsite) online docs." into jb-mr1-dev

# Via Android (Google) Code Review (1) and Dirk Dougherty (1)
* commit '7b32d32bd38b423dd141e7ead89205b9b7929497':
Add build rule for ds (devsite) online docs.
2aa47b336227a5d2bd1ee91f8fb4bd84be7e97f0 30-Jan-2013 Dirk Dougherty <ddougherty@google.com> Merge "Doc change: remove htmlified samples from docs build for now. Samples are still downloadable thorugh SDK Manager." into jb-mr1-dev
9cab5c01168ed96e718fa80e9dd05e04c5d3678c 30-Jan-2013 Dirk Dougherty <ddougherty@google.com> Doc change: remove htmlified samples from docs build for now. Samples are still downloadable thorugh SDK Manager.

Change-Id: I9cfa53e605f476daf6cf914f256df600e1d77f89
/frameworks/base/Android.mk
4b7161cbd44f64537d2c661e87868ea2689dd126 29-Jan-2013 Scott Main <smain@google.com> docs: switch devsite doc build to use templates-sdk

Change-Id: I933cbafa0712de47b4bcf72d2a7c4f99bf18f930
/frameworks/base/Android.mk
e75cd4bfd176fbb1483ec5e17edfbd993adce40f 29-Jan-2013 Scott Main <smain@google.com> docs: add hdf bool for deviste, used to change aspects of the templates

Change-Id: I6ad24252f10211a88d1f98e356bc9da97442f91c
/frameworks/base/Android.mk
d0fd54648ca6249f56cf469c57181b5a7bbb71d0 29-Jan-2013 Svetoslav Ganov <svetoslavganov@google.com> Merge "Adding UI test automation APIs."
289ad99c17bd4eda0d2c153732e755a8a956609e 29-Jan-2013 Dirk Dougherty <ddougherty@google.com> Add build rule for ds (devsite) online docs.

Change-Id: I4f1d099995402613f58401a506ba272abfb563ba
/frameworks/base/Android.mk
cbb2a2a207796a68eff26be001af2797594d3b3c 29-Jan-2013 Wink Saville <wink@google.com> Delete frameworks/base/voip use voip-common from frameworks/opt/net/voip

Change-Id: Ieaba759a0f69b45c4b8839cbed1fe757cdf190c5
/frameworks/base/Android.mk
80943d8daa6ab31ab5c486d57aea406aa0730d58 02-Jan-2013 Svetoslav Ganov <svetoslavganov@google.com> Adding UI test automation APIs.

This change adds APIs support for implementing UI tests. Such tests do
not rely on internal application structure and can span across application
boundaries. UI automation APIs are encapsulated in the UiAutomation object
that is provided by an Instrumentation object. It is initialized by the
system and can be used for both introspecting the screen and performing
interactions simulating a user. UI test are normal instrumentation tests
and are executed on the device.

UiAutomation uses the accessibility APIs to introspect the screen and
a special delegate object to perform privileged operations such as
injecting input events. Since instrumentation tests are invoked by a shell
command, the shell program launching the tests creates a delegate object and
passes it as an argument to started instrumentation. This delegate
allows the APK that runs the tests to access some privileged operations
protected by a signature level permissions which are explicitly granted
to the shell user.

The UiAutomation object also supports running tests in the legacy way
where the tests are run as a Java shell program. This enables existing
UiAutomator tests to keep working while the new ones should be implemented
using the new APIs. The UiAutomation object exposes lower level APIs which
allow simulation of arbitrary user interactions and writing complete UI test
cases. Clients, such as UiAutomator, are encouraged to implement higher-
level APIs which minimize development effort and can be used as a helper
library by the test developer.

The benefit of this change is decoupling UiAutomator from the system
since the former was calling hidden APIs which required that it is
bundled in the system image. This prevented UiAutomator from being
evolved separately from the system. Also UiAutomator was creating
additional API surface in the system image. Another benefit of the new
design is that now test cases have access to a context and can use
public platform APIs in addition to the UiAutomator ones. Further,
third-parties can develop their own higher level test APIs on top
of the lower level ones exposes by UiAutomation.

bug:8028258

Also this change adds the fully qualified resource name of the view's
id in the emitted AccessibilityNodeInfo if a special flag is set while
configuring the accessibility service. Also added is API for looking
up node infos by this id. The id resource name is relatively more stable
compared to the generaed id number which may change from one build to
another. This API facilitate reuing the already defined ids for UI
automation.

bug:7678973

Change-Id: I589ad14790320dec8a33095953926c2a2dd0228b
/frameworks/base/Android.mk
ca6486e7f579fa885b6213513f26ce2ca49f873b 15-Jan-2013 Sasha Levitskiy <sanek@google.com> Removed Throttle Manager as obsolete

Change-Id: I63e8514f34c880d0badaab33a347f54a80c84da6
/frameworks/base/Android.mk
a06de0f29b58df9246779cc4bfd8f06f7205ddb6 12-Dec-2012 Dianne Hackborn <hackbod@google.com> New "app ops" service.

Initial implementation, tracking use of the vibrator, GPS,
and location reports.

Also includes an update to battery stats to also keep track of
vibrator usage (since I had to be in the vibrator code anyway
to instrument it).

The service itself is only half-done. Currently no API to
retrieve the data (which once there will allow us to show you
which apps are currently causing the GPS to run and who has
recently accessed your location), it doesn't persist its data
like it should, and no way to tell it to reject app requests
for various operations.

But hey, it's a start!

Change-Id: I05b8d76cc4a4f7f37bc758c1701f51f9e0550e15
/frameworks/base/Android.mk
545252f4fde6fbb70b07e97a120c7d1405758017 11-Dec-2012 Svetoslav Ganov <svetoslavganov@google.com> Refactoring of the screen magnification feature.

1. This patch takes care of the case where a magnified window is covering an unmagnigied
one. One example is a dialog that covers the IME window.

bug:7634430

2. Ensuring that the UI automator tool can connect and correctly dump the screen.

bug:7694696

3. Removed the partial implementation for multi display magnification. It adds
unnecessary complexity since it cannot be implemented without support for
input from multiple screens. We will revisit when necessary.

4. Moved the magnified border window as a surface in the window manager.

5. Moved the mediator APIs on the window manager and the policy methods on the
WindowManagerPolicy.

6. Implemented batch event processing for the accessibility input filter.

Change-Id: I4ebf68b94fb07201e124794f69611ece388ec116
/frameworks/base/Android.mk
f74f0deb298550307677c1abd27202e3debd02eb 05-Dec-2012 Ying Wang <wangying@google.com> Move numeric api files from frameworks/base to prebuilts/sdk

So they can be used in unbundled builds.

Bug: 7296240

Change-Id: Ib0ba88387cb45ff795a4e8e3a836cf670d5016b7
/frameworks/base/Android.mk
152e9bb81aa5b2ab4637f4b2dae04b3ce89fa891 13-Oct-2012 Svetoslav Ganov <svetoslavganov@google.com> Refactoring of the screen magnification feature.

1. The screen magnification feature was implemented entirely as a part of the accessibility
manager. To achieve that the window manager had to implement a bunch of hooks for an
external client to observe its internal state. This was problematic since it dilutes
the window manager interface and allows code that is deeply coupled with the window
manager to reside outside of it. Also the observer callbacks were IPCs which cannot
be called with the window manager's lock held. To avoid that the window manager had
to post messages requesting notification of interested parties which makes the code
consuming the callbacks to run asynchronously of the window manager. This causes timing
issues and adds unnecessary complexity.

Now the magnification logic is split in two halves. The first half that is responsible
to track the magnified portion of the screen and serve as a policy which windows can be
magnified and it is a part of the window manager. This part exposes higher level APIs
allowing interested parties with the right permissions to control the magnification
of a given display. The APIs also allow a client to be registered for callbacks on
interesting changes such as resize of the magnified region, etc. This part servers
as a mediator between magnification controllers and the window manager.

The second half is a controller that is responsible to drive the magnification
state based on touch interactions. It also presents a highlight when magnified to
suggest the magnified potion of the screen. The controller is responsible for auto
zooming out in case the user context changes - rotation, new actitivity. The controller
also auto pans if a dialog appears and it does not interesect the magnified frame.

bug:7410464

2. By design screen magnification and touch exploration work separately and together. If
magnification is enabled the user sees a larger version of the widgets and a sub section
of the screen content. Accessibility services use the introspection APIs to "see" what
is on the screen so they can speak it, navigate to the next item in response to a
gesture, etc. Hence, the information returned to accessibility services has to reflect
what a sighted user would see on the screen. Therefore, if the screen is magnified
we need to adjust the bounds and position of the infos describing views in a magnified
window such that the info bounds are equivalent to what the user sees.

To improve performance we keep accessibility node info caches in the client process.
However, when magnification state changes we have to clear these caches since the
bounds of the cached infos no longer reflect the screen content which just got smaller
or larger.

This patch propagates not only the window scale as before but also the X/Y pan and the
bounds of the magnified portion of the screen to the introspected app. This information
is used to adjust the bounds of the node infos coming from this window such that the
reported bounds are the same as the user sees not as the app thinks they are. Note that
if magnification is enabled we zoom the content and pan it along the X and Y axis. Also
recomputed is the isVisibleToUser property of the reported info since in a magnified
state the user sees a subset of the window content and the views not in the magnified
viewport should be reported as not visible to the user.

bug:7344059

Change-Id: I6f7832c7a6a65c5368b390eb1f1518d0c7afd7d2
/frameworks/base/Android.mk
aeb3751559dc6a8ed71a9463700941303cf44ba0 30-Nov-2012 Makoto Onuki <omakoto@google.com> resolved conflicts for merge of 9cd8c711 to master

Change-Id: I5e2d13c44f6a0589648e5934c8c36790da85e828
1b86d75d312996133bc0c74fcb1f2c9f2a83fba0 29-Nov-2012 Makoto Onuki <omakoto@google.com> Remove unused IExtendedNetworkService

It was used in the cupcake era for docomo. Is not used anymore.

Bug 7633569

Change-Id: I2ec826fc9a70d261a340957a937ed4c9f8e67c5c
/frameworks/base/Android.mk
b2e14e0081202acb1462f1bb2058a245a2b6550a 09-Oct-2012 Robert Ly <robertly@google.com> update pdk docs build target

Change-Id: Ic7ecbc8cf582460112d63d365c0cfb824478fff1
/frameworks/base/Android.mk
ea7e44f91b4855cce408911a8f943c66239a3489 29-Sep-2012 Ying Wang <wangying@google.com> Merge "Run doc-comment-check only for checkbuild."
33a436da507e77d5c106f8ffe5dea07f429cf270 28-Sep-2012 Ying Wang <wangying@google.com> Run doc-comment-check only for checkbuild.

Currently doc-comment-check is the single longest-running process during
the make process. It usually takes 300-400s to finish on my Z600.
What's worse, it's usually the last straggler build job.
Not running this by default can save big build time.

Bug: 7253452
Change-Id: Idc868197b59e42c6b583c66f13a0e6a1bc8d5d4e
/frameworks/base/Android.mk
20828c1b3d3d21414a90195e7d12bfa42fdfb145 28-Sep-2012 Scott Main <smain@google.com> am 43a903c7: am 053644db: Merge "add api level 17 to javadoc filter and update version number" into jb-mr1-dev

* commit '43a903c763916dccdd4052037cf64774eeb7582a':
add api level 17 to javadoc filter and update version number
1134de0f1223d93f84b4475e74e934f1bd68f634 28-Sep-2012 Scott Main <smain@google.com> add api level 17 to javadoc filter and update version number

Change-Id: I278f796b3390e57f4309f215e4f37359a80f0e83
/frameworks/base/Android.mk
397c1d8467fa5ab64341a8edf37256572adda8c4 17-Sep-2012 Dianne Hackborn <hackbod@google.com> am 0fd909ba: am d65afc65: Merge "More multi-user stuff." into jb-mr1-dev

* commit '0fd909bad1151cc39061abb52ae5b8be090e05dd':
More multi-user stuff.
5dc5a00e7ebadc085ded7e29feacd17e53698486 16-Sep-2012 Dianne Hackborn <hackbod@google.com> More multi-user stuff.

- New public APIs to find out when a user goes to the foreground,
background, and is first initializing.
- New activity manager callback to be involved in the user switch
process, allowing other services to let it know when it is safe
to stop freezing the screen.
- Wallpaper service now implements this to handle its user switch,
telling the activity manager when it is done. (Currently this is
only handling the old wallpaper going away, we need a little more
work to correctly wait for the new wallpaper to get added.)
- Lock screen now implements the callback to do its user switch. It
also now locks itself when this happens, instead of relying on
some other entity making sure it is locked.
- Pre-boot broadcasts now go to all users.
- WallpaperManager now has an API to find out if a named wallpaper is
in use by any users.

Change-Id: I27877aef1d82126c0a1428c3d1861619ee5f8653
/frameworks/base/Android.mk
9f8b2cbec7ab7de1d4a846480ffebae6e30c7b16 07-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> am b15a6363: am 6da58271: Merge "Screen magnification - feature - framework." into jb-mr1-dev

* commit 'b15a6363f7e6df41614a5f4c3d12281844deea82':
Screen magnification - feature - framework.
1cf70bbf96930662cab0e699d70b62865766ff52 06-Aug-2012 Svetoslav Ganov <svetoslavganov@google.com> Screen magnification - feature - framework.

This change is the initial check in of the screen magnification
feature. This feature enables magnification of the screen via
global gestures (assuming it has been enabled from settings)
to allow a low vision user to efficiently use an Android device.

Interaction model:

1. Triple tap toggles permanent screen magnification which is magnifying
the area around the location of the triple tap. One can think of the
location of the triple tap as the center of the magnified viewport.
For example, a triple tap when not magnified would magnify the screen
and leave it in a magnified state. A triple tapping when magnified would
clear magnification and leave the screen in a not magnified state.

2. Triple tap and hold would magnify the screen if not magnified and enable
viewport dragging mode until the finger goes up. One can think of this
mode as a way to move the magnified viewport since the area around the
moving finger will be magnified to fit the screen. For example, if the
screen was not magnified and the user triple taps and holds the screen
would magnify and the viewport will follow the user's finger. When the
finger goes up the screen will clear zoom out. If the same user interaction
is performed when the screen is magnified, the viewport movement will
be the same but when the finger goes up the screen will stay magnified.
In other words, the initial magnified state is sticky.

3. Pinching with any number of additional fingers when viewport dragging
is enabled, i.e. the user triple tapped and holds, would adjust the
magnification scale which will become the current default magnification
scale. The next time the user magnifies the same magnification scale
would be used.

4. When in a permanent magnified state the user can use two or more fingers
to pan the viewport. Note that in this mode the content is panned as
opposed to the viewport dragging mode in which the viewport is moved.

5. When in a permanent magnified state the user can use three or more
fingers to change the magnification scale which will become the current
default magnification scale. The next time the user magnifies the same
magnification scale would be used.

6. The magnification scale will be persisted in settings and in the cloud.

Note: Since two fingers are used to pan the content in a permanently magnified
state no other two finger gestures in touch exploration or applications
will work unless the uses zooms out to normal state where all gestures
works as expected. This is an intentional tradeoff to allow efficient
panning since in a permanently magnified state this would be the dominant
action to be performed.

Design:

1. The window manager exposes APIs for setting accessibility transformation
which is a scale and offsets for X and Y axis. The window manager queries
the window policy for which windows will not be magnified. For example,
the IME windows and the navigation bar are not magnified including windows
that are attached to them.

2. The accessibility features such a screen magnification and touch
exploration are now impemented as a sequence of transformations on the
event stream. The accessibility manager service may request each
of these features or both. The behavior of the features is not changed
based on the fact that another one is enabled.

3. The screen magnifier keeps a viewport of the content that is magnified
which is surrounded by a glow in a magnified state. Interactions outside
of the viewport are delegated directly to the application without
interpretation. For example, a triple tap on the letter 'a' of the IME
would type three letters instead of toggling magnified state. The viewport
is updated on screen rotation and on window transitions. For example,
when the IME pops up the viewport shrinks.

4. The glow around the viewport is implemented as a special type of window
that does not take input focus, cannot be touched, is laid out in the
screen coordiates with width and height matching these of the screen.
When the magnified region changes the root view of the window draws the
hightlight but the size of the window does not change - unless a rotation
happens. All changes in the viewport size or showing or hiding it are
animated.

5. The viewport is encapsulated in a class that knows how to show,
hide, and resize the viewport - potentially animating that.
This class uses the new animation framework for animations.

6. The magnification is handled by a magnification controller that
keeps track of the current trnasformation to be applied to the screen
content and the desired such. If these two are not the same it is
responsibility of the magnification controller to reconcile them by
potentially animating the transition from one to the other.

7. A dipslay content observer wathces for winodw transitions, screen
rotations, and when a rectange on the screen has been reqeusted. This
class is responsible for handling interesting state changes such
as changing the viewport bounds on IME pop up or screen rotation,
panning the content to make a requested rectangle visible on the
screen, etc.

8. To implement viewport updates the window manger was updated with APIs
to watch for window transitions and when a rectangle has been requested
on the screen. These APIs are protected by a signature level permission.
Also a parcelable and poolable window info class has been added with
APIs for getting the window info given the window token. This enables
getting some useful information about a window. There APIs are also
signature protected.

bug:6795382

Change-Id: Iec93da8bf6376beebbd4f5167ab7723dc7d9bd00
/frameworks/base/Android.mk
cf8e40ebe20b4709cfb0d10937deffc31ef212e6 30-Aug-2012 Dianne Hackborn <hackbod@google.com> am 0322498e: am 12631ec3: Merge "Start implementing concept of "running" users." into jb-mr1-dev

* commit '0322498e05cfec1d73bc5205d46ce86847e7dd79':
Start implementing concept of "running" users.
12631ec35eafc466e0deef315daa5fdfb5066372 30-Aug-2012 Dianne Hackborn <hackbod@google.com> Merge "Start implementing concept of "running" users." into jb-mr1-dev
c9996258caa89bb453af124410cb1edf63ad4b7a 30-Aug-2012 Jeff Brown <jeffbrown@google.com> am f1b88ab2: am d5ea3b46: Merge "Add initial multi-display support." into jb-mr1-dev

* commit 'f1b88ab27d8fc675121a53f44103c8730d66ccd1':
Add initial multi-display support.
bd6e1500aedc5461e832f69e76341bff0e55fa2b 28-Aug-2012 Jeff Brown <jeffbrown@google.com> Add initial multi-display support.

Split the DisplayManager into two parts. One part is bound
to a Context and takes care of Display compatibility and
caching Display objects on behalf of the Context. The other
part is global and takes care of communicating with the
DisplayManagerService, handling callbacks, and caching
DisplayInfo objects on behalf of the process.

Implemented support for enumerating Displays and getting
callbacks when displays are added, removed or changed.

Elaborated the roles of DisplayManagerService, DisplayAdapter,
and DisplayDevice. We now support having multiple display
adapters registered, each of which can register multiple display
devices and configure them dynamically.

Added an OverlayDisplayAdapter which is used to simulate
secondary displays by means of overlay windows. Different
configurations of overlays can be selected using a new
setting in the Developer Settings panel. The overlays can
be repositioned and resized by the user for convenience.

At the moment, all displays are mirrors of display 0 and
no display transformations are applied. This will be improved
in future patches.

Refactored the way that the window manager creates its threads.
The OverlayDisplayAdapter needs to be able to use hardware
acceleration so it must share the same UI thread as the Keyguard
and window manager policy. We now handle this explicitly as
part of starting up the system server. This puts us in a
better position to consider how we might want to share (or not
share) Loopers among components.

Overlay displays are disabled when in safe mode or in only-core
mode to reduce the number of dependencies started in these modes.

Change-Id: Ic2a661d5448dde01b095ab150697cb6791d69bb5
/frameworks/base/Android.mk
80a4af2bbc6af42ae605e454bf89558e564f5244 28-Aug-2012 Dianne Hackborn <hackbod@google.com> Start implementing concept of "running" users.

The activity manager now keeps track of which users are running.

Initially, only user 0 is running.

When you switch to another user, that user is started so it is
running. It is only at this point that BOOT_COMPLETED is sent
for that user and it is allowed to execute anything.

You can stop any user except user 0, which brings it back to the
same state as when you first boot the device. This is also used
to be able to more cleaning delete a user, by first stopping it
before removing its data.

There is a new broadcast ACTION_USER_STOPPED sent when a user is
stopped; system services need to handle this like they currently
handle ACTION_PACKAGE_RESTARTED when individual packages are
restarted.

Change-Id: I89adbd7cbaf4a0bb72ea201385f93477f40a4119
/frameworks/base/Android.mk
1fd6e22b6a6c02f1c7a649a2c9caf419cf47e120 23-Aug-2012 Ying Wang <wangying@google.com> am 510aa89c: am 9f814ac5: Merge "Remove obsolete variables." into jb-mr1-dev

* commit '510aa89ca32d120f60fd8186b9575dc74b57aada':
Remove obsolete variables.
ddcca31997bc28d2305366a9fca6029288a12fa8 22-Aug-2012 Ying Wang <wangying@google.com> Remove obsolete variables.

Bug: 6987838
Now emma is only enabled for apks.

Change-Id: Id8d198467076a8dff705195a8e051f3fb00d5660
/frameworks/base/Android.mk
4bffb5ce974f1935f5e9d535fc662f383230c9ba 08-Jun-2012 Robert Ly <robertly@google.com> modified to add pdk target

Change-Id: Iedd667deb1ed6814433d03a0492a0b963a64d869
/frameworks/base/Android.mk
258848d2ae04f447ff1c18023fa76b139fcc0862 11-Aug-2012 Amith Yamasani <yamasani@google.com> User Manager service to manage users and query user details

Moved a bunch of methods from PackageManager to UserManager.

Fix launching of activities from recents to correct user.

Guest creation APIs

Change-Id: I0733405e6eb2829675665e225c759d6baa2b708f
/frameworks/base/Android.mk
6fa9ad4afcd762aea519ff61811386c23d18ddb2 16-Jul-2012 Nick Pelly <npelly@google.com> 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
/frameworks/base/Android.mk
fa25bf5382467b1018bd9af7f1cb30a23d7d59f7 24-Jul-2012 Jeff Brown <jeffbrown@google.com> Add display manager skeleton.

The purpose of this change is to remove direct reliance on
SurfaceFlinger for describing the size and characteristics of
displays.

This patch also starts to make a distinction between logical displays
and physical display devices. Currently, the window manager owns
the concept of a logical display whereas the new display
manager owns the concept of a physical display device.

Change-Id: I7e0761f83f033be6c06fd1041280c21500bcabc0
/frameworks/base/Android.mk
0f42037eb7b5118015c2caca635538324ccf0ccf 12-Apr-2012 fredc <fredc@broadcom.com> Non persistent adapter service

Change-Id: Ib13d5c77416e58161df0e04d7a15ec0dddbde8b5

Conflicts:

core/java/android/bluetooth/BluetoothInputDevice.java

Conflicts:

core/java/com/android/internal/app/ShutdownThread.java
services/java/com/android/server/SystemServer.java

Conflicts:

services/java/com/android/server/SystemServer.java
services/java/com/android/server/pm/ShutdownThread.java
/frameworks/base/Android.mk
13450df2b9264ef2220418f308037c19cec739a9 23-Mar-2012 Matthew Xie <mattx@google.com> Initial Health Profile implementation

Change-Id: I22f35073ceb131d84df6b233d1b63d20fa1b4451
/frameworks/base/Android.mk
bf246ef0abb6ea354fe412b139dec1adb4e5791d 22-Mar-2012 Matthew Xie <mattx@google.com> Initial implementation of HID, add IBluetoothInputDevice idl

Change-Id: Iadc79a425b4b6e12329d86dd2ac0782adcb0174d
/frameworks/base/Android.mk
3e8c82edb1feafc796aa52efafedc13f794c4dcd 17-Feb-2012 Matthew Xie <mattx@google.com> Framework changes for HFP and A2DP profile implementation of the new stack.
Add IBluetoothHeadsetPhone.aidl for a small service in Phone to get
phone state changes

Change-Id: I1015e4a69720c4e9cd18ae4236ccd0dbff2e1b2c
/frameworks/base/Android.mk
c9c9a48e7bafae63cb35a9aa69255e80aba83988 16-Jul-2012 Svetoslav Ganov <svetoslavganov@google.com> Removing a workaround for incorrect window position on window move.

1. The window manager was not notifying a window when the latter
has been moved. This was causing incorrect coordinates of the
nodes reported to accessibility services. To workaround that
we have carried the correct window location when making a
call from the accessibility layer into a window. Now the
window manager notifies the window when it is moved and the
workaround is no longer needed. This change takes it out.

2. The left and right in the attach info were not updated properly
after a report that the window has moved.

3. The accessibility manager service was calling directly methods
on the window manager service without going through the interface
of the latter. This leads to unnecessary coupling and in the
long rung increases system complexity and reduces maintability.

bug:6623031

Change-Id: Iacb734b1bf337a47fad02c827ece45bb2f53a79d
/frameworks/base/Android.mk
a639b311e93ad14d9ee5c2b2c215ed2d86c32d2a 10-Jul-2012 Wink Saville <wink@google.com> Create telephony-common and mms-common

These have been created to reduce the size and complexity
of frameworks/base.

mms-common was created by moving all of
frameworks/base/core/java/com/google/android/mms
to:
frameworks/opt/mms

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
/frameworks/base/Android.mk
a2860267cad115659018d636bf9203a644c680a7 22-Jun-2012 Scott Main <smain@google.com> update make file with 'since' tag for api level 16, update version number

Change-Id: I30d04dcde5cd505959d94c274634018b3602cb26
/frameworks/base/Android.mk
1357012968f9066ea3051d83995e9bac69526c3c 19-Jun-2012 Jean-Michel Trivi <jmtrivi@google.com> Remote volume handling in MediaRouter

Extend MediaRouter.UserRouteInfo to enable setting playback
information, which includes volume. When the user route instance
has a RemoteControlClient, forward any playback information to it.
Enable specifying a callback to be notified of volume events
on the route.
Extend MediaRouter.RouteInfo to enable retrieving playback
information.

Update RemoteControlClient javadoc to reflect which parts of the
API are not intended to be made public.

Change-Id: I59d728eb61747af6c8c89d53f0faeb07940594c3
/frameworks/base/Android.mk
632ca417f0a33e3fa9ccece531afa2db3f0d4a30 15-Jun-2012 Dianne Hackborn <hackbod@google.com> Add new callback for MediaRouter to found out about device changes.

The AudioService now has an API to call to get the currently
connected devices, and later reports of changes in connection
state. The information includes the name of the bluetooth
device if one is connected for display to the user, and states
for all of the pluggable devices. No longer requires a Bluetooth
permission to keep the routes updated.

Change-Id: I81ca421c60592fbc1592477d59bf1c9d1b64954a
/frameworks/base/Android.mk
7b1e0c7046abefc0b40884b36197c8a803d9cf6d 13-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Removing default accessibility gesture handling.

1. The initial design was to have some accessibility gestures
being handled by the system if the gesture handling access
service does not consume the gesture. However, we are not
sure what a good default is and once we add a default handler
we cannot remove it since people may rely on it. Thus, we
take the simples approach and let the accessibility service
handle the gestures. If no gestures are handled the system
will work in explore by touch as before.

bug:5932640

Change-Id: I865a83549fa03b0141d27ce9713e9b7bb45a57b4
/frameworks/base/Android.mk
a7771df3696954f0e279407e8894a916a7cb26cc 08-May-2012 Jeff Brown <jeffbrown@google.com> Move CancellationSignal to android.os package.

Bug: 6427830
Change-Id: I39451bb1e1d4a8d976ed1c671234f0c8c61658dd
/frameworks/base/Android.mk
098d580cc2bb6c0891c756a4e5230c6c6b0d2376 27-Apr-2012 Jeff Sharkey <jsharkey@android.com> Migrate ringtone playback to SystemUI.

Introduce IRingtonePlayer, which handles playback for both Ringtone
objects and Notifications. SystemUI now hosts this player, which it
registers with AudioService. It also keeps MediaPlayer instances
warm, and cleans them up after stop() or Binder death.

Move both Ringtone and NotificationManagerService to play back audio
through this new interface.

Bug: 6376128, 6350773
Change-Id: I1dcb86d16ee3c4f07cdb2248d33dcff4ead3609a
/frameworks/base/Android.mk
07b0465095bd9ab3412caefa4fcacbdc3825c64b 24-Apr-2012 Glenn Kasten <gkasten@google.com> Scheduling policy service

Change-Id: I6178b96896ffbb3323210f93784a65d724a3e694
/frameworks/base/Android.mk
fefd20e927b7252d63acb7bb1852c5188e3c1b2e 20-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> Adding an opt-in mechanism for gesture detection in AccessibilityService.

1. An accessibility service has to explicitly opt in to be notified
for gestures by the system. There is only one accessibility service
that handles gestures and in case it does not handle a gesture
the system performs default handling. This default handling ensures
that we have gesture navigation even if no accessibility service
would like to participate/customize the interaction model.

bug:5932640

Change-Id: Id8194293bd94097b455e9388b68134a45dc3b8fa
/frameworks/base/Android.mk
571db3203c0d47f0b612f194ecfb5bef9d2c09c6 16-Apr-2012 Brett Chabot <brettchabot@android.com> Build junit API docs from external/junit.

Bug 5826326

Change-Id: I67d18cacf0c4e908ec41dbed483314ece8b72ceb
/frameworks/base/Android.mk
4213804541a8b05cd0587b138a2fd9a3b7fd9350 20-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> 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
/frameworks/base/Android.mk
af9e8d38184c6ba4d2d3eb5bde7014a66dd8a78b 13-Apr-2012 Jeff Brown <jeffbrown@google.com> Notify applications when input devices change.

This change allows the InputManager to keep track of what input
devices are registered with the system and when they change.
It needs to do this so that it can properly clear its cache of
input device properties (especially the key map!) when changes
occur.

Added new API so that applications can register listeners for
input device changes.

Fixed a minor bug in EventHub where it didn't handle EPOLLHUP
properly so it would spam the log about unsupposed epoll events
until inotify noticed that the device was gone and removed it.

Change-Id: I937d8c601f7185d4299038bce6a2934fe4fdd2b3
/frameworks/base/Android.mk
7d276c377ce0c56630c06a6da431a6cb9bd76d1e 30-Jan-2012 Daniel Sandler <dsandler@android.com> New Android Dreams architecture, disabled for now.

Rather than normal Activities (which have a host of problems
when used for this purpose), screen savers are now a
special kind of Service that can add views to its own
special window (TYPE_DREAM, in the SCREENSAVER layer).

Dreams are now launched by the power manager; whenever it is
about to turn the screen off, it asks the window manager if
it wants to run a screen saver instead. (http://b/5677408)

Also, the new config_enableDreams bool allows the entire
feature to be switched on or off in one place. It is
currently switched off (and the APIs are all @hidden).

Change-Id: Idfe9d430568471d15f4b463cb70586a899a331f7
/frameworks/base/Android.mk
b52e3e55098c4a6e3dbfe19885895411cfb38911 06-Apr-2012 Jeff Sharkey <jsharkey@android.com> INetworkStatsSession with lifecycle for caching.

Users outside system_server now explicitly communicate their
lifecycle, which keeps a strong-reference chain to any fully loaded
NetworkStatsCollection histories.

Bug: 6236498
Change-Id: I8e22739b6e89a626b676967a736d7117fd000778
/frameworks/base/Android.mk
e9bdb31ea1dc3c1c2b1833a4bf0031d85928a45b 06-Apr-2012 Jeff Brown <jeffbrown@google.com> Merge "Refactor input system into its own service."
4532e6158474a263d9d26c2b42240bcf7ce9b172 05-Apr-2012 Jeff Brown <jeffbrown@google.com> Refactor input system into its own service.

Extracted the input system from the window manager service into
a new input manager service. This will make it easier to
offer new input-related features to applications.

Cleaned up the input manager service JNI layer somewhat to get rid
of all of the unnecessary checks for whether the input manager
had been initialized. Simplified the callback layer as well.

Change-Id: I3175d01307aed1420780d3c093d2694b41edf66e
/frameworks/base/Android.mk
52c489cd63cca0361f374f7cb392018fabfa8bcc 28-Mar-2012 Amith Yamasani <yamasani@google.com> Lockscreen settings per user

Move all lockscreen related settings to LockSettingsService.
LockPatternUtils uses this through IPC instead of Secure settings.
Migrate old settings to new database managed by LockSettingsService.
Passwords and patterns are stored in a new per-user location, except
for the primary user, for backward compatibility.
KeyguardViewMediator and LockPatternKeyguardView listen for changes
to user and updates the lockscreen.

Settings provider will look for Lock settings in the LockSettings
service now for the entries that used to be stored in Settings.

Change-Id: I956cd5b95e2d9d45a6401af7e270e6a5aa2dcc98
/frameworks/base/Android.mk
7d024d372431effc87168afdc7cbe387680c4935 23-Mar-2012 Irfan Sheriff <isheriff@google.com> Add initial framework for DNS service discovery

Change-Id: I53c0b7ebfd75e520ebb7553612f1aa8413b6b79b
/frameworks/base/Android.mk
dc4226a5245037bce7b1fcfa1dbb16b7280a1c16 31-Mar-2012 Tony Chan <htchan@google.com> am af71f328: am 2963ae34: am 4ddfaeb5: Merge "sdk doc change: Added KeyChain API Demo" into ics-mr1

* commit 'af71f328e6b03cc6b7111b87b625c3f9cb3987e4':
sdk doc change: Added KeyChain API Demo
c95a74d301f3f37e6c91edbd8e7c94d1452b6e35 28-Mar-2012 Tony Chan <htchan@google.com> sdk doc change: Added KeyChain API Demo

Change-Id: I8ea879bf30f933c745e33dafa6591fce77251eb6
/frameworks/base/Android.mk
65953da4636fbf5f0a24b8f5f2b5fa7d76ff13d9 27-Mar-2012 Marius Renn <renn@google.com> Multi-Project Commit: Move of filterfw out of system/media (2 of 7)

This is part of the multi-project commit to move the filter-framework
from system/media/mca to frameworks/base/media/mca.

Note that the filter-framework will soon be replaced with a refactored
version currently under API review (also to go under frameworks/base).
This move is done now to unblock the PDK efforts.

Change-Id: I9f42be5a12a9e8157512be11f04e38e4548970be
/frameworks/base/Android.mk
8662cab5c6a01ea5c426512e6f6d2cf3e158aea0 23-Feb-2012 Christopher Tate <ctate@google.com> Merge: Introduce UpdateLocks

An "UpdateLock" works similarly to a wake lock in API: the caller is
providing a hint to the OS that now is not a good time to interrupt
the user/device in order to do intrusive work like applying OTAs.
This is particularly important for headless or kiosk-like products
where ordinarily the update process will be automatically scheduled
and proceed without user or administrator intervention.

UpdateLocks require that the caller hold the new signatureOrSystem
permission android.permission.UPDATE_LOCK. acquire() and release()
will throw security exceptions if this is not the case.

The "is now convenient?" state is expressed to interested parties
by way of a sticky broadcast sent only to registered listeners. The
broadcast is protected; only the system can send it, so listeners
can trust it to be accurate. The broadcast intent also includes a
timestamp (System.currentTimeMillis()) to help inform listeners that
wish to implement scheduling policies based on when the device became
idle.

The API change here is a tiny one: a dump(PrintWriter) method has been
added to the TokenWatcher class to facilitate getting information out
of it for dumpsys purposes. UpdateLock itself is still @hide.

Bug 5543442

Change-Id: I3709c831fc1883d7cb753cd2d3ee8e10a61e7e48
/frameworks/base/Android.mk
1e11c6519a5b657ad6af4369b8580fbe681ebe0e 10-Feb-2012 Mike Lockwood <lockwood@android.com> Merge "New Serial Manager API:"
21fbd1f7da53dc044737803dccddf8099f1fc1e9 10-Feb-2012 Dianne Hackborn <hackbod@google.com> Some cruft removal.

Change-Id: If4a94bfd4a033748eb13e8f3ff25e24382746778
/frameworks/base/Android.mk
b01e8bf57b7492b77e3445db51471edcbadda75e 30-Aug-2011 Mike Lockwood <lockwood@android.com> New Serial Manager API:

SerialManager: provides access to serial ports
SerialPort: for reading and writing data to and from serial ports

IO with both array based and direct ByteBuffers is supported.

Accessing serial ports requires android.permission.SERIAL_PORT permission

Each platform must configure list of supported serial ports in the
config_serialPorts resource overlay
(this is needed to prevent apps from accidentally accessing the bluetooth
or other system UARTs).

In addition, the platform uevent.rc file must set the owner to the
/dev/tty* files to "system" so the framework can access the port.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/Android.mk
4c1241df8f8b7fd5ec3dff6c7e0f66271248e76e 03-Feb-2012 Jeff Brown <jeffbrown@google.com> Rename CancellationSignal using preferred spelling.

Bug: 5943637
Change-Id: I12a339f285f4db58e79acb5fd8ec2fc1acda5265
/frameworks/base/Android.mk
2d2d7d6f42fe22ecc2b1dc8bb96a19e503a61a20 28-Jan-2012 Jeff Brown <jeffbrown@google.com> Merge "Implement a cancelation mechanism for queries."
75ea64fc54f328d37b115cfb1ded1e45c30380ed 26-Jan-2012 Jeff Brown <jeffbrown@google.com> Implement a cancelation mechanism for queries.

Added new API to enable cancelation of SQLite and content provider
queries by means of a CancelationSignal object. The application
creates a CancelationSignal object and passes it as an argument
to the query. The cancelation signal can then be used to cancel
the query while it is executing.

If the cancelation signal is raised before the query is executed,
then it is immediately terminated.

Change-Id: If2c76e9a7e56ea5e98768b6d4f225f0a1ca61c61
/frameworks/base/Android.mk
c97a552023c3c71079b39092e80c9b44f25a789b 05-Jan-2012 Nick Pelly <npelly@google.com> Improve NDEF API's

o Add NdefRecord.toMimeType()
Maps the record to a MIME type
o Add NdefRecord.toUri()
Maps the record to a URI
o Add hidden NfcAdapter.dispatch()
Helps test the dispatch path.
o Modify createMime(), createUri() and createExternal():
Do not try and strictly follow RFC requirements for URI or MIME content
types. This just leads to heartbreak - the RFC requirements are too strict.
For example RFC1341 forbids the use of '.' in a MIME type, however this is in
common use in types such as "application/vnd.companyname". I think the best
approach is to only remove 'obvious' whitespace issues, and to convert
uppercase to lowercase as per Android guidelines.

Change-Id: Id686f5f3b05b2dceafad48e1cfcbdb2b3890b854
/frameworks/base/Android.mk
481cd5a8938b5055942f3a9ccaeb08f373b8a4ea 15-Dec-2011 Scott Main <smain@google.com> am 3d672e1e: Android U Class: Monetization / Ads without Compromising User Experience

* commit '3d672e1e789e171e913605945efe95a477ab0505':
Android U Class: Monetization / Ads without Compromising User Experience
3d672e1e789e171e913605945efe95a477ab0505 15-Dec-2011 Scott Main <smain@google.com> Android U Class: Monetization / Ads without Compromising User Experience

Change-Id: I1aaddc6bbbc9fc2b53119893f2b70260f1b0d9a7
/frameworks/base/Android.mk
cf927f229f55849caf3461621023b5bd61908334 15-Dec-2011 Scott Main <smain@google.com> am aed4ced6: Android U Class: Developing Android Applications for the Enterprise. This class uses a sample app.

* commit 'aed4ced6556383483209f454c9e4872e8ad28ebf':
Android U Class: Developing Android Applications for the Enterprise. This class uses a sample app.
aed4ced6556383483209f454c9e4872e8ad28ebf 15-Dec-2011 Scott Main <smain@google.com> Android U Class: Developing Android Applications for the Enterprise.
This class uses a sample app.

Change-Id: I508edbb98c8e9dea1d3ea26c8dcd9da213330d87
/frameworks/base/Android.mk
9a6b4245c98b0327f6aaeaafc72de86cdc8e3e62 12-Dec-2011 Dirk Dougherty <ddougherty@google.com> Doc change: add MR1 API summary and updated highlights.

Change-Id: I9a9b13b9c7b8ae3011772a62735c788762b45f7f
/frameworks/base/Android.mk
37191e1dc783a5558eb8ee4f096bd8350c34415d 13-Dec-2011 Scott Main <smain@google.com> am 801fda54: AndroidU lesson on designing for multiple screens.

* commit '801fda548c719a8618e7f4cd64cad8404b0970b9':
AndroidU lesson on designing for multiple screens.
801fda548c719a8618e7f4cd64cad8404b0970b9 10-Dec-2011 Scott Main <smain@google.com> AndroidU lesson on designing for multiple screens.

This change adds the text for the AndroidU lesson "Designing for Multiple
Screens", which shows how to write applications that adapt properly
to screen size, density and orientation for maximum compatibility.
Update makefile and resources-data.js for rendering source in HTML
Add ZIP file for sample

Change-Id: I671bb3063d5bf02681bc547ffe5262a9df22037a
/frameworks/base/Android.mk
25bcbbb5971e2832c3020ee406b27d641d4ca05b 02-Dec-2011 Chia-chi Yeh <chiachi@android.com> am 431c3e4c: Merge "Documentation for the VPN sample for ICS SDK. Staging server: http://fredchung.i:9999/resources/samples/ToyVpn/index.html" into ics-mr0

* commit '431c3e4c7e2103865a90501a552b4e5145ed3f35':
Documentation for the VPN sample for ICS SDK. Staging server: http://fredchung.i:9999/resources/samples/ToyVpn/index.html
8e076fe774386762da21d78823f905751f2803d9 29-Nov-2011 Fred Chung <fchung@google.com> Documentation for the VPN sample for ICS SDK.
Staging server: http://fredchung.i:9999/resources/samples/ToyVpn/index.html

Change-Id: I35a17374fc0d9d165cedc9d6e1052eaec0028ace
/frameworks/base/Android.mk
92f12f5e40019e6e9b8672e8d88f246b8534e003 17-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> Add the support libraries to the platform documentation (build).

Updated the make file to generate documentation for the support libs.

bug:5629339

Change-Id: I44222f78d002660ad52610083421e4b840ceb541
/frameworks/base/Android.mk
6cf8f73586f01f93015bd761fcacdecbbf643955 17-Nov-2011 Fred Chung <fchung@google.com> Adding missed Android.mk file to the original Bluetooth HDP sample Change-Id: I7035cb13da6f6cd64e63df8a5ccf2391fe41f18e.

Change-Id: I23f7d4ece831ea449ecfc848dbb5733021107350
/frameworks/base/Android.mk
2d410df1c7852aec4131f276841758d43e9507f1 14-Nov-2011 Fred Chung <fchung@google.com> DO NOT MERGE: Bluetooth HDP sample.
Cherry pick from ics-mr1 Change ID I7035cb13da6f6cd64e63df8a5ccf2391fe41f18e

Change-Id: I6f9bd5fec6e841395b9fc85d419510c81bfb620c
/frameworks/base/Android.mk
aeb11b598877523fd3c530c7a086c38b4a13c7a1 31-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Folding Accessibility Service sample into ApiDemos." into ics-mr0
a840462feb846a5c8d1d7d024562d5739b75e591 29-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Folding Accessibility Service sample into ApiDemos.

1. Moving Accerssibility Service sample into ApiDemos since
we are putting all accessibility samples there.

Change-Id: If2deec7f6ad49b0d50112300eda0f7cb48660450
/frameworks/base/Android.mk
2323e9bcdca521d8b9c3990ebf8c0bf779374de6 29-Oct-2011 Scott Main <smain@google.com> docs: fix spell checker client location

Change-Id: Ic94eab2720cd96b1130869d2071c635b4acb27f5
/frameworks/base/Android.mk
182e4ae2f4bbfdd2272f6e425c6f3734b3f157bf 27-Oct-2011 satok <satok@google.com> Add a path to HelloSpellChecker sample application for SDK build

Change-Id: I77e334f8e2b50b8609b1729edb253254d6b7360b
/frameworks/base/Android.mk
44619d3e087138775fb19fbd5d7b9f497a0805f4 19-Oct-2011 satok <satok@google.com> Update links for SampleSpellCheckerService for I938ba499

Change-Id: I528fc5ee5f9971ecb3bf47ef1c8b999546724c1f
/frameworks/base/Android.mk
3087b94f7beafda54d3871e354dcde951b0c52a0 14-Oct-2011 Scott Main <smain@google.com> fix android beam demo path

Change-Id: I16a467155feac54fb14b1b7af034a3854efe1fb7
/frameworks/base/Android.mk
49eb519696526fa066830bd4a2341b6a105ce5c8 14-Oct-2011 Scott Main <smain@google.com> change android beam sample name

Change-Id: Ic3c1d6d75d06a4de55824e69fa9d4d9564bfdb95
/frameworks/base/Android.mk
5d0dbea9e9630ff2792a76b00b1016ae8215cdd9 06-Oct-2011 Anirudh Dewani <anirudhd@google.com> Docs changes for WiFiDirect sample

Change-Id: Icfe3cc12c451563792745fc4c326d064cac978c3
/frameworks/base/Android.mk
f4b2ba18942eb2ae06a8f64dda5c691b2a2a914b 01-Oct-2011 Roman Nurik <romannurik@google.com> Add ActionBarCompat sample (CL 2 of 2)

Change-Id: Ie64eaad0c5cd148288ee48c524ff3516522fc10f
/frameworks/base/Android.mk
2950b1b2340292f1dec3165e65da3b635c29d168 05-Oct-2011 Scott Main <smain@google.com> add spell checker sample to build

Change-Id: Id03246e140ee6676810fcefebff0ba73115987ec
/frameworks/base/Android.mk
d8afdb49ffaf727ff5d493854501d42c27faae28 05-Oct-2011 Robert Ly <robertly@google.com> adding Android Beam sample

Change-Id: I30df24bc41fe61ebaab29f23a8df54f2c9599394
/frameworks/base/Android.mk
abb06265efad56434ca8dfa73cad9c9a7dff781d 22-Sep-2011 Scott Main <smain@google.com> update version codes for doc filtering and footer version name

Change-Id: I63feac1e5dcf7c0f7f2acc3ff23fcd3224a90e14
/frameworks/base/Android.mk
b1f57728d9b0122abfc1426052a5a1ab464a934e 16-Sep-2011 Ying Wang <wangying@google.com> Use the correct dependency

$(LOCAL_BUILT_MODULE) of the module framework points to a
product-specific file (required by dex-preopt), which is nuked by installclean.
While the result of $(java-lib-deps) points to a file in the common
directory.

This change reduces the incremental build time significantly:
It takes around 7 minutes to run "make instalclean && make" without this
change v.s. 3 minutes with this change.
So it will save lots of build time when switching between user, userdebug
and eng builds on the build server.

Change-Id: I832bafca04677af561bb0c28e2e0260f633b96a1
/frameworks/base/Android.mk
6edf2637e96139735df83907c221cce16d4d7eaa 06-Sep-2011 Jim Miller <jaggies@google.com> Fix 5185505: Add support for weak biometric sensors to lockscreen.

Added binder interfaces to the framework.

Change-Id: I7d55b45baa4d1600ebd2a3828e85c3357cfcfb58
/frameworks/base/Android.mk
4426e42ac6107bf6b09f7c4cdad39eb161d8b9ca 19-Aug-2011 Jean-Michel Trivi <jmtrivi@google.com> Bug 5045498 New implementation of remote control API

Remote control displays expose an IRemoteControlDisplay interface
which they register through AudioManager.
Remote control clients create a RemoteControlClient object, which
implicitely exposes an IRemoteControlClient interface registered
in AudioService through AudioManager.
AudioService tells all clients and displays when a new client
is the one that should be displayed.
A client's data gets sent to the display when it is valid, or
it sets new data (while being valid).

The implementation for setting metadata and album art is temporary,
and will migrate to the MetadataEditor API in future CLs.

Change-Id: Ibab6ea1d94c68f32482c760c6ae269541f885548
/frameworks/base/Android.mk
01675902e0310ad93993e29a5cbf3a3c6c85a25b 18-Aug-2011 Eino-Ville Talvala <etalvala@google.com> Merge "NEW_API: Add real-time Effects."
178889eff7fa3361a5cb08d6d43846a1baf5216b 16-Aug-2011 Jean-Michel Trivi <jmtrivi@google.com> Bug 5045498 RemoteControlClient interface

Define a RemoteControlClient interface that applications must
implement and register to be displayed on the lockscreen.

Change-Id: I67276ae653f203e76727432231f1d76535c31942
/frameworks/base/Android.mk
b1dec71a45d980d1ce1bf41411594a1cae400bfc 20-Jun-2011 Eino-Ville Talvala <etalvala@google.com> NEW_API: Add real-time Effects.

Add simple effects API, based on the mobile filter framework.

Bug-Id: 4966161

Change-Id: I1fa8aa6effd0f13029e6dd09d6e0a6c3f29f6cda
/frameworks/base/Android.mk
4415629112af2a62eb58a4daf1f2533c5089be53 03-Aug-2011 Jean-Michel Trivi <jmtrivi@google.com> Merge "Remote control display API and implementation"
8f619182cb759718f64ab95fd6d61c16138f6952 22-Jul-2011 Jean-Michel Trivi <jmtrivi@google.com> Remote control display API and implementation

Extend the media button event registration AudioManager API to
enable applications to register as a client of "remote controls"
and let them provide information meant to be displayed
by the remotes.
AudioService sends a AudioManager.REMOTE_CONTROL_CLIENT_CHANGED
intent to let remote controls know when / from whom they can
retrieve the information to display.
Only application that own audio focus, are the currently
registered media button event receiver, and have registered
a remote control client, are eligible to appear on the
remote control.

To address in future CLs:
- change how a remote control client forces a refresh
- rename methods called under lock to ___Locked()
- make API public

Change-Id: Icca30ab05dac2605ee9246f8acb27a03dcea077a
/frameworks/base/Android.mk
c3afd39c6722cd57307fd90aee405179aea77f6b 30-Jun-2011 Jeff Hamilton <jham@android.com> Remove the binder interface for LLCP.

Change-Id: Idc9631cdbcac1435e285c656948a37315e32515d
/frameworks/base/Android.mk
5a876b4ce0831bb30c14400424be39a7d68a1011 28-Jul-2011 Scott Main <smain@google.com> add since flag for ICS

Change-Id: Id6d82f0ecd9f24af85a0fa7c4e712e4ea8a59bb3
/frameworks/base/Android.mk
c7bf44d9f752febc8cc5bf42341cc360b0cf5429 18-Jul-2011 Scott Main <smain@google.com> cherrypick Change-Id: Ic41d05c61e7b20d9303384c63528f0a79b22310b
update version code to 3.2 for docs footer

Change-Id: Ia62622383fe73c3e62fa9856ef9742327029be5c
/frameworks/base/Android.mk
ef2cb7c93a99096799d415e721dda46d1bf7a005 22-Jul-2011 Jaikumar Ganesh <jaikumar@google.com> Add ability to turn BT on / off on a per application basis.

This changes adds an API for system applications
to enable bluetooth without all the side effects like
auto connection to headsets etc.

Also some tweaks to the adapter state machine

Change-Id: Ib9f22d548a26d72334b300101c8eb0d80f08a4bb
/frameworks/base/Android.mk
55bc5f3e0408bcb5a39a6732de0b2d1aa99a55be 24-Jun-2011 repo sync <isheriff@google.com> Updated: Wi-Fi p2p framework

First stage. Get the bones in right now even though
we are not ready on the native side.

Once, we have things underneath working - we will further update the
framework

Change-Id: I4a7dab5cd4267373dc5f8989ae4122f91c384ed5
/frameworks/base/Android.mk
988323c57bd25a58f05dfa492d9b9c8ab62c5153 22-Jun-2011 satok <satok@google.com> Create TextServiceManager and SpellCheckerService

Bug: 4176026

This CL inherits https://android-git.corp.google.com/g/112600

Spec of TextServiceManager
- Chooses the most applicable TextService(e.g. SpellCheckerService, WordBreakIteratorService..)
for each locale

Spec of SpellCheckerService
- Returns whether the given string is a correct word or not
- Returns Suggestions for the given string

Change-Id: Iaa425c7915fe70767ad0b17bf6c6fbcd2a1200b2
/frameworks/base/Android.mk
6dabb63307a0b63f9386d61e8444aed29db2081e 08-Jul-2011 Narayan Kamath <narayan@google.com> Add event-log logging for TTS requests.

Change-Id: I5023194c469a602b85259088a2e59373c96a941e
/frameworks/base/Android.mk
42de13c3b01daa755cb6b7b83b3429c53238fd4a 06-Jul-2011 Narayan Kamath <narayan@google.com> Merge "Add a sample app for the TTS engine API"
44e27b5c74b5f441973561a4f945cb58e0cc45a4 03-Jul-2011 Chia-chi Yeh <chiachi@android.com> VPN: remove the old VpnService.

Now VPN is (kind of) integrated into ConnectivityService.

Change-Id: If98e456e779f8e97f562d99c57d909b1f5d9db55
/frameworks/base/Android.mk
c9286ebbf4ee8233908bc6b4c472ed89b0e60228 24-Jun-2011 Jaikumar Ganesh <jaikumar@google.com> Merge "Implement APIs for Bluetooth Health profile."
2ea1e85dcb57d17f5782dbafa1d25eb51c630e4b 02-Apr-2011 Jaikumar Ganesh <jaikumar@google.com> Implement APIs for Bluetooth Health profile.

This first patch implements all the APIs.
The APIs wil be made public soon. The data specification
API will be submited in another patchset.
Change-Id: I2462683b7e07380e2c42474b0036b34d03b4bed1
/frameworks/base/Android.mk
3987ea15577aecdb068a22bbdc75fb95c8bfbc14 23-Jun-2011 Bruno Oliveira <btco@google.com> am a62f707d: am f1c71771: am da61eab8: Merge "Integrating RandomMusicPlayer sample into tree." into honeycomb-mr2

* commit 'a62f707da28226d5c6d160d1f0e21a65dcfba5fc':
Integrating RandomMusicPlayer sample into tree.
cf828c41eb704669b15a6c72035aaa5780a5b1d9 23-Jun-2011 Scott Main <smain@google.com> am 69ff6a47: am a6632992: am 04295266: add api level 13 flag for docs

* commit '69ff6a47c6e302f1b8aaeccffea3434f1edc4ee6':
add api level 13 flag for docs
af1ad3cc2d6152dfe62520a87bf5fa85337ca1ab 23-Jun-2011 Narayan Kamath <narayan@google.com> Add a sample app for the TTS engine API

Change-Id: I2ab86ca95a11bbc41494454d7dee0f3d87779ac9
/frameworks/base/Android.mk
8969d9924c662ab4cdacc342bbdc33756db730be 22-Jun-2011 satok <satok@google.com> Revert "Create TextServiceManager and SpellCheckerService"

This reverts commit eaddb894865a804279659b4aad6364a34ab50beb.
/frameworks/base/Android.mk
f1c71771a2164ed0009ef9b22f9c03bd3b1af3f9 21-Jun-2011 Bruno Oliveira <btco@google.com> am da61eab8: Merge "Integrating RandomMusicPlayer sample into tree." into honeycomb-mr2

* commit 'da61eab862dabe00f95c784a01c019e4f7776b23':
Integrating RandomMusicPlayer sample into tree.
da61eab862dabe00f95c784a01c019e4f7776b23 21-Jun-2011 Bruno Oliveira <btco@google.com> Merge "Integrating RandomMusicPlayer sample into tree." into honeycomb-mr2
a6632992135cf25b273abf7f239d7d378c936007 21-Jun-2011 Scott Main <smain@google.com> am 04295266: add api level 13 flag for docs

* commit '04295266b03f3c588b8be6b6be409d59f757b27b':
add api level 13 flag for docs
04295266b03f3c588b8be6b6be409d59f757b27b 21-Jun-2011 Scott Main <smain@google.com> add api level 13 flag for docs

Change-Id: I03a7739c923b1f38de6b4e77374daed438559548
/frameworks/base/Android.mk
eaddb894865a804279659b4aad6364a34ab50beb 01-Jun-2011 satok <satok@google.com> Create TextServiceManager and SpellCheckerService

Bug: 4176026

Spec of TextServiceManager
- Chooses the most applicable TextService(e.g. SpellCheckerService, WordBreakIteratorService..)
for each locale

Spec of SpellCheckerService
- Returns whether the given string is a correct word or not
- Returns Suggestions for the given string

Change-Id: Ia25e7b4f308778891929e31b8cbd741f6848cce4
/frameworks/base/Android.mk
a7f88508d307c7554968ad3d1c1c58895ea3a223 17-Jun-2011 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 872a1e79 to master

Change-Id: I50253b22f181729d4e748970acf1a3ad868ccd74
9a73c4d3a9c7ce02f80b078ca9ba5106234ecd9c 17-Jun-2011 Dianne Hackborn <hackbod@google.com> am 2f04883f: SDK only: integrate new sample code, deprecating along the way.

* commit '2f04883ff880966d63d1aa4a1c7b05e497cfcc58':
SDK only: integrate new sample code, deprecating along the way.
2f04883ff880966d63d1aa4a1c7b05e497cfcc58 16-Jun-2011 Dianne Hackborn <hackbod@google.com> SDK only: integrate new sample code, deprecating along the way.

The new support library features and sample code for switching
between fragments using a TabHost now eliminates the utility of
the TabActivity class, so deprecate it. This also means there is
no longer any use in ActivityGroup or LocalActivityManager. Yay.

Also fix up things so the new support API demos are included in
the documentation.

Change-Id: I4f073b82787f32560ba1fa5b6a23746ecc8aecdc
/frameworks/base/Android.mk
93201f545b67da15cb69830a5988810aef52c0b2 10-Jun-2011 Brian Carlstrom <bdc@google.com> KeyChain API refinements

Change-Id: I177ab4642e6cd1aa13526c14f0a707175fd79655
/frameworks/base/Android.mk
9e67587d022675f4b6f62e565b23745c4a550ed9 07-Jun-2011 Bruno Oliveira <btco@google.com> Integrating RandomMusicPlayer sample into tree.

This is a cherrypick of CL 112174 (originally written for
honeycomb-mr1) into the honeycomb-mr2 branch. Original CL:
https://android-git.corp.google.com/g/#change,112174

Patch Set 2: ammending to fix spaces in title (as suggsted by smain@)

Change-Id: I1c6e2f4f3585bb65f9f87342445e21f27bed242d
/frameworks/base/Android.mk
8643aa0179e598e78d938c59035389054535a229 20-Apr-2011 Svetoslav Ganov <svetoslavganov@google.com> Interrogation of the view hierarchy from an AccessibilityService.

1. Views are represented as AccessibilityNodeInfos to AccessibilityServices.

2. An accessibility service receives AccessibilityEvents and can ask
for its source and gets an AccessibilityNodeInfo which can be used
to get its parent and children infos and so on.

3. AccessibilityNodeInfo contains some attributes and actions that
can be performed on the source.

4. AccessibilityService can request the system to preform an action
on the source of an AccessibilityNodeInfo.

5. ViewAncestor provides an interaction connection to the
AccessibiltyManagerService and an accessibility service uses
its connection to the latter to interact with screen content.

6. AccessibilityService can interact ONLY with the focused window
and all calls are routed through the AccessibilityManagerService
which imposes security.

7. Hidden APIs on AccessibilityService can find AccessibilityNodeInfos
based on some criteria. These API go through the AccessibilityManagerServcie
for security check.

8. Some actions are hidden and are exposes only to eng builds for UI testing.

Change-Id: Ie34fa4219f350eb3f4f6f9f45b24f709bd98783c
/frameworks/base/Android.mk
75279904202357565cf5a1cb11148d01f42b4569 25-May-2011 Jeff Sharkey <jsharkey@android.com> Collect historical network stats.

Periodically records delta network traffic into historical buckets to
support other services, such NetworkPolicyManager and Settings UI.

Introduces NetworkStatsHistory structure which contains sparse, uniform
buckets of data usage defined by timestamps. Service periodically
polls NetworkStats and records changes into buckets. It only persists
to disk when substantial changes have occured. Current parameters
create 4 buckets each day, and persist for 90 days, resulting in about
8kB of data per network.

Only records stats for "well known" network interfaces that have been
claimed by Telephony or Wi-Fi subsystems. Historical stats are also
keyed off identity (such as IMSI) to support SIM swapping.

Change-Id: Ia27d1289556a2bf9545fbc4f3b789425a01be53a
/frameworks/base/Android.mk
c006f1aec15454782c35e028ad64d79a5c161cc1 20-May-2011 Jeff Sharkey <jsharkey@android.com> Policy and rules work for ConnectivityManager.

Teach ConnectivityManager about UID-specific rules derived from policy,
such as rejecting network traffic on "paid" interfaces. Calls that
return NetworkInfo now filter based on any REJECT rules in effect for
the calling UID. (Added uid parameter if callers that still want all
interfaces.)

Changed NetworkPolicyManager to derive rules based on current policy
combined with PowerManager and ActivityManager status, which it passes
to ConnectivityService for eventual enforcement through netd. When
rules change the usability of a NetworkInfo for a specific UID, it also
dispatches CONNECTIVITY_ACTION broadcasts to that UID. Combined paid
and background policy together to match current working definition.

Change-Id: I797ea49439fcc487cfe2cbc16703d4b91ceb9af6
/frameworks/base/Android.mk
31beb6db09174da843a4af243842c0d265f02402 26-May-2011 Debashish Chatterjee <debashishc@google.com> Merge "framework/base changes to add new voicemail provider sample."
ba1a667b1d6c95050f6c88316ac58fe9e0ff878b 25-May-2011 Brian Carlstrom <bdc@google.com> Remove need for onActivityResult from KeyChain API

Change-Id: I97bb9db06978f6dc039d22bfee116671d7b3e336
/frameworks/base/Android.mk
8f40e5871213afb63ae4b68a44dd09e0a014e417 25-May-2011 Ying Wang <wangying@google.com> Merge "Fix intermediate src dir for framework.jar"
01425365a85e605139f612502f68954cad869e5b 24-May-2011 Jason parks <jparks@google.com> Add public API to do NDEF push.

Change-Id: I102da9bbc6d78577a26fa03ee363a60abc389d6c
/frameworks/base/Android.mk
a4620793038b9a9163b26c6ece882cb454fcbf87 21-May-2011 Jeff Sharkey <jsharkey@android.com> Observe screen on/off events in NetworkPolicy.

The POLICY_REJECT_BACKGROUND policy requires that network traffic be
blocked when a UID goes into the background. Even if the UID has an
activity in the foreground, it's considered "background" if the screen
is turned off.

This changes watches for SCREEN_ON/OFF broadcasts, and rule generation
now observes screen state. It also introduces an observer pattern so
that ActivityManager doesn't directly know about NetworkPolicy, and
moves the service management into SystemServer.

Change-Id: Ie7a84929d3ca60ae4578d47e19d5a8da10fd8d58
/frameworks/base/Android.mk
acd6f5fcfae019f7bd1fdb47b42c7771049df645 19-May-2011 Debashish Chatterjee <debashishc@google.com> framework/base changes to add new voicemail provider sample.

Changes are primarily to include documentation for the new sample
code under resources tab of external android documentation.

Change-Id: If2b24e37819ae7d5145226681051605a96711ce2
/frameworks/base/Android.mk
65ee22aa01c038fbcf656748ba7655c17df3ea61 17-May-2011 Ying Wang <wangying@google.com> Fix intermediate src dir for framework.jar

Intermediate src dir for JAVA_LIBRARIES should be in the common
intermediate dir.

Change-Id: Ib16ddd63aed080cdd1494204b347c1e1e1beafcb
/frameworks/base/Android.mk
d5cdd597b895a48ffa9a8e39f8a2504cd9b905c4 04-May-2011 Jeff Sharkey <jsharkey@android.com> First pass at NetworkPolicy and activity tracking.

New system service that maintains low-level network policy rules and
collects statistics to drive those rules. Will eventually connect to
netfilter kernel module through NetworkManagementService and "netd".

Begin tracking foreground activities in ActivityManagerService, which
is updated as part of OOM adjustment. Eventually a network policy of
POLICY_REJECT_BACKGROUND will reject network traffic from background
processes.

Change-Id: I5ffbbaee1b9628e9c3eff6b9cb2145fc5316e64d
/frameworks/base/Android.mk
4a627c71ff53a4fca1f961f4b1dcc0461df18a06 01-Apr-2011 Christopher Tate <ctate@google.com> 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
/frameworks/base/Android.mk
c44b8855775a5d781f8742e2312fe801959f1c97 06-May-2011 Scott Main <smain@google.com> am cda9fda4: am 4c8fa6d1: am 1c71fffe: update platform version number for docs

* commit 'cda9fda4fdeac3c3ce24df27e1c24c72d5b70960':
update platform version number for docs
4c8fa6d13500a7921601e098b47e2eb34aa18024 06-May-2011 Scott Main <smain@google.com> am 1c71fffe: update platform version number for docs

* commit '1c71fffeb5d6a241ccbe7f035ce0d030eaeef562':
update platform version number for docs
1c71fffeb5d6a241ccbe7f035ce0d030eaeef562 05-May-2011 Scott Main <smain@google.com> update platform version number for docs

Change-Id: If0866ab1544ce0f5e70bbbe93d30ed27c4403406
/frameworks/base/Android.mk
427a51ab735e2075b2a783fcf073c9db56727104 04-May-2011 Robert Ly <robertly@google.com> am 232ea51c: am 7c8be3a7: am 762481f0: Merge "adding the usb apis to the resources browser" into honeycomb-mr1

* commit '232ea51c9c1af7a56e2315de863d65382c7c9a67':
adding the usb apis to the resources browser
7c8be3a75d541652a4eca9ad2433af90232b2af5 04-May-2011 Robert Ly <robertly@google.com> am 762481f0: Merge "adding the usb apis to the resources browser" into honeycomb-mr1

* commit '762481f0b58ac41b7583f74315fcb213ca0eb630':
adding the usb apis to the resources browser
8cdb2e2d834fc1dbff8d02124a08c0f426aa1de7 03-May-2011 Robert Ly <robertly@google.com> adding the usb apis to the resources browser

Change-Id: I79e9f93ebfa3aaf03e4f4deeb70d6c5a7a4ad07f
/frameworks/base/Android.mk
b9a07c18e678da35b4c2a618b315fa174a21e818 11-Apr-2011 Brian Carlstrom <bdc@google.com> Adding KeyChain API and IKeyChainService

Change-Id: Id3eaa2d1315481f199777b50e875811e3532988a
/frameworks/base/Android.mk
50e657bb2d005568f5dd8bc1d904d07b0d94018f 08-Mar-2011 Bjorn Bringert <bringert@android.com> Add Java API for writing TTS engines

This removes the old non-public C++ API for TTS
engines and replaces it with a Java API.

The new API is still @hidden, until it has been approved.

Bug: 4148636
Change-Id: I7614ff788e11f897e87052f684f1b4938d539fb7
/frameworks/base/Android.mk
bcbab3684349353ee8cab30b556001824d0e7ccf 09-Apr-2011 Dianne Hackborn <hackbod@google.com> Merge "Rework thumbnails in activity manager."
f26fd99a7c2f554b0297760bb66336473c7db61f 09-Apr-2011 Dianne Hackborn <hackbod@google.com> Rework thumbnails in activity manager.

We now only keep a thumbnail for the task, not for each
activity. However if you use FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET,
we will make a new secondary thumbnail for that series of
activities. There is a new API for the app to get these
secondary thumbnails.

Also set a default thumbnail size for non-xlarge screens
so we have thumbnails on phones. (We need some smarter
code in the platform for computing the actual thumbnail
dimensions of the current device). And add a test app
to show recent tasks + thumbnails.

Change-Id: Ic36759f6635522118a2cb7f156662229a610c492
/frameworks/base/Android.mk
5e88ac73ce2de9d5eb22ab222ff25c9dcca99644 09-Mar-2011 Joe Onorato <joeo@google.com> Use the new API file format, and some minor tweaks to the old XML files that make the parser easier.

Change-Id: I9307d0d323f1b65816b3e097bf9c4d92f3962b2f
/frameworks/base/Android.mk
43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09 07-Apr-2011 Joe Onorato <joeo@google.com> Remove the deprecated things from Config.java. These haven't been working since before 1.0.

Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
/frameworks/base/Android.mk
08065b9f09ead8895d97b2971622af8c179e1768 02-Apr-2011 Brian Carlstrom <bdc@google.com> Tracking merge of dalvik-dev to master

git cherry-pick --no-commit a80febd83c8bf0b6717da2a7136179bdc906a5b7

git cherry-pick --no-commit 5e642b41cf44c5da7afdd95ab3d5e2bdbf7b31dd

git cherry-pick --no-commit 4886db14c9eee4b6fee69bd54c57c5af04709c4c

git cherry-pick --no-commit 560c685e448769904047507b9484ce8111967d7e

git cherry-pick --no-commit 63dde7a2fcfa53dc531558635b64cea613d3cdb4

git cherry-pick --no-commit 74e5cb91060a379d98dd3a333b5f231bfb4f502e

git cherry-pick --no-commit 1cc8c9708b555e2e338b7798d38887a2fefcfea6

git cherry-pick --no-commit 09625a21f5abe0c0db15757f58585d552d62c3d7

git cherry-pick --no-commit fcb02dfe0f5a2bb7c07e6d6fc69f756a484b5458

git cherry-pick --no-commit a68cb7fa3ab42854768b8145ff85231663770292

git cherry-pick --no-commit 716beb1c131dd2c6b805d4f681debaa20075010c

git cherry-pick --no-commit 8c29b1097a7afe3a77e27546a56e396f3620a4ec

git cherry-pick --no-commit 9c6a1a55d1c8086c1cc57464eea43725694ff70c

git cherry-pick --no-commit b14f5ea5c57acdd009ba5b51f1bbe430f3d353b8

Change-Id: I8cc94175441b009e23549762d6baee1dbace4881
/frameworks/base/Android.mk
4cead493fd77db24826ed925222860d5b473363d 31-Mar-2011 Scott Main <smain@google.com> am 02a7f8eb: am 5c35c059: am 5b68c655: Merge "docs: update makefile to show javadocs diffs for api level 12" into honeycomb-mr1

* commit '02a7f8eb3a5680a5b4c00b649b461bcb65c665e4':
docs: update makefile to show javadocs diffs for api level 12
5c35c05909640768bbe7f1ecef3165382825c31b 30-Mar-2011 Scott Main <smain@google.com> am 5b68c655: Merge "docs: update makefile to show javadocs diffs for api level 12" into honeycomb-mr1

* commit '5b68c655a1f56dce1ffd6f175e991dd542d415cf':
docs: update makefile to show javadocs diffs for api level 12
d3b62c961b90f45b801121ab11b0af9625c91707 30-Mar-2011 Scott Main <smain@google.com> docs: update makefile to show javadocs diffs for api level 12

Change-Id: I1ac584db778ec14b18129785126159f692459158
/frameworks/base/Android.mk
a9602db3d5a6c9bc5a7a31b4fe3cc141235ad332 24-Mar-2011 Brian Carlstrom <bdc@google.com> Tracking SamplingProfiler change in libcore

Change-Id: Ic45a1570c01340a5406468a9d0f2a5357175fd80
/frameworks/base/Android.mk
a64e2ad4da3612586594a19489a2b5d44f3f23a0 14-Mar-2011 Nick Pelly <npelly@google.com> resolved conflicts for merge of 38d0d562 to honeycomb-plus-aosp

Change-Id: Iff9ea08b810b0d142a9227272492c0305a9bcf42
38d0d5628d36bb1c2a8353a2b3e1a041e9e84652 11-Mar-2011 Nick Pelly <npelly@google.com> am 367f41f8: Implement new NFC-EE API\'s as shared library (frameworks/base).

* commit '367f41f8f61126c2ab34a34cc676756a9fc23ac2':
Implement new NFC-EE API's as shared library (frameworks/base).
367f41f8f61126c2ab34a34cc676756a9fc23ac2 08-Mar-2011 Nick Pelly <npelly@google.com> Implement new NFC-EE API's as shared library (frameworks/base).

Change-Id: I45c4eaf59ec78167fc236fdd59676465a5e1bcb7
/frameworks/base/Android.mk
7866be2b76e421ca28e5dcbd3e7d362baf279dd9 03-Mar-2011 Mike Lockwood <lockwood@android.com> am 40bbf929: DO NOT MERGE: Backport USB accessory support to gingerbread

* commit '40bbf9295d5245d3917629ce15f7b37670aef1ac':
DO NOT MERGE: Backport USB accessory support to gingerbread
40bbf9295d5245d3917629ce15f7b37670aef1ac 01-Mar-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE: Backport USB accessory support to gingerbread

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/Android.mk
c4308f01c965571dc2354107c3574df113e397ee 01-Mar-2011 Mike Lockwood <lockwood@android.com> Move USB framework support from android.hardware to android.hardware.usb package

Change-Id: I00fd4f0caaa4aebe48f71c576bb211b5f38bf88d
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/Android.mk
44b362c34066764b6711ce04923ce71b5d011283 01-Mar-2011 Robert Ly <robertly@google.com> fixing resource browser for renderscript samples because the samples moved

Change-Id: Ic63399f8f6ff0b33461a8e6c8ce1ce398bd8085f
/frameworks/base/Android.mk
7719436342611a106df5d379fedf180a5dd0809e 28-Feb-2011 Xavier Ducrohet <xav@android.com> am b732b7b5: am ce57a7f3: am 6504490c: am dff6b8e7: Merge "Add --non-constant-id to aapt."

* commit 'b732b7b5e8192501360edc15fb8c6399d11fb97d':
GpsLocationProvider: Clean up HAL initialization/cleanup sequence
Fixed GSM encoded network initiated position request
Ensuring thread-safe usage of DateFormat.
Fixing infinite loop for zero duration.
Fix for an infinite loop while scrolling lists.
WAPPushManager, WAP Push over SMS message handler
Add --non-constant-id to aapt.
b732b7b5e8192501360edc15fb8c6399d11fb97d 28-Feb-2011 Xavier Ducrohet <xav@android.com> am ce57a7f3: am 6504490c: am dff6b8e7: Merge "Add --non-constant-id to aapt."

* commit 'ce57a7f35344e76689d30f45964d1e37b78280cb':
GpsLocationProvider: Clean up HAL initialization/cleanup sequence
Fixed GSM encoded network initiated position request
Ensuring thread-safe usage of DateFormat.
Fixing infinite loop for zero duration.
Fix for an infinite loop while scrolling lists.
WAPPushManager, WAP Push over SMS message handler
Add --non-constant-id to aapt.
6504490cde3ec5d48321d539e654d1f2072b33f9 28-Feb-2011 Xavier Ducrohet <xav@android.com> am dff6b8e7: Merge "Add --non-constant-id to aapt."

* commit 'dff6b8e71dda9f5d841fa26408714aec2aef1505':
GpsLocationProvider: Clean up HAL initialization/cleanup sequence
Fixed GSM encoded network initiated position request
Ensuring thread-safe usage of DateFormat.
Fixing infinite loop for zero duration.
Fix for an infinite loop while scrolling lists.
WAPPushManager, WAP Push over SMS message handler
Add --non-constant-id to aapt.
7a2222b2605b52fc24baf6c7df509979cbec8d9b 18-Feb-2011 Robert Ly <robertly@google.com> am d2acfd6d: am a58f58da: Merge "Doc change: fixing renderscript samples" into honeycomb

* commit 'd2acfd6d04545562fcacd266e175461f26b25da9':
Doc change: fixing renderscript samples
6518f486a5b9cdcb48df3ca09732b51b6df249bf 15-Feb-2011 Robert Ly <robertly@google.com> Doc change: fixing renderscript samples

Change-Id: Ie5d17df121ec4bc5fd46448c1670d306322b92d8
/frameworks/base/Android.mk
7640caaf912a7eefacc3e2108c5afd70f7b072a4 20-Aug-2010 noda <noda@nttdocomo.co.jp> WAPPushManager, WAP Push over SMS message handler

The WAPPushManager is a new, optional service for handling WAP Push
over SMS messages. This service allows a carrier to designate a high
priority handler for specific WAP Push over SMS messages without
affecting other WAP Push over SMS, binary SMS, or SMS text messages.
It is also optional, so that it can be configured out of the target
image resulting in no change in the WAP Push over SMS handling
behavior compared to the current AOSP.

- This patch contains the WAPPushManager itself, the associated test
code, and the modifications to telephony to use the WAPPushManager.

Change-Id: I4f7fb5b68fc666da9bdeeea525e8797ae317e4b5
/frameworks/base/Android.mk
d3b6abc4667e6e69e945db7e62fcd5dff49d3c23 15-Feb-2011 Scott Main <smain@google.com> am 2b0c6fdf: am 97ef3b41: Merge "docs: revise a couple sample app names to match side nav" into honeycomb

* commit '2b0c6fdfff0faf17163d126ac21c1651e4053968':
docs: revise a couple sample app names to match side nav
d873e660c57eabb15a95acf71398c38929504284 15-Feb-2011 Scott Main <smain@google.com> docs: revise a couple sample app names to match side nav

Change-Id: Ia45e78fe005c80934d70b585558cb4c6c0f52f30
/frameworks/base/Android.mk
b9d3e5ec93fa65e86fabef4d055d1700da7c5460 12-Feb-2011 Adam Cohen <adamcohen@google.com> am c7f15f5c: am 5a1b6357: Merge "Adding StackWidget sample code" into honeycomb

* commit 'c7f15f5cbb68e138e739f6e6d7e1605c48cad2a4':
Adding StackWidget sample code
2fc779eaeb0d3a8bb1da560876478e60c444ce63 12-Feb-2011 Winson Chung <winsonc@google.com> am 40683904: am 5f3cd3ea: Merge "Associated changes for \'Adding sample for collection widgets backed by content providers.\'" into honeycomb

* commit '4068390434c366b814dc0885ae5ef5fc0cf50eff':
Associated changes for 'Adding sample for collection widgets backed by content providers.'
5a1b63572bf52142aa880cccc92636e65600bb60 12-Feb-2011 Adam Cohen <adamcohen@google.com> Merge "Adding StackWidget sample code" into honeycomb
06d2fa705ba5a11f712187229238b0d41b446a52 11-Feb-2011 Winson Chung <winsonc@google.com> Associated changes for 'Adding sample for collection widgets backed by content providers.'

Change-Id: Ic872675f4645497dd1478b6c7e3074b029ea66ad
/frameworks/base/Android.mk
fca67c5525bf26ac9eadb03476fb846c167387f4 11-Feb-2011 Adam Cohen <adamcohen@google.com> Adding StackWidget sample code

Change-Id: I4c469f25147f733a3a09cdea0db407cd4e9f62ca
/frameworks/base/Android.mk
5d82abe5862fae01d16e63a3da27a9de4021e271 08-Feb-2011 Roman Nurik <romannurik@google.com> am b8d74fd9: am 8635908d: Merge "Update resources data JSON, sample screenshot, and SDK makefile for Honeycomb Gallery" into honeycomb

* commit 'b8d74fd962e7a8595e5aeadb78b5e7eacea52e8a':
Update resources data JSON, sample screenshot, and SDK makefile for Honeycomb Gallery
8635908da1a9f0b3e7ba9bd11ce7104b38f76756 08-Feb-2011 Roman Nurik <romannurik@google.com> Merge "Update resources data JSON, sample screenshot, and SDK makefile for Honeycomb Gallery" into honeycomb
5e2b123e483a6da1b7cff36024b12e85a0a7c382 08-Feb-2011 Scott Main <smain@google.com> am 236e9db9: am 62e97010: enable javadoc filtering for api level 11 and disable preview doc mode

* commit '236e9db9f31f6b93f6f21cd3b09df7c19dde16dd':
enable javadoc filtering for api level 11 and disable preview doc mode
62e9701099062093af01d7b5d9bdf7f1fe683a31 08-Feb-2011 Scott Main <smain@google.com> enable javadoc filtering for api level 11 and disable preview doc mode

Change-Id: I12e5f295145ef037beda0e1a3ae0358cf5a2b590
/frameworks/base/Android.mk
a35f65692d9f97264dc939d5749db86845141810 04-Feb-2011 Roman Nurik <romannurik@google.com> Update resources data JSON, sample screenshot, and SDK makefile for Honeycomb Gallery

Change-Id: I0a09517935dd330d0069bfb3e6382cdcbef8e99c
/frameworks/base/Android.mk
ef1cf4b4161c84d155b0c783df4695908eef8353 29-Jan-2011 Jean-Baptiste Queru <jbq@google.com> Merge ba3dd323 from gingerbread

Change-Id: I615bf5177abbc680292e0116491da58835c7396f
66f3ca1c0570271e6c4893497eafd9b15f3745f4 27-Jan-2011 Scott Main <smain@google.com> am 796f1af0: Merge "resolved conflicts for merge of 77ba255e to honeycomb-plus-aosp" into honeycomb-plus-aosp

* commit '796f1af04567dab098f638c9166caebc2818efe4':
enable preview mode for docs and add api level 10 flag for api level diffs
2518895c500d0ccd0eb43580a81149c0fd256855 27-Jan-2011 Scott Main <smain@google.com> resolved conflicts for merge of 77ba255e to honeycomb-plus-aosp

Change-Id: Ib40af8301e19b70c86161fc0a6cc061b118863ab
ba3dd32357b47ab0b55a1976bbafc225df78a59d 27-Jan-2011 Scott Main <smain@google.com> enable preview mode for docs and add api level 10 flag for api level diffs

Change-Id: Ief2adca0f7f5c37d9381bd69d39a27aa11ec85dc
/frameworks/base/Android.mk
e7d511e148bc901ef41ac44d7b3593e5d803f72f 30-Dec-2010 Mike Lockwood <lockwood@android.com> New APIs for USB host support:

UsbManager:
- is now a service retrievable via Context.getSystemService(Context.USB_SERVICE).
- provides support for returning a list all connected USB devices
- broadcasts ACTION_USB_DEVICE_ATTACHED and USB_DEVICE_DETACHED when devices
are added and removed from the USB host bus

UsbDevice:
- represents an attached USB device.

UsbInterface:
- represents an interface on a USB device
- devices may have multiple interfaces if they provide multiple
sets of functionality (for example, android phones typically have interfaces
for both USB mass storage and adb)

UsbEndpoint:
- represents an endpoint on a USB interface
- endpoints are used for sending or receiving data
(only in one or the other direction)

UsbRequest:
- encapsulates a send or receive request to be sent over an endpoint

Change-Id: Ieef3e434c62760770ea839070cf5eba1a705967a
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/Android.mk
3f9b6445cb9c384a428364a1cca85ca3c172fbe6 20-Jan-2011 Robert Ly <robertly@google.com> Doc change: adding missing samples

Change-Id: Id5f63a02b80f88b5cb0c4db18322554944b944c9
/frameworks/base/Android.mk
d84725401d7b79b79020793d06427cad43fa95b1 19-Jan-2011 Alexander Lucas <alexlucas@google.com> Added Honeycomb-Gallery to docs.

Change-Id: I3879ee553f761113b30f8ad82c0a226d0823dd2c
/frameworks/base/Android.mk
81f39eb6e76d0be1dd341af835e8002a0f80524e 12-Jan-2011 Winson Chung <winsonc@google.com> Refactoring app widgets to address security/performance issues.

- Moving the service binding to AppWidgetService to prevent arbitrary apps from binding to widget services
- Requiring RemoteViewsServices to require android.permission.BIND_REMOTEVIEWS permission

Change-Id: Id135bafba998299eb278067712b8a5d8487cfd04
/frameworks/base/Android.mk
07226c29f36dddb1fec36e58b45f1e09a69361fe 18-Jan-2011 Scott Main <smain@google.com> set sdk version to "Android 3.0" and api level to "Honeycomb"

Change-Id: I89a7149b32643d7e9c79bf2030b061bbff3bd8c4
/frameworks/base/Android.mk
cf9a01377483ad3a29496b64b5863d81e583dee9 06-Jan-2011 Brian Carlstrom <bdc@google.com> Import libcore_to_document definition from libcore/Docs.mk

Change-Id: I5f4ac355c6dadefce5762e0096dcc7379e5bf31d
/frameworks/base/Android.mk
089c3c7c0bea4610a5dcb9653e8ddfe06c101318 06-Dec-2010 Nick Pelly <npelly@google.com> resolved conflicts for merge of 28e8c66d to master

Change-Id: I9746fd7478d3954b491179ffbd241f481cc2fb6c
16ec9c5bb56d3471656b216eaa6a94ddc27c7fef 05-Dec-2010 Nick Pelly <npelly@google.com> Merge branch gingerbread-nfc into gingerbread.

Change-Id: I37d657a16061fddfbb0993463f24d6d3945cddd1
Signed-off-by: Nick Pelly <npelly@google.com>
92f4d9db8341823f07a5b5ba823a16129b3f5bb3 30-Nov-2010 Dirk Dougherty <ddougherty@google.com> am f4c2eaf2: am 47ccfcb0: Doc change: add AccelerometerPlay to the generated samples.

* commit 'f4c2eaf2628582abf6eb0cc335bc864d2c64f440':
Doc change: add AccelerometerPlay to the generated samples.
47ccfcb015c06f12eb91ccbb1113c15a368960d8 25-Nov-2010 Dirk Dougherty <ddougherty@google.com> Doc change: add AccelerometerPlay to the generated samples.

Change-Id: I95764f216455bbceef7fa95a1a819b906e4e7e7c
/frameworks/base/Android.mk
e7d9ab0dcfa99fd546b19cdd25613b724fd89009 30-Nov-2010 Dirk Dougherty <ddougherty@google.com> am cb1af77f: am b1150edc: Remove HeavyWeight sample from generated html samples.

* commit 'cb1af77f1fefddb78b4540db7d4a1df673caffe2':
Remove HeavyWeight sample from generated html samples.
b1150edc22d97b36c626a460717803f22b9fa5f2 30-Nov-2010 Dirk Dougherty <ddougherty@google.com> Remove HeavyWeight sample from generated html samples.

Change-Id: Idafb3d225d8e6a694faa2d8679c4dad6198df466
/frameworks/base/Android.mk
b402f11a6dfb78a4666dc173cdad10ad578f71c9 29-Nov-2010 Scott Main <smain@google.com> docs: add preview sdk docs to provide an api overview and install steps,
enable the 'preview' flag for the docs build
revise sdk side nav for preview

Change-Id: Ifc26cfb1f18e394e96853fd42f0e194d5f8552f3
/frameworks/base/Android.mk
a4db01151e521e59debee147e6c7c068e718de5e 25-Nov-2010 Trevor Johns <trevorjohns@google.com> am d3f19b86: am 210e9c4a: Merge "Revert "Disabling AccessibilityService sample from build system."" into gingerbread

* commit 'd3f19b86b0f454b1bd2600d51d241b05fd5d9331':
Revert "Disabling AccessibilityService sample from build system."
e66593b47c5cc083b629130bf9a4a41545e8850b 25-Nov-2010 Trevor Johns <trevorjohns@google.com> Revert "Disabling AccessibilityService sample from build system."

This re-enables the AccessibilityService sample.

This reverts commit ca9d51b15074163521b140dce431cc3a10cb56fe.
/frameworks/base/Android.mk
131aef5303601119bc9a7da96569ec12a6107650 22-Nov-2010 Scott Main <smain@google.com> am 4f3c40cc: am 8fac7c2e: change sdk version variable to 2.3 (for docs)

* commit '4f3c40cc4d24ba1404b1332dbf1bfcddede8bf99':
change sdk version variable to 2.3 (for docs)
8fac7c2edc433b6c7d153caac238fef595133663 22-Nov-2010 Scott Main <smain@google.com> change sdk version variable to 2.3 (for docs)

Change-Id: I76f5c69fab08913543c4f3d1ab000f7c4b6c9574
/frameworks/base/Android.mk
9024564107b58955f7bd257cab6fc6dfcb2e5ec2 17-Nov-2010 Daniel Tomas <daniel.tomas@trusted-logic.com> Secure Element access implementation

Change-Id: I907e6771ecc5babe895115c3a49288fa2144a187
/frameworks/base/Android.mk
6be655c768a82716612c00fdd156254d8dc00f42 12-Nov-2010 Jeff Hamilton <jham@android.com> Rough first pass at the NFC technology API.

Change-Id: I903ad6bc124bf9a65af788dae45f55d58704ef7b
/frameworks/base/Android.mk
e2ef2c10e76a4648a27ce4c392eb7b9b3589b9f7 13-Nov-2010 Megha Joshi <mjoshi@google.com> Fixing build (DO NOT MERGE)

Change-Id: I27fb9dc0584940e119b030d63ff5781ef19001c1
/frameworks/base/Android.mk
48c698fc1497a01743f9ce5ab6fb8f6700847259 03-Nov-2010 Megha Joshi <mjoshi@google.com> Adding NFC sample resources (DO NOT MERGE)

Change-Id: I687d07ebe4f8bd0c5dec30e69af0d3e880a68230
/frameworks/base/Android.mk
15d18efddd047406b62d5482356342fccd0f68dc 04-Nov-2010 Jason Chen <jasonchen@google.com> resolved conflicts for merge of f0452c25 to master

Change-Id: Ie8f5e81393ac965fd570f99239ab8be8ea0db00c
a11c9e15064872ad7f56571148a5c61281bfa018 03-Nov-2010 Alexander Lucas <alexlucas@google.com> Added SIP Demo

Change-Id: I418bd272b42b82b9048934071322013f62ac0635
/frameworks/base/Android.mk
62f2ada64f7213243eafd7a4a4c3ccd5040ad85a 19-Oct-2010 David Deephanphongs <dpanpong@google.com> Add missing NOTICE entries.

Add missing NOTICE block for TagSoup in general NOTICE file.
Add comment in Android.mk to help reviewers locate the NOTICE for apache-http.
Modify build rule for 'am' command to pull in the NOTICE file.

Change-Id: I43c6c1468395b70d0942b3620f12e4b6f3d9a66b
/frameworks/base/Android.mk
e9ac4e256d7efe2f719500f23fe0e0f89331be27 19-Oct-2010 Scott Main <smain@google.com> add api level 9 'since' flag to docs

Change-Id: Idee873a20ae0f3f0a9705997c8b73ce7f181906f
/frameworks/base/Android.mk
453c6d449b6469dde9aae6044dedfe3be0da76c5 19-Oct-2010 Scott Main <smain@google.com> add api level 9 'since' flag to docs

Change-Id: Ia28ed9b4791cddfa0ee11b86c392dff7caca1dd8
/frameworks/base/Android.mk
f36c6db108364dea89b1e3c27c0b15103e560d87 15-Oct-2010 Nick Pelly <npelly@google.com> NFC API revision round 2.

- Add the second half of the new NFC API: NfcAdapter, Tag, NdefTag,
RawTagConnection, NdefTagConnection.
- Add implementations for all of the new NFC API.

Change-Id: I8da9fd1d2971ed2c8b76f2a93f207fa9e305b0f6
Signed-off-by: Nick Pelly <npelly@google.com>

Conflicts:

Android.mk
CleanSpec.mk
core/java/android/app/ContextImpl.java
/frameworks/base/Android.mk
d197f59ec9ab7d4bd64c0a4426685d9abf706d56 13-Oct-2010 Nick Pelly <npelly@google.com> Fix build.

I removed these by mistake, and incremental build failed to pick the failure.

Change-Id: I19496d62a1eb1dc738a3a0b88d22ca1d5dddba96
/frameworks/base/Android.mk
590b73bc5b8e5f7b59bff1d9264a52388a5162e6 12-Oct-2010 Nick Pelly <npelly@google.com> NFC API revision round 2.

- Add the second half of the new NFC API: NfcAdapter, Tag, NdefTag,
RawTagConnection, NdefTagConnection.
- Add implementations for all of the new NFC API.

Change-Id: I8da9fd1d2971ed2c8b76f2a93f207fa9e305b0f6
Signed-off-by: Nick Pelly <npelly@google.com>
/frameworks/base/Android.mk
25108167fdc2f2e1d7f75f7eacfe7cb904ab92a9 12-Oct-2010 Bjorn Bringert <bringert@android.com> Remove the unused UrlRendererService

Change-Id: I48af718d9753b475bd041147f0d18bee60da84ec
/frameworks/base/Android.mk
4715bd91f5949a1919156a5a5cb50f0cccda645e 29-Sep-2010 Nick Pelly <npelly@google.com> resolved conflicts for merge of f4c3b7e9 to master

Change-Id: Idcdc521144f3072058b2bb6cb383e42c852e64f4
038cabe0247ee46df62f9363f1a303bc5b9c1028 24-Sep-2010 Nick Pelly <npelly@google.com> NFC integration

Source: Trusted_NFC_Device_Host_AA03.01e02_google.zip code drop (23-Sep-2010)

Conflicts:

core/java/android/app/ApplicationContext.java
core/java/android/provider/Settings.java
core/jni/Android.mk
core/jni/AndroidRuntime.cpp
core/res/AndroidManifest.xml
include/utils/Asset.h

Change-Id: I62c92f4c79f5ee65126c97602f6bc1c15794e573
Signed-off-by: Nick Pelly <npelly@google.com>
/frameworks/base/Android.mk
98a6abf7e36640ce3eb379b0a7ee609811f5aac0 17-Sep-2010 Jesse Wilson <jessewilson@google.com> resolved conflicts for merge of d78f338e to master

Change-Id: Ibe4be94126df9f1ea999b0396351886161552960
a1459565515649ea8fd109c07fcccaa3f86bd14c 17-Sep-2010 Jesse Wilson <jessewilson@google.com> Add optional tags to frameworks/base ext.

Change-Id: I08a69b7ca783994e52f735ad0ee9b85197cdaa96
/frameworks/base/Android.mk
0ba4ac747c9e14bdbd9ffb417ac125eb2790a87f 16-Sep-2010 Joe Onorato <joeo@google.com> Make javadoc warnings into errors.

Change-Id: Ic2f98ffcc1568db5a3d5d97dd30de9d6dbfaf602
/frameworks/base/Android.mk
40da25a26e259ebb1bede1db076480d3817ac4c3 16-Sep-2010 Dirk Dougherty <ddougherty@google.com> am 8ee9ecc1: am 9afd9093: Merge "Doc change: clean up droiddoc (cs) macros." into gingerbread

Merge commit '8ee9ecc145c9e05faf13f4bcf5853c888760c1b6'

* commit '8ee9ecc145c9e05faf13f4bcf5853c888760c1b6':
Doc change: clean up droiddoc (cs) macros.
b9f03d51c2d727a6bdcdd0b781e8dbe1ca34c2f7 16-Sep-2010 Joe Onorato <joeo@google.com> DO NOT MERGE - Doclava warnings are now errors.

Change-Id: I688d8f66829d8526d76c321427dd701fbe8d1792
/frameworks/base/Android.mk
9519eab313fdb0f74a05e85cffe25b61aa76a5dd 15-Sep-2010 Dirk Dougherty <ddougherty@google.com> Doc change: clean up droiddoc (cs) macros.

Change-Id: I84b08a573fea42686a41ff694f1a52e8fb760dc5
/frameworks/base/Android.mk
d20e5d0a2938872c1e47b430017c9337cda5abf2 16-Sep-2010 Joe Onorato <joeo@google.com> DO NOT MERGE. Use the new -knowntags option to suppress warnings for some known tags.

Change-Id: Ifa46210d1e590e5298376539b6099452d85ef93d
/frameworks/base/Android.mk
71f7f672303e4a1ab28dfa6917d144d61d736540 16-Sep-2010 Joe Onorato <joeo@google.com> DO NOT MERGE. Use the new -knowntags option to suppress warnings for some known tags.

Change-Id: I4a04d9b182f2e644eb8d1966c33a0d280bf203e6
/frameworks/base/Android.mk
f6a04aeeed4bdb89c5ef8db86ece2617b99aca87 15-Sep-2010 Dirk Dougherty <ddougherty@google.com> am f9c7a3e2: am e71396cf: am 4b4af990: Doc change: update ADT 0.9.8 checksum and size.

Merge commit 'f9c7a3e25e6e83292051414246cb1fc0c5f85207'

* commit 'f9c7a3e25e6e83292051414246cb1fc0c5f85207':
Doc change: update ADT 0.9.8 checksum and size.
e71396cf4704ee9e26f510b511c1e793d8048d83 14-Sep-2010 Dirk Dougherty <ddougherty@google.com> am 4b4af990: Doc change: update ADT 0.9.8 checksum and size.

Merge commit '4b4af990af527c79073d546ead1850278caa7a8e' into gingerbread

* commit '4b4af990af527c79073d546ead1850278caa7a8e':
Doc change: update ADT 0.9.8 checksum and size.
4b4af990af527c79073d546ead1850278caa7a8e 13-Sep-2010 Dirk Dougherty <ddougherty@google.com> Doc change: update ADT 0.9.8 checksum and size.

Change-Id: I610985683cd4608b075a22e8d8089de7896eb312
/frameworks/base/Android.mk
aa03045e634afafca84255851110bf1a6ef707db 10-Sep-2010 Joe Onorato <joeo@google.com> Make @deprecated without comment an error.

Change-Id: Iaa5289fe7b48f0349fa9708c4f05144f6340b11c
/frameworks/base/Android.mk
e94f6db17748abd979204179ccf1ed1c514ebe47 10-Sep-2010 Joe Onorato <joeo@google.com> Make @deprecated without a comment an error DO NOT MERGE

(do not merge because in master, this error has a different code 114 instead of 14)

Change-Id: Iffc58423a8e972f3f59edfe6668beac4b65182e0
/frameworks/base/Android.mk
54ceb6e68e3510730dc92f9ed2a929b21351405b 09-Sep-2010 Dirk Dougherty <ddougherty@google.com> am eed5d17d: am ea68cab8: am 3eb07ea4: Merge "Doc change: Add notes for SDK Tools r7 and ADT 0.9.8." into froyo

Merge commit 'eed5d17d7869e77495b9836118a4ffbd5c3ebf50'

* commit 'eed5d17d7869e77495b9836118a4ffbd5c3ebf50':
Doc change: Add notes for SDK Tools r7 and ADT 0.9.8.
ea68cab8a33d3169de33c7112000cd3dae233afe 09-Sep-2010 Dirk Dougherty <ddougherty@google.com> am 3eb07ea4: Merge "Doc change: Add notes for SDK Tools r7 and ADT 0.9.8." into froyo

Merge commit '3eb07ea483225974484c018d7d5affbf4815ceb2' into gingerbread

* commit '3eb07ea483225974484c018d7d5affbf4815ceb2':
Doc change: Add notes for SDK Tools r7 and ADT 0.9.8.
022171be9d0a7db42fca6fe6d3f3c547ed2f4efb 31-Jul-2010 Dirk Dougherty <ddougherty@google.com> Doc change: Add notes for SDK Tools r7 and ADT 0.9.8.

Change-Id: I7cc8301e0160acd0adb3efbd20c6515ed985684f
/frameworks/base/Android.mk
783cb60ddb7cde1349ca531c7b96ad67d5053cd2 03-Sep-2010 Jim Miller <jaggies@google.com> Update RecentApplications to use shared Carousel widget.

Change-Id: I5ca7389aeca9ee6f03f48317f9d1034f9fb8c1ca
/frameworks/base/Android.mk
7e3cf12e75cdbfd6299d5fe7cc87daaae40606e1 01-Sep-2010 Joe Onorato <joeo@android.com> Don't try to dist the stubs or comment check docs builds.

Change-Id: I0c567f28af8111cdb0eada30b8c0a30091967cd7
/frameworks/base/Android.mk
522ea25f2be384fd027ce2f644ee647fd8d80634 01-Sep-2010 Joe Onorato <joeo@android.com> am 1e1a030b: am 47471175: Can\'t have two rules building the stubs and public.xml!

Merge commit '1e1a030b502acae11dbd11d826d389351910a60f'

* commit '1e1a030b502acae11dbd11d826d389351910a60f':
Can't have two rules building the stubs and public.xml!
47471175c9d19a00d06a77aa316dcda08be97deb 01-Sep-2010 Joe Onorato <joeo@android.com> Can't have two rules building the stubs and public.xml!

Change-Id: I27b113d436aa5f945c5d6d56258dbafdf71193cf
/frameworks/base/Android.mk
77881293ad9a68dfa1c1da4b466f7b2b6465b342 31-Aug-2010 Joe Onorato <joeo@android.com> DO NOT MERGE - Back port change from master that enforces correctness in the javadoc comments.

Change-Id: I42956ccb3a32b3bd7c573bb2175e4ec230613dbf
/frameworks/base/Android.mk
2053f91623821d6b34cf70edbc00e3a93e1a20c5 25-Aug-2010 Dirk Dougherty <ddougherty@google.com> Clean up doc build to use Android custom doclava.

Change-Id: I1dcf18054aa128ffb4c66111c53fad20bcdee783
/frameworks/base/Android.mk
4314e2e674d0273d308e909261540793b9109ac9 27-Aug-2010 Joe Onorato <joeo@google.com> Add another pass of the docs that nothing depends on that tries to parse some of the docs but
without generating all of them.

This should cut down on the number of sdk breakages.

Change-Id: I947cc346bc525b05cc064c102171c4004303d7ed
/frameworks/base/Android.mk
3fec2bf9bfcc6a43c6284f5ab1127f10f3d0a173 27-Aug-2010 Joe Onorato <joeo@google.com> Clean up the mess

Change-Id: Id3745d6e97d90443dcc0fd29fa047090c489adb3
/frameworks/base/Android.mk
e7c9178e6f21d652858ade62a7e86125386af110 26-Aug-2010 Bill Napier <napier@google.com> Fix MonkeyRunner SDK documentation generation.

Change-Id: I53774cace908f5ac68e52cdfeec2c11cbdd7e11d
/frameworks/base/Android.mk
089a38543fddbc803fd26f41645672456f41d078 25-Aug-2010 Mike Lockwood <lockwood@android.com> Revert "Add support for generated documentation as part of the SDK docs."

Fix the build

This reverts commit e0dacf93b1a2d911d1c1a663ae6c66e0a211c14d.
/frameworks/base/Android.mk
6615759f0c3074b8f3285bfdf0ecf9d38c45d46d 25-Aug-2010 Rohit Mungee <rohitm@google.com> am 22518947: am bfc9325f: Merge "Add support for generated documentation as part of the SDK docs." into gingerbread

Merge commit '2251894743f9e7b1ca7f546369c2ba7fc3d28e1f'

* commit '2251894743f9e7b1ca7f546369c2ba7fc3d28e1f':
Add support for generated documentation as part of the SDK docs.
e0dacf93b1a2d911d1c1a663ae6c66e0a211c14d 25-Aug-2010 Bill Napier <napier@google.com> Add support for generated documentation as part of the SDK docs.

This can be done by adding the list of files to include to the
ALL_GENERATED_DOCS variable, and then making sure to put your generated output
files under $(OUT_DOCS)/gen.

Change-Id: Ie068a3fadccf7c990ec8e26b92ad408e7314469e
/frameworks/base/Android.mk
e79486fed897d2516f7f35e00853e74910380006 24-Aug-2010 Trevor Johns <trevorjohns@google.com> am 63f05fe4: am bb75aa90: am ca9d51b1: Disabling AccessibilityService sample from build system.

Merge commit '63f05fe487d23e559e9d3f2c285d1c35aa75b9b3'

* commit '63f05fe487d23e559e9d3f2c285d1c35aa75b9b3':
Disabling AccessibilityService sample from build system.
53e75ea847df20b29124966a4232dc0109c37e27 24-Aug-2010 Kenny Root <kroot@google.com> resolved conflicts for merge of 485de781 to master

Change-Id: I483cb81596f09b024b1aea7fc55960183f38b24f
bb75aa9065b1234bee8b27681810d563e31d955b 21-Aug-2010 Trevor Johns <trevorjohns@google.com> am ca9d51b1: Disabling AccessibilityService sample from build system.

Merge commit 'ca9d51b15074163521b140dce431cc3a10cb56fe' into gingerbread

* commit 'ca9d51b15074163521b140dce431cc3a10cb56fe':
Disabling AccessibilityService sample from build system.
ca9d51b15074163521b140dce431cc3a10cb56fe 21-Aug-2010 Trevor Johns <trevorjohns@google.com> Disabling AccessibilityService sample from build system.

This is necessary for an upcoming doc push. I'll revert this change after the
doc push is complete.

Change-Id: I32bbff7797cf5af1642da2b907b20847c1d17d21
/frameworks/base/Android.mk
be857d42849eaaa554d4772dbba7755f8a0f3547 19-Aug-2010 Kenny Root <kroot@google.com> Reorganize MountService IPC

Remove auto-generated AIDL files and replace them with manually edited
.java and .cpp/.h files so that binder calls can be made from either
Java or C++.

Update the makefiles to not attempt to generate the AIDL files and also
remove the old auto-generated .java files.

Put all the storage-related C++ things in libstorage so that we don't
pollute other libraries.

Change-Id: I82d1631295452709f12ff1270f36c3100e652806
/frameworks/base/Android.mk
34f170f5ee724ea9589d7fb2329a966eee39761a 19-Aug-2010 Ben Dodson <bjdodson@google.com> Explicit warning level for deprecation mismatch

Change-Id: I2ae784e61c4b4b7aa97d46080f78e9d4ab1df87f
/frameworks/base/Android.mk
c31f643223f3b3fdc92521d0bec287198bf1e81a 18-Aug-2010 Jim Miller <jaggies@google.com> Fix 2797185: Integrate Carousel widget into framework.

Change-Id: Ia03e3f582541dd7f6079929e51d2484b5b91a67b
/frameworks/base/Android.mk
89f09166964d25888f3335891ce1d5ca8d7e536f 17-Aug-2010 Roman Nurik <romannurik@google.com> am 96e24634: am e6bfceeb: am 3b70e159: Merge "Adding a sample accessibility service -make" into froyo

Merge commit '96e24634c6db1a87285ca78d529dcc318653b7e9'

* commit '96e24634c6db1a87285ca78d529dcc318653b7e9':
Adding a sample accessibility service -make
e6bfceeb10a01c8e89f712c0ffddc9e5e3ad1842 17-Aug-2010 Roman Nurik <romannurik@google.com> am 3b70e159: Merge "Adding a sample accessibility service -make" into froyo

Merge commit '3b70e159a8168c1154d31d7b0552bb3b0c099334' into gingerbread

* commit '3b70e159a8168c1154d31d7b0552bb3b0c099334':
Adding a sample accessibility service -make
bf0cb26a1c6305f2a7795c2498591b6189cc5b79 11-Aug-2010 Kenny Root <kroot@google.com> am f5ee5358: am ac9717ab: Merge "Move OBB file reading to DefaultContainerService" into gingerbread

Merge commit 'f5ee5358c187107b2e5a1e1fbcb5a648d793c798'

* commit 'f5ee5358c187107b2e5a1e1fbcb5a648d793c798':
Move OBB file reading to DefaultContainerService
a02b8b05dd1e8b8cf169e1f89542ef835b11fc13 06-Aug-2010 Kenny Root <kroot@google.com> Move OBB file reading to DefaultContainerService

The system_server shouldn't touch files on the SD card. This change
moves the things that touch the SD card out to the
DefaultContainerService so that it will get killed if the SD card goes
away instead of the system_server.

Change-Id: I0aefa085be4b194768527195532ee6dddc801cfc
/frameworks/base/Android.mk
0581d4a197339162cfb79082ec0849e423598a42 11-Aug-2010 Svetoslav Ganov <svetoslavganov@google.com> Adding a sample accessibility service -make

Change-Id: I5bdd57e022b9907f7745046d8818801dbc3929a8
/frameworks/base/Android.mk
3fbe150d365ff182c537f6792927629a185f9538 10-Aug-2010 Ben Dodson <bjdodson@google.com> Updated error codes for Doclava migration

Change-Id: Id8e8d0a47ae863cbdfb56569860fc0f56c644e97
/frameworks/base/Android.mk
024d59601e8439e6884e50c22301e35eaf53120a 05-Aug-2010 Chung-yih Wang <cywang@google.com> resolved conflicts for merge of a06ad953 to master

Change-Id: I282525787d7475cc72b2dec10fbc2cf8c5727b82
2d94231ef91c732f649ff7af9520ee9eac441b16 04-Aug-2010 Chung-yih Wang <cywang@google.com> Add SIP service into system server.

Change-Id: Icc39e4e54768cfdcc1b20a3efe6206009b9a8d10
/frameworks/base/Android.mk
9f53119b72e6da865bcd53173d3dacd1eba01aee 05-Aug-2010 Dianne Hackborn <hackbod@google.com> First pass at a new clipboard API.

ClipboardManager was in android.text(!!) so it needed to be moved
up to android.content to have access to the richer data types we
now need.

ClippedData is the data representation. Still needs a lot of
fleshing out to allow holding more than one data type at a time
and perhaps conversions between them. (MIME-oriented interrogation
and conversion will be done through ContentProvider, which needs
to grow an ability to report multiple MIME types and accept a
desired MIME type when a stream is being opened.)

Change-Id: Ifa51bedcd084a677813b255d171804e8496b0cb5
/frameworks/base/Android.mk
3c7c351a6217ac48b741740167c201a679a0ca65 05-Aug-2010 Brian Carlstrom <bdc@google.com> Tracking merge of dalvik-dev to gingerbread

git cherry-pick --no-commit f77cf7f0
git cherry-pick --no-commit c8f503b5285e30c1a881d0ba860ba9021f57d113
git cherry-pick --no-commit 570bb561
git cherry-pick --no-commit e2417541
git cherry-pick --no-commit e4d81f25bd4dc1a5c909b56ab56a56406290da30
git cherry-pick --no-commit 5e8a587d

Change-Id: I101a385d43f3e0f4ce5352217f92ef67a3908c88
/frameworks/base/Android.mk
02a09927cc56a0f9035783a47877b79b0d2f1b56 04-Aug-2010 Scott Main <smain@google.com> add droiddoc flag for honeycomb apis (for reference filtering)

Change-Id: I711b71cbb914cbe9b6bcf7feae55332b1f3fa1c1
/frameworks/base/Android.mk
a58a8751b4c2ce457f0082a0baaee61312d56195 13-Jul-2010 Bai Tao <michaelbai@google.com> Add new system service CountryDetector

a. The CountryDetector detects the country the user is in
in order of mobile network, location, sim card or locale.
It will be used by contact and contact provider.

b. All added APIs are hidden at this stage.

Change-Id: I4ba278571ffb6ab6ded0996d4f440a18534f8ed4
/frameworks/base/Android.mk
50558b956157dad980441bf4fb44931ce834e36b 22-Jul-2010 Mathias Agopian <mathias@google.com> resolved conflicts for merge of bc54e63c to master

Change-Id: I4245b15b4cda6963d735442c0c6a04a0477ff5e1
1bf797857e025e8a71db86fb9e79765a767ec1eb 15-Jul-2010 Mathias Agopian <mathias@google.com> new SensorService

remove old sensor service and implement SensorManager
on top of the new (native) SensorManger API.

Change-Id: Iddb77d498755da3e11646473a44d651f12f40281
/frameworks/base/Android.mk
499cb9f516062b654952d282f211bee44c31a3c2 16-Jul-2010 Winson Chung <winsonc@google.com> Initial changes to allow collections in widgets.

Change-Id: I3cfa899bae88cd252912cecebc12e93c27a3b7c9
/frameworks/base/Android.mk
dcd077179c853e54498e9127526a8f2984c0dda0 15-Jul-2010 Joe Onorato <joeo@android.com> am 92a47ea3: am 562124e8: Merge "Clean up some style in the makefiles." into gingerbread

Merge commit '92a47ea3a7b82708e46c9d1710355f5e5fdd4f07'

* commit '92a47ea3a7b82708e46c9d1710355f5e5fdd4f07':
Clean up some style in the makefiles.
80a60ba85b5c2ed40e8685a16ce6d3ed31ef0929 15-Jul-2010 Joe Onorato <joeo@android.com> Clean up some style in the makefiles.

Change-Id: I993702808395f37c2e9d3c7e457d2952be51d795
/frameworks/base/Android.mk
570bb5618a015c105e44eb1447dae5e0a34f3849 30-Jun-2010 Brian Carlstrom <bdc@google.com> frameworks/base updates to track merge from dalvik-dev
- frameworks and CoreTests modules now depend on bouncycastle
- update preloades classes for NativeBN package change
- moved CryptoTest to libcore
- updated api

Change-Id: I47363a463f074af205b5bd128cd98faab70ac849
/frameworks/base/Android.mk
3eb9b66deb18888d7f52ed901abf342506aa3db7 24-Jun-2010 Gilles Debunne <debunne@google.com> New XmlAdapters sample code.

Build files modified to add the new sample. Sample screenshot images.

Change-Id: I51b9512eb7b8202a3acb482fbfbd8e5ffa100f5c
/frameworks/base/Android.mk
ef4fd8e12e1928b1e9cdc03378bb1185d9e05cbe 07-Jun-2010 Bai Tao <michaelbai@google.com> Reimplement the PhoneNumberFormattingTextWatcher

a. Built the external/libphonenumberutil into the ext.jar. The file size increased 50K, the phone number meta file is 90K before the compression.
b. Used the external/libphonenumberutil to format the phone number for about 200 countries.
c. Beside the phone number formatting, the external/libphonenumberutil will also be used for phonenumber match and international dialing.

Change-Id: Ie5165dc60d66e1eddab7134725a8d1d1c826434a
/frameworks/base/Android.mk
1578e1acbc7add82f62a91a9084c862dc80e7dba 04-Jun-2010 Dianne Hackborn <hackbod@google.com> am 420e7ec7: am fef42db9: Add sample code.
fef42db92568918161a2a9d69411290adfa1720f 04-Jun-2010 Dianne Hackborn <hackbod@google.com> Add sample code.

Change-Id: I8f598dcbccbb0c43cedc1e1d02f6e3a46d6ebc67
/frameworks/base/Android.mk
e635a6bcc12ddafdf921f564fd3ff374a6ad3ffd 03-Jun-2010 Joe Onorato <joeo@android.com> am 12cd606d: am 0cbda99f: The status bar draws its icons now.
eec13290483719cbb95d4c2a207dc72fb1f40abf 03-Jun-2010 Joe Onorato <joeo@android.com> am 627cfa94: am 90233a1e: Add IStatusBar
51b3c2f25f420c994ef6b39e7c200522af5c7508 03-Jun-2010 Joe Onorato <joeo@android.com> am e0b2ae11: am 25f95f92: Rename IStatusBar to IStatusBarService.
eeb42c4ebdd1e2698b46d9c17c21b014ff4f08e4 03-Jun-2010 Joe Onorato <joeo@android.com> am 2cbaf806: am 2314aab5: First pass at splitting the status bar for the different devices.
0cbda99f8721ad9b03ada04d2637fb75a2a0feca 03-May-2010 Joe Onorato <joeo@android.com> The status bar draws its icons now.
/frameworks/base/Android.mk
90233a1ee50980310613b50f22fc68dd7b40ded8 12-Apr-2010 Joe Onorato <joeo@android.com> Add IStatusBar

Change-Id: Ie73d665085d5ce7358c285bf332ef1dc96005d0f
/frameworks/base/Android.mk
25f95f92005594f2ef094001c54cb4c39eec3ade 09-Apr-2010 Joe Onorato <joeo@android.com> Rename IStatusBar to IStatusBarService.

Change-Id: Icfec2a830f037b21f6afaa796bf49da610567e7b
/frameworks/base/Android.mk
2314aab5064ce09f09270e52fa12a38d07464278 08-Apr-2010 Joe Onorato <joeo@android.com> First pass at splitting the status bar for the different devices.

Change-Id: I2f568df92f88dfe8de18d24dd004239f52761aa6
/frameworks/base/Android.mk
f77cf7f0f0ea2533d1aef2d098b74d7870bca69e 28-May-2010 Brian Carlstrom <bdc@google.com> Merge remote branch 'goog/dalvik-dev' into dalvik-dev-to-master

Note that the api/9.xml change is removing APIs that were removed going from RI 5 to RI 6

Change-Id: I665a30c4fdc2ca73c3ade0ad7487aa85cebf272f
/frameworks/base/Android.mk
864feb8dfac48092fd627a3b77ff2c3bf9000357 17-Mar-2010 Guang Zhu <guangzhu@google.com> disable emma instrumentation for framework, ext and services (DO NOT MERGE)

When these libraries are instrumented with emma instructions, runtime keeps
restarting on native crashes. To acheive a fully emma instrumented build,
we need to disable emma instrumentation on these libraries.

Change-Id: I51cb3bf71e0e348264fe5f21a27085fb2b9e6670
/frameworks/base/Android.mk
6773b5fc49bcf971991d85aa5d9f425aeca3c886 18-May-2010 Joe Onorato <joeo@android.com> am c4a9383d: am 626db910: Store the list of source directories for the SDK.
626db9101e8b4b22faac389763bd2653586a281b 18-May-2010 Joe Onorato <joeo@android.com> Store the list of source directories for the SDK.

Change-Id: I3e8425c8eb7c808b60ec764ff81bcbb7aec9684c
/frameworks/base/Android.mk
a42f4c249f89fde12eff5713169c32cbb32ab74a 18-May-2010 Mike Lockwood <lockwood@android.com> am 0b6e30d2: am c5859388: am 3e9e9696: am eb9cbb8f: Resurrect flashlight support in obsolete IHardwareService Binder API.
3e9e9696f147c8df1236c1d7aa9496124864a81c 17-May-2010 Mike Lockwood <lockwood@android.com> am eb9cbb8f: Resurrect flashlight support in obsolete IHardwareService Binder API.

Merge commit 'eb9cbb8fdddf4c887004b20b504083035d57a15f' into froyo-plus-aosp

* commit 'eb9cbb8fdddf4c887004b20b504083035d57a15f':
Resurrect flashlight support in obsolete IHardwareService Binder API.
eb9cbb8fdddf4c887004b20b504083035d57a15f 17-May-2010 Mike Lockwood <lockwood@android.com> Resurrect flashlight support in obsolete IHardwareService Binder API.

This is to avoid flashlight apps that had been using reflection to access
this API after this class was removed after eclair.

Change-Id: I26ed929abad93345468eb33d4a15977a31ebea7e
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/Android.mk
ebaa64a7ad66436a56f7a6df2357456e7ec57ddc 17-May-2010 Dirk Dougherty <ddougherty@google.com> am cef60007: am aef87aa9: am c6b7a2d7: am d1e9d590: Doc change: add sizes/sums for sdk/ndk/adt packages.
c6b7a2d704b6196c2f578302af607d58b0b85e4b 15-May-2010 Dirk Dougherty <ddougherty@google.com> am d1e9d590: Doc change: add sizes/sums for sdk/ndk/adt packages.

Merge commit 'd1e9d590941303c004459f3d798b26f1bf091535' into froyo-plus-aosp

* commit 'd1e9d590941303c004459f3d798b26f1bf091535':
Doc change: add sizes/sums for sdk/ndk/adt packages.
d1e9d590941303c004459f3d798b26f1bf091535 15-May-2010 Dirk Dougherty <ddougherty@google.com> Doc change: add sizes/sums for sdk/ndk/adt packages.

Change-Id: I9385c5b90a8f366764337adf4221fba4d7448568
/frameworks/base/Android.mk
c8f503b5285e30c1a881d0ba860ba9021f57d113 05-May-2010 Jesse Wilson <jessewilson@google.com> Moving junit out of core.jar and into core-junit.jar.

Change-Id: I38b585044aaa0f0ef5a243a33d942ab0e490f8f1
/frameworks/base/Android.mk
0885403df4efdf1dd43e1c6b7ff82f0ad81a6389 12-May-2010 Dirk Dougherty <ddougherty@google.com> am b796d698: am dd142ac3: am 052e2102: am 0d1b0814: Doc change: updates for new tools, platform, adt versions. Misc other fixes updates in doc files.
052e2102df8e45af2797faff7aefda26aeb345d7 12-May-2010 Dirk Dougherty <ddougherty@google.com> am 0d1b0814: Doc change: updates for new tools, platform, adt versions. Misc other fixes updates in doc files.

Merge commit '0d1b0814be24f501395bf175fba8691117f782d5' into froyo-plus-aosp

* commit '0d1b0814be24f501395bf175fba8691117f782d5':
Doc change: updates for new tools, platform, adt versions. Misc other fixes updates in doc files.
0d1b0814be24f501395bf175fba8691117f782d5 08-Apr-2010 Dirk Dougherty <ddougherty@google.com> Doc change: updates for new tools, platform, adt versions. Misc other fixes updates in doc files.

Change-Id: I7abf541316f2796079cf646a3294db535fcaaa8a
/frameworks/base/Android.mk
7d3563238ec73c99d6d7dd60d9cb88fa64b41b89 11-May-2010 Dirk Dougherty <ddougherty@google.com> am 2ecef59c: am 0ab047c7: am 769612e1: am b32c2402: Doc change: add toc references to tictactoe sample apps and screen shots.
769612e160c9be01c96371412e12d367e5063e9f 11-May-2010 Dirk Dougherty <ddougherty@google.com> am b32c2402: Doc change: add toc references to tictactoe sample apps and screen shots.

Merge commit 'b32c2402c2b9d58b4f74be62dac6ce2781caec05' into froyo-plus-aosp

* commit 'b32c2402c2b9d58b4f74be62dac6ce2781caec05':
Doc change: add toc references to tictactoe sample apps and screen shots.
b32c2402c2b9d58b4f74be62dac6ce2781caec05 09-May-2010 Dirk Dougherty <ddougherty@google.com> Doc change: add toc references to tictactoe sample apps and screen shots.

Change-Id: I7d520587c0e6b2252e819029a2f053893fdcd7c3
/frameworks/base/Android.mk
e128d67264a3837ef8f118f16710bdcfcb170b84 10-May-2010 Scott Main <smain@google.com> am cd2fa84a: am 9d5b754b: am 717e135c: am 62c28cae: Merge "docs: change SearchableDictionary to "v2" and remove old "new" superscripts from resources toc" into froyo
717e135c17239ff3dd0698eb82b26f8e8ade0d08 10-May-2010 Scott Main <smain@google.com> am 62c28cae: Merge "docs: change SearchableDictionary to "v2" and remove old "new" superscripts from resources toc" into froyo

Merge commit '62c28caee4a26e106134264f917bacef77438483' into froyo-plus-aosp

* commit '62c28caee4a26e106134264f917bacef77438483':
docs: change SearchableDictionary to "v2" and remove old "new" superscripts from resources toc
aff856d053ba239114e7f16d3cdd240a6d973f2f 10-May-2010 Dirk Dougherty <ddougherty@google.com> am 0dd3a239: Merge "Doc change: cherry-pick from master: Activity Testing/Hello, Testing tutorials doc files" into froyo

Merge commit '0dd3a239519369933d4efa701479c816b4b33874' into froyo-plus-aosp

* commit '0dd3a239519369933d4efa701479c816b4b33874':
Doc change: cherry-pick from master: Activity Testing/Hello, Testing tutorials doc files
6806457f95214039fd1e2a3f6f00b628f7336fe3 08-May-2010 Ying Wang <wangying@google.com> Add framework.aidl as prerequisite of api-stubs

So that aidl can pull in framework.aidl when building against current sdk.
See http://b/issue?id=2666578

Change-Id: If45ff10a7ffa1f14e421ec50d6c07636236b2b8e
/frameworks/base/Android.mk
bf1d0b900e7540c55fb3b88e70aa16e2c59ad218 08-May-2010 Scott Main <smain@google.com> docs: change SearchableDictionary to "v2" and remove old "new" superscripts from resources toc

Change-Id: Ic240502b8874fdc69d1d97cbf9df0ef925fbc071
/frameworks/base/Android.mk
18457d0c21adb67fe420818ee6b857ece43edffc 14-Apr-2010 Joe Malin <jmalin@google.com> Doc change: cherry-pick from master: Activity Testing/Hello, Testing tutorials doc files

Change-Id: If43ba08af00c8c9fcf6d05834f8b2a7a719b4bec
/frameworks/base/Android.mk
e52c4a782364fb93e952964bde1953828f31d8b2 14-Apr-2010 Joe Malin <jmalin@google.com> Doc Change: Activity Testing/Hello, Testing tutorials doc files
Change-ID: bddebe3eaaf722e2bd2a56d473b76a0a8e061053
Author: Joe Malin <jmalin@google.com>
Date: Mon Mar 1 18:24:14 2010 -0800
/frameworks/base/Android.mk
2529d4eab80778aef9c7a9fe27712a41686d22c4 30-Apr-2010 Jean-Baptiste Queru <jbq@google.com> Adapt to new location of libcore

Change-Id: I495bf86a8195c85d16917c129dcbb0f4c5de68d2
/frameworks/base/Android.mk
8d817f712425bfb38f6aa979718fcfb6c8f730b0 30-Apr-2010 Jean-Baptiste Queru <jbq@google.com> Adapt to new location of libcore

Change-Id: Ia7046e7f3eace4f31ae48987712b539418d72ed1
/frameworks/base/Android.mk
ac075190b9a6f10c2f24c3e3d1de035aa0329fa4 17-Mar-2010 Guang Zhu <guangzhu@google.com> disable emma instrumentation for framework, ext and services

When these libraries are instrumented with emma instructions, runtime keeps
restarting on native crashes. To acheive a fully emma instrumented build,
we need to disable emma instrumentation on these libraries.

Change-Id: I914b7b88cfc39eddbf273e653e603d4edfdf5837
/frameworks/base/Android.mk
c4c696ab5b97c0a33983a28ae6e5bd211c88e72c 19-Apr-2010 Scott Main <smain@google.com> add droiddoc flag to include since-tags for api level 8

Change-Id: Ib7dc5114b075001cdf78db96dbbaa99644836f8b
/frameworks/base/Android.mk
9e696c29f06d45d2891e1d38fd8d9033a9e21bb9 01-Apr-2010 Robert Greenwalt <robdroid@android.com> Add service to monitor/control the flow of data.

bug:2576057
Change-Id: Ib343c7ee1d619c6978910d9ee597db195d5aa3b6
/frameworks/base/Android.mk
e779bdc9b4366a9293b87424b42cff45d46336a6 07-Apr-2010 Christopher Tate <ctate@google.com> Add Backup/Restore sample to the SDK docs

Part of bug #2545514

Change-Id: I235d33b839924d4bc574fd1e6762d169902e1c8b
/frameworks/base/Android.mk
7b229effcced9ad5aaa3d2ea6b4b219239348481 27-Mar-2010 Dirk Dougherty <ddougherty@google.com> cherry-pick af4786bcb5945f72e8639d74611cd5f9b0236710 to froyo

Conflicts:

docs/html/sdk/installing.jd

Change-Id: Id43ad8c62039099bb518722bb8694dcf8ba6dfa6
/frameworks/base/Android.mk
6ffce2e9a3c57634bb73f8ff133ca680f8070d5d 08-Mar-2010 Suchi Amalapurapu <asuchitra@google.com> Add new shutdown observer for MountService.
Use new observer before rebooting and shutting down.
Add some unit tests for unmount and shutdown code paths
Fix registering/unregistering part in MountService
Use ShutdownThread in PowerManager.reboot()
Add reboot support to ShutdownThread.
Remove MountService code from PowerManagerService.java and Power.java.
Clean shutdown/reboot is handled exclusively by ShutdownThread now.

Change-Id: Iefb157451d3d9c426cb431707b870a873c09123d
/frameworks/base/Android.mk
4528186e0d65fc68ef0dd1941aa2ac8aefcd55a3 06-Mar-2010 Christopher Tate <ctate@google.com> Refactor android.backup => android.app.backup

Change-Id: I0b21316ff890d7f3c7d4b82837bb60670724c2e8
/frameworks/base/Android.mk
d5176cfe6eae954e9cef1e2ec17859a5089e1330 28-Jan-2010 Jean-Michel Trivi <jmtrivi@google.com> First implementation of the audio focus management as an extension
of AudioManager and AudioService.
/frameworks/base/Android.mk
87bba1ee14279bb14a28d42e27c4ef66d9967bf8 27-Feb-2010 Dianne Hackborn <hackbod@google.com> Move DeviceAdmin APIs to android.app.admin.

Also add ability for admins to hide themselves when not in use,
a facility for admins to not allow other admins to reset
their password, and debug dumping.
/frameworks/base/Android.mk
e70f61b1160e953e5e4d18d30a463fa9ba821779 19-Feb-2010 Brett Chabot <brettchabot@android.com> Retry test-runner tests move.

This time change the frameworks makefile so it only includes test-runner/src
in the public API.
/frameworks/base/Android.mk
8946dd3355fc1dcbad872c0546e356474d4cc5de 19-Feb-2010 Suchi Amalapurapu <asuchitra@google.com> Move package from internal to external and vice versa.
/frameworks/base/Android.mk
1c9131c91f27c8258dfad0a92cee105275f5422a 13-Feb-2010 Dan Egnor <egnor@google.com> Remove all traces of the old checkin service (and its associated parental
control interfaces) from the framework.
/frameworks/base/Android.mk
9c57aca188665916cc1dafbbe23dbe8cfd98883d 12-Feb-2010 Mike LeBeau <mlebeau@android.com> Make the corresponding frameworks change to add VoiceRecognitionService to
the list of SDK sample apps.
/frameworks/base/Android.mk
27b28b3f62bd3b54fa13acd5d035940b9be464f3 09-Feb-2010 Tobias Haamel <haamel@google.com> Introduce special UI modes for night and car usage.

The device mode is now called ui mode. Furthermore is the order of
precedence for the resources now in such a way that the ui mode needs
to be specified after the orientation and before the density.

The ui mode can be set, like it is done for the locale, as follows:

IActivityManager am = ActivityManagerNative.getDefault();
Configuration config = am.getConfiguration();
config.uiMode = Configuration.UI_MODE_TYPE_CAR | Configuration.UI_MODE_NIGHT_ANY;
am.updateConfiguration(config);

To allow users to disable the car mode and set the night mode the IUiModeManager
interface is used.

The automatic night mode switching will be added in a separate change.
/frameworks/base/Android.mk
18e939623556928f73fcc7511c85a537929a4a7e 11-Feb-2010 Dan Egnor <egnor@google.com> Eliminate dependencies on Checkin, replacing checkin events with EventLog
events (and in one case, a DropBox entry).

Add a simple intent that triggers master-clear (and toggle EFS), given the
right permissions.

Bug: 2264596
Bug: 2350452
Bug: 2264596
/frameworks/base/Android.mk
f3449ee8536fb579da0022247ae78cd82d6fbbdc 10-Feb-2010 Dirk Dougherty <ddougherty@google.com> am e524ff53: am 859f4556: Merge "Add generated html docs for SampleSyncAdapter and CubeLiveWallpaper. Add article for live wallpaper." into eclair

Merge commit 'e524ff534e1aabc45819e978c26bf61d9b71f444'

* commit 'e524ff534e1aabc45819e978c26bf61d9b71f444':
Add generated html docs for SampleSyncAdapter and CubeLiveWallpaper. Add article for live wallpaper.
d323b4c338106ccedf6dd974e201947eeb2b2d73 08-Feb-2010 Dirk Dougherty <ddougherty@google.com> Add generated html docs for SampleSyncAdapter and CubeLiveWallpaper. Add article for live wallpaper.

Change-Id: Idbeda9a677c9772a8348146fe028083d9887a9d2
/frameworks/base/Android.mk
a63730d1f103f78589faef461d2af7351fc49f42 08-Feb-2010 Brad Fitzpatrick <bradfitz@android.com> Log ContentProvider operations to the EventLog.

Just like with db_operation, operations over 100ms are always logged,
while operations under that are subsampled.

This will help with performance analysis, getting real-world
performance numbers from dogfooders.
/frameworks/base/Android.mk
b104340496e3a531e26c8f428c808eca0e039f50 05-Feb-2010 San Mehat <san@google.com> Framework: Clean up / Refactor Mount APIs

- Move android.storage.* -> android.os.storage.* and refactor users
- Refactor generic shares back to explicit ums enable/disable/isEnabled
- Remove media insert/removed event callbacks (not ready for Froyo)
- Remove 'label' from volume state change callbacks
- Add public API functions for enabling/disabling USB mass storage (permissions enforced
in MountSevice)
- Remove some stray un-needed import lines
- Move android.os.IMountService / android.os.IMountServiceListener -> android.os.storage
- Improve code comments

Updated:
MountService: Add dup state check and move debugging behind a conditional
UsbStorageActivity: Fix review comments + a TODO
StorageNotification: Add @Override tags
StorageManager: Don't use a static Listener list
MountService: Reduce bloat and fix == where I meant .equals()
PackageManagerTests: Update for new API

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/Android.mk
c5d1c6db61f208b206b260f897bb5bbc64be4d97 27-Jan-2010 Fred Quintana <fredq@google.com> add sync polling

- added the ability to specify that a sync (of account/authority/extras)
should occur at a given frequency
- the existing daily poll code was replaced with seeding each
account/authority with a 24 hour periodic sync
- enhanced the "adb shell dumpsys content" output to show the
periodic syncs and when they will next run
/frameworks/base/Android.mk
4270e1ea74c57f1c65620e9f5ecaa8c2a5daf0e1 29-Jan-2010 San Mehat <san@google.com> MountService: Massive bloat reduction and rewrite

- Most API calls now return an int as a result code (see MountServiceResultCode.java)
- All notification code has been removed
- All settings code has been removed
- Removed UMS centric API calls in favor of more generic 'shares'
- Mount error reporting is no longer done via an event, but is done as part of the
actual mount process
- Rework vold IPC commands to be more sane

Updated:
MountService: Rename MountServiceObserver -> MountServiceListener
MountService: Add support for Async callbacks

Updated:
MountService: Add BinderDeath handling

Updated:
MountService: Remove notifys since we dont listen anyways

Updated:
MountService: Fix bad cast

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/Android.mk
e599a9d24b416d693ce60c97339f18c927aef5db 02-Feb-2010 Dirk Balfanz <balfanz@google.com> Revert "adding OAuth library"

This reverts commit cc1aa994af5957815e47ec102a0eab3b98111eb1.
/frameworks/base/Android.mk
cc1aa994af5957815e47ec102a0eab3b98111eb1 20-Jan-2010 Dirk Balfanz <balfanz@google.com> adding OAuth library
/frameworks/base/Android.mk
604b8714024e1234821952d091be48cc6a86b794 29-Jan-2010 Dirk Dougherty <ddougherty@google.com> am aa86da9d: am 196ec566: Merge "SDK doc change: Increment the platform version var used in doc footer and elsewhere." into eclair

Merge commit 'aa86da9d14d08ee39ca3e3fcabba01560c64f37d'

* commit 'aa86da9d14d08ee39ca3e3fcabba01560c64f37d':
SDK doc change: Increment the platform version var used in doc footer and elsewhere.
b4a162e50a96d2eef5fa3ed686e1418c4fbc8ded 28-Jan-2010 San Mehat <san@google.com> framework: os: Introduce IMountServiceObserver

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/Android.mk
ab2c0a4fab5ce082c16cdb11308da410228cc9f0 29-Jan-2010 Dirk Dougherty <ddougherty@google.com> SDK doc change: Increment the platform version var used in doc footer and elsewhere.

Bug: 2160782
Change-Id: I6e7721bca95cdc6565f3200d7609a4ea9b45cf9b
/frameworks/base/Android.mk
45948fd407da525e6c8721ba75cfc8b356fc7e0f 14-Jan-2010 Patrick Scott <phanna@android.com> First pass at the url rendering service.

The service renders a list of urls at the given dimension and invokes the
callback interface for each result. A ParcelFileDescriptor is used to transfer
the large image data to the client. The client must close the file descriptor
is order free the underlying resources.

A more robust api will use UrlRendererRequest and UrlRendererResponse objects
to transfer data.
/frameworks/base/Android.mk
8ea138cbf12b140d43fd81f4f12fe1a9234f1f25 27-Jan-2010 Dianne Hackborn <hackbod@google.com> More work on device admins:

- You can now show a dynamic message to the user when asking to
have your DeviceAdmin added.
- A DeviceAdmin can now provide a warning message that is displayed
before a user disables it.
- Better ordering (and text) of the policy warnings.
- New API to set the maximum failed password attempts before the device
wipes itself.
- We now store the number of failed unlock attempts in persistent
storage.
- New managed dialog APIs that will be used by the settings app.

Also a little bit of cleanup as I was working on this - removed the
long unused MailboxNotAvailableException, fixed a java doc in Messenger.
/frameworks/base/Android.mk
c028be4f3b8c7476b46859f66c3f33d528adf181 25-Jan-2010 Suchi Amalapurapu <asuchitra@google.com> AppsOnSd feature - Add default container

Add new remote interface to do temporary copies. The new
remote stub handling is done on mHandler thread and doesn't need locking
for now.
Add new InstallArgs class and subclasses to isolate cases for installation.
Move resource deletion for failed installs/upgrades to later on in installation
cycle.
Fix code path for forward locked apps when using scanPackageLI

TODO's
Fix installation paths to completely use InstallArgs based design later on.
Get rid of using flags in various install/uninstall code paths.
Ideally InstallArgs should be created using these flags and used in the
rest of the code.
Function renames.
Revisit mount api's.
/frameworks/base/Android.mk
4d02d001ef6e06583e858e63e48d1aebf54ba28d 23-Jan-2010 San Mehat <san@google.com> NetworkManagementService: Introduce INetworkManagementEventObserver

Introduce a callback event observer which can be registered on the
INetworkManagementService instance to receive events from the service.

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/Android.mk
873f2145941cc28f6931dc18b5e9987bd22e2e19 14-Jan-2010 San Mehat <san@google.com> framework: Introduce INetworkManagementService for communicating with netd

This is the framework-exposed interface for the (future) management of
all Android network management functions. Initial support is for providing
tethering.

Updated: Integrate feedback from review; clean up naming

Updated: Switch from add/remove/list to get/set for DNS forwarders
- allows prioritization / ordering of DNS servers

Updated: Refactor NAT api

Updated: Refactor NAT api (last time sorry)

Signed-off-by: San Mehat <san@google.com>
/frameworks/base/Android.mk
d68478467e3f837511196c80891d7245d0e163df 13-Jan-2010 Dianne Hackborn <hackbod@google.com> First pass at new device policy and administration APIs.

This adds new DevicAdmin, DevicePolicyManager, and DeviceAdminInfo classes.
See the java docs for each on documentation on them. Basically: a DeviceAdmin
is what you derive from to administer a device; DevicePolicyManager is what you
use to apply and check your policy requirements and perform other administration
tasks.
/frameworks/base/Android.mk
9cebb377c57f3231dbdf278678596871abcef2b8 11-Jan-2010 Trevor Johns <trevorjohns@google.com> am 18dedf2c: am 50a3977c: Merge "Adding BusinessCard sample to Android.mk and to the Resources TOC on developer.android.com." into eclair

Merge commit '18dedf2cdfd2c78d93061f20c4269f00449a8e6a'

* commit '18dedf2cdfd2c78d93061f20c4269f00449a8e6a':
Adding BusinessCard sample to Android.mk and to the Resources TOC on developer.android.com.
44641d3db3b5fd5c7616c8a646ec8b6af20baa18 09-Jan-2010 Paul Westbrook <pwestbro@google.com> Bug 2321983

Move SYNC_DETAILS from framework/base to the gsf clientlib
/frameworks/base/Android.mk
2187e240c0875c724de30407dfa1e32abd2c6bb1 08-Jan-2010 Trevor Johns <trevorjohns@google.com> Adding BusinessCard sample to Android.mk and to the Resources TOC on developer.android.com.
/frameworks/base/Android.mk
3ea664640d0dd08cf89fd38f7aa00756651f4830 17-Dec-2009 Scott Main <smain@google.com> am aaab0b64: am f0cdfa99: add -since flag to droiddoc options for 7.xml, to apply api filtering to the reference

Merge commit 'aaab0b64e53db6e174236b022526a5f207b28570'

* commit 'aaab0b64e53db6e174236b022526a5f207b28570':
add -since flag to droiddoc options for 7.xml,
f0cdfa9955725c99cd4df6b933e4cb732847ebd1 17-Dec-2009 Scott Main <smain@google.com> add -since flag to droiddoc options for 7.xml,
to apply api filtering to the reference
/frameworks/base/Android.mk
692bf86e67ef3bef98a64c1ad1c6f54b9f2020ae 16-Dec-2009 Dirk Dougherty <ddougherty@google.com> am 479a49f7: am 7585586c: Merge change Ib1eb2e9e into eclair

Merge commit '479a49f74f77855825ba69b105c065422c24246a'

* commit '479a49f74f77855825ba69b105c065422c24246a':
sdk doc change for esr: Add "resources" tab content. Fix links pointing to the old locations. Change Android.mk to output samples files to resources/samples. Misc other fixes.
22558d0be8210aee1a2ab64b374bb357d4123acd 11-Dec-2009 Dirk Dougherty <ddougherty@google.com> sdk doc change for esr: Add "resources" tab content. Fix links pointing to the old locations. Change Android.mk to output samples files to resources/samples. Misc other fixes.

Bug: 2160782
Change-Id: Ib1eb2e9e3fe3a7b2ad16387dbf888646a1195221
/frameworks/base/Android.mk
e7c1b11ec892fbb1eb053f9aa4f6839031b19c1c 13-Dec-2009 Ying Wang <wangying@google.com> am 54bb575e: am 6f95f461: Fix the dependencies to make online-sdk-docs.

Merge commit '54bb575e85d1e40efbfbb868f37553cdd8ed318f' into eclair-mr2

* commit '54bb575e85d1e40efbfbb868f37553cdd8ed318f':
Fix the dependencies to make online-sdk-docs.
54bb575e85d1e40efbfbb868f37553cdd8ed318f 13-Dec-2009 Ying Wang <wangying@google.com> am 6f95f461: Fix the dependencies to make online-sdk-docs.

Merge commit '6f95f461098d5b9e93212cf9cc7c7a6498eecf3a' into eclair

* commit '6f95f461098d5b9e93212cf9cc7c7a6498eecf3a':
Fix the dependencies to make online-sdk-docs.
05bbeb356286bfb6ddc26ac546cce03334e346dd 11-Dec-2009 Roman Nurik <romannurik@google.com> am 7eb6ec1f: Merge change I18305fec into eclair

Merge commit '7eb6ec1f44ade4c7bf3d23cbcfe29a17bbd940b1' into eclair-mr2

* commit '7eb6ec1f44ade4c7bf3d23cbcfe29a17bbd940b1':
Add ContactManager, MultiResolution, Wiktionary, and WiktionarySimple to samples index. Also add latest samples zip file.
6f95f461098d5b9e93212cf9cc7c7a6498eecf3a 11-Dec-2009 Ying Wang <wangying@google.com> Fix the dependencies to make online-sdk-docs.

Without the framework library, 'make online-sdk-docs' can not find symbols
in the framework library.
/frameworks/base/Android.mk
0e71bdc6acd581d653062dd15a9b772eaee10231 10-Dec-2009 Roman Nurik <romannurik@google.com> Add ContactManager, MultiResolution, Wiktionary, and WiktionarySimple to samples index. Also add latest samples zip file.
/frameworks/base/Android.mk
45e6dbf90b24543c90f8c6b0426e9b70c934838d 08-Dec-2009 Doug Zongker <dougz@android.com> move event log tags used by SyncAdapter into a local .logtags file
/frameworks/base/Android.mk
e08361d7fda2234f447f4ffb7f480d045f8c5f78 04-Dec-2009 Scott Main <smain@google.com> am 5d0806c9: Merge change Ia70bd8c4 into eclair

Merge commit '5d0806c9c3e0e6c8673ac4238f8ec2e0f82ad7e6' into eclair-mr2

* commit '5d0806c9c3e0e6c8673ac4238f8ec2e0f82ad7e6':
add BluetoothChat sample app to the dev guide
14a704295ffd4a530364ad37976bebd4f287cadf 03-Dec-2009 Scott Main <smain@google.com> add BluetoothChat sample app to the dev guide
/frameworks/base/Android.mk
3a32213c4029a03fe39486f3d6ebd0ea18928ee1 24-Nov-2009 Mike Lockwood <lockwood@android.com> Remove HardwareService and move vibrator support to VibratorService.

The lights support is only needed by PowerManagerService and NotificationManagerService, so we do not need a Binder API for it.
Move backlight and notification light support to new LightsService class.
The camera flash is now handled directly by the camera HAL, so the flash Hardware service flash support is obsolete.

Change-Id: I086d681f54668e7f7de3e8b90df3de19d59833c5
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/Android.mk
2464acc6da6393f0163894094468f68b8e496cea 24-Nov-2009 Fred Quintana <fredq@google.com> moved the gdata library to vendor/google
/frameworks/base/Android.mk
e0030418fd4b9a9a2d0422a5538a76ca6b40710c 23-Nov-2009 Dirk Dougherty <ddougherty@google.com> am bca9f1bb: sdk doc change for esr: updates for android 1.6 r2, tools r4, api levels.

Merge commit 'bca9f1bbb31cf05ba17af049a5ea37f57981f00e' into eclair-mr2

* commit 'bca9f1bbb31cf05ba17af049a5ea37f57981f00e':
sdk doc change for esr: updates for android 1.6 r2, tools r4, api levels.
bca9f1bbb31cf05ba17af049a5ea37f57981f00e 19-Nov-2009 Dirk Dougherty <ddougherty@google.com> sdk doc change for esr: updates for android 1.6 r2, tools r4, api levels.

Bug: 2160782
Change-Id: Ia576dc9b2312d89bbe194d94640c3cc79216067b
/frameworks/base/Android.mk
98c11248becafa61d29aea8a7e10adf418a6c197 23-Nov-2009 Scott Main <smain@google.com> am 3fa1cb05: am 5e7f1fbe: Merge change Id2ee762d into eclair-sdk

Merge commit '3fa1cb059e76d8b83634a4117a7b2ceca438ae7e' into eclair-mr2

* commit '3fa1cb059e76d8b83634a4117a7b2ceca438ae7e':
droiddoc change: add flag to offline docs build to signal
3fa1cb059e76d8b83634a4117a7b2ceca438ae7e 23-Nov-2009 Scott Main <smain@google.com> am 5e7f1fbe: Merge change Id2ee762d into eclair-sdk

Merge commit '5e7f1fbe161d7015dde6e893351238749f906c8a' into eclair

* commit '5e7f1fbe161d7015dde6e893351238749f906c8a':
droiddoc change: add flag to offline docs build to signal
021694657b1d9c77ced7f41ebef7af77d829fcbb 20-Nov-2009 Scott Main <smain@google.com> droiddoc change: add flag to offline docs build to signal
that we're building offline docs so that we do not generate
all of the web pages for the sample apps source code.

This depends on change 33762 (sha I06c40454), meaning, this
will break the build without that.

Change-Id: Id2ee762de13f23c3da15d55e763c1838b11ac31c
/frameworks/base/Android.mk
0bbb68fe290e1c2e4b9c5722fc2dbbd29fc4e336 20-Nov-2009 Scott Main <smain@google.com> am 2a6a149f: am 820a4e7d: docs change for ESD: add samples html pages for offline docs

Merge commit '2a6a149fc2abfb8ef654ed36ce4524209f5e33bc' into eclair-mr2

* commit '2a6a149fc2abfb8ef654ed36ce4524209f5e33bc':
docs change for ESD: add samples html pages for offline docs
2a6a149fc2abfb8ef654ed36ce4524209f5e33bc 20-Nov-2009 Scott Main <smain@google.com> am 820a4e7d: docs change for ESD: add samples html pages for offline docs

Merge commit '820a4e7dd6adeff162a92ca40ebe2f109561036b' into eclair

* commit '820a4e7dd6adeff162a92ca40ebe2f109561036b':
docs change for ESD: add samples html pages for offline docs
820a4e7dd6adeff162a92ca40ebe2f109561036b 20-Nov-2009 Scott Main <smain@google.com> docs change for ESD: add samples html pages for offline docs

bug: 2160782
Change-Id: I30fedc9e9b015ad035fa954ca0b1a19e846cca78
/frameworks/base/Android.mk
cc342e33655dcb396f96d28732efe8f189c34253 18-Nov-2009 Dan Egnor <egnor@google.com> Solve the mutual interdependency problem between common and framework:
Have framework include the common source files directly when building,
then build common as a static library separately (depending on
framework, like everything else).

Goes with a companion change to build/core/pathmap.mk.
/frameworks/base/Android.mk
ded0e6447ed6e0f200dbca13e43c6cf4efc16a1d 18-Nov-2009 Dan Egnor <egnor@google.com> Create android-common static library which gets included in frameworks.jar,
but can also be used by unbundled apps. Move android.text.util.Regex there as
a starting example, renamed to a more sensible (?) com.android.common.Patterns.
Set up a corresponding test package, and move RegexTest (to PatternsTest).
Update clients.
/frameworks/base/Android.mk
0629175f506f65d2d152eb4eb8ca58df14b6f8b1 18-Nov-2009 Dan Egnor <egnor@google.com> Remove googleclient from the framework, and its classes from the preload list.
/frameworks/base/Android.mk
613438086cb68a4e0f48ddd51238f3d9a054ac9d 14-Nov-2009 Dan Egnor <egnor@google.com> Remove external/protobuf from the build, now that it's
been moved to vendor/google/libraries.
/frameworks/base/Android.mk
f18a01c77e78209b74e34d05cfb352fa4a92db5f 12-Nov-2009 Dan Egnor <egnor@google.com> Rename [I]DropBox[Service] to [I]DropBoxManager[Service].

Un-hide the DropBoxManager interface, and update the public API accordingly.
/frameworks/base/Android.mk
8cf6a2eacfe5c255049cbba53bbbfb01ec4a1d9d 05-Nov-2009 Nick Pelly <npelly@google.com> am 61b01632: Merge change I9490271c into eclair

Merge commit '61b01632915181fcf725dc4933cad8c81e700115' into eclair-mr2

* commit '61b01632915181fcf725dc4933cad8c81e700115':
Add BluetoothDevice to SDK AIDL list.
459ba8639a8d1a9b0fb7ff4ada68bf1fe262eaaa 05-Nov-2009 Nick Pelly <npelly@google.com> Add BluetoothDevice to SDK AIDL list.

Bug: 2216702
Change-Id: I9490271ce4be465d5b3acc5e530feaf6e2fa3f57
/frameworks/base/Android.mk
b9cc041eb0ec10a75973025cacd9a3316090a13d 27-Oct-2009 Ying Wang <wangying@google.com> Explicitly specify that online-sdk depends on framework-res. (do not merge)

this is integrated from Eclair to fix the mac build breakages.
/frameworks/base/Android.mk
102767cd3be39fd3865be02421fd1763f3ff33d5 29-Oct-2009 Ying Wang <wangying@google.com> am d85c4b34: Merge change Idb328ab7 into eclair

Merge commit 'd85c4b346fe8e335a979b8bbfd2767eae91aca35' into eclair-mr2

* commit 'd85c4b346fe8e335a979b8bbfd2767eae91aca35':
Explicitly specify that online-sdk depends on framework-res.
952402704a175ba27f6c89dff1ada634c5ce5626 28-Oct-2009 Dan Egnor <egnor@google.com> Instead of a raw AIDL interface, give DropBox a Java
interface (android.os.DropBox); move the Binder interface
behind the scenes. Make DropBoxEntry into DropBox.Entry.
Make it possible to get a dropbox from an (Application)Context
with the usual getSystemService(DROPBOX_SERVICE) type thing.
Update the tests accordingly.
/frameworks/base/Android.mk
db328ab7d47931a6433a778314bc7adbbfb96c8f 27-Oct-2009 Ying Wang <wangying@google.com> Explicitly specify that online-sdk depends on framework-res.
/frameworks/base/Android.mk
f0d9c0000858f3e48bcd1efec75f2dff1cbc6ed5 23-Oct-2009 Dirk Dougherty <ddougherty@google.com> am 86dc4d31: am 61c29c29: Merge change Ieeb0b251 into eclair-sdk

Merge commit '86dc4d312216be0b4c2847a1e79d94efaf4b9559' into eclair-mr2

* commit '86dc4d312216be0b4c2847a1e79d94efaf4b9559':
doc change: incorporate comments on SDK docs and structure.
eeb0b2514a8b4f175a9ef16a319437a61aedb8f3 23-Oct-2009 Dirk Dougherty <ddougherty@google.com> doc change: incorporate comments on SDK docs and structure.

Bug: 2160782
/frameworks/base/Android.mk
96f225afad61ee701dd84348e380a40ff8900fc0 22-Oct-2009 Dirk Dougherty <ddougherty@google.com> am 4f82394a: am ee58d1bf: doc change: Add docs for SDK. Support new modular structure. In Android.mk, change @since level identifier to 5.xml, expose adt downloadable vars. Fix links that pointed to @sdkCurrent.

Merge commit '4f82394af6486e1725ae6b6dd3b0334dcfc52747' into eclair-mr2

* commit '4f82394af6486e1725ae6b6dd3b0334dcfc52747':
doc change: Add docs for SDK. Support new modular structure. In Android.mk, change @since level identifier to 5.xml, expose adt downloadable vars. Fix links that pointed to @sdkCurrent.
ee58d1bf9c54eaed623c4419e1d9db269a9c4137 17-Oct-2009 Dirk Dougherty <ddougherty@google.com> doc change: Add docs for SDK. Support new modular structure. In Android.mk, change @since level identifier to 5.xml, expose adt downloadable vars. Fix links that pointed to @sdkCurrent.

Change-Id:I368345755dd753b1056fb06ff25e4b32f3020e4d
Bug:2160782
/frameworks/base/Android.mk
f18b9311e8a6c4b05574727ae117338a9c341a1b 15-Oct-2009 Scott Main <smain@google.com> am 30a6657e: Merge change Ic9b31801 into eclair

Merge commit '30a6657ec6051ba5a1c72a714c9dc535dff127a4' into eclair-mr2

* commit '30a6657ec6051ba5a1c72a714c9dc535dff127a4':
docs: setup new SDK documentation for 2.0 and change sdk build version to 2.0...
efd83af0a7f1041f22567c1ef8135e9b13bb77cb 14-Oct-2009 Scott Main <smain@google.com> docs: setup new SDK documentation for 2.0 and change sdk build version to 2.0...
move upgrading doc into a new guide for "updating" with
the new manager tools and remove the previous updating doc
from the dev guide. set up preliminary download page and guide
for installing the full SDK. add the requirements doc in sdk/
for all general purposes. revise the download 'thank you'
message.

bug: 2160782
/frameworks/base/Android.mk
4410ec8f7cec6ab05a8c24c04fe2d5ed5d1e18df 12-Sep-2009 Dan Egnor <egnor@google.com> Framework-side DropBox service that maintains a size-bounded
queue of data chunks (sort of a blob-oriented logcat).

In the future, this will be coupled with a revised checkin service that
would actually upload this data.
/frameworks/base/Android.mk
16fb88a673c41b93c5d57ccb28c2697e7d87701a 07-Oct-2009 Nick Pelly <npelly@google.com> Encourage developers to connect RFCOMM by UUID instead of Channel.

Hide createRfcommSocket(int channel)
Add createRfcommSocketWithServiceRecord(UUID uuid)

Rename listenUsingRfcomm(String,UUID) -> listenUsingRfcommWithServiceRecord(..)

Now we have a complete API for developers to make peer-peer RFCOMM connections
with hard-coding the limited (30) RFCOMM channels, instead using SDP lookup
of an UUID.

This commit addresses two serious bugs:
- Do not throw IOException on accepting an incoming RFCOMM connection with
BluetoothSocket. This was a regression from commit 24bb9b8af4ff6915
- Workaround failure of bluez to update SDP cache when channel changes by
trying to use the same RFCOMM channel on the server every time, instead
of picking server channels randomly. This is a pretty ugly workaround,
and we are still trying to fix the caching issue - but with this
workaround we are at least shippable and apps will work at least until
they start colliding on the 30 RFCOMM channels.

DrNo: eastham
Bug: 2158900
Joke: What did the digital watch say to his mom? "Look mom no hands."
Change-Id: Ia4879943b83afac06b6f1a3f2391cf1628afce7d
/frameworks/base/Android.mk
aef439e6f825c0cb99a2ac08c8207f48b7a9fe10 28-Sep-2009 Nick Pelly <npelly@google.com> Move android.bluetooth.ParcelUuid to android.os.ParcelUuid

Change-Id: I564429d5c5b6a5372b6ff26a53b0d7e518b53631
/frameworks/base/Android.mk
1cdf932b97223c7a5468620054829c24c65d1212 18-Sep-2009 Scott Main <smain@google.com> add Eclair to the droiddoc 'since' options so that we
can see API Level diffs in the docs.
/frameworks/base/Android.mk
361ec7711aa689aa70c5473348f4a1bc91bc1c06 15-Sep-2009 Alex Gruenstein <alexgru@android.com> do not merge. Revert "do not merge. Remove voicesearch-specific functionality from framework."

This reverts commit f1b64f64ab088a3e8cd32ec31f61c958c61d19e5.

It also updates RecognitionResult.java with changes made while it was in the voicesearch branch.

Change-Id: Ibffbe25397628a01ec49393a23c1825cef116501
/frameworks/base/Android.mk
618ded26c61afbf907e72b4568a4f4f1c6c287a7 03-Sep-2009 Dirk Dougherty <ddougherty@google.com> am a6602f1f: Add docs for SDK update. Add redirects for preview files. Manually integrate a few doc changes from cupcake.

Merge commit 'a6602f1fe4590e48c760f21ce29a92629240c463' into eclair

* commit 'a6602f1fe4590e48c760f21ce29a92629240c463':
Add docs for SDK update.
a6602f1fe4590e48c760f21ce29a92629240c463 28-Aug-2009 Dirk Dougherty <ddougherty@google.com> Add docs for SDK update.
Add redirects for preview files.
Manually integrate a few doc changes from cupcake.

Change-Id:I524d7dbf929371ee501599229894640660f352ce
/frameworks/base/Android.mk
d2227277d405fc368c1baf1a80c2d600dca96145 29-Aug-2009 Scott Main <smain@google.com> am a84a26d2: Merge change 23241 into donut

Merge commit 'a84a26d2afab503ed32e6ecc94acba46a5eb9eb3' into eclair

* commit 'a84a26d2afab503ed32e6ecc94acba46a5eb9eb3':
add searchable dictionary to html docs and dev guide nav
689d16be5e091545371ef5f5ff4ed25649520bc3 29-Aug-2009 Scott Main <smain@google.com> add searchable dictionary to html docs and dev guide nav
and add screenshots.
/frameworks/base/Android.mk
22d1f9fb23015471de6af1a70e40fb5c82ecb665 19-Aug-2009 Danke Xie <dankex@qualcomm.com> gps: Network initiated SUPL

Initial contribution from Qualcomm.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/Android.mk
e120cfd49fa27d04ed119e6922568eca2a9d6f9e 25-Aug-2009 Scott Main <smain@google.com> am b385508d: Add more code samples to the online docs. Add build rules to include the development samples in the droiddoc build process. Add all the sample screenshots to a new samples/images/ directory Revise the samples homepage to include links to new samples

Merge commit 'b385508d89747e4c383979f1cc6fa2814b1cedbd' into eclair

* commit 'b385508d89747e4c383979f1cc6fa2814b1cedbd':
Add more code samples to the online docs.
b385508d89747e4c383979f1cc6fa2814b1cedbd 24-Aug-2009 Scott Main <smain@google.com> Add more code samples to the online docs.
Add build rules to include the development samples in the droiddoc build process.
Add all the sample screenshots to a new samples/images/ directory
Revise the samples homepage to include links to new samples
/frameworks/base/Android.mk
6965666d34ec1fce0442707865dab3fc389df383 24-Aug-2009 Scott Su <scott.su@myriadgroup.com> Remove frameworks/base/im since these stuff are only used by IM app
/frameworks/base/Android.mk
f1b64f64ab088a3e8cd32ec31f61c958c61d19e5 21-Aug-2009 Alex Gruenstein <alexgru@android.com> do not merge. Remove voicesearch-specific functionality from framework.
/frameworks/base/Android.mk
bd022f423a33f0794bb53e5b0720da2d67e4631c 15-Aug-2009 Nick Pelly <npelly@google.com> Bluetooth: API change.

Split BluetoothDevice into BluetoothDevice and BluetoothAdapter.

BluetoothAdapter: Represents the local BT adapter. Operations on the local
adapter (start a scan, etc).
BluetoothDevice: Represents a remote BT device. Operations on remote devices
(pair, connect, etc).

IBluetoothDevice.aidl -> Bluetooth.aidl
BluetoothDeviceService.java -> BluetoothDeviceService.java

TODO:
Javadoc
/frameworks/base/Android.mk
4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 09-Aug-2009 Dianne Hackborn <hackbod@google.com> Very primitive wallpapers in a surface.

This is all of the basic pieces:

- The WallpaperService now creates a surface with the window manager for its
contents.
- There is a simple service that displays a bitmap.
- The wallpaper manager takes care of starting and stopping the service.
- The window manager knows about wallpaper windows and how to layer them with
the windows that want to be shown on top of wallpaper.

Lots and lots of issues remain, but at this point you can actually write a
wallpaper service, select it in the UI, and see it behind an activity.
/frameworks/base/Android.mk
5e72709d38b94db2563928a3ce6b725a60594bf7 06-Aug-2009 Dirk Dougherty <ddougherty@google.com> resolved conflicts for merge of f11d7d55 to master
f11d7d559a6cd866bbffaead39da9f6a84919ecc 06-Aug-2009 Dirk Dougherty <ddougherty@google.com> Add support for preview SDK handling in doc templates. Add preview SDK docs.

Bug: 2031559
/frameworks/base/Android.mk
8cc6a5026aeb5cf9cc36529426fe0cc66714f5fb 06-Aug-2009 Dianne Hackborn <hackbod@google.com> First bit of wallpaper work.

This is mostly refactoring, adding a new WallpaperManager class that takes care
of the old wallpaper APIs on Context, so we don't need to pollute Context with
various new wallpaper APIs as they are needed. Also adds the first little
definition of a wallpaper service, which is not yet used or useful.
/frameworks/base/Android.mk
fcc638dbba28f1804fb0f83b6f6964f8a408e4c9 03-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> am 7a3e39ca: Merge change 9378 into donut

Merge commit '7a3e39cac812b6ec63fade9613bb0c1f04156fa0'

* commit '7a3e39cac812b6ec63fade9613bb0c1f04156fa0':
add "since" info for reference docs