OSDN Git Service

android-x86/frameworks-native.git
12 years agoam 2e0f6715: Merge "Further optimize media scanner."
Marco Nelissen [Mon, 13 Feb 2012 23:50:25 +0000 (15:50 -0800)]
am 2e0f6715: Merge "Further optimize media scanner."

* commit '2e0f67159afa03133772d89f2d346b69a352a6eb':
  Further optimize media scanner.

12 years agoMerge "Further optimize media scanner."
Marco Nelissen [Mon, 13 Feb 2012 23:47:58 +0000 (15:47 -0800)]
Merge "Further optimize media scanner."

12 years agoam 75400e77: Merge "Fix the 3-parameter formatNumber to correctly handle IDDs."
Makoto Onuki [Mon, 13 Feb 2012 23:22:02 +0000 (15:22 -0800)]
am 75400e77: Merge "Fix the 3-parameter formatNumber to correctly handle IDDs."

* commit '75400e775e7f291720aa43fbe6bf2b4ab41265b1':
  Fix the 3-parameter formatNumber to correctly handle IDDs.

12 years agoMerge "Fix the 3-parameter formatNumber to correctly handle IDDs."
Makoto Onuki [Mon, 13 Feb 2012 23:20:40 +0000 (15:20 -0800)]
Merge "Fix the 3-parameter formatNumber to correctly handle IDDs."

12 years agoam dc38fd4c: Merge "Don\'t serialize motion events."
Jeff Brown [Mon, 13 Feb 2012 23:06:47 +0000 (15:06 -0800)]
am dc38fd4c: Merge "Don\'t serialize motion events."

* commit 'dc38fd4c736b2beebfe5a77c79d2088ad3816a4d':
  Don't serialize motion events.

12 years agoMerge "Don't serialize motion events."
Jeff Brown [Mon, 13 Feb 2012 23:04:33 +0000 (15:04 -0800)]
Merge "Don't serialize motion events."

12 years agoam f53b451c: Merge "Update BiDiTest app for GridLayout RTL tests"
Fabrice Di Meglio [Mon, 13 Feb 2012 23:01:22 +0000 (15:01 -0800)]
am f53b451c: Merge "Update BiDiTest app for GridLayout RTL tests"

* commit 'f53b451c4c60ddccb99624d5fd40733715e7a7fa':
  Update BiDiTest app for GridLayout RTL tests

12 years agoMerge "Update BiDiTest app for GridLayout RTL tests"
Fabrice Di Meglio [Mon, 13 Feb 2012 22:58:53 +0000 (14:58 -0800)]
Merge "Update BiDiTest app for GridLayout RTL tests"

12 years agoam 42a3e79d: am 8885596a: am 3ded587c: am 08eb7dd6: Merge "extending timeout to stabi...
Tsu Chiang Chuang [Mon, 13 Feb 2012 22:45:23 +0000 (14:45 -0800)]
am 42a3e79d: am 8885596a: am 3ded587c: am 08eb7dd6: Merge "extending timeout to stabilize tests" into ics-mr1

* commit '42a3e79d5ab5fb9d52b2bd3ea7d016d4b76e23e1':

12 years agoam d2a4c2fa: am 84affb8a: Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize...
Dianne Hackborn [Mon, 13 Feb 2012 22:45:21 +0000 (14:45 -0800)]
am d2a4c2fa: am 84affb8a: Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.

* commit 'd2a4c2fa8fdaeb6bc4a51cb26b3419c5e5e1c083':
  Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.

12 years agoam 8885596a: am 3ded587c: am 08eb7dd6: Merge "extending timeout to stabilize tests...
Tsu Chiang Chuang [Mon, 13 Feb 2012 22:42:42 +0000 (14:42 -0800)]
am 8885596a: am 3ded587c: am 08eb7dd6: Merge "extending timeout to stabilize tests" into ics-mr1

* commit '8885596a9109794ebd61e6a91e5199aa1750ed8c':

12 years agoam 84affb8a: Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.
Dianne Hackborn [Mon, 13 Feb 2012 22:42:40 +0000 (14:42 -0800)]
am 84affb8a: Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.

* commit '84affb8ae6477c46c75f834b73daa13b2a751c21':
  Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.

12 years agoam 3ded587c: am 08eb7dd6: Merge "extending timeout to stabilize tests" into ics-mr1
Tsu Chiang Chuang [Mon, 13 Feb 2012 22:39:48 +0000 (14:39 -0800)]
am 3ded587c: am 08eb7dd6: Merge "extending timeout to stabilize tests" into ics-mr1

* commit '3ded587cc199d4ba592e675dc47fb80a28d1dacd':

12 years agoAdd xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.
Dianne Hackborn [Wed, 25 Jan 2012 23:12:23 +0000 (15:12 -0800)]
Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.

