63032 Commits

Author SHA1 Message Date
Mike Lockwood
09bd918c5d Merge "MTP: Don't attempt to read more than 16K at a time from the MTP driver" 2011-12-02 08:10:03 -08:00
The Android Open Source Project
e3c7329084 Reconcile with ics-mr1-release
Change-Id: I1c603308272f9b00174c3f9046171e069ffee566
2011-12-02 07:53:10 -08:00
Ben Cheng
f0fef4f17b am f1a4c48b: am e21dabf6: Merge "Initialize bwr.read_buffer in IPCThreadState::talkWithDriver." into ics-mr1
* commit 'f1a4c48b886d53e2afceb0620215e3792af79fd5':
  Initialize bwr.read_buffer in IPCThreadState::talkWithDriver.
2011-12-01 22:08:20 -08:00
Ben Cheng
f1a4c48b88 am e21dabf6: Merge "Initialize bwr.read_buffer in IPCThreadState::talkWithDriver." into ics-mr1
* commit 'e21dabf654e3d90e50e95174d5e9670bc930c194':
  Initialize bwr.read_buffer in IPCThreadState::talkWithDriver.
2011-12-01 22:06:32 -08:00
Ben Cheng
e21dabf654 Merge "Initialize bwr.read_buffer in IPCThreadState::talkWithDriver." into ics-mr1 2011-12-01 22:05:07 -08:00
Jeff Brown
0422ebfd97 Merge "Refactor InputQueue as InputEventReceiver." 2011-12-01 21:09:49 -08:00
Jeff Brown
32cbc3855c Refactor InputQueue as InputEventReceiver.
This change simplifies the code associated with receiving input
events from input channels and makes it more robust.  It also
does a better job of ensuring that input events are properly
recycled (sometimes we dropped them on the floor).

This change also adds a sequence number to all events, which is
handy for determining whether we are looking at the same event or a
new one, particularly when events are recycled.

Change-Id: I4ebd88f73b5f77f3e150778cd550e7f91956aac2
2011-12-01 21:04:47 -08:00
Eric Laurent
ee07e110d9 am 6cfa9e6c: am 0d3a2e93: Merge "AudioService: strengthen A2DP device detection" into ics-mr1
* commit '6cfa9e6c507a721f647518569c89db9560056079':
  AudioService: strengthen A2DP device detection
2011-12-01 20:38:15 -08:00
Eric Laurent
6cfa9e6c50 am 0d3a2e93: Merge "AudioService: strengthen A2DP device detection" into ics-mr1
* commit '0d3a2e93394efa4729e5c29ff4515f9f2644b8c3':
  AudioService: strengthen A2DP device detection
2011-12-01 20:35:26 -08:00
Eric Laurent
0d3a2e9339 Merge "AudioService: strengthen A2DP device detection" into ics-mr1 2011-12-01 20:34:08 -08:00
Jeff Brown
db918cf171 Merge "Ensure input events are processed in-order in the application." 2011-12-01 20:11:15 -08:00
Jeff Brown
76d79011a0 Merge "Improve latency instrumentation." 2011-12-01 20:11:09 -08:00
Romain Guy
e27a07d400 Merge "Faster text clipping" 2011-12-01 20:09:57 -08:00
Romain Guy
cac5fd3e09 Faster text clipping
Change-Id: I03a00c4261d81a416b1ad7b86ce2d432c71908b4
2011-12-01 20:08:50 -08:00
Dianne Hackborn
a2a56f82a8 am 48e07296: am bfb3dec2: Merge "More social integration." into ics-mr1
* commit '48e07296800c49f8bc9b34cc57372593021f79a1':
  More social integration.
2011-12-01 18:52:27 -08:00
Dianne Hackborn
48e0729680 am bfb3dec2: Merge "More social integration." into ics-mr1
* commit 'bfb3dec22dd397b57c8bbc1d6d18ed98cd413b10':
  More social integration.
2011-12-01 18:50:36 -08:00
Dianne Hackborn
bfb3dec22d Merge "More social integration." into ics-mr1 2011-12-01 18:48:32 -08:00
Dianne Hackborn
a3d487cb13 More social integration.
Change-Id: I9be09e08bda5db6c05f5beabc380708a11ead43b
2011-12-01 18:42:24 -08:00
Stephen Hines
4d86d334e7 am 88c02e8c: am 976ae272: Add support for handling a bitcode wrapper to librs.
* commit '88c02e8c5d30c053a4faa897e322540f61914718':
  Add support for handling a bitcode wrapper to librs.
