History log of /frameworks/base/Android.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bfc4fcde9f756337fc8d0867ff04549b08688fff 06-Jun-2017 Jeff Sharkey <jsharkey@android.com> Give Doclava our manifest; more permission docs.

We've seen some @SystemApi methods protected with non-system
permissions, so give Doclava the platform AndroidManifest.xml so it
can parse the actual permission protection levels to look for APIs
that are letting in non-system apps.

Also document more @SystemApi permissions.

This is purely a docs change; no logic changes are being made.

Test: make -j32 update-api
Bug: 62263906
Change-Id: Ie0f0a5fb0033817bcc95060f2183a52ae4ae7b06
/frameworks/base/Android.mk
ab3c8116781488ff35cc9e4f7b2a4fefd99d860e 10-May-2017 Jeff Sharkey <jsharkey@google.com> Merge "Start building SystemApi docs again; exact output." into oc-dev
05461c0a465e8dec1bb79287aea3890464042281 10-May-2017 Jeff Sharkey <jsharkey@android.com> Start building SystemApi docs again; exact output.

Now that we've fixed the docs build we can enable it again. Also
start using the new "-exactApi" feature to get a file with exactly
the annotated APIs instead of a giant superset. (This makes it
easier to compare diffs between releases.)

Test: make update-api && make -j32 online-system-api-sdk-docs
Bug: 38146029
Change-Id: Ib6d5d931f71ac4f50bf3223c25b50ed5765406a3
/frameworks/base/Android.mk
3de110bbb7f30090b4eae0e4edbf97c5819c4658 04-May-2017 Abodunrinwa Toki <toki@google.com> Remove redundant TextClassificationService

Text classification is now being done entirely in the app's proccess.
See android.view.textclassifier.TextClassificationManager
Reverts Ic428d00f291e268211866b3fc6b7acbc3eb04e1e

Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Fixes: 36852122
Change-Id: Iffff3ab6e7d3b761576eb6bdcd5032db34b7a1b2
/frameworks/base/Android.mk
5df218c5c46f2d363db9b5dd603c65badddcc722 26-Apr-2017 Jakub Pawlowski <jpawlowski@google.com> Merge changes I8f5a756a,I2bac468f,I043dfefa,I2c55f96e into oc-dev

* changes:
Bluetooth: expand comments on new PHY constants
Bluetooth: document status value in PHY read/update
Bluetooth: Add handler parameter to connectGatt
Get rid of the IAdvertiserCallabck
a00c7c0a9983e30e4dcbc4f7ae847a26d9ea614f 26-Apr-2017 Jeff Sharkey <jsharkey@google.com> Merge "Fix some issues found by new doclava linter." into oc-dev
d2ac8b94e7e9909bcf302a72d0055bfa73bc22ac 19-Apr-2017 Jakub Pawlowski <jpawlowski@google.com> Get rid of the IAdvertiserCallabck

Bug: 30622771
Test: none
Change-Id: I2c55f96e71cd3be67f88201ab07c91730cd85971
(cherry picked from commit 89e10d3eb4a4728ffdb5a5eba76d772d28bcb855)
/frameworks/base/Android.mk
0f3f60b576aedc78524d50da3dadada2201e63c2 25-Apr-2017 Jeff Sharkey <jsharkey@android.com> Fix some issues found by new doclava linter.

Add missing API annotations for permissions and SdkConstants, and
invoke doclava with new "-android" flag.

Test: make -j32 offline-sdk-docs
Bug: 37526420
Change-Id: I970bb2655eb568fd25004636f134c794663a6c33
/frameworks/base/Android.mk
7d70c8a085781e8213c41da6263b8f99cd486061 15-Apr-2017 Nathan Harold <nharold@google.com> Remove the docstring dependency on telephony-common

There should no longer be a requirement for frameworks/base
to rely on telephony-common, so we should remove this
possible source of circular build dependency.

Bug: 37360341
Test: checkbuild
Change-Id: I3cc198e25e3b4cfb7c0796246f6b3c4a7733e828
/frameworks/base/Android.mk
e52a1bfede79f87a75c498730860796ba74dea83 14-Apr-2017 Andrew Scull <ascull@google.com> Merge "Service for OEM lock management." into oc-dev
f13eb2e0c7f6c398464620f21c52490ce43f01c7 13-Apr-2017 Andreas Huber <andih@google.com> Changed the naming scheme for Treble java libraries (both static and dynamic)

android.hardware.foo@1.0-java => android.hardware.foo-V1.0-java

Bug: 37207894
Test: make
Change-Id: Ica91a6813956f4ea99001c5f427be94865e48fde
Merged-In: I2d8912dc752f904188457c3e6dac10da1afd287a
/frameworks/base/Android.mk
f20a037ba2a6990bb51ad40ee18c7af18464f620 11-Apr-2017 Svet Ganov <svetoslavganov@google.com> Move API for disabling an autofill service to the manager

Test: the topic has a CTS test

bug:37170723

Change-Id: I2be18968ea8df0fd3fb070fe2efc3e811b0e5a76
/frameworks/base/Android.mk
38a6da6473563ce2dcee360cabe1183c2a7c926e 05-Apr-2017 Kang Li <kanlig@google.com> Add a service to rank apps for ResolverActivity.

bug: 36952725,30982298

Test: used PTP before and after this fix.

Change-Id: I5b249af2dd0d9fe32d1e524e8d2675c863e92b5b
/frameworks/base/Android.mk
b077f6abd3ca76941d98bad2986a6cf06ec03d26 06-Apr-2017 Nathan Harold <nharold@google.com> Merge changes from topic 'ipsec-svc-pick' into oc-dev

* changes:
Fix Log Traces for IpSecService
SystemServer: fix StartIpSecService trace and log
Add Initial IPsec APIs to IpSecService
IpSecManager and IpSecTransform API Cleanup
Change reserveSecurityParameterIndex() to take a remoteAddress
Add a Skeleton IpSecService
b24399547c931dfcb9e6046072ee9c0f682464ac 05-Apr-2017 Kang Li <kanlig@google.com> Merge "Revert "Add a service to rank apps for ResolverActivity."" into oc-dev
c88749fb5a8de40572582e6eceefd46cda3afa2d 05-Apr-2017 Kang Li <kanlig@google.com> Revert "Add a service to rank apps for ResolverActivity."

This reverts commit 90370e0b2497deba9382ab7ff1539b6849df8139.

b: 36952725

Change-Id: Ifa8f182c707cdbbc989b1f61630f7a8fa856d32d
/frameworks/base/Android.mk
cbb58ecc866f90b2fe829b808a65652376006c24 02-Mar-2017 Nathan Harold <nharold@google.com> Add a Skeleton IpSecService

-Add IpSecService with the necessary glue to connect to netd
-Add code to retrieve IpSecService from System Server

Bug: 30984788
Test: b/34812052, b/34811227
Change-Id: I4cdcb643421141202f77a0e2f87a37012de0cd92
(cherry picked from commit 28084d89ec136b56f5012be33a0dea147962f9f6)
/frameworks/base/Android.mk
6df90fa53beda112e3abb1d4046fe47ee4e60049 04-Apr-2017 Kang Li <kanlig@google.com> Merge "Add a service to rank apps for ResolverActivity." into oc-dev
eabb5621dd67a159500c7a35eaa2f7999004c004 04-Apr-2017 Chris Craik <ccraik@google.com> Merge "Revert "Switch libplatformproto to sharedlib"" into oc-dev
2ac969827115c1b8bc86d9017eb1c7c1d5421b10 04-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Reorganize font enumeration API." into oc-dev
90370e0b2497deba9382ab7ff1539b6849df8139 14-Mar-2017 Kang Li <kanlig@google.com> Add a service to rank apps for ResolverActivity.

bug: 30982298
Test: manual - shared images in Camera, texts in Messenger, and webpages
in Chrome.

Change-Id: If335c269ca54145839ad8fd4b3f9b93a74b550f8
(cherry picked from commit 35b9e3015565850e9de963e4bda1be227825df5d)
/frameworks/base/Android.mk
817b4947397dc01d0c066ae847a3efd0e4a84a24 03-Apr-2017 Chris Craik <ccraik@google.com> Revert "Switch libplatformproto to sharedlib"

Bug:36847782

This reverts commit e5549d414c7231ee0037cf413dad17e28b8905ba.

Change-Id: I38f1c501b7e40be11ba5f0a7a50651e0c3e41fc5
/frameworks/base/Android.mk
ff55115121a7a2753ba2265cb3201a3a14c0874d 29-Mar-2017 Seigo Nonaka <nona@google.com> Reorganize font enumeration API.

This CL cleans up APIs around font variation settings.
- Remove FontConfig and FontManager public API.
- Remove FontManagerService from system service.
- Extract inner class FontConfig.Axis as top-level class FontVariationAxis.
This is used by Typeface.Builder public API to create new Typeface.
- Introduce and expose FontVariationAxis utility functions from/to string.
- Throws if the invalid font variation settings is passed.

Test: android.text.cts.FontVariationAxisTest passes
Test: android.graphics.cts.TypefaceTest passes
Test: android.graphics.cts.PaintTest passes
Change-Id: I9ccafe7a53935960566243e2856e166878ca59ae
/frameworks/base/Android.mk
dcc792a13feeb6c79d8740c1fcb875fbeb76b4bc 03-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Persistent connection to DO/PO service." into oc-dev
3b8b46f3a46ccf35a6bb6a828af0f2d011cc9abe 13-Feb-2017 Andrew Scull <ascull@google.com> Service for OEM lock management.

The new service separates OEM lock management from the implementation.
Currently, a user restriction (DISALLOW_OEM_UNLOCK) and the persistent
data block have been used to implement OEM lock management. In future,
other implemention will be used e.g. a secure element.

The new API also allows for a signature to be passed when changing
whether the device is allowed to be OEM unlocked by the carrier which
can be used for cryptographic protection of the flag.

Bug: 34766843
Test: gts-tradefed run gts -m GtsOemLockServiceTestCases -t com.google.android.oemlock.gts.OemLockServiceTest
Test: cts-tradefed run cts -m CtsPermission2TestCases -t android.permission2.cts.PrivappPermissionsTest
Change-Id: I01660d7605d297f273d43436ca03d64ff611b6cf
/frameworks/base/Android.mk
fc73d799e95f512628da326b0e69ea314f92a5aa 22-Mar-2017 Makoto Onuki <omakoto@google.com> Persistent connection to DO/PO service.

Test: Manual test with customize API tests; CTS coming.
Change-Id: I1d7eaa4b1fdd20726c1832c736d32f934c6a82f9
/frameworks/base/Android.mk
e5549d414c7231ee0037cf413dad17e28b8905ba 30-Mar-2017 John Reck <jreck@google.com> Switch libplatformproto to sharedlib

libplatformprotos is really really unhappy if it gets
loaded twice into the same process which trivially happens
if it's a static library. Switch it to a shared library
instead to fix this.

Change-Id: I90297d076d0739bab683fbd9607d7fc0884a002d
Fixes: 36272398
Test: Ran hwui_unit_test, didn't crash
/frameworks/base/Android.mk
39f285d5a75f653d2d2309b47cfaa143da42a0ca 21-Mar-2017 Shubang <shubang@google.com> Sync the constants in HAL and framework

Test: Build and flash device

Bug: 36233336
Change-Id: Ie81862825b601bdafd7653564d7393686d54f531
/frameworks/base/Android.mk
1d978329df70f3b9a646a0feddf6972a1a76a262 27-Mar-2017 Jakub Pawlowski <jpawlowski@google.com> Merge "Bluetooth GATT callback naming fix "Ext" -> "" (1/2)" am: beb8ceada8 am: cfe099b01d
am: b4e8fd65bf

Change-Id: I31be1d92cf7ad95214bf353dca20b990a280f996
cfe099b01d676357a44c6fbfe3bd646319e97300 27-Mar-2017 Jakub Pawlowski <jpawlowski@google.com> Merge "Bluetooth GATT callback naming fix "Ext" -> "" (1/2)"
am: beb8ceada8

Change-Id: Ie88e330a1d50adac8c6b83581079c6096c4d898a
d7116bea0698f58e93003d2046411a2624dd1ab1 27-Mar-2017 Jakub Pawlowski <jpawlowski@google.com> Bluetooth GATT callback naming fix "Ext" -> "" (1/2)

Gatt callback don't need the "Ext" postfix, as it was removed from new
API.

Test: manual
Bug: 30622771
Change-Id: I54596ffdcb818343cc313123266cfa16291c6236
/frameworks/base/Android.mk
4753bb0c34e068f57fff208529836a7688b3ef41 23-Mar-2017 Felipe Leme <felipeal@google.com> Make auto-fill UI robust

Now the autofill UI tracks the movement of the anchor view,
both real and virtual and while still preventing the filled
app from accessing the chooser UI. This was achieved by using
a popup window in the app process to determine the window
location and adding a window presenter interface to popup
window that controls the actual window addition, removal, and
update which is implemented by the system server.

Test: all autofill CTS tests pass

bug: 36392498
bug: 35708258
bug: 34943932
fixes: 36039182
fixes: 36493078

Change-Id: I0321913b2e2e759f4b17003bf85cb873e63a467c
/frameworks/base/Android.mk
229ce701279110080dd9e4241637cc72347eb5d8 22-Mar-2017 Scott Main <smain@google.com> Merge "Move the resourcesdir option to the global options so that all doc builds put framework images in the right place."
327dfaa6592b156bd2a7ecbe311699c557a6b6b8 21-Mar-2017 Steven Thomas <steventhomas@google.com> Merge "Revert "Revert "Add remote callbacks for persistent vr mode"""
c79d4388de8cd2de15a077bf840ee03194db1c75 21-Mar-2017 Colin Cross <ccross@android.com> Merge "Remove libtextclassifier from local shared libraries."
f8cdfc875453ba7a5b83a999a40feb0a9cdbf913 21-Mar-2017 Scott Main <smain@google.com> Move the resourcesdir option to the global options
so that all doc builds put framework images in the right place.

Change-Id: Id7777bf658522df64053380ffd4f4e580dded74d
/frameworks/base/Android.mk
b70845c708a8c402219f05d26edaea38713e13c3 16-Mar-2017 Steven Thomas <steventhomas@google.com> Revert "Revert "Add remote callbacks for persistent vr mode""

This reverts commit 2abf1c60cc2fc6ec9bc590cb35e94581ecf93c2e.

We need the ability to register remote callbacks for persistent vr mode,
so vr flinger can register for persistent vr mode events.

Bug: 35885165

Test: Manually confirmed vr flinger can register and receive persistent
vr mode events.

Change-Id: I7713c4c8acae9a369fd0c06695ef712fddd12be8
/frameworks/base/Android.mk
9d937df36ac07c517dd80b076c5c43d450e16774 21-Mar-2017 Colin Cross <ccross@android.com> Remove libtextclassifier from local shared libraries.

Move libtextclassifier from LOCAL_SHARED_LIBRARIES to
LOCAL_REQUIRED_MODULES so that it is still installed to the
system image but not linked against libandroid_runtime. Avoids
ODR issues between libprotobuf-cpp-lite and libprotobuf-cpp-full.

Test: Checked that libtextclassifier is still built into the system image
but not linked to libandroid_runtime.
Bug: 36350884
Change-Id: I6e57b4323a84c14e05f1b9e463ce93625d9cb3d7
/frameworks/base/Android.mk
3b1ed1cb3d2939059bd4feec145d2ebb7aa959bd 21-Mar-2017 Jin Qian <jinqian@google.com> Merge "Revert "Add remote callbacks for persistent vr mode""
2abf1c60cc2fc6ec9bc590cb35e94581ecf93c2e 21-Mar-2017 Jin Qian <jinqian@google.com> Revert "Add remote callbacks for persistent vr mode"

This reverts commit 504c6d67d0c2e4cda5201372551914f94acce710.

Change-Id: Ia0f8d508272211736d421cf097abaa0bcbc3abab
/frameworks/base/Android.mk
de2ea835636e2c6d8c39fd5926dd44867ce43ad7 21-Mar-2017 Steven Thomas <steventhomas@google.com> Merge "Add remote callbacks for persistent vr mode"
7121697a5e2d4458f6f63e9eb3b5deec62ee6202 31-Jan-2017 Michael Wright <michaelwr@google.com> BZZZZZZT! BZZZZZT! New Vibrator APIs

Replace the existing Vibrator APIs with a new class to encapsulate the
haptic effect information, and add the ability to control the vibration
strength.

Test: cts-tradefed run commandAndExit cts-dev -m CtsOsTestCases -t android.os.cts.VibratorTest
cts-tradefed run commandAndExit cts-dev -m CtsOsTestCases -t android.os.cts.VibrationEffectTest
runtest systemui-notification
Manual testing with $T/google_experimental/users/michaelwr/Vibrator

Bug: 30961353

Change-Id: Idbb9864a7b084c85e7b7de3257a0e6b40d9d91d6
/frameworks/base/Android.mk
a46d97784944cf66058dcd5d601b7346cc9c862c 17-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix libplatformproto includes/export includes"
349907c1ad592b172f2cc6faf52250932c9be620 17-Mar-2017 Dan Willemsen <dwillemsen@google.com> Fix libplatformproto includes/export includes

The host versions of these were pointing to the target generated
sources, without having proper dependencies added. But the build system
already handles these adding these to your local and exported include
directories, so just remove them.

Bug: 36365556
Test: m -j libhwui incident_report incident-section-gen
Change-Id: I52024508eabd8d10899c307c950fe045ff66ab25
/frameworks/base/Android.mk
504c6d67d0c2e4cda5201372551914f94acce710 16-Mar-2017 Steven Thomas <steventhomas@google.com> Add remote callbacks for persistent vr mode

We need the ability to register remote callbacks for persistent vr mode,
so vr flinger can register for persistent vr mode events.

Bug: 35885165

Test: Manually confirmed vr flinger can register and receive persistent
vr mode events.

Change-Id: I28ee7f4e103fc53ae3e5d8e692cb2f6fa7bdbc82
/frameworks/base/Android.mk
ba6a916a7cc6443378e16c663bd927b37f105a0a 10-Mar-2017 Alan Viverette <alanv@google.com> Allow the support library to add its own droiddoc options

Bug: 35707648
Test: make docs
Change-Id: I84168f94f5c3fa5ef3c50883df30812df2cff791
/frameworks/base/Android.mk
fc3c9d0e9ec7db80b8e139a5306247908c923ccc 08-Mar-2017 Jakub Pawlowski <jpawlowski@google.com> Merge "Bluetooth 5 Advertising API"
am: 1bb08c25b8

Change-Id: Ifd95aacf025929d3c9f5a1762f31ed20c26fabfd
4f6034160c625525543e8e2b933c3dac539e04f2 08-Mar-2017 Jakub Pawlowski <jpawlowski@google.com> Merge "Bluetooth 5 PHY selection API"
am: 104eeedb42

Change-Id: I0ee2daaf0771b405c8a14598a70459879d31c953
8acd7391bdcbf560c1a5137731887f2631e1b27d 08-Mar-2017 Jakub Pawlowski <jpawlowski@google.com> Merge "Bluetooth 5 periodc scan API (1/2)"
am: f1d76a71c8

Change-Id: I7b68746e3dc02a12d13380a90bcf26cebfd31f16
a9d1a32e5e51ebc3c141370c9d5045c6c938aaf9 10-Jan-2017 Jakub Pawlowski <jpawlowski@google.com> Bluetooth 5 Advertising API

Test: manual
Bug: 30622771
Change-Id: Id6856e6110872ec50ff1af54ddc75c0104a6459c
(cherry picked from commit 5324a14cf490656269ef862d7f8f6b139a21c0e6)
/frameworks/base/Android.mk
409cee69b2b09bcd11f1273752c016116436f247 02-Feb-2017 Jakub Pawlowski <jpawlowski@google.com> Bluetooth 5 PHY selection API

Bug: 30622771
Test: manual
Change-Id: I50262a56a70466439f9700549c3c0e7bd49e2e8d
(cherry picked from commit db5a87d50db9d4b3d642603f6c329b83ee5851f6)
/frameworks/base/Android.mk
ac7fcfa36160f1ce8b1ba8e0a3a90338a99a02a4 16-Jan-2017 Jakub Pawlowski <jpawlowski@google.com> Bluetooth 5 periodc scan API (1/2)

Bug: 30622771
Test: manual
Change-Id: I61853bc71f6013e9406d1d151bb51ea4484bb92c
(cherry picked from commit a48e03745becc96181c676dc3d194d0572f11c10)
/frameworks/base/Android.mk
5324a14cf490656269ef862d7f8f6b139a21c0e6 10-Jan-2017 Jakub Pawlowski <jpawlowski@google.com> Bluetooth 5 Advertising API

Test: manual
Bug: 30622771
Change-Id: Id6856e6110872ec50ff1af54ddc75c0104a6459c
/frameworks/base/Android.mk
db5a87d50db9d4b3d642603f6c329b83ee5851f6 02-Feb-2017 Jakub Pawlowski <jpawlowski@google.com> Bluetooth 5 PHY selection API

Bug: 30622771
Test: manual
Change-Id: I50262a56a70466439f9700549c3c0e7bd49e2e8d
/frameworks/base/Android.mk
a48e03745becc96181c676dc3d194d0572f11c10 16-Jan-2017 Jakub Pawlowski <jpawlowski@google.com> Bluetooth 5 periodc scan API (1/2)

Bug: 30622771
Test: manual
Change-Id: I61853bc71f6013e9406d1d151bb51ea4484bb92c
/frameworks/base/Android.mk
31b0486d1b3bef3d84759299442146d054665505 07-Mar-2017 Alan Viverette <alanv@google.com> Merge "Add "since" annotations for Support Lib in framework docs build"
a485f71fd77302f31daa0d6ae29f6802a61eddcf 06-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Refactor EphemeralResolverService"
1fb3404b2ba69a823e961bec2d9ed61622107052 01-Mar-2017 Todd Kennedy <toddke@google.com> Refactor EphemeralResolverService

* Change name to InstantAppResolverService
* Left old service in place to handle existing client
[to be removed prior to O launch]
* When resolving phase II, return a list instead of a single item

Bug: 34763730
Test: Build and verify resolution occurs w/ legacy & new resolver service
Change-Id: Ieccaf91538bd91c04f4be4e35d8264619d7cd6d7
/frameworks/base/Android.mk
75dbc8f9c16cd148b60cdfab2ea892c6398a90ad 03-Mar-2017 Billy Lamberta <blamb@google.com> Set hdf var 'dac' to true in droiddoc options.
Allows for DAC template customizations in Doclava.

Test: make offline-sdk-docs
Change-Id: I11aa79eeba2f7440fa68ee92276eecec6db7f836
/frameworks/base/Android.mk
63394b734646fa8f6199870ca74822a84299704c 19-Dec-2016 Alan Viverette <alanv@google.com> Move framework-specific portions of pathmap.mk into frameworks/base

Test: make docs && make
Change-Id: I983a17bed8b14b6d94f7c4d3e900f4bb8bb34b86
/frameworks/base/Android.mk
7ad11281378a1248c08c703b14cfc681e37cac1b 28-Feb-2017 Svet Ganov <svetoslavganov@google.com> Allow auto-fill services to disable themselves

1. Added a new API for a connected auto-fill service to
disable itself

2. Added a new shell command to destroy all pending sessions
which is used in CTS tests

3. Fixed a bug where the unbind timeout was in minutes
instead of seconds

Test: wrote CTS tests, all auto-fill tests pass

bug:35848030

Change-Id: I681605aa0b8c004a0f14e30b57117c291d89a894
/frameworks/base/Android.mk
158cd7b1f2aac1e076ef43debd0ec882a9f2c822 28-Feb-2017 Jaewan Kim <jaewan@google.com> Merge "Add callback for AVRCP 1.6 support"
bd16f457a181b8dd32305cedc71ea492a3450739 03-Feb-2017 Jaewan Kim <jaewan@google.com> Add callback for AVRCP 1.6 support

Bug: 33828042
Test: Build
Change-Id: Iaf5cecfa38065cfeed096929952559d7cb2e248b
/frameworks/base/Android.mk
c1e701d03f4e8353c0287152d20afbc7f0c13569 28-Feb-2017 Chong Zhang <chz@google.com> MediaCas: move *.aidl files from frameworks/base to frameworks/av

PDK builds can't reference frameworks/base from frameworks/av.

bug: 22804304
Change-Id: Ibcda0b6a56e36233ad37c2d5d2b03d5c58674010
/frameworks/base/Android.mk
38b5053209d84247db69b550e466ab56305bb2b9 24-Feb-2017 Alan Viverette <alanv@google.com> Add "since" annotations for Support Lib in framework docs build

Bug: 35707648
Test: make docs
Change-Id: I74729254d0002c739ec23cb7473157fc2b8e92bb
/frameworks/base/Android.mk
05b9926a2cae29904e8c60f74e654cea88c8c5b3 23-Feb-2017 Scott Main <smain@google.com> Add API 'since' tag for O dev preview (current.txt)

Change-Id: I10ffd161f9249794df7d263a11703fbca0d88451
/frameworks/base/Android.mk
13a80432a603538154e4159bd9fe17aa5a16827a 23-Feb-2017 Scott Main <smain@google.com> Merge "switch all droiddoc builds to use templates-sdk from doclava"
15d10517cfbab44f31ec9831f5683b0ee2f7fcde 23-Feb-2017 Chong Zhang <chz@google.com> Merge "MediaCas: add framework APIs"
15b85174246a490c41ce333c62d585c9327b0bba 21-Feb-2017 Scott Main <smain@google.com> switch all droiddoc builds to use templates-sdk from doclava

Change-Id: I9007f4d49a3076e8b38a2c97e936cf6d6710e87a
/frameworks/base/Android.mk
d5927ae8833780395f8fc5070d0a0a4f8f668292 03-Jan-2017 Chong Zhang <chz@google.com> MediaCas: add framework APIs

Java API changes to support MediaCas framework.

Also add partial-frame related enums to MediaCodec,
MediaCodecInfo, and MediaExtractor as a way to indicate
a input frame contains partial data.

Test: basic test app and test plugin to execise the code path;
impelenting playback of CAS-secured MPEG2TS streams, including
a Widevine-based CAS plugin, locally modified ExoPlayer and
Android TV Tuner input.

bug: 22804304
Change-Id: Ia4ba1d4046f7588e42bfb21e726390457d2fc8e3
/frameworks/base/Android.mk
95cb226c1a4ff47531da65ef2617ade0dea5c9b8 11-Jan-2017 Hugo Benichi <hugobenichi@google.com> IP connectivity metrics: cleanup obsolete code

This patch cleans obsolete code related to IP connectivity metrics:
- remove @SystemApi on android.net.metrics: now that metrics events
are processed and serialized in the frameworks only, event classes
should not appear in the system apis.
- remove obsolete Logger classes: ConnectivityMetrics app was the
unique user of ConnectivityMetricsLogger until nyc-mr1. From nyc-mr1
the app started using dumpsys to get metrics for IpConnectivity and
Telephony, which made ConnectivityMetricsLogger obsolete.
- simplifications in MetricsTestUtil

Test: - runtest frameworks-net
- manually verified $ adb shell dumpsys connmetrics
Bug: 30054585
Bug: 32648597
Change-Id: I85ef65f7f69eb9299e4636cc7af54067201d9daf
/frameworks/base/Android.mk
f9bd2944694539f1dce74d420156cc50bbb4af14 21-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Overhaul GraphicsStatsService"
df1742ed47da1e9b61afeae16fa448d5302a8aa0 20-Jan-2017 John Reck <jreck@google.com> Overhaul GraphicsStatsService

* LRU cache of recently-used is dead, replaced
disk storage
* ASHMEM size is read from native by the system service,
no longer requires keeping a sizeof() in sync with a
constant in Java
* Supports dumping in proto format by passing --proto
* Rotates logs on a daily basis
* Keeps a history of the most recent 3 days

Bug: 33705836
Test: Manual. Verified log rotating works by setting it up to
rotate every minute instead of day. Confirmed /data/system/graphicsstats
only has the most recent 3 entries after several minutes

Change-Id: Ib84bafb26c58701cc86f123236de4fff01aaa4aa
/frameworks/base/Android.mk
58229846d03ce719c5a6ef94975b57f4ed21e87a 21-Feb-2017 Daniel Nishi <dhnishi@google.com> Merge "First pass at adding the cache quota suggestions."
af736c9e996a8b0dcf287e6ff264c5a1f8ac50e8 18-Feb-2017 Colin Cross <ccross@android.com> resolve merge conflicts of e86b78a57404 to master

Test: none
Change-Id: I8bf02f8198d003c4453cc59b7a3bccdff688ca15
3c2c2764d4b141ee835b7c0725022e9af77c83a9 17-Feb-2017 Colin Cross <ccross@android.com> Merge changes I82aa8140,Ib62a5dd6,I2c4d64e2
am: 313e645801

Change-Id: Ia10d20ea4ebabc2cc84524950dec7570104b185f
313e645801e561dbf25320110ab4790a33720dae 17-Feb-2017 Colin Cross <ccross@android.com> Merge changes I82aa8140,Ib62a5dd6,I2c4d64e2

* changes:
Enable multidex for SystemUITests
Add missing transitive dependencies
Revert "Remove support of disabling Jack."
c9c8b590c5d51b54a84824270be49ddc16fd2a71 17-Feb-2017 Brad Ebinger <breadley@google.com> Merge "Adds @hide ImsService APIs" am: 2b879016d3
am: f46aa6f9ee

Change-Id: I12e10d796a7b2d56cacf8e9b53bb5e228b79ecc3
cf9d19e030830fd808d59f1c97edf65e66f675d6 23-Jan-2017 Daniel Nishi <dhnishi@google.com> First pass at adding the cache quota suggestions.

This currently integrates with installd, but not with
any framework API to expose this information to apps.

The first pass, as per the design doc, adds a service
which polls for large changes in the file system free space.
If enough spaces changes, it begins a recalculation of the
cache quotas and pipes the information down to installd.
This calculation is done in the updateable ExtServices.

Further enhancements in later patches include integrating this
to listen to package install and removal events, caching the
last computed quota values into an XML file on disk to load
on boot, and exposing the information to apps.

Bug: 33965858
Test: ExtServices unit test

Change-Id: Ie39f228b73532cb6ce2f98529f7c5df0839202ae
/frameworks/base/Android.mk
be2d3307e23f08bbc29e1b33b6aba9c7d05a5867 22-Dec-2016 Colin Cross <ccross@android.com> Revert "Remove support of disabling Jack."

This reverts commit ba068f48727dee2223b3be3b0359accb949e363d.

Test: builds
Change-Id: I2c4d64e26c2e4ceb710a39de2ee9749160d33a72
/frameworks/base/Android.mk
1639c21be6e7cd7699db4080fcf2ccc5cb2006e6 25-Jan-2017 Brad Ebinger <breadley@google.com> Adds @hide ImsService APIs

Adds @hide ImsService API implementations to be used for the new
dynamic ImsResolver.

1) ImsService - The main class that all vendor ImsServices will implement.
ImsServices that implement this method must return their implementations
of MMTelFeature when onCreateMMTelFeature is called. The base ImsService
class also relays all method calls through itself as a proxy. So, when
Telephony calls a method, the ImsService figures out which MMTelFeature
should be called (by slot) and then calls that feature's method
implementation.

2) MMTelFeature/RcsFeature - Implements the I*Feature interfaces, which
are used on both sides of the interface. The vendor implemented ImsService
must implement all methods provided in the I*Feature interface in their
implementation of *Feature that they return to the ImsService.

3) ImsServiceProxy[Compat] - The Proxy interface in telephony that will be
called in ImsManager. When a method in this class is called, it will call
the respective AIDL function: Telephony -> IImsServiceController AIDL ->
vendor ImsService -> vendor ImsFeature implementation.
ImsServiceProxyCompat is there to provide backwards compatibility with
older ImsServices that do not use the new ImsService implementations.
It implements all of the methods that are defined in the new I*Feature
interfaces and translates them to the old ImsService AIDL calls.

Test: Adds Unit Tests (see frameworks/opt/telephony)
Merged-In: Id3466c178384158c788ab1d708ab108bb95866fc
Change-Id: Id3466c178384158c788ab1d708ab108bb95866fc
/frameworks/base/Android.mk
15708a316bcfafc93aa1795fae65e83035270d88 25-Jan-2017 Brad Ebinger <breadley@google.com> Adds @hide ImsService APIs

Adds @hide ImsService API implementations to be used for the new
dynamic ImsResolver.

1) ImsService - The main class that all vendor ImsServices will implement.
ImsServices that implement this method must return their implementations
of MMTelFeature when onCreateMMTelFeature is called. The base ImsService
class also relays all method calls through itself as a proxy. So, when
Telephony calls a method, the ImsService figures out which MMTelFeature
should be called (by slot) and then calls that feature's method
implementation.

2) MMTelFeature/RcsFeature - Implements the I*Feature interfaces, which
are used on both sides of the interface. The vendor implemented ImsService
must implement all methods provided in the I*Feature interface in their
implementation of *Feature that they return to the ImsService.

3) ImsServiceProxy[Compat] - The Proxy interface in telephony that will be
called in ImsManager. When a method in this class is called, it will call
the respective AIDL function: Telephony -> IImsServiceController AIDL ->
vendor ImsService -> vendor ImsFeature implementation.
ImsServiceProxyCompat is there to provide backwards compatibility with
older ImsServices that do not use the new ImsService implementations.
It implements all of the methods that are defined in the new I*Feature
interfaces and translates them to the old ImsService AIDL calls.

Test: Adds Unit Tests (see frameworks/opt/telephony)
Change-Id: Id3466c178384158c788ab1d708ab108bb95866fc
/frameworks/base/Android.mk
da0acdf938f1d6e7a978e143d5d80d8dd5af52ad 15-Feb-2017 Svet Ganov <svetoslavganov@google.com> Auto-grant background execution and data access

Companion apps can declare they want background access and
background execution exceptions via dedicated permissions
in their manifest. If such a permission is requested we
auto-grant the corresponding exception after the user has
chosen a device from the companion UI. These permissions
are appop ones allowing us to use the app ops for gauging
whether the user has made a change after we auto-granted
the permission since we would like to revoke these special
privileges when the app disassociates itself from the
companion device if the user did not make an excplicit
choice otherwise.

While at this auto-grant fixed location permission to the
companion device discovery service.

Test: manual

Change-Id: I46ee4291e5e5a8f7613f0dd75eb61d6b9341f306
/frameworks/base/Android.mk
782043caf81055aa1c331e9cc15b24a10e1bf17a 11-Feb-2017 Svet Ganov <svetoslavganov@google.com> Refactor auto-fill

* Fix a layering issue where auto-fill manager which is in view
depended on activity which is in app

* Moved auto-fill classes to view or service based on their
purpose and removed dependecy on the classes in view to the
classes in service

* Push state to local auto-fill manager whether auto-fill is
enabled to avoid making IPC for every focus transition if
the user did not enable the feature

* Remove unnecessary offload to messages when handling calls
to auto-fill manager service as these are made over a oneway
interface and in general they do almost no work and typically
we do these on the binder thread

* Removed id from data set and fill response as the provider
can embed everything it needs to id them in the auth pending
intent

* Enforce the auth UI to be only an activity as this will work
with multi-window, recents, and back and also does not require
draw on top of other app special permission

* Authentication also no longer requires passing a remotable
callback to the auth activity but the activity handles the
request as if called for a result

* Handling stopping of a user to clean up in-memory state as
well as handling when a user gets unlocked as a provider may
be non-direct boot aware

* User the correct context when creating an auto-fill manager

* Move the receiver that listens for requests to hide system
windows to the manager service as the UI is a singleton and
no need every per-user state to register its own

* Removed extras from dataset as the only case a provider needs
to associate state with a dataset is for auth and the provider
can embed this data in the auth pending intent

Test: manual and CTS

Change-Id: I4bc54c13cf779d7f6fdb3ab894637f9fac73f603
/frameworks/base/Android.mk
b1f573dca3ccdd113ca513f32c9964211ca71c78 27-Jan-2017 Stefanot <stefanot@google.com> Add monitoring to backup in BackupManager.

This is the first CL of many that will add instumentation to
backup/restore operation in the BackupManager. For more details please
point to:
https://docs.google.com/document/d/1sUboR28LjkT1wRXOwVOV3tLo0qisiCvzxIGmzCVEjbI/edit#
This first Cl introduces 3 events that we sent to the monitor.

Test: ag/1858962 (same topic)

BUG: 34873525

Change-Id: I6c338b6fd9f4d7c8670dac201897250b6b170677
/frameworks/base/Android.mk
a0e468ac3358583ae34db510fe2fc33c832eb29a 09-Feb-2017 Yohei Yukawa <yukawa@google.com> Merge "Avoid sync IPCs from TSMS to SpellCheckerService"
7fa65eef203c4ed3ce00ddef96ccf311d3bfb58c 08-Feb-2017 Yohei Yukawa <yukawa@google.com> Avoid sync IPCs from TSMS to SpellCheckerService

Currently, TextServicesManagerServices uses an AIDL interface called
ISpellCheckerService when binding to a spell-checking service.
However, this interface uses synchronous (blocking) binder calls
rather than asynchronous (oneway) calls. As a result, there are
situations where the system process has made a blocking binder call
into untrusted application code from its main looper thread.

As general policy, the system process must never allow its looper
threads to block on application code.

This CL addresses the above issue by converting ISpellCheckerService
into oneway interface, which instead takes a result receiver
ISpellCheckerServiceCallback so that spell-checking services can
return results asynchronously.

Note that the above protocol issue was also the root cause of
Bug 5471520. Hence we can also logically revert the previous CL [1]
for Bug 5471520.

[1]: Iedf2c2cdd8d4834545d06d72ade3ce211b104b1d
4e713f14419a37f385cf1509b011982bdcf67edc

Test: Ran `adb shell dumpsys textservices` to check the
"Spell Checker Bind Groups:" section in the following three
steps.
1. Before apps start requesting spell checker sessions.
2. While apps are owning active spell checker sessions.
3. After all the apps that owned spell checker sessions are
gone.
Made sure that spell checker service is not running when
there is not spell checker bind group.
Bug: 7254002
Change-Id: I92e7aa40dc9ea14f67d355f0bfa15325b775d27b
/frameworks/base/Android.mk
e5d975cdffc29aa8f9390f001e15d2eb0f19ce82 08-Feb-2017 Wyatt Riley <wyattriley@google.com> Merge "GNSS Batching - Default Implementation"
cf879db3666523404ff7e15e77b11434732b4a06 12-Jan-2017 Wyatt Riley <wyattriley@google.com> GNSS Batching - Default Implementation

Connections from .hal layer, through to
Location Manager System APIs

Bug: 31974439
Test: builds, boots, ordinary GNSS & new GNSS batching
basic functional checks on Marlin
Change-Id: If75118c27b5ed34cfc16c9f817b60a3be5485095
/frameworks/base/Android.mk
6ed45d8cd33c297e608aba94fc1f61dace7a7cca 22-Jan-2017 Eugene Susla <eugenesusla@google.com> CompanionDeviceManager

