OSDN Git Service

android-x86/frameworks-native.git
10 years agoam 80acb20c: am 7cd122a5: Merge "Add device admin to wearables for API8 Compat" into...
Adam Lesinski [Mon, 17 Mar 2014 23:32:28 +0000 (23:32 +0000)]
am 80acb20c: am 7cd122a5: Merge "Add device admin to wearables for API8 Compat" into klp-modular-dev

* commit '80acb20ca95da161fc739abac0fb9084a76e2ced':
  Add device admin to wearables for API8 Compat

10 years agoam aa89a914: am fc34b7b7: Merge "Remove accessibility as an optional feature" into...
Adam Lesinski [Mon, 17 Mar 2014 23:32:27 +0000 (23:32 +0000)]
am aa89a914: am fc34b7b7: Merge "Remove accessibility as an optional feature" into klp-modular-dev

* commit 'aa89a914825a79e535917c2f0da6cad1d1ed9f2d':
  Remove accessibility as an optional feature

10 years agoam 7cd122a5: Merge "Add device admin to wearables for API8 Compat" into klp-modular-dev
Adam Lesinski [Mon, 17 Mar 2014 19:52:35 +0000 (19:52 +0000)]
am 7cd122a5: Merge "Add device admin to wearables for API8 Compat" into klp-modular-dev

* commit '7cd122a549831611ce79389e481484ade16744f1':
  Add device admin to wearables for API8 Compat

10 years agoam fc34b7b7: Merge "Remove accessibility as an optional feature" into klp-modular-dev
Adam Lesinski [Mon, 17 Mar 2014 19:52:34 +0000 (19:52 +0000)]
am fc34b7b7: Merge "Remove accessibility as an optional feature" into klp-modular-dev

* commit 'fc34b7b7fc9749a3fb1f8e7d924274a5768366aa':
  Remove accessibility as an optional feature

10 years agoMerge "Add device admin to wearables for API8 Compat" into klp-modular-dev
Adam Lesinski [Mon, 17 Mar 2014 19:50:56 +0000 (19:50 +0000)]
Merge "Add device admin to wearables for API8 Compat" into klp-modular-dev

10 years agoMerge "Remove accessibility as an optional feature" into klp-modular-dev
Adam Lesinski [Mon, 17 Mar 2014 19:50:30 +0000 (19:50 +0000)]
Merge "Remove accessibility as an optional feature" into klp-modular-dev

10 years agoAdd device admin to wearables for API8 Compat
Adam Lesinski [Mon, 17 Mar 2014 19:17:29 +0000 (12:17 -0700)]
Add device admin to wearables for API8 Compat

Bug:13386441
Change-Id: I8814976db791bb1f2e60b6a9fc49afdd5f360414

10 years agoRemove accessibility as an optional feature
Adam Lesinski [Mon, 17 Mar 2014 19:14:26 +0000 (12:14 -0700)]
Remove accessibility as an optional feature

Bug:13439904
Change-Id: Icc6b84d05a24cbfdaa121929e7c7c77c0f7eed17

10 years agoMerge "Remove deprecated BufferQueue constructor"
Dan Stoza [Mon, 17 Mar 2014 18:46:14 +0000 (18:46 +0000)]
Merge "Remove deprecated BufferQueue constructor"

10 years agoam 793be12c: am b730a452: am f0190bff: Add support for writing byte arrays to parcels
Marco Nelissen [Sat, 15 Mar 2014 00:30:46 +0000 (00:30 +0000)]
am 793be12c: am b730a452: am f0190bff: Add support for writing byte arrays to parcels

* commit '793be12c0f5a7878d1085e94e58a9c36c84f0911':
  Add support for writing byte arrays to parcels

10 years agoam b730a452: am f0190bff: Add support for writing byte arrays to parcels
Marco Nelissen [Fri, 14 Mar 2014 23:33:08 +0000 (23:33 +0000)]
am b730a452: am f0190bff: Add support for writing byte arrays to parcels

* commit 'b730a45216991cf22c39451c47393b4bccae111b':
  Add support for writing byte arrays to parcels

10 years agoam f0190bff: Add support for writing byte arrays to parcels
Marco Nelissen [Fri, 14 Mar 2014 22:55:54 +0000 (22:55 +0000)]
am f0190bff: Add support for writing byte arrays to parcels

* commit 'f0190bff38b6c29abbfc4a877442f71fc3d7dad8':
  Add support for writing byte arrays to parcels

10 years agoam d4dabf87: am cdbf28b3: Merge "native frameworks: 64-bit compile issues"
Mark Salyzyn [Thu, 13 Mar 2014 23:12:09 +0000 (23:12 +0000)]
am d4dabf87: am cdbf28b3: Merge "native frameworks: 64-bit compile issues"

* commit 'd4dabf872ac0a12e12aebae9032f7d62762c2aeb':
  native frameworks: 64-bit compile issues

