OSDN Git Service
Mathias Agopian [Tue, 6 Aug 2013 23:07:33 +0000 (16:07 -0700)]
remove support for glReadPixels screenshot path
this was only needed on some chipset we're not
supporting in KLP.
Change-Id: I2e8fc07f135030bd61d2e241a8e426f1a4316425
Mathias Agopian [Tue, 6 Aug 2013 22:19:15 +0000 (15:19 -0700)]
Fix build. 3rd attempt
Change-Id: I4317b34fd07890ea7cf9db51be42d72ef21aca89
Mathias Agopian [Fri, 2 Aug 2013 08:40:18 +0000 (01:40 -0700)]
All consumers now take an IGraphicBufferConsumer instead of a BufferQueue
this means they only have access to the consumer end of
the interface. we had a lot of code that assumed consumers
where holding a BufferQueue (i.e.: both ends), so most of
this change is untangling in fix that
Bug:
9265647
Change-Id: Ic2e2596ee14c7535f51bf26d9a897a0fc036d22c
Eino-Ville Talvala [Mon, 5 Aug 2013 21:10:45 +0000 (21:10 +0000)]
Merge "BufferQueue: Support query of consumer usage bits"
Andy McFadden [Fri, 2 Aug 2013 22:34:13 +0000 (22:34 +0000)]
Merge "Roll back recent change"
Andy McFadden [Fri, 2 Aug 2013 22:31:45 +0000 (15:31 -0700)]
Roll back recent change
Disable dropping of frames based on timestamp. Resume auto-
generating timestamps in Surface.
Bug
10151804
Change-Id: I15de26158e1d7ef22a5b150e685a126dc48ae2b4
Mathias Agopian [Fri, 2 Aug 2013 20:35:26 +0000 (20:35 +0000)]
Merge "Binderize the consumer side of BufferQueue"
Andy McFadden [Fri, 2 Aug 2013 16:53:11 +0000 (16:53 +0000)]
Merge "Drop frames based on presentation timestamp"
Mathias Agopian [Thu, 1 Aug 2013 03:09:53 +0000 (20:09 -0700)]
Binderize the consumer side of BufferQueue
While currently untested, this should allow to move the
BuffereQueue in the consumer process and have everything
work as usual.
Bug:
9265647
Change-Id: I9ca8f099f7c65b9a27b7e7a3643b46d1b58eacfc
Andy McFadden [Thu, 1 Aug 2013 20:37:42 +0000 (13:37 -0700)]
Drop frames based on presentation timestamp
If there are two or more buffers pending that are ready for
immediate presentation, drop all but the last one.
Any code that didn't explicitly specify timestamps for buffers
was using the default value (auto-generated "now"). As a result,
surfaceflinger would drop frames whenever more than one buffer
was queued. We now use zero as the auto-generated timestamp,
and we don't set the timestamp in eglBeginFrame().
Change-Id: I187f42d33de227cd3411ff0dcd3b9ce1961457eb
Mathias Agopian [Thu, 1 Aug 2013 22:48:40 +0000 (15:48 -0700)]
log an error when dequeueBuffer gets a NULL Fence
Bug:
9858745
Change-Id: If35d6a7d770bf0a42d55bc55880a9ddb721fcfd0
Mathias Agopian [Thu, 1 Aug 2013 02:18:22 +0000 (19:18 -0700)]
remove unused code form GraphicBuffer
Change-Id: I0dd67f1f93f654331e8f17b55730931dbc695ca7
Alex Ray [Tue, 30 Jul 2013 19:48:57 +0000 (12:48 -0700)]
remove libutils
libutils is being moved from frameworks/native/ to system/core/ in order
to facilitate native C++ platform (non-frameworks) code.
Change-Id: I44089fb960591a40b8a9c30faabb10459d107d71
Brian Carlstrom [Wed, 31 Jul 2013 08:08:36 +0000 (01:08 -0700)]
Fix BlobCache_test
Change-Id: I5b20aeb4dcff80f1e18e1165b8461d20034dc1ac
Mathias Agopian [Tue, 30 Jul 2013 04:24:40 +0000 (21:24 -0700)]
Make Flattenable not virtual
Fallout from the Flattenable change, update all its uses.
Additionnaly, fix/tighten size checks when (un)flatten()ing
things.
Removed the assumption by some flattenables (e.g.: Fence)
that the size passed to them would be exact (it can
and will be larger in some cases)
The code in Parcel is a bit complicated so that we don't
have to expose the full implementation (and also to
keep the code smallish).
Change-Id: I0bf1c8aca2a3128491b4f45510bc46667e566dde
Mathias Agopian [Tue, 30 Jul 2013 04:24:40 +0000 (21:24 -0700)]
Make Flattenable not virtual (libutils)
Making an object Flattenable doesn't force it to
become virtual anymore. For instance, Fence and GraphicBuffer
are now non-virtual classes.
Also change Flatennable protocol a bit so that it updates
its parameters (pointers, sizes) to make it easier
to implement a flattenable in terms of other flattenables.
Change-Id: Ie81dc7637180b3c2cfcbaf644f8987ca804eb891
Jamie Gennis [Tue, 30 Jul 2013 22:37:57 +0000 (22:37 +0000)]
Merge "EGL: fix eglTerminate blob cache behavior"
Jamie Gennis [Tue, 30 Jul 2013 22:10:02 +0000 (15:10 -0700)]
EGL: fix eglTerminate blob cache behavior
Bug:
9610573
Change-Id: I258e7e0d82ab76fbacf0b9c25d4f92fca6df04ac
Eino-Ville Talvala [Tue, 30 Jul 2013 21:05:02 +0000 (14:05 -0700)]
BufferQueue: Support query of consumer usage bits
Bug:
9592202
Change-Id: I61a17758200e61adaca695b426db3df0f6637d4c
Wink Saville [Tue, 30 Jul 2013 19:28:02 +0000 (12:28 -0700)]
am
9f476fd0: Merge "Add a symbol to represent MNC=0"
* commit '
9f476fd08079701d1ad0f7c591667b6e673ed38e':
Add a symbol to represent MNC=0
Wink Saville [Tue, 30 Jul 2013 19:19:41 +0000 (19:19 +0000)]
Merge "Add a symbol to represent MNC=0"
Mike J. Chen [Tue, 30 Jul 2013 17:19:24 +0000 (10:19 -0700)]
SurfaceFlinger: Set the result of binderized screencapture
A recent change to screencapture to have the call to
IGraphicBufferProducer happen on the incoming binder
thread didn't set the result so the result was always
returned as NO_ERROR.
This made screencap fail on some devices (e.g. Wolfie)
which relies on some kind of fallback mechanism to
generate the screencap but the fallback mechanism
doesn't get triggered because the error isn't returned.
Bug:
9989385
Change-Id: I2aee91ea1034869fcbb0f49b9a0087c3cff43bbe
Signed-off-by: Mike J. Chen <mjchen@google.com>
Mathias Agopian [Wed, 24 Jul 2013 00:28:53 +0000 (17:28 -0700)]
single buffer mode for BufferQueue
Bug:
9891035
Change-Id: Id1ab5f911a6dc4c1d8235e65775b3d3635231ad4
Mathias Agopian [Sat, 27 Jul 2013 00:26:16 +0000 (17:26 -0700)]
fix build
Change-Id: I04df8ec96510b16e84054089f7c02609d8fe2b0c
Mathias Agopian [Fri, 26 Jul 2013 21:49:50 +0000 (14:49 -0700)]
get rid of HAL pixelformats 5551 and 4444
Change-Id: I39409103144c1ba09078c4ddc323a58987fb09ea
Mathias Agopian [Fri, 26 Jul 2013 22:31:39 +0000 (15:31 -0700)]
make transparent pixels transparents again
apparently boolean logic in hard...
Change-Id: Ie70401fe12e0fa00b0b8c7cc475c1438cdbbf531
Johan Redestig [Thu, 30 May 2013 06:30:42 +0000 (08:30 +0200)]
Add a symbol to represent MNC=0
Bug:
7170488
Change-Id: Icfd39fd0c739216e89446252ea0e7ceba6f002c6
Mathias Agopian [Fri, 26 Jul 2013 02:24:31 +0000 (19:24 -0700)]
get rid of PixelFormatInfo and simplify things
Change-Id: I025a362cc12d5b9b794fac14be500e25aab65396
Mathias Agopian [Fri, 26 Jul 2013 00:25:05 +0000 (17:25 -0700)]
get rid of PIXEL_FORMAT_A_8
Change-Id: I4e409a69c01b95b48f20112084dd927e2d043407
Mathias Agopian [Thu, 25 Jul 2013 02:17:52 +0000 (02:17 +0000)]
Merge "Fix a race in BufferQueue"
Todd Poynor [Thu, 16 May 2013 21:51:15 +0000 (14:51 -0700)]
add libbatteryservice
IBatteryPropertiesListener is used by clients such as BatteryService to
receive notifications of changed battery/power status (from healthd).
IBatteryPropertiesRegistrar manages registrations of
IBatteryPropertiesListener clients.
Add BatteryService native header with defines from BatteryManager, and
class BatteryProperties to pass battery/power status around.
Change-Id: I44e2736e503b586794097b7b9d31d07fefd9b15a
Todd Poynor [Wed, 19 Jun 2013 00:25:37 +0000 (17:25 -0700)]
defaultServiceManager wait for service manager ready
If the service manager is not ready when we attempt to create a local
proxy, fail and retry.
Change-Id: I7d7300bc07cd70608793479aa3da282d066da7f6
Jamie Gennis [Wed, 24 Jul 2013 20:47:37 +0000 (20:47 +0000)]
Merge "surfaceflinger: add frame duration logging"
Alex Ray [Wed, 24 Jul 2013 20:00:35 +0000 (20:00 +0000)]
Merge "libutils: give BasicHashtableImpl a virtual destructor"
Colin Cross [Wed, 24 Jul 2013 17:53:36 +0000 (17:53 +0000)]
Merge "add static dependency on liblog"
Alex Ray [Wed, 17 Jul 2013 23:57:21 +0000 (16:57 -0700)]
libutils: give BasicHashtableImpl a virtual destructor
Change-Id: I4ec590b060d732af5fe525670becbe778684247b
Mathias Agopian [Wed, 24 Jul 2013 04:50:20 +0000 (21:50 -0700)]
Fix a race in BufferQueue
BufferQueue::dequeueBuffer() could incorrectly return
WOULD_BLOCK while in "cannot block" mode if it happened
while a consumer acquired the last allowed buffer
before releasing the old one (which is a valid thing
to do).
Change-Id: I318e5408871ba85e068ea9ef4dc9b578f1bb1043
Colin Cross [Wed, 24 Jul 2013 00:39:35 +0000 (17:39 -0700)]
add static dependency on liblog
Change-Id: Ibf8733142d52e4ffac2e3b26932d7196fb79c5a7
Alex Ray [Tue, 23 Jul 2013 20:44:34 +0000 (13:44 -0700)]
dumpstate: remove libutils dependency
Change-Id: I9745f389402c01b90877612e060ac996eba99964
Jamie Gennis [Wed, 17 Jul 2013 03:12:42 +0000 (20:12 -0700)]
surfaceflinger: add frame duration logging
Change-Id: Ib414a45e7e191f23a2726cbbbeb606e9ce68a3b5
Alex Ray [Wed, 24 Jul 2013 00:06:55 +0000 (17:06 -0700)]
utils: move thread enums to system/core
Change-Id: Ia97963cc9acf8661d01355786f5e7e7bf54581c2
Colin Cross [Tue, 23 Jul 2013 23:35:48 +0000 (23:35 +0000)]
Merge "libbinder: include sys/uio.h instead of cutils/uio.h"
Colin Cross [Tue, 23 Jul 2013 21:52:34 +0000 (14:52 -0700)]
libbinder: include sys/uio.h instead of cutils/uio.h
libbinder is only built for the target, where bionic will provide
uio, so it does not need to include the libcutils wrapper around
uio for windows.
Change-Id: Ifc2dd353bf7ed51bf08ec0ae91c43b12830f94ba
Alex Ray [Tue, 23 Jul 2013 21:49:37 +0000 (21:49 +0000)]
Merge "libbinder: add libutils dependency"
Michael Wright [Tue, 23 Jul 2013 20:52:42 +0000 (20:52 +0000)]
Merge "Add controller numbers for gamepads / joysticks"
Alex Ray [Tue, 23 Jul 2013 20:42:12 +0000 (13:42 -0700)]
libbinder: add libutils dependency
Change-Id: I30c7291b04788c98faa43843a51b026b8a01932c
Geremy Condra [Tue, 23 Jul 2013 17:52:22 +0000 (17:52 +0000)]
Merge "Add C++ library for ConnectivityManager"
Mathias Agopian [Tue, 23 Jul 2013 01:06:00 +0000 (01:06 +0000)]
Merge "fix log messages and bogus error message"
Mathias Agopian [Tue, 23 Jul 2013 01:00:53 +0000 (18:00 -0700)]
fix log messages and bogus error message
also assert when releasing a buffer and it has
been queued
Change-Id: I6f78d9ceb406ec85ff46c7b6d0c047b14063e3d0
Zhijun He [Tue, 23 Jul 2013 00:15:27 +0000 (00:15 +0000)]
Merge "Fix AppOsManager missing mutex unlock."
Zhijun He [Tue, 23 Jul 2013 00:09:35 +0000 (17:09 -0700)]
Fix AppOsManager missing mutex unlock.
Need unlock the mutex after finish the getToken operation.
Change-Id: Icd83b383913d06e4d60976857aa314c3008ebea1
Martijn Coenen [Mon, 22 Jul 2013 23:57:17 +0000 (16:57 -0700)]
Add NFC host-based card emulation feature.
Change-Id: I699817731cdaf7139daeb10d4e24e376ba66fc8e
Michael Wright [Wed, 17 Jul 2013 20:23:26 +0000 (13:23 -0700)]
Add controller numbers for gamepads / joysticks
Change-Id: I5294aabbadb836a6a4c7ce76a670abcf50c1f885
Mathias Agopian [Mon, 22 Jul 2013 19:20:28 +0000 (12:20 -0700)]
move services executables sources in their respective src folder
Change-Id: Ic65434a26c7fed1699abf0851fec6faa40e09c0c
Mathias Agopian [Sat, 20 Jul 2013 01:02:47 +0000 (01:02 +0000)]
Merge changes Ic45929f3,Ic63f4f96,I1e703d36,I691f9507
* changes:
make sure to reset the framenumber when a buffer is marked FREE
Make ANW.setSwapInterval(0) work again
BuffferQueue disconnect is now always asynchrnous
BufferQueue improvements and APIs changes
Mathias Agopian [Fri, 19 Jul 2013 05:25:55 +0000 (22:25 -0700)]
make sure to reset the framenumber when a buffer is marked FREE
Change-Id: Ic45929f35553de209801f74e8006fb1bf0b25b45
Mathias Agopian [Fri, 19 Jul 2013 05:10:56 +0000 (22:10 -0700)]
Make ANW.setSwapInterval(0) work again
we can now queue/dequeue a buffer in asynchrnous mode by using the
async parameter to these calls. async mode is only specified
with those calls (it is not modal anymore).
as a consequence it can only be specified when the buffer count
is not overidden, as error is returned otherwise.
Change-Id: Ic63f4f96f671cb9d65c4cecbcc192615e09a8b6b
Michael Wright [Fri, 19 Jul 2013 22:45:38 +0000 (22:45 +0000)]
Merge "Add input device property for buttons under touchpads"
Mathias Agopian [Thu, 18 Jul 2013 22:55:03 +0000 (15:55 -0700)]
BuffferQueue disconnect is now always asynchrnous
we tag queued buffers with the "bufferqueue cannot block" flag
and use that bit to discard a buffer in the queue by new ones
comming in. this allows us to remove the buffer queue drain in
disconnect while maintaining the right behaviour if it gets
connected again (since each buffer remembers how it was enqueued).
Change-Id: I1e703d363a687b70b19ba49cef32213116e8bd3f
Mathias Agopian [Wed, 17 Jul 2013 05:56:09 +0000 (22:56 -0700)]
BufferQueue improvements and APIs changes
this is the first step of a series of improvements to
BufferQueue. A few things happen in this change:
- setSynchronousMode() goes away as well as the SynchronousModeAllowed flag
- BufferQueue now defaults to (what used to be) synchronous mode
- a new "controlled by app" flag is passed when creating consumers and producers
those flags are used to put the BufferQueue in a mode where it
will never block if both flags are set. This is achieved by:
- returning an error from dequeueBuffer() if it would block
- making sure a buffer is always available by replacing
the previous buffer with the new one in queueBuffer()
(note: this is similar to what asynchrnous mode used to be)
Note: in this change EGL's swap-interval 0 is broken; this will be
fixed in another change.
Change-Id: I691f9507d6e2e158287e3039f2a79a4d4434211d
Dianne Hackborn [Thu, 18 Jul 2013 18:13:14 +0000 (18:13 +0000)]
Merge "Follow framework change to track started ops by proc."
Dianne Hackborn [Thu, 18 Jul 2013 00:26:15 +0000 (17:26 -0700)]
Follow framework change to track started ops by proc.
Change-Id: Ibbce3bf6556f45751c74bab045b46377e56bff9b
Lajos Molnar [Wed, 17 Jul 2013 22:30:28 +0000 (22:30 +0000)]
Merge "Clarify some android-specific OMX extensions for native buffers."
Lajos Molnar [Wed, 17 Jul 2013 21:55:55 +0000 (14:55 -0700)]
Clarify some android-specific OMX extensions for native buffers.
Clarify the use of enableAndroidNativeBuffers and
storeMetaDataInBuffers extensions.
Change-Id: Ia1ca4a262525de74f133619f92ef6ba8271a6f72
Signed-off-by: Lajos Molnar <lajos@google.com>
Jesse Hall [Wed, 17 Jul 2013 21:13:56 +0000 (14:13 -0700)]
am
082fc1ca: am
ae961022: Merge "EGL: Fix error for eglCreateWindowSurface"
* commit '
082fc1cae6a0c283de3ad0d848e0757de3154d0b':
EGL: Fix error for eglCreateWindowSurface
Jesse Hall [Wed, 17 Jul 2013 21:10:00 +0000 (14:10 -0700)]
am
ae961022: Merge "EGL: Fix error for eglCreateWindowSurface"
* commit '
ae9610220b5f509687b840532f95f3638ee0146b':
EGL: Fix error for eglCreateWindowSurface
Jesse Hall [Wed, 17 Jul 2013 21:06:54 +0000 (21:06 +0000)]
Merge "EGL: Fix error for eglCreateWindowSurface"
Jonathan Hamilton [Wed, 17 Jul 2013 16:41:42 +0000 (09:41 -0700)]
EGL: Fix error for eglCreateWindowSurface
The EGL 1.4 spec section 3.5.1 states that EGL_BAD_ALLOC should be set
if the supplied window already has an associated EGLSurface, not
EGL_BAD_NATIVE_WINDOW as is currently set.
Change-Id: If1598617f4e31904f2045560ae1cdf49d8a697dc
Jean-Baptiste Queru [Tue, 16 Jul 2013 22:36:08 +0000 (15:36 -0700)]
am
384f55ff: (-s ours) Merge "Tweaks for forward compatibility" into stage-aosp-master
* commit '
384f55fff01a9d0630b801abd016b82ded4c5984':
Tweaks for forward compatibility
Chad Brubaker [Tue, 16 Jul 2013 17:18:31 +0000 (10:18 -0700)]
Add C++ library for ConnectivityManager
Add C++ library for access to ConnectivityManager's markSocketAsUser.
Change-Id: Icb9faa5be8c11d10e5c4a3bf95d338319449399c
Jesse Hall [Tue, 16 Jul 2013 20:46:20 +0000 (13:46 -0700)]
Fix build -- update for function signature change
Change-Id: I9c2448d5853c69ec7e962847fdaba9a99906cc42
Jesse Hall [Tue, 16 Jul 2013 20:29:29 +0000 (20:29 +0000)]
Merge "Rewrite VirtualDisplaySurface"
Jean-Baptiste Queru [Tue, 16 Jul 2013 20:11:18 +0000 (20:11 +0000)]
Merge "Tweaks for forward compatibility" into stage-aosp-master
Jean-Baptiste Queru [Tue, 16 Jul 2013 16:38:03 +0000 (09:38 -0700)]
Tweaks for forward compatibility
Change-Id: Id6a96521b3fd5bd2a034fe89cfa4d3a179a66328
Ying Wang [Tue, 16 Jul 2013 05:20:35 +0000 (22:20 -0700)]
always pass the BufferQueue explicitely to consumers
to fix tests build.
Change-Id: I70b9cf5b0d76df709e474181eeb7c42a54ecf43a
Mathias Agopian [Tue, 16 Jul 2013 02:17:58 +0000 (02:17 +0000)]
Merge "always pass the BufferQueue explicitely to consumers"
Jeff Brown [Tue, 16 Jul 2013 01:49:55 +0000 (01:49 +0000)]
Merge "Completely remove skia dependency from libinput."
Jeff Brown [Tue, 16 Jul 2013 01:07:09 +0000 (18:07 -0700)]
Completely remove skia dependency from libinput.
Including the tests...
Change-Id: I6ec8f1a5ae7e7514831d7e3b430b3b37b0841b92
michaelwr [Tue, 16 Jul 2013 01:38:36 +0000 (01:38 +0000)]
Merge "Add a keycode to switch audio tracks (2/2)"
Dianne Hackborn [Tue, 16 Jul 2013 01:15:44 +0000 (01:15 +0000)]
Merge "Fix issue #
9860494: Waiting for service batteryinfo..."
Jeff Brown [Tue, 16 Jul 2013 00:44:19 +0000 (00:44 +0000)]
Merge "Fix PDK build."
Jeff Brown [Tue, 16 Jul 2013 00:28:19 +0000 (17:28 -0700)]
Fix PDK build.
Quick hack to remove Skia dependency from libinput.
Change-Id: Ibaf2e312236f5e3f7251fa903ce381456a77467c
Jeff Sharkey [Tue, 16 Jul 2013 00:19:19 +0000 (00:19 +0000)]
Merge "Change legacy "persona" references to userid_t."
Jeff Brown [Mon, 15 Jul 2013 20:27:05 +0000 (13:27 -0700)]
Add skeleton of input flinger.
Change-Id: I7f25080e446d4d3d9de9b18fe432a09bc751e0d9
Dianne Hackborn [Mon, 15 Jul 2013 22:20:11 +0000 (15:20 -0700)]
Fix issue #
9860494: Waiting for service batteryinfo...
I changed the name of the service, this needs to follow.
Change-Id: Id8e346cee9d75cfe142cd43f6aea43302878b6dc
Jeff Sharkey [Wed, 10 Jul 2013 23:55:46 +0000 (16:55 -0700)]
Change legacy "persona" references to userid_t.
Offers stronger typing with no functional change.
Change-Id: I09f0262470feec5cfdf26658f998c20550af84d4
Jeff Brown [Fri, 12 Jul 2013 23:32:00 +0000 (16:32 -0700)]
Make getCallingUid/Pid const.
Change-Id: I1853b21eaa45d85274189dfd72f73fec48d0d6b7
Jesse Hall [Sun, 7 Apr 2013 06:12:29 +0000 (23:12 -0700)]
Rewrite VirtualDisplaySurface
The previous implementation assumed that the HWC could read and write
the same buffer on frames that involved both GLES and HWC composition.
It turns out some hardware can't do this. The new implementation
maintains a scratch buffer pool to use on these mixed frames, but on
GLES-only or HWC-only frames still does composition directly into the
output buffer.
Bug:
8384764
Change-Id: I7a3addb34fad9bfcbdabbb8b635083e10223df69
Nick Kralevich [Mon, 15 Jul 2013 19:36:39 +0000 (19:36 +0000)]
Merge "dumpstate: Show SELinux process labels"
Nick Kralevich [Mon, 15 Jul 2013 19:21:40 +0000 (12:21 -0700)]
dumpstate: Show SELinux process labels
Change-Id: Ie19586a3b733bd4420f6b20b5d253d42c2f165ea
The Android Open Source Project [Mon, 15 Jul 2013 16:37:54 +0000 (09:37 -0700)]
am
65752b2b: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge
* commit '
65752b2b516204d890e59dbc395608d7dec0cff5':
The Android Open Source Project [Mon, 15 Jul 2013 16:33:20 +0000 (09:33 -0700)]
Reconcile with jb-mr2-zeroday-release - do not merge
Change-Id: Ia73ebcebfb83a21442a31dc7280763484e47534c
The Android Automerger [Mon, 15 Jul 2013 15:19:12 +0000 (08:19 -0700)]
merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev
Mathias Agopian [Sat, 13 Jul 2013 05:06:26 +0000 (22:06 -0700)]
always pass the BufferQueue explicitely to consumers
Change-Id: I883b0a7b19d8e722f9ab714ba6f49e658b02ca86
Jesse Hall [Fri, 12 Jul 2013 23:31:57 +0000 (23:31 +0000)]
Merge "SurfaceFlinger: EventThread: Fix Vsync array size."
Saurabh Shah [Fri, 12 Jul 2013 21:42:40 +0000 (14:42 -0700)]
SurfaceFlinger: EventThread: Fix Vsync array size.
Vsync array size is specified as HWC_DISPLAY_TYPES_SUPPORTED whose
value luckily happens to be 2. That enum is actually used for querying
hwc for the number of displays supported.
The implementation file EventThread.cpp correctly accesses the array
upto HWC_NUM_DISPLAY_TYPES
Change-Id: I36e3f0913e7d6fda7bbf4449c1fb32c7f18bb934
Signed-off-by: Amara Venkata Mastan Manoj Kumar<manojavm@codeaurora.org>
Signed-off-by: Saurabh Shah <saurshah@codeaurora.org>
Mathias Agopian [Fri, 12 Jul 2013 21:19:10 +0000 (14:19 -0700)]
resolved conflicts for merge of
00aea5c5 to master
Change-Id: Ie1769be863ee2d411eae451907a928db57882e14
Mathias Agopian [Fri, 12 Jul 2013 20:17:05 +0000 (13:17 -0700)]
am
ac9a96da: fix a dead-lock in sensorservice
* commit '
ac9a96da65f6eae4513654adaad8a457d1c1575c':
fix a dead-lock in sensorservice
Dianne Hackborn [Thu, 11 Jul 2013 18:45:18 +0000 (11:45 -0700)]
Fix cmd line arguments for usagestats.
Change-Id: I9a1436aa1d1665924ba62a568bb4b66d67ae2814
Mathias Agopian [Fri, 12 Jul 2013 09:01:16 +0000 (02:01 -0700)]
fix a dead-lock in sensorservice
sensorservice would deadlock if for some reason
a sensor failed to enable.
simplifed the code a bit, and made it behave a little
closer to mr1.1 -- I couldn't convince myself that
some changes in how locks were used were correct.
Bug:
9794362
Change-Id: I6110f5dbb67e543f1c71d127de2299232badb36a