Change-Id: I519d6cdc527a402d93b98df17a64fc1da52ad598

12 years agoam 07f941f0: Merge "Move BroadcastQueue out of the ActivityManager class."
Dianne Hackborn [Mon, 13 Feb 2012 22:36:26 +0000 (14:36 -0800)]
am 07f941f0: Merge "Move BroadcastQueue out of the ActivityManager class."

* commit '07f941f026ed2aef8945d0d44134162b3db50eb5':
  Move BroadcastQueue out of the ActivityManager class.

12 years agoMerge "Move BroadcastQueue out of the ActivityManager class."
Dianne Hackborn [Mon, 13 Feb 2012 22:34:26 +0000 (14:34 -0800)]
Merge "Move BroadcastQueue out of the ActivityManager class."

12 years agoam 95d4c993: am 352b8d03: (-s ours) am 8046e294: Merge "DO NOT MERGE" into ics-scoop
Ramanan Rajeswaran [Mon, 13 Feb 2012 22:29:54 +0000 (14:29 -0800)]
am 95d4c993: am 352b8d03: (-s ours) am 8046e294: Merge "DO NOT MERGE" into ics-scoop

* commit '95d4c9934f27b2c7276005b0235e0da44a89aea8':
  DO NOT MERGE

12 years agoam 352b8d03: (-s ours) am 8046e294: Merge "DO NOT MERGE" into ics-scoop
Ramanan Rajeswaran [Mon, 13 Feb 2012 22:27:40 +0000 (14:27 -0800)]
am 352b8d03: (-s ours) am 8046e294: Merge "DO NOT MERGE" into ics-scoop

* commit '352b8d03c63585f4eaec09d2e39a4d173be83164':
  DO NOT MERGE

12 years agoam 5c6dfc37: Merge "Import translations."
Eric Fischer [Mon, 13 Feb 2012 22:27:39 +0000 (14:27 -0800)]
am 5c6dfc37: Merge "Import translations."

* commit '5c6dfc374ad57175556ad4369edf0397cb91d57e':
  Import translations.

12 years agoMerge "Import translations."
Eric Fischer [Mon, 13 Feb 2012 22:26:03 +0000 (14:26 -0800)]
Merge "Import translations."

12 years agoMerge "Import translations. DO NOT MERGE" into graphics-dev
Eric Fischer [Mon, 13 Feb 2012 22:24:59 +0000 (14:24 -0800)]
Merge "Import translations. DO NOT MERGE" into graphics-dev

12 years agoam 8046e294: Merge "DO NOT MERGE" into ics-scoop
Ramanan Rajeswaran [Mon, 13 Feb 2012 22:24:38 +0000 (14:24 -0800)]
am 8046e294: Merge "DO NOT MERGE" into ics-scoop

* commit '8046e294c545b8e3712bff7925b024639936d5bf':
  DO NOT MERGE

12 years agoam fbd2e643: Merge "Playback rate on MediaPlayer"
Jean-Michel Trivi [Mon, 13 Feb 2012 22:23:13 +0000 (14:23 -0800)]
am fbd2e643: Merge "Playback rate on MediaPlayer"

* commit 'fbd2e64346c3b86f62fdf2c94f0e3c558e029a6d':
  Playback rate on MediaPlayer

12 years agoMerge "DO NOT MERGE" into ics-scoop
Ramanan Rajeswaran [Mon, 13 Feb 2012 22:22:44 +0000 (14:22 -0800)]
Merge "DO NOT MERGE" into ics-scoop

12 years agoMerge "Playback rate on MediaPlayer"
Jean-Michel Trivi [Mon, 13 Feb 2012 22:21:36 +0000 (14:21 -0800)]
Merge "Playback rate on MediaPlayer"

12 years agoDO NOT MERGE
Ramanan Rajeswaran [Mon, 13 Feb 2012 21:53:39 +0000 (13:53 -0800)]
DO NOT MERGE

Revert "Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc."

This reverts commit c1496d2d9a496e4aba817a58ecb9e07fe55cdba5.

Change-Id: If60df742b19c925cc99b20d01108b84415b124ad

12 years agoam a17032ee: Merge "Accurately track the sequence numbers of batched events."
Jeff Brown [Mon, 13 Feb 2012 22:05:29 +0000 (14:05 -0800)]
am a17032ee: Merge "Accurately track the sequence numbers of batched events."

* commit 'a17032eeb91f709360b6271b71b85e67f729bcc1':
  Accurately track the sequence numbers of batched events.