This introduces an API for apps that support companion devices to provide a
more streamlined flow for pairing and setting up the device

Bug: 30932767
Test: Using a toy app, invoke the newly introduced API (CompanionDeviceManager),
and go through the flow. Ensure filtering works, and device is returned to
the calling app. Ensure the calling app can pair to the selected device.
Change-Id: I0aeb653afd65e4adead13ea9c7248ec20971b04a
/frameworks/base/Android.mk
0f4928f1f73407485d6d94beda1dba1a2360ebbf 03-Feb-2017 Svet Ganov <svetoslavganov@google.com> Refactoring of auto fill - lifecycle, auth, improvements

1. Move management of the remote fill service in a dedicated
class that abstracts away the async and ephemeral nature
of the binding.

2. Update auth to move fingerprint out of the platform and
allow response and dataset auth.

3. Cleaned up the fill and save callback classes.

4. The UI is now shared among all sessions and cleaned up.

5. Reshuffled the remote callbacks to have cleaner separation.

6. Cleaned up and tightened the reponse and dataset classes.

7. Added API to support communicationn with intent based auth.

Test: CTS + manually

bug:31001899

Change-Id: Idc924a01d1aea82807e0397ff7293d2b8470d4d6
/frameworks/base/Android.mk
27fcd9c97a2ceb50bab026237390207e5ee9e290 21-Jan-2017 Phil Weaver <pweaver@google.com> Accessibility can capture fingerprint gestures

Bug: 27148522
Test: Unit tests for two new classes in this CL, CTS in
linked CL.
Change-Id: Icb5113e00b1f8724814263b3cc7f72fe4a6f0b41
/frameworks/base/Android.mk
67024f1b8feac1f59fff6a123f45f18a70e80e4f 30-Jan-2017 Abodunrinwa Toki <toki@google.com> Merge "Implement TextClassification system service."
7d670b4f738df436ba8025ee2ae360ce070c2a7f 27-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "OMS: introduce the OverlayManagerService"
fca7aac5ecd995085b71a4d90b4862f68fbaeb45 27-Jan-2017 Chih-Hung Hsieh <chh@google.com> Work around clang-tidy segmentation fault.

This should affect only builds that call clang-tidy.
Without this change, clang-tidy has segmentation fault
when compiling several files in the incident_* directories.

Bug: 34740546
Test: build with WITH_TIDY=1 and
DEFAULT_GLOBAL_TIDY_CHECKS="*,-readability-*,-google-readability-*,-google-runtime-references"

Change-Id: Idfd46f36c01ccdd401eb54b750bc9d962c29ddeb
/frameworks/base/Android.mk
eabc9e95768e7ac9acc3b32dc9ac2edf99c9e2c5 15-Dec-2015 MÃ¥rten Kongstad <marten.kongstad@sonymobile.com> OMS: introduce the OverlayManagerService

Add a new system service to manage Runtime Resource Overlays. This will
offload the PackageManagerService and allow administration of overlay
packages while affected packages continue to execute.

Overlays can be enabled or disabled during runtime. Running applications
will re-create their ResourcesImpl objects and restart their activities
via the usual activity life cycle.

The order in which a set of overlays is loaded may also be changed
during runtime. The underlying mechanics are the same as for when an
overlay is enabled or disabled.

When an overlay changes state, e.g. becomes enabled, the
OverlayManagerService will broadcast one of the new intents
android.intent.action.OVERLAY_ADDED, *_CHANGED, *_REMOVED or
*.OVERLAYS_REORDERED.

Clients that wish to read information about overlays for users other
than themselves are required to hold the
android.permission.INTERACT_ACROSS_USERS_FULL permission. This mirrors
the protection level of PackageManager.getPackageInfo.

Clients that wish to change the information are required to
hold the permission android.permission.CHANGE_OVERLAY_PACKAGES.

Each pair of overlay package and corresponding target package is
respresented by a new OverlayInfo class. This class mirrors the
existing PackageInfo class.

Overlay packages are handled per Android user. The data is persisted in
/data/system/overlays.xml.

Co-authored-by: Martin Wallgren <martin.wallgren@sonymobile.com>
Signed-off-by: Zoran Jovanovic <zoran.jovanovic@sonymobile.com>
Bug: 31052947
Test: run tests from 'OMS: tests for OverlayManagerService'
Change-Id: I15325e173193df3240b8dc0a58c852fd7a3d5916
/frameworks/base/Android.mk
0f4a8ba209175bc61b9925508b4980cee3601f96 26-Jan-2017 Brad Ebinger <breadley@google.com> Merge "Adding Dynamic ImsService Binding (1/3)" am: 8e6b13a1c0 am: 64057ab972 am: 2741442324
am: ded1df24e0

Change-Id: Ifd95efa076b7f5c8c8b02be7688aab1008bbc63c
ded1df24e01b7317593bbec84724b10f5444d5d9 26-Jan-2017 Brad Ebinger <breadley@google.com> Merge "Adding Dynamic ImsService Binding (1/3)" am: 8e6b13a1c0 am: 64057ab972
am: 2741442324

Change-Id: Ibd5c988226e7994c332a7e7f8b40a9338cf84e0f
2741442324618804cca953e30251864142e6302d 26-Jan-2017 Brad Ebinger <breadley@google.com> Merge "Adding Dynamic ImsService Binding (1/3)" am: 8e6b13a1c0
am: 64057ab972

Change-Id: I901c72a38b522c190e849de55078036adc80d8b6
64057ab972674ac0105af9e3a7003416f9a9c823 26-Jan-2017 Brad Ebinger <breadley@google.com> Merge "Adding Dynamic ImsService Binding (1/3)"
am: 8e6b13a1c0

Change-Id: I8534273da5579b7662e66f80a60348a4665dd65b
024aaf23881c142ba92194a001ac038253ae708e 24-Jan-2017 Brad Ebinger <breadley@google.com> Adding Dynamic ImsService Binding (1/3)

Adds support for dynamic ImsService Binding (change 1/3). Included
in this change:
- AIDLs for ImsServiceController
- ImsFeature/ImsServiceBase definitions
- KEY_CONFIG_IMS_PACKAGE_OVERRIDE CarrierConfig option

Test: Unit Tests in opt/telephony
Bug: 30290416
Change-Id: Ic4cb1d85a29681b08a6a525c588a72209862dcc3
/frameworks/base/Android.mk
b7cab6a19096458a7fafa905eed52db83759b6c6 25-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge changes from topic 'bisto-request'

* changes:
Allow privileged app to set media key event listener
Allow privileged app to set volume key long-press listener
d9793989834ec7dd3dfe645c6bfba50978c16253 25-Jan-2017 Badhri Jagan Sridharan <badhri@google.com> Merge "Refactor UsbPortManager to use the binderised USB HAL"
a393ff7dc7e7e7002a400d37868e0d6c14507b43 24-Jan-2017 Shreyas Basarge <snb@google.com> Merge "API to select backup transport"
6e2b01ce75fb1d5647d5d788d8a5644c30cb3068 20-Jan-2017 Jaewan Kim <jaewan@google.com> Allow privileged app to set media key event listener

If the media key listener is set, the listener will receive the media key
events before any other sessions, but after the global priority session.
If the event is handled by the listener, other sessions cannot get the event.

Privileged app needs permission android.permission.SET_MEDIA_KEY_LISTENER
to set the listener.

Bug: 30125811
Change-Id: I2b2cf4ac7873b70899194701c6921990dcb9de02
/frameworks/base/Android.mk
5026936e49540449165fd5881231f8970a29ea91 23-Dec-2016 Jaewan Kim <jaewan@google.com> Allow privileged app to set volume key long-press listener

If the volume long-press listener is set, the listener will receive
the volume key long-presses instead of chaging the volume.

Privileged app needs permission
android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER to set the listener.

Bug: 30125811
Change-Id: I5e8fafbb950e5e11522da0f14004648d0877bf3e
/frameworks/base/Android.mk
865303fce57b968f5bd7efb4dd23ccb1a3747b93 13-Jan-2017 Shreyas Basarge <snb@google.com> API to select backup transport

This cl adds an API to select a backup
transport by its component name and
receive a callback when BackupManager
is bound to the transport. Calling this API
will make BackupManager bind to the transport
if it isn't already bound to it.

Also fixes the issue where BackupManager would
detect only one transport per package.

Ref: go/backup-transport-switching

Bug: 33616220
Test: Manually tested. GTS tests will be put up shortly.

Change-Id: I8c23bdbb84ceb05eb1fad9b3a8b9c4441cb06c74
/frameworks/base/Android.mk
823287d28ed75f96cee31cf465220fcbcbc5c7ac 24-Jan-2017 Badhri Jagan Sridharan <Badhri@google.com> Refactor UsbPortManager to use the binderised USB HAL

Move to a USB HAL to handle type-c ports as upstream is
considering in merging a generic type-c interface to mainline
kernel. However, the new sysfs interface can see minor changes
in the future as the sysfs interface is sitll going to land
in testing and it is still under review.

Bug: 31015010
Test: Manually tested on Angler and sailfish for type-c role switches.
Change-Id: I26771074c4b4f79a133e519bc6d35a4864a696d8
/frameworks/base/Android.mk
04d72abde1efc963ebb2f145f859552e83b92d13 10-Jan-2017 Clara Bayarri <clarabayarri@google.com> Expose fonts.xml via public API with a service

This change creates a new FontManagerService, in charge of providing
font management data. It exposes a public API to retrieve the
information in fonts.xml without accessing it directly. To do this,
it also refactors FontListParser's internal classes into a new public
FontConfig class holding all the font data.

getSystemFonts() returns all the available information in fonts.xml
as well as file descriptors for all the fonts. This allows us to
share the memory consumed by these files between all clients.

Bug: 34190490
Test: See attached CTS change in topic
Change-Id: I0e922f8bcc9a197a1988d04071eb485328d66fb7
/frameworks/base/Android.mk
c565e1d3cea6f8db4fa0371b3cdb9fe11dbf4483 14-Dec-2016 Abodunrinwa Toki <toki@google.com> Implement TextClassification system service.

- This service provides the TextClassificationManager access to the
classification model file.
See: Icb82b707c9c1b4dcb739f44d888bbc43bc3b03bb
- This service is started at boot time.
See: Ie4a597bc5c6c4140afbcf7feaa9dd237a3fd5fef

Test: Manually tested. Also see: Ic2a5eceeaec4cd2943c6c753084df46d30511fee
Bug: 32503402
Change-Id: Ic428d00f291e268211866b3fc6b7acbc3eb04e1e
/frameworks/base/Android.mk
389b853bc88fd77a7dceecbb9fb02c0c05d90e6a 02-Dec-2016 Jeff Sharkey <jsharkey@android.com> DO NOT MERGE: Switch over to new "time.android.com" NTP pool.

Also add logging to measure success/failure details.

Test: builds, boots, and NTP fix obtained
Bug: 32969463

(cherry picked from commit d3f689bf14a05de735b5cc92dcf20e7226c78690)

(cherry picked from commit dda938a698a17b2943bbe78f6631a26dedabf28a)

Change-Id: I67e4f54f8f2ec69b6522fbbe06ef196b1084f44a
/frameworks/base/Android.mk
40e4645e6e564b962bb73c85c5325ec54ad34cc1 17-Dec-2016 Jim Miller <jaggies@google.com> Rewrite FingerprintService to use HIDL 2.1

Bug: 33199080
Test: Fingerprint enroll, remove, unlock, fingerprint arbitration.

Change-Id: I8b98236ba81f053527ee74c8a189af1adfd17d55
/frameworks/base/Android.mk
6d553874bed06280766ae24ea605f9bbde3f5a4a 09-Dec-2016 Felipe Leme <felipeal@google.com> YAMAFFR - Yet Another Major AutoFill Framework Refactoring

- Explicitly split View methods into Assist and AutoFill methods, rather
than use an overloaded method that takes flags.
- Simarly, renamed ASSIST_FLAG_SANITIZED_TEXT and
ASSIST_FLAG_NON_SANITIZED_TEXT flags to
AUTO_FILL_FLAG_TYPE_FILL and AUTO_FILL_FLAG_TYPE_SAVE respectively.
- Created a AutoFillUI class to host the auto-fill bar and other UI
affordances.
- Moved the temporary notifications to AutoFillUI (eventually that
class will host the real UI).
- Moved FillData to android.app.view.autofill package.
- Split IAutoFillCallback in 2 (IAutoFillAppCallback and
IAutoFillServerCallback, residing at the app and system_server
respectively), so service cannot fill the app directly (which lets
the framework control the UI).
- Moved assist's IResultReceiver to AutoFillServiceImpl so
system_server can act as a mediator between the AutoFillService
implementation and the app being auto-filled.
- Replaced FillData and FillableInputFields by a bunch of new objects:
- FillResponse contains a group of Datasets, each representing
different values
that can be used to auto-fill an activity (for example, different
user accounts), optional id of fields the service is interested
to save, and an optional bundle for service-side extras.
- Dataset contains a name, Fields, and an optional bundle for
service-side extras.
- Fields contain an AutoFillId (parcelable) and a value (Bundle)
- Changed the temporary notifications to emulate the new workflow:
- Initial notification requests the auto-fill data but do not
auto-fill.
- Once service calls back, a new notification is shown with the
results.
- Then if the user selects a dataset, the activity is auto-filled
with it.
- It also shows a notification to emulate what can be saved.
- Created an VirtualViewDelegate for views that uses a virtual
hierarchy for assist data.
- Added new methods on ViewStructure to add children with virtual ids.
- Added 2 methods on View to support auto-fill:
- autoFill(Bundle) to auto-fill the view.
- getAutoFillType() to return how the view can be auto-filled.
- AutoFillType defines the input fields that support auto-fill:
- Text fields (like EditText)
- Toggle fields (like CheckBox)
- Lists (like RadioGroup)
- AutoFillType can also have a sub-type representing its semantic (for
now only text fields have it, and it's the same as getInputType()).
- etc :-)

Bug: 31001899
Test: manual verification
Change-Id: I2dd2fdedcb3ecd1e4403f9c32fa644cb914e186f
/frameworks/base/Android.mk
9f7fd6c734527b33e40a9f0d8199c961d52694bb 10-Jan-2017 Geoffrey Pitsch <gpitsch@google.com> Merge "API improvements for creating NotificationChannels"
8dedad31f7fa604028ee6d28963bcc564e76c467 10-Jan-2017 Jeff Sharkey <jsharkey@android.com> Wire up storage stats API to installd.

Now that installd has the implementation details we need, we can wire
up the public APIs to use them.

Shuffle APIs around a bit so that StorageStats can be reused for both
UID and UserHandle results, and rename StorageSummary to
ExternalStorageStats. Provide getTotalBytes() and getFreeBytes() as
first-class methods so we can answer those questions quickly without
paying the cost of measuring external storage details.

Current costs on a typical device with a test account after flushing
dentry caches:

queryStatsForUid() manual: 6922ms
queryStatsForUid() quota: 525ms

queryStatsForUser() manual: 1686ms
queryStatsForUser() quota: 113ms

queryExternalStatsForUser() manual: 42ms
queryExternalStatsForUser() quota: 2ms

For verification purposes, a new "fw.verify_storage" system property
can be set to compute both manual and quota statistics, and log any
discrepancies.

Test: builds, boots
Bug: 27948817, 32206268
Change-Id: I4ea3df3372a7379aa8cf4c20c44120c8f0702c15
/frameworks/base/Android.mk
03533715295154f0bb66f84b7c25832d21156805 05-Jan-2017 Geoffrey Pitsch <gpitsch@google.com> API improvements for creating NotificationChannels

Remove listener for aysnchronous operation.
Allow multiple channel creation from a single call.
Silently no-op for creating existing channels.

Test: runtest systemui-notification
Change-Id: Ibc1340d21efa0c12d126bee437adcbb99141e86a
/frameworks/base/Android.mk
e8cece9f2010388e02d8f4b3150f25168f8b7d76 04-Jan-2017 Jeff Sharkey <jsharkey@android.com> Initial API shape for storage statistics.

This API is designed to provide both UID-level stats and overall
summary data for a given storage device, as identified by UUID.

The use of UID-level granularity might appear a bit clunky, but it
matches other usage statistics (such as network and battery), and it
allows us to implement it using an extremely fast quota kernel
feature.

A future CL will wire up the implementation to installd.

Test: builds, boots
Bug: 32206268
Change-Id: I7b51877682d0370c2402c19346f57809f0e7ac53
/frameworks/base/Android.mk
48e6745a08e6b89a91afd43809948c47b08b0367 29-Dec-2016 Ivan Podogov <ginkage@google.com> Rename the Bluetooth profile classes for HID Device role. am: 0afe190af5 am: 94e3d3f499 am: 91ab2e2f98
am: 48738f5ad0

Change-Id: I15651c5a6e3baf53d915626ea6c55180fefe28b5
c519b8d83ef043e01ace1b2dd2c39b1cbf57d258 29-Dec-2016 Hemant Gupta <hemantg@codeaurora.org> Bluetooth: Add support for HID Device Role am: e88fd4b594 am: ee469c6fe9 am: 1ee22b7f70
am: a9c92c2442

Change-Id: I56625e00b1b6c2b7b11e4ce4dc3038072ef6c231
48738f5ad07b71066a74766a3a066dd10c45f027 29-Dec-2016 Ivan Podogov <ginkage@google.com> Rename the Bluetooth profile classes for HID Device role. am: 0afe190af5 am: 94e3d3f499
am: 91ab2e2f98

Change-Id: If0e072e96491020191a7742928cc90adff151342
a9c92c2442db2775173136148f09f8e93385543e 29-Dec-2016 Hemant Gupta <hemantg@codeaurora.org> Bluetooth: Add support for HID Device Role am: e88fd4b594 am: ee469c6fe9
am: 1ee22b7f70

Change-Id: Ia82f834d4d2ad800574bb0317f4fb3b3786972fc
91ab2e2f983eddee138bd7f577c5659e0e610fdc 29-Dec-2016 Ivan Podogov <ginkage@google.com> Rename the Bluetooth profile classes for HID Device role. am: 0afe190af5
am: 94e3d3f499

Change-Id: I97ff93fd2564bd76d90095f8086f79c6c6086aff
1ee22b7f7050db257572d9c1a2cb0355c2881c6c 29-Dec-2016 Hemant Gupta <hemantg@codeaurora.org> Bluetooth: Add support for HID Device Role am: e88fd4b594
am: ee469c6fe9

Change-Id: Ic48911d254671d402f5a6b8198109f28e6497036
94e3d3f499b8e6eaf25db3dc4975004960043081 29-Dec-2016 Ivan Podogov <ginkage@google.com> Rename the Bluetooth profile classes for HID Device role.
am: 0afe190af5

Change-Id: Ib5c9b904da57048d719df504142edd3dab0e6ec3
ee469c6fe9a91877fa9427bc5135cbec20fe1af6 29-Dec-2016 Hemant Gupta <hemantg@codeaurora.org> Bluetooth: Add support for HID Device Role
am: e88fd4b594

Change-Id: Ic2a82d5670ffbd3046766d73ed9b180546c59169
0afe190af52d83c5e52fa994e53c48e33e8e3bf4 23-Dec-2016 Ivan Podogov <ginkage@google.com> Rename the Bluetooth profile classes for HID Device role.

We already have BluetoothInputDevice class, so adding something
called BluetoothHidDevice seems confusing. On the other hand,
the new class is designed to connect to HID Host devices, so
naming it BluetoothInputHost makes sense and goes in line with
the existing BluetoothInputDevice.

The same goes for the new constant HID_DEVICE that is just as
confusing to have together with the INPUT_DEVICE one.

This CL also renames the "connection state changed" broadcast
(for the same reasons), declares it as an SDK constant, and also
adds some javadoc to it.

Note that BluetoothHidDeviceApp* classes remained unchanged, as
those correspond to the app that implements the Device (and
connects to the Host).

Test: make
Change-Id: I5075ca5b97db3c1dd403c2e9660eecc7380cffe2
/frameworks/base/Android.mk
e88fd4b5940a855e961cffa36e93f844a44cd2d4 18-Apr-2014 Hemant Gupta <hemantg@codeaurora.org> Bluetooth: Add support for HID Device Role

This patch adds the HID Device Role support in Bluetooth framework.
Also AIDL and callback related files for HID Device role are added
to provide interface for third party applications to communicate with
HID Device Service.

Change-Id: Id03a362b7bcfa2e76056fa0197eaac12ce49b5a2
/frameworks/base/Android.mk
292a6a4e9934a94eea97b018befde3baed895f7d 01-Dec-2016 Jean-Michel Trivi <jmtrivi@google.com> Notification of playback activity

AudioService keeps track of status of implementations of PlayerBase.
AudioService's PlaybackActivityMonitor maintains a list of
playback configurations for each PlayerBase, and a list
of clients that want to receive updates about the playback.
Playback activity clients can query the playback configuration
of the system through AudioManager, or register a callback
for updates. For clients with MODIFY_AUDIO_ROUTING permission
(system), the playback configurations contain more information
about each player (player type, uid, pid, state), and can see
all players, not just the "active" ones. The act of stripping
off data about the players that is not supposed to be seen
by non-system clients, is referred to as "anonymization". It
is implemented in system server, so no system data is ever
sent to playback activity clients without system permission.
More information about the AudioPlaybackConfiguration is
available in the SystemApi (uid, pid, player type, player state).

Test: run cts -m CtsMediaTestCases -t android.media.cts.AudioPlaybackConfigurationTest
Bug: 30955183

Change-Id: I85997594c0378216419f5f0fdaa0714996fd3573
/frameworks/base/Android.mk
1754d744a7a34731ffc07af1bc3dbfcb06864ab0 22-Nov-2016 Joe Onorato <joeo@google.com> First checkin of incident reporting.

There are a few major pieces here:

incidentd
---------
This daemon (started by init) runs and accepts incoming requests to take
incident reports. When prompted, it calls into various system services
and fills in an IncidentProto data structure, and then writes the report
into dropbox.

The next steps for incidentd:
- Security review of SELinux policies. These will be a subset of
the dumpstate permissions. Until this is done, incidentd is
not started at boot time.

incident
--------
This shell command calls into incidentd, and can initiate an incident
report and either capture the output or leave for dropbox.

incident_report
---------------
This host side tool can call adb shell with the correct parameters
and also format the incident report as text. This formatting code
was left of the device on purpose. Right now it's pretty small, but
as the number of fields increases, the metadata and code to do the
formatting will start to grow.

The incident_report command also contains a workaround to let it
work before incidentd is turned on by default. Right now, it is
implemented to call adb shell dumpsys <service> --proto directly,
whereas in the future it will go through the full incidentd flow.

incident_section_gen
--------------------
A build-time tool that generates a stripped down set of information
about the fields that are available.

libincident
-----------
This library contains the code to connect to incidentd, and the
meta proto definitions that are used by the framework protos.
The basics are here now, but they are not fully fleshed out yet.
The privacy.proto file contains annotations that can go in the
proto file that we will later use to filter which fields are
uploaded, and which are used by local sources. For example, a
device in a test lab is safe to upload much much more information
than a real user. These will share the same mechanism, but the
user's output will be filtered according to these annotations.

frameworks/core/proto
---------------------
These .proto files contain the definitions of the system's
output. There is one master android.os.IncidentProto file that
is the top level of an incident report, but some other services
(notification, fingerprint, batterystats, etc) will have others
that are used directly by the logging mechanism.

Other files which are shared by several of the services also go
here, such as ComponentName, Locale, Configuration, etc. There
will be many more.

There is also a first iplementation of a dump method handling
--proto in the fingerprint service.

IncidentManager
---------------
The java API to trigger an incident report.

Test: Not written yet
Change-Id: I59568b115ac7fcf73af70c946c95752bf33ae67f
/frameworks/base/Android.mk
ab99c11c55c82e39a601a0b6f59005011f9fa109 15-Dec-2016 Makoto Onuki <omakoto@google.com> Merge "ShortcutManager: direct pin shortcut support."
bf46e6b2e15cf7bb790c0fd13126640f26c11a9e 14-Dec-2016 Paul Duffin <paulduffin@google.com> Copy core-junit files into legacy-test. am: cd7c34d8bf am: 98e609d556 am: c3650beee5
am: e9be5d908d

Change-Id: I826ea0752c64b39f3cb9c96a6a33c0f2c4fad98b
e9be5d908d32d67db9968a9ff12c37b579149bf7 14-Dec-2016 Paul Duffin <paulduffin@google.com> Copy core-junit files into legacy-test. am: cd7c34d8bf am: 98e609d556
am: c3650beee5

Change-Id: I04560b5982651d175a268056f32eb36980ef2259
c3650beee54c4406d307449548738c78d56fd099 14-Dec-2016 Paul Duffin <paulduffin@google.com> Copy core-junit files into legacy-test. am: cd7c34d8bf
am: 98e609d556

Change-Id: I4eb422f8fe217e5528e632d1f85c1303604b0d64
98e609d55607e4ff0c669398d33ab45ba31d6153 14-Dec-2016 Paul Duffin <paulduffin@google.com> Copy core-junit files into legacy-test.
am: cd7c34d8bf

Change-Id: I672fa4b006b04db5a4c8f86793f1c891bc55754a
cd7c34d8bf4302e640c742d7bb94107cc1505aff 12-Dec-2016 Paul Duffin <paulduffin@google.com> Copy core-junit files into legacy-test.

The legacy-test directory contains part of the Android API and
so must maintain backwards compatibility. The junit classes that
are in the API are copied here to ensure that they do not change
when external/junit is upgraded.

Bug: 30188076
Test: make checkbuild and checked legacy-test contents
Change-Id: I6c263afc16c06abfd027334be51a41422239a189
/frameworks/base/Android.mk
d1c710d5cff55b632e91d95cdba158bbc3879bc8 14-Dec-2016 Michal Karpinski <mkarpinski@google.com> DO NOT MERGE [DPM] Management and retrieval of network logs
am: 4c47adef60

Change-Id: I39486c9d6116023f1ee9bd576b7fcd0fe20023a1
b2e8690507f64f935d20a7ce75cefbaf6cf2c160 14-Dec-2016 Michal Karpinski <mkarpinski@google.com> DO NOT MERGE [DPM] DO can start network logging and listen for events
am: c3abd34cfe

Change-Id: I7952d67d22a141040f3ee3ac2b6c3aa2cfccbbf7
2d895c3efd625e09e9f2cc4d0c7131b34f52f154 03-Dec-2016 Makoto Onuki <omakoto@google.com> ShortcutManager: direct pin shortcut support.

Test: Manual test and all the unit tests:
adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests
... to test8

Bug 32908854

Change-Id: I11b81656959cccfb4efa83f08380b915e6eb84a6
/frameworks/base/Android.mk
4c47adef60ca0326bdbe124dfdd335382e5c0787 12-Oct-2016 Michal Karpinski <mkarpinski@google.com> DO NOT MERGE [DPM] Management and retrieval of network logs

This CL follows up on ag/1530343 and adds:
1) Various network events.
2) Retrieval method in DPM and APIs in DeviceAdminReceiver.
3) Extension of NetworkLogger and it's NetworkLoggingHandler.

Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/NetworkEventTest.java
Bug: 29748723
Change-Id: I42a1a477e7c75c109a3982f809c22732b814e8b2
/frameworks/base/Android.mk
c3abd34cfed63d5b71366901d19f6d9cd8319306 12-Oct-2016 Michal Karpinski <mkarpinski@google.com> DO NOT MERGE [DPM] DO can start network logging and listen for events

This CL adds:
1) Setter and getter in DPM to manipulate logging switch (retrieval
method to come in a subsequent CL(s)).
2) A way for DPM to register to listen for events.
3) Skeleton of NetworkLogger class (more to come in subsequent CL(s)).

Bug: 29748723
Change-Id: I5c04662ccc6febd2ba294b0eaca1ed1da9c16e47
/frameworks/base/Android.mk
c5b56942024a3211234cf35fed44e3e732143947 11-Dec-2016 Jeff Sharkey <jsharkey@android.com> Merge commit '7797e545239e81a9216994527badcc98178ebfcc' into dec10

Change-Id: I430a39241bd2d278eaf1e01b89be3ad368789f6d
9ff67746e60ce9e49d7c21e2af087c081873c544 11-Dec-2016 Jeff Sharkey <jsharkey@android.com> Merge "Final push of installd to Binder; goodbye socket!" am: 1950377f91
am: 104fd011b2

Change-Id: I4b2ae2329e8842def8682199c5ee8544c22c2be4
104fd011b22b62e7bf45ccbd82b4d9537631e7c7 11-Dec-2016 Jeff Sharkey <jsharkey@android.com> Merge "Final push of installd to Binder; goodbye socket!"
am: 1950377f91

Change-Id: If10d4f4aafa68b78ddd9a98e8699fe008bbda49b
740f523b2571d1c4eb4a954e1faedea45dd7fa53 09-Dec-2016 Jeff Sharkey <jsharkey@android.com> Final push of installd to Binder; goodbye socket!

Move last two straggling installd commands to Binder and destroy the
socket-based communication channel forever.

Test: builds, boots, apps install fine, pre-OTA dexopt works
Bug: 13758960, 30944031
Change-Id: I9afb9f71858febde34a94f53839b2986493b68a0
/frameworks/base/Android.mk
e03b8124d0a940e7b16be03257f55618d156fdab 09-Dec-2016 Julia Reynolds <juliacr@google.com> Merge "Accept adjustments from notification assistant."
7e28011feabb613cbff3e28ae8134f6190f9dba3 09-Dec-2016 Paul Duffin <paulduffin@google.com> Merge "Move android.test classes from core/java to legacy-test/src" am: 2761ed124a
am: 28b617bdea

Change-Id: I83a6ce6c329e7eb18ee90689682c30d4a73d7f8e
28b617bdea359addf8057213abef4b6c5ac02495 09-Dec-2016 Paul Duffin <paulduffin@google.com> Merge "Move android.test classes from core/java to legacy-test/src"
am: 2761ed124a

Change-Id: I0009b93ff096456d7f5fd5f83e71fd4b9bff31db
2761ed124ad7e54a99d70078121229ce942075a0 09-Dec-2016 Paul Duffin <paulduffin@google.com> Merge "Move android.test classes from core/java to legacy-test/src"
dda938a698a17b2943bbe78f6631a26dedabf28a 02-Dec-2016 Jeff Sharkey <jsharkey@android.com> DO NOT MERGE: Switch over to new "time.android.com" NTP pool.

Also add logging to measure success/failure details.

Test: builds, boots, and NTP fix obtained
Bug: 32969463

(cherry picked from commit d3f689bf14a05de735b5cc92dcf20e7226c78690)

Change-Id: I7da416099ae903fd92beb516251ef4e51673eecf
/frameworks/base/Android.mk
df2576045e0edbed05bf4511e0e9ba1038b8f3bb 30-Nov-2016 Paul Duffin <paulduffin@google.com> Move android.test classes from core/java to legacy-test/src

(cherry picked from 2395179afb2ea957a9ba66404021c14160361611)

Bug: 30188076
Test: make checkbuild
Merged-In: Ifa291909fcf47da788627b496bd72f54efd78ed7
Change-Id: Ie20dceb9f89df245ed6da5fc2fb06185bd7b104b
/frameworks/base/Android.mk
2395179afb2ea957a9ba66404021c14160361611 30-Nov-2016 Paul Duffin <paulduffin@google.com> Move android.test classes from core/java to legacy-test/src

Bug: 30188076
Test: make checkbuild
Change-Id: Ifa291909fcf47da788627b496bd72f54efd78ed7
/frameworks/base/Android.mk
22f02b3e4acd7c6983f4d4d58b85069d5ec920ab 01-Dec-2016 Julia Reynolds <juliacr@google.com> Accept adjustments from notification assistant.

Test: runtest systemui-notification & cts in same topic.
Change-Id: Icff1f89eac32b82d583eca24b0a15f67795912a1
/frameworks/base/Android.mk
33e8de479ab373767ef38de24c17aec326281c52 07-Dec-2016 Jeremy Joslin <jjoslin@google.com> Merge "API for requesting network recommendations." am: 800a4e753e
am: 2b57c69e25

Change-Id: I8f2357942919193a22e97e4f1d9ec415b736565c
2b57c69e258f4f5254c1c42d4241aaac7df6654c 07-Dec-2016 Jeremy Joslin <jjoslin@google.com> Merge "API for requesting network recommendations."
am: 800a4e753e

Change-Id: Icda431682a283051d4f5f5052dc70b8ab8e01dc9
82834baa358f55acb542e17da828b2d497cf8332 07-Dec-2016 Bill Yi <byi@google.com> Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
d1daf6d22aeb502c0f94261f3421999c2da6ee51 29-Nov-2016 Jeremy Joslin <jjoslin@google.com> API for requesting network recommendations.

Defining a new system API that will allow the system to request
network recommendations from a NetworkScoreService implementation.

Test: Coming in a future CL.
BUG: 32909424
Merged-In: I2d5c0a843b928b04e87c1862a78702a02fd54c31
Change-Id: Idd33095c6cd2f5b391796c900399f18a2c40fcc3
/frameworks/base/Android.mk
1397837af370206fea01247fae7cf77228b08037 29-Nov-2016 Jeremy Joslin <jjoslin@google.com> API for requesting network recommendations.

Defining a new system API that will allow the system to request
network recommendations from a NetworkScoreService implementation.

Test: Coming after the API is approved.
BUG: 32909424
Change-Id: I2d5c0a843b928b04e87c1862a78702a02fd54c31
/frameworks/base/Android.mk
d3f689bf14a05de735b5cc92dcf20e7226c78690 02-Dec-2016 Jeff Sharkey <jsharkey@android.com> Switch over to new "time.android.com" NTP pool.

Also add logging to measure success/failure details.

Test: builds, boots, and NTP fix obtained
Bug: 32969463
Change-Id: I66a8a78480e087acdcf8a11e79f80b7a7a4969c9
/frameworks/base/Android.mk
aac3cba5311622061d648e92bf385da2087ce18e 01-Dec-2016 Geoffrey Pitsch <gpitsch@google.com> Merge "Listener in createNotificationChannel"
e75a66e87a4c4cf59f0ea6f4bd509fd707c2383f 22-Nov-2016 Geoffrey Pitsch <gpitsch@google.com> Listener in createNotificationChannel

Necessary for when this will eventually trigger an Activity.
New unit test file for NotificationServiceManager.

Test: runtest systemui-notification (cts tests in separate CL)
Change-Id: I8f3e8e34ddcebb1acb9ddd84bffc68affb4b6e89
/frameworks/base/Android.mk
783096f02ccfa181285eb0cc9020e6f2c4a07904 30-Nov-2016 Paul Duffin <paulduffin@google.com> Merge "Add legacy-test as replacement for core-junit" am: e75a82a92f
am: a485fa1fce

Change-Id: I578b109bc0a4f8655643dad1092b46296ff18114
a485fa1fcee62325f3d69b6694e537825310f78e 30-Nov-2016 Paul Duffin <paulduffin@google.com> Merge "Add legacy-test as replacement for core-junit"
am: e75a82a92f

Change-Id: Ifa6b4d9c968878e956ddff71a607af67a84472e6
a856247e3ab77153dc151e73ed1028274abf953e 30-Nov-2016 Paul Duffin <paulduffin@google.com> Merge "Add legacy-test as replacement for core-junit"
e20f193a8c2249fdcc5229412dbb570a4035c4c7 28-Nov-2016 Paul Duffin <paulduffin@google.com> Add legacy-test as replacement for core-junit

Statically includes core-junit-static into legacy-test target so
that legacy-test can be used in place of core-test. Once that
switch over has been done then android.test classes that are
being removed from the public API can be safely moved into here.

Bug: 30188076
Test: make legacy-test and check contents of generated legacy-test artifacts

Change-Id: I75488303067c4ac34c46279bfce9a51273adcc34
/frameworks/base/Android.mk
d25cf04e9880c69d370bab21de0068cec5502267 29-Nov-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add explicit method to dismiss Keyguard"
bf7d366cee5e67c6f38b46aafb756a980169a5b1 28-Nov-2016 Paul Duffin <paulduffin@google.com> Add legacy-test as replacement for core-junit

Statically includes core-junit-static into legacy-test target so
that legacy-test can be used in place of core-test. Once that
switch over has been done then android.test classes that are
being removed from the public API can be safely moved into here.

(cherry picked from commit bc90fcb983bb8d8066d50de90af5190a07c0a7f4)

Bug: 30188076
Test: make legacy-test and check contents of generated legacy-test artifacts
Change-Id: I7cdbeff5d95473ec2bfe6341d3957cf38d98e933
/frameworks/base/Android.mk
199e5a98ddc4402ba4b4cdafaa3d8deb58ef3c7d 29-Nov-2016 Romain Guy <romainguy@google.com> Add images to document built-in color spaces

Bug: 32984164
Test: make offline-sdk-referenceonly-docs and manual validation of output

Change-Id: I2f0e00e5a0581517bb7c535e8aee150f87ac7a6e
/frameworks/base/Android.mk
241ae10b2189f449e57d8d660235ac56d8fb1b80 03-Nov-2016 Jorim Jaggi <jjaggi@google.com> Add explicit method to dismiss Keyguard

The flag is a bit clunky for most cases, and a method is more
clear.

Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test
android.server.cts.KeyguardTests

Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test
android.server.cts.KeyguardLockedTests

Test: runtest systemui -c
com.android.systemui.keyguard.DismissCallbackRegistryTest

Bug: 30961403
Bug: 27422134
Change-Id: I39de90c7cfecd99350a74f72cd76418e337f2b79
/frameworks/base/Android.mk
2250d56a0b47b93016018340c8f4040325aa5611 08-Nov-2016 Sudheer Shanka <sudheersai@google.com> Rename MountService to StorageManagerService.

Bug: 30977067
Test: Existing tests pass
Change-Id: Ieac0f11c2b249dcd60441b14c1f391e6f8131d42
/frameworks/base/Android.mk
18fe8f6359a4892f6008ecba4dc357b01ec16568 14-Nov-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Added a callback for AutoFillService."
d3637b97810861875402e0249f4dedd472c7039d 12-Nov-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Refactored Shell to use IDumpstateListener."
29a5b0d0f1cc7fd6cbfe97c816b8a687d9e438cc 25-Oct-2016 Felipe Leme <felipeal@google.com> Added a callback for AutoFillService.

So far AutoFillService only received the assist data from framework; in
this CL, it also offers a method where the auto-fill provider can send
the auto-fill data back to framework.

The workflow is:

