OSDN Git Service
Mathias Agopian [Sat, 4 Aug 2012 00:14:52 +0000 (17:14 -0700)]
am
d3ee231e: cleanups in preparation of bigger changes
* commit '
d3ee231eddce0b69ec5e35188dbd0f4a2c3b9ac3':
cleanups in preparation of bigger changes
Mathias Agopian [Sat, 4 Aug 2012 00:14:52 +0000 (17:14 -0700)]
am
0f2f5ff7: rename DisplayHardware to DisplayDevice
* commit '
0f2f5ff75b7b48ceb64270655ee6b62d09bf4d00':
rename DisplayHardware to DisplayDevice
Mathias Agopian [Sat, 4 Aug 2012 00:14:51 +0000 (17:14 -0700)]
am
be246f86: Layers are now sorted by layer-stack first, then by z-order
* commit '
be246f86bd6378a5110e81e9d9068ab03c3b077e':
Layers are now sorted by layer-stack first, then by z-order
Mathias Agopian [Sat, 4 Aug 2012 00:14:50 +0000 (17:14 -0700)]
am
52bbb1ae: getting closer to final main composition loop
* commit '
52bbb1ae239c8a4d05543a23fa8c08467d09c3b2':
getting closer to final main composition loop
Mathias Agopian [Sat, 4 Aug 2012 00:14:49 +0000 (17:14 -0700)]
am
87baae10: get rid of global regions that should be tracked per display
* commit '
87baae104a3e4c2059990b01c393476065c558b0':
get rid of global regions that should be tracked per display
Mathias Agopian [Thu, 2 Aug 2012 21:01:42 +0000 (14:01 -0700)]
cleanups in preparation of bigger changes
- fix typo drawForSreenshot misspelled
- get rid of DisplayDeviceBase
- removed unused or unneeded code
- always pass a DisplayDevice to Layer methods that are called
on a per-display basis (to make it clear that this could be
called more than once per composition).
Change-Id: Id948b7e09fe5c06db0e42d40d6ed75dd095c7f44
Mathias Agopian [Wed, 1 Aug 2012 06:09:07 +0000 (23:09 -0700)]
rename DisplayHardware to DisplayDevice
Change-Id: I3f7250cd914e0da4f9ec2c9403587bbe12f3cc62
Mathias Agopian [Wed, 1 Aug 2012 05:59:38 +0000 (22:59 -0700)]
Layers are now sorted by layer-stack first, then by z-order
Change-Id: I7a82929df5ba87b9d88cc5be87e1a233bc4628e9
Mathias Agopian [Wed, 1 Aug 2012 02:01:53 +0000 (19:01 -0700)]
getting closer to final main composition loop
Change-Id: Icd63782366ffd11d9ea00c925ae5783ed7440cdb
Mathias Agopian [Tue, 31 Jul 2012 19:38:26 +0000 (12:38 -0700)]
get rid of global regions that should be tracked per display
Change-Id: I3b871860cc29f1b2fdcc22b0c577a6eae65d9296
The Android Open Source Project [Thu, 2 Aug 2012 18:26:38 +0000 (11:26 -0700)]
Reconcile with jb-mr1-release - do not merge
Change-Id: Ied7fb684e20303e807cb5f06d7cdcdf8e2e16276
The Android Automerger [Thu, 2 Aug 2012 14:16:59 +0000 (07:16 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev
Romain Guy [Thu, 2 Aug 2012 02:20:44 +0000 (19:20 -0700)]
am
53f10b7b: Merge "Add missing break in switch statement" into jb-mr1-dev
* commit '
53f10b7b13363e6d017985ead704494fe79c9e09':
Add missing break in switch statement
Romain Guy [Thu, 2 Aug 2012 02:18:10 +0000 (19:18 -0700)]
Merge "Add missing break in switch statement" into jb-mr1-dev
Dianne Hackborn [Thu, 2 Aug 2012 02:17:59 +0000 (19:17 -0700)]
am
22ea9b37: Dalvik heap size for a 10" xhdpi tablet.
* commit '
22ea9b37e2a2b5e3e0e2e1d556f499fc20a9de17':
Dalvik heap size for a 10" xhdpi tablet.
Romain Guy [Thu, 2 Aug 2012 02:16:59 +0000 (19:16 -0700)]
Add missing break in switch statement
Change-Id: I6206cc9ca46c4e2f125d3d820256280586ad66a1
Dianne Hackborn [Thu, 2 Aug 2012 01:14:45 +0000 (18:14 -0700)]
Dalvik heap size for a 10" xhdpi tablet.
Change-Id: Ie47702cda764817e023464944cd6dc5352fc439e
Jamie Gennis [Wed, 1 Aug 2012 00:15:28 +0000 (17:15 -0700)]
am
1dd2003f: Merge "libgui: enable EGL_fence_sync usage for exynos5" into jb-mr1-dev
* commit '
1dd2003f1a9a7a4826da7a4b565d41b941b7cc5d':
libgui: enable EGL_fence_sync usage for exynos5
Jamie Gennis [Wed, 1 Aug 2012 00:13:31 +0000 (17:13 -0700)]
Merge "libgui: enable EGL_fence_sync usage for exynos5" into jb-mr1-dev
Jamie Gennis [Tue, 31 Jul 2012 21:01:57 +0000 (14:01 -0700)]
libgui: enable EGL_fence_sync usage for exynos5
Bug:
6876502
Change-Id: I2ec2800881dcba9e4f6ff32ffa1341a2de01f0a2
Jesse Hall [Tue, 31 Jul 2012 23:20:18 +0000 (16:20 -0700)]
am
cbc388ca: Merge "Move eglSwapBuffers out of HWComposer" into jb-mr1-dev
* commit '
cbc388ca6a363d5228e69fdab5c583877a760280':
Move eglSwapBuffers out of HWComposer
Jesse Hall [Tue, 31 Jul 2012 23:17:52 +0000 (16:17 -0700)]
Merge "Move eglSwapBuffers out of HWComposer" into jb-mr1-dev
The Android Open Source Project [Tue, 31 Jul 2012 22:03:17 +0000 (15:03 -0700)]
Reconcile with jb-mr1-release - do not merge
Change-Id: I198408ef678851f19476836b10a2fc002dd11a95
Jesse Hall [Tue, 31 Jul 2012 19:16:31 +0000 (12:16 -0700)]
Revert "Minimal changes to support multi-display HWC"
This reverts commit
bddd724b178b1263c16e41b564165fcd0e93ff83
Change-Id: Ib7db20b5b3de4779b6e173473a33976ae398abd4
Jesse Hall [Tue, 31 Jul 2012 19:25:36 +0000 (12:25 -0700)]
am
b6ae16f0: Merge "Revert "Minimal changes to support multi-display HWC"" into jb-mr1-dev
* commit '
b6ae16f04e0655f938cd511c3965fa00e2ae6763':
Revert "Minimal changes to support multi-display HWC"
Jesse Hall [Tue, 31 Jul 2012 19:24:16 +0000 (12:24 -0700)]
Merge "Revert "Minimal changes to support multi-display HWC"" into jb-mr1-dev
Jesse Hall [Tue, 31 Jul 2012 19:16:31 +0000 (12:16 -0700)]
Revert "Minimal changes to support multi-display HWC"
This reverts commit
bddd724b178b1263c16e41b564165fcd0e93ff83
Change-Id: Ib7db20b5b3de4779b6e173473a33976ae398abd4
The Android Open Source Project [Tue, 31 Jul 2012 14:51:52 +0000 (07:51 -0700)]
Sync with jb-mr1-dev
Change-Id: I8ad322a285ffbcda32be279f3e06fdb2908789d9
Jesse Hall [Tue, 31 Jul 2012 04:20:04 +0000 (21:20 -0700)]
Merge "Minimal changes to support multi-display HWC" into jb-mr1-dev
Jesse Hall [Mon, 30 Jul 2012 05:35:34 +0000 (22:35 -0700)]
Move eglSwapBuffers out of HWComposer
Commit
8630320 moved the eglSwapBuffers fallback (for devices with no
HWC implementation) from DisplayHardware to HWComposer. But HWComposer
only knows about the framebuffer EGL display and surface handles if
there is a HWC, so it was always passing bogus handles.
This change moves the eglSwapBuffers fallback up to SurfaceFlinger,
which has access to the framebuffer EGL handles.
Bug:
6886613
Change-Id: Iad3f5ff7c90ee48d7053999e6a4548d6794b6ebd
Mathias Agopian [Mon, 30 Jul 2012 22:21:59 +0000 (15:21 -0700)]
Merge "log more info on fence sync_merge error" into jb-mr1-dev
Mathias Agopian [Mon, 30 Jul 2012 22:10:35 +0000 (15:10 -0700)]
log more info on fence sync_merge error
also fix a typo where the wrong value was passed to sterror.
Change-Id: I4df2abe582e14c8f816b65818f4593a6bd3c23ea
Ed Heyl [Sat, 28 Jul 2012 16:55:54 +0000 (09:55 -0700)]
Merge remote-tracking branch 'goog/jb-dev-mako' into jb-mr1-dev
Conflicts:
include/media/hardware/CryptoAPI.h
Change-Id: I84bf34edbef000558f088bbf1d1e5b55d6217d2e
The Android Open Source Project [Fri, 27 Jul 2012 22:45:33 +0000 (15:45 -0700)]
The Android Open Source Project [Fri, 27 Jul 2012 21:52:00 +0000 (14:52 -0700)]
Reconcile with jb-release
Change-Id: Ied4d1f919062ea2abeee45ce4ecbc92a105b8f3d
Jesse Hall [Thu, 26 Jul 2012 05:15:40 +0000 (22:15 -0700)]
Minimal changes to support multi-display HWC
Change-Id: I5efea78ac381c3e3118e6e92b508f336233ac319
Mathias Agopian [Thu, 26 Jul 2012 01:56:13 +0000 (18:56 -0700)]
get rid of the shared-memory control block
Change-Id: If814060aca1d2ff2619d4adcd57296983d207f7f
Mathias Agopian [Thu, 26 Jul 2012 04:12:12 +0000 (21:12 -0700)]
hopefully fixe a race condition in sf initialization
if we received a vsync event during SF init, we could crash
as not all objects were ready to go.
Change-Id: Ie11b46e3eb1b37a709dd8757843d444f93dd0189
Mathias Agopian [Wed, 25 Jul 2012 05:46:10 +0000 (22:46 -0700)]
split HWComposer out of DisplayHardware
we will only ever have a single instance of HWComposer, so
it's now an attribute of SurfaceFlinger, instead of being part
of DisplayHardware.
DisplayHardware now just represents a "display" (it should be renamed).
Change-Id: Iec191e57686868e1df6daa8b880a286c9fefde56
Mathias Agopian [Wed, 25 Jul 2012 04:08:59 +0000 (21:08 -0700)]
get rid of ro.sf.hwrotation, it's not used anymore
Change-Id: I2ee469ac89ecd65d7187be5cab08b5cc18f67cbe
Mathias Agopian [Wed, 25 Jul 2012 04:41:09 +0000 (21:41 -0700)]
add a layerStack attribute to Layers.
this attribute can be set through a regular transaction using
SurfaceComposerClient (just like any other attribute, eg: position or size)
Change-Id: I701a47c677ea6442ca713728a93335328cd2b172
Mathias Agopian [Wed, 25 Jul 2012 03:43:54 +0000 (20:43 -0700)]
update SF binder protocol to support setting display attributes
no change of functionality -- the old behavior is implemented
on top of this new protocol.
this new protocol will allow, eventually, to pass informations
about displays and layer stacks.
Change-Id: Ic6c2295e61ec8ecbc8ce01ab7664e35d928202fc
The Android Automerger [Wed, 25 Jul 2012 03:23:13 +0000 (20:23 -0700)]
merge in jb-release history after reset to jb-dev
Mathias Agopian [Tue, 24 Jul 2012 06:11:29 +0000 (23:11 -0700)]
SurfaceFlinger cleanup
mostly refactored SurfaceFlinger.h, but also removed dead code.
cleaned-up a few includes as well.
Change-Id: Ib15f4ffe567912b61ee98aa076c6a283b72811b5
Thomas Tafertshofer [Mon, 23 Jul 2012 23:52:32 +0000 (16:52 -0700)]
Fixed bug in opengl es binding generation
This fixes the glgen code generation for methods
which have a buffer arg that can be NULL.
Bug:
6845189
Change-Id: I5fb745b806601e5665f97bfd15fd865cd9c241ed
Mathias Agopian [Mon, 23 Jul 2012 23:25:43 +0000 (16:25 -0700)]
Merge "glgen stubs to fix bad methods in gles20 bindings"
Jamie Gennis [Mon, 23 Jul 2012 23:21:58 +0000 (16:21 -0700)]
Merge "Update the EGL_ANDROID_fence_sync spec."
Jamie Gennis [Fri, 20 Jul 2012 18:55:07 +0000 (11:55 -0700)]
Update the EGL_ANDROID_fence_sync spec.
Change-Id: I26589e51c2023aed4da8a25a098b01804200ddc2
Jesse Hall [Mon, 23 Jul 2012 20:11:19 +0000 (13:11 -0700)]
Increment iterator on early-out too
Bug:
6860046
Change-Id: I82f9e4062cb58d5479c9d8dc5f2f0770a1dcc605
Jesse Hall [Sun, 22 Jul 2012 01:51:20 +0000 (18:51 -0700)]
Merge "Handle empty HWC layer list when composing"
Jesse Hall [Thu, 19 Jul 2012 23:44:38 +0000 (16:44 -0700)]
Handle empty HWC layer list when composing
Bug:
6777877
Change-Id: I71e9b948d04dda33d45cfa986d9c7e28328cf749
Nick Pelly [Fri, 20 Jul 2012 16:46:14 +0000 (09:46 -0700)]
Merge "Add elapsedRealtimeNano(), and use CLOCK_BOOTTIME where possible."
Thomas Tafertshofer [Thu, 19 Jul 2012 23:50:08 +0000 (16:50 -0700)]
glgen stubs to fix bad methods in gles20 bindings
this adds correct versions of the broken GLES20 methods
glGetShaderSource, glGetActiveAttrib and glGetActiveUniform.
the old broken methods are still there and need to be @hide later.
Bug:
6006380
Change-Id: Ide74242ada54b85459b459ae4f20cd26a23c7610
Nick Pelly [Thu, 19 Jul 2012 16:17:24 +0000 (09:17 -0700)]
Add elapsedRealtimeNano(), and use CLOCK_BOOTTIME where possible.
Change-Id: I4231c8ca32663e6e2cb5b7c126d091f837373807
Mathias Agopian [Thu, 12 Jul 2012 21:25:33 +0000 (14:25 -0700)]
factor EGL/GL and surface creation out of DisplayHardware
Change-Id: Icd85a6a4caad06f056578008af3e21666fa8b1f4
Mathias Agopian [Wed, 11 Jul 2012 20:48:17 +0000 (13:48 -0700)]
mVisibleLayersSortedByZ is now maintained per display
Change-Id: Idcdb77eba1a3f99b3e4b2150128a82acaffcd2a8
Mathias Agopian [Thu, 19 Jul 2012 01:31:41 +0000 (18:31 -0700)]
Merge "OpenGL bindings fix for methods with iobuffer args"
Mathias Agopian [Thu, 19 Jul 2012 01:30:45 +0000 (18:30 -0700)]
Merge "Remove @hide from the generated EGL 1.4 API"
The Android Automerger [Wed, 18 Jul 2012 01:12:12 +0000 (18:12 -0700)]
am
f455c9a2: merge in jb-release history after reset to jb-dev
* commit '
f455c9a267332960334794428c2abc5f716ee6ea':
SF could get stuck waiting for vsync when turning the screen off
libgui: improve some logging and dumping
libgui: improve some logging and dumping
Workaround for add_tid_to_cgroup failed to write
make sure to repaint the screen when screen turns on
Add sdcard_r group to dumpstate.
Ensure that /data/anr/traces.txt is world-writable
displayhardware: fix not obeying ro.sf.lcd_density when specified
Edwin Wong [Tue, 17 Jul 2012 21:38:28 +0000 (14:38 -0700)]
Merge from jb-dev for "sample video corruption in MediaCodec mode." DO NOT MERGE
jb-dev commit:
fa2b8f243eb048fb2b8e5a14356190f69eb31a36
Change-Id: Ic2a28663d25e3007c95e15ecbb0d44b820045f85
related-to-bug:
6732061
Jeff Brown [Mon, 16 Jul 2012 23:18:23 +0000 (16:18 -0700)]
Merge "Remove unused layer flags."
Jeff Brown [Mon, 16 Jul 2012 23:05:50 +0000 (16:05 -0700)]
Remove unused layer flags.
Change-Id: Ia85365f18770a9a2c0a0e30ae56b6c2226d41be6
Colin Cross [Mon, 16 Jul 2012 22:58:28 +0000 (15:58 -0700)]
Merge "surfaceflinger: call into hardware composer to blank screen"
Jeff Brown [Mon, 16 Jul 2012 22:53:12 +0000 (15:53 -0700)]
Merge "Remove freeze(), unfreeze() and setFreezeTint()."
Jeff Brown [Mon, 16 Jul 2012 22:53:07 +0000 (15:53 -0700)]
Merge "Remove freezeDisplay(), which is no-op."
Jeff Brown [Mon, 16 Jul 2012 22:38:18 +0000 (15:38 -0700)]
Remove freeze(), unfreeze() and setFreezeTint().
This is all dead code.
Change-Id: I646673aac793a6ec45021c370a2450f0ea4fbcce
Jeff Brown [Mon, 16 Jul 2012 21:58:11 +0000 (14:58 -0700)]
Remove freezeDisplay(), which is no-op.
Change-Id: I2b70249a1545636fd6d98b58057b22f9529cad21
Edwin Wong [Sat, 14 Jul 2012 00:54:30 +0000 (17:54 -0700)]
am
647336c7: am
e0daeb39: Fixed sample video corrupted in MediaCodec mode.
* commit '
647336c76e8da68fb44ca52ec14a8a2c6d5735bb':
Fixed sample video corrupted in MediaCodec mode.
Thomas Tafertshofer [Thu, 12 Jul 2012 22:54:56 +0000 (15:54 -0700)]
Remove @hide from the generated EGL 1.4 API
Change-Id: Ia5707533fcf1186ef648b8a4e25987f5e7e7dea3
Colin Cross [Fri, 13 Jul 2012 00:56:34 +0000 (17:56 -0700)]
surfaceflinger: call into hardware composer to blank screen
Call into the new HWC blank operation to blank or unblank the screen.
Legacy systems may have already blanked the screen via early suspend,
and can choose to not implement the blank operation in their hardware
composer implementation.
Change-Id: Ib403c8c0e36367a2cfef3e1d124872fcfeb9e7cb
Edwin Wong [Fri, 13 Jul 2012 22:12:23 +0000 (15:12 -0700)]
am
e0daeb39: Fixed sample video corrupted in MediaCodec mode.
* commit '
e0daeb3933e034f037630715e4cd2ecb3880498b':
Fixed sample video corrupted in MediaCodec mode.
Edwin Wong [Wed, 11 Jul 2012 02:57:26 +0000 (19:57 -0700)]
Fixed sample video corrupted in MediaCodec mode.
Change-Id: Ibe11a83199f3db1ba6266a1a9e11c7fc24ceb554
related-to-bug:
6732061
Thomas Tafertshofer [Thu, 12 Jul 2012 18:16:20 +0000 (11:16 -0700)]
OpenGL bindings fix for methods with iobuffer args
This changes generation of the OpenGL bindings to prevent
crashes of methods with more then one nio buffer argument.
Bug:
6772416
Change-Id: I4eff25c2f568dea78a6ffd3e95ff4620ab4b3b7d
Mathias Agopian [Thu, 12 Jul 2012 00:19:00 +0000 (17:19 -0700)]
Merge "one more step towards multiple display support"
Mathias Agopian [Wed, 11 Jul 2012 23:07:39 +0000 (16:07 -0700)]
Merge "improve glgen tool to support EGL1.4"
Thomas Tafertshofer [Fri, 15 Jun 2012 23:22:43 +0000 (16:22 -0700)]
improve glgen tool to support EGL1.4
- added EGL1.4 bindings generation
- fixed bugs in GLES bindings
Bug:
6709865
Change-Id: I04ac63f652e1968a51eb833f47e00336ea449980
Mathias Agopian [Fri, 29 Jun 2012 21:12:52 +0000 (14:12 -0700)]
one more step towards multiple display support
- remove dependency on cached state in validateVisibility
- get rid of mVertices and mTransformedBounds
- get rid of validateVisibility
- get rid of unlockPageFlip
- handleTransaction now returns a dirty region
- computevisibileregion now uses window-manager space
Naseer Ahmed [Fri, 29 Jun 2012 19:02:32 +0000 (12:02 -0700)]
libs/ui: Add support for triple framebuffers
Change-Id: I90dd38deeeda9a3785b87286cc7d252c6f948750
Jesse Hall [Tue, 3 Jul 2012 20:41:54 +0000 (13:41 -0700)]
Fix check for fence merge success
Change-Id: I9b16526ebfe4ffabf7c4372cca9b192ce046aa21
Jesse Hall [Mon, 2 Jul 2012 23:49:28 +0000 (16:49 -0700)]
Only set acquire fences on overlay layers
Change-Id: I08e8173f83580de5a4e43a0ba5ea03e5ec6e8782
Jesse Hall [Fri, 29 Jun 2012 22:21:18 +0000 (15:21 -0700)]
Pass fence to HWC on first use of buffer
Also do a CPU-wait on the fence before using it for GL composition.
Change-Id: I0f645a42a44803276cae11b904e5a26d65871562
Jesse Hall [Thu, 28 Jun 2012 21:27:53 +0000 (14:27 -0700)]
Return fence from acquireBuffer
Change-Id: Iab22054c1dc4fd84affab3cc5bbdcd5a1e689666
Jesse Hall [Thu, 28 Jun 2012 19:52:05 +0000 (12:52 -0700)]
Pass fences with buffers from SurfaceTextureClient
Change-Id: I09b49433788d01e8b2b3684bb4d0112be29538d3
Jesse Hall [Fri, 29 Jun 2012 16:54:25 +0000 (09:54 -0700)]
Merge "Clarify aborted updateTexImage use of fences"
Jesse Hall [Fri, 29 Jun 2012 16:54:08 +0000 (09:54 -0700)]
Merge "Return fence to client in dequeuBuffer"
Mathias Agopian [Fri, 29 Jun 2012 02:46:54 +0000 (19:46 -0700)]
add a way to enable debugging sensors at runtime
if debug.sensors is true, extra debugging
sensors are enabled and HAL provided sensor fusion
is disabled
Change-Id: I9b093424edb8c5363d1337237cdf6abe4ab266f9
Mathias Agopian [Fri, 29 Jun 2012 01:21:43 +0000 (18:21 -0700)]
improve sensor fusion
we now use a better quaternion propagation equation
this is especially beneficial for lower gyroscope rates
Change-Id: Ifbf273c8a092a8849ca4fe4b9bca30787e924018
Mathias Agopian [Thu, 28 Jun 2012 01:51:43 +0000 (18:51 -0700)]
add some comments
Change-Id: Ia2e2c9531715fc2bd5b51c4dc58389e01abfe7e6
Mathias Agopian [Thu, 21 Jun 2012 00:51:20 +0000 (17:51 -0700)]
get rid of GraphicPlane
its functionality is now folded into DisplayHardware
there will be more changes in that area.
Jesse Hall [Thu, 28 Jun 2012 22:06:53 +0000 (15:06 -0700)]
Clarify aborted updateTexImage use of fences
When updateTexImage acquires a buffer but then aborts (due to an error
or the buffer being rejected), it releases the newly-acquired buffer.
It was passing the buffer slot's fences to releaseBuffer, even though
they hadn't been created after the acquire yet. This wasn't a bug,
since the fences would be cleared just after the buffer slot was last
released, but explicitly passing null fences makes this clearer.
Change-Id: I087f2ec3fd02c40f57782c1fca24eb9567e2943d
Jesse Hall [Mon, 25 Jun 2012 20:54:23 +0000 (13:54 -0700)]
Return fence to client in dequeuBuffer
Change-Id: Ic19750793ad993f0e85391f3cabd743ba565d4c9
Mathias Agopian [Tue, 19 Jun 2012 01:06:45 +0000 (18:06 -0700)]
First prototype atttempting to support an external display
both API and implementation will change, this is just a prototype
intended to show feasability.
SurfaceFlinger is passed an ISurfaceTexture through a new
callback, it is in turn used to create an EGLSurface which
surfaceflinger will draw into in addition to the main screen.
Change-Id: Id0bbb0b854bb7bae44d57246a90b65d4567f9a21
Mathias Agopian [Thu, 28 Jun 2012 21:47:54 +0000 (14:47 -0700)]
move sensorservice from frameworks/base to frameworks/native
this commit also imports all of sensorservice history.
Change-Id: Iadffcc92be600c48175b8afadcb15b6648532b3f
Mathias Agopian [Tue, 19 Jun 2012 01:49:08 +0000 (18:49 -0700)]
small improvement to sensor fusion
1) there was a typo when computing the system covariance
a term in dT^3 was ommitted; the impact was was very limited
because of how small this term is.
2) initialize the system covariance matrix with non-zero
values for the gyro-bias part. this improves the initial
bias estimation speed significantly.
3) added comments here and there
Change-Id: I4328c9cca73e089889d5e74b9fda99d7831762dc
Mathias Agopian [Thu, 31 May 2012 01:08:30 +0000 (18:08 -0700)]
fix a potential buffer overflow in sensorservice
Bug:
6580560
Change-Id: Icf6cafbca09174515a964a7cd69d8cc589ad52de
Mathias Agopian [Wed, 30 May 2012 02:46:14 +0000 (19:46 -0700)]
Fix a stack corruption in sensorservice
Bug:
6576732
Change-Id: If0f2fb0d0c35b932fb77cd262e676042145b28f9
Mathias Agopian [Fri, 20 Apr 2012 01:18:24 +0000 (18:18 -0700)]
fix a typo causing sensor event to be sorted in reverse chronological order
Change-Id: I041c64616d88ed1abb5efc90ed9eb0d9baeb4832
Mathias Agopian [Tue, 3 Apr 2012 01:38:02 +0000 (18:38 -0700)]
usea socketpair instead of a pipe in BitTube
Bug:
6252830
Change-Id: I363cc7e9f73a5b7d8bbccee312c6d8938c84e99a
Steve Block [Fri, 6 Jan 2012 19:20:56 +0000 (19:20 +0000)]
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220
Bug:
5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
Steve Block [Thu, 5 Jan 2012 23:22:43 +0000 (23:22 +0000)]
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/157065
Bug:
5449033
Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69