12 years agoam 7a29d84f: Merge "Fix bug #5904777 GridLayout should be RTL aware"
Fabrice Di Meglio [Mon, 13 Feb 2012 22:02:57 +0000 (14:02 -0800)]
am 7a29d84f: Merge "Fix bug #5904777 GridLayout should be RTL aware"

* commit '7a29d84f0150b49215726d08a69d343df74e02bc':
  Fix bug #5904777 GridLayout should be RTL aware

12 years agoMerge "Accurately track the sequence numbers of batched events."
Jeff Brown [Mon, 13 Feb 2012 22:02:51 +0000 (14:02 -0800)]
Merge "Accurately track the sequence numbers of batched events."

12 years agoMerge "Fix bug #5904777 GridLayout should be RTL aware"
Fabrice Di Meglio [Mon, 13 Feb 2012 22:01:28 +0000 (14:01 -0800)]
Merge "Fix bug #5904777 GridLayout should be RTL aware"

12 years agoAccurately track the sequence numbers of batched events.
Jeff Brown [Mon, 13 Feb 2012 21:18:09 +0000 (13:18 -0800)]
Accurately track the sequence numbers of batched events.

Instead of sending finished signals immediately when appending to
a batch, record the chain of sequence numbers that were part of
the batch and then send finished signals all at once when done.
This change helps the dispatcher keep track of the true state
of the application and can improve ANR detection slightly.

This is part of a series of changes to improve input system pipelining.

Bug: 5963420
Change-Id: I463c2221e2aa8fdf1c3d670c18e39e59ab69b0db

12 years agoam 27b51987: Merge "Enable deferred input messages to be batched."
Jeff Brown [Mon, 13 Feb 2012 21:58:34 +0000 (13:58 -0800)]
am 27b51987: Merge "Enable deferred input messages to be batched."

* commit '27b51987dd3fa7e18703aab45fa10625a56d8c98':
  Enable deferred input messages to be batched.

12 years agoMerge "Enable deferred input messages to be batched."
Jeff Brown [Mon, 13 Feb 2012 21:55:41 +0000 (13:55 -0800)]
Merge "Enable deferred input messages to be batched."

12 years agoam 298b8004: am 5f5ea91f: am eb56ad18: am 08eb7dd6: Merge "extending timeout to stabi...
Tsu Chiang Chuang [Mon, 13 Feb 2012 21:50:17 +0000 (13:50 -0800)]
am 298b8004: am 5f5ea91f: am eb56ad18: am 08eb7dd6: Merge "extending timeout to stabilize tests" into ics-mr1

* commit '298b8004ad1c2cff00676473c702bb4fc98a80a7':
  extending timeout to stabilize tests

12 years agoam 5f5ea91f: am eb56ad18: am 08eb7dd6: Merge "extending timeout to stabilize tests...
Tsu Chiang Chuang [Mon, 13 Feb 2012 21:47:45 +0000 (13:47 -0800)]
am 5f5ea91f: am eb56ad18: am 08eb7dd6: Merge "extending timeout to stabilize tests" into ics-mr1

* commit '5f5ea91f60b4b7d2fcf3da3603cd745a53cba48f':
  extending timeout to stabilize tests

12 years agoam eb56ad18: am 08eb7dd6: Merge "extending timeout to stabilize tests" into ics-mr1
Tsu Chiang Chuang [Mon, 13 Feb 2012 21:45:06 +0000 (13:45 -0800)]
am eb56ad18: am 08eb7dd6: Merge "extending timeout to stabilize tests" into ics-mr1

* commit 'eb56ad183af8a9833ff22a22b97f174f05266c58':
  extending timeout to stabilize tests

12 years agoam 08eb7dd6: Merge "extending timeout to stabilize tests" into ics-mr1
Tsu Chiang Chuang [Mon, 13 Feb 2012 21:43:07 +0000 (13:43 -0800)]
am 08eb7dd6: Merge "extending timeout to stabilize tests" into ics-mr1

* commit '08eb7dd630a2de8dd51a988a747da26ff9d3f8fb':
  extending timeout to stabilize tests

12 years agoam 08eb7dd6: Merge "extending timeout to stabilize tests" into ics-mr1
Tsu Chiang Chuang [Mon, 13 Feb 2012 21:42:45 +0000 (13:42 -0800)]
am 08eb7dd6: Merge "extending timeout to stabilize tests" into ics-mr1

* commit '08eb7dd630a2de8dd51a988a747da26ff9d3f8fb':
  extending timeout to stabilize tests

12 years agoMerge "extending timeout to stabilize tests" into ics-mr1
Tsu Chiang Chuang [Mon, 13 Feb 2012 21:41:37 +0000 (13:41 -0800)]
Merge "extending timeout to stabilize tests" into ics-mr1