2011-12-01 18:25:20 -08:00
Stephen Hines
88c02e8c5d am 976ae272: Add support for handling a bitcode wrapper to librs.
* commit '976ae27270a64c5abeb380d6e61d6d71f29b9433':
  Add support for handling a bitcode wrapper to librs.
2011-12-01 18:10:29 -08:00
Ben Cheng
0450570879 Initialize bwr.read_buffer in IPCThreadState::talkWithDriver.
I/valgrind( 1309): ==1310== Syscall param
ioctl(BINDER_WRITE_READ).read_buffer points to uninitialised byte(s)
I/valgrind( 1309): ==1310==    at 0x480E670: __ioctl (__ioctl.S:10)
I/valgrind( 1309): ==1310==  Address 0xbda651b4 is on thread 1's stack

Change-Id: I02893df7b5786b6b2dbd9659f5706d7171295ab2
2011-12-01 17:11:32 -08:00
The Android Automerger
b823f1be49 merge in ics-mr1-release history after reset to ics-mr1 2011-12-01 16:45:56 -08:00
Stephen Hines
976ae27270 Add support for handling a bitcode wrapper to librs.
BUG=5425905

Change-Id: I75676060703df6d9043b287fea900c4379455ee2
2011-12-01 16:37:00 -08:00
Gilles Debunne
0715f12605 am b4812f8a: am 335c4e6c: Broken build. New methods made private.
* commit 'b4812f8a815a4c4a9896e73412f4011d7a30f03f':
  Broken build. New methods made private.
2011-12-01 16:10:03 -08:00
Gilles Debunne
b4812f8a81 am 335c4e6c: Broken build. New methods made private.
* commit '335c4e6cb2094c7cbd6039e0c7915702b69e7657':
  Broken build. New methods made private.
2011-12-01 16:06:51 -08:00
Mike Lockwood
1958dc27c9 MTP: Don't attempt to read more than 16K at a time from the MTP driver
This could happen sometimes if other operations increased the size of the
data packet buffer to > 16K

Change-Id: I4d316c7e2e558d3dd861d39accae6514fd9a62f5
Signed-off-by: Mike Lockwood <lockwood@google.com>
2011-12-01 18:37:29 -05:00
Gilles Debunne
335c4e6cb2 Broken build. New methods made private.
Change-Id: Ia123ab4ddb1fe93bcd053c3ea5bf6b87c7204640
2011-12-01 15:36:08 -08:00
Gilles Debunne
03cb8bc450 am 120cb5af: am 58d89539: Merge "Scroll performance improved in multiline TextEdit" into ics-mr1
* commit '120cb5afd345a97c5e43683232c857ce2e5c8f29':
  Scroll performance improved in multiline TextEdit
2011-12-01 15:09:00 -08:00
Gilles Debunne
44bba9a8bb am ee8862dc: am eb189d39: Merge "Performance improvement in TextView" into ics-mr1
* commit 'ee8862dc7b7266ee99633e0f13b2393a2185c30d':
  Performance improvement in TextView
2011-12-01 15:08:58 -08:00
Gilles Debunne
120cb5afd3 am 58d89539: Merge "Scroll performance improved in multiline TextEdit" into ics-mr1
* commit '58d8953958ce452c5080eaa582d7e5d2b5017398':
  Scroll performance improved in multiline TextEdit
2011-12-01 15:07:10 -08:00
Gilles Debunne
ee8862dc7b am eb189d39: Merge "Performance improvement in TextView" into ics-mr1
* commit 'eb189d399a459c2e1ad29e1beba70d1de9f447b3':
  Performance improvement in TextView
2011-12-01 15:07:08 -08:00
Gilles Debunne
2101c57552 am a8205d24: am 09cbff02: Merge "Better handles\' visibility test" into ics-mr1
* commit 'a8205d24703fc353076cf30795b3a06a87208cfa':
  Better handles' visibility test
2011-12-01 15:06:49 -08:00
Gilles Debunne
a8205d2470 am 09cbff02: Merge "Better handles\' visibility test" into ics-mr1
* commit '09cbff0294a27d33c93de50e0b4471ad86154a84':
  Better handles' visibility test