10 years agoFix broken build for more tests
Jesse Hall [Thu, 13 Mar 2014 22:09:17 +0000 (15:09 -0700)]
Fix broken build for more tests

Change-Id: I7bdd12a833233724805d01d993541ee05caa9bf6

10 years agoFix broken test build
Jesse Hall [Thu, 13 Mar 2014 21:34:28 +0000 (14:34 -0700)]
Fix broken test build

Change-Id: I767bcefd92899334e4769dd3495595f546133694

10 years agoAdd support for writing byte arrays to parcels
Marco Nelissen [Thu, 13 Mar 2014 21:17:40 +0000 (14:17 -0700)]
Add support for writing byte arrays to parcels

b/13418320

Change-Id: I2285df9e9d3dc8a6a54055b13b352b81660bf45d

10 years agoMerge "Add sideband streams to BufferQueue and related classes"
Jesse Hall [Thu, 13 Mar 2014 20:28:16 +0000 (20:28 +0000)]
Merge "Add sideband streams to BufferQueue and related classes"

10 years agoRemove deprecated BufferQueue constructor
Dan Stoza [Thu, 13 Mar 2014 18:31:43 +0000 (11:31 -0700)]
Remove deprecated BufferQueue constructor

Bug: 13415624
Change-Id: I1c17833511b5961af5a9bbb9cc3d627ce558d424

10 years agoam cdbf28b3: Merge "native frameworks: 64-bit compile issues"
Mark Salyzyn [Thu, 13 Mar 2014 15:26:10 +0000 (15:26 +0000)]
am cdbf28b3: Merge "native frameworks: 64-bit compile issues"

* commit 'cdbf28b3f7f5327f4cb0eb95b8326bf4c24c87ba':
  native frameworks: 64-bit compile issues

10 years agoMerge "native frameworks: 64-bit compile issues"
Mark Salyzyn [Thu, 13 Mar 2014 15:20:44 +0000 (15:20 +0000)]
Merge "native frameworks: 64-bit compile issues"

10 years agoam ffd353a7: (-s ours) am d9e113f0: b/12068020 add nonce to InputDeviceDescriptor...
RoboErik [Wed, 12 Mar 2014 23:04:49 +0000 (23:04 +0000)]
am ffd353a7: (-s ours) am d9e113f0: b/12068020 add nonce to InputDeviceDescriptor. Do not merge

* commit 'ffd353a73eb7794ef556c4e646f866b580a03abb':
  b/12068020 add nonce to InputDeviceDescriptor. Do not merge

10 years agoMerge "Controllers must have buttons and a movement mechanism."
Michael Wright [Wed, 12 Mar 2014 21:56:24 +0000 (21:56 +0000)]
Merge "Controllers must have buttons and a movement mechanism."

10 years agoam d9e113f0: b/12068020 add nonce to InputDeviceDescriptor. Do not merge
RoboErik [Wed, 12 Mar 2014 21:12:28 +0000 (21:12 +0000)]
am d9e113f0: b/12068020 add nonce to InputDeviceDescriptor. Do not merge

* commit 'd9e113f0e0feac1a801f8339d2f907302bd432c5':
  b/12068020 add nonce to InputDeviceDescriptor. Do not merge

10 years agonative frameworks: 64-bit compile issues
Mark Salyzyn [Wed, 12 Mar 2014 20:12:44 +0000 (13:12 -0700)]
native frameworks: 64-bit compile issues

- Fix format (print/scanf)
- Suppress unused argument warning messages (bonus)

Change-Id: I05c7724d2aba6da1e82a86000e11f3a8fef4e728

10 years agoam 85864b87: am 06ed9491: Merge "Fix parameter ordering for installd\'s dex2oat execl."
Anwar Ghuloum [Wed, 12 Mar 2014 19:57:05 +0000 (19:57 +0000)]
am 85864b87: am 06ed9491: Merge "Fix parameter ordering for installd\'s dex2oat execl."

* commit '85864b8724b3908d2f5aa861276ce5e80d7f820e':
  Fix parameter ordering for installd's dex2oat execl.

10 years agoam d0f7ce45: (-s ours) am 9b04f860: Add MAX_CONTROLLER_LEDS constant. DO NOT MERGE
Michael Wright [Wed, 12 Mar 2014 19:56:40 +0000 (19:56 +0000)]
am d0f7ce45: (-s ours) am 9b04f860: Add MAX_CONTROLLER_LEDS constant. DO NOT MERGE

* commit 'd0f7ce457c59d5f50b0fefc0fe768fad564d0c7e':
  Add MAX_CONTROLLER_LEDS constant. DO NOT MERGE

10 years agob/12068020 add nonce to InputDeviceDescriptor. Do not merge
RoboErik [Thu, 19 Dec 2013 19:54:29 +0000 (11:54 -0800)]
b/12068020 add nonce to InputDeviceDescriptor. Do not merge