12 years agoam ec5b5156: Merge "Fix issue where screen rotations would stop animating."
Dianne Hackborn [Mon, 13 Feb 2012 21:32:52 +0000 (13:32 -0800)]
am ec5b5156: Merge "Fix issue where screen rotations would stop animating."

* commit 'ec5b5156e7a6f46cb90f1b3e980b70a11384f43c':
  Fix issue where screen rotations would stop animating.

12 years agoMerge "Fix issue where screen rotations would stop animating."
Dianne Hackborn [Mon, 13 Feb 2012 21:30:53 +0000 (13:30 -0800)]
Merge "Fix issue where screen rotations would stop animating."

12 years agoam 0bbd872e: am d1f88de2: am c1496d2d: Add xxhdpi; fix ActivityManager.getLauncherLar...
Dianne Hackborn [Mon, 13 Feb 2012 20:44:54 +0000 (12:44 -0800)]
am 0bbd872e: am d1f88de2: am c1496d2d: Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.

* commit '0bbd872ea806470fd007b8ea35f953380a8b4162':
  Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.

12 years agoEnable deferred input messages to be batched.
Jeff Brown [Mon, 13 Feb 2012 20:44:01 +0000 (12:44 -0800)]
Enable deferred input messages to be batched.

This is part of a series of changes to improve input system pipelining.

Bug: 5963420
Change-Id: I6874d2128e880a35c6c33890c858cc6ee22af0fd

12 years agoam d1f88de2: am c1496d2d: Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize...
Dianne Hackborn [Mon, 13 Feb 2012 20:41:27 +0000 (12:41 -0800)]
am d1f88de2: am c1496d2d: Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.

* commit 'd1f88de2c496423e483760654a4381b563dc1e1d':
  Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.

12 years agoam c1496d2d: Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.
Dianne Hackborn [Mon, 13 Feb 2012 20:38:37 +0000 (12:38 -0800)]
am c1496d2d: Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.

* commit 'c1496d2d9a496e4aba817a58ecb9e07fe55cdba5':
  Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.

12 years agoam 65b8bbd3: Merge "Fix audio preprocessing library wrapper"
Eric Laurent [Mon, 13 Feb 2012 20:28:38 +0000 (12:28 -0800)]
am 65b8bbd3: Merge "Fix audio preprocessing library wrapper"

* commit '65b8bbd3c9842588702ac3a7860851f0496ed33c':
  Fix audio preprocessing library wrapper

12 years agoMerge "Fix audio preprocessing library wrapper"
Eric Laurent [Mon, 13 Feb 2012 20:27:27 +0000 (12:27 -0800)]
Merge "Fix audio preprocessing library wrapper"

12 years agoAdd xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.
Dianne Hackborn [Wed, 25 Jan 2012 23:12:23 +0000 (15:12 -0800)]
Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.

Change-Id: I519d6cdc527a402d93b98df17a64fc1da52ad598

12 years agoam 3be5c856: Revert "Test initialization of constant array exports."
Stephen Hines [Mon, 13 Feb 2012 20:00:20 +0000 (12:00 -0800)]
am 3be5c856: Revert "Test initialization of constant array exports."

* commit '3be5c8565154c9a6aa7abf0a0d61eaecf114b450':
  Revert "Test initialization of constant array exports."

12 years agoam dfb64e8c: Merge "Test initialization of constant array exports."
Stephen Hines [Mon, 13 Feb 2012 19:14:58 +0000 (11:14 -0800)]
am dfb64e8c: Merge "Test initialization of constant array exports."

* commit 'dfb64e8c805dcb371c747e675bf58b4c9a10e49f':
  Test initialization of constant array exports.

12 years agoMerge "Test initialization of constant array exports."
Stephen Hines [Mon, 13 Feb 2012 19:13:21 +0000 (11:13 -0800)]
Merge "Test initialization of constant array exports."

12 years agoam 760a36f2: Merge "Factor out and speed up permission-checking code"
Glenn Kasten [Mon, 13 Feb 2012 18:34:14 +0000 (10:34 -0800)]
am 760a36f2: Merge "Factor out and speed up permission-checking code"

* commit '760a36f20702351f64863e14b2ae15ad1199fdcf':
  Factor out and speed up permission-checking code

12 years agoam 072ec96a: Implement batching of input events on the consumer side.
Jeff Brown [Mon, 13 Feb 2012 18:34:12 +0000 (10:34 -0800)]
am 072ec96a: Implement batching of input events on the consumer side.

* commit '072ec96a4900d4616574733646ee46311cb5d2cb':
  Implement batching of input events on the consumer side.

12 years agoam 1adee11b: Optimize dispatcher for back-to-back finished signals.
Jeff Brown [Mon, 13 Feb 2012 18:34:09 +0000 (10:34 -0800)]
am 1adee11b: Optimize dispatcher for back-to-back finished signals.