- AFMSI calls a new AM method (requestAutoFillData(), instead
of requestAssistContextExtras()).
- The assist receiver is located in the app, not on system service.
- AM uses a new request type (ASSIST_CONTEXT_AUTOFILL) to request the
assist data to the activity.
- ViewStructure has a new setAutoFillId() method which is used to set an
unique id for the view.
- View uses the accessibility id to implement the auto-fill id.
- When the activity fullfills the request, it creates an IAutoFillCallback
remote object - that will be used to set the auto-fill fields - and
returns it in the assist bundle (using the
VoiceInteractionSession.KEY_AUTO_FILL_CALLBACK key).
- The app-visible AutoFillService class offers an onFillRequest() method,
which contains the assist data and a FillCallback used to handle it.

BUG: 31001899
Test: manually built and ran it

Change-Id: I3d208c14e81022dc96dd03f38bbe25a778b24a67
/frameworks/base/Android.mk
fa26a0ed08fe3f14fe5be708ec6a9d9c30ecbff7 28-Oct-2016 Felipe Leme <felipeal@google.com> Refactored Shell to use IDumpstateListener.

BugreportProgressService used to poll system properties to get the
progress of the underlying dumpstate process, but now dumpstate provides
a IDumpstateListener and IDumpstateToken binder objects for the same
purpose.

Test: BugreportReceiverTest passes
Test: manual verification

BUG: 31636879

Change-Id: I81d551781a511cb1cc218a27452875b0bb267f7a
/frameworks/base/Android.mk
40d0e338a1df020ce06228d8cf806748276d995d 11-Nov-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "health: import android.hardware.health@1.0 constants into BatteryManager"
a21c42769f5d144f3e9fe8884cc3b84cbb869fd2 10-Nov-2016 Sandeep Patil <sspatil@google.com> health: import android.hardware.health@1.0 constants into BatteryManager

Test: make
Bug: b/32724915

Change-Id: I7ca7507b7be54442dc3250b02db3e4f7e95f0685
Signed-off-by: Sandeep Patil <sspatil@google.com>
/frameworks/base/Android.mk
5381aa4b585f3fa2a315d88e910111173e2ef77d 13-Oct-2016 Felipe Leme <felipeal@google.com> Initial implementation of the Auto-Fill Framework classes.

This CL provides the initial, skeleton implementation of the Auto-Fill
Framework classes:

- Defines the system service and app-based
AIDL (IAutoFillManagerService.aidl and IAutoFillService.aidl respectively).
- Defines the 'adb shell cmd' interface.
- Defines the permission required to access the service.
- Registers the service on SystemServer.
- Adds the code to bind the app-specified service to system_server.
- Defines the service class (AutoFillService) required by providers.
- Implements the initial startSession() method.

This is still a very early, "work-in-progress" change:
- It has many TODOs.
- It does not have unit or CTS tests yet.
- It does not provide a callback method to auto-fill the fields.
- In fact, it has a lot of TODOs.

Despite these adversities, it can be tested by following the steps
below:

1.Create an app with a service extending AutoFillService

2.Implement the onNewSession() method

3.In the manifest:
- Listen to android.service.autofill.AutoFillService intents.
- Require the android.permission.BIND_AUTO_FILL permission.

4.Explicitly set the app as an autofill-service by running:
adb shell settings put secure auto_fill_service MY_APP/.MY_SERVICE

5.Start a session against the top activity:
adb shell cmd autofill start session

BUG: 31001899
Test: manually built and ran it

Change-Id: I00f4822159b31ddddba8f513e57c4474bc74eb89
/frameworks/base/Android.mk
a99a05982e181f079c0cdb63f753f1677bc55b4a 06-Nov-2016 Etan Cohen <etancohen@google.com> Merge "[NAN-AWARE] Rename NAN to Aware" am: 74b1131cc8
am: 6571007101

Change-Id: Ief54b313dc5ca5d30645b55ed2ad0333036a1671
65710071018141fecd0346ed09e53c262939e54c 06-Nov-2016 Etan Cohen <etancohen@google.com> Merge "[NAN-AWARE] Rename NAN to Aware"
am: 74b1131cc8

Change-Id: I2e788e19a11f2709f2e542dbdc4b58433a3574bf
0849ded00879dc05175c079011aa038c5ba0770a 26-Oct-2016 Etan Cohen <etancohen@google.com> [NAN-AWARE] Rename NAN to Aware

~Rename only (and any reformatting needed to pass lint) - no
functional changes!

Remove android.net.wifi.nan.STATE_CHANGED from manifest:
redundant/remnant of an older configuration.

(cherry-pick of commit a61b9fb569153917a650f1d48efa20ba8846a9f3)

Bug: 32263750
Test: All unit tests and integration (sl4a) tests pass.
Merged-In: Ie4ff675fa61041e8fcf6a9bf9900ea835d0a7614
Change-Id: I4206d2fd722dc7dec9df4aee5c818101d7f9dccc
/frameworks/base/Android.mk
3a1dd86ce48533055b062364a2bd567a259abf71 05-Nov-2016 Etan Cohen <etancohen@google.com> Merge "[NAN-AWARE] Rename NAN to Aware"
0413327d741fe7246f9d5bf508da6f6b6a6a7476 26-Oct-2016 Etan Cohen <etancohen@google.com> [NAN-AWARE] Rename NAN to Aware

~Rename only (and any reformatting needed to pass lint) - no
functional changes!

Remove android.net.wifi.nan.STATE_CHANGED from manifest:
redundant/remnant of an older configuration.

(cherry-pick of commit a61b9fb569153917a650f1d48efa20ba8846a9f3)
(cherry-pick of commit b061f21e7e59a99834e163e2baa1c82229e419a6)

Bug: 32263750
Test: All unit tests and integration (sl4a) tests pass.
Change-Id: Ie4ff675fa61041e8fcf6a9bf9900ea835d0a7614
/frameworks/base/Android.mk
fc46e9b643881b7b2ab76854f3a0ac077e9def8d 22-Oct-2016 Sudheer Shanka <sudheersai@google.com> Move IActivityManager to aidl.

Bug: 30977067
Test: Existing tests are passing, dump commands still working.
Change-Id: I9cf81c4d381ebce14a6c701e409cbb269f2ff1fb
/frameworks/base/Android.mk
02e17d27b1d9289059fd18d512ae978f0dfd666e 03-Nov-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "[DPM] Management and retrieval of network logs"
3694d8789f579f9a67ca79238b755e18b7c12b77 02-Nov-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "[DPM] DO can start network logging and listen for events"
f77ee4f1b79929a77f603e5e879f3616ae464e3e 12-Oct-2016 Michal Karpinski <mkarpinski@google.com> [DPM] Management and retrieval of network logs

This CL follows up on ag/1530343 and adds:
1) Various network events.
2) Retrieval method in DPM and APIs in DeviceAdminReceiver.
3) Extension of NetworkLogger and it's NetworkLoggingHandler.

Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/NetworkEventTest.java
Bug: 29748723
Change-Id: I42a1a477e7c75c109a3982f809c22732b814e8b2
/frameworks/base/Android.mk
dd9bb4fdd9f4b528734a7907d2bc92841ca648ab 12-Oct-2016 Michal Karpinski <mkarpinski@google.com> [DPM] DO can start network logging and listen for events

This CL adds:
1) Setter and getter in DPM to manipulate logging switch (retrieval
method to come in a subsequent CL(s)).
2) A way for DPM to register to listen for events.
3) Skeleton of NetworkLogger class (more to come in subsequent CL(s)).

Bug: 29748723
Change-Id: I5c04662ccc6febd2ba294b0eaca1ed1da9c16e47
/frameworks/base/Android.mk
fe9368afe82f3009c7653e97df931073860b42ec 02-Nov-2016 Joseph Pirozzo <pirozzoj@google.com> MAP MCE am: 631768d814 am: d94c280a7f am: c412914520
am: fb70d77f64

Change-Id: Ia56f6ca01a4d92b24f192102917950a10b6cb05d
c4129145203039072541e4415cb20c2103ca34f2 02-Nov-2016 Joseph Pirozzo <pirozzoj@google.com> MAP MCE am: 631768d814
am: d94c280a7f

Change-Id: I6a765b9a07204afca2763fb98fdb2e92e08292e5
d94c280a7f28f0f87ccd2a72b5814f5962756007 02-Nov-2016 Joseph Pirozzo <pirozzoj@google.com> MAP MCE
am: 631768d814

Change-Id: I155fd0e8b44539bf79cec2c6ddb2a4d71b0c23d9
631768d81469f83552de05bf0ec839d1cd6eab04 01-Sep-2016 Joseph Pirozzo <pirozzoj@google.com> MAP MCE

Add MAP client code into packages/apps/Bluetooth. Changes here are to
define the MAP MCE interface and enable its selection when running on a
device that is also running a PBAP client (Car Kitt).

Bug: 30467210
Change-Id: Ifa2cdea7d67f63a2b5f3d971df8ec6d321dc5fee
(cherry picked from commit 433b3054847951e8e7b3864d11990604a66b8651)
/frameworks/base/Android.mk
655332c641ccb12ee1ae3ce89135ca847fba1abf 31-Oct-2016 Winson Chung <winsonc@google.com> Creating PinnedStackController.

- Creating a PinnedStackController to keep track of the state of the PIP
to prevent changes in the system (ie. IME showing) and user interaction
from clobbering each other.
- Refactoring calls in AM into WM/controller

Test: android.server.cts.ActivityManagerPinnedStackTests

Change-Id: Ie59dfd45d5c54764ba69a589b3b8148845e92cc3
Signed-off-by: Winson Chung <winsonc@google.com>
/frameworks/base/Android.mk
d649849928f8240b5d237e95067543dbc212387d 28-Oct-2016 Jakub Pawlowski <jpawlowski@google.com> Merge "Separate LE scanner from GATT client (1/4)" am: 87c997ca21 am: 81d5ecb7a6 am: 61d0088923
am: e582ab854d

Change-Id: Ibbf57cfccad50ae5d7dd9f80a13f08c5cfd1623e
61d008892315ac7e1cd6c856f291a79e38900211 28-Oct-2016 Jakub Pawlowski <jpawlowski@google.com> Merge "Separate LE scanner from GATT client (1/4)" am: 87c997ca21
am: 81d5ecb7a6

Change-Id: If7688706be45e72e3ab98a35d3712ddae9d508a6
81d5ecb7a684f61b9204ff72c8004735527d7f17 28-Oct-2016 Jakub Pawlowski <jpawlowski@google.com> Merge "Separate LE scanner from GATT client (1/4)"
am: 87c997ca21

Change-Id: I8fdf97a457d7566b4e0048624d47a6cfea693f13
1b49e6eb04f2eef4d8056e7447d8e0789c291847 26-Oct-2016 Jakub Pawlowski <jpawlowski@google.com> Separate LE scanner from GATT client (1/4)

Right now, LE scanning functionality is combined with the GATT client.
This is the source of various bugs, like scans suddenly stoppinging when
a GATT client is killed. It also increases memory consumption, because
we associate many structures with a GATT client, which are not necessary
when just scanning.

Test: sl4a BleScanApiTest ConcurrentBleScanTest
Change-Id: I0c25bd4a58bb430eb0ee4100d5f2bbab194f9621
/frameworks/base/Android.mk
f73411428046e1a380d242274d7191ce602a38be 19-Oct-2016 Sudheer Shanka <sudheersai@google.com> Move IMountService to aidl.

Bug: 30977067
Test: Existing tests passing.
Change-Id: Icadfdcbc79708d3826b4e11afe35f5963aabcd4c
/frameworks/base/Android.mk
89aa8b9266e20202f95e9949102560f65ad33203 26-Oct-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Import android.hardware.thermal@1.0 constants into HardwarePropertiesManager."
fb7accfc836c40a08dc703a6da41fd07e4172538 24-Oct-2016 Andreas Huber <andih@google.com> Import android.hardware.thermal@1.0 constants into HardwarePropertiesManager.

Bug: 32200867
Test: make
Change-Id: I4e63e7c5431b33011b7c334077a5bd0c7edcf3a2
/frameworks/base/Android.mk
22851dbcb2ebe40dcf8fbe843ff8845e4f038c78 25-Oct-2016 Andrew Scull <ascull@google.com> Merge "Refactor password metric computation."
5f9e6f37b276fac7be6db982c9cb7fbd93150c4a 02-Aug-2016 Andrew Scull <ascull@google.com> Refactor password metric computation.

This unifies previously duplicated code.

Bug: 30558331
Test: runtest -x frameworks/base/core/tests/coretests/src/android/app/admin/PasswordMetricsTest.java
Change-Id: I37678b83a03d4f05b9894d4b00e9a741d1a8df27
/frameworks/base/Android.mk
cc6418feb7d5d13fd5062d9fd469650651eeda00 13-Oct-2016 Sudheer Shanka <sudheersai@google.com> Move ApplicationThread to aidl.

Bug: 30977067
Test: Existing tests are passing, dump commands still working.
Change-Id: Iecb382e8720dfb1b6b707272497e3793e6995edb
/frameworks/base/Android.mk
4e334e5ce1d159f545af7a273513f9d74d831839 15-Oct-2016 Dirk Dougherty <ddougherty@google.com> Add API 25 to @since list. am: 3376f5893f am: a3c7c8883f
am: f9516473d5

Change-Id: I8101f7b6a509b3e8928307194c4e6f953ca19a9c
f9516473d585360d74cd1297aa7da76194b2036e 15-Oct-2016 Dirk Dougherty <ddougherty@google.com> Add API 25 to @since list. am: 3376f5893f
am: a3c7c8883f

Change-Id: I19088f473a1110f16307b1ac49234ee58cbb3d03
3376f5893f12cf0eec3088f727c58a968c1220c5 14-Oct-2016 Dirk Dougherty <ddougherty@google.com> Add API 25 to @since list.

Change-Id: I636c8e948530d4aa3900496f042f54beb57da15a
/frameworks/base/Android.mk
253f2c213f6ecda63b6872aee77bd30d5ec07c82 29-Sep-2016 Romain Guy <romainguy@google.com> Linear blending, step 1

NOTE: Linear blending is currently disabled in this CL as the
feature is still a work in progress

Android currently performs all blending (any kind of linear math
on colors really) on gamma-encoded colors. Since Android assumes
that the default color space is sRGB, all bitmaps and colors
are encoded with the sRGB Opto-Electronic Conversion Function
(OECF, which can be approximated with a power function). Since
the power curve is not linear, our linear math is incorrect.
The result is that we generate colors that tend to be too dark;
this affects blending but also anti-aliasing, gradients, blurs,
etc.

The solution is to convert gamma-encoded colors back to linear
space before doing any math on them, using the sRGB Electo-Optical
Conversion Function (EOCF). This is achieved in different
ways in different parts of the pipeline:

- Using hardware conversions when sampling from OpenGL textures
or writing into OpenGL frame buffers
- Using software conversion functions, to translate app-supplied
colors to and from sRGB
- Using Skia's color spaces

Any type of processing on colors must roughly ollow these steps:

[sRGB input]->EOCF->[linear data]->[processing]->OECF->[sRGB output]

For the sRGB color space, the conversion functions are defined as
follows:

OECF(linear) :=
linear <= 0.0031308 ? linear * 12.92 : (pow(linear, 1/2.4) * 1.055) - 0.055

EOCF(srgb) :=
srgb <= 0.04045 ? srgb / 12.92 : pow((srgb + 0.055) / 1.055, 2.4)

The EOCF is simply the reciprocal of the OECF.
While it is highly recommended to use the exact sRGB conversion
functions everywhere possible, it is sometimes useful or beneficial
to rely on approximations:

- pow(x,2.2) and pow(x,1/2.2)
- x^2 and sqrt(x)

The latter is particularly useful in fragment shaders (for instance
to apply dithering in sRGB space), especially if the sqrt() can be
replaced with an inversesqrt().

Here is a fairly exhaustive list of modifications implemented
in this CL:

- Set TARGET_ENABLE_LINEAR_BLENDING := false in BoardConfig.mk
to disable linear blending. This is only for GLES 2.0 GPUs
with no hardware sRGB support. This flag is currently assumed
to be false (see note above)
- sRGB writes are disabled when entering a functor (WebView).
This will need to be fixed at some point
- Skia bitmaps are created with the sRGB color space
- Bitmaps using a 565 config are expanded to 888
- Linear blending is disabled when entering a functor
- External textures are not properly sampled (see below)
- Gradients are interpolated in linear space
- Texture-based dithering was replaced with analytical dithering
- Dithering is done in the quantization color space, which is
why we must do EOCF(OECF(color)+dither)
- Text is now gamma corrected differently depending on the luminance
of the source pixel. The asumption is that a bright pixel will be
blended on a dark background and the other way around. The source
alpha is gamma corrected to thicken dark on bright and thin
bright on dark to match the intended design of fonts. This also
matches the behavior of popular design/drawing applications
- Removed the asset atlas. It did not contain anything useful and
could not be sampled in sRGB without a yet-to-be-defined GL
extension
- The last column of color matrices is converted to linear space
because its value are added to linear colors

Missing features:
- Resource qualifier?
- Regeneration of goldeng images for automated tests
- Handle alpha8/grey8 properly
- Disable sRGB write for layers with external textures

Test: Manual testing while work in progress
Bug: 29940137

Change-Id: I6a07b15ab49b554377cd33a36b6d9971a15e9a0b
/frameworks/base/Android.mk
354736e196ff79962b3ddb52619a674044d773e2 23-Aug-2016 Dianne Hackborn <hackbod@google.com> New infrastructure to switch remaining commands to "cmd" calls.

This introduces a new feature of the IBinder command protocol
to allow the shell command implementation to call back into
its caller to ask it to open files in the calling context. This
is needed so that commands that have arguments specifying files
can open those files as the calling shell, not the system (or
whatever) process.

To test this all out, move the "am start" implementation over
to ActivityManagerShellCommand, in particular along with its
option to specify a file in which to write profiling data.

Test: Manual

Change-Id: I0c1e3857defefbd19a2ac29413aafbb34b1e48a3
/frameworks/base/Android.mk
9d569636303856a2eddc43297f64991758a456be 27-Sep-2016 Svet Ganov <svetoslavganov@google.com> [DO NOT MERGE] Use tokens instead of account access trackers am: 32bfb594af
am: 18b725ac0a

Change-Id: I8f90fb4c4d4baa29727d84a28db68f277d305a74
18b725ac0a3e9d3b8dec2d3145e55c890f4f6ab3 27-Sep-2016 Svet Ganov <svetoslavganov@google.com> [DO NOT MERGE] Use tokens instead of account access trackers
am: 32bfb594af

Change-Id: I1706ecca7b3b98a2a38483545270941ce8899939
5c07d0c2eeffddfe69013b84849f29186cb3c0bd 27-Sep-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "[DO NOT MERGE] Use tokens instead of account access trackers" into nyc-mr1-dev
3d7474bc0994479a18a1e536e3d2d144bde574e2 27-Sep-2016 smain@google.com <smain@google.com> add source.properties file to the offline docs build which is required to get this in the SDK Manager am: 2f2365de4a am: d32abed1af
am: a056abf598

Change-Id: I388f12f11fbf7ed0bcd15bb8f16caea06ab3ff99
a056abf598ce6a1baac1e34e4117638e1d638965 27-Sep-2016 smain@google.com <smain@google.com> add source.properties file to the offline docs build which is required to get this in the SDK Manager am: 2f2365de4a
am: d32abed1af

Change-Id: I9d6f6f9ce302b3c87d7aac19e6e97cd8a0024f98
6b860feb421319d3dc2c524a389c5ca9c60b9d19 27-Sep-2016 smain@google.com <smain@google.com> add source.properties file to the offline docs build which is required to get this in the SDK Manager am: 2f2365de4a
am: 6ed77be41d

Change-Id: I24b8c286fa94c6c27eb9e9fe67b0d38cd17f5544
d32abed1afdf0da5e43fa7f48413d9d14cbebbe0 27-Sep-2016 smain@google.com <smain@google.com> add source.properties file to the offline docs build which is required to get this in the SDK Manager
am: 2f2365de4a

Change-Id: I7a5261a043d803fdc0ac6b916708e0f743b31865
6ed77be41de4449e51b19a2a7d2a9c2611c8c328 27-Sep-2016 smain@google.com <smain@google.com> add source.properties file to the offline docs build which is required to get this in the SDK Manager
am: 2f2365de4a

Change-Id: I15b5ea8a37ec7c718d23db14baed6c8ffb0af13c
5786162605548e6bafa9861834cdbe31eefc20d1 26-Sep-2016 Narayan Kamath <narayan@google.com> Merge "Remove (now) unnecessary reference to core-lambda-stubs." am: 68e91852c3 am: c1d97c9250 am: 5e7dd0999e
am: c4108d2f24

Change-Id: Idcf4f8c41c1b83cd6d668ed6d9bc7d1d0c4e567a
c4108d2f2486b24315f1acc926661cad46847280 26-Sep-2016 Narayan Kamath <narayan@google.com> Merge "Remove (now) unnecessary reference to core-lambda-stubs." am: 68e91852c3 am: c1d97c9250
am: 5e7dd0999e

Change-Id: I45e2c290cbed1fcf917d54f6a50a60bfa7540f44
5e7dd0999e629e0a9a714fb29d08d16edf45a117 26-Sep-2016 Narayan Kamath <narayan@google.com> Merge "Remove (now) unnecessary reference to core-lambda-stubs." am: 68e91852c3
am: c1d97c9250

Change-Id: I7eb80947c4a0170af7e6af4f878f3d15c8587949
8389d6f0e1ecff5a8ffc62b2f461b3a60fe638f4 25-Sep-2016 Hugo Benichi <hugobenichi@google.com> New IpConnectivityMetrics service am: eab511b582 am: 3a353a2044
am: 0daeac5dd4

Change-Id: Id08f9c8426780578c0edde7a69cf118fac232177
32bfb594af7f5dc0be608393200060458cd84631 24-Sep-2016 Svet Ganov <svetoslavganov@google.com> [DO NOT MERGE] Use tokens instead of account access trackers

We keep track which process saw and account to whitelist
the app for future access as an optimization to avoid
prompting the user for account access approval. Some apps
use SefeParcelable where the parcels are marshalled
which does not allow the parcel to contain IBinders.
To avoid this we are switching from account tracker remote
objects to unforgeable tokens.

bug:31162498

Change-Id: I3b52bff720655f695ad0c58d420eb35ef93161b9
/frameworks/base/Android.mk
c1c0d1cc531a63a48fe7c26113ca165120092c25 24-Sep-2016 Svet Ganov <svetoslavganov@google.com> Use tokens instead of account access trackers

We keep track which process saw and account to whitelist
the app for future access as an optimization to avoid
prompting the user for account access approval. Some apps
use SefeParcelable where the parcels are marshalled
which does not allow the parcel to contain IBinders.
To avoid this we are switching from account tracker remote
objects to unforgeable tokens.

bug:31162498

Change-Id: I19916b54afd0b47e57c517145aa6b1ff17154144
/frameworks/base/Android.mk
0daeac5dd41f136a1ca0a76b406016b05586e562 23-Sep-2016 Hugo Benichi <hugobenichi@google.com> New IpConnectivityMetrics service am: eab511b582
am: 3a353a2044

Change-Id: I5cf485edd3ab1ebb81a2a9d35dfb8bd6d8bcc305
2090e9222c64a4509ebe17faf4a8a212c570c60c 22-Sep-2016 Narayan Kamath <narayan@google.com> Remove (now) unnecessary reference to core-lambda-stubs.

Tis now included in core-oj.

bug: 31675876
Test: make checkbuild
Change-Id: If9062a55ec02fe653542dcb4a41020c8e1f6f15e
/frameworks/base/Android.mk
eab511b582cc00364dee7835534bb511719f9231 09-Sep-2016 Hugo Benichi <hugobenichi@google.com> New IpConnectivityMetrics service

This patch defines a new metrics service for IpConnectivity events
defined in android.net.metrics, separate from currently existing
MetricsLoggerService.

Similarly to MetricsLoggerService, the new service has an event buffer.
It also implements a dumpsys interface that can be used to flush events
and output a serialized proto.

Bug: 31254800
Change-Id: I0c3faeb4008b283f85d9ba9460371fa68956ea3b
/frameworks/base/Android.mk
2f2365de4a339d37af00055556d6d643175453b8 21-Sep-2016 smain@google.com <smain@google.com> add source.properties file to the offline docs build
which is required to get this in the SDK Manager

Change-Id: If53cdedcb8f5910fe37add44168348c9fd14d0cb
/frameworks/base/Android.mk
2a9b220608832c56b59c012b41b45d964fc13017 21-Sep-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "While-list apps to access account if already saw it"
e6338578bdb0f7bb3c2300e7258240682a185bc7 21-Sep-2016 Etan Cohen <etancohen@google.com> Merge "[NAN] Rename to make discovery explicit" am: 5706a8f535 am: eb4c838c46 am: ad864c8fd9
am: b7f1a665b5

Change-Id: Icfb2cc41125f14add10c2d8881d651c51c484b6c
f6d424f133563fb3fc75d8fd260e6e7ed4608ef6 21-Sep-2016 Svet Ganov <svetoslavganov@google.com> While-list apps to access account if already saw it

Sync adapters without an account access cannot run until the
user approves the account access (for the case the account
access is not allowed by other policy such as being singed
with the same cert as the authenticator). However, if the
sync adapter package already got the account from another
app which means it already saw the account we white-list
the sync adapter app to access the account as it already
saw it - the bird is out of the cage.

bug:31162498

Change-Id: I2b72f3b0d6307561ed68db2f2e9c900b15e8d098
/frameworks/base/Android.mk
8b6456bc88d21d4106d25849a405e2876e597425 21-Sep-2016 Svetoslav Ganov <svetoslavganov@google.com> Merge "Move device serial behing a permission"
b7f1a665b53a8f79d81d718459fc44525b4766dd 20-Sep-2016 Etan Cohen <etancohen@google.com> Merge "[NAN] Rename to make discovery explicit" am: 5706a8f535 am: eb4c838c46
am: ad864c8fd9

Change-Id: I338cd7ddf54997bdf19a95056e5793103ffc2e23
ad864c8fd9fc3d3c6caa01543bf655efa2e5c14a 20-Sep-2016 Etan Cohen <etancohen@google.com> Merge "[NAN] Rename to make discovery explicit" am: 5706a8f535
am: eb4c838c46

Change-Id: Ie03f1e3fbead74c4de77758163ad911e68e54b90
3855370c24b575e0943a9a3c146fda980cd71e24 14-Sep-2016 Etan Cohen <etancohen@google.com> [NAN] Rename to make discovery explicit

Pure rename operation - no other functional changes.

(cherry-pick of commit ddb5f646562f31d7e78778a978e546f85312b009)

Bug: 31470256
Test: unit tests, integrated (sl4a) tests.
Change-Id: I5110d1a673b7ba4e39350d723b5984586fec585a
/frameworks/base/Android.mk
e7d73ac424090334efef65f288055254470e01a2 17-Sep-2016 Dirk Dougherty <ddougherty@google.com> Add build target for generating navtree json with all inherited members. am: 7d47b55cc0 am: e444205930
am: 3776a3253f

Change-Id: I84c26fedba5054ea470bd895664b2dac4d191746
b63d9d8aad137e7e1648e2579a35e6bd50aea944 17-Sep-2016 Dirk Dougherty <ddougherty@google.com> Add build target for generating navtree json with all inherited members. am: 7d47b55cc0
am: 33684f217b

Change-Id: I34040be694eb1c82b2feb977c6389890d7755d0d
3776a3253f726c7de5ad11cf123dadc12ec58d55 17-Sep-2016 Dirk Dougherty <ddougherty@google.com> Add build target for generating navtree json with all inherited members. am: 7d47b55cc0
am: e444205930

Change-Id: I9aafdf69cf9e0f29d6367a0dacfef53f5147a2cf
33684f217be9e33af6050fb22371b7f783245093 17-Sep-2016 Dirk Dougherty <ddougherty@google.com> Add build target for generating navtree json with all inherited members.
am: 7d47b55cc0

Change-Id: Ib9279dc1ec2149a535f4b7a4843612da6af27650
e444205930933fdf6cddcd77a6ba7f83a20b8f24 17-Sep-2016 Dirk Dougherty <ddougherty@google.com> Add build target for generating navtree json with all inherited members.
am: 7d47b55cc0

Change-Id: I66a805e871a9501bd5d19587dbc004be0cfd01d0
7d47b55cc04953c003026310cf0e8eaeddd7487b 14-Sep-2016 Dirk Dougherty <ddougherty@google.com> Add build target for generating navtree json with all inherited members.

Change-Id: I142e848b5288d92e14445025705ea7596e635b6b
/frameworks/base/Android.mk
37e43275eeee064947f1b448cdf129bea39cf918 10-Sep-2016 Svet Ganov <svetoslavganov@google.com> Move device serial behing a permission

Build serial is non-user resettable freely available deivice
identifier. It can be used by ad-netowrks to track the user
across apps which violates the user's privacy.

This change deprecates Build.SERIAL and adds a new Build.getSerial()
API which requires holding the read_phone_state permission.
The Build.SERIAL value is set to "undefined" for apps targeting
high enough SDK and for legacy app the value is still available.

bug:31402365

Change-Id: Iddd13430b2bd1d9ab4966e31038ecabdbdcec06d
/frameworks/base/Android.mk
7580351e9e1222ae20a18862fcf9a551be3b0bf1 09-Sep-2016 Svet Ganov <svetoslavganov@google.com> [DO NOT MERGE] While-list apps to access account if already saw it am: 91d37f43c7
am: f56f70365d

Change-Id: I3a553a7efe34feb9fbfa5d5c504874a2780bf132
91d37f43c73d76a54679bb84a71a6339bccb1e24 04-Sep-2016 Svet Ganov <svetoslavganov@google.com> [DO NOT MERGE] While-list apps to access account if already saw it

Sync adapters without an account access cannot run until the
user approves the account access (for the case the account
access is not allowed by other policy such as being singed
with the same cert as the authenticator). However, if the
sync adapter package already got the account from another
app which means it already saw the account we white-list
the sync adapter app to access the account as it already
saw it - the bird is out of the cage.

bug:31162498

Change-Id: I2b72f3b0d6307561ed68db2f2e9c900b15e8d098
/frameworks/base/Android.mk
689dc4a1fe78b8e4a26ec0732a4fb18b797d545e 06-Sep-2016 smain@google.com <smain@google.com> remove 'useUpdatedTemplates' flag that's no longer supported. Fix build.
am: 7dd9749246

Change-Id: I112bec6d8618a116c8abab0751849e12253e298c
343e96ccacf1da9532cd4cf969b13f22a407a839 06-Sep-2016 smain@google.com <smain@google.com> switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build.
am: 534bfe1a4a

Change-Id: Ie221252d7cc058d118ac53f3c74ea9c62a077536
5a1d20b832d803881fc16e6d92ebb29c80bc9661 03-Sep-2016 smain@google.com <smain@google.com> remove 'useUpdatedTemplates' flag that's no longer supported. Fix build. am: 7dd9749246 am: ff8cb50979 am: 3578867216 am: 1696dcd4b4
am: f6b5cde9d9

Change-Id: I2259d8cd918b76c6ef22382b08de3c22327a679d
f6b5cde9d9b671dba20be223a73ffd1829b480dd 03-Sep-2016 smain@google.com <smain@google.com> remove 'useUpdatedTemplates' flag that's no longer supported. Fix build. am: 7dd9749246 am: ff8cb50979 am: 3578867216
am: 1696dcd4b4

Change-Id: Ib752a8fc535b7856b0881c79d306c33026f3f5ee
ff8cb509798b3e0fc18f2eaf5fa2218fa4573cb6 03-Sep-2016 smain@google.com <smain@google.com> remove 'useUpdatedTemplates' flag that's no longer supported. Fix build.
am: 7dd9749246

Change-Id: I5a048d040dd040f40d0b5e30ea67e62de4cf7259
7dd974924671715501b53efb90e3e116d436d966 03-Sep-2016 smain@google.com <smain@google.com> remove 'useUpdatedTemplates' flag that's no longer supported. Fix build.

Change-Id: Ic1778b6e3044c80e602f5ce9d4f825c8578c1a0a
/frameworks/base/Android.mk
bf33a05ad844301701e0ae95dd3d0a4fc01a114d 03-Sep-2016 smain@google.com <smain@google.com> switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build. am: 534bfe1a4a am: 63f29277bc am: 7ed5e42567 am: 3552190ba3
am: 893867044b

Change-Id: I79c8660bab44e6672a975f70331855b33cc7f87c
893867044b7adda9e5ab57c55dffd1280491355a 03-Sep-2016 smain@google.com <smain@google.com> switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build. am: 534bfe1a4a am: 63f29277bc am: 7ed5e42567
am: 3552190ba3

Change-Id: I40e7ef517807b0ba5cb9d60045a0125380b218e6
63f29277bcd64f8e0b0681fa18b29fa8ce799e23 02-Sep-2016 smain@google.com <smain@google.com> switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build.
am: 534bfe1a4a

Change-Id: I9833fe119f6e5fef4cd74439c71d6a40fb5d5db9
9971e250565a699b7d1f63133b1be7b15dac5c99 02-Sep-2016 smain@google.com <smain@google.com> resolve merge conflicts of dde8deb to nyc-dev-plus-aosp

Change-Id: I5581b6a4b27ec78b8610f2911896b17a710dbd19
534bfe1a4ab9a13894f48c3c92ce9d5d8ce70d2b 02-Sep-2016 smain@google.com <smain@google.com> switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev.
also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build.

Change-Id: Iebd9791305479c5dc406ba3b81eaf076855bc632
/frameworks/base/Android.mk
6d0edba1e3a94a7596c5abd7804e1866e0ce99b9 01-Sep-2016 Colin Cross <ccross@android.com> Merge "Fix missing dependency on R.java" am: 227a176508 am: bfd4422060 am: 0903ecb99b
am: cdd5f65515

Change-Id: I3868e11d968d9e7c1c265d89c6991d500fc6b968
cdd5f65515bf3d7b1e5d26a0b1f3619aec07cb89 01-Sep-2016 Colin Cross <ccross@android.com> Merge "Fix missing dependency on R.java" am: 227a176508 am: bfd4422060
am: 0903ecb99b

Change-Id: I2b50adaa9ed052cf3022a78a77729c3b618834f8
0903ecb99b8c7ca368d5d6ccadc81b7c18c26eb3 01-Sep-2016 Colin Cross <ccross@android.com> Merge "Fix missing dependency on R.java" am: 227a176508
am: bfd4422060

Change-Id: I2090c1f16e77164d82d4e4f99f478315a81f0fc3
2dd2fead4522246314bcc44d14e89d4dea71655f 01-Sep-2016 Jakub Pawlowski <jpawlowski@google.com> Merge "Separate advertiser from GATT client (1/4)" am: 5f87c4539a am: 40a16ea242 am: 9f341e4e49
am: 8348bd2317

Change-Id: I15b6c8ab87822e5f33bdfabcb8e09e8ce9501cd7
bf7ab6a90c36d980a611fd4ef0e6b770c877d7bb 01-Sep-2016 smain@google.com <smain@google.com> resolve merge conflicts of e8a3ea8 to nyc-mr1-dev-plus-aosp
am: 151833ab14

Change-Id: Icbde16bb62da630836fe908fa7ca088fe95701ba
c558dd9597fa6dba90bbb2838b65472e15ed20ee 01-Sep-2016 Colin Cross <ccross@android.com> Fix missing dependency on R.java

Compiling frameworks source is missing a dependency on the R.stamp file
generated by the frameworks-res aapt rule, likely caused by the switch
to jack. Use LOCAL_ADDITONAL_DEPENDENCIES to insert the dependency
instead of directly using build system internals.

Change-Id: Ifb830da18b3607f87ae283cea04f7d276d4bfde9
/frameworks/base/Android.mk
8348bd23173c35105d4725ae8e1296a7272e9b50 31-Aug-2016 Jakub Pawlowski <jpawlowski@google.com> Merge "Separate advertiser from GATT client (1/4)" am: 5f87c4539a am: 40a16ea242
am: 9f341e4e49

Change-Id: Ic3461b98449636cfc125890f255b1332d0ef5132
9f341e4e4901b0dd538e2f69f236ddd1e302f3ba 31-Aug-2016 Jakub Pawlowski <jpawlowski@google.com> Merge "Separate advertiser from GATT client (1/4)" am: 5f87c4539a
am: 40a16ea242

Change-Id: I0d08f623e78fdd779b39083d0da3a45aee72ff3c
151833ab141f49f42b854feda27842df94a665e2 31-Aug-2016 smain@google.com <smain@google.com> resolve merge conflicts of e8a3ea8 to nyc-mr1-dev-plus-aosp

Change-Id: Ied5ddc04e6da65cba62698cd18ba78496f5fb646
a480f7fe28ef059b82491f52dcc69934322ee5e2 05-Aug-2016 Jakub Pawlowski <jpawlowski@google.com> Separate advertiser from GATT client (1/4)

Bug: 30622771
Change-Id: I08c0498f8a1ea04423d3e864e9a60c7c78f1dbad
/frameworks/base/Android.mk
c9ec419c9cca850687ab3dbc0b31f3a3bc27d8cd 31-Aug-2016 smain@google.com <smain@google.com> replace the N Preview landing page with the redirect to the package index also update version metadata (no longer preview, now 7.0)
am: dde8deb950

Change-Id: Ide293756b6b7a75a434ff9ed3cf15cd40fbd3452
dde8deb950a09c381aedc2c13bfd3f9202263d4b 30-Aug-2016 smain@google.com <smain@google.com> replace the N Preview landing page with the redirect to the package index
also update version metadata (no longer preview, now 7.0)

Change-Id: I84af003daa9bae3bc932c8b87921ed82f813e1cf
/frameworks/base/Android.mk
722de5f9d0bbac21fb0d132669fcc317e2c6703f 30-Aug-2016 Mitchell Wills <mwills@google.com> DO NOT MERGE Manually merge commit 'f28778064383821ccf48c9570191f34a24aa513f' into nyc-mr1-dev-plus-aosp

Change-Id: I7cb1f97a5b931c2057a811d7947f47ad7320ef1c
f28778064383821ccf48c9570191f34a24aa513f 30-Aug-2016 The Android Automerger <android-build-merger@google.com> Manually merge commit 'b0b6afc' into nyc-dev-plus-aosp
357773aa629cde25c60a27be69dd0d81fc02b7e2 29-Aug-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add KeyAttestationApplicationIdProviderService to SystemServer"
00abb43588578e41e1a581c28ff96cc70a293361 18-Feb-2016 Etan Cohen <etancohen@google.com> [NAN] Renamed listeners to callback per API guidelines

The interfaces had multiple functions and are hence callback
and not a listener.

Note: purely a rename operation.

(cherry-pick of 0d0f0c7faf530a0fa5595dd539c3f56afeb6603a,
Change-Id: Ib12711f56a64052455843859125d72268c465fc0)

Bug: 27122760
Change-Id: Ie1905a5d907e5b09d449af52814b1aacb6426477
(cherry picked from commit 4e1af1b80735f5d61f089432a63a23937c994546)
/frameworks/base/Android.mk
b29bbcc54ca5866a1f8db420231cac9d4f9c3280 17-Feb-2016 Etan Cohen <etancohen@google.com> [NAN]: API update - consolidate Puslish|Subscribe Data+Subscribe -> Config