This is a cherry-pick of https://googleplex-android-review.git.corp.google.com/#/c/401795/

Adds a nonce field to allow generation of unique descriptors for
input devices.

Change-Id: Ie82bfb728bea95792b3b138dd3974f8b0aff63e0

10 years agoControllers must have buttons and a movement mechanism.
Michael Wright [Wed, 12 Mar 2014 17:33:03 +0000 (10:33 -0700)]
Controllers must have buttons and a movement mechanism.

Some devices have joystick axes or DPad keys, but no gamepad buttons (or vice
versa). We shouldn't count these as gamepads since games can't really be
expected to work with this setup in the general case. Instead, require that a
device has a movement mechanism (joystick axes or DPad buttons), as well as at
least one gamepad button before considering it a controller.

Bug: 13432364
Change-Id: I64372e69d29c775094e2b1faa89714da8c29e2be

10 years agoMerge "BufferQueue: Allow returning interfaces as I*/Bn*"
Dan Stoza [Wed, 12 Mar 2014 19:14:53 +0000 (19:14 +0000)]
Merge "BufferQueue: Allow returning interfaces as I*/Bn*"

10 years agoBufferQueue: Allow returning interfaces as I*/Bn*
Dan Stoza [Wed, 12 Mar 2014 17:17:20 +0000 (10:17 -0700)]
BufferQueue: Allow returning interfaces as I*/Bn*

This adds a second createBufferQueue method that returns
sp<IGraphicBuffer*> interfaces instead of sp<BnGraphicBuffer*>, since
most clients don't actually need the Binderized versions (but some
might).

Change-Id: Iaf4f719c96ddb6f704afc75cf52be22588173e32

10 years agoMerge "Adjust for device orientation"
Andy McFadden [Wed, 12 Mar 2014 16:56:11 +0000 (16:56 +0000)]
Merge "Adjust for device orientation"

10 years agoAdjust for device orientation
Andy McFadden [Wed, 12 Mar 2014 16:50:15 +0000 (09:50 -0700)]
Adjust for device orientation

When the device is rotated, reverse the width/height values.

Change-Id: Idc2b80b1cb96d9379cd94192997580e1ade70bf6

10 years agoVirtualDisplaySurface: no attach/detach support
Dan Stoza [Wed, 12 Mar 2014 16:34:36 +0000 (09:34 -0700)]
VirtualDisplaySurface: no attach/detach support

Change-Id: I630dd6e352940318c33a4e072d2f33a6ec58c556

10 years agoMerge "BufferQueue: Allow detaching/reattaching buffers"
Dan Stoza [Tue, 11 Mar 2014 23:47:14 +0000 (23:47 +0000)]
Merge "BufferQueue: Allow detaching/reattaching buffers"

10 years agoam 06ed9491: Merge "Fix parameter ordering for installd\'s dex2oat execl."
Anwar Ghuloum [Tue, 11 Mar 2014 23:43:19 +0000 (23:43 +0000)]
am 06ed9491: Merge "Fix parameter ordering for installd\'s dex2oat execl."

* commit '06ed9491418ce84e4272bf4201545fa6cfe3932e':
  Fix parameter ordering for installd's dex2oat execl.

10 years agoam 9b04f860: Add MAX_CONTROLLER_LEDS constant. DO NOT MERGE
Michael Wright [Tue, 11 Mar 2014 23:22:00 +0000 (23:22 +0000)]
am 9b04f860: Add MAX_CONTROLLER_LEDS constant. DO NOT MERGE

* commit '9b04f860f23481d39c3b45379a324d3630966825':
  Add MAX_CONTROLLER_LEDS constant. DO NOT MERGE

10 years agoMerge "Fix parameter ordering for installd's dex2oat execl."
Anwar Ghuloum [Tue, 11 Mar 2014 23:11:02 +0000 (23:11 +0000)]
Merge "Fix parameter ordering for installd's dex2oat execl."

10 years agoFix parameter ordering for installd's dex2oat execl.
Anwar Ghuloum [Tue, 11 Mar 2014 22:42:58 +0000 (15:42 -0700)]
Fix parameter ordering for installd's dex2oat execl.

Change-Id: Ibd6fd46c6ec3137874f9a3d5eea134bc804e039a

10 years agoAdd MAX_CONTROLLER_LEDS constant. DO NOT MERGE
Michael Wright [Sat, 19 Oct 2013 00:53:50 +0000 (17:53 -0700)]
Add MAX_CONTROLLER_LEDS constant. DO NOT MERGE

Change-Id: Ie6dbce926280c748f39e3c54d2ed4accbdcf9e59

10 years agoAdd sideband streams to BufferQueue and related classes
Jesse Hall [Mon, 3 Mar 2014 23:42:54 +0000 (15:42 -0800)]
Add sideband streams to BufferQueue and related classes