* commit '1adee11b5e644c74a2ed40344f4836de3bd3ac56':
  Optimize dispatcher for back-to-back finished signals.

12 years agoam d1c48a05: Dispatch multiple touch events in parallel.
Jeff Brown [Mon, 13 Feb 2012 18:34:07 +0000 (10:34 -0800)]
am d1c48a05: Dispatch multiple touch events in parallel.

* commit 'd1c48a0525d05021036d4b14e937e221c0ae1318':
  Dispatch multiple touch events in parallel.

12 years agoam 8b4be560: Delete premature optimization.
Jeff Brown [Mon, 13 Feb 2012 18:33:59 +0000 (10:33 -0800)]
am 8b4be560: Delete premature optimization.

* commit '8b4be56030c3b8c93dfa45bccac7365f90f377ce':
  Delete premature optimization.

12 years agoMerge "Factor out and speed up permission-checking code"
Glenn Kasten [Mon, 13 Feb 2012 18:31:44 +0000 (10:31 -0800)]
Merge "Factor out and speed up permission-checking code"

12 years agoam 28b5cf1c: Delete dead code.
Jeff Brown [Mon, 13 Feb 2012 18:31:21 +0000 (10:31 -0800)]
am 28b5cf1c: Delete dead code.

* commit '28b5cf1c33df847d667b8974ba07c4157a49b48a':
  Delete dead code.

12 years agoam 59f1ff99: Delete latency tracking information in the Connection.
Jeff Brown [Mon, 13 Feb 2012 18:31:19 +0000 (10:31 -0800)]
am 59f1ff99: Delete latency tracking information in the Connection.

* commit '59f1ff99786e9d4a94270d6752aa3ca61e10f0a6':
  Delete latency tracking information in the Connection.

12 years agoam 9831d90d: Remove active connection tracking.
Jeff Brown [Mon, 13 Feb 2012 18:31:11 +0000 (10:31 -0800)]
am 9831d90d: Remove active connection tracking.

* commit '9831d90db8fba7e967d22b1f86eea1d6ac831541':
  Remove active connection tracking.

12 years agoam e9bb9be9: Simplify input target handling in the dispatcher.
Jeff Brown [Mon, 13 Feb 2012 18:31:08 +0000 (10:31 -0800)]
am e9bb9be9: Simplify input target handling in the dispatcher.

* commit 'e9bb9be9e46523ed901e38cfa83f4630f6496418':
  Simplify input target handling in the dispatcher.

12 years agoam cbee6d6e: Rewrite input transport using sockets.
Jeff Brown [Mon, 13 Feb 2012 18:31:06 +0000 (10:31 -0800)]
am cbee6d6e: Rewrite input transport using sockets.

* commit 'cbee6d6ede0499fb4a2c00bfc00d5db8d9ed5139':
  Rewrite input transport using sockets.

12 years agoam 3241b6b7: Remove batching and streaming from the input dispatcher.
Jeff Brown [Mon, 13 Feb 2012 18:31:03 +0000 (10:31 -0800)]
am 3241b6b7: Remove batching and streaming from the input dispatcher.

* commit '3241b6b7bd7eff64f0118ba2d636030e505a98f9':
  Remove batching and streaming from the input dispatcher.

12 years agoam d4762334: Merge "Process input events immediately when received."
Jeff Brown [Mon, 13 Feb 2012 18:28:49 +0000 (10:28 -0800)]
am d4762334: Merge "Process input events immediately when received."

* commit 'd4762334f103055b3aa59d97d027ace7c5950b6e':
  Process input events immediately when received.

12 years agoam 62d1058c: Merge "Remove the input dispatcher throttle."
Jeff Brown [Mon, 13 Feb 2012 18:28:47 +0000 (10:28 -0800)]
am 62d1058c: Merge "Remove the input dispatcher throttle."

* commit '62d1058cc972a8fcb7739547abd3298f5d98a9b1':
  Remove the input dispatcher throttle.

12 years agoImplement batching of input events on the consumer side.
Jeff Brown [Tue, 7 Feb 2012 22:46:57 +0000 (14:46 -0800)]
Implement batching of input events on the consumer side.

To support this feature, the input dispatcher now allows input
events to be acknowledged out-of-order.  As a result, the
consumer can choose to defer handling an input event from one
device (because it is building a big batch) while continuing
to handle input events from other devices.

The InputEventReceiver now sends a notification when a batch
is pending.  The ViewRoot handles this notification by scheduling
a draw on the next sync.  When the draw happens, the InputEventReceiver
is instructed to consume all pending batched input events, the
input event queue is fully processed (as much as possible),
and then the ViewRoot performs traversals as usual.