Simplify configuration and consolidate structures whose difference
wasn't very clear.

(cherry-pick of e4c50de75273efaec4e9e8db6174e0bfc07d3105,
Change-Id: I0651cade71eb146d9ea9219baf6d2253588db3de)

Bug: 27122760
Change-Id: I6320bd4c960e4473b4bf3c28e54a7ba492fa2cf9
(cherry picked from commit 581a4f7b31e3ccefce6c022582fd99ba0313b73c)
/frameworks/base/Android.mk
8ff1e193acc1d9946f877332547c7706cfcf12f4 03-Jun-2016 Janis Danisevskis <jdanis@google.com> Add KeyAttestationApplicationIdProviderService to SystemServer

Add getKeyAttestationApplicationId and the Parcelables
KeyAttestationPackageInfo and KeyAttestationApplicationId,
needed by keystore.

Bug: 22914603
Change-Id: I89a88cd9cd80e9b132ca67fc452e9cae8b8ad241
/frameworks/base/Android.mk
a4a2358706c147e94f29686fbd7721e367a858e0 18-Aug-2016 Dirk Dougherty <ddougherty@google.com> dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links. am: b042ab1eb6 am: d66ec65b77 am: 7e7ea76356
am: c05521b401

Change-Id: I6341a4d027654329209241d1955b90efd02f910e
1d7e5a69980ac84b131f8dad6d0e6ca481348f4d 18-Aug-2016 Dirk Dougherty <ddougherty@google.com> dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links.
am: b042ab1eb6

Change-Id: I1c8026a7ff09cfce9049383123a143b845dcede6
c05521b401aea3763247227189305a07bc846573 18-Aug-2016 Dirk Dougherty <ddougherty@google.com> dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links. am: b042ab1eb6 am: d66ec65b77
am: 7e7ea76356

Change-Id: I6a9043c277e624dd3c96be9122454c937931b461
d66ec65b77ff5b63490393a579b57f29026f4e39 18-Aug-2016 Dirk Dougherty <ddougherty@google.com> dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links.
am: b042ab1eb6

Change-Id: I725ff3bce89572d06f76dd9f1860365514d27d56
b042ab1eb6519ea5eb4614b0038e8aaed6d5af99 15-Jun-2016 Dirk Dougherty <ddougherty@google.com> dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links.

Change-Id: I7d26fabfca74d8e706fd99cbeaa1761907c31dbf
/frameworks/base/Android.mk
8d69e9c93bc5cc7b2b046e80d6136c9427b43e58 05-Aug-2016 Todd Kennedy <toddke@google.com> Move EphemeralResolverService am: 31b95e0265 am: fa67fad84e
am: 8c073e0aad

Change-Id: I2fb2add1e4431c2c802430990f99807934878e84
8c073e0aad8da1c559212b111b9d76e1e6ffa156 05-Aug-2016 Todd Kennedy <toddke@google.com> Move EphemeralResolverService am: 31b95e0265
am: fa67fad84e

Change-Id: Ieabd373b5557e03c6a189f070c8f79998e7a5a0a
31b95e0265fecb60ba29baba6a5ea4de3d4a3367 04-Aug-2016 Todd Kennedy <toddke@google.com> Move EphemeralResolverService

It should not have been under com.android.internal

Fixes: 30673742
Change-Id: I2277aa4a4799fa59bf68af7c4cfcb4e1216aeb8d
/frameworks/base/Android.mk
3b2a713f9226a15e939f45cdb788d8b14d7df8c1 18-Jul-2016 smain@google.com <smain@google.com> Merge \\\"update the version number used in docs and update the offline docs landing page\\\" into nyc-dev am: 6623f4177c am: 38b71c5741
am: 5eac2b0d88

Change-Id: I63b57594c6d2eb833a577ff8b51c01e9d2e31d39
5eac2b0d88f0d3fa48ffb506b1ca7872a16de0f9 18-Jul-2016 Scott Main <smain@google.com> Merge \\"update the version number used in docs and update the offline docs landing page\\" into nyc-dev am: 6623f4177c
am: 38b71c5741

Change-Id: Ice045bb360e2de70af6cc3cc721d6ec5f55e8f58
38b71c5741237cbc6b37e2c0f9fd9b21135b4e2b 18-Jul-2016 smain@google.com <smain@google.com> Merge \"update the version number used in docs and update the offline docs landing page\" into nyc-dev
am: 6623f4177c

Change-Id: Iedcaed7bc842c353bbf2dc3f66dfa5054613d1e8
e8c3590a7703fa0022c1b70e5136296dd1266600 18-Jul-2016 smain@google.com <smain@google.com> Merge \"update the version number used in docs and update the offline docs landing page\" into nyc-dev
am: 6623f4177c

Change-Id: I60626863804f787bf5e1435003d730427f1254df
39426fd8f6183e7cd27bad4694deb3a14f8cce5b 13-Jul-2016 smain@google.com <smain@google.com> update the version number used in docs
and update the offline docs landing page

Change-Id: I36388e0a125d6349518d9c4d5368fb76fb85cf7a
/frameworks/base/Android.mk
d1c50f66f66bfcbff5585921490e877d50d0b0a4 11-Jul-2016 Selim Cinek <cinek@google.com> resolve merge conflicts of 6e57aae to master

Change-Id: I929929ad41df4439996755b605d084bfdcf3428a
6e57aae6809b9aa12fa2a3e32a92839b66af1856 09-Jul-2016 Jorim Jaggi <jjaggi@google.com> Merge \"Improve initial unlock delay (1/2)\" into nyc-mr1-dev
am: 165b011a74

Change-Id: Ib7bfefcd59288d144a22434e5a99124c66fa4826
e8fde5d9666eea10307cbc27f4b1a94d3cbb4ec9 01-Jul-2016 Jorim Jaggi <jjaggi@google.com> Improve initial unlock delay (1/2)

When checking for the credentials, we add a new callback
onEarlyVerified which gets called as soon as we know that the
credential was correct.

In KeyguardUpdateMonitor, we track the unlocked state of the user,
and if it's still locked, we slow down all the transitions to allow
for a more gradual unlock experience.

Bug: 29007436

Change-Id: I406d228f9f3e41e07fe3292a61df175a7f579e4d
/frameworks/base/Android.mk
7e1ea947f639b02bf4515beb802730049a226cfa 07-Jul-2016 smain@google.com <smain@google.com> Merge \"Merge \\"Merge \\\"remove \\\"referenceonly\\\" flag from the offline-docs build. Add new offline-docs-referenceonly make rule. And update online-sdk and offline-sdk to use the new site templates.\\\" into nyc-dev am: 83f71845af\\" into nyc-mr1-dev am: 925a5ffa5e\" into nyc-mr1-dev-plus-aosp
am: 3fa5eaa997

Change-Id: I965b36238ad7cc02a6b7f7f9257938edce665209
c1108c3927ac267662f9c8e45c13b82bbabdaffe 07-Jul-2016 smain@google.com <smain@google.com> Merge \"Merge \\"remove \\"referenceonly\\" flag from the offline-docs build. Add new offline-docs-referenceonly make rule. And update online-sdk and offline-sdk to use the new site templates.\\" into nyc-dev am: 83f71845af\" into nyc-mr1-dev
am: 925a5ffa5e

Change-Id: I91587d97a6fa86135646e937c241deca1f10275e
c526ad0e89a5d425c889713d56916d7c7a14b138 07-Jul-2016 smain@google.com <smain@google.com> Merge \"remove \"referenceonly\" flag from the offline-docs build. Add new offline-docs-referenceonly make rule. And update online-sdk and offline-sdk to use the new site templates.\" into nyc-dev
am: 83f71845af

Change-Id: Iee22aa299a11517f6c0efb73b57d5d256c8148c1
f83ada9e8a1017660a4b8925a083bb5c9454f5dc 07-Jul-2016 Annie Chin <afchin@google.com> Merge \\"Add callbacks to VoiceInteractionManagerService\\" into nyc-mr1-dev am: d58f07f58a
am: d99252358b

Change-Id: I809b459045a0606abc6ea5d4ad2d186f752b8bfb
d99252358b3ff4a3a857faed285659de1ebfe00f 07-Jul-2016 Annie Chin <afchin@google.com> Merge \"Add callbacks to VoiceInteractionManagerService\" into nyc-mr1-dev
am: d58f07f58a

Change-Id: I6a9c537b71084696915e744102a6a12f532942d5
d58f07f58a8230ee906b9af7d7a89ac876158ab6 07-Jul-2016 Annie Chin <afchin@google.com> Merge "Add callbacks to VoiceInteractionManagerService" into nyc-mr1-dev
68d98965c5035afa30c9cb12932fb5f9e45f0788 07-Jul-2016 smain@google.com <smain@google.com> Merge \"remove \"referenceonly\" flag from the offline-docs build. Add new offline-docs-referenceonly make rule. And update online-sdk and offline-sdk to use the new site templates.\" into nyc-dev
am: 83f71845af

Change-Id: Id932ce48bb4274096b0c3f367ea0f9d0c7cabef5
c179797f8e8cd232d544aa4a037635958255f8c0 06-Jul-2016 Erik Kline <ek@google.com> Merge \\"[net mgmt svc] add method to retrieve INetd reference\\" into nyc-mr1-dev am: 58ef88927d
am: e62b36bb33

Change-Id: Icf35de6a5a0dcc356cce4cf5d183aed647f35cc6
e62b36bb336b897f60e0602b21d26840a5c6efc5 06-Jul-2016 Erik Kline <ek@google.com> Merge \"[net mgmt svc] add method to retrieve INetd reference\" into nyc-mr1-dev
am: 58ef88927d

Change-Id: Ide0d1043f4047593c10dcb1a1e3ca5c644c6496c
4e37b7044018153bf294a0e9e834681c46c050d7 05-Jul-2016 Erik Kline <ek@google.com> [net mgmt svc] add method to retrieve INetd reference

Bug: 21859053
Bug: 28135208
Change-Id: Idfb5ca65788ae8c7aea91f12d9d461686ad836d6
/frameworks/base/Android.mk
ecb9f3e9b810c6d59d31e8bdeff6cc174d170792 28-Jun-2016 Annie Chin <afchin@google.com> Add callbacks to VoiceInteractionManagerService

Bug: 29582254

Change-Id: I548d01bd1c7e261b2d2e0afd606d964e5553124e
/frameworks/base/Android.mk
8562ab5ab827e9849cf4953e60d586a67aff4e34 15-Jun-2016 smain@google.com <smain@google.com> remove "referenceonly" flag from the offline-docs build.
Add new offline-docs-referenceonly make rule.
And update online-sdk and offline-sdk to use the new site templates.

Change-Id: I1a9b8e3ff4973a147c6878092ae960a6980cb3d8
/frameworks/base/Android.mk
b81ae49092c001e113a91053d570428e3f2c9e28 28-Jun-2016 Allen Hair <allenhair@google.com> Merge \\\"Add a flag to enable instrumentation of the framework classes.\\\" into nyc-dev am: 15783f0073 am: fb20170c0f
am: b216e80956

Change-Id: Ib7d63464ea7a042ea5461ce62928ceb8a3c01c0b
b216e809569305ecbe881293ea52f3b1e656c4d1 28-Jun-2016 Allen Hair <allenhair@google.com> Merge \\"Add a flag to enable instrumentation of the framework classes.\\" into nyc-dev am: 15783f0073
am: fb20170c0f

Change-Id: I23336cd7dac59a0e2510b718ede8ae3a389047ac
fb9d75e7cde3eaa815eb3842a155da521c763c15 28-Jun-2016 Allen Hair <allenhair@google.com> Merge \"Add a flag to enable instrumentation of the framework classes.\" into nyc-dev
am: 15783f0073

Change-Id: Ie9e71eb96ad654fc1d34317177cce8013bc2dcb9
fb20170c0fae7ff17573b45c944a844cf1269929 28-Jun-2016 Allen Hair <allenhair@google.com> Merge \"Add a flag to enable instrumentation of the framework classes.\" into nyc-dev
am: 15783f0073

Change-Id: I9439934c0fff5c0e23fe0000252c8781f0540a81
0e4f014c206d549888d899d60c052f5cbbdd83eb 28-Jun-2016 Allen Hair <allenhair@google.com> Add a flag to enable instrumentation of the framework classes.

Bug: 29777843
Change-Id: I0f3639ad1303a9b2cc612f99cde427dedff4874f
/frameworks/base/Android.mk
bf055ba65844f3df53d48554255afd7ba97691ab 23-Jun-2016 Yohei Yukawa <yukawa@google.com> Merge \\"Add InputMethodService#exposeContent()\\" into nyc-mr1-dev am: dc42d7dd13
am: d02470f5a8

Change-Id: Id551d53ae3d7c34157ddf166aa44bdef67d46853
d02470f5a89a4e4a94dda371ab472e9cedd1130d 23-Jun-2016 Yohei Yukawa <yukawa@google.com> Merge \"Add InputMethodService#exposeContent()\" into nyc-mr1-dev
am: dc42d7dd13

Change-Id: Icf3ca0403c7dee26a3083ca98ca1239887d471bc
25e0813e6eb6315b1016db805fa9b791b4ae5cc2 23-Jun-2016 Yohei Yukawa <yukawa@google.com> Add InputMethodService#exposeContent()

This is a follow up CL to my previous CLs [1][2] that introduced
InputConnection#commitContent(InputContentInfo, Bundle) API to enable
IMEs to send a content to the target application.

With this CL, IME developers are able to temporarily expose
InputContentInfo object to the target package without permanently
granting URI permission. Although calling IMS#exposeContent() is
allowed only for the IME that is currently selected, the client is able
to request a temporary read-only access even after the current IME is
switched to any other IME as long as the client keeps InputContentInfo
object.

Here is a sample code snippet about how to use this mechanism.

[IME]
InputContentInfo contentInfo = new InputContentInfo(
contentUri,
new ClipDescription(description, new String[]{mimeType}),
linkUrl);
exposeContent(contentInfo, getCurrentInputEditorInfo());
getCurrentInputConnection().commitContent(inputContentInfo, null);

[App]
try {
contentInfo.requestPermission();
// Load inputContentInfo.getContentUri() here.
} finally {
contentInfo.releasePermission();
}

[1]: Iaadf934a997ffcd6000a516cc3c1873db56e60ad
152944f4909c47917473293b258d266435c6ab35
[2]: Ica1ba3154795c1bf44e140dfe639b299f83cd8af
adebb52588b098a1af678d4e33a234ef1ce783b2

Bug: 29450031
Change-Id: I2772889ca01f2ecb2cdeed4e04a9319bdf7bc5a6
/frameworks/base/Android.mk
4926ee18c00401561579a7c80b4cb14d641f8088 17-Jun-2016 Gina Dimino <gdimino@google.com> Merge \\\"Docs: Suppress errors in SystemApi Build Bug: 28427390\\\" into nyc-dev am: d06520a488 am: b7181150c4
am: cb08f6805a

Change-Id: I65d3016319d0cc53a53f931aa62c642ac53b9520
cb08f6805ad06fd02f728fe3c5a2a4a1d3d03cc5 16-Jun-2016 Gina Dimino <gdimino@google.com> Merge \\"Docs: Suppress errors in SystemApi Build Bug: 28427390\\" into nyc-dev am: d06520a488
am: b7181150c4

Change-Id: Iaa27ea956dbb521ff0fd20c2ab4ddb27608bf2f4
b7181150c42da5d5edcf45fad84e8a7fb2be462b 16-Jun-2016 Gina Dimino <gdimino@google.com> Merge \"Docs: Suppress errors in SystemApi Build Bug: 28427390\" into nyc-dev
am: d06520a488

Change-Id: Ice3bd7016d11e4f8f50c09e7b6ba3cb613911a52
0bae4dcd76d4138ca9ec9d0b0e9960705e54650d 16-Jun-2016 Gina Dimino <gdimino@google.com> Merge \"Docs: Suppress errors in SystemApi Build Bug: 28427390\" into nyc-dev
am: d06520a488

Change-Id: I127501113d4e290a1e8d0b3a44ba779ec36cdc1d
d06520a488056e004b3338154f5d8baf7214a66f 16-Jun-2016 Gina Dimino <gdimino@google.com> Merge "Docs: Suppress errors in SystemApi Build Bug: 28427390" into nyc-dev
8930555a4a32d60207090c88b0e6497fd4fbda3e 15-Jun-2016 Dirk Dougherty <ddougherty@google.com> Merge \\\"Add API 24 to reference selector.\\\" into nyc-dev am: 398d088871 am: f44feb36b0
am: f992a2af12

Change-Id: Ie77f470408603acddb50a39738003dfa407b7183
f992a2af12fb7661e12c929c40648c84f2d5a2a7 15-Jun-2016 Dirk Dougherty <ddougherty@google.com> Merge \\"Add API 24 to reference selector.\\" into nyc-dev am: 398d088871
am: f44feb36b0

Change-Id: Iff60df549779cd1155a7bfeeb74aca5e546a31ad
f44feb36b00192c3eeea31ed6a890027eb1ca3da 15-Jun-2016 Dirk Dougherty <ddougherty@google.com> Merge \"Add API 24 to reference selector.\" into nyc-dev
am: 398d088871

Change-Id: I922cb82b69a13913d83280d1003e292528bdfd88
8d129efa2311c106609c857382fcb8392a588a28 15-Jun-2016 Dirk Dougherty <ddougherty@google.com> Merge \"Add API 24 to reference selector.\" into nyc-dev
am: 398d088871

Change-Id: I51a61188186026eac5c12f3b0d0ec52eebf60f38
5f60f7cde60557dbb4d33356b8fe4779af1bc793 15-Jun-2016 Dirk Dougherty <ddougherty@google.com> Add API 24 to reference selector.

Change-Id: I153245ef814e27bf50f9d972ad1aa34fd92e6b8a
/frameworks/base/Android.mk
57ea9d02e58038cae2ad43390736c7047bf3d32a 03-Jun-2016 Robert Greenwalt <rgreenwalt@google.com> Merge "Add support for UNSOL PCO Data." into nyc-mr1-dev am: 6a5c9560a3
am: c4e25b26de

* commit 'c4e25b26defa019041d2e596381be69b7a68210c':
Add support for UNSOL PCO Data.

Change-Id: I77697380a179bd9894cfb21c71c734b9b8781016
c4e25b26defa019041d2e596381be69b7a68210c 03-Jun-2016 Robert Greenwalt <rgreenwalt@google.com> Merge "Add support for UNSOL PCO Data." into nyc-mr1-dev
am: 6a5c9560a3

* commit '6a5c9560a33337fc82362d77bc4bae633953428d':
Add support for UNSOL PCO Data.

Change-Id: Idcf20b421f1174b3ddacaa6fde33b221a5ecbccf
37409c574782d7cc0b877c386c1d45ba83a14925 02-Jun-2016 Robert Greenwalt <rgreenwalt@google.com> Add support for UNSOL PCO Data.

PCO is a container in data-call responses with a range
of optional fields devoted to carrier-proprietary signalling.
This change includes a class to contain this opaque info on
its way to carrier apps.

bug:28961371
bug:28567303
Change-Id: Ibfc304800bb3d5b8706d56c08400c1d0b4453a55
/frameworks/base/Android.mk
98ad88811c76f7334c285cc970a4107f7a716b5a 01-Jun-2016 Gina Dimino <gdimino@google.com> Docs: Suppress errors in SystemApi Build
Bug: 28427390

Change-Id: Ifea85bf7b1fcdd30a3d7f61bd17d0efba6368aa4
/frameworks/base/Android.mk
4b07a03dac7b4360f69b565452063b67f2c0c2e0 02-May-2016 Dirk Dougherty <ddougherty@google.com> Merge "Merge "Pass -yaml to ds builds to generate _book.yaml version of reference TOC." into mnc-mr-docs am: 5d8d511264 am: 6049306d8c am: c25a9b0104 am: 4569e9515c am: 48d8747041" into nyc-mr1-dev-plus-aosp
am: 4a9ae46de9

* commit '4a9ae46de97476e75d2f2e38989c5b93a272349b':
Pass -yaml to ds builds to generate _book.yaml version of reference TOC.

Change-Id: Iba70a1644719fefc08c83acb049ff826c5c98923
48d8747041830ab995d3719d481c895659cd13b1 02-May-2016 Dirk Dougherty <ddougherty@google.com> Merge "Pass -yaml to ds builds to generate _book.yaml version of reference TOC." into mnc-mr-docs am: 5d8d511264 am: 6049306d8c am: c25a9b0104
am: 4569e9515c

* commit '4569e9515c651616f7e24f563b52de98fb4bf258':
Pass -yaml to ds builds to generate _book.yaml version of reference TOC.

Change-Id: I83d230df7e8fb620ec9ea57621492261fbb236b7
4569e9515c651616f7e24f563b52de98fb4bf258 02-May-2016 Dirk Dougherty <ddougherty@google.com> Merge "Pass -yaml to ds builds to generate _book.yaml version of reference TOC." into mnc-mr-docs am: 5d8d511264 am: 6049306d8c
am: c25a9b0104

* commit 'c25a9b0104802454487ee6c428f9f070d389c02f':
Pass -yaml to ds builds to generate _book.yaml version of reference TOC.

Change-Id: Ib8ff6165cbcb1d3fb52611e9f5e61ac69a0083b6
c25a9b0104802454487ee6c428f9f070d389c02f 02-May-2016 Dirk Dougherty <ddougherty@google.com> Merge "Pass -yaml to ds builds to generate _book.yaml version of reference TOC." into mnc-mr-docs am: 5d8d511264
am: 6049306d8c

* commit '6049306d8c0f88f78dbc097bfcc971b095c6a9a3':
Pass -yaml to ds builds to generate _book.yaml version of reference TOC.

Change-Id: I6b6a65147254b0d2ba5ec6aa52429819ddca9b77
dfa366dccff679530c0138ec6d0d6944273b1dda 30-Apr-2016 Dirk Dougherty <ddougherty@google.com> Pass -yaml to ds builds to generate _book.yaml version of reference TOC.

Change-Id: I1eced1670eb9d7892672b59f3b92833448b9949a
/frameworks/base/Android.mk
53e7852f0b45deacb6d74d927b5fe6ed26a42d26 28-Apr-2016 Martijn Coenen <maco@google.com> Merge "Fix API review comments, add remove callback." into nyc-dev am: d19191d am: 1b65983
am: bd7a5a1

* commit 'bd7a5a1041ea9e8a4075692cac020fd6374b5bb1':
Fix API review comments, add remove callback.

Change-Id: I55e8eb1f6ae9308abf90d30bac434fc81ed18c7a
1b65983aa9cb00d53c7447cd1e3ef273e0e5c3b9 28-Apr-2016 Martijn Coenen <maco@google.com> Merge "Fix API review comments, add remove callback." into nyc-dev
am: d19191d

* commit 'd19191d4dcdefeebe0409d65740ee006c9e8a6a2':
Fix API review comments, add remove callback.

Change-Id: I9ae9906df2f8ab3fdeb6c3e84a31ba66dcc7ca44
d19191d4dcdefeebe0409d65740ee006c9e8a6a2 28-Apr-2016 Martijn Coenen <maco@google.com> Merge "Fix API review comments, add remove callback." into nyc-dev
750ccd53331105b2af96db052ffd28035490c4f2 28-Apr-2016 The Android Automerger <android-build-merger@google.com> Manually merge branch 'nyc-mr1-dev-plus-aosp' to shortcircuit automerger b/28407115
a2fcd056a9c72db1b97e3d05677a5cdc374ac616 27-Apr-2016 Dirk Dougherty <ddougherty@google.com> Merge "resolve merge conflicts of 0d00d28 to nyc-dev" into nyc-dev
am: 58a252d

* commit '58a252d1f0048c8b4188f6ea87d072cb3a686a50':
Adjust root path for translated content dirs on devsite builds.

Change-Id: I0812cf024502b32259bd4431324e91d8fcf5e792
d9036ba7ef9905959dc031397bbf75b6f5968eb9 27-Apr-2016 Dirk Dougherty <ddougherty@google.com> resolve merge conflicts of 0d00d28 to nyc-dev

Change-Id: Ib922635fe200a4216ce2970660daf3105d521cc9
db2174dcb8d087b2efb6017c4aca405902f72cae 26-Apr-2016 Svet Ganov <svetoslavganov@google.com> Merge "Ensure local settings caches are not stale" into nyc-dev am: f71d7fe am: d4bc15b
am: 0010741

* commit '0010741818127e6c9449fc49490f0bad14a76240':
Ensure local settings caches are not stale

Change-Id: I26c4f1f72eda3b2ebfb3ca6e086a0381d357471c
d4bc15b66be44af031f5e78574781b8f21923404 26-Apr-2016 Svet Ganov <svetoslavganov@google.com> Merge "Ensure local settings caches are not stale" into nyc-dev
am: f71d7fe

* commit 'f71d7feef22db9e0cab2f32edc7440aedb86fdfe':
Ensure local settings caches are not stale

Change-Id: I356b9ad0b6dc1e91bfad140de1b9fc79ab6efef3
f71d7feef22db9e0cab2f32edc7440aedb86fdfe 26-Apr-2016 Svetoslav Ganov <svetoslavganov@google.com> Merge "Ensure local settings caches are not stale" into nyc-dev
53a441ca8eda5a3e6209a952b1bbd32a39e19a1c 20-Apr-2016 Svet Ganov <svetoslavganov@google.com> Ensure local settings caches are not stale

We used the system proterties as a shared memory mechanism
to propagate information to local settings caches when the
content has changed and the cache should be cleared. The
system properties are unfortunately updated asynchronously
leading to cases where clients may read stale data.

This change adds a simple int array data structure backed
by shared memory which guarantees individual values are
atomically read and updated without memory tear. Multi-
index opearations are not synchronized between each other.

The settings provider is using the new data structure to
propagate the settings generation which drives when caches
are purged.

We have a single memory array keeping the generation for
different settings tables per user. Since memory array is
not a compact data structure and the user space exceeds
the memory array size we use an in-memory map from keys
to indices in the memory array where the generation id of
a key is stored. A key is derived by the setting type in
the 4 most significant bits and the user id in the 28 least
significant bits.

The mapping from a key to an index is cleared if the user is
removed and the corresponding index in the memory arry is
reset to make it available for other users. The size of the
memory array is derived from the max user count that can be
created at the same time.

bug:18826179

Change-Id: I64009cc5105309ef9aa83aba90b82afc8ad8c659
/frameworks/base/Android.mk
0d00d287a54ca79272899408800927cf563bd71a 26-Apr-2016 Dirk Dougherty <ddougherty@google.com> Merge "Adjust root path for translated content dirs on devsite builds." into mnc-mr-docs am: face65fe16
am: eeee5e2

* commit 'eeee5e2ec980f67b92597b7f5d8828593b3692aa':
Adjust root path for translated content dirs on devsite builds.

Change-Id: Id3d33d84e7127bc8cab0cdd4ccbc3505bfb2c824
879f5ba3f7eecda7c204751efc3fbfa58e7001ae 23-Apr-2016 Svet Ganov <svetoslavganov@google.com> Merge "Cleanup of the PackageInstaller API - Frameworks" into nyc-dev am: c947ebd am: 70d720c
am: 13da561

* commit '13da5613e2fce0ca2d5682fd202234856d2206e9':
Cleanup of the PackageInstaller API - Frameworks

Change-Id: Ibe4a6258c6437a9e86ed25e242301ca6d6635d26
70d720ca72fc4d56b350dda06b5bdf239912e77f 23-Apr-2016 Svet Ganov <svetoslavganov@google.com> Merge "Cleanup of the PackageInstaller API - Frameworks" into nyc-dev
am: c947ebd

* commit 'c947ebd66d397782af0870df457ccc4fe83c77cc':
Cleanup of the PackageInstaller API - Frameworks

Change-Id: I50e4c8357bb0c5abab9c37b6a39628f6e3e0ea1b
fa5a6320672e7991f7d79c5ee9b9f365641b1c67 22-Apr-2016 Sujith Ramakrishnan <sujithrk@google.com> Merge "Unbundle RemoteService on TV - part 3" into nyc-dev am: 7981e8f am: a2262b3
am: c5826ee

* commit 'c5826eebc50a6ffafe8cd20633b01b6ca27e8490':
Unbundle RemoteService on TV - part 3

Change-Id: If0dabbb8199132648fa9a791f46ee85e8970eb4b
ae0e03a9e03de34e37b768b971d7596d7220a053 26-Feb-2016 Svet Ganov <svetoslavganov@google.com> Cleanup of the PackageInstaller API - Frameworks

The PackageInstaller app manages side-loading apps as well
as permission management. It should be updatable, hence
should rely on system APIs to talk to the platform. This
is the first step of defining an API boundary.

Change-Id: I9814eafd0b22ae03b4b847a7007cdbf14c9e5466
/frameworks/base/Android.mk
c5826eebc50a6ffafe8cd20633b01b6ca27e8490 22-Apr-2016 Sujith Ramakrishnan <sujithrk@google.com> Merge "Unbundle RemoteService on TV - part 3" into nyc-dev am: 7981e8f
am: a2262b3

* commit 'a2262b3bb15497c6ee4854cfcf7a43fc07c2c876':
Unbundle RemoteService on TV - part 3

Change-Id: I45fbdda42aa5d9f5d9c25a027dd11eb7b0f560a1
de3f4aead5a92e28d81287ea5f63d2e510187927 22-Apr-2016 Sujith Ramakrishnan <sujithrk@google.com> Merge "Unbundle RemoteService on TV - part 3" into nyc-dev
am: 7981e8f

* commit '7981e8ff6509769a590f15b440f989437d732be5':
Unbundle RemoteService on TV - part 3

Change-Id: Ib5eb6363e904a1f66000d12263f66a8e5bd1f663
b5b86c11008422ac4bf5af5fed736f04ebbaa858 29-Jan-2016 Sujith Ramakrishnan <sujithrk@google.com> Unbundle RemoteService on TV - part 3

- New service TVRemoteService triggered by SystemServer
- Provider service proxy and watcher for maintaining connections to unbundled
services which have the BIND_TV_REMOTE_SERVICE permission.
- Shared library to facilitate connections between unbundled service and
TVRemoteService.
- Unbundled service needs TV_VIRTUAL_REMOTE_CONTROLLER
permission to be fully functional.

b/23792608

Change-Id: Ief5c6995883d1f7268a73bdd0c920c4c3f42cddb
/frameworks/base/Android.mk
4465add3e198943a23f3ad570e13516a46e8c568 21-Apr-2016 Vladislav Kaznacheev <kaznacheev@google.com> Merge "Rename DropPermissions to DragAndDropPermissions" into nyc-dev am: 729c640cc8 am: 45b1e14468
am: 0ee7fecd43

* commit '0ee7fecd437b4ba4676985e072c940a819d46114':
Rename DropPermissions to DragAndDropPermissions

Change-Id: Id978e6f65b915955d1caff4825d89373f248d168
45b1e1446863dbb0996576cc662651b314034ec9 21-Apr-2016 Vladislav Kaznacheev <kaznacheev@google.com> Merge "Rename DropPermissions to DragAndDropPermissions" into nyc-dev
am: 729c640cc8

* commit '729c640cc887da9fe7a1b57121167a7bf83fee97':
Rename DropPermissions to DragAndDropPermissions

Change-Id: I4a43cc10586d548befffa182d89382071ba412e7
729c640cc887da9fe7a1b57121167a7bf83fee97 21-Apr-2016 Vladislav Kaznacheev <kaznacheev@google.com> Merge "Rename DropPermissions to DragAndDropPermissions" into nyc-dev
377c32845bffaf68d5751d8cdf6fd60b8b3f5dc3 20-Apr-2016 Vladislav Kaznacheev <kaznacheev@google.com> Rename DropPermissions to DragAndDropPermissions

Bug: 28296057
Change-Id: Ic95cb4ae9c351d903df78628e983dec2bacd0ad5
/frameworks/base/Android.mk
e1ee098ab2b600596df8066ecf31a6798f56844f 19-Apr-2016 Robin Lee <rgl@google.com> Merge "Move UidRange aidl declaration to system/netd" into nyc-dev am: c618468 am: e7c7d77
am: 5d16439

* commit '5d1643989218a132f570c8d002213089a33ef5ce':
Move UidRange aidl declaration to system/netd

Change-Id: I899574d6e8ec88049a8bb72e8dc451ebd407bc3a
e7c7d77f6f87f271d62327e09b0ac9c8410a764b 19-Apr-2016 Robin Lee <rgl@google.com> Merge "Move UidRange aidl declaration to system/netd" into nyc-dev
am: c618468

* commit 'c6184685d8f9b08abf73f83778ca129bb5c9c51d':
Move UidRange aidl declaration to system/netd

Change-Id: I708ee20cfef47252a4b3ebecd1b2d46886326af4
c6184685d8f9b08abf73f83778ca129bb5c9c51d 19-Apr-2016 Robin Lee <rgl@google.com> Merge "Move UidRange aidl declaration to system/netd" into nyc-dev
106069412da3edd7de44f616a4f876d7102dcb45 30-Mar-2016 Robin Lee <rgl@google.com> Move UidRange aidl declaration to system/netd

Which owns the native UidRange.cpp, so it makes more sense for the
declaration to live there since frameworks/base depends on netd but not
vice versa.

Bug: 26694104
Change-Id: I0efda77713ee6f0ec8070fb0e09a694b95f6cd25
/frameworks/base/Android.mk
d55def89244f9c7be69559e48300734d3966e712 14-Apr-2016 Martijn Coenen <maco@google.com> Fix API review comments, add remove callback.

Bug: 28148561
Bug: 26426491
Change-Id: I5917ea5d8fe0d3195b407643ec271ab4eb8b30b7
/frameworks/base/Android.mk
1d03aedd7d67fe7480ca2ef79988b5adaa6c289e 14-Apr-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Delete ITelephonyDebug and ITelephonyDebugSubscriber" into nyc-dev am: 0a97f22
am: 5b2e531

* commit '5b2e5316d87227cce9e6e5054d98dfd7c60602ac':
Delete ITelephonyDebug and ITelephonyDebugSubscriber

Change-Id: Ie392d4d5baafc25a8384f4cdb0b9306bce26d031
5b2e5316d87227cce9e6e5054d98dfd7c60602ac 14-Apr-2016 Pavel Zhamaitsiak <pavelz@google.com> Merge "Delete ITelephonyDebug and ITelephonyDebugSubscriber" into nyc-dev
am: 0a97f22

* commit '0a97f22e068aeffd7384f64d26ab922b6d15670f':
Delete ITelephonyDebug and ITelephonyDebugSubscriber

Change-Id: I02d01abb811fc309024fb04fb5f56207a441a478
0a97f22e068aeffd7384f64d26ab922b6d15670f 14-Apr-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Delete ITelephonyDebug and ITelephonyDebugSubscriber" into nyc-dev
3852c1fd01c4b2224f07a4d6f64aff86612879be 10-Apr-2016 Dirk Dougherty <ddougherty@google.com> Adjust root path for translated content dirs on devsite builds.

Change-Id: I26e8cfcc60c113574a2807bf6fff7913c7d3823d
/frameworks/base/Android.mk
4a49791ef97226b08d9ce4977b5212074f8e160d 06-Apr-2016 Ruben Brunk <rubenbrunk@google.com> Merge "Add VrManager AIDL interface for use by system apps." into nyc-dev am: 50e229f
am: bc783e0

* commit 'bc783e038c17524c5182ad6b5e17ba95d0e1a319':
Add VrManager AIDL interface for use by system apps.

Change-Id: Ie3aaad8ef509f69c643638f8974a95e1f33a7a60
bc783e038c17524c5182ad6b5e17ba95d0e1a319 06-Apr-2016 Ruben Brunk <rubenbrunk@google.com> Merge "Add VrManager AIDL interface for use by system apps." into nyc-dev
am: 50e229f

* commit '50e229f1f45a1550ba13ec3f81e864630fc3dc1c':
Add VrManager AIDL interface for use by system apps.

Change-Id: Ia0bbf2bbe778bef5773e5d7c43b25d3cb248fe23
c7be3beced4ade05466a4a77c003ea81c2429f74 02-Apr-2016 Ruben Brunk <rubenbrunk@google.com> Add VrManager AIDL interface for use by system apps.

Bug: 27884853
Change-Id: I6de0d291deafe5003070d60866c60d6599312e79
/frameworks/base/Android.mk
a5060ee80dbb48bd7fc545d2aeeeb657b79893ea 06-Apr-2016 Trevor Johns <trevorjohns@google.com> Merge branch 'mnc-mr-docs' into mnc-ub-dev

Large merge to reconnect automerger for docs branch to mainline.

Conflicts:
docs/html-intl/intl/es/index.jd
docs/html-intl/intl/es/preview/download.jd
docs/html-intl/intl/es/preview/index.jd
docs/html-intl/intl/ja/index.jd
docs/html-intl/intl/ja/preview/download.jd
docs/html-intl/intl/ja/preview/index.jd
docs/html-intl/intl/ko/index.jd
docs/html-intl/intl/ko/preview/download.jd
docs/html-intl/intl/ko/preview/index.jd
docs/html-intl/intl/pt-br/index.jd
docs/html-intl/intl/pt-br/preview/download.jd
docs/html-intl/intl/pt-br/preview/index.jd
docs/html-intl/intl/ru/index.jd
docs/html-intl/intl/ru/preview/download.jd
docs/html-intl/intl/ru/preview/index.jd
docs/html-intl/intl/zh-cn/index.jd
docs/html-intl/intl/zh-cn/preview/download.jd
docs/html-intl/intl/zh-cn/preview/index.jd
docs/html-intl/intl/zh-tw/index.jd
docs/html-intl/intl/zh-tw/preview/download.jd
docs/html-intl/intl/zh-tw/preview/index.jd
docs/html/guide/topics/manifest/compatible-screens-element.jd
docs/html/guide/topics/manifest/uses-feature-element.jd
docs/html/preview/download.jd
docs/html/preview/features/runtime-permissions.jd
docs/html/sdk/index.jd
docs/html/tools/revisions/studio.jd
docs/html/tools/sdk/eclipse-adt.jd
docs/html/tools/support-library/features.jd
telephony/java/android/telephony/TelephonyManager.java

Bug: 28000173
Change-Id: Iacab0481175f1b32e0ac3bab98cde9e994100e94
0fb0731358b5c16bf6a5617a25b30122ec1258e2 06-Apr-2016 Pavel Zhamaitsiak <pavelz@google.com> Delete ITelephonyDebug and ITelephonyDebugSubscriber

Bug: 28026463
Change-Id: Iee9010dd7352bafcffb5718293f8d71f2fd98ea9
/frameworks/base/Android.mk
60aa10869cb99b5c7f8711aeb6e223a688195336 05-Apr-2016 Pavel Zhamaitsiak <pavelz@google.com> Merge "resolve merge conflicts of 20ebbb3 to nyc-dev" into nyc-dev am: f8565cd
am: faa0492