Sideband streams are essentially a device-specific buffer queue that
bypasses the BufferQueue system. They can be used for situations with
hard real-time requirements like high-quality TV and video playback
with A/V sync. A handle to the stream is provided by the source HAL,
and attached to a BufferQueue. The sink HAL can read buffers via the
stream handle rather than acquiring individual buffers from the
BufferQueue.

Change-Id: Ib3f262eddfc520f4bbe3d9b91753ed7dd09d3a9b

10 years agoRemove "screenshot"
Andy McFadden [Tue, 11 Mar 2014 18:21:21 +0000 (11:21 -0700)]
Remove "screenshot"

This is the old screenshot utility, which relies on direct access
to the framebuffer device.  It was replaced a long time ago by
"screencap", which talks to SurfaceFlinger (and includes a fallback
that tries to use the FB dev).

Change-Id: Id75a574bc78033761070b64d528fed06e23a0189

10 years agoBufferQueue: Allow detaching/reattaching buffers
Dan Stoza [Thu, 6 Mar 2014 23:14:33 +0000 (15:14 -0800)]
BufferQueue: Allow detaching/reattaching buffers

Adds detachBuffer and attachBuffer calls to both the producer and
consumer sides of BufferQueue. Buffers may be detached while dequeued
by the producer or acquired by the consumer, and when attached, enter
the dequeued and acquired states, respectively.

Bug: 13173343
Change-Id: Ic152692b0a94d99e0135b9bfa62747dab2a54220

10 years agoMerge "Support unique calibration per orientation"
Michael Wright [Mon, 10 Mar 2014 23:40:41 +0000 (23:40 +0000)]
Merge "Support unique calibration per orientation"

10 years agoMerge "Add test for InputReader location calibration"
Michael Wright [Mon, 10 Mar 2014 23:40:27 +0000 (23:40 +0000)]
Merge "Add test for InputReader location calibration"

10 years agoMerge "Initialize mAffineTransform and update on modification"
Michael Wright [Mon, 10 Mar 2014 23:40:14 +0000 (23:40 +0000)]
Merge "Initialize mAffineTransform and update on modification"

10 years agoSupport unique calibration per orientation
Jason Gerecke [Mon, 10 Mar 2014 16:47:59 +0000 (09:47 -0700)]
Support unique calibration per orientation

Updates the format of the calibration XML to store the Surface rotation
that a specific calibration applies to. Also updates the API to require
a rotation value for get/set, and has the native framework supply this
according to the current rotation whenever it changes.

Change-Id: If38563ceba27c9d8a75f9fd7928c8d7c9d187afb

10 years agoAdd test for InputReader location calibration
Jason Gerecke [Sat, 8 Sep 2012 00:19:40 +0000 (17:19 -0700)]
Add test for InputReader location calibration

This patch adds a test for the new native location calibration
code. The Java interface is not tested.

Change-Id: Id7496486f6b6e2ade12ada607b62d1594af488e8

10 years agoMerge "Introduce mAffineCalibration for location calibration"
Michael Wright [Mon, 10 Mar 2014 23:02:41 +0000 (23:02 +0000)]
Merge "Introduce mAffineCalibration for location calibration"

10 years agoInitialize mAffineTransform and update on modification
Jason Gerecke [Tue, 28 Jan 2014 02:34:20 +0000 (18:34 -0800)]
Initialize mAffineTransform and update on modification

This patch causes the InputReader to update its mAffineTransform to reflect
the currently-set calibration on startup and whenever its value is changed
through the InputManagerService.

Change-Id: I4719122a28afa9833772040f0433780a84240b9d

10 years agoIntroduce mAffineCalibration for location calibration
Jason Gerecke [Thu, 10 May 2012 21:22:47 +0000 (14:22 -0700)]
Introduce mAffineCalibration for location calibration

The variable mAffineCalibration describes the affine transformation
that should be applied to the raw X/Y location in order to get it
into a calibrated state.

Change-Id: I68aa43420ffe7fcaa1ada4acd7390d37e6966a1f

10 years agoDon't simulate color space after correction
Alan Viverette [Mon, 10 Mar 2014 19:42:08 +0000 (12:42 -0700)]
Don't simulate color space after correction

Change-Id: Ied0918ffa2be5f9382e693f442b142b3e068e735

10 years agoam 13c6fb10: am 1649c77e: Merge "ART profiler"
Dave Allison [Sat, 8 Mar 2014 07:28:20 +0000 (07:28 +0000)]
am 13c6fb10: am 1649c77e: Merge "ART profiler"

* commit '13c6fb1026531635f409f111d78d561592d2ede9':
  ART profiler