With these changes in place, the input dispatch latency is
consistently less than one frame as long as the application itself
isn't stalled.  Input events are delivered to the application
as soon as possible and are handled as soon as possible.  In practice,
it is no longer possible for an application to build up a huge
backlog of touch events.

This is part of a series of changes to improve input system pipelining.

Bug: 5963420

Change-Id: I42c01117eca78f12d66d49a736c1c122346ccd1d

12 years agoDispatch multiple touch events in parallel.
Jeff Brown [Tue, 7 Feb 2012 03:12:47 +0000 (19:12 -0800)]
Dispatch multiple touch events in parallel.

This change enables the input dispatcher to send multiple touch
events to an application without waiting for them to be acknowledged.
Essentially this is a variation on the old streaming optimization
but it is much more comprehensive.  Event dispatch will stall as
soon as 0.5sec of unacknowledged events are accumulated or a
focused event (such as a key event) needs to be delivered.

Streaming input events makes a tremendous difference in application
performance.  The next step will be to enable batching of input
events on the client side once again.

This is part of a series of changes to improve input system pipelining.

Bug: 5963420
Change-Id: I025df90c06165d719fcca7f63eed322a5cce4a78

12 years agoRewrite input transport using sockets.
Jeff Brown [Sat, 4 Feb 2012 04:11:27 +0000 (20:11 -0800)]
Rewrite input transport using sockets.

Since we will not longer be modifying events in place, we don't need
to use an ashmem region for input.  Simplified the code to instead
use a socket of type SOCK_SEQPACKET.

This is part of a series of changes to improve input system pipelining.

Bug: 5963420

Change-Id: I05909075ed8b61b93900913e44c6db84857340d8

12 years agoMerge "Process input events immediately when received."
Jeff Brown [Mon, 13 Feb 2012 18:26:40 +0000 (10:26 -0800)]
Merge "Process input events immediately when received."

12 years agoMerge "Remove the input dispatcher throttle."
Jeff Brown [Mon, 13 Feb 2012 18:26:33 +0000 (10:26 -0800)]
Merge "Remove the input dispatcher throttle."

12 years agoam 5a1f6fb4: Merge "Use ' for apostrophe in HTML encoding"
Marc Blank [Mon, 13 Feb 2012 18:21:58 +0000 (10:21 -0800)]
am 5a1f6fb4: Merge "Use ' for apostrophe in HTML encoding"

* commit '5a1f6fb4073ee4b27359faa950808a6eeac33a4c':
  Use ' for apostrophe in HTML encoding

12 years agoMerge "Use ' for apostrophe in HTML encoding"
Marc Blank [Mon, 13 Feb 2012 18:20:38 +0000 (10:20 -0800)]
Merge "Use ' for apostrophe in HTML encoding"

12 years agoam f96901f8: Merge "Add support for non-linear ramping of master volume adjustment"
Mike Lockwood [Sat, 11 Feb 2012 05:58:01 +0000 (21:58 -0800)]
am f96901f8: Merge "Add support for non-linear ramping of master volume adjustment"

* commit 'f96901f8ccf7e5bdb05bb22ca1b522c381f05043':
  Add support for non-linear ramping of master volume adjustment

12 years agoMerge "Add support for non-linear ramping of master volume adjustment"
Mike Lockwood [Sat, 11 Feb 2012 05:55:52 +0000 (21:55 -0800)]
Merge "Add support for non-linear ramping of master volume adjustment"

12 years agoam 8fdaf785: Merge "Change the signature of method addTextSource() in AwesomePlayer"
James Dong [Sat, 11 Feb 2012 01:59:22 +0000 (17:59 -0800)]
am 8fdaf785: Merge "Change the signature of method addTextSource() in AwesomePlayer"

* commit '8fdaf785e2624f355c525c1370fe0837969e5072':
  Change the signature of method addTextSource() in AwesomePlayer

12 years agoMerge "Change the signature of method addTextSource() in AwesomePlayer"
James Dong [Sat, 11 Feb 2012 01:57:16 +0000 (17:57 -0800)]
Merge "Change the signature of method addTextSource() in AwesomePlayer"

12 years agoam e4e04945: am 5caed1d9: am f11b6fbf: am 197fe269: Merge "Add OEM specific USB mode...
Wink Saville [Sat, 11 Feb 2012 01:03:21 +0000 (17:03 -0800)]
am e4e04945: am 5caed1d9: am f11b6fbf: am 197fe269: Merge "Add OEM specific USB mode enumeration based on ro.bootmode property" into ics-mr1

* commit 'e4e04945e73ac06f7b39e07b9ba1d71339a2db49':