* commit 'faa0492d6ba7e9262741c50695997c6c231023e4':
ConnectivityMetricsLogger: Switch to "pull" model

Change-Id: Ia5b0fde3c46bb34e8c2308eb8c7ec8af4d600558
faa0492d6ba7e9262741c50695997c6c231023e4 05-Apr-2016 Pavel Zhamaitsiak <pavelz@google.com> Merge "resolve merge conflicts of 20ebbb3 to nyc-dev" into nyc-dev
am: f8565cd

* commit 'f8565cd3f30c60d8343dae3ca8c8bca18c5b451a':
ConnectivityMetricsLogger: Switch to "pull" model

Change-Id: Ic01fa847282f4d8b37c85c1b877a85df73401200
ce13079ab3b49e315765a41d96ffab5fa6fb1b67 05-Apr-2016 Pavel Zhamaitsiak <pavelz@google.com> resolve merge conflicts of 20ebbb3 to nyc-dev

Change-Id: I31d76a02456b3f09a6bdac11c6dbc5e913f5f7df
20ebbb3349cdf72d7d28c870849e532f227c74b4 05-Apr-2016 Pavel Zhamaitsiak <pavelz@google.com> Merge "ConnectivityMetricsLogger: Switch to "pull" model" into mm-wireless-dev
d1cb256b3efd2c00f1c44541b5589c2ea17b3cb8 01-Apr-2016 Pavel Zhamaitsiak <pavelz@google.com> ConnectivityMetricsLogger: Switch to "pull" model

If subscriber is in external app, its process can be killed. This would
lead to loss of events. To avoid that, we will be storing events in the
logger service. Clients can periodically pull data from it.

Another option for client apps is to register PendingIntent which will be
sent when certain number of new events has been received.

If events are logged at unexpectedly high rate from particular component,
then throttling mechanism will activate and new events will be blocked for
some time from that component.

Change-Id: I710409626eb5a42bcd3fe8126eac6b756fa1ab8b
/frameworks/base/Android.mk
292dbde7a57897663c0443a7c28ac8cd30088bfd 31-Mar-2016 Ying Wang <wangying@google.com> Merge "Merge commit \'1a510a3c5ce1a7d8ef9817ad7da4b06b9844383f\' into manual_merge_1a510a3" into nyc-dev-plus-aosp
am: e7965d4

* commit 'e7965d4a22492a947462c62b99e8db9f41d497ff':
Remove support of disabling Jack.

Change-Id: I067b7f2d3290948e3fcf656a596645f804a3803b
c2f612e048222cfc4bda0d0a64c15a9d6aedfe68 31-Mar-2016 Ying Wang <wangying@google.com> Merge commit '1a510a3c5ce1a7d8ef9817ad7da4b06b9844383f' into manual_merge_1a510a3

Change-Id: I84953dc077a5dfea1290b952e2de73f9a6d34118
ddea724b36d2fc7cb5182e21ffd1f0c7a30ac34f 31-Mar-2016 Philip P. Moltmann <moltmann@google.com> Merge "Add the print service recommendation service" into nyc-dev am: 740a5f0
am: fa04bc7

* commit 'fa04bc7a5d49415bc7cd397bb9678316d3824f85':
Add the print service recommendation service

Change-Id: I3da289dfe99e1caa3ed2ab3368902d597f16f738
fa04bc7a5d49415bc7cd397bb9678316d3824f85 31-Mar-2016 Philip P. Moltmann <moltmann@google.com> Merge "Add the print service recommendation service" into nyc-dev
am: 740a5f0

* commit '740a5f023eea7b2fdb3e31efe8b8d5ac18aa8302':
Add the print service recommendation service

Change-Id: Ie58ade9356f591781496581259b6d8a876780ac9
9dcb86a48d73f399fb1b5c020005d76d350eeac2 14-Mar-2016 Philip P. Moltmann <moltmann@google.com> Add the print service recommendation service

This service connects through the print manager to the print spooler:

PrintSpooler.AddPrintersActivity <-> PrintManager <-> PrintManagerService <-> UserState <-> RemotePrintServiceRecommendationService <-> PrintRecommendationService <-> PrintRecommendationServiceImpl

Hence there is a lot of mindless plumming.

The actual changes are only in the AddPrintersActivity which is extended
to show another list of services: The recommended services.

The PrintServiceRecommendationService is based on the experimenal print
service stubs provider. This provider was contributed the Android by
Mopria. As this services uses Android own network discovery service most
code from the experimental provider goes away. In fact the only logic
left over is the selections of mdns-txt fields to look at and the
printer vendor configuration.

This relies on the Android MDNS to get fixed (Bug: 27696905). This also
does not deal with how to update the recommendation service.

Bug: 24533249
Change-Id: I6edc6e25fc08a50d478b61c71bb8ea158b08624c
/frameworks/base/Android.mk
ba068f48727dee2223b3be3b0359accb949e363d 30-Mar-2016 Ying Wang <wangying@google.com> Remove support of disabling Jack.

Also removed obsolete LOCAL_DX_FLAGS.

Bug: 27400061
Change-Id: I23fe13927fb3580698a8a4b84173e229e037f02e
/frameworks/base/Android.mk
df1f2c5205b2b866077d02feda1efe7ace89cb1e 28-Mar-2016 Joe Onorato <joeo@google.com> Merge "Refactor ProcessStats." into nyc-dev am: 0caf007
am: ee93672

* commit 'ee93672b78a8054713f340ef07a512d86e6db5cc':
Refactor ProcessStats.
ee93672b78a8054713f340ef07a512d86e6db5cc 28-Mar-2016 Joe Onorato <joeo@google.com> Merge "Refactor ProcessStats." into nyc-dev
am: 0caf007

* commit '0caf007b3f0b4cd21be285820c270c51a8e502b7':
Refactor ProcessStats.
0caf007b3f0b4cd21be285820c270c51a8e502b7 28-Mar-2016 Joe Onorato <joeo@google.com> Merge "Refactor ProcessStats." into nyc-dev
3c664a9b39b047e18c5b2ec0e99df4a3c448e941 27-Mar-2016 Jeff Sharkey <jsharkey@android.com> Update PRE_BOOT_COMPLETED for FBE. am: bd91e2f
am: bef5aad

* commit 'bef5aad065fd2f5f222ac14a8d063d12348c7c34':
Update PRE_BOOT_COMPLETED for FBE.
bef5aad065fd2f5f222ac14a8d063d12348c7c34 27-Mar-2016 Jeff Sharkey <jsharkey@android.com> Update PRE_BOOT_COMPLETED for FBE.
am: bd91e2f

* commit 'bd91e2f3f6aca512a02be645b2515b5e3331e177':
Update PRE_BOOT_COMPLETED for FBE.
bd91e2f3f6aca512a02be645b2515b5e3331e177 22-Mar-2016 Jeff Sharkey <jsharkey@android.com> Update PRE_BOOT_COMPLETED for FBE.

Now that CE data isn't available until after a user is unlocked, we
need to delay the PRE_BOOT_COMPLETED broadcasts. This is done by
adding a new RUNNING_UNLOCKING user state to the UserController
lifecycle.

We now track the last fingerprint a user was logged in under, and we
dispatch PRE_BOOT receivers when that fingerprint changes. To work
around battery pull issues, we only persist the updated fingerprint
once all PRE_BOOT receivers have finished. This is less granular
than the original solution, but it's still correct. We only consider
a user as "logged in" once it transitions into the RUNNING_UNLOCKED
state.

When starting a process, track if the user was "unlocked" when
started, so that we only spin up unaware providers in processes
started before user unlock.

Add generic IProgressListener to communicate PRE_BOOT progress and
strings up to lock screen. For now, LockSettingsService just blocks
until finished, but it could display these strings in the future.

Bug: 27220885
Change-Id: I349439776b885acd32f6a578d8951ffd95640be2
/frameworks/base/Android.mk
4eb64fdbcf899a81d0a6a04dc3658d03d9df8247 21-Mar-2016 Joe Onorato <joeo@google.com> Refactor ProcessStats.

- Pull most of the inner classes out into their own files.
- Move everything to a new android.app.procstats package.
- Move all of the code that was manipulating the big list
of longs to use the new SparseMappingTable class rather
than doing everything by hand. The logic is unchanged.
- Add a sequence number check to SparseMappingTable so
when the big list of longs and the individual tables are
reset, which happens somewhat independently, we can
assert when one of them doesn't get reset.
/frameworks/base/Android.mk
cceedf75c4c849638d65c21909f08d2f98728555 23-Mar-2016 Dan Willemsen <dwillemsen@google.com> resolve merge conflicts of 8416096 to nyc-dev-plus-aosp
am: dc3b852

* commit 'dc3b8521256eaec189e8dd6335df40fd2493adb1':
Remove custom copy rules, stop using ACP
dc3b8521256eaec189e8dd6335df40fd2493adb1 23-Mar-2016 Dan Willemsen <dwillemsen@google.com> resolve merge conflicts of 8416096 to nyc-dev-plus-aosp

Change-Id: I1638601fe84dda01bf52c59eb6c976bc1fe37498
98ff0b72f0ac630be2b7fd8ab77f5ee50a1ce26f 23-Mar-2016 Dan Willemsen <dwillemsen@google.com> Remove custom copy rules, stop using ACP

Replace some custom rules with BUILD_PREBUILT.

Move tools from ALL_PREBUILTS to BUILD_PREBUILT. All of them are already
in PRODUCT_PACKAGES in build/target/product/base.mk.

Remove uses of ACP and replace with core build system macros or 'cp'

Change-Id: I529e7c6c50fc64ad36b75bb47142f6bde909d141
/frameworks/base/Android.mk
6c254f09a21991b11b94fcde7a096558bda78335 23-Mar-2016 smain@google.com <smain@google.com> Merge "switch offline docs back to standard templates that now have a condition for \'referenceonly\' bug: 27667787" into nyc-dev am: 1dd114e
am: 24b8e43

* commit '24b8e43f699e5c4baa5116542c8723b3997fe389':
switch offline docs back to standard templates that now have a condition for 'referenceonly' bug: 27667787
1dd114e5ab9ea6d9fee905a4700103b7584b9596 23-Mar-2016 Scott Main <smain@google.com> Merge "switch offline docs back to standard templates that now have a condition for 'referenceonly' bug: 27667787" into nyc-dev
f7b6dad01591c31804d2a6e14be24a1978e379a0 22-Mar-2016 smain@google.com <smain@google.com> switch offline docs back to standard templates that now have a condition for 'referenceonly'
bug: 27667787

Change-Id: Iaedba58c72634dac33ef09b9a50322af664ef581
/frameworks/base/Android.mk
bb6d60a114bca7ca4f68f9c8e67862255a9caa4d 19-Mar-2016 Pavel Zhamaitsiak <pavelz@google.com> Merge "ims:rcs: Add UCE interface files for RCS." into nyc-dev am: eac4de2
am: b487726

* commit 'b4877263b14f34e96bcf3b4e08e52f46fbba9228':
ims:rcs: Add UCE interface files for RCS.
7ed3044ed1c4777650d38775a5f26cb3396fab09 17-Mar-2016 Dheeraj Shetty <dshetty@codeaurora.org> ims:rcs: Add UCE interface files for RCS. [DO NOT MERGE]

Change-Id: I2ce9e60240740acfe70c4a239163fbdbedbd96e0
/frameworks/base/Android.mk
cfedd20d54687449bb6a6982085003cbf9a22bcb 19-Mar-2016 Pavel Zhamaitsiak <pavelz@google.com> ims:rcs: Add UCE interface files for RCS.

Bug: 23222011
Change-Id: I2ce9e60240740acfe70c4a239163fbdbedbd96e0
/frameworks/base/Android.mk
8f8e9e3d99805bb3064642f53b703d515e012f8e 17-Mar-2016 Michal Karpinski <mkarpinski@google.com> Merge "Unifying method names and comments to security logging, not device logging" into nyc-dev am: c7605b83
am: e165d40

* commit 'e165d40d2d03cde6f8ed8da523b65553de800906':
Unifying method names and comments to security logging, not device logging
6235a94ffaed1d82cee2317481c18776f601da1b 15-Mar-2016 Michal Karpinski <mkarpinski@google.com> Unifying method names and comments to security logging, not device logging

Also move SecurityLog to android.app.admin package.

Bug: 27531824
Bug: 27532560
Bug: 27532564
Bug: 27532425
Change-Id: I2677afdb5685bc5d21e52c41b381b57a41e364b6
/frameworks/base/Android.mk
2d738af37244902993a9800a140eb2c6a529f1ff 16-Mar-2016 Joseph Pirozzo <pirozzoj@google.com> Merge "Add BluetoothProfile for PBAP PCE role." into nyc-dev am: d91859d246
am: f12a22cd53

* commit 'f12a22cd538844afa5fc5ed809febe2c4e2badbd':
Add BluetoothProfile for PBAP PCE role.
d91859d2460c45943568a98dab1950d53a4af608 16-Mar-2016 Joseph Pirozzo <pirozzoj@google.com> Merge "Add BluetoothProfile for PBAP PCE role." into nyc-dev
cfa8a6469463ace9c3336e3686d950792a2c7ad4 04-Mar-2016 Joseph Pirozzo <pirozzoj@google.com> Add BluetoothProfile for PBAP PCE role.

Create a new Bluetooth profile for Pbap Client.

Bug: 27490041
Change-Id: I77d2c7eeeb8e955ea61386d784b02b14f415b318
/frameworks/base/Android.mk
b35d57aad94ba07435858c80ba2468cc03f09c8e 14-Mar-2016 Anju Mathapati <anjucm@codeaurora.org> Merge "IMS: Changes for MultiEndpoint" into nyc-dev am: f8de70c7b7
am: 8391d839bb

* commit '8391d839bb508be6c21a154f67a9423169e376b0':
IMS: Changes for MultiEndpoint
f8de70c7b7855cad84fd3565eb29bd9c49bb0bc3 14-Mar-2016 Tyler Gunn <tgunn@google.com> Merge "IMS: Changes for MultiEndpoint" into nyc-dev
f604fc33c699b9f91315588ea4d6c6cd3b09a372 10-Mar-2016 Anju Mathapati <anjucm@codeaurora.org> IMS: Changes for MultiEndpoint

- Interface changes for MultiEndpoint

- Extra for CallPull in -
- TelephonyProperties
- ImsProfile
- Error codes in ImsReasonInfo

Change-Id: I9a497cf04a412dc9d2f80b489e3455d289c3dfb7
/frameworks/base/Android.mk
a2fbe47d6474ee82202fc61be3c0bee6ae4f385e 11-Mar-2016 Joe Fernandez <joefernandez@google.com> Merge "docs: Fix reference docs build to indicate N changes" into nyc-dev am: 093889409b
am: 60d139cc09

* commit '60d139cc09fb8d76f12fd1ce9d02647ff6db03b6':
docs: Fix reference docs build to indicate N changes
093889409b011b9ace3c188c311e3d63583038cd 11-Mar-2016 Joe Fernandez <joefernandez@google.com> Merge "docs: Fix reference docs build to indicate N changes" into nyc-dev
772d08f9904131b8c8fd2b2322977b417b7e27b2 11-Mar-2016 smain@google.com <smain@google.com> Merge "fix the docs preview version number" into nyc-dev am: a0d9165ff6
am: 950600b4ac

* commit '950600b4ac7e690cdf2bc2ddd55c9a6d3ae4315c':
fix the docs preview version number
269aa4ebc492866b3ed64689c5c28366eada7820 11-Mar-2016 smain@google.com <smain@google.com> fix the docs preview version number

Change-Id: I8c8a8fb6bd431eade40e62a6b135b628811c0558
/frameworks/base/Android.mk
a1d14c9c3c5f71fa8b74102923bc0b656202d542 11-Mar-2016 smain@google.com <smain@google.com> Merge "update preview version number to 2 for offline docs" into nyc-dev am: 89dd1c43f0
am: 58ffc3163d

* commit '58ffc3163df6694e4035c3ba66a147f94025bbd7':
update preview version number to 2 for offline docs
42fa6ee1870d394ce63a86b863e2df55a2171775 11-Mar-2016 smain@google.com <smain@google.com> Merge "make new \'referenceonly\' docs build the default for offline docs. add preview codename and version number HDF variables for generated docs." into nyc-dev am: 5904f246ca
am: bdf6f6b89a

* commit 'bdf6f6b89a715f3c0534ffd672460b955875575e':
make new 'referenceonly' docs build the default for offline docs. add preview codename and version number HDF variables for generated docs.
9334f5ed12c3911f22fc7a531384c0ad015125d3 11-Mar-2016 smain@google.com <smain@google.com> update preview version number to 2 for offline docs

Change-Id: I56cab8d21f9521fab17ec79a441c518cf9da536c
/frameworks/base/Android.mk
7aca8beaa8c7b4fe72bcd35248e28e2f378c4647 10-Mar-2016 smain@google.com <smain@google.com> make new 'referenceonly' docs build the default for offline docs.
add preview codename and version number HDF variables for generated docs.

Change-Id: I165526f4e575ec8885bab906e66d17666ea8b4ba
/frameworks/base/Android.mk
0ff9bf7cc97aa54a528999ef4ba25b40bd11f46b 10-Mar-2016 smain@google.com <smain@google.com> udpate refonly doc build to include new landing page for dev preview. am: 278fb0deb2
am: 0be6038f99

* commit '0be6038f99772a45fb09759ba1ca99576e4af28a':
udpate refonly doc build to include new landing page for dev preview.
753068ba8162bd594b2a1d45dbc5456153bcb3ce 10-Mar-2016 smain@google.com <smain@google.com> Merge "cherrypick I4e1ca9fddc6374fd80108e4f9a3b9745f8598507 add new make target for offline docs with only the API reference. Also update the default index.html landing page to redirect to the reference." into nyc-dev am: b907ff764a
am: 76576fad9a

* commit '76576fad9a98e12e36213bc83808cd6eb540d20d':
cherrypick I4e1ca9fddc6374fd80108e4f9a3b9745f8598507 add new make target for offline docs with only the API reference. Also update the default index.html landing page to redirect to the reference.
278fb0deb20a0ba1b4bafffb72ef2859ddce8974 09-Mar-2016 smain@google.com <smain@google.com> udpate refonly doc build to include new landing page for dev preview.

Change-Id: I088425ed1549dd3bae6a5a755884eb4c3cb0af4f
(cherry picked from commit aa6aa2929c546289c873b3d019de4616c2ddc620)
/frameworks/base/Android.mk
00de8c5d7a16d8b0c61badba1188e4b8e087ef67 08-Mar-2016 smain@google.com <smain@google.com> cherrypick I4e1ca9fddc6374fd80108e4f9a3b9745f8598507
add new make target for offline docs with only the API reference.
Also update the default index.html landing page to redirect to the reference.

Change-Id: I2a123e49e2d6bb365bd81383ca3a9fc8e03de034
/frameworks/base/Android.mk
aa6aa2929c546289c873b3d019de4616c2ddc620 09-Mar-2016 smain@google.com <smain@google.com> udpate refonly doc build to include new landing page for dev preview.

Change-Id: I088425ed1549dd3bae6a5a755884eb4c3cb0af4f
/frameworks/base/Android.mk
89f385d5375ba3bdcd71f90743387b3e89cff8b5 09-Mar-2016 Joe Fernandez <joefernandez@google.com> docs: Fix reference docs build to indicate N changes

Change-Id: I4cd64a0452e97aa87a86fffd1c9f9ba3d99eb5c3
(cherry picked from commit f6c304579d673135e0df23f887aa068fb91db0f3)
/frameworks/base/Android.mk
af00108ca4e8e3de7c6d155891b74d43c18f5eba 08-Mar-2016 Makoto Onuki <omakoto@google.com> resolve merge conflicts of 1ca3800c44 to master

Change-Id: I4657cdf99900cd555c3109605e8cbdbb0fed79e6
ed58f5f0aa580dd4a6dc0fd5dc957862309db8d9 08-Mar-2016 Makoto Onuki <omakoto@google.com> Merge "Introducing ShortcutManager" into nyc-dev
f8161c0d7c92a4d0d633f99515d95cb76475b51b 08-Mar-2016 smain@google.com <smain@google.com> add new make target for offline docs with only the API reference.
Also update the default index.html landing page to redirect to the reference.

Change-Id: I4e1ca9fddc6374fd80108e4f9a3b9745f8598507
/frameworks/base/Android.mk
dbd8a7ac406229f97e7d8236a2e5f8f2e13c4a30 08-Mar-2016 Ruben Brunk <rubenbrunk@google.com> Merge "Add a VR listener service." into nyc-dev am: 875825d0c1
am: f05c96989c

* commit 'f05c96989cf1bd028cc7d63d31b4cab37ad3b9f2':
Add a VR listener service.
875825d0c11f702cd17bd1086a031731d4795d58 08-Mar-2016 Ruben Brunk <rubenbrunk@google.com> Merge "Add a VR listener service." into nyc-dev
e24b9a6cfa4d565d7f49c9ae8f3aeca737d93312 17-Feb-2016 Ruben Brunk <rubenbrunk@google.com> Add a VR listener service.

Bug: 22855417
Bug: 26724891
Bug: 27364145

- Add an API for VrListenerService, which is bound/unbound
from the framework when the system VR mode changes.
- Allow only a single bound VrListenerService at a time.
- Monitor allowed VrListenerService implementations from
VrManagerService and evict services as needed when packages,
users, or settings change.
- Remove previous VR functionality in NotificationListenerService.
- Add component target to Activity#setVrMode to allow
explicit selection of the running VrListenerService from
the current VR activity.

Change-Id: I776335f4441be0e793d3126f2d16faf86a8c621a
/frameworks/base/Android.mk
cb0f198995fad88514ca7de676a257102641f120 07-Mar-2016 Philip P. Moltmann <moltmann@google.com> Merge "Add "app printer activity" and always keep the print service state updated. Also fiddle with the UI to use more standard values." into nyc-dev am: 02a465ace7
am: 74b16200fd

* commit '74b16200fd6624f6fdaccd08509e912a54494677':
Add "app printer activity" and always keep the print service state updated. Also fiddle with the UI to use more standard values.
66c96591e2ddb464c67e60dbf4193ef4ec8a620b 24-Feb-2016 Philip P. Moltmann <moltmann@google.com> Add "app printer activity" and always keep the print service state
updated. Also fiddle with the UI to use more standard values.

To be sure the print service state alwasy updated I changed
PrintManager.getPrintServices to return a loader which just wraps a
registerListener/getList/removeListener combo.

I also added a new function to enabled/disable a print service to be
keep all updating logic inside the PrintManagerService->UserState.

Then I changed all code to use this new interface.

Detailed comments:

PrintServiceInfo:
- I had to add the enabled state to the PrintServiceInfo as some users
of PrintManager.getPrintServices want all services but then display
different data depending on the enabled state. Of course I could have
created two PrintManager.getPrintServices-loaders to load the two
separate list of services. I think it is much easier to add this
property though. It is updated every time new data is returned to the
PrintManager.getPrintServices-loader.

AddPrinterActivity:
- This is shown as a dialog-style overlay to indicate that the user will
return to the select-printers activity. It contains of three list that
are updated via separate loaders.
- The recommended services will be added later to keep this path set
small.

PrintActivity:
- There are two small places where we have to update the data when we
get a new list of print services.
- In very, very rare conditions it can happen that the print service
of the current printer gains or looses the "advancedOptions"
activity
- If we have no enabled print services we want to show "Add printer"
instead of "All printers...".
- Also the print registry is not the only loader anymore, hence we have
to assign loader ids to it to not conflict with the other loaders in
this activity.
- Small bug in onPrintersChanged: If a printer is selected and the print
service of this printer gets disabled the holder goes into "removed"
state which disables the printer. When the print service is then
enabled again, we forgot to re-enable the holder.

PrinterRegistry:
- The registry assumed that the FusedPrinterProvider was the only loader
in the activity. This is not true anymore, hence it has to assign the
appropriate loader ids.
- The FusedPrinterProvider has an internal loader, hence we have to
forward a loader Id into it.
- The PrintRegistry is only called backed for a single loader, hence no
need to check the loader-id.

SelectPrinterActivity:
- The AddPrinterDialog was removed as we now have the
AddPrinterActivity.
- Added a loader for the enabled services to update the empty state.
- Added dedicated loader Id for the PrinterRegistry again.
- If we have no enabled services, the SelectPrinterActivity chainloads
the AddPrinterActivity as this is the only thing the user can do
anyway. "Save a click". This should only happen when the activity is
create the first time.
- Moved the "add printer" from the menu item to the list of printers as
suggested by UX and Zach.

PrintManagerService, UserState and IPrintManagerParamtersTest:
- As the only place where the print service state is updated is now the
userstate, we have no more sychronization problems. Whohoo.
- The users can now register for changes to the print services similar
as they can register for changes to the print jobs.
- UserState.getPrintServices is the only function can exposes any
knowledge of the print services to the outside world.

Change-Id: I9be2c7300431e06aaff9bdf7eb36120d869b56ac
/frameworks/base/Android.mk
6f7362d92573e4ae693bc513dca586d6a4eb087b 04-Mar-2016 Makoto Onuki <omakoto@google.com> Introducing ShortcutManager

What's supported:
- Most APIs are implemented, except for SM.updateShortcuts(),
the icon APIs in LA, and LA.startShortcut().
- Persisting information, except for icons
- Throttling

In addition, now PersistableBundle has a public copy
constructor from a Bundle. (Do we want to @hide it?)

TODOs:
- Add icon support
- Implement missing APIs
- Listen to PACKAGE_* broadcasts and do clean-up
- Support multi-launcher apps (pinned shortcuts per launcher)
- Dev option to reset throttling
- Load throttling config from Settings
- Backup & restore
- Figure out LauncherApps permissions (BIND_APPWIDGETS??)
- Other minor TODOs in the code
- Better javadoc

Note: This requires Idf2f9ae816e1f3d822a6286a4cf738c14e29a45e

Bug 27325877

Change-Id: Ia5aa555a4759df5f79a859338f1dc5e624cd0e35
/frameworks/base/Android.mk
0fd379edd63c32ff08bd35425894a7cef55585fe 03-Mar-2016 Eino-Ville Talvala <etalvala@google.com> Merge "Camera2: Switch to auto-gen C++ binder interfaces" into nyc-dev am: 74989b4d3f
am: 72071de87c

* commit '72071de87c62717cc85937b319df8df10cf4b7e9':
Camera2: Switch to auto-gen C++ binder interfaces
5d2d7788f1759b0f3d2c057af0b3ea61b0354fee 18-Dec-2015 Eino-Ville Talvala <etalvala@google.com> Camera2: Switch to auto-gen C++ binder interfaces

- Move camera AIDL files to frameworks/av
- Update makefiles to point to new AIDL locations
- Adjust camera2 implementation to match modifications to AIDL needed
for native AIDL auto-generation
- Move Surface.aidl to frameworks/native to allow use in
native AIDL. Use android::view::Surface in Surface JNI to
serialize Surface objects to ensure parceling compatibility.
- Adjust service binder tests to new interface

Bug: 25091611
Change-Id: I85b817374b34a4540fa145328dbe4bbf7f746baf
/frameworks/base/Android.mk
b7c69150c86284599ef38cf4ae62f62896935903 27-Feb-2016 Muyuan Li <muyuanli@google.com> Merge "Allows components to register shortcut key." into nyc-dev am: 187b9b9e5b
am: 1673ab1ead

* commit '1673ab1ead05b452b40380d921d92fcb8ebb5623':
Allows components to register shortcut key.
94ce94e96069ab6c2ece4864ba4c7692f3168352 25-Feb-2016 Muyuan Li <muyuanli@google.com> Allows components to register shortcut key.

The registered shortcut will be called from PhoneWindowManager,
before dispatching

Change-Id: If26128939b45a639c8895719a7a23ca433f39fd9
(cherry picked from commit 4da863c5a8872dcabb179a978a2b2157d9081679)
/frameworks/base/Android.mk
56dec6e04b86a8726d1193e0dbbe3e8df5f135c9 24-Feb-2016 Etan Cohen <etancohen@google.com> Merge changes from topic 'api_clean'

* changes:
[NAN] API cleanup - rename FLAGS.
[NAN] Renamed listeners to callback per API guidelines
[NAN]: API update - consolidate Puslish|Subscribe Data+Subscribe -> Config
NAN: Support multiple instantiation per UID - introduce a client ID.
1142b2654ae36b54a61bfe759f2f43a01532ae93 24-Feb-2016 Lorenzo Colitti <lorenzo@google.com> resolve merge conflicts of 51e4acb29d to nyc-dev

Also add the appropriate changes to api/test-current.txt, which
is not present on mm-wireless-dev from which this change came.

Change-Id: Ic4df6d0f89add73b7e5252ef662de07a4e8fce31
51e4acb29d87fafc0d790fadfd31d0c1410521f5 24-Feb-2016 Pierre Imai <imaipi@google.com> Merge "Add Connectivity Metrics Logger service" into mm-wireless-dev
4e1af1b80735f5d61f089432a63a23937c994546 18-Feb-2016 Etan Cohen <etancohen@google.com> [NAN] Renamed listeners to callback per API guidelines

The interfaces had multiple functions and are hence callback
and not a listener.

Note: purely a rename operation.

(cherry-pick of 0d0f0c7faf530a0fa5595dd539c3f56afeb6603a,
Change-Id: Ib12711f56a64052455843859125d72268c465fc0)

Bug: 27122760
Change-Id: Ie1905a5d907e5b09d449af52814b1aacb6426477
/frameworks/base/Android.mk
581a4f7b31e3ccefce6c022582fd99ba0313b73c 17-Feb-2016 Etan Cohen <etancohen@google.com> [NAN]: API update - consolidate Puslish|Subscribe Data+Subscribe -> Config

Simplify configuration and consolidate structures whose difference
wasn't very clear.

(cherry-pick of e4c50de75273efaec4e9e8db6174e0bfc07d3105,
Change-Id: I0651cade71eb146d9ea9219baf6d2253588db3de)

Bug: 27122760
Change-Id: I6320bd4c960e4473b4bf3c28e54a7ba492fa2cf9
/frameworks/base/Android.mk
613a907045eae75cc02147bc7d2ae4728b6782b1 18-Feb-2016 Neil Fuller <nfuller@google.com> Add stubs needed to enable javac to compile lambdas

This enables framework.jar code to include lambdas.
framework.jar is still built with javac (as well as
jack) for things like doclava.

Bug: 26753820
(cherry picked from commit 801f90e61b971984c92767acd6fb62d56911664b)

Change-Id: Icdc9e003b09bd1e14e991b32934b3c4c4a268b1a
/frameworks/base/Android.mk
02b3e6bfc5bbd5f1a8ce1ce68976e59142073b6f 03-Feb-2016 Pavel Zhamaitsiak <pavelz@google.com> Add Connectivity Metrics Logger service

This service can be used to pass events to metrics collection service

Change-Id: I213874300693cd121f2c8676f70893315de4c4c0
/frameworks/base/Android.mk
9de7952aa945eb06148f82b9f30d7d11a2de5d74 22-Feb-2016 Tao Bao <tbao@google.com> Merge "Add support for update-on-boot feature." into nyc-dev
fa272e5c9262bc974d68139a6300ecdbf94f0767 22-Feb-2016 Neil Fuller <nfuller@google.com> Merge "Add stubs needed to enable javac to compile lambdas" into nyc-dev
e8a403d57c8ea540f8287cdaee8b90f0cf9626a3 31-Dec-2015 Tao Bao <tbao@google.com> Add support for update-on-boot feature.

Add a separate system service RecoverySystemService to handle recovery
related requests (calling uncrypt to de-encrypt the OTA package on the
/data partition, setting up bootloader control block (aka BCB) and etc).

We used to trigger uncrypt in ShutdownThread before rebooting into
recovery. Now we expose new SystemApi (RecoverySystem.processPackage())
to allow the caller (e.g. GmsCore) to call that upfront before
initiating a reboot. This will reduce the reboot time and get rid of the
progress bar ("processing update package"). However, we need to reserve
the functionality in ShutdownThread to optionally call uncrypt if
finding that's still needed.