10 years agoam 7429e4f7: am 112aa42e: Merge "SurfaceFlinger: fix 64-bit format string warnings"
Greg Hackmann [Sat, 8 Mar 2014 07:28:19 +0000 (07:28 +0000)]
am 7429e4f7: am 112aa42e: Merge "SurfaceFlinger: fix 64-bit format string warnings"

* commit '7429e4f7d43cd42563ce77a3a4a861a392bc750f':
  SurfaceFlinger: fix 64-bit format string warnings

10 years agoam d711ef1d: am 37bf0789: Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.
Jeff Brown [Sat, 8 Mar 2014 05:44:49 +0000 (05:44 +0000)]
am d711ef1d: am 37bf0789: Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.

* commit 'd711ef1d78581a598e23be9730246cfa8ca75bb2':
  Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.

10 years agoam 1649c77e: Merge "ART profiler"
Dave Allison [Sat, 8 Mar 2014 01:56:32 +0000 (01:56 +0000)]
am 1649c77e: Merge "ART profiler"

* commit '1649c77ed29eada5de32ace97033b9d898e9a6eb':
  ART profiler

10 years agoam 112aa42e: Merge "SurfaceFlinger: fix 64-bit format string warnings"
Greg Hackmann [Sat, 8 Mar 2014 01:56:32 +0000 (01:56 +0000)]
am 112aa42e: Merge "SurfaceFlinger: fix 64-bit format string warnings"

* commit '112aa42e91b4bb0cde334753e2ad05e3f248b377':
  SurfaceFlinger: fix 64-bit format string warnings

10 years agoam 37bf0789: Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.
Jeff Brown [Fri, 7 Mar 2014 23:43:18 +0000 (23:43 +0000)]
am 37bf0789: Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.

* commit '37bf0789f5c1167f6f7f5667b09cad70e0bb27d4':
  Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.

10 years agoMerge "ART profiler"
Dave Allison [Fri, 7 Mar 2014 22:25:35 +0000 (22:25 +0000)]
Merge "ART profiler"

10 years agoDeclare KEYCODE_SLEEP and KEYCODE_WAKEUP.
Jeff Brown [Fri, 7 Mar 2014 21:57:59 +0000 (13:57 -0800)]
Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.

Bug: 12938999
Change-Id: I544661b3887332998d703b7b2df9e56c23ab48c4

10 years agoMerge "SurfaceFlinger: fix 64-bit format string warnings"
Greg Hackmann [Fri, 7 Mar 2014 21:47:30 +0000 (21:47 +0000)]
Merge "SurfaceFlinger: fix 64-bit format string warnings"

10 years agoSurfaceFlinger: fix 64-bit format string warnings
Greg Hackmann [Fri, 7 Mar 2014 20:44:02 +0000 (12:44 -0800)]
SurfaceFlinger: fix 64-bit format string warnings

Change-Id: Idacfbf0601743fba1c5de7632201a66a307a2710
Signed-off-by: Greg Hackmann <ghackmann@google.com>
10 years agoART profiler
Dave Allison [Thu, 30 Jan 2014 22:19:23 +0000 (14:19 -0800)]
ART profiler

Add args to the installd commands for profiler usage.
Make installd create the profile files and allow apps
to write to them.

The profile files are in /data/dalvik-cache/profiles.  This
central location is needed due to permissions issues with
dex2oat reading from an app's data directory.  The solution
is to put the profile file in a directory owned by the
install user and make the file writeable by the shared group
id of for the app.  The app can read and write to these files
only in the profiles directory.  The 'system' user also needs
to be able to read the files in order to determine the amount
of change to the file over time.

Bug: 12877748
Change-Id: I9b8e59e3bd7df8a1bf60fa7ffd376a24ba0eb42f

Conflicts:
cmds/installd/commands.c

10 years agoam c339554f: am 3a867ddc: am 19d64819: Bug fix for SensorFusion data rate.
Aravind Akella [Fri, 7 Mar 2014 03:02:58 +0000 (03:02 +0000)]
am c339554f: am 3a867ddc: am 19d64819: Bug fix for SensorFusion data rate.

* commit 'c339554f44550015c3a2aaa9c99cc53cc84ff590':
  Bug fix for SensorFusion data rate.

10 years agoRestore old OpenGL tests
Andy McFadden [Wed, 5 Mar 2014 23:06:53 +0000 (15:06 -0800)]
Restore old OpenGL tests

These tests call android_createDisplaySurface() to get a
FramebufferNativeWindow that is passed to EGL.  This relies on the
existence of the framebuffer HAL, which is not supported on many
recent devices.

This change adds a new "window surface" object that the tests
can use to get a window from SurfaceFlinger instead.  All tests
except for the HWC tests now appear to do things.

The HWC tests don't do anything useful, but they no longer depend
on the android_createDisplaySurface() function.

Bug 13323813

Change-Id: I2cbfbacb3452fb658c29e945b0c7ae7c94c1a4ba