12 years agoam 5caed1d9: am f11b6fbf: am 197fe269: Merge "Add OEM specific USB mode enumeration...
Wink Saville [Sat, 11 Feb 2012 01:00:51 +0000 (17:00 -0800)]
am 5caed1d9: am f11b6fbf: am 197fe269: Merge "Add OEM specific USB mode enumeration based on ro.bootmode property" into ics-mr1

* commit '5caed1d99b99a011501c532fbf970324ea82e13d':

12 years agoam 92881551: Merge "resolved conflicts for merge of e8b57fea to master"
Wink Saville [Sat, 11 Feb 2012 00:59:06 +0000 (16:59 -0800)]
am 92881551: Merge "resolved conflicts for merge of e8b57fea to master"

* commit '928815515481551c8318d5decc7009f00b82a511':
  Add OEM specific USB mode enumeration based on ro.bootmode property

12 years agoMerge "resolved conflicts for merge of e8b57fea to master"
Wink Saville [Sat, 11 Feb 2012 00:57:39 +0000 (16:57 -0800)]
Merge "resolved conflicts for merge of e8b57fea to master"

12 years agoresolved conflicts for merge of e8b57fea to master
Wink Saville [Sat, 11 Feb 2012 00:11:18 +0000 (16:11 -0800)]
resolved conflicts for merge of e8b57fea to master

Change-Id: I2ccf2b4cb73faadd0c8608cc21dda5db888d2937

12 years agoam ad8d175b: mAudioHwDevs and related cleanup
Glenn Kasten [Fri, 10 Feb 2012 23:39:17 +0000 (15:39 -0800)]
am ad8d175b: mAudioHwDevs and related cleanup

* commit 'ad8d175b405373b9614ad4278f274eae706df588':
  mAudioHwDevs and related cleanup

12 years agoam da639f54: Merge "Simplify ThreadBase::exit() aka requestExitAndWait"
Glenn Kasten [Fri, 10 Feb 2012 23:34:02 +0000 (15:34 -0800)]
am da639f54: Merge "Simplify ThreadBase::exit() aka requestExitAndWait"

* commit 'da639f54382d9342793a05aec59f179dd172bd57':
  Simplify ThreadBase::exit() aka requestExitAndWait

12 years agoam 6f5f9ce7: Merge "Disable HQ resamplers for now until qualified"
Glenn Kasten [Fri, 10 Feb 2012 23:33:59 +0000 (15:33 -0800)]
am 6f5f9ce7: Merge "Disable HQ resamplers for now until qualified"

* commit '6f5f9ce713b3ea58cbc71f3f4b02c2b694ce9dec':
  Disable HQ resamplers for now until qualified

12 years agoam d335c1cc: Merge "Move header declarations around for clarity"
Glenn Kasten [Fri, 10 Feb 2012 23:33:57 +0000 (15:33 -0800)]
am d335c1cc: Merge "Move header declarations around for clarity"

* commit 'd335c1cc4f9980d3fe2600876bd068ee5cb0002e':
  Move header declarations around for clarity

12 years agoam 3ebf95bb: Merge "Camel case readability & private disconnect(bool)"
Glenn Kasten [Fri, 10 Feb 2012 23:33:55 +0000 (15:33 -0800)]
am 3ebf95bb: Merge "Camel case readability & private disconnect(bool)"

* commit '3ebf95bb52c94d641fe8e49a7767dc73b1695ac7':
  Camel case readability & private disconnect(bool)

12 years agoam 2a67e1a6: Merge "Remove aliasing"
Glenn Kasten [Fri, 10 Feb 2012 23:33:52 +0000 (15:33 -0800)]
am 2a67e1a6: Merge "Remove aliasing"

* commit '2a67e1a6c037ea170958da754a1c8a5d4375ac06':
  Remove aliasing

12 years agoam 5bb3090a: Merge "Use mul from audioutils"
Glenn Kasten [Fri, 10 Feb 2012 23:33:49 +0000 (15:33 -0800)]
am 5bb3090a: Merge "Use mul from audioutils"

* commit '5bb3090a18ce7d5b8910b8394516efc5fba7b817':
  Use mul from audioutils

12 years agoam 52ee6350: Merge "Mark fields const if only set in constructor"
Glenn Kasten [Fri, 10 Feb 2012 23:33:47 +0000 (15:33 -0800)]
am 52ee6350: Merge "Mark fields const if only set in constructor"

* commit '52ee6350390ccbe000b9bf8c2637a968d7951c33':
  Mark fields const if only set in constructor

12 years agoMerge "Simplify ThreadBase::exit() aka requestExitAndWait"
Glenn Kasten [Fri, 10 Feb 2012 23:32:16 +0000 (15:32 -0800)]
Merge "Simplify ThreadBase::exit() aka requestExitAndWait"