In order to support the update-on-boot feature, we also add new
SystemApis scheduleUpdateOnBoot() and cancelScheduledUpdate() into
android.os.RecoverySystem. They allow the caller (e.g. GmsCore) to
schedule / cancel an update by setting up the BCB, which will be read by
the bootloader and the recovery image. With the new SystemApis, an
update package can be processed (uncrypt'd) in the background and
scheduled to be installed at the next boot.

Bug: 26830925
Change-Id: Ic606fcf5b31c54ce54f0ab12c1768fef0fa64560
/frameworks/base/Android.mk
f8754ac2127f8adf40bd4731f39b16340acdb2f7 12-Feb-2016 Polina Bondarenko <pbond@google.com> Added hardwareproperties SystemService

Add HardwarePropertiesManagerService which call native methods to
get CPU, GPU, battery temperatures, CPU usage info, fan speeds.
Restrict hardware properties retrieval only for device and profile
owners.

Bug: 26945055
Change-Id: I4d6b30b78e575532d5e9cfa59ef6cd81355439d4
/frameworks/base/Android.mk
0d0f0c7faf530a0fa5595dd539c3f56afeb6603a 18-Feb-2016 Etan Cohen <etancohen@google.com> [NAN] Renamed listeners to callback per API guidelines [DO NOT MERGE]

The interfaces had multiple functions and are hence callback
and not a listener.

Note: purely a rename operation.

Bug: 27122760
Change-Id: Ib12711f56a64052455843859125d72268c465fc0
/frameworks/base/Android.mk
e4c50de75273efaec4e9e8db6174e0bfc07d3105 17-Feb-2016 Etan Cohen <etancohen@google.com> [NAN]: API update - consolidate Puslish|Subscribe Data+Subscribe -> Config [DO NOT MERGE]

Simplify configuration and consolidate structures whose difference
wasn't very clear.

Bug: 27122760
Change-Id: I0651cade71eb146d9ea9219baf6d2253588db3de
/frameworks/base/Android.mk
801f90e61b971984c92767acd6fb62d56911664b 18-Feb-2016 Neil Fuller <nfuller@google.com> Add stubs needed to enable javac to compile lambdas

This enables framework.jar code to include lambdas.
framework.jar is still built with javac (as well as
jack) for things like doclava.

Bug: 26753820
Change-Id: I25030b3fa3abdec5b325182bd0a665ba964176c0
/frameworks/base/Android.mk
0c4cf27365dd827d70d51f53060f5ade5c74ff8b 17-Feb-2016 Dirk Dougherty <ddougherty@google.com> Remove -includePreview flag until support is available in doclava.

Change-Id: I3b644bd50d42ea260bed09c9c5bdab6d3d6a8b75
/frameworks/base/Android.mk
77821ac498dc685950a80f6646f84e660a0d3386 17-Feb-2016 Dirk Dougherty <ddougherty@google.com> Merge "Add preview docs dir, toc, and basic files." into mnc-mr-docs
c3651f41fbedb5a45e032cd8111a0f2d42ba7cd7 16-Feb-2016 Amanda Kassay <akassay@google.com> Added redesign flags for devsite content build

Change-Id: Ifea2cf00f2857be0f8ac95952110d4d4bc9df54e
/frameworks/base/Android.mk
5748bc4a1bd2fd98341710cacc6a7bfbd5bb40f6 07-Feb-2016 Dirk Dougherty <ddougherty@google.com> Add preview docs dir, toc, and basic files.

Change-Id: I890dd21fed1217e4429f269eed5bada9a6faf2b4
/frameworks/base/Android.mk
09102359ed0bdc52c636bbb24726212e4d22dfe3 04-Feb-2016 Jorim Jaggi <jjaggi@google.com> Merge "Incremental local builds for frameworks"
962c6a81e3f9b3ea6b4b178ca41a87230864525e 03-Feb-2016 Jan Nordqvist <jannq@google.com> Merge "New System APIs for Passpoint r2 app." into mm-wireless-dev
am: fd600b1113

* commit 'fd600b1113af6f66e28b65f5b53f4a7c751cdef9':
New System APIs for Passpoint r2 app.
a772f0cf34f0db67997cb31fa44315c0933563da 28-Jan-2016 Vinit Deshpande <vinitd@google.com> New System APIs for Passpoint r2 app.

Change-Id: I09428e9a393999f43aefe5efd77cffe4b1b17da5
/frameworks/base/Android.mk
7e29dea3f86e37dcf1753402cf73865114283656 02-Feb-2016 Jorim Jaggi <jjaggi@google.com> Incremental local builds for frameworks

Change-Id: I810652adf4359f7eb0b87adc4f5ed45da5429e6a
/frameworks/base/Android.mk
d7a4da42bd2524fe04da23f7f27886e90a699324 03-Feb-2016 Lifu Tang <lifu@google.com> Merge changes from topic 'API renaming'

* changes:
Worked around the crash caused by API renaming
Rename Gps to Gnss for measurement-related APIs
818aa2c2c46addae934fb6cd42f889affc9ef747 01-Feb-2016 Lifu Tang <lifu@google.com> Rename Gps to Gnss for measurement-related APIs

Bug: 26895757
Change-Id: I12d89dc251e356cf976a4bcd3589a8925a8ad745
/frameworks/base/Android.mk
a89087542f774c585b6a6ec535fc294721710521 10-Nov-2015 Andreas Gampe <agampe@google.com> Frameworks/base: Add A/B OTA preopting

Add an OTA Dexopt service. Refactor package manager service and
package dex optimizer to reuse some code. Add knowledge about
OTA flag to installer.

Bug: 25612095
Change-Id: I7dd6bb468fea44b9d3acf0ac7d7404fb02d0f30a
/frameworks/base/Android.mk
31ae1c518f974c07d1800e6623fccd91859f83bb 07-Nov-2015 Dirk Dougherty <ddougherty@google.com> Doc change: adjustments for design updates.

Change-Id: Ic798228a75ba2ab692fd3e36034606c04651c20c
/frameworks/base/Android.mk
ad2a71f722ec736e73a4a4df3b0da820a097c396 29-Jan-2016 Pavel Zhamaitsiak <pavelz@google.com> Merge "Add ITelephonyDebugSubscriber.aidl" into mm-wireless-dev
am: 8a688b2f36

* commit '8a688b2f36437ae4305130e2920e42ce546bdbbc':
Add ITelephonyDebugSubscriber.aidl
d53aadc0ec104c67929d0d3312280cd032139ed9 28-Jan-2016 Ashutosh Joshi <ashutoshj@google.com> Merge "Context hub API for applications"
1d1ac5409597ef668e52c6f27293eaf9af575e33 19-Jan-2016 Ashutosh Joshi <ashutoshj@google.com> Context hub API for applications

Adding a System API for applications to access a context hub.

The API is not expected to be exposed to third party Android
applications in the medium term.

Change-Id: Ia2222317c913de6901f3912e4c89b5cfa398be85
/frameworks/base/Android.mk
45fbe46da642ebc0685ecdee73b09a963d5fe54d 28-Jan-2016 Lifu Tang <lifu@google.com> Merge changes from topic '2016 GPS Changes'

* changes:
Framework support to read newly added fields
Added an API to query GPS hardware version info
GPS Measurement and Navigation APIs go public
Supported GNSS multi-constellation in frameworks
ed0eecf7a2426321db816ece1daf8d1dbfbcd6b1 28-Jan-2016 Pavel Zhamaitsiak <pavelz@google.com> Add ITelephonyDebugSubscriber.aidl

It can be used to subscribe for telephony debug events.

Change-Id: I6f17b0409f1117abd2d4caac99d3301c43134c75
/frameworks/base/Android.mk
4665f49b9ca404adbb9e1bb3053b5f75ed23f846 27-Jan-2016 Sailesh Nepal <sail@google.com> Merge "Add new public API to allow call screening"
1bef339b88b3f760603dcc08d79a62647fc18296 25-Jan-2016 Sailesh Nepal <sail@google.com> Add new public API to allow call screening

This CL adds a new service that the default dialer can implement to
screen incoming calls.

If the service is implemented then Telecom uses it to decide if a call
should be shown to the user or rejected.

Note, I initially tried to simply extend InCallService instead of
creating a whole new service. The problem with this approach is that:
- this breaks some in call services which show UI as soon as they are
bound to
- the in call service lifecycle is tightly coupled to adding and
removing calls. Call screening happens before a call is added which
makes it a bad fit to in call service
- call screening is a function of only the default dialer's in call
service but the existing code also binds to "controller" call
services

For these reasons it seemed simpler to just create a new optional
service.

BUG: 22857261
Change-Id: I53f2ef93360e0af19b6ce45af21026be6cf3a7f3
/frameworks/base/Android.mk
a772e5fc062c8de48cb9c1d61755110f6b2e189b 25-Jan-2016 Arunesh Mishra <arunesh@google.com> SoundTrigger API improvements.

This CL implements the SoundTrigger API improvements as given in b/22860713. Only the java-level
parts are implemented in this CL.

Key changes include:

* Addition of a SoundTriggerManager/SoundTriggerDetector system API to manage
the sound-trigger based sound models.
* Addition of a SoundTriggerService service that manages all sound models
including voice (keyphrase) and sound-trigger based models.
* Includes logic to write sound-trigger based models to the database.
* VoiceInteractionManager service now uses SoundTriggerService instead of
SoundTriggerHelper.

Bug: 22860713
Change-Id: I7b5c0ed80702527c4460372efeb5e542d3693a69
/frameworks/base/Android.mk
9465a0383148338a702818f65029b051f58d9219 26-Jan-2016 Vinit Deshpande <vinitd@google.com> Merge "Remove older passpoint code that we never made to work" into mm-wireless-dev
am: 82c8b7edd0

* commit '82c8b7edd0656bcab79411c8dbfe3651a314a559':
Remove older passpoint code that we never made to work
5adbfd0a440034d6b47eaa521a5b9e38b006e52d 26-Jan-2016 Tao Bao <tbao@google.com> Merge "Build update engine binder AIDLs for framework use."
cb90cfbe16ab4828eaee3ab3b2de864a1f83fb06 26-Jan-2016 Vinit Deshpande <vinitd@google.com> Remove older passpoint code that we never made to work

Since we are hiding MO trees et al; there is no reason to
keep this code anymore.

Change-Id: Ic92131b5949c3b97b7a55fa7d3e0cd8f9e933aa0
/frameworks/base/Android.mk
30f95a7d67870c28d2aaa88ee989c099f5670225 08-Jan-2016 Lifu Tang <lifu@google.com> Supported GNSS multi-constellation in frameworks

Change-Id: I82574afd3697c47e806d2cfaedc33756d0353b73
/frameworks/base/Android.mk
77781d3aaa3b468d3078ea154bd3e098348451f2 11-Jan-2016 Chris Wren <cwren@android.com> a step toward enforcing unique metrics log IDs

First of several change lists:
1. Add in the new proto (this CL)
2. Migrate the existing code over to the proto.
3. Remove MetricsConstants once it is unused.

Bug: 26442178
Change-Id: Ic24829246af8ec5b202e39a85960aac5cf336c33
/frameworks/base/Android.mk
f82ab8bea4c914c567a3487297fd4914561978a1 25-Jan-2016 Martijn Coenen <maco@google.com> Merge "Implementation of HCE for NFC-F." am: e168012ff2
am: cf2f9d0966

* commit 'cf2f9d0966af01eb269b9ce6f2d08870647dd22f':
Implementation of HCE for NFC-F.
e168012ff21408f8be85040bb4ac977061519f62 25-Jan-2016 Martijn Coenen <maco@google.com> Merge "Implementation of HCE for NFC-F."
bdc77360ea277368f15d4f91b540a4882f093fa5 20-Jan-2016 Tao Bao <tbao@google.com> Build update engine binder AIDLs for framework use.

We will define system APIs in framework that talk to the update engine
via binder APIs (e.g. android.os.UpdateEngine etc in follow-up CLs).
This CL adds rules to build the update engine AIDLs for that.

Bug: 26695366
Change-Id: Icee5c7d396aa10e592c2b1fd58b4b369a9b6cbfc
/frameworks/base/Android.mk
c52adfe12469a1d1bcd5b7119b83363e094a7b84 22-Jan-2016 Yoshinobu Ito <Yoshinobu.Ito@jp.sony.com> Implementation of HCE for NFC-F.

This impementation includes HCE(Host-based Card Emulation) for NFC-F
which emulates NFC Forum Type 3 Tag on a smartphone.

Signed-off-by: Daisuke Ito <DaisukeE.Ito@jp.sony.com>
Yoshinobu Ito <Yoshinobu.Ito@jp.sony.com>

Change-Id: I1618a7fba801e0705ff3cc078206a1446b3dd56d
/frameworks/base/Android.mk
d3665f1f0f2e2aefe4c5dd6b000b356dfb414783 21-Jan-2016 Sergey Poromov <poromov@google.com> Merge "Introduce BackupManager#requestBackup & BackupObserver API"
fe06bf64d204c459699b0bf6465f9fb69208345e 15-Dec-2015 Sergey Poromov <poromov@google.com> Introduce BackupManager#requestBackup & BackupObserver API

Introduces a way to request immediate backup for list of packages
and receive callbacks on backup progress.

Bug: 25688526
Change-Id: Ib826933d44f4ebf2b981f8be366215b2d37847e2
/frameworks/base/Android.mk
900fe2410ddfdaa7be71d41335b73dc2c1c7858e 20-Jan-2016 Rubin Xu <rubinxu@google.com> Merge "Add JNI bridge to the new logd security buffer."
9941ab3cbb91bffe3b06d3a77a68bb97bcaba381 15-Jan-2016 Yao Chen <yaochen@google.com> Merge "Changes in DeviceIdlecontroller and JobScheduler to support Auto GarageMode."
ca5edbb6b5300e07a5f7bfbec36f08df65d8f6e7 13-Jan-2016 Yao Chen <yaochen@google.com> Changes in DeviceIdlecontroller and JobScheduler to support Auto GarageMode.

Changes made in the cl:
1. Let DeviceIdleController take listeners on whether background
maintanence services are active. This currently includes JobScheduler,
SyncManager, DownloadService. Note this is the last known
states reported by these services.

2. In JobScheduler, make the idle threshold and alarm window configurable.
So in the car case, we don't need to wait 71 mins after screen off
to kick off any jobs that require device idle.

-------------------------------------------------------------------

* We are not going to suppress JobScheduler, DownloadService, SyncManager
entirely while user is driving. Because apps may not be working properly if
these services are suspended.

* The jobs that we don't allow to run while driving are the
jobs submitted to JobScheduler that require device idle.
And this is already taken care of, because
screen is ON and JobScheduler will not consider the device to be idle
while driving (unless user turns off the head unit).

* We will need to give the JobScheduler a chance to run the device idle
jobs when car is turned off. This is the scope of GarageMode. If
DownloadService and SyncManager want to run, we will allow them to run
too.

* The headunit is treated as wall power device, so it's always charging.
The charging state will not toggle.

Change-Id: I55b92cf92efd61c48dd6c9b8197c2b68078a4439
/frameworks/base/Android.mk
75431fbe361e16cfdc43c16cc65b86b8dab39e82 07-Jan-2016 Rubin Xu <rubinxu@google.com> Add JNI bridge to the new logd security buffer.

Bug: 26127031
Bug: 22860162
Change-Id: I14e08850ece7d9c0229b7213ee2e25cd089defc1
/frameworks/base/Android.mk
3da7357951a1981ecf40391e19ad8e53b45cb046 15-Jan-2016 Etan Cohen <etancohen@google.com> Merge "NAN: baseline NAN manager for discovery." into mm-wireless-dev
am: e540b64aaf

* commit 'e540b64aaf58460f7930a5e4937cee660215c948':
NAN: baseline NAN manager for discovery.
20d329b08df7d1a94e6caee781f09e812a79c913 29-Sep-2015 Etan Cohen <etancohen@google.com> NAN: baseline NAN manager for discovery.

Initial framework for user API (all @hide for now). Supports:
- NAN configuration
- Publish/Subscribe = Discovery
- Message passing
- Notifications

Bug: 26216681
Change-Id: I72e467756a02f7b80c52fae916b9a47c8174af42
/frameworks/base/Android.mk
14ef09514b9e82922b442f6ab6c8300bced8432f 05-Jan-2016 Pavel Zhamaitsiak <pavelz@google.com> Add ITelephonyDebug.aidl

(cherry picked from commit f91818ca3458f9c1f1d6b6d278f8d6cc2fc14511)

Change-Id: Ie3c846a90632e3afa793e6e60f5a3390a260c5a5
/frameworks/base/Android.mk
01208118b3ba5bfa3a79725bc4d15d3924ec1a5d 13-Jan-2016 Samuel Tan <samueltan@google.com> resolve merge conflicts of 3caecaec60 to master.

Change-Id: Ic3e9909c69f03a6ef1911a6b7589afbc02d7494f
ab064b3b3687424e14dccfd60ff9a8f93ec22c23 13-Jan-2016 Dongwon Kang <dwkang@google.com> Merge "Add a way for SystemUI to receive media resource (e.g. A/V codec) usage"
d3c71f075b139024e2bea39bbd75e3b976bfb7cb 07-Dec-2015 Jean-Michel Trivi <jmtrivi@google.com> Audio recording notification API

AudioService can register a recording callback with AudioSystem.
Callbacks are handled in a new class, RecordingActivityMonitor.
This class notifies registered AudioManager instances
of updates, only if this AudioManager has client callbacks.
Each AudioManager dispatches updates to its registered
callbacks.

Bug 22876530

Change-Id: I95c6e5ec0631e53af53a490bcecca96089490089
/frameworks/base/Android.mk
239951a91eedfc4c45b80f01264da8ec1ef10e3a 06-Jan-2016 Samuel Tan <samueltan@google.com> Remove PersistableBundle.aidl from Java framework

Remove PersistableBundle.aidl from the Java framework, since it
has been moved to the native libbinder.

BUG: 26292234
Change-Id: Ia3dc49a3ad92f4c579e6dff0606c1db8fb3be76b
TEST: aosp_arm builds successfully.
/frameworks/base/Android.mk
2034a4c4c5edd1516d03b73a8c8d8600eb3d4cbc 14-Dec-2015 Dongwon Kang <dwkang@google.com> Add a way for SystemUI to receive media resource (e.g. A/V codec) usage

Bug: 26175834
Change-Id: If506a533c5c7b567e770217a9430bf68b539677a
/frameworks/base/Android.mk
a6c934e2a3e6ddec6549cea55b7bece02348c6f8 21-Dec-2015 Jorim Jaggi <jjaggi@google.com> Use different asset when docked stack exists

- Add the ability to add a listener when the existence of the
docked stack changes.
- Register SystemUI as such a listener and switch the recents
button asset when docked stack exists.

Change-Id: I05350878c5adc7ad9f0399f0c42d8d1615d44d02
/frameworks/base/Android.mk
f91818ca3458f9c1f1d6b6d278f8d6cc2fc14511 05-Jan-2016 Pavel Zhamaitsiak <pavelz@google.com> Add ITelephonyDebug.aidl

Change-Id: I0f111a56b471bd8c8092d30e7157bc06b5da3769
/frameworks/base/Android.mk
51017d0e23ce9855fabcf786a2067ceb19121fbc 15-Dec-2015 Chris Wren <cwren@android.com> implement assistant service connection

Added a guest-mode to ManagedServices.
Like system services, the lifecycle of a guest is not managed.
Unlike system services, guests are not considered privledged.

The Assistant gets all the usual listener events.
Implemented adjustImportance.
Future work: enqueued, clicked, visibility, removed, annotations

Bug: 22455414
Change-Id: Ic41c0bf625b5e98cb577b49098bba23a539bb507
/frameworks/base/Android.mk
a70412b2065aba086bca7455e8fdc72f3aecc2a7 27-Jul-2015 Narayan Kamath <narayan@google.com> Use libcore/known_oj_tags for the javadoc stage.

Helps us process (and discard) OpenJdk specific javadoc tags.

(cherry picked from commit 2c4f2843f4aa904c27dc78086bff039dbd295959)

Change-Id: Ib90ce70509fefa24608067db18cfc21c6c5d0590
/frameworks/base/Android.mk
62ed63185c4fb9fa5fb74c7bddcf9885fa06ac6d 17-Feb-2015 Piotr Jastrzebski <haaawk@google.com> Add core-oj to the list of core library jars.

With some core classes moved to separate core-oj jar
we need to use the new jar.

(cherry picked from commit cfa292e1dad184648bf673167f3f35b4fb34fc93)

Change-Id: Iba481c3df029902a2bd0f9661d0819f4a191b2aa
/frameworks/base/Android.mk
bb9f686b40743df2642b7d3b7778dbf7284ae665 01-Dec-2015 Philip P. Moltmann <moltmann@google.com> Allow a print service to specify per printer icons, description and
info-activities

The icon is loaded from the discovery session only when it is displayed
to avoid having to store too many icons in memory.

Also the icons are not maintained in the historical printers. Only if
the printers are available nice icons are shown. A historical printer is
updated with the appropriate properties (including icon) once it becomes
available.

Bug: 24135005
Change-Id: Iec389bab514b024634be8fb5fc8928371cba8740
/frameworks/base/Android.mk
1ac1e3104c9c6925866611418d418c2fe93ab8a5 17-Dec-2015 Julia Reynolds <juliacr@google.com> Merge "Aidl it all!"
9149d2b117aef40f38a7d62c0f8c2bb76eb4e244 15-Dec-2015 Vladislav Kaznacheev <kaznacheev@google.com> Rename and simplify DropPermissionHolder

Rename DropPermissionHolder to DropPermissions and move
all server-side implementation details into a separate class.
Rename DragEvent.getDropPermissionHolder to
requestDropPermissions and make it take the permissions
implicitly.

Change-Id: Ia83f7cb8af07ce13ba9536d24b0f9d63331d8736
/frameworks/base/Android.mk
7eba593b8d88a9b087f06ef146d82c4c77a92473 11-Dec-2015 Julia Reynolds <juliacr@google.com> Aidl it all!

Change-Id: Ic12e2305a947749a714102a8133321ae07599950
/frameworks/base/Android.mk
4aa47e58c4f8d654981a9d6a7362c8bb8b2a7e30 01-Oct-2015 Christopher Tate <ctate@google.com> DO NOT MERGE Introduce direct listener API for alarm delivery

The Alarm Manager now supports a set() variant that takes a listener
callback to invoke at alarm trigger time rather than a PendingIntent.
This is much lower overhead and has guaranteed low delivery latency
from the trigger time. The tradeoff is that the app must be running
*continuously* from the time the alarm is set to the time it is
delivered. If the app exits for any reason before the alarm fires,
the listener becomes invalid and the alarm will be dropped. This is
more or less equivalent to setting an alarm with a broadcast
PendingIntent that matches only a runtime-registered receiver.

The app's alarm listener can be any object that implements the new
AlarmManager.OnAlarmListener interface and implements its onAlarm()
method. There is no data delivered at alarm trigger time: whatever
state needs to be associated with the specific alarm instance should
simply be packaged inside the OnAlarmListener instance.

An alarm using OnAlarmListener can request that the onAlarm() method
be called on an arbitrary handler. If the program passes 'null' for
this parameter when setting the alarm, the callback occurs on the
application's main Looper thread.

Cherry-picked from 14a7bb0d370fffdf902a4e2345f46754ed2d7684
Bug 20157436

Change-Id: I2eb030a24efdd466a2eee1666c5231201b43684b
/frameworks/base/Android.mk
255d41dce1194b2edf3c4c1a5ece7f764fd40707 23-Sep-2015 Jan Nordqvist <jannq@google.com> DO NOT MERGE Hotspot 2.0 relase 2 first cut.

CP mods to take a URL as a parameter, and new ScanInfo object.

Cherry-picked from 52eb29f0822f129f2b14bacec23dd492f2260ac0
Change-Id: Idbb2d4751c575ba07a56942771e2b2955b624635
/frameworks/base/Android.mk
9f93d375ce230603b03ed3fce1002f9648f4a667 04-Dec-2015 George Mount <mount@google.com> Remove accidentally left-in commented out line. am: 8e6fc083fe
am: 827902553d

* commit '827902553d2642a3ed82553e1e5b6214960c3986':
Remove accidentally left-in commented out line.
8e6fc083fe33543fa3ffd3bbfd25fa937f4ec7bf 03-Dec-2015 George Mount <mount@google.com> Remove accidentally left-in commented out line.

Change-Id: Ic49b371a5138591051cd10e302e27535b165b2b3
/frameworks/base/Android.mk
e1abaa631ebd67ad1058f751ebe3d91eb7268d78 03-Dec-2015 George Mount <mount@google.com> Adds a way to exclude test directories from javadoc. am: f6be993407
am: c26d7c378a

* commit 'c26d7c378a58f4f312b8385baf4d318c2df35478':
Adds a way to exclude test directories from javadoc.
f6be99340769cae717a604c7362f85830e4601c6 03-Dec-2015 George Mount <mount@google.com> Adds a way to exclude test directories from javadoc.

By adding a file named NO_DOCS to a directory, all
java files under that directory will be ignored for
javadoc builds. This is especially useful for marking
test projects as not participating in the javadoc
build.

Change-Id: I3b0259f4bb3c8460c3560fdcf97c6cac11d8001d
/frameworks/base/Android.mk
64cdc1458bcf0d09781463a6e421b9b870b09687 30-Nov-2015 Filip Gruszczynski <gruszczy@google.com> Remove dock divider surface when it's not visible.

We achieve the removal by notifying System UI about the visibility of
the dock divider. This way System UI can change visibility of the root
view, which in turn will cause the WMS to destroy or create the surface
as necessary.

Bug: 25844096
Bug: 25683717

Change-Id: Idbc33368db697a059af49106dfadb80c3d7d06c1
/frameworks/base/Android.mk
b2b2c0e7d06f4d09c941054025fcbaef50b93845 06-Nov-2015 Michael Wright <michaelwr@google.com> Add new TestApi annotation.

This allows us to build a special jar with methods exposed strictly
for CTS. An @TestApi should not be a public API or a system
API.

Bug: 25608286

Change-Id: Ifbc64bb6958d2deec5b9cf0b944acfd068f0f051
/frameworks/base/Android.mk
d4de20df2a1e57d22db7c538b197e3db18eaaa7d 04-Nov-2015 Jean-Michel Trivi <jmtrivi@google.com> AudioService: remove dead code

Remove dead code related to media button event receiver and
remote control display, now handled by MediaSession*

Change-Id: I4bd621240ddddf4df079df8d551c72b232c3301d
/frameworks/base/Android.mk
2c4f2843f4aa904c27dc78086bff039dbd295959 27-Jul-2015 Narayan Kamath <narayan@google.com> Use libcore/known_oj_tags for the javadoc stage.

Helps us process (and discard) OpenJdk specific javadoc tags.

(cherry-picked from e03d5e477b47e4ac8e227d649afd4ffe89f23712)

Change-Id: I35287e9b56c148eb6cd8f37d7df81920d0d8a3bb
/frameworks/base/Android.mk
cfa292e1dad184648bf673167f3f35b4fb34fc93 17-Feb-2015 Piotr Jastrzebski <haaawk@google.com> Add core-oj to the list of core library jars.

With some core classes moved to separate core-oj jar
we need to use the new jar.

(cherry-picked from f898cda2f499b14f92bc7fb75f44110cdec7654f)

Change-Id: Ica148f11bcc77f57d22944ff78c501611a293167
/frameworks/base/Android.mk
ee35d738f46f01ce71ac8bde665d71ac3a35cbb9 19-Nov-2015 Jason Monk <jmonk@google.com> Merge "Add Quick Settings API"
bbadff8603ca6922a0ef89338bee5b59d6dcf641 06-Nov-2015 Jason Monk <jmonk@google.com> Add Quick Settings API

It is a little bit limited right now, but it contains
the lifecycle of a tile getting added/removed, and
listening/not listening and clicks.

SysUI side will need some cleanup later on.

Change-Id: I4db803c8a271f8bf44f2ef710517969a84a95cf0
/frameworks/base/Android.mk
b8a279ee838c309a64211a3caa5e5e204250163d 18-Nov-2015 Todd Kennedy <toddke@google.com> Allow ephemeral provider/installer

The ephemeral provider is a service that simply determines whether or
not an ephemeral application is available. The ephemeral installer
does the heavy lifting of installing the ephemeral application.

Bug: 25119046
Change-Id: I591f4c2c3f2b149d299fa8b4f359f2582d9199cb
/frameworks/base/Android.mk
2f7d292596bdba15e441046e3a2e047f37d6ea59 29-Oct-2015 Jorim Jaggi <jjaggi@google.com> Supply app transition specs with a future

Because we retain activity surfaces now, the app transition specs
which were calculated/generated after the onPause() call when going
from recents -> app were too slow. Instead, supply a cross-process
future, which gets fetched when the window manager is about to be
ready to execute the app transition. In practice, this still gets
executed immediately after the onPause call.

If we have a retained surface, this adds some latency, but since we
absolutely need the specs to execute the transition, we have that
latency no matter where exactly we generate the specs.

If we don't have a retained surface, the specs are not calculated on
the critical path, so it's faster.

Bug: 19940527
Change-Id: I80d2c6f6b3a6568a70339619ecefbc3bd8409bd8
/frameworks/base/Android.mk
bd3275370000d657ea86e3a42f1bd76343b2e6a5 03-Nov-2015 Glenn Kasten <gkasten@android.com> Merge "BLE-MIDI: change binding for BluetoothMidiService"
am: 5831944a6e

* commit '5831944a6e99eff746e70d6ee9532ec3e3f32918':
BLE-MIDI: change binding for BluetoothMidiService
ff23e1b4cb615f71a796cf1c08e083e2ffd45ed1 03-Sep-2015 Phil Burk <philburk@google.com> BLE-MIDI: change binding for BluetoothMidiService

Add a remote call addBluetoothDevice() using AIDL.
This was needed because onBind() is only called once.

Bug: 23219556
Bug: 23760886
Change-Id: Id7554ca55d596352d11dbd6ae3e403138a29c864
Signed-off-by: Phil Burk <philburk@google.com>
(cherry picked from commit 7cd06c0b9e087a555d2c5dd4cab5b7eac8497526)
/frameworks/base/Android.mk
14a7bb0d370fffdf902a4e2345f46754ed2d7684 01-Oct-2015 Christopher Tate <ctate@google.com> Introduce direct listener API for alarm delivery

The Alarm Manager now supports a set() variant that takes a listener
callback to invoke at alarm trigger time rather than a PendingIntent.
This is much lower overhead and has guaranteed low delivery latency
from the trigger time. The tradeoff is that the app must be running
*continuously* from the time the alarm is set to the time it is
delivered. If the app exits for any reason before the alarm fires,
the listener becomes invalid and the alarm will be dropped. This is
more or less equivalent to setting an alarm with a broadcast
PendingIntent that matches only a runtime-registered receiver.

The app's alarm listener can be any object that implements the new
AlarmManager.OnAlarmListener interface and implements its onAlarm()
method. There is no data delivered at alarm trigger time: whatever
state needs to be associated with the specific alarm instance should
simply be packaged inside the OnAlarmListener instance.

An alarm using OnAlarmListener can request that the onAlarm() method
be called on an arbitrary handler. If the program passes 'null' for
this parameter when setting the alarm, the callback occurs on the
application's main Looper thread.

Bug 20157436

Change-Id: I2eb030a24efdd466a2eee1666c5231201b43684b
/frameworks/base/Android.mk
bc8654748f873392a52ed7ea0349df30c07006c5 29-Oct-2015 Bryce Lee <brycelee@google.com> Merge "Revert "Declare new interface for headset client bluetooth profile to query."" into cw-e-dev am: 0a80294c81 am: 2adf45bee0
am: 8faa19c826

* commit '8faa19c8260d77c5ad7abc061bc06bc596be7c2b':
Revert "Declare new interface for headset client bluetooth profile to query."
461ba0ce4a1a659ee01073d37a09a109fee41857 29-Oct-2015 Bryce Lee <brycelee@google.com> Merge "Declare new interface for headset client bluetooth profile to query." into cw-e-dev am: a841973dee am: 8b4f21b108
am: 2b47b6eed2

* commit '2b47b6eed247acc95a2d27980b2d20e43c852946':
Declare new interface for headset client bluetooth profile to query.
8faa19c8260d77c5ad7abc061bc06bc596be7c2b 29-Oct-2015 Bryce Lee <brycelee@google.com> Merge "Revert "Declare new interface for headset client bluetooth profile to query."" into cw-e-dev am: 0a80294c81
am: 2adf45bee0

* commit '2adf45bee0b423fa6ca758b806a16b968c0a3c65':
Revert "Declare new interface for headset client bluetooth profile to query."
70d4210e2ecbc2b3a4d1f6665ef9410bff64e4a6 29-Oct-2015 Bryce Lee <brycelee@google.com> Revert "Declare new interface for headset client bluetooth profile to query."

This reverts commit 694251eaaa8ea70a9b0427d55e9ede437c83a6d5.

Change-Id: I588206d8aedb96254c27494dddb32ddc3b6ea0ea
/frameworks/base/Android.mk
2b47b6eed247acc95a2d27980b2d20e43c852946 29-Oct-2015 Bryce Lee <brycelee@google.com> Merge "Declare new interface for headset client bluetooth profile to query." into cw-e-dev am: a841973dee
am: 8b4f21b108

* commit '8b4f21b108828c08833767c1f3f908e1cd7f8477':
Declare new interface for headset client bluetooth profile to query.
694251eaaa8ea70a9b0427d55e9ede437c83a6d5 29-Oct-2015 Bryce Lee <brycelee@google.com> Declare new interface for headset client bluetooth profile to query.

This is needed in order to allow implementations of the HFP HF side to
define when audio can be routed to the device. This allows for calls dialed
from an AG to be kept on the AG if desired.

Bug: 25332357
Change-Id: I35a554cfc53f88c7dd3059bf52df5c69df9c7415
/frameworks/base/Android.mk
108d04cccf5054cedbd39f43066e9f611c0e2d1c 26-Oct-2015 Neil Fuller <nfuller@google.com> Merge "Adjust for changes to libcore/Docs.mk" am: f5e3398596 am: c08debc23a
am: 144af426cd

* commit '144af426cde3ce336ed9f670ae596807a14ab809':
Adjust for changes to libcore/Docs.mk
144af426cde3ce336ed9f670ae596807a14ab809 26-Oct-2015 Neil Fuller <nfuller@google.com> Merge "Adjust for changes to libcore/Docs.mk" am: f5e3398596
am: c08debc23a

* commit 'c08debc23ab0dfa38cab168f4c631b15b2b17d64':
Adjust for changes to libcore/Docs.mk
c08debc23ab0dfa38cab168f4c631b15b2b17d64 26-Oct-2015 Neil Fuller <nfuller@google.com> Merge "Adjust for changes to libcore/Docs.mk"
am: f5e3398596

* commit 'f5e33985964c3e7acf6b9cd16d94a110e4f9a42d':
Adjust for changes to libcore/Docs.mk
f9611149975496daa895842a500f3e4b22c7a099 07-Oct-2015 Neil Fuller <nfuller@google.com> Adjust for changes to libcore/Docs.mk

The paths in libcore_to_document are now relative to
the build root, not libcore.

Bug: 22023363
Change-Id: I75c86d6332e5eaedc67dd0d3207491aa91c02a5f
/frameworks/base/Android.mk
61cf82778f7e3f7454778e5ef7c691857dac16e9 13-Oct-2015 Phil Burk <philburk@google.com> am 92ae0a54: am 7bbb6fed: am 977fe03b: BLE-MIDI: change binding for BluetoothMidiService

* commit '92ae0a5480f8ac2107688bf2f6bb58d49cb52bd1':
BLE-MIDI: change binding for BluetoothMidiService
977fe03b36a7783f9cee8497efe550a69b128473 03-Sep-2015 Phil Burk <philburk@google.com> BLE-MIDI: change binding for BluetoothMidiService

Add a remote call addBluetoothDevice() using AIDL.
This was needed because onBind() is only called once.

Bug: 23219556
Bug: 23760886
Change-Id: Id7554ca55d596352d11dbd6ae3e403138a29c864
Signed-off-by: Phil Burk <philburk@google.com>
(cherry picked from commit 7cd06c0b9e087a555d2c5dd4cab5b7eac8497526)
/frameworks/base/Android.mk
52eb29f0822f129f2b14bacec23dd492f2260ac0 23-Sep-2015 Jan Nordqvist <jannq@google.com> Hotspot 2.0 relase 2 first cut.

CP mods to take a URL as a parameter, and new ScanInfo object.

Change-Id: Idbb2d4751c575ba07a56942771e2b2955b624635
/frameworks/base/Android.mk
ede5f5480e58dac9f6ddbd36a3085592d79c98ef 16-Jul-2015 Vladislav Kaznacheev <kaznacheev@google.com> Handle content URI permissions on drop

Change-Id: I846071f01ecd1eff8e3a54a1806e68e1a4b335d2
/frameworks/base/Android.mk
7cd06c0b9e087a555d2c5dd4cab5b7eac8497526 03-Sep-2015 Phil Burk <philburk@google.com> BLE-MIDI: change binding for BluetoothMidiService

Add a remote call addBluetoothDevice() using AIDL.
This was needed because onBind() is only called once.

Bug: 23219556
Bug: 23760886
Change-Id: Id7554ca55d596352d11dbd6ae3e403138a29c864
Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/base/Android.mk
56dafdb5ae5f1618e3583c2835759108e8c0d99f 03-Sep-2015 Michael Wright <michaelwr@google.com> am 7f7ffa37: am 87e4c951: am 59c1a0e1: am 8ae90587: Merge "Add TabletModeChangedListener for SystemUI." into mnc-dr-dev

* commit '7f7ffa3722ef90a7bf5611221c4a4c9d06823a38':
Add TabletModeChangedListener for SystemUI.
7f7ffa3722ef90a7bf5611221c4a4c9d06823a38 03-Sep-2015 Michael Wright <michaelwr@google.com> am 87e4c951: am 59c1a0e1: am 8ae90587: Merge "Add TabletModeChangedListener for SystemUI." into mnc-dr-dev

* commit '87e4c951bf876faefad9f4223f6a568777425ae7':
Add TabletModeChangedListener for SystemUI.
8ae90587a510f72a176119b1f23add8bc36285b9 03-Sep-2015 Michael Wright <michaelwr@google.com> Merge "Add TabletModeChangedListener for SystemUI." into mnc-dr-dev
6a89feae871e7c4c19ddc2a7d3b74930b85b4584 01-Sep-2015 Jorim Jaggi <jjaggi@google.com> am 53c5dadb: am d302508d: am 4a306fd7: am 3a464785: Add a private API to get notified about lockout resets

* commit '53c5dadbb8ddf0898e91e129aee4a19f1028175a':
Add a private API to get notified about lockout resets
53c5dadbb8ddf0898e91e129aee4a19f1028175a 01-Sep-2015 Jorim Jaggi <jjaggi@google.com> am d302508d: am 4a306fd7: am 3a464785: Add a private API to get notified about lockout resets

* commit 'd302508d2838000b1dde05d9bfaf5e5181dcf9dc':
Add a private API to get notified about lockout resets
3a464785088e7fd206666f640912729533948ce8 29-Aug-2015 Jorim Jaggi <jjaggi@google.com> Add a private API to get notified about lockout resets

SystemUI uses it to start authentication again after lockout reset
expired.

Bug: 22846755
Change-Id: I90a987c6aa4ac52cc7e7aff1bce262d1db3f12ee
/frameworks/base/Android.mk
28fa6705bd6ae2ba79fcf54113b86683b47b4dd6 26-Aug-2015 Daniel Estrada Alva <destradaa@google.com> am e4d61989: am f440fe06: am 8ff73b59: Merge "Cherry-pick: Add callback-based support for HW Activity Recognition." into mnc-dr-dev

* commit 'e4d61989aebaee02b8b83f229418e7744278633f':
Cherry-pick: Add callback-based support for HW Activity Recognition.
e1a5144a1ddded30dca1e1425739649032a86bac 24-Jun-2015 destradaa <destradaa@google.com> Cherry-pick: Add callback-based support for HW Activity Recognition.

Add a callback-based mechanism for GmsCore to connect to Hardware Activity
Recognition. This allows GmsCore to stop polling to identify if the Android
platform supports the functionality or not.

Bug: 17112184
Change-Id: I8f9459cbd15eecd70f6919c6551e6f7a663c732f
/frameworks/base/Android.mk
e3b07451c3ca7064cb70f1829cf35963cba74bd8 22-Aug-2015 Adrian Roos <roosa@google.com> resolved conflicts for merge of bcc26c02 to master

Change-Id: I4260ff0d090cfa9741fd3adcfcadcbbff6839388
bcc26c0201c37d958ff577632958c07f58618c25 22-Aug-2015 Adrian Roos <roosa@google.com> am 69fd61cb: am a8bbebd4: am b5e47228: Add StrongAuthTracker

* commit '69fd61cb9a487e5993098c93113d86c4fb32c304':
Add StrongAuthTracker
b5e4722891e7bbf2fffcd995af02838667a3abab 15-Aug-2015 Adrian Roos <roosa@google.com> Add StrongAuthTracker

Bug: 22846469
Bug: 22115393
Change-Id: I6ef5322d02e540fc043e7f20d3aabf595ce7c224
/frameworks/base/Android.mk
39e5e947447bc611205404ae6a4690656f1aa0f9 19-Aug-2015 Michael Wright <michaelwr@google.com> Add TabletModeChangedListener for SystemUI.

Bug: 23256614
Change-Id: I6e5d636c24a84846cfad84da800911a469689dda
/frameworks/base/Android.mk
feb6c0137a3d7d0580681d2d503ca442c236226b 13-Aug-2015 Joe Fernandez <joefernandez@google.com> am b854bced: am 9b8bc3dc: am db5b38b2: am 195b1fd2: am 8d149d7f: Merge "docs: Update developer docs make file to include API 23" into mnc-dev

* commit 'b854bced88d7ca46284830d9f6b728e2f2363929':
docs: Update developer docs make file to include API 23
b854bced88d7ca46284830d9f6b728e2f2363929 13-Aug-2015 Joe Fernandez <joefernandez@google.com> am 9b8bc3dc: am db5b38b2: am 195b1fd2: am 8d149d7f: Merge "docs: Update developer docs make file to include API 23" into mnc-dev

* commit '9b8bc3dcba4aa0a2eb5cd3fcb19226c476e4b8d6':
docs: Update developer docs make file to include API 23
9f65f0a2c00871fd5fa74e241d46ca65a7d3b40f 13-Aug-2015 Joe Fernandez <joefernandez@google.com> am 8d149d7f: Merge "docs: Update developer docs make file to include API 23" into mnc-dev

* commit '8d149d7ff278c877bf7ccff7cc428cf7ba1db1e4':
docs: Update developer docs make file to include API 23
1827e3230dfc3610780f0ffdb704aa9c142aa22b 13-Aug-2015 Joe Fernandez <joefernandez@google.com> docs: Update developer docs make file to include API 23

Change-Id: I1bb9c37cafdfc7c78c23099a0fde2914f3068485
/frameworks/base/Android.mk
ee94cfed7192bbae9ac67c278e1295a7eda57a01 08-Aug-2015 Neil Fuller <nfuller@google.com> am ce5f3e0f: am 14b884c1: am daf8d905: Merge "Add ICU as a java library for docs."

* commit 'ce5f3e0fe6714d3364c6b50ba768f58523661011':
Add ICU as a java library for docs.
cf9b82518cc9f5d232a3b460dd8348d42b3132e8 07-Aug-2015 Neil Fuller <nfuller@google.com> am 14b884c1: am daf8d905: Merge "Add ICU as a java library for docs."

* commit '14b884c16ecf3a70999fcbd1862f6f1b38b24367':
Add ICU as a java library for docs.
ce5f3e0fe6714d3364c6b50ba768f58523661011 07-Aug-2015 Neil Fuller <nfuller@google.com> am 14b884c1: am daf8d905: Merge "Add ICU as a java library for docs."

* commit '14b884c16ecf3a70999fcbd1862f6f1b38b24367':
Add ICU as a java library for docs.
14b884c16ecf3a70999fcbd1862f6f1b38b24367 07-Aug-2015 Neil Fuller <nfuller@google.com> am daf8d905: Merge "Add ICU as a java library for docs."

* commit 'daf8d9056815b7435bdf4d07da3f938f11052691':
Add ICU as a java library for docs.
2e47a6e5dbd034ee7f7a2662d6d7293326d1db8e 03-Aug-2015 Rayhaan Jaufeerally <rayhaan@google.com> Add ICU as a java library for docs.

Change-Id: Ifd5f0a076e2cbdf0498c209c916d5a55aa12f0ce
/frameworks/base/Android.mk
6e2fe75624c069bd374da65dc9d6d9ba84b4b5ba 24-Jun-2015 destradaa <destradaa@google.com> Add callback-based support for Hardware Activity Recognition.
b/17112184

Add a callback-based mechanism for GmsCore to connect to Hardware Activity
Recognition. This allows GmsCore to stop polling to identify if the Android
platform supports the functionality or not.

Change-Id: I8f9459cbd15eecd70f6919c6551e6f7a663c732f
/frameworks/base/Android.mk
7840c0a071c6cff891b781e5bfecc190880ad0c6 22-Jul-2015 Jorim Jaggi <jjaggi@google.com> am c1244a29: Merge "Touch, wake and unlock" into mnc-dev

* commit 'c1244a2995087c930842b7d5e5a35a446c5c40f7':
Touch, wake and unlock
740452e8756cb7f51ed185c3906a5ca61b8fcdd4 09-Jul-2015 Jorim Jaggi <jjaggi@google.com> Touch, wake and unlock

- Add onFingerprintAcquired, so Keyguard can grab a wakelock to prevent
the device from sleeping.
- If we get a successful fingerprint, wake the device up, immediately
dismiss the keyguard and tell PWM that we kicked off our frame that
will represent the correct state.
- PWM then waits for this frame to be drawn, and then turns on the
screen, which results in unlocking directly to the previsouly
opened app.

Bug: 21855614
Change-Id: I5f43df17fa5e4e9c6a6392eef4a4590b07df4f96
/frameworks/base/Android.mk
bb5a76902dbd8f5eac8eeaf474ab205ec32156d7 16-Jul-2015 Ying Wang <wangying@google.com> Merge "Using LOCAL_DROIDDOC_STUB_OUT_DIR to specify "-stubs" option."
0f92a2e72f1f1bb67a926420fc2e45e2ce607341 16-Jul-2015 Ying Wang <wangying@google.com> Using LOCAL_DROIDDOC_STUB_OUT_DIR to specify "-stubs" option.

So that the build system can clean up the stub out dir before
calling doclava.

Bug: 22534021
Change-Id: Iba33cf0a295e4ae32fdcad8bd326c2f52de5f875
/frameworks/base/Android.mk
a97d513ba2068e76755ccf773c748399fd1695a7 16-Jul-2015 George Mount <mount@google.com> am a38c0004: am bf6430a0: am 3d520403: am 30c8245a: Merge "Add data binding to built javadoc." into mnc-dev

* commit 'a38c00048e5f90e90dbad115d280f7e8a2dffe18':
Add data binding to built javadoc.
7f35b0d2cc606fb25dcbb295c6b7468ac76322f3 16-Jul-2015 George Mount <mount@google.com> am 30c8245a: Merge "Add data binding to built javadoc." into mnc-dev

* commit '30c8245afc8d9558b76e5c86f917c22e02f6e820':
Add data binding to built javadoc.
3d52040359721934231e0e89d45b3bd4179db475 16-Jul-2015 George Mount <mount@google.com> am 30c8245a: Merge "Add data binding to built javadoc." into mnc-dev

* commit '30c8245afc8d9558b76e5c86f917c22e02f6e820':
Add data binding to built javadoc.
30c8245afc8d9558b76e5c86f917c22e02f6e820 16-Jul-2015 George Mount <mount@google.com> Merge "Add data binding to built javadoc." into mnc-dev
a82152aaf49b893ad11e6ecdb1fafbef12add586 16-Jul-2015 Narayan Kamath <narayan@google.com> am 737106a6: am 1ecfdf33: Merge "docs: Add an explicit dependency on libcore/Docs.mk"

* commit '737106a61b0ceb2a6b92e7734b04900b174addce':
docs: Add an explicit dependency on libcore/Docs.mk
95b869e282a69cdfa0a4699490ae21da88cc223d 16-Jul-2015 Narayan Kamath <narayan@google.com> am 737106a6: am 1ecfdf33: Merge "docs: Add an explicit dependency on libcore/Docs.mk"

* commit '737106a61b0ceb2a6b92e7734b04900b174addce':
docs: Add an explicit dependency on libcore/Docs.mk
737106a61b0ceb2a6b92e7734b04900b174addce 16-Jul-2015 Narayan Kamath <narayan@google.com> am 1ecfdf33: Merge "docs: Add an explicit dependency on libcore/Docs.mk"

* commit '1ecfdf33ee593c0e80cee5e11f4c0a0fd0071233':
docs: Add an explicit dependency on libcore/Docs.mk
c21739aec81136ba2d41170221125261c360c9bf 14-Jul-2015 Narayan Kamath <narayan@google.com> docs: Add an explicit dependency on libcore/Docs.mk

We include libcore sources in apicheck / docs targets so we must
regenerate the stubs or api definitions whenever the list of libcore
sources changes.

Change-Id: I9383015069bc4064d5d06d3d540047cd408e24c7
/frameworks/base/Android.mk
4cfdcf5b0551e5656ea379c428e78b812c2e5cbe 09-Jul-2015 Jorim Jaggi <jjaggi@google.com> Touch, wake and unlock

- Add onFingerprintAcquired, so Keyguard can grab a wakelock to prevent
the device from sleeping.
- If we get a successful fingerprint, wake the device up, immediately
dismiss the keyguard and tell PWM that we kicked off our frame that
will represent the correct state.
- PWM then waits for this frame to be drawn, and then turns on the
screen, which results in unlocking directly to the previsouly
opened app.

Bug: 21855614
Change-Id: I0c43bcc9d334b509632704fb0c123ab3351edff2
/frameworks/base/Android.mk
a340f07670c300c40ffebad547e34abdacab5184 14-Jul-2015 George Mount <mount@google.com> Add data binding to built javadoc.

Bug 22175560

Change-Id: Ie57e0b77cade4b994ca2ef80cbf1a4c615a943f8
/frameworks/base/Android.mk
49e3edff5156f471819e4ea2a88994bca70bd870 22-May-2015 Paul Jensen <pauljensen@google.com> Add android.net.CaptivePortal class for captive-portal-handling-app callbacks

This new class replaces the awkward string token and ConnectivityManager APIs
used by apps handling captive portals.

Bug:21343774
Change-Id: I1a2c69edb17322715bf8422bb4216b0ea60bfd59
/frameworks/base/Android.mk
cdfd230a392d0f0557a3a5bada221b7a05113392 26-Jun-2015 Svetoslav <svetoslavganov@google.com> Grant default permissons to the default SMS, Phone, Browser app.

The default SMS, Phone, Browser are selected in the UI and we
grant default permissions to these. We do this regardless if
they are on the system image as the user has made an explicit
choice in the UI and the permission we grant are considered
essential for such type of a core app to operate properly.

bug:22104986

Change-Id: Ide8caeb524b43dde11a20460666cf34c4d35f84b
/frameworks/base/Android.mk
2a880312086147577e1e814bda6985fa97fb343b 23-Jun-2015 Jeff Davidson <jpd@google.com> Default permissions for carrier apps.

Grant permissions in the PHONE and LOCATION buckets to default carrier
apps as defined by the telephony stack. Provide a system API to grant
default permissions for carrier apps, as the set of apps may change
when a new SIM is inserted.

Since the phone process is separate from the system process, we need
to allow for binder calls to these APIs.

Also fix a log tag that is too long (android.util.Log drops messages
silently if the tag is > 23 characters).

Bug: 21696731
Change-Id: I98ca0c49c69f621f835ba57c1fd0505f2cec0d0d
/frameworks/base/Android.mk
f7c06eb03ab4479b9d0656a23a4733d17e995183 11-Jun-2015 Svetoslav <svetoslavganov@google.com> Add system API to watch for permission changes

Change-Id: I1ce450a59fb326c14848f46732d877dea33f33c7
/frameworks/base/Android.mk
8711ed644bab42c03ab9a22c14e1cb2825a107a6 09-Jun-2015 Prerepa Viswanadham <dham@google.com> Merge changes from topic 'modemActivityInfo' into mnc-dev

* changes:
API for get modem activity info
Activity info and stats from modem
383ce580b1c9e706d1b06a23d81986f3b4ed83fb 08-Jun-2015 Mike Lockwood <lockwood@google.com> Merge "MidiManager: proxy all requests to open devices through MidiService" into mnc-dev
20ac61b8c0abd5af4ce32707e01cc1a501cbb7f0 08-Jun-2015 John Spurlock <jspurlock@google.com> Merge "Zen: New user flow for requesting DND access." into mnc-dev
7c74f78a85283912d7239214024ccca702622f21 04-Jun-2015 John Spurlock <jspurlock@google.com> Zen: New user flow for requesting DND access.

- User flow is now similar to requesting access to notification
content, namely prompting the user to visit a settings page
for enabling/disabling apps access.
- New ACTION_NOTIFICATION_POLICY_ACCESS_GRANTED_CHANGED intent
for apps to listen to this state change.
- Removed obsolete request method and associated internal callback
aidl.
- Added new android.permission.ACCESS_NOTIFICATION_POLICY permission
for apps to include as a signal that they want to request this access
(and therefore appear in the list on the settings page).
- Improve javadocs, outline the user flow in NotificationManager#isNotificationPolicyAccessGranted
and link to this method elsewhere.
- NoManService now persists the user-enabled package list across reboots
and does so per-user.
- Rename public settings intent to correspond with the noman api.

Bug: 21621663
Change-Id: I72cbc21cd736e6a157b6be5d1d0ba0b4a8e7ef4e
/frameworks/base/Android.mk
e0a6ca64fac5bd4f10139321604031816e90adb4 04-Jun-2015 Mike Lockwood <lockwood@google.com> MidiManager: proxy all requests to open devices through MidiService

Previously when a MidiManager client opened a virtual or Bluetooth device,
the client bound directly to the virtual device's MidiDeviceService
or BluetoothMidiDevice's IMidiDeviceServer for the given BluetoothDevice.
Only USB devices were opened in MidiService.

Now opening any type of MIDI device is done via IMidiManager.openDevice() or
IMidiManager.openBluetoothDevice(). MidiService tracks all connnections between
clients and devices.

Services that implement virtual devices must now require android.permission.BIND_MIDI_DEVICE_SERVICE
so only MidiService can bind to these services.

Bug: 21044677

Change-Id: I7172f7b1e0cbfe4a2a87dff376c32dc9b41aa563
/frameworks/base/Android.mk
5c728994311c40821604c6711171e860776659a6 28-May-2015 Prerepa Viswanadham <dham@google.com> Activity info and stats from modem

Change-Id: Ifa8e520673c7e5549b0066a16a744810f1f0730c
/frameworks/base/Android.mk
69c6adc96eecfde74ceb83cf9177428dc08b6067 02-Jun-2015 Dianne Hackborn <hackbod@google.com> More API changes.

Start moving Assist* stuff to android.app.assist.

Clean up some more of the VoiceInteractionSession APIs.

Clearly document that finish() is not the same as hide(),
always call hide() instead, and fix the finish() path to
also always do a hide to make sure everything is cleaned
up correctly.

Change-Id: I962d4069fcb34fe89547a95d395ae1b9fa3b4148
/frameworks/base/Android.mk
68bca39a6a85c40638b28b7c91f154045afe5b10 28-May-2015 Zach Johnson <zachoverflow@google.com> Merge "Drop the "Config". Just "CarrierService". It's cleaner." into mnc-dev
80d9a4be66a20292083b10d9a4e59e584b225488 28-May-2015 Trevor Johns <trevorjohns@google.com> am 29649e27: am 6ea840d1: am 4cbe359a: Add \'System\' group to DAC sample browser

* commit '29649e27a3c73d4470dc41e4c9614da55fac1c54':
Add 'System' group to DAC sample browser
42ecc9eb902ef90876cd345a906c24e0d58720a3 23-May-2015 Zach Johnson <zachoverflow@google.com> Drop the "Config". Just "CarrierService". It's cleaner.

b/21308727

Change-Id: I6515888c7804349ecd07c4dd74575ef89a4bea59
/frameworks/base/Android.mk
6ea840d15e66a5d2ba6e70f9e07ff59adb4d6d2a 28-May-2015 Trevor Johns <trevorjohns@google.com> am 4cbe359a: Add \'System\' group to DAC sample browser

* commit '4cbe359abe26d749b1dbc9cf489a825af0cad005':
Add 'System' group to DAC sample browser
4cbe359abe26d749b1dbc9cf489a825af0cad005 27-May-2015 Trevor Johns <trevorjohns@google.com> Add 'System' group to DAC sample browser

Bug: 19708211
Change-Id: I55ad484647b859fce6c59f0e147523a8a709a527
/frameworks/base/Android.mk
f4ba7833af54ad6a75803dd678acac57c7f9e26b 22-May-2015 Dirk Dougherty <ddougherty@google.com> am 0140854a: am 85dea528: Doc change: updated images, landings, and ndk updates.

* commit '0140854a636ed7def204d769dbc4eb7857d009be':
Doc change: updated images, landings, and ndk updates.
85dea528866217d4b3d40a1162c00c4e836504aa 21-May-2015 Dirk Dougherty <ddougherty@google.com> Doc change: updated images, landings, and ndk updates.

Change-Id: If128f8394438471365db6f7c0a42e6b38d25d250
/frameworks/base/Android.mk
0a17fb4e562d5375f795ee1301c4aba86443e023 21-May-2015 Jim Miller <jaggies@google.com> Merge "Move from native FingerprintService implementation to fingerprintd" into mnc-dev
be67542182e41a6e31cf002db72ec42ee717bd1c 12-May-2015 Jim Miller <jaggies@google.com> Move from native FingerprintService implementation to fingerprintd

This adds a new service, fingerprintd, that manages fingerprint
hardware from a separate process. It provides a binder interface that
FingerprintManager uses to talk to the fingerprint HAL.

Change-Id: I84d8e407c1f1a7d1a396e246c382459ad38810ae
/frameworks/base/Android.mk
f082bb2a7f6ad064bbd608d079851c9df18ef0f4 20-May-2015 Ruben Brunk <rubenbrunk@google.com> Merge "camera: Add AIDL interface for CameraServiceProxy." into mnc-dev
6664aee15ae2f1183d5c6820bb47c6d7d55806c0 20-May-2015 Ruben Brunk <rubenbrunk@google.com> camera: Add AIDL interface for CameraServiceProxy.

- Adds an AIDL interface to allow the proxy camera service
running in system server to accept RPCs from the camera
service running in mediaserver.
- Request an update to the valid user set from the proxy
camera service when mediaserver restarts to initialize
properly + avoid DOS after a crash.

Bug: 21267484
Change-Id: Ib821582794ddd1e3574b5dc6c79f7cb197b57f10
/frameworks/base/Android.mk
7bcaf9a997547b14e9b755c53926aa39dde8973f 08-Sep-2014 Yohann Roussel <yroussel@google.com> [DO NOT MERGE] Allow compilation with Jack.

Adapt to Jack compilation specifics.

Fix bad import in VideoDumpActivity.
The extra semicolumn is ignored by javac because of
https://bugs.openjdk.java.net/browse/JDK-8027682 but is not
permitted by ecj or Jack.

This includes cherry-picks of the following changes:
248ef6f9c414db26fd1bc7ec3d4ee4f3b87d54cf
705555dc468e46560d02db102dfcedc1e5c70d9e
f50a51fb4c8d5ca973ce910a21bddf9f8466cb51
bf5ad8d9943c0e1b0b3f1b4524c277f369065d08

Change-Id: Ifbe063e3822a7d63b1681921b9788cfca898ba64
/frameworks/base/Android.mk
d23e0d6901935588f9472bd7073fea0009581e9b 16-May-2015 Dianne Hackborn <hackbod@google.com> Update power manager to track uid state like netstats.

To follow the correct semantics for when restricts due to
device idle can be applied, power manager need to know about
uid process states like net policy so that it can allow
wake locks from apps that are in the foreground.

Since this is being added to a second place, I reworked things
so that the activity manager now keeps track of per-uid process
states and allows apps to register to listen to those, rather
than having to track lower-level process states and transform
them into an overall uid state. Both net policy and power
manager use this new facility.

Change-Id: I77359164c40d0f36fe1ef296dd9f9c3062431148
/frameworks/base/Android.mk
9a61013d2d0e4448b884a0869b80ea20da441691 13-May-2015 Brian Colonna <bcolonna@google.com> Merge "Removed unused Face Unlock aidl files" into mnc-dev
e6c47686f62643d3399218eef4728c22358cbcfb 12-May-2015 P.Y. Laligand <pylaligand@google.com> Merge "DO NOT MERGE - Display mode switches." into mnc-dev
b3b9eb3cfc5b3b3609a5d01258315798b38a5cf9 12-May-2015 P.Y. Laligand <pylaligand@google.com> DO NOT MERGE - Display mode switches.

Knowledge of the various modes of a display is now available to apps, and they can request a specific mode for their windows.

b/18241736

Change-Id: I8eb16ff713e878512faca3ca6662254f08a9be7f
(cherry picked from commit 5c7773d86484aac5737667c604bd8fe8150c2136)
/frameworks/base/Android.mk
d86d58cd010b087d6d481062f84c894e0ced7bbc 05-May-2015 Rubin Xu <rubinxu@google.com> Tweak SystemUpdatePolicy according to API review.

Make SystemUpdatePolicy Parcelable; hide public constructor and
expose static builder methods.

Bug: 20820025
Change-Id: I594ba3c7e5514551134ba6c866b24498b66506bf
/frameworks/base/Android.mk
00f59774ed7c3f42d655ed9688bc83bfecfa2fe7 08-May-2015 Brian Colonna <bcolonna@google.com> Removed unused Face Unlock aidl files

This old interface has been replaced with a new interface for Trusted
Face in MNC.

Bug: 16139545
Change-Id: I195d9f3e1b183ad39fbee64bdef9a8dbf1d68df3
/frameworks/base/Android.mk
a8cc0584c60cbe7e880895353d95e9b9cc5c1b62 07-May-2015 Bart Sears <bsears@google.com> Revert "Remove incomplete media router API."

This CL has broken all builds on mnc-dev.
Reverting until Jeff can take a look at it.

This reverts commit 2e5a2051de54e64612e1357d4534c7ec851aa508.

Change-Id: Ib9b3569bfebdc7bbfbcb7aee82733b93736c5bb5
/frameworks/base/Android.mk
2e5a2051de54e64612e1357d4534c7ec851aa508 20-Aug-2014 Jeff Brown <jeffbrown@google.com> Remove incomplete media router API.

Bug: 20641986
Change-Id: I310fadafb5a6b8190a32e5d87f3e1823c87bcef7
/frameworks/base/Android.mk
c05c1aeedf44b7019b6749758dffc03df7632225 05-May-2015 Jeff Brown <jeffbrown@google.com> Revert "Initial draft of new MediaRouter APIs."

This reverts commit 1a937b04e63539cb1fab1bde601031d415c7156f.

Bug: 20641986
Change-Id: I035d945d1561e5fc7c914aa9362635f763c83cfd
/frameworks/base/Android.mk
0b4daca9ba54b7252ea8c159218391380eb00c8a 27-Apr-2015 Dianne Hackborn <hackbod@google.com> Implement user-settable power save whitelist.

The whitelist is now maintained by DeviceIdleController,
which is moving out into its own independent system service.
Network stats now queries it for the whitelist, instead of
collecting that itself.

Also did a few improvements in alarm manager -- made the
code for moving alarms out of the pending list more robust,
and fixed the debug output to always print the contents of
the pending list even if we aren't in a pending state. (That
would have helped me identify the problem much earlier.)