10 years agoam 3a867ddc: am 19d64819: Bug fix for SensorFusion data rate.
Aravind Akella [Thu, 6 Mar 2014 22:45:48 +0000 (22:45 +0000)]
am 3a867ddc: am 19d64819: Bug fix for SensorFusion data rate.

* commit '3a867ddcdc7c65f6b07d2eeeebf6a3e520bd1cf0':
  Bug fix for SensorFusion data rate.

10 years agoam 19d64819: Bug fix for SensorFusion data rate.
Aravind Akella [Thu, 6 Mar 2014 22:16:15 +0000 (22:16 +0000)]
am 19d64819: Bug fix for SensorFusion data rate.

* commit '19d648195673b106152610e3787c95886946460f':
  Bug fix for SensorFusion data rate.

10 years agoBug fix for SensorFusion data rate.
Aravind Akella [Fri, 6 Dec 2013 00:24:59 +0000 (16:24 -0800)]
Bug fix for SensorFusion data rate.

SensorFusion is always returning data at the slowest possible sampling rate (5 Hz). batch() is getting called twice, first time with the requested rate and second time with the slowest rate (which overwrites the requested rate). Fix batch call in SensorFusion::activate()

Bug: 12064319
Change-Id: If62f3e514233f69810336fd22b136b4395b667d3
(cherry picked from commit 88509090387eeb400771a786171866710cca230c)

10 years agoMerge "FramebufferNativeWindow.h is obsolete"
Andy McFadden [Thu, 6 Mar 2014 15:31:39 +0000 (15:31 +0000)]
Merge "FramebufferNativeWindow.h is obsolete"

10 years agoam e7643e43: am 8ae7c02e: am ffac23b2: am 4b84704b: Ignore flush complete events...
Aravind Akella [Thu, 6 Mar 2014 02:57:23 +0000 (02:57 +0000)]
am e7643e43: am 8ae7c02e: am ffac23b2: am 4b84704b: Ignore flush complete events when recording last value for a sensor.

* commit 'e7643e431abc2d1b42ab1d68913ec22d0b180554':
  Ignore flush complete events when recording last value for a sensor.

10 years agoam 8ae7c02e: am ffac23b2: am 4b84704b: Ignore flush complete events when recording...
Aravind Akella [Thu, 6 Mar 2014 02:35:17 +0000 (02:35 +0000)]
am 8ae7c02e: am ffac23b2: am 4b84704b: Ignore flush complete events when recording last value for a sensor.

* commit '8ae7c02e6ffb5533958d04ac0d8f4a8d77fdb734':
  Ignore flush complete events when recording last value for a sensor.

10 years agoam 1d84e256: am 3c39e03c: Merge "Don\'t pass in empty arg to dex2oat."
Mathieu Chartier [Thu, 6 Mar 2014 02:29:17 +0000 (02:29 +0000)]
am 1d84e256: am 3c39e03c: Merge "Don\'t pass in empty arg to dex2oat."

* commit '1d84e25648efcda02e53910530f59a3c3351f152':
  Don't pass in empty arg to dex2oat.

10 years agoam ffac23b2: am 4b84704b: Ignore flush complete events when recording last value...
Aravind Akella [Thu, 6 Mar 2014 02:24:29 +0000 (02:24 +0000)]
am ffac23b2: am 4b84704b: Ignore flush complete events when recording last value for a sensor.

* commit 'ffac23b210a96e769fd79ae912b44a185e7d69bd':
  Ignore flush complete events when recording last value for a sensor.

10 years agoam 4b84704b: Ignore flush complete events when recording last value for a sensor.
Aravind Akella [Thu, 6 Mar 2014 02:18:29 +0000 (02:18 +0000)]
am 4b84704b: Ignore flush complete events when recording last value for a sensor.

* commit '4b84704b97300eff3ebfab85652e64d54149d205':
  Ignore flush complete events when recording last value for a sensor.

10 years agoDon't pass in empty arg to dex2oat.
Mathieu Chartier [Thu, 6 Mar 2014 00:58:03 +0000 (16:58 -0800)]
Don't pass in empty arg to dex2oat.

We would occassionally pass in an empty arg "" instead of a NULL.
This caused problems since dex2oat isn't made to handle empty args.

(cherry picked from commit f53dbfeda39c290ed67b0682d559a80cb42ceb79)

Change-Id: Ia2d60b895391bf83b5d250c20ddb8a4917d347a6

10 years agoam 3c39e03c: Merge "Don\'t pass in empty arg to dex2oat."
Mathieu Chartier [Thu, 6 Mar 2014 01:05:22 +0000 (01:05 +0000)]
am 3c39e03c: Merge "Don\'t pass in empty arg to dex2oat."

* commit '3c39e03c08094ce65608cae8a45dd726cf10b5c3':
  Don't pass in empty arg to dex2oat.