12 years agoMerge "Disable HQ resamplers for now until qualified"
Glenn Kasten [Fri, 10 Feb 2012 23:31:54 +0000 (15:31 -0800)]
Merge "Disable HQ resamplers for now until qualified"

12 years agoMerge "Move header declarations around for clarity"
Glenn Kasten [Fri, 10 Feb 2012 23:31:07 +0000 (15:31 -0800)]
Merge "Move header declarations around for clarity"

12 years agoam c199e2c7: Merge changes Iefeba018,I1ce5b26d,Ie3f59793,Id3c5e1ec,I9063154a,Ib7bd88a...
Mike Lockwood [Fri, 10 Feb 2012 23:30:58 +0000 (15:30 -0800)]
am c199e2c7: Merge changes Iefeba018,I1ce5b26d,Ie3f59793,Id3c5e1ec,I9063154a,Ib7bd88a3,I20963df8,I01060b08,I7dc29739,I5c55a051,Ia07aa3c4,I3194ea94,I0dc37cce,Ic3a7bb65,I0a7eaecf,Ifa7b0614,Ice952c8e,Ia5abdb9e,Ifcb310f9,If5f4ec97,I4767690f,I79824179,I6e0f981e,Id60ae7f6

* commit 'c199e2c7e0f8895273fdd912c5c88495a8b30e35': (24 commits)
  EthernetDataTracker: Don't run DHCP or set network available until link is up
  Only send master volume or mute updates if the settings have changed
  Make AudioManager.adjustMasterVolume public and hidden
  Allow disabling network stats support in a resource overlay
  Restore persisted master volume if the media server restarts
  Don't allow changing master volume when muted
  Show the flags in package manager debugging.
  Modified the constructor of EndpointBase
  Add a getEndpointInfo accessor to AIDL-generated RPC proxy classes
  Defer persisting master data to avoid excessive database writes
  Add an option that disables the AUDIO_BECOMING_NOISY intent send when a headset is hotplugged.
  Remove reference counting and client death notification for master mute
  AudioService: Send broadcasts when master volume and mute state change
  Use the new get/putFlattenable methods on RpcData.
  Don't try to unmarshal void return types when there are out parameters being returned.
  AudioManager: Add wrapper methods for master volume support
  AudioManager: Add support for master mute
  NetworkTimeUpdateService: Schedule NTP on ethernet connect as well as wifi
  For events, require that the parameters be marked in.
  PhoneWindowManager: stifle warning that ITelephony service does not exist
  ...

12 years agoam 0ee0969f: Merge "UI automation service disconnected upon package change."
Svetoslav Ganov [Fri, 10 Feb 2012 23:30:52 +0000 (15:30 -0800)]
am 0ee0969f: Merge "UI automation service disconnected upon package change."

* commit '0ee0969ffb92d40c290c9da9bfc6f2cd5b1ba3aa':
  UI automation service disconnected upon package change.

12 years agoam 87a36a3b: Merge "Making shader compilation errors throw a Java exception."
Alex Sakhartchouk [Fri, 10 Feb 2012 23:30:48 +0000 (15:30 -0800)]
am 87a36a3b: Merge "Making shader compilation errors throw a Java exception."

* commit '87a36a3b291e78a612d2d08c14b245ff970080e0':
  Making shader compilation errors throw a Java exception.

12 years agoam f0451db4: Merge "Multi-user - wallpaper service"
Amith Yamasani [Fri, 10 Feb 2012 23:30:45 +0000 (15:30 -0800)]
am f0451db4: Merge "Multi-user - wallpaper service"

* commit 'f0451db4224e2b6360efa39cd65c88cd391f14e0':
  Multi-user - wallpaper service

12 years agoam 385f1caf: Merge "Move away from MediaDebug and use ADebug instead"
James Dong [Fri, 10 Feb 2012 23:30:39 +0000 (15:30 -0800)]
am 385f1caf: Merge "Move away from MediaDebug and use ADebug instead"

* commit '385f1cafa6e55d2f4b8846746fe7fe4e8755aedd':
  Move away from MediaDebug and use ADebug instead

12 years agoMerge "Camel case readability & private disconnect(bool)"
Glenn Kasten [Fri, 10 Feb 2012 23:30:15 +0000 (15:30 -0800)]
Merge "Camel case readability & private disconnect(bool)"

12 years agoMerge "Remove aliasing"
Glenn Kasten [Fri, 10 Feb 2012 23:29:35 +0000 (15:29 -0800)]
Merge "Remove aliasing"

12 years agoMerge "Use mul from audioutils"
Glenn Kasten [Fri, 10 Feb 2012 23:28:57 +0000 (15:28 -0800)]
Merge "Use mul from audioutils"