2011-12-01 15:04:46 -08:00
Gilles Debunne
58d8953958 Merge "Scroll performance improved in multiline TextEdit" into ics-mr1 2011-12-01 15:04:35 -08:00
Gilles Debunne
eb189d399a Merge "Performance improvement in TextView" into ics-mr1 2011-12-01 15:03:55 -08:00
Gilles Debunne
09cbff0294 Merge "Better handles' visibility test" into ics-mr1 2011-12-01 15:03:27 -08:00
Winson Chung
01c35c54d0 am ecdc38be: am cea32ecd: Merge "Adding a sound when you take a screenshot. (Bug 5617734)" into ics-mr1
* commit 'ecdc38be1ef6ee5375ff6abe92f2e1e84a78ea57':
  Adding a sound when you take a screenshot. (Bug 5617734)
2011-12-01 14:59:45 -08:00
Winson Chung
ecdc38be1e am cea32ecd: Merge "Adding a sound when you take a screenshot. (Bug 5617734)" into ics-mr1
* commit 'cea32ecd3aef013bc5da6e401eeb8e9e8cd1b595':
  Adding a sound when you take a screenshot. (Bug 5617734)
2011-12-01 14:57:50 -08:00
Winson Chung
cea32ecd3a Merge "Adding a sound when you take a screenshot. (Bug 5617734)" into ics-mr1 2011-12-01 14:55:41 -08:00
Winson Chung
8d513eaef7 Adding a sound when you take a screenshot. (Bug 5617734)
Change-Id: I7f253adddd09da65481081a4ca22f043d3325d65
2011-12-01 14:39:44 -08:00
Kenny Root
cfe82181cb am 7f36d421: am 5a7c9176: Merge "Fix free_cache to actually work" into ics-mr1
* commit '7f36d4217269e79f8409c46f12f10464a1f585ea':
  Fix free_cache to actually work
2011-12-01 14:18:58 -08:00
Kenny Root
7f36d42172 am 5a7c9176: Merge "Fix free_cache to actually work" into ics-mr1
* commit '5a7c91769f011bc150c9def9edab9cccb4761c66':
  Fix free_cache to actually work
2011-12-01 14:16:18 -08:00
Kenny Root
5a7c91769f Merge "Fix free_cache to actually work" into ics-mr1 2011-12-01 14:14:22 -08:00
Jeff Brown
4952dfd16a Ensure input events are processed in-order in the application.
As it turns out, it used to be possible for there to be multiple
input events simultaneously in flight in an application.  Although
it worked, it made it hard to reason about what was going on.
The problem was somewhat exacerbated by the introduction of a
queue of "InputEventMessage" objects as part of an earlier latency
optimization.

This change restores order from chaos and greatly simplifies the
invariants related to input event dispatch within the application.

Change-Id: I6de5fe61c1fe2ac3dd33edf770d949044df8a019
2011-12-01 14:13:48 -08:00
Jeff Brown
95db2b20d7 Improve latency instrumentation.
Change-Id: I4edfa0a5659d207f7e46722e48ffa1dc43d2aa13
2011-12-01 14:13:48 -08:00
Glenn Kasten
d01d261183 Merge "Add README for media "automated" tests" 2011-12-01 13:55:41 -08:00
Roman Nurik
8077b4feba am aeda641e: am a7d825dd: am c3998ced: Merge "Update widget design guidelines for padding and 8dp." into ics-mr0
* commit 'aeda641e331e86f86b19493f9e5c1be38a45f5db':
  Update widget design guidelines for padding and 8dp.
2011-12-01 13:47:29 -08:00
Roman Nurik
aeda641e33 am a7d825dd: am c3998ced: Merge "Update widget design guidelines for padding and 8dp." into ics-mr0
* commit 'a7d825dddcb2e8bfd765bad2fb406498f4f1e37e':
  Update widget design guidelines for padding and 8dp.
2011-12-01 13:44:41 -08:00
Roman Nurik
a7d825dddc am c3998ced: Merge "Update widget design guidelines for padding and 8dp." into ics-mr0
* commit 'c3998ced746ee97bc5f10a9de1b2848f85c8711e':
  Update widget design guidelines for padding and 8dp.
2011-12-01 13:42:23 -08:00
Roman Nurik
c3998ced74 Merge "Update widget design guidelines for padding and 8dp." into ics-mr0 2011-12-01 13:40:38 -08:00