10 years agoMerge "Don't pass in empty arg to dex2oat."
Mathieu Chartier [Thu, 6 Mar 2014 01:01:08 +0000 (01:01 +0000)]
Merge "Don't pass in empty arg to dex2oat."

10 years agoDon't pass in empty arg to dex2oat.
Mathieu Chartier [Thu, 6 Mar 2014 00:58:03 +0000 (16:58 -0800)]
Don't pass in empty arg to dex2oat.

We would occassionally pass in an empty arg "" instead of a NULL.
This caused problems since dex2oat isn't made to handle empty args.

Change-Id: Ibb1aed64a4aa17459b2a75a5a2abcf13c7fa8ac7

10 years agoIgnore flush complete events when recording last value for a sensor.
Aravind Akella [Tue, 4 Mar 2014 03:02:46 +0000 (19:02 -0800)]
Ignore flush complete events when recording last value for a sensor.

Bug: 11822806
Change-Id: I1402d6684ed71ed413aef6a7be3aad945b331ec2

10 years agoFramebufferNativeWindow.h is obsolete
Andy McFadden [Wed, 5 Mar 2014 23:40:26 +0000 (15:40 -0800)]
FramebufferNativeWindow.h is obsolete

This adds a deprecation #warning to the header.

Change-Id: Ia32f16e491cb01d435ec8846dda3d9a7d1a9cfc5

10 years agoam c9e60374: am e19c99aa: Merge "Add dalvik.vm.dex2oat-flags to mimic dalvik.vm.dexop...
Brian Carlstrom [Wed, 5 Mar 2014 22:33:26 +0000 (22:33 +0000)]
am c9e60374: am e19c99aa: Merge "Add dalvik.vm.dex2oat-flags to mimic dalvik.vm.dexopt-flags"

* commit 'c9e60374f5144e94103e5b866570be114aa165c8':
  Add dalvik.vm.dex2oat-flags to mimic dalvik.vm.dexopt-flags

10 years agoam e19c99aa: Merge "Add dalvik.vm.dex2oat-flags to mimic dalvik.vm.dexopt-flags"
Brian Carlstrom [Wed, 5 Mar 2014 20:09:46 +0000 (20:09 +0000)]
am e19c99aa: Merge "Add dalvik.vm.dex2oat-flags to mimic dalvik.vm.dexopt-flags"

* commit 'e19c99aad605c395f53bf39ae1a27e298e7e33ce':
  Add dalvik.vm.dex2oat-flags to mimic dalvik.vm.dexopt-flags

10 years agoMerge "Add dalvik.vm.dex2oat-flags to mimic dalvik.vm.dexopt-flags"
Brian Carlstrom [Wed, 5 Mar 2014 20:02:00 +0000 (20:02 +0000)]
Merge "Add dalvik.vm.dex2oat-flags to mimic dalvik.vm.dexopt-flags"

10 years agoMerge "Change BufferQueue into producer/consumer wrapper"
Dan Stoza [Wed, 5 Mar 2014 18:55:13 +0000 (18:55 +0000)]
Merge "Change BufferQueue into producer/consumer wrapper"

10 years agoam f8da9623: (-s ours) am 1298c7e5: Merge "Parse LED mappings in keylayout files...
Michael Wright [Wed, 5 Mar 2014 01:00:51 +0000 (01:00 +0000)]
am f8da9623: (-s ours) am 1298c7e5: Merge "Parse LED mappings in keylayout files. DO NOT MERGE" into klp-modular-dev

* commit 'f8da9623f3f565d0be9ade3d3439c45aa23dd229':
  Parse LED mappings in keylayout files. DO NOT MERGE

10 years agoam 1298c7e5: Merge "Parse LED mappings in keylayout files. DO NOT MERGE" into klp...
Michael Wright [Wed, 5 Mar 2014 00:54:24 +0000 (00:54 +0000)]
am 1298c7e5: Merge "Parse LED mappings in keylayout files. DO NOT MERGE" into klp-modular-dev

* commit '1298c7e527fd242a39f9c0d53aa4f35d1c9decab':
  Parse LED mappings in keylayout files. DO NOT MERGE

10 years agoMerge "Parse LED mappings in keylayout files. DO NOT MERGE" into klp-modular-dev
Michael Wright [Wed, 5 Mar 2014 00:51:43 +0000 (00:51 +0000)]
Merge "Parse LED mappings in keylayout files. DO NOT MERGE" into klp-modular-dev

10 years agoChange BufferQueue into producer/consumer wrapper
Dan Stoza [Mon, 3 Mar 2014 18:16:19 +0000 (10:16 -0800)]
Change BufferQueue into producer/consumer wrapper

Now that BufferQueue has been split into core + producer + consumer,
rewrite BufferQueue to be a thin layer over a producer and consumer
interface. Eventually, this layer will be deprecated in favor of
only using either the producer or consumer interface, as applicable.