Change-Id: I0f7119d4c553c3af4d77b2f71246fa6e2c13c561
/frameworks/base/Android.mk
9a1c9b67c4b2426884deb60c1ff84130ab47333c 25-Feb-2015 Jonathan Basseri <misterikkit@google.com> Adding Carrier Config API.

UICC privileged carrier apps will extend CarrierConfigService to provide
carrier-specific configuration. Apps/services will use
CarrierConfigManager to read the current configuration.

CarrierConfigManager also defines the set of configuration variables and
their default values.

Bug: b/19483786
Change-Id: I027211b43276afd6fe893ae50048c52f2aed5cf5
/frameworks/base/Android.mk
2a5f608e7a5765db3b91165dac5b6280b26da26c 19-Mar-2015 Casper Bonde <c.bonde@samsung.com> Add support for Bluetooth Sim Access Profile (2/4)

Change-Id: I6c634aa38d31a7b5a98c9089840557257fd58209
/frameworks/base/Android.mk
1fc476d51203c0b76ebd0f2062adf3059437b0dc 14-Apr-2015 John Spurlock <jspurlock@google.com> Zen: Add notification policy management api.

- Allow apps to read and modify notification policy (currently
which items are prioritized in "priority only" mode), but only
after they've been granted access by noman.
- Access to read/modify notification policy requires a token provided
by noman. Enabled notification listeners are automatically given
tokens (new getter on NLS), but any other app can also request them.
- Currently, all requests are granted.
- Also add a new change intent when the public policy changes.

Bug: 18541928
Change-Id: I482d1c39852d0d961931515e0f0e059a8faee4ed
/frameworks/base/Android.mk
317918e206b89f4a49bfa35af57607764f322347 14-Apr-2015 Andres Morales <anmorales@google.com> Merge changes from topic 'lss-update'

* changes:
Add challenge to IGateKeeperService
Wire up GateKeeper to LockSettingsService
3c273bbb912ab5d2a02e3a8ff5baefc819ea26fc 14-Apr-2015 smain@google.com <smain@google.com> am f46c8f5b: am c9393a5d: am 2b92e18b: am 76c9e47e: am 4301dd04: am d60649c5: Merge "initial batch of NDK files for skeleton site build" into lmp-docs

* commit 'f46c8f5bfcb30d7f9d8b91e6f193d7ab574e05e9':
initial batch of NDK files for skeleton site build
c9393a5d707529a465fe68ee96d9929deb8ef3c8 14-Apr-2015 smain@google.com <smain@google.com> am 2b92e18b: am 76c9e47e: am 4301dd04: am d60649c5: Merge "initial batch of NDK files for skeleton site build" into lmp-docs

* commit '2b92e18b4bf70c88662dfa1137c4901daae4d4d5':
initial batch of NDK files for skeleton site build
8fa5665f0e757cec0063fb4cf1354f1596f93a91 31-Mar-2015 Andres Morales <anmorales@google.com> Wire up GateKeeper to LockSettingsService

Adds:
- Communication to GKService
- password upgrade flow
- enroll takes previous credential

Change-Id: I0161b64642be3d0e34ff4a9e6e3ca8569f2d7c0a
/frameworks/base/Android.mk
0178321af60012d8f0e6dd5a0df938dfe4ea0206 11-Apr-2015 smain@google.com <smain@google.com> initial batch of NDK files for skeleton site build

Change-Id: I00152e817377c072f529940743499a3b6d91f80d
/frameworks/base/Android.mk
5d6443bf7c087167e47ea39b13e6af09cb43ad97 11-Apr-2015 Jeff Brown <jeffbrown@google.com> Set initial screen brightness earlier in the boot process.

Previously we had to wait for systemReady before setting the brightness
due to the order in which the display power controller was initialized.
Unfortunately it could take us a rather long time to reach that stage,
particularly after an OTA where the screen would remain at maximum
brightness for minutes while "Optimizing Apps".

This change moves the brightness backlight setting code deeper
into the display manager which has a couple of nice side-benefits
in that it now becomes much easier to coordinate display power mode
changes with display backlight changes. So this change also resolves
some issued with changing the backlight while in DOZE_SUSPEND and
ensuring that backlight changes generally end up being performed
before executing a power mode change except in the case where the
display needs to come out of suspend first. (So now the backlight
will be set before entering DOZE from the ON state.)

Deleted some dead code in LightService which was in the way.

Bug: 19029490
Change-Id: I494b5223e676248daf2ff8be3ec338845977f73c
/frameworks/base/Android.mk
ea51127bcbc51f16588755a7b02768269860122c 11-Apr-2015 David Friedman <dmail@google.com> am d34b20e9: am a22125ff: am 23b5e508: am 340a617e: am 746fed63: am 3a77a8ae: Merge "New build rule reflecting different masthead, side nav for NDK minisite." into lmp-docs

* commit 'd34b20e957f66e113e7d39e253d69450545b5961':
New build rule reflecting different masthead, side nav for NDK minisite.
a22125ff98085c0fe662966cadfe4c889707db54 11-Apr-2015 David Friedman <dmail@google.com> am 23b5e508: am 340a617e: am 746fed63: am 3a77a8ae: Merge "New build rule reflecting different masthead, side nav for NDK minisite." into lmp-docs

* commit '23b5e508adfb454552fda16d76d65b070a53f759':
New build rule reflecting different masthead, side nav for NDK minisite.
1adf4958e8695125980cbafccf9acd38fd940271 07-Apr-2015 David Friedman <dmail@google.com> New build rule reflecting different masthead, side nav for NDK minisite.

Change-Id: I81b50cca405d907cf8a6514356b92e38b6808d3c
/frameworks/base/Android.mk
225d3b5449d29b43e619d8538d024305f6e81ba9 01-Apr-2015 Jorim Jaggi <jjaggi@google.com> Add more internal API's for assist

- When starting a voice interaction session from SysUI, a callback
can be passed to know when voice interaction has successfully started
- Add a new window type for the voice interaction starting window,
which resides behind the voice interaction layer.
- SystemUI now also inspects the voice interaction service to get the
logo asset for the starting window.
- Make VoiceInteractionSession window fullscreen, to accomodate for
the visuals.

Change-Id: If8c3c445e8b39841f48e8d153e6d1ba81e447286
/frameworks/base/Android.mk
ebbf205bc6e8292f74d8fc4652c70274a445f907 01-Apr-2015 Jim Miller <jaggies@google.com> Prepare to make Fingerprint API public.

- move fingerprint support files into hardware area
- move jni into services/core

Change-Id: I48a8e43d6d328fb66d79919c255e4c44e984b4d1
/frameworks/base/Android.mk
5670d9a2503557ca583eddcab1702800b5016cd9 31-Mar-2015 Olawale Ogunwale <ogunwale@google.com> am 4af5bd7c: Merge "Add ProcessInfoService to activity manager."

* commit '4af5bd7cdaccdba6001a384a81c258f542e74075':
Add ProcessInfoService to activity manager.
c74e289a6537227ab80fa59da9d5d6f88dc9fe33 30-Mar-2015 John Reck <jreck@google.com> Merge "Add GraphicsStatsService"
e1e1969c96db98545033456111c0da6ff8a0699f 29-Jan-2015 Ruben Brunk <rubenbrunk@google.com> Add ProcessInfoService to activity manager.

- Adds a new AIDL interface for querying process
information from activity manager.

Bug: 19186859
Change-Id: Ic08858f346d6b66e7bfc9da6faa2c6e38d9b2e82
/frameworks/base/Android.mk
edc524c90506d80e0fc5fb67e8de7b8f3ef53439 18-Mar-2015 John Reck <jreck@google.com> Add GraphicsStatsService

More S's for More Speed

Split JankTracker's backing data from the
class to allow for data relocation to/from ashmem regions

Pack the jank tracking data to fit in 256 bytes

Change-Id: Ife86a64b71a328fbd0c8075fe6a0404e081f725b
/frameworks/base/Android.mk
161155145e08466314e9e6819cc04cb78161eff8 20-Mar-2015 Chris Wren <cwren@android.com> add a metrics logger

Change-Id: I5b1dccb5d103ece3112acf38889bae16273b092f
/frameworks/base/Android.mk
2c2546a29601807d0e8618394a1f159f28d737c1 19-Mar-2015 Ruben Brunk <rubenbrunk@google.com> camera2: Remove ProCamera.

Bug: 19186859
Change-Id: I4aaadb53db65b479f92cbb3c05329d1e40317900
/frameworks/base/Android.mk
27eac1d58fe0b7ca3a2e27f5ed64eff232745f45 17-Mar-2015 Dianne Hackborn <hackbod@google.com> Add ability to get a screenshot for assist.

New flag you pass in to startSession() to say you want it,
new callback on VoiceInteractionSession to receive it.

Change-Id: I61fdcfdee41a60d46036a2ef16681a9b4181115a
/frameworks/base/Android.mk
3d07c94c393831091958fe6a98811843db8973bd 14-Mar-2015 Dianne Hackborn <hackbod@google.com> Add new voice request for picking from a list.

Also add API for voice interaction service to control
whether the system should hold a wake lock while it is
working with an activity (and actually *do* hold a wake
lock while doing so, duh!).

And while in there, clean up the launching wake lock to
correctly give blame to the app that is launching.

Change-Id: I7cc4d566b80f59fe0a9ac51ae9bbb7188a01f433
/frameworks/base/Android.mk
a83ce1dd2ad3a6b71e90ff4845afc1299fe17b9d 11-Mar-2015 Dianne Hackborn <hackbod@google.com> More work on collecting assist data.

Optimize parceling of AssistData (which is now renamed to
AssistStructure) by pooling duplicated class name strings.

Change text associated with a view node to a CharSequence,
so styling information comes along.

Include global text attributes -- size, colors, etc.

Introduce a new AssistContent structure, which allows us
to propagate information about the intent and data the
activity is looking at. This further allows us to propagate
permission grants, so the assistant can dig in to that data.
The default implementation propagates the base intent of an
activity, so if for example you bring up the assistant while
doing a share the assistant itself has the same information
and access that was given to the share activity (so it could
for example share it in another way if it wanted to).

Did some optimization of loading PersistableBundle from xml,
to avoid duplicating hash maps and such.

Changed how we dispatch ACTION_ASSIST to no longer include
the more detailed AssistStructure (and new AssistContent)
data when launching; now the example code that intercepts
that needs to be sure to ask for assist data when it starts
its session. This is more like it will finally be, and allows
us to get to the UI more quickly.

Change-Id: I88420a55761bf48d34ce3013e81bd96a0e087637
/frameworks/base/Android.mk
27b7c1f526b7b0e9dd97566ccf6cbd28bfeab285 05-Mar-2015 Adam Powell <adamp@google.com> Merge "Add ChooserTargetService API"
c623ec973b5e8d1fd2ff4162d5de8701a6490121 05-Mar-2015 Mike Lockwood <lockwood@google.com> Merge "MidiManager: Virtual MIDI devices are now implemented as Services"
e30c9af3566cfa14796144b352230709c7b5647d 28-Feb-2015 Adam Powell <adamp@google.com> Add ChooserTargetService API

A ChooserTargetService can be implemented by apps that wish to offer
additional deep-link targets for the system intent chooser to in turn
offer to the user. This allows apps to create contextually relevant
shortcuts for UI flows that would otherwise require several steps of
explicit disambiguation. For example, a chat app might offer one-touch
access to recent conversations when sharing a photo to it from
elsewhere.

The chooser implementation must limit the number of
ChooserTargetServices it elects to query in order to respect available
system resources. Only the system chooser is permitted to bind to a
ChooserTargetService.

Change-Id: Ia7e075ee649c51cf2035f20aee166c5a27d91aeb
/frameworks/base/Android.mk
11fd96d6ff25bc1d710448eab545fe09da55a5f5 02-Mar-2015 Mike Lockwood <lockwood@google.com> MidiManager: Virtual MIDI devices are now implemented as Services

To implement a virtual MIDI device, include a subclass of MidiDeviceService in
your application. This service is identified by an intent filter and meta-data
in the application's manifest to allow the MIDI manager to register the virtual device
without actually running the application. Instead, the application's MidiDeviceService
subclass is started on demand when MIDI manager clients want to open the device.

Here is an example of how the MidiDeviceService might be described in the application manifest:

<service android:name="VirtualDeviceService">
<intent-filter>
<action android:name="android.media.midi.MidiDeviceService" />
</intent-filter>
<meta-data android:name="android.media.midi.MidiDeviceService"
android:resource="@xml/device_info" />
</service>

and the device_info.xml meta-data:

<devices>
<device manufacturer="Sample Manufacturer" model="Sample Model" private="false">
<input-port name="my input port" />
<output-port name="my output port" />
</device>
</devices>

(note that the <input-port> and <output-port> names are not currently used, but support for these
will be added in a subsequent change)

Client's of the virtual device will bind directly to the hosting application's MidiDeviceService subclass.
To support this, MidiManager.openDevice() now returns the MidiDevice asynchronously via a callback.

This change also adds a utility class called MidiDispatcher, which is a MidiReceiver
that dispatches all data it receives to a list of other MidiReceivers.
We now use this internally in MidiInputPort and MidiDeviceServer, but developers
may use it for other purposes as well.

Change-Id: Ic3009f06d56f3d5edbd87de3f0c330b51a1c217d
/frameworks/base/Android.mk
412e3951474c0939f2c10f1d381df45d01e00b55 03-Mar-2015 Joe Fernandez <joefernandez@google.com> am f76b6c98: am 66b4366e: am a2bbdb96: am 2ba57444: Merge "docs: update Android docs build to include API 22, Android 5.1" into lmp-mr1-dev

* commit 'f76b6c988af5a6024bcf20a2b51bf5b319b8ae50':
docs: update Android docs build to include API 22, Android 5.1
f76b6c988af5a6024bcf20a2b51bf5b319b8ae50 03-Mar-2015 Joe Fernandez <joefernandez@google.com> am 66b4366e: am a2bbdb96: am 2ba57444: Merge "docs: update Android docs build to include API 22, Android 5.1" into lmp-mr1-dev

* commit '66b4366e99f561766303e539d3ee798a0b8a2a09':
docs: update Android docs build to include API 22, Android 5.1
3d44c0facaa82a65418f05ba99dfd5aa3ad96c25 03-Mar-2015 Joe Fernandez <joefernandez@google.com> docs: update Android docs build to include API 22, Android 5.1

Change-Id: If41c1a142db0f2df439afaa9cf5d0fe0ca47d2c0
/frameworks/base/Android.mk
b673770f7172d4fca9bc05de1f36bc53e93eb247 20-Feb-2015 Mike Lockwood <lockwood@google.com> Add MIDI Manager API tweaks:

- Change the package name from android.midi to android.media.midi

- Add option for specifying a Handler for DeviceCallback notifications

Change-Id: Ia9e9817a651c06299f4e02ee1da3c9666ff64cb9
/frameworks/base/Android.mk
3bdd327f8532a79b83f575cc62e8eb09a1f93f3d 27-Nov-2014 Narayan Kamath <narayan@google.com> Move apache specific portions of android.net.http to external/apache-http.

We continue to compile external/apache-http into ext.jar. This contains
a few changes apart fom the classes moving around :

- Makefile changes to build docs and api-stubs for now. A future change
will revert these changes and remove these classes from stubs and
docs.
- Hardcode event IDs in legacyerrorstrings to avoid a dependency between
the frameworks and apache. These strings are on their way out and will
never change anyway.
- Remove imports due to {@link} tags and use {@code} instead.
- Remove an accidental(?) dependency on apache commons code that's a
part of apache-http.

bug: 18027885

Change-Id: I51cd038d846ec7d02c283a4541b10a6a9cf62ecf
/frameworks/base/Android.mk
a27eef432a4aa94c0eb8a5f73a6435afaac160fe 29-Jan-2015 Ruben Brunk <rubenbrunk@google.com> Add ProcessInfoService to activity manager.

- Adds a new AIDL interface for querying process
information from activity manager.

Bug: 19186859
Change-Id: Ic08858f346d6b66e7bfc9da6faa2c6e38d9b2e82
/frameworks/base/Android.mk
1a3bc05a9395fbf9667005f3fcff097525b31fb9 22-Jan-2015 Ying Wang <wangying@google.com> am 321e7246: am 301e1def: am 24328660: Merge "Check in "current" system API files." into lmp-mr1-dev

* commit '321e72461bb561ea81f8f7bfaaa0c29e0180bc75':
Check in "current" system API files.
321e72461bb561ea81f8f7bfaaa0c29e0180bc75 22-Jan-2015 Ying Wang <wangying@google.com> am 301e1def: am 24328660: Merge "Check in "current" system API files." into lmp-mr1-dev

* commit '301e1def7ab741830e1fbc02a291ff295a36c345':
Check in "current" system API 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
f038345826c28ebc06948edd63b06d008eee7a1f 15-Jan-2015 Chad Brubaker <cbrubaker@google.com> am b8794c76: Merge "resolved conflicts for merge of 3d64a850 to lmp-mr1-dev-plus-aosp" into lmp-mr1-dev-plus-aosp

* commit 'b8794c76d677ef04c96b9edc002fe6e1f53022c7':
Generate IKeystoreService using aidl
10024b3dc12a8552c1547b67810c77b865045cc8 11-Dec-2014 Mike Lockwood <lockwood@google.com> MidiManager updates:

MIDI ports are now implemented as file descriptors directly between the sender
and receiver, so the MidiService is no longer in the message path.

To facilitate the above, each port has its own file descriptor, rather than multiplexing
all ports on a device through a single socket.

Added a new class MidiDeviceServer, which is used by implementors of MIDI devices.
This replaces the MidiVirtualDevice class (which only was included in changes that were reviewed but never submitted).

The USB MIDI implementation has moved from the MIDI service to the USB service.
The USB MIDI implementation uses MidiDeviceServer as its interface, so we now have a common
interface for all MIDI device implementations.

Change-Id: I8effd1583f344beb6c940c3a24dbf20b477a6436
/frameworks/base/Android.mk
29f4d9f9ea58c19c3c9ea624a0c88643eb48866d 14-Jan-2015 Chad Brubaker <cbrubaker@google.com> resolved conflicts for merge of 3d64a850 to lmp-mr1-dev-plus-aosp

Change-Id: Ieed2c2a3b9977c30bc5318317c91c29907aa1377
7a2c973db7756a60f1cdd6cf67411115c1576081 14-Jan-2015 Chad Brubaker <cbrubaker@google.com> Generate IKeystoreService using aidl

This replaces IKeystoreService.java with IKeystoreService.aidl and
changes the methods that passed down a byte[][] to instead pass down a
KeystoreArguments which is currently a thin parcelable wrapper around a byte[][].

Change-Id: I6367bcf57562f41a27aab14f1903b74995cb65c2
/frameworks/base/Android.mk
84c2744108506abf910fe41314a43e9ace7dd07a 23-Dec-2014 Narayan Kamath <narayan@google.com> am 4dcc8d28: am d7771768: Merge "Build against libphonenumber-platform."
automerge: 6d2d7f1

* commit '6d2d7f19a0b9c1172428ef4c79453b9d1e9ed5ca':
Build against libphonenumber-platform.
6d2d7f19a0b9c1172428ef4c79453b9d1e9ed5ca 23-Dec-2014 Narayan Kamath <narayan@google.com> am 4dcc8d28: am d7771768: Merge "Build against libphonenumber-platform."

* commit '4dcc8d28d7933a4a08d2330f78f3b4486d2ef264':
Build against libphonenumber-platform.
ddd11793a23ee890bc883f59886792c57d988024 18-Dec-2014 Narayan Kamath <narayan@google.com> Build against libphonenumber-platform.

Don't compile libphonenumber sources directly.

Change-Id: Ib2efd84535a2cffe773271fd1ddcb66a6a651cb8
/frameworks/base/Android.mk
b3f390fe86d5ea75252c1f24a6ab58c639647664 09-Dec-2014 Jean-Michel Trivi <jmtrivi@google.com> am 83d0c86b: am d14f98fd: am 8638877f: Merge "Support collaborative audio focus handling" into lmp-mr1-dev

* commit '83d0c86b869fe84b3172028a5598ebd87ce7745b':
Support collaborative audio focus handling
9c0e993d4e77f990a99a846a165975598c7ddeae 09-Dec-2014 Benjamin Franz <bfranz@google.com> am f4a76651: am 5f1ea2e6: am fb967585: Merge "Change the routing path of bluetooth headset connections." into lmp-mr1-dev