Change-Id: I340ae5f5b633b244fb594615ff52ba50b9e2f7e4

10 years agoam 1738d4fc: am 462fb3a8: Merge "gui: Fix return code assert in CpuConsumer_test."
Igor Murashkin [Tue, 4 Mar 2014 22:35:04 +0000 (22:35 +0000)]
am 1738d4fc: am 462fb3a8: Merge "gui: Fix return code assert in CpuConsumer_test."

* commit '1738d4fca78b7678d09d5c8898e1f80fa63b4a6d':
  gui: Fix return code assert in CpuConsumer_test.

10 years agoAdd dalvik.vm.dex2oat-flags to mimic dalvik.vm.dexopt-flags
Brian Carlstrom [Tue, 11 Feb 2014 00:42:52 +0000 (16:42 -0800)]
Add dalvik.vm.dex2oat-flags to mimic dalvik.vm.dexopt-flags

Change-Id: Ic048ed654ea0ae38c9684e5fa5b14742b6b83305

10 years agoam 462fb3a8: Merge "gui: Fix return code assert in CpuConsumer_test."
Igor Murashkin [Tue, 4 Mar 2014 21:10:33 +0000 (21:10 +0000)]
am 462fb3a8: Merge "gui: Fix return code assert in CpuConsumer_test."

* commit '462fb3a8d597fffef3d5534544428d5cee9d8c16':
  gui: Fix return code assert in CpuConsumer_test.

10 years agoMerge "gui: Fix return code assert in CpuConsumer_test."
Igor Murashkin [Tue, 4 Mar 2014 21:05:40 +0000 (21:05 +0000)]
Merge "gui: Fix return code assert in CpuConsumer_test."

10 years agoMerge "Split BufferQueue into core + producer + consumer"
Dan Stoza [Tue, 4 Mar 2014 20:03:59 +0000 (20:03 +0000)]
Merge "Split BufferQueue into core + producer + consumer"

10 years agoam eac548c6: am 61d6a008: Merge "hwc test: 64-bit compilation error"
Mark Salyzyn [Tue, 4 Mar 2014 19:22:43 +0000 (19:22 +0000)]
am eac548c6: am 61d6a008: Merge "hwc test: 64-bit compilation error"

* commit 'eac548c65c30b04983a8c904f9a1c6003d428196':
  hwc test: 64-bit compilation error

10 years agoam 61d6a008: Merge "hwc test: 64-bit compilation error"
Mark Salyzyn [Tue, 4 Mar 2014 19:18:03 +0000 (19:18 +0000)]
am 61d6a008: Merge "hwc test: 64-bit compilation error"

* commit '61d6a00895d2e8b9085278d0acbf98c19e7d6ed5':
  hwc test: 64-bit compilation error

10 years agoMerge "hwc test: 64-bit compilation error"
Mark Salyzyn [Tue, 4 Mar 2014 19:10:28 +0000 (19:10 +0000)]
Merge "hwc test: 64-bit compilation error"

10 years agoSplit BufferQueue into core + producer + consumer
Dan Stoza [Fri, 28 Feb 2014 19:17:17 +0000 (11:17 -0800)]
Split BufferQueue into core + producer + consumer

Change-Id: Idc39f1e511d68ce4f02202d35425a419bc0bcd92

10 years agohwc test: 64-bit compilation error
Mark Salyzyn [Tue, 4 Mar 2014 17:11:04 +0000 (09:11 -0800)]
hwc test: 64-bit compilation error

* cast 1u to size_t in max() argument lists

Change-Id: I02f711c89e96e4cfc348f1c7bac455339bec2fa1

10 years agoam 8ffc2346: am 6e79cb81: Enable OMAP4 SGX workaround for OMAP3 too
Simon Wilson [Tue, 4 Mar 2014 01:00:23 +0000 (01:00 +0000)]
am 8ffc2346: am 6e79cb81: Enable OMAP4 SGX workaround for OMAP3 too

* commit '8ffc2346b86ef5a0d686b43229d2bbd70545a208':
  Enable OMAP4 SGX workaround for OMAP3 too

10 years agoam 6e79cb81: Enable OMAP4 SGX workaround for OMAP3 too
Simon Wilson [Tue, 4 Mar 2014 00:20:43 +0000 (00:20 +0000)]
am 6e79cb81: Enable OMAP4 SGX workaround for OMAP3 too

* commit '6e79cb81d02984c9f7ac0586078f947c94c56c2a':
  Enable OMAP4 SGX workaround for OMAP3 too

10 years agoParse LED mappings in keylayout files. DO NOT MERGE
Michael Wright [Fri, 18 Oct 2013 00:35:53 +0000 (17:35 -0700)]
Parse LED mappings in keylayout files. DO NOT MERGE

Change-Id: I2b34939cc0df256e6b872502ea93f2884b4c8334