* commit 'f4a76651b0fec69242822e57441b1a937fb6daf3':
Change the routing path of bluetooth headset connections.
210d9d94cf67d2dfc422978aa4e6341bea67a4e2 08-Dec-2014 Mike Lockwood <lockwood@google.com> Merge "MIDI Manager work in progress"
67f8e8bd8927f24147d7a1edd6ec3db1a54233b2 01-Dec-2014 Mike Lockwood <lockwood@google.com> MIDI Manager work in progress

Still to do:

Add MidiInputPort and MidiOutputPort classes
Schedule sending MIDI events in the future
Security/permissions
Reconsider interface for virtual devices
Look into performance optimizations

Change-Id: I9b7d63b196996a04be0a830efa913043da1328a8
/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
412766a7d6e7b208cd347f90a776d3aff2fd2e2f 04-Dec-2014 Cheuksan Wang <edwang@google.com> am 29ac679f: am dba26aa2: am 109ec376: Merge "new SMS/MMS carrier app API" into lmp-mr1-dev

* commit '29ac679f9f85a68eca03c262e740d62f8af66797':
new SMS/MMS carrier app API
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
e1c00320b674f2416029694f3486e79fb28afdd0 04-Dec-2014 Yohann Roussel <yroussel@google.com> Merge "Allow compilation with Jack."
109ec376da86de1275f73fa432d6344431a457e9 04-Dec-2014 Cheuksan Wang <edwang@google.com> Merge "new SMS/MMS carrier app API" into lmp-mr1-dev
ea28e5fd9de64535d8902e0c091e32b0175eb09e 03-Dec-2014 Trevor Johns <trevorjohns@google.com> am 8e78f0a7: am 9aa9e46b: am 5244ab68: am b769fc0c: am 512103d6: am 19275484: Merge "Docs: Add "admin" to samples categories" into lmp-docs

* commit '8e78f0a7122432c4cfabe86ccf46c724297e11b0':
Docs: Add "admin" to samples categories
3b8887d5409e9ca5978ecce209085b61a523b07a 03-Dec-2014 Winson Chung <winsonc@google.com> am fee5e3d3: am 50511096: am de9848c6: Merge "Initial changes to add callback on task stack changes. (Bug 17672056, Bug 18291345)" into lmp-mr1-dev

* commit 'fee5e3d32a26c3ac2136e37cad15fd9cc41066db':
Initial changes to add callback on task stack changes. (Bug 17672056, Bug 18291345)
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
7d754e0ccb362048d89708e613901940279b8f0a 26-Nov-2014 Jorim Jaggi <jjaggi@google.com> am f1e6d231: am c5c2e537: Merge "resolved conflicts for merge of 803a6dc0 to lmp-mr1-ub-dev" into lmp-mr1-ub-dev

* commit 'f1e6d2315eea6e9f289b8c1bafc04a4cbc6f05e1':
Make IKeyguardService interface asynchronous
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
5c11e41b1af60aaaf606b3a9f190edcaba1c5e41 24-Nov-2014 Wink Saville <wink@google.com> am b4c54109: am 4f1cce63: am 12c2136e: Merge "Additional changes to SubscriptionManager API as per API council." into lmp-mr1-dev

* commit 'b4c5410987a6657b71fb0b86e1ef8337628241dc':
Additional changes to SubscriptionManager API as per API council.
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
e95b9dd57fa9f3a4c7adac1b89b097012c50e850 21-Nov-2014 Jaewan Kim <jaewan@google.com> am b5ba786c: am 18ab5c21: Merge "Add an API to check availability of Ethernet interface." into lmp-mr1-dev automerge: 52dcc7f

* commit 'b5ba786ccb9265ed076cda088ddbfded3ecc7f85':
Add an API to check availability of Ethernet interface.
b638b35757021fc605d0891592b70fa42c1fb475 21-Nov-2014 Wink Saville <wink@google.com> am 49414b5b: am 816e19eb: Merge "Revert "Additional changes to SubscriptionManager API as per API council."" into lmp-mr1-dev automerge: 1caab41

* commit '49414b5b2129bf72a847c64a9f83e7b7db4511c0':
Revert "Additional changes to SubscriptionManager API as per API council."
771e952ebce561a8f4805611585001433b95e2a4 21-Nov-2014 Wink Saville <wink@google.com> am 07fb2457: am 4a57e908: Merge "Additional changes to SubscriptionManager API as per API council." into lmp-mr1-dev automerge: 68c21d6

* commit '07fb24576a5a425798a2aa004dd49682f414cbf7':
Additional changes to SubscriptionManager API as per API council.
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
d0c45355b96fb55dd1a79ee06d151ce98d959c23 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
affbaee9c155fa575b5ea1b1856715578226ff69 17-Nov-2014 Ying Wang <wangying@google.com> am c2045047: resolved conflicts for merge of 5c7bc931 to lmp-mr1-dev-plus-aosp

* commit 'c2045047735522f50bc1d2618280bd37306f18d2':
Move preloaded-classes out of framework.jar.
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
e3435feed48ecd1f37904f48ebb7e39dc9456d03 14-Nov-2014 Abhijith Shastry <ashastry@google.com> am 0f064207: am 530f25d6: am fb8db1c8: Merge "new sms/mms carrier app API" into lmp-mr1-dev

* commit '0f0642075e42f415d7f5244c5d94fe726756afa0':
new sms/mms carrier app API
fb8db1c84b7fd59f596a6c090a8035fab08ef2f5 13-Nov-2014 Abhijith Shastry <ashastry@google.com> Merge "new sms/mms carrier app API" into lmp-mr1-dev
248ef6f9c414db26fd1bc7ec3d4ee4f3b87d54cf 08-Sep-2014 Yohann Roussel <yroussel@google.com> Allow compilation with Jack.

Change-Id: I03ccd6cd92102f03d1316b6a1184c49029c91ea0
/frameworks/base/Android.mk
3c7702229969232a0b65c0ee83556118bab517c4 13-Nov-2014 Renato Mangini <mangini@google.com> am 7b3b8804: am 8d6699cc: am 19865ccd: am 5d7f91c7: am 40ac90e9: am 1b657d92: Fix the order of sample categories left nav.

* commit '7b3b8804e7da463dc14b142e5e4323350cdb9bc7':
Fix the order of sample categories left nav.
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
42ec09fb2fa13c011af070f0de6cdb38c77c018c 12-Nov-2014 Renato Mangini <mangini@google.com> am 68fde80a: am 2a3ce185: am ca011519: am a53b8bad: am 4b7b68d8: Add "notification" category for samples.
automerge: d76afdb

* commit 'd76afdb5e7978b5d57214bd83cacc754e23bfe60':
Add "notification" category for samples.
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.
eb05351001dcd03debd9c89300e8ff0111d6a733 12-Nov-2014 Wink Saville <wink@google.com> SubInfoRecord.aidl renamed to SubscriptionInfo.aidl

Change-Id: Ib56ce09ee8ee33fbfc454a83a2e1484056e17020
/frameworks/base/Android.mk
7bfd6bd37f314928231341e57c1600d470fd3d40 12-Nov-2014 Adrian Roos <roosa@google.com> am 6fafa8cd: am 36d059f9: am 138b8334: Obliterate LockPatternUtilsCache

* commit '6fafa8cdcecbb7daf1c96e15c513f8ff7260df80':
Obliterate LockPatternUtilsCache
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
f78c50e6dae1dd760ccf2dcba60673fa74a36c86 12-Nov-2014 Wink Saville <wink@google.com> am 93fc415e: Merge "Update SubscriptionManager API as per API council." into lmp-mr1-dev automerge: 43bbf30 automerge: e76308c

* commit '93fc415e6219f59a5b1f2d6fd5e1647551a27742':
Update SubscriptionManager API as per API council.
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
35ed2f4c39e6c8b1bac12529d8e67eb977364477 11-Nov-2014 Dianne Hackborn <hackbod@google.com> am 95ef0ac7: am 525da301: am 85d558cd: Add Activity API to get referrer information.

* commit '95ef0ac77738eac98e4952fe1e94db64c1560f5e':
Add Activity API to get referrer information.
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
3b3b5fa484c5f967766904807ad42827c26bd152 24-Oct-2014 Trevor Johns <trevorjohns@google.com> am 2cf2406d: am 86272c9c: am 4c24abe9: am 2988436b: am fb28bd15: Merge "Docs: Add TOC page for Wearable samples" into lmp-dev

* commit '2cf2406d9832bfb74b87b92eadd896c6e90bce46':
Docs: Add TOC page for Wearable samples
abcb138da8db27ff64da92bd29a9a12556db40db 23-Oct-2014 Trevor Johns <trevorjohns@google.com> Docs: Add TOC page for Wearable samples

Change-Id: I0fdf412f20fb2a45c34c9700ed1ca9446cfc6ff3
/frameworks/base/Android.mk
072d4f93f32666c213a366c051e4c75273227767 16-Oct-2014 Evan Charlton <evanc@google.com> am 7468bb98: am e3d3aa3f: am df88ad0b: am e8a700e9: am 843e2343: Add WindowManager.aidl to AIDL list

* commit '7468bb98d52013d63af665b29b1a8e859fb74f75':
Add WindowManager.aidl to AIDL list
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
5db046bda4f023220133e52cc3782a7e15af5633 14-Oct-2014 Evan Charlton <evanc@google.com> resolved conflicts for merge of 9963fc12 to master

Change-Id: I2339dcafc38693bf6c89d4e3643627270791442e
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
b90ca716831981d1080298a237711fce5f065c87 10-Oct-2014 smain@google.com <smain@google.com> am 5c90ccc3: am 520100d5: am fc696fb6: am 3ae2a715: am 9f928944: Merge "update droiddoc option to include api level 21 for javadoc tagging" into lmp-dev

* commit '5c90ccc34e3fc13ac9c0ffbc52581bf02c0bf32b':
update droiddoc option to include api level 21 for javadoc tagging
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
873560bc7e9a861424a470532682343f5e15417a 07-Oct-2014 Andres Morales <anmorales@google.com> am 81f06a6d: am 1603e30e: am 6ef845d3: am b4589115: am d6a2ab93: Merge "Remove dead NFC unlock code from fw/base" into lmp-dev

* commit '81f06a6dce17ea44fd6a3110a15aec490cea4b2b':
Remove dead NFC unlock code from fw/base
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
cc616bca0dc28774ba76c74fd92d86147c4f68af 13-Sep-2014 Tyler Gunn <tgunn@google.com> am b51263b9: am 21282583: am 66c16547: Merge "Renaming Telecomm to Telecom." into lmp-dev

* commit 'b51263b99fc2c8293e1f0fe844e65ce2afec2089':
Renaming Telecomm to Telecom.
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
5ae2f089712b0fbdc47f321e685275ef36438b9f 12-Sep-2014 Jinsuk Kim <jinsukkim@google.com> am db7eb5b3: am 6d4c60e8: am b3ac0ef8: Merge "Replace the MHL register name \'scratchpad\' with \'vendor\'" into lmp-dev

* commit 'db7eb5b3c87c56128b421f5928242246f3261b39':
Replace the MHL register name 'scratchpad' with 'vendor'
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
040bb0b0ed76cbd88967d3014f7c6ecc56f0654c 06-Sep-2014 Griff Hazen <griff@google.com> am e9a3faa5: am 26c00d5a: am fd7d35d0: Merge "Reduce chance of notification listener dropped messages." into lmp-dev

* commit 'e9a3faa5d20d0adeed4a5bec8f3aeb131324b3f4':
Reduce chance of notification listener dropped messages.
69dd40d08a164d5c357442733cf291719dfe94e8 05-Sep-2014 Griff Hazen <griff@google.com> Merge "Reduce chance of notification listener dropped messages." into lmp-dev
b59eacf5feee682483f681d26ebde0fc4811fa0f 05-Sep-2014 RoboErik <epastern@google.com> resolved conflicts for merge of a41f48f8 to master

Change-Id: Ida37d1eacf32a391cd1963e31f8fd76d97e9869a
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
2993c30a333e46a830996b533317d95431140540 02-Sep-2014 Michael Wright <michaelwr@google.com> am ac0f5a46: am 6e0bd93a: am b1ff74c9: Merge "VirtualDisplay.Callbacks -> Callback" into lmp-dev

* commit 'ac0f5a4616dab78a4216d826219379a663cc1139':
VirtualDisplay.Callbacks -> Callback
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
d133303a5c3eaddcc5dd5b01f03916d754efaa8a 29-Aug-2014 RoboErik <epastern@google.com> am ab716047: am 86e941e6: am a70def9e: Merge "Update to MediaBrowser APIs per council feedback" into lmp-dev

* commit 'ab71604780c4cccf238e1c78b7b05310c4a49583':
Update to MediaBrowser APIs per council feedback
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
fcf4331341ce8dff5a8689ed1595f954e3a7957a 22-Aug-2014 Jungshik Jang <jayjang@google.com> am be414987: am ebe59a04: am 952e276a: Merge "Implement interfaces for MHL scratchpad command" into lmp-dev

* commit 'be4149872edca53245b0236b666e76564ea5c3d7':
Implement interfaces for MHL scratchpad command
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
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
b135d06cb83db03b1328b7a82f064de7868fb16f 20-Aug-2014 Jeff Brown <jeffbrown@google.com> Remove incomplete media router API. (DO NOT MERGE)

Change-Id: I310fadafb5a6b8190a32e5d87f3e1823c87bcef7
/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
6dceb76b3e02cd2e0f08105f54d942e6ad8c4456 31-Jul-2009 Scott Main <smain@google.com> add "since" info for reference docs
/frameworks/base/Android.mk
3f41673265dcaaef058703311c5481e8a51fd8be 02-Jul-2009 Jiafa Liu <pbx376@motorola.com> frameworks/base: Add PBAP support

- Update according to comments
- Add aidl support in frameworks for Settings to retrieve current
PBAP transaction status.
- Add status bar support for PBAP
/frameworks/base/Android.mk
d5ec6ebee26e530d96299d9821950f7cce4b3636 27-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 11b6a29d: Merge change 8564 into donut

Merge commit '11b6a29dfe380c97fa3df67a6b97ff3383592b58'

* commit '11b6a29dfe380c97fa3df67a6b97ff3383592b58':
AI 150594: change the homepage markup and styles to allow variable height in
AI 150587: add a sitemap for translated docs, for submission to Webmaster Tools,
AI 150541: roll the docs forward to 1.5 r3
AI 150538: add note that appwidget updates will wake the device and suggest an alarm
AI 150536: Change the formatting of sdk redirect pages so that they are not language-specific.
AI 150535: add the Videos page to the site
96616bb59f2673ee55053b261faf828c52be638c 27-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am eec841f0: Merge change 8560 into donut

Merge commit 'eec841f0505c3aeb5b18e53f48b755ff69b78c15'

* commit 'eec841f0505c3aeb5b18e53f48b755ff69b78c15':
AI 150460: Add missing art files for menu_guidelines doc.
AI 150397: turn off the right arrow in the carousel -- we only have 3 items.
AI 150390: Roll the docs back to 1.5 r2, temporarily.
AI 150381: Add localized content (ja2) to developer site.
AI 150380: Add localized content (ja) for developer site.
AI 150369: Add localized TOCs for developer site.
AI 150351: Doc updates for Android 1.5 SDK r3.
76e95bbea6071eda65a62fc23b6a1a653c484d24 25-Jul-2009 Dirk Dougherty <ddougherty@google.com> Merge doc change from cupcake: commit 'a8d035ccf319e1aed685a1e1509681350f737fd1' into manualmerge
2bfd344b676c938884990eb1fb0a15a5eddf5987 24-Jul-2009 Dirk Dougherty <ddougherty@google.com> Merge doc changes from cupcake: commit '5ae517d9659e96e9525406ffbce18dcacc3294bc' into manualmerge
ccfca2ee9ebe6d3de861f6f001bd4810c863cab1 20-Jul-2009 Joe Onorato <joeo@android.com> Add a separate version of the docs build that only does the stubs.

That way we don't have to wait for clearsilver to write the thousands
of html files during every build.

(this is the frameworks/base change, there is also a build change)
/frameworks/base/Android.mk
4b508759dcf02b5b11e3d28ae63864fafd410644 16-Jul-2009 Dirk Dougherty <nobody@android.com> AI 150541: roll the docs forward to 1.5 r3
BUG=1790234

Automated import of CL 150541
/frameworks/base/Android.mk
dace230043314d6fab1c5ced4b031eaccd814c25 14-Jul-2009 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of b06ea706 to master
b06ea706530e6d19eb2a1a9a7ae6c5dd77d80af0 13-Jul-2009 Dianne Hackborn <hackbod@google.com> Add reporting of activity movement for search manager.

This adds a new API with the activity manager to find out about movement between
activities. For my sanity, the old IActivityWatcher is now renamed to
IActivityController, and the new activity movement interface is named
IActivityWatcher.

This changes the search manager itself to use the new API to manage its state.
Note that there are still problems when going back to the search dialog after
it was hidden -- the suggestions window no longer appears until you explicitly
dismiss and re-show it.
/frameworks/base/Android.mk
ab41ea3d24511ad9debdc1ba9b596c11bff8489d 08-Jul-2009 Dirk Dougherty <nobody@android.com> AI 150390: Roll the docs back to 1.5 r2, temporarily.
BUG=1790234

Automated import of CL 150390
/frameworks/base/Android.mk
13d30dc375de954ea70bbab2c89ce7e1e58fcf8c 08-Jul-2009 Dirk Dougherty <nobody@android.com> AI 150369: Add localized TOCs for developer site.
BUG=1910893

Automated import of CL 150369
/frameworks/base/Android.mk
151dfac555c95d892fa30eb6804da21b491dac28 07-Jul-2009 Dirk Dougherty <nobody@android.com> AI 150351: Doc updates for Android 1.5 SDK r3.
BUG=1790234

Automated import of CL 150351
/frameworks/base/Android.mk
0d8dc1425681d99c5e757354956f41e2e9a1374e 26-Jun-2009 Christopher Tate <ctate@google.com> am 7d562ec3: Add a new IRestoreObserver callback class to the restore process

Merge commit '7d562ec393d54dd9ef387c49d1283243bfdbd2b1'

* commit '7d562ec393d54dd9ef387c49d1283243bfdbd2b1':
Add a new IRestoreObserver callback class to the restore process
7d562ec393d54dd9ef387c49d1283243bfdbd2b1 26-Jun-2009 Christopher Tate <ctate@google.com> Add a new IRestoreObserver callback class to the restore process

The observer is told when restore begins how many packages are being restored.
It then gets an onUpdate() call telling it that the Nth package is now
undergoing restore. Ultimately, its restoreFinished() callback is invoked,
passing a simple success/fail error code, to let it know that the restore
operation has concluded.
/frameworks/base/Android.mk
e1fae30e20b1515eeb036a7c103e1e70de130bdd 18-Jun-2009 Suchi Amalapurapu <asuchitra@google.com> Merge commit '0781df94' into manualmerge

Conflicts:
Android.mk
api/current.xml
1ccac75e1f1b97eccb916a8de04fc1012b30f6e5 12-Jun-2009 Suchi Amalapurapu <asuchitra@google.com> Remove circular dependency in PackageManager. api freeStorage uses PendingIntent from android.app
Create a new public IntentSender class that can be used by PackageManager instead.
This new class uses IIntentSender internally and can only be created by PendingIntent for now.
Provide a new getIntentSender api in PendingIntent to create an instance of this class.
Move IIntentSender and IIntentReceiver from android.app to android.content
Change imports of IIntentSender and IIntentReceiver to reflect the new package name
The PackageManager api has been named as freeStorageWithIntent and will be renamed as freeStorage
once the older api(which has been deprecated) will be removed shortly.
/frameworks/base/Android.mk
a28547d03f09b8b78ce28404ecf7013130adca80 15-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 0fb46683: Merge change 3880 into donut

Merge commit '0fb466836bb654524683152371ecc32142cdf5de'

* commit '0fb466836bb654524683152371ecc32142cdf5de':
Run search dialog in the system process.
8d17f3f24bbda9a9cd7ea08c5925508dc2c011be 05-Jun-2009 Bjorn Bringert <bringert@android.com> Run search dialog in the system process.

Fixes http://b/issue?id=1905863

This is needed to address two security issues with global search:
http://b/issue?id=1871088 (Apps can read content providers through GlobalSearch)
http://b/issue?id=1819627 (Apps can use GlobalSearch to launch arbirtrary intents)

This also fixes http://b/issue?id=1693153 (SearchManager.OnDismissListener
never gets called)

To fix the security issues, GlobalSearch also needs to require
a non-app permission to access its content provider and launch intents.
/frameworks/base/Android.mk
e69ec574e6e15114e346b45157cb90d1dfe8ae42 11-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 732912a1: Merge change 3730 into donut

Merge commit '732912a103e985520dba9c022a40bc21b4c4ced5'

* commit '732912a103e985520dba9c022a40bc21b4c4ced5':
Restructuring the TTS files so that it works as a Service
f85aa5a4d4e6f1ef7e07638568e27d709b8085c6 10-Jun-2009 Charles Chen <clchen@google.com> Restructuring the TTS files so that it works as a Service
/frameworks/base/Android.mk
d5ac1ae36b4e096eb97984334f86d0c68abea2f7 06-May-2009 Jaikumar Ganesh <jaikumar@google.com> Framework changes for bluez4.

Changes in the Bluetooth JNI calls and framework functions
for Bluez4.
/frameworks/base/Android.mk
dc3c0627d57939e114baf9232c07cb41340fbdca 09-Jun-2009 Raphael <raphael@google.com> am d8b51a2b: Fix broken makefile. Again. His twin brother was hiding.

Merge commit 'd8b51a2ba8ee82be81414c0e80158e82b2c361d9'

* commit 'd8b51a2ba8ee82be81414c0e80158e82b2c361d9':
Fix broken makefile. Again. His twin brother was hiding.
d8b51a2ba8ee82be81414c0e80158e82b2c361d9 09-Jun-2009 Raphael <raphael@google.com> Fix broken makefile. Again. His twin brother was hiding.
/frameworks/base/Android.mk
7989971197f2c08c9398fef3e229426cdeb21545 09-Jun-2009 Raphael <raphael@google.com> am 9207b1e7: Fix the broken makefile.

Merge commit '9207b1e7c8ad4bbef3530d2b047bf6587f2988c4'

* commit '9207b1e7c8ad4bbef3530d2b047bf6587f2988c4':
Fix the broken makefile.
9207b1e7c8ad4bbef3530d2b047bf6587f2988c4 09-Jun-2009 Raphael <raphael@google.com> Fix the broken makefile.
/frameworks/base/Android.mk
d0e9ae0a3eb4e202b275bd19e4b1545aa417738a 09-Jun-2009 Hung-ying Tyan <tyanh@google.com> am 55567efc: First-time check-in of the VPN APIs.

Merge commit '55567efca99de7242b118cf7bf13cc773b01941c'

* commit '55567efca99de7242b118cf7bf13cc773b01941c':
First-time check-in of the VPN APIs.
55567efca99de7242b118cf7bf13cc773b01941c 03-Jun-2009 Hung-ying Tyan <tyanh@google.com> First-time check-in of the VPN APIs.

Patch Set 2:
- Fixed style issues raised by cywang.
Patch Set 3:
- Hide everything
- Make VpnProfile parcelable
Patch Set 4:
- Add license notice
/frameworks/base/Android.mk
bd235f10a9873c1f94cd44519c1e0cd118c5a8ab 08-Jun-2009 Christopher Tate <ctate@google.com> am 8c850b79: Add IRestoreSession interface for the restore flow

Merge commit '8c850b792f2d371fd8a4aff146d9d757ee982539'

* commit '8c850b792f2d371fd8a4aff146d9d757ee982539':
Add IRestoreSession interface for the restore flow
8c850b792f2d371fd8a4aff146d9d757ee982539 08-Jun-2009 Christopher Tate <ctate@google.com> Add IRestoreSession interface for the restore flow

Restore is a fairly complicated, somewhat stateful process, so we introduce
a new interface to encapsulate the various bits and pieces into a nicely
separable component. In particular, this will make it much cleaner to
open and interrogate an expensive-to-construct transport and then reuse it
for the actual restore process itself.
/frameworks/base/Android.mk
ad6042aa2342d0a869f84772774b47ae87346ccf 01-Jun-2009 Christopher Tate <ctate@google.com> am 181fafaf: Retool the backup process to use a new \'BackupAgent\' class

Merge commit '181fafaf48208978b8ba2022683ffa78aaeddde1'

* commit '181fafaf48208978b8ba2022683ffa78aaeddde1':
Retool the backup process to use a new 'BackupAgent' class
181fafaf48208978b8ba2022683ffa78aaeddde1 14-May-2009 Christopher Tate <ctate@google.com> Retool the backup process to use a new 'BackupAgent' class

Backups will be handled by launching the application in a special
mode under which no activities or services will be started, only
the BackupAgent subclass named in the app's android:backupAgent
manifest property. This takes the place of the BackupService class
used earlier during development.

In the cases of *full* backup or restore, an application that does
not supply its own BackupAgent will be launched in a restricted
manner; in particular, it will be using the default Application
class rather than any manifest-declared one. This ensures that the
app is not running any code that may try to manipulate its data
while the backup system reads/writes its data set.
/frameworks/base/Android.mk
22075a3b7430958ea81cb75eb305ccd254c0e38f 23-May-2009 Dirk Dougherty <nobody@android.com> am 5b6a5cee: am 3f9de8b6: AI 149211: Doc updates for Android 1.5 SDK, r2. BUG=1790234

Merge commit '5b6a5cee4c48fd2ffc35f07ebe9f24eb53086b9a'

* commit '5b6a5cee4c48fd2ffc35f07ebe9f24eb53086b9a':
AI 149211: Doc updates for Android 1.5 SDK, r2.
5b6a5cee4c48fd2ffc35f07ebe9f24eb53086b9a 23-May-2009 Dirk Dougherty <nobody@android.com> am 3f9de8b6: AI 149211: Doc updates for Android 1.5 SDK, r2. BUG=1790234

Merge commit '3f9de8b6caa3fe9119b363c64e79d13bb72aec76' into donut

* commit '3f9de8b6caa3fe9119b363c64e79d13bb72aec76':
AI 149211: Doc updates for Android 1.5 SDK, r2.
3f9de8b6caa3fe9119b363c64e79d13bb72aec76 23-May-2009 Dirk Dougherty <nobody@android.com> AI 149211: Doc updates for Android 1.5 SDK, r2.
BUG=1790234

Automated import of CL 149211
/frameworks/base/Android.mk
2ee6c4c3ab98e198260e5c7dbd2922c0ef370a06 23-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 17af14d8: Merge change 2289 into donut

Merge commit '17af14d8133f99b5e886d830e92e38ba1da7cc2d'

* commit '17af14d8133f99b5e886d830e92e38ba1da7cc2d':
Add AIDL files for the TTS service and the associated callback service (to signal synthesis completion).
2c0c2af2ea518cd754318cdbe0ee93997a26c4cc 22-May-2009 Jean-Michel Trivi <jmtrivi@google.com> Add AIDL files for the TTS service and the associated callback service (to signal synthesis completion).
/frameworks/base/Android.mk
9b1e1400df4c6c4b69985f164097f0c842dd796f 21-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 8c690ea9: Merge change 2182 into donut

Merge commit '8c690ea9976d644db3c96eddbbbd2d50eac56913'

* commit '8c690ea9976d644db3c96eddbbbd2d50eac56913':
location: Replace ILocationCollector interface with new ILocationProvider method
fd6e5f0dda50e113db4ccc55338b6c4f09da37a4 21-May-2009 Mike Lockwood <lockwood@android.com> location: Replace ILocationCollector interface with new ILocationProvider method

This change replaces ILocationCollector with a more general mechanism that
passes locations received from a provider to all other providers.
The network location provider now uses this to implement the location collector.
In the future, this could be used to inject network locations to the GPS
as aiding data.

This change also removes the now obsolete permission INSTALL_LOCATION_COLLECTOR.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/Android.mk
76879bc2343779d4d2a870b7bd46b0544c0cc46c 15-May-2009 svetoslavganov <svetoslavganov@google.com> resolved conflicts w/ 75986cf9bc57ef11ad70f36fb77fbbf5d63af6ec merge....
75986cf9bc57ef11ad70f36fb77fbbf5d63af6ec 15-May-2009 svetoslavganov <svetoslavganov@google.com> Accessibility feature - framework changes (replacing 698, 699, 700, 701 and merging with the latest Donut)
/frameworks/base/Android.mk
7a1355950172b7a549820e9a2cd4a9b2099ec32f 06-May-2009 Dianne Hackborn <hackbod@google.com> merged 231cc608d06ffc31c24bf8aa8c8275bdd2636581
231cc608d06ffc31c24bf8aa8c8275bdd2636581 28-Apr-2009 Dianne Hackborn <hackbod@google.com> Rewrite SyncStorageEngine to use flat files and in-memory data structures.

The previous implementation used a database for storing all of its state, which could cause
a significant amount of IO activity as its tables were updated through the stages of a sync.
This new implementation replaces that in-memory data structures, with hand-written code
for writing them to persistent storage.

There are now 4 files associated with this class, holding various pieces of its state that
should be consistent. These are everything from a main XML file of account information that
must always be retained, to a binary file of per-day statistics that can be thrown away at
any time. Writes of these files as scheduled at various times based on their importance of
the frequency at which they change.

Because the database no longer exists, there needs to be a new explicit interface for
interacting with the sync manager database. This is provided by new APIs on IContentService,
with a hidden method on ContentResolver to retrieve the IContentService so that various
system entities can use it. Other changes in other projects are required to update to the
new API.

The goal here is to have as little an impact on the code and functionality outside of
SyncStorageEngine, though due to the necessary change in API it is still somewhat extensive.
/frameworks/base/Android.mk
0477090ca3cc1f4e4d522f15760f0e69058aafa8 02-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 7db4860: Merge change 845 into donut

Merge commit '7db486058cf4fce4be04e13d1ec6b7cf404d3e38'

* commit '7db486058cf4fce4be04e13d1ec6b7cf404d3e38':
Config: Add ConfigBuildFlags, and change it based on TARGET_BUILD_TYPE
a833cbbed087bf6869905a43166757a6436ad34f 23-Apr-2009 Dave Bort <dbort@android.com> Config: Add ConfigBuildFlags, and change it based on TARGET_BUILD_TYPE

This will be used to revive android.util.Config.DEBUG.

Signed-off-by: Dave Bort <dbort@android.com>
/frameworks/base/Android.mk
ac7a3de471da65ae3111560a1404c12985c8741f 01-May-2009 Mike Lockwood <lockwood@android.com> am 15e3d0f: location: Use ILocationProvider Binder interface for all loc

Merge commit '15e3d0f082d551f8819fbe4b0d502cc108627876'

* commit '15e3d0f082d551f8819fbe4b0d502cc108627876':
location: Use ILocationProvider Binder interface for all location providers.
15e3d0f082d551f8819fbe4b0d502cc108627876 01-May-2009 Mike Lockwood <lockwood@android.com> location: Use ILocationProvider Binder interface for all location providers.

This change eliminates the LocationProviderImpl class which had been used
for location providers running in the system process.
Now the LocationProvider base class is only used to implement the
LocationManager.createProvider() method for retrieving provider information.
Added a new IGpsStatusProvider interface for providers that serve GPS status.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/Android.mk
f8997690da3790a1ff87f1f96a6e68fbb79b5ddc 30-Apr-2009 Christopher Tate <ctate@google.com> am 487529a: First baby steps towards settings backup

Merge commit '487529a70cd1479ae8d6bbfb356be7e72542c185'

* commit '487529a70cd1479ae8d6bbfb356be7e72542c185':
First baby steps towards settings backup
487529a70cd1479ae8d6bbfb356be7e72542c185 29-Apr-2009 Christopher Tate <ctate@google.com> First baby steps towards settings backup

This change adds a sketched outline of the backup system architecture, with
all of the major pieces represented other than client-side helpers for
specific types of data. IBackupManager and BackupService are public so that
we can write test apps against SDK-domain symbols from the outset.

What code exists in this change hasn't been tested and may crash. It's the
beginnings of the real implementation but of course is barely begun.
/frameworks/base/Android.mk
74008f608af0c567456d37e63d48643689388c74 23-Apr-2009 Jean-Baptiste Queru <jbq@google.com> Merge donut into master
abdc514bf3d3da3db34e42ce3209c9fef6da8eeb 21-Apr-2009 Dirk Dougherty <> Merge branch 'readonly-p4-donut' into donut
e90232b1daed8f0a5167bc0b4843a2be2386ef81 21-Apr-2009 Dirk Dougherty <> AI 147054: am: CL 147053 Add -hdf primer vars for the platform and release ID associated with the current (most recent) SDK.
Currently, the docs that are specific to each SDK release -- downloading, installing, upgrading, requirements -- are stored in a directory with release-derived name, such as "1.1_r1". This change lets documents use generic links to point into the most recent version specific docs, eg href="{@docRoot}sdk/{sdkCurrent}/installing.html" instead of href="{@docRoot}sdk/1.1_r1/installing.html".
Original author: ddougherty
Merged from: //branches/cupcake/...

Automated import of CL 147054
/frameworks/base/Android.mk
2e2c9104b78c4e817db992cb121742ae2e52ba26 21-Apr-2009 Dirk Dougherty <> AI 147058: am: CL 147054 am: CL 147053 Add -hdf primer vars for the platform and release ID associated with the current (most recent) SDK.
Currently, the docs that are specific to each SDK release -- downloading, installing, upgrading, requirements -- are stored in a directory with release-derived name, such as "1.1_r1". This change lets documents use generic links to point into the most recent version specific docs, eg href="{@docRoot}sdk/{sdkCurrent}/installing.html" instead of href="{@docRoot}sdk/1.1_r1/installing.html".
Original author: ddougherty
Merged from: //branches/cupcake/...
Original author: android-build

Automated import of CL 147058
/frameworks/base/Android.mk
b5a4c5a473f37700a654a3323afb9682e524c66c 21-Apr-2009 Dirk Dougherty <> AI 147053: Add -hdf primer vars for the platform and release ID associated with the current (most recent) SDK.
Currently, the docs that are specific to each SDK release -- downloading, installing, upgrading, requirements -- are stored in a directory with release-derived name, such as "1.1_r1". This change lets documents use generic links to point into the most recent version specific docs, eg href="{@docRoot}sdk/{sdkCurrent}/installing.html" instead of href="{@docRoot}sdk/1.1_r1/installing.html".
BUG=1790234

Automated import of CL 147053
/frameworks/base/Android.mk
f1bb004cda115fff322e7f5126797343236b5c0e 19-Apr-2009 Brandon Ballinger <> AI 146615: am: CL 146613 Move Recognition service declarations to frameworks/base/core/java/android/speech. Hide them from public API by default (no changes to current.xml).
Original author: brandonb

Automated import of CL 146615
/frameworks/base/Android.mk
3385e728d83e1dc246919a5c6b7859b4427c40f8 16-Apr-2009 Brandon Ballinger <> Merge branch 'readonly-p4-donut' into donut
181a44dd81eed5587252ef740663a42fe4d2a9a9 16-Apr-2009 Brandon Ballinger <> AI 146613: Move Recognition service declarations to frameworks/base/core/java/android/speech. Hide them from public API by default (no changes to current.xml).

Automated import of CL 146613
/frameworks/base/Android.mk
a55c321329ae52a2db7a4f2bd36673a20b8f271d 15-Apr-2009 Mike Lockwood <lockwood@android.com> location: Move geocoding support from ILocationProvider to a new interface.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/Android.mk
c1e8aa4c448807fc3ee9d21e8b67bb886fa065aa 06-Apr-2009 Mike Lockwood <> AI 144664: am: CL 144663 Use Binder interfaces between NetworkLocationManager and LocationManagerService.
This fixes a hack that was added when NetworkLocationManager was moved out of the framework.
This also lays the groundwork for supporting location providers outside of the system process.
BUG=1729031
Original author: lockwood

Automated import of CL 144664
/frameworks/base/Android.mk
e932f7f2a47b770c636443d411436bd29cc4bb43 06-Apr-2009 Mike Lockwood <> AI 144663: Use Binder interfaces between NetworkLocationManager and LocationManagerService.
This fixes a hack that was added when NetworkLocationManager was moved out of the framework.
This also lays the groundwork for supporting location providers outside of the system process.
BUG=1729031

Automated import of CL 144663
/frameworks/base/Android.mk
04e71b3db84fd5f7fc4eefb49a33154ea91ec9fc 02-Apr-2009 Wink Saville <> AI 144245: Fix merge conflict for megering in the CDMA changes in to master from donutburger.

Automated import of CL 144245
/frameworks/base/Android.mk
767a662ecde33c3979bf02b793d392aca0403162 02-Apr-2009 Wink Saville <> AI 144185: Integrate cdma into the main code base.

Automated import of CL 144185
/frameworks/base/Android.mk
e91bc680b731a5d97f066b2e6c9c99b3c7dd5c58 28-Mar-2009 John Wang <> AI 143331: am: CL 143181 am: CL 142924 Support DCM specific MMI network service.
IExtendedNetworkService has 4 MMI service interface used by PhoneUtils to put DCM related nw service.
void setMmiString(String number);
CharSequence getMmiRunningText();
CharSequence getUserMessage(CharSequence text);
void clearMmiString();
And the service is bind via "com.android.ussd.IExtendedNetworkService".
Original author: johnwang
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...

Automated import of CL 143331
/frameworks/base/Android.mk
38e260a62020af0e6ca45d5a9cc3f8e8c9a2842c 28-Mar-2009 John Wang <> AI 143181: am: CL 142924 Support DCM specific MMI network service.
IExtendedNetworkService has 4 MMI service interface used by PhoneUtils to put DCM related nw service.
void setMmiString(String number);
CharSequence getMmiRunningText();
CharSequence getUserMessage(CharSequence text);
void clearMmiString();
And the service is bind via "com.android.ussd.IExtendedNetworkService".
Original author: johnwang
Merged from: //branches/cupcake/...

Automated import of CL 143181
/frameworks/base/Android.mk
2fe6fe1f5f0cdd1ed622e657aa2cc0211a1702d5 26-Mar-2009 John Wang <> Automated import from //branches/cupcake/...@142924,142924
/frameworks/base/Android.mk
603073430bbcb1bd29db7afb9b14e2732ad589fb 25-Mar-2009 Fred Quintana <> Automated import from //branches/master/...@142414,142414
/frameworks/base/Android.mk
c39a6e0c51e182338deb8b63d07933b585134929 11-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137873
/frameworks/base/Android.mk
4df2423a947bcd3f024cc3d3a1a315a8dc428598 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
/frameworks/base/Android.mk
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/Android.mk
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/Android.mk
da996f390e17e16f2dfa60e972e7ebc4f868f37e 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
/frameworks/base/Android.mk
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/base/Android.mk
22f7dfd23490a3de2f21ff96949ba47003aac8f8 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127101
/frameworks/base/Android.mk
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/Android.mk
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/Android.mk