OSDN Git Service
Michael Lentine [Fri, 31 Oct 2014 23:37:47 +0000 (23:37 +0000)]
Merge "Fix crash when user provides large values in the Parcel." into lmp-mr1-dev
Michael Lentine [Fri, 31 Oct 2014 18:10:13 +0000 (11:10 -0700)]
Fix crash when user provides large values in the Parcel.
Bug:
18102648
Change-Id: Ie6a24718e586a34424238363de80f9545951514f
Michael Lentine [Fri, 31 Oct 2014 18:39:22 +0000 (18:39 +0000)]
Merge "Fix output of pointers for 64bit devices." into lmp-mr1-dev
Michael Lentine [Fri, 31 Oct 2014 18:08:19 +0000 (11:08 -0700)]
Fix output of pointers for 64bit devices.
Change-Id: I279c1cf8d4c126b98f4a92ca807ade3749d01ff0
Jesse Hall [Fri, 31 Oct 2014 16:59:45 +0000 (16:59 +0000)]
Merge "surfaceflinger: fix -Wunused-parameter warning" into lmp-mr1-dev
Jesse Hall [Fri, 31 Oct 2014 16:59:26 +0000 (16:59 +0000)]
Merge "surfaceflinger: fix -Wsign-compare warnings" into lmp-mr1-dev
Jesse Hall [Fri, 31 Oct 2014 16:59:11 +0000 (16:59 +0000)]
Merge "surfaceflinger: fix -Woverloaded-virtual warning" into lmp-mr1-dev
Jesse Hall [Fri, 31 Oct 2014 16:58:44 +0000 (16:58 +0000)]
Merge "surfaceflinger: fix -Wmismatched-tags warnings" into lmp-mr1-dev
Jesse Hall [Fri, 8 Aug 2014 05:48:06 +0000 (22:48 -0700)]
surfaceflinger: fix -Wunused-parameter warning
warning: unused parameter 'mustRecompose' [-Wunused-parameter]
Change-Id: I6b8c671189639d851bfa5548742de988d6fa2687
(cherry picked from
d2e514f71709e6af3dbc754e59686129737f2300)
Jesse Hall [Fri, 8 Aug 2014 05:43:06 +0000 (22:43 -0700)]
surfaceflinger: fix -Wsign-compare warnings
warning: comparison of integers of different signs: 'int' and 'size_t'
(aka 'unsigned int') [-Wsign-compare]
arning: comparison of integers of different signs: 'int32_t' (aka
'int') and 'const uint32_t' (aka 'const unsigned int')
[-Wsign-compare]
Change-Id: I823257aa7218c5fd492a3277853210db539bb2e2
(cherry picked from
f9bfdc6c9449143eed674c03e15dd8278296d32b)
Jesse Hall [Fri, 8 Aug 2014 05:33:14 +0000 (22:33 -0700)]
surfaceflinger: fix -Woverloaded-virtual warning
warning: 'android::LayerDim::isOpaque' hides overloaded virtual function
[-Woverloaded-virtual]
Change-Id: Ie27a6c943f485bc89ce11e424a4e7d99805d4dd0
(cherry picked from commit
382574d116759ccc19463c03db841e3d6e2d4424)
Jesse Hall [Fri, 8 Aug 2014 05:19:07 +0000 (22:19 -0700)]
surfaceflinger: fix -Wmismatched-tags warnings
warning: struct 'HWComposer' was previously declared as a class
[-Wmismatched-tags]
warning: class 'DisplayInfo' was previously declared as a struct
[-Wmismatched-tags]
Change-Id: I13db9f8aab3a957ce8ff8d64598dae1807d6fe7e
(cherry picked from commit
646f54105018e99ef4a30ee41f01f7d1ab66c38e)
Dan Stoza [Wed, 29 Oct 2014 18:32:49 +0000 (18:32 +0000)]
Merge "Initialize ARect fields in default ctor" into lmp-mr1-dev
Jesse Hall [Wed, 6 Aug 2014 19:15:15 +0000 (12:15 -0700)]
GLConsumer: correct EGL_NO_DISPLAY to EGL_NO_CONTEXT
Change-Id: I4dcb57a0db9ee3c5222cd453c9213859384212b0
(cherry picked from commit
46a1f6b40e1f7677cd41cd30f729ff66c7c21517)
Dmitriy Ivanov [Tue, 28 Oct 2014 23:41:10 +0000 (16:41 -0700)]
Initialize ARect fields in default ctor
So that we can use Rect() for update and such.
Bug:
18095940
Change-Id: I03ed87121d2d279f22013b75e95dd7254551ca1f
Dan Stoza [Wed, 15 Oct 2014 23:34:55 +0000 (16:34 -0700)]
Don't run large virtual displays through HWC
This change watches for a MAX_VIRTUAL_DISPLAY_DIMENSION value, which
will be set (if necessary) in BoardConfig.mk. If the value is set,
any virtual displays that have a width or a height greater than that
dimension will bypass the hardware composer HAL and be handled only
by SurfaceFlinger.
Bug:
17701816
Change-Id: Ia6ca44dfd6a7a9bc0f054493d3f13006bc32fa14
Patrick Auchter [Tue, 30 Sep 2014 20:38:30 +0000 (15:38 -0500)]
atrace: fix Sync Manager tracing preventing enabling of kernel sync tracing
Both Sync Manager tracing and kernel sync tracing were using "sync" to
enable tracing and since Sync Manager was found first, this prevented
enabling kernel sync tracing.
To fix this, use "syncman" to enable Sync Manager tracing.
Change-Id: Id3b799e01e5041c582cd752c8c40d3e36954f821
Signed-off-by: Iliyan Malchev <malchev@google.com>
Riley Andrews [Fri, 24 Oct 2014 18:30:07 +0000 (18:30 +0000)]
Merge "Add glFlush in surfaceflinger screenshot code." into lmp-mr1-dev
Riley Andrews [Thu, 23 Oct 2014 23:17:04 +0000 (16:17 -0700)]
Add glFlush in surfaceflinger screenshot code.
After creating a syncKHR object with type EGL_SYNC_NATIVE_FENCE_ANDROID,
glFlush must be called before the EGL_SYNC_NATIVE_FENCE_FD_ANDROID attribute
is populated with a sync fd. We currently call eglDupNativeFenceFDANDROID
before issuing the flush.
Bug
18052459
Taken verbatim from matthew.k.gumbel@intel.com.
Change-Id: I3781d14f92862076e2bca7d27341a6dc6e7e3775
Jesse Hall [Wed, 22 Oct 2014 20:45:35 +0000 (20:45 +0000)]
am
afe2b1fa: surfaceflinger: don\'t close fence fds after passing to queueBuffer
* commit '
afe2b1fadd29149ceed639357e44e06e97c3a5ca':
surfaceflinger: don't close fence fds after passing to queueBuffer
Michael Lentine [Tue, 21 Oct 2014 18:20:44 +0000 (18:20 +0000)]
Merge "Adding eglInitialize and eglTerminate image creation and deletion." into lmp-mr1-dev
Jesse Hall [Tue, 21 Oct 2014 18:09:17 +0000 (11:09 -0700)]
surfaceflinger: don't close fence fds after passing to queueBuffer
ANativeWindow::queueBuffer takes ownership of the fence fd passed to
it, and will close it before returning. SurfaceFlinger's screenshot
code was also closing the syncFd it passed to queueBuffer. Most of the
time this meant the second close() silently failed, but in a rare race
condition the file descriptor could be reused between the two
close()s.
Bug:
17946343
Change-Id: Ib74fcb1dce52cc21328059c99b7c4c76f41aa3a5
Arve Hjønnevåg [Mon, 20 Oct 2014 21:58:26 +0000 (21:58 +0000)]
Merge "dumpstate: Add trusty version if driver is found" into lmp-mr1-dev
Dmitriy Ivanov [Mon, 20 Oct 2014 17:14:42 +0000 (17:14 +0000)]
Merge "Link sigchain to surfaceflinger main executable" into lmp-mr1-dev
Jesse Hall [Mon, 20 Oct 2014 14:17:18 +0000 (14:17 +0000)]
am
649bafb7: Merge "bufferqueue: workaround: allow NULL fence with queueBuffer (DO NOT MERGE)" into lmp-dev
* commit '
649bafb7ba2c3204295bc3451ff7af7e28e714ed':
bufferqueue: workaround: allow NULL fence with queueBuffer (DO NOT MERGE)
Jesse Hall [Mon, 20 Oct 2014 13:59:24 +0000 (13:59 +0000)]
Merge "bufferqueue: workaround: allow NULL fence with queueBuffer (DO NOT MERGE)" into lmp-dev
Aravind Akella [Sun, 19 Oct 2014 21:14:54 +0000 (21:14 +0000)]
am
0b6acb22: Add version number to SensorService dump output.
* commit '
0b6acb2231baed861488f2d181621272d0658d25':
Add version number to SensorService dump output.
Aravind Akella [Sat, 18 Oct 2014 23:37:13 +0000 (16:37 -0700)]
Add version number to SensorService dump output.
Change-Id: I64f9482ade523ec3fafe14bff14db7196e32413f
Jesse Hall [Sun, 19 Oct 2014 04:47:04 +0000 (21:47 -0700)]
bufferqueue: workaround: allow NULL fence with queueBuffer (DO NOT MERGE)
On one device there is a bug, not yet root-caused, that causes fence
fds to not make it across binder from producer to consumer in the
IGraphicBufferProducer::queueBuffer call. Rather than returning an
error, which the producer typically treats as a fatal error, this
change allows the buffer to be queued with no fence. This avoids an
application crash at the risk of (likely single-frame) visible
corruption.
Bug:
17946343
Change-Id: I9ca89f94098c455e1e90f5f58d5336c936b04a9c
Arve Hjønnevåg [Thu, 16 Oct 2014 01:08:37 +0000 (18:08 -0700)]
dumpstate: Add trusty version if driver is found
Change-Id: I7780ea8e1d777c222a73408f70d8a6d49dee1d92
Dmitriy Ivanov [Tue, 7 Oct 2014 20:40:41 +0000 (13:40 -0700)]
Link sigchain to surfaceflinger main executable
And export necessary symbols to preempt calls from libart.so
Bug:
15345057
Bug:
15426766
(cherry picked from commit
f3da24d8cf02d7c74ff7c24eae0154a21a192fda)
Change-Id: I03b632e0bf2cbaf4a0e68cd0af4e991f7f6b08e4
Robin Lee [Wed, 15 Oct 2014 23:25:00 +0000 (23:25 +0000)]
am
60fd3fee: Migrate CA certificates to all users
* commit '
60fd3feecab4336d964ca8e31c7c3220e1afb558':
Migrate CA certificates to all users
Robin Lee [Tue, 7 Oct 2014 15:55:02 +0000 (16:55 +0100)]
Migrate CA certificates to all users
Copies the /data/misc/keychain/cacert-* directories to all users on
the device, whereas previously they were simply copied to user 0.
This is a shallow copy so anything that wasn't supposed to be there
will disappear.
Bug:
17811821
Change-Id: Iae5909ab8d5efdb83c9c8fdf0e10ab7060d022cc
Lajos Molnar [Tue, 14 Oct 2014 19:56:24 +0000 (19:56 +0000)]
am
3454f123: media: add kMetadataBufferTypeGraphicBuffer
* commit '
3454f123d0a10bd0ce0760828996aa26c80a8fd4':
media: add kMetadataBufferTypeGraphicBuffer
Lajos Molnar [Tue, 14 Oct 2014 05:56:09 +0000 (22:56 -0700)]
media: add kMetadataBufferTypeGraphicBuffer
Bug:
17935149
Change-Id: I1c26d1e83d8fa0a9ccdb25f6f3b19a86b1dc6f37
Jeff Brown [Sun, 12 Oct 2014 16:02:22 +0000 (16:02 +0000)]
am
ffb49774: Improve ANR diagnostics.
* commit '
ffb497743831ae4857b674629b58ea3c46d01431':
Improve ANR diagnostics.
Jeff Brown [Sat, 11 Oct 2014 02:01:34 +0000 (19:01 -0700)]
Improve ANR diagnostics.
Print more details about the exact reason that an ANR has occurred.
Also start checking that the window actually has a registered
input connection that is not in a broken state. These windows
are supposed to be cleaned up by the window manager promptly
as if the app had crashed but the pattern of ANRs we are observing
suggests that broken windows might be sticking around longer than
they should.
Bug:
17721767
Change-Id: Ie2803a3fa9642381ecadc198fec15e1b70d93c20
Narayan Kamath [Thu, 9 Oct 2014 19:17:44 +0000 (19:17 +0000)]
am
9ea09757: Fix broken error check in Parcel::readBlob
* commit '
9ea09757fa63ad2a9bea9c846b51c1210d69c79f':
Fix broken error check in Parcel::readBlob
Michael Lentine [Thu, 2 Oct 2014 19:10:07 +0000 (12:10 -0700)]
Adding eglInitialize and eglTerminate image creation and deletion.
Previously it was possible to have the driver's eglTerminate called beofre
eglDestroyImageKHR in GLConsumer. This was because we didn't increment the
refcount for the lifetime of the image. This could lead to a crash or a deadlock
when multiple threads called terminate and destroy simultaneously.
Bug:
17700483
Change-Id: I7010d0f1b3db875332e95630b5e098a5564ba755
Jesse Hall [Wed, 8 Oct 2014 16:50:13 +0000 (16:50 +0000)]
Merge "BufferQueueProducer: Throttle EGL frame production." into lmp-mr1-dev
Narayan Kamath [Wed, 8 Oct 2014 16:35:45 +0000 (17:35 +0100)]
Fix broken error check in Parcel::readBlob
mmap returns MAP_FAILED (which is -1) and not NULL on
failure.
Diagnosed by cferris.
bug:
17909809
Change-Id: I609788ebf94742ef88af002d2d3f3bc9b9e520ac
Aravind Akella [Wed, 8 Oct 2014 05:24:50 +0000 (05:24 +0000)]
am
7830ef3d: Change ordering of memory allocation and calling Thread::run().
* commit '
7830ef3dd0ff3749d974c2dd85a8fa59dc47aeca':
Change ordering of memory allocation and calling Thread::run().
Aravind Akella [Tue, 7 Oct 2014 21:13:12 +0000 (14:13 -0700)]
Change ordering of memory allocation and calling Thread::run().
In some cases this is causing a crash as device.poll is called with
NULL.
Bug:
17896339
Change-Id: Id431599f2c661338c355c7081b6602f8449a9198
Jesse Hall [Tue, 7 Oct 2014 00:19:38 +0000 (00:19 +0000)]
am
78639c22: Merge "Parcel: extra validation/debug code for writeDupFileDescriptor" into lmp-dev
* commit '
78639c22acfa5e56d87fd6fe8340d083536b29fc':
Parcel: extra validation/debug code for writeDupFileDescriptor
Jesse Hall [Mon, 6 Oct 2014 22:36:53 +0000 (22:36 +0000)]
Merge "Parcel: extra validation/debug code for writeDupFileDescriptor" into lmp-dev
Jesse Hall [Mon, 6 Oct 2014 16:49:45 +0000 (09:49 -0700)]
Parcel: extra validation/debug code for writeDupFileDescriptor
Temporary extra debug validation for b/
17477219: a Parcel recipient is
getting a positive but invalid fd unexpectedly. Trying to track down
where it's coming from.
Debug code for bug:
17477219
Change-Id: Idb1e71621025a3928c7adc88fd44790e1abd2a01
Eric Penner [Tue, 30 Sep 2014 18:28:30 +0000 (11:28 -0700)]
BufferQueueProducer: Throttle EGL frame production.
Throttling was previously controlled by a combination of the
driver and the number of buffers in the queue. This patch makes
a more consistent trade-off, which allows two GPU frames pending
but not three. More buffering could improve throughput in the
case of varying frame times, but this also increases latency.
Bug:
17502897
Change-Id: I4ee68019ca94c635294c5959931a555a6c4ef2df
Aravind Akella [Fri, 3 Oct 2014 21:54:29 +0000 (21:54 +0000)]
am
a7eb4b74: Merge "Fix sockfd leakage in SensorService." into lmp-dev
* commit '
a7eb4b74f74423dafd88adf94a7984ae927c3a23':
Fix sockfd leakage in SensorService.
Aravind Akella [Fri, 3 Oct 2014 21:45:36 +0000 (21:45 +0000)]
Merge "Fix sockfd leakage in SensorService." into lmp-dev
Michael Lentine [Sat, 27 Sep 2014 00:55:01 +0000 (17:55 -0700)]
Fixed discrepancy between crop and frame transparencies.
Bug:
17662777
Change-Id: I0d65d9b912a37a60e4c1d2e2e198f7709460917c
Riley Andrews [Fri, 3 Oct 2014 17:31:18 +0000 (17:31 +0000)]
am
6747be9f: Generate the SurfaceFlinger shader cache on initialization
* commit '
6747be9fab9981ec24729cede5e0fe779e8b8914':
Generate the SurfaceFlinger shader cache on initialization
Riley Andrews [Mon, 29 Sep 2014 20:29:40 +0000 (13:29 -0700)]
Generate the SurfaceFlinger shader cache on initialization
Blobcache is not yet enabled for surfaceflinger (as it should be).
As a temporary workaround, generate all needed shaders during
surfaceflinger initialization instead of doing the compilation
on-demand during ui transitions.
Change-Id: I14455b20a3f85f177d85c9c8b76d8ccc35379b39
Aravind Akella [Mon, 29 Sep 2014 00:52:41 +0000 (17:52 -0700)]
Fix sockfd leakage in SensorService.
i) Call removeFd() only if the fd in the BitTube has been
previously added to the Looper. Use a flag to determine whether the fd
has been previously added or not.
ii) Increment mPendingFlushEventsToSend after holding a connectionLock.
iii) Store the number of acks that are pending in SensorEventQueue
and send them all at once.
Bug:
17472228
Change-Id: I1ec834fea1112a9cfbd9cddd2198438793698502
Jesse Hall [Thu, 2 Oct 2014 23:26:58 +0000 (23:26 +0000)]
am
f05ef4e5: Merge "Surface: cancel the dequeued buffer when requestBuffer fails" into lmp-dev
* commit '
f05ef4e542c3041379025e16497ff23710de5dbf':
Surface: cancel the dequeued buffer when requestBuffer fails
Jesse Hall [Thu, 2 Oct 2014 23:11:08 +0000 (23:11 +0000)]
Merge "Surface: cancel the dequeued buffer when requestBuffer fails" into lmp-dev
Lajos Molnar [Thu, 2 Oct 2014 22:54:54 +0000 (22:54 +0000)]
am
0ba908e7: Merge "add OMX_VIDEO_AVCLevel52 constant" into lmp-dev
* commit '
0ba908e7a55ce2641f8886db2a059ccaa3f7a22a':
add OMX_VIDEO_AVCLevel52 constant
Lajos Molnar [Thu, 2 Oct 2014 22:44:30 +0000 (22:44 +0000)]
Merge "add OMX_VIDEO_AVCLevel52 constant" into lmp-dev
Riley Andrews [Thu, 2 Oct 2014 20:16:55 +0000 (20:16 +0000)]
Merge "Generate the SurfaceFlinger shader cache on initialization" into lmp-mr1-dev
Michael Lentine [Thu, 2 Oct 2014 19:01:09 +0000 (19:01 +0000)]
Merge "Add more logging for dup(fd) failure" into lmp-dev
Jesse Hall [Thu, 2 Oct 2014 18:09:03 +0000 (11:09 -0700)]
Surface: cancel the dequeued buffer when requestBuffer fails
Partial fix for bug:
17477219
Change-Id: Ibf5a9e26e02c4be8854925a77a70f5c9c7dcf6f2
Michael Lentine [Thu, 2 Oct 2014 16:11:04 +0000 (09:11 -0700)]
Add more logging for dup(fd) failure
Bug:
17477219
Change-Id: Ide0ae16d777c9af783023c705c18a93c00999147
Lajos Molnar [Thu, 2 Oct 2014 04:49:18 +0000 (21:49 -0700)]
add OMX_VIDEO_AVCLevel52 constant
Bug:
17676461
Change-Id: I120041e9b2ffe2a232a2419bcb5fe88cb49961cb
Riley Andrews [Mon, 29 Sep 2014 20:29:40 +0000 (13:29 -0700)]
Generate the SurfaceFlinger shader cache on initialization
Blobcache is not yet enabled for surfaceflinger (as it should be).
As a temporary workaround, generate all needed shaders during
surfaceflinger initialization instead of doing the compilation
on-demand during ui transitions.
Change-Id: I14455b20a3f85f177d85c9c8b76d8ccc35379b39
Christopher Ferris [Thu, 2 Oct 2014 01:11:56 +0000 (01:11 +0000)]
Merge "Accept socket connection before tracing." into lmp-dev
Christopher Ferris [Thu, 2 Oct 2014 00:35:01 +0000 (17:35 -0700)]
Accept socket connection before tracing.
Sometimes dumping threads takes a long time and bugreport times
out. This change will cause us to accept the bugreport socket connection
before dumping threads and should avoid the failed to connect to dumpstate
service problems we've seen.
Bug:
17758374
Change-Id: I80afa0353cf1c340873f481a8d1d7faffff54120
Michael Lentine [Wed, 1 Oct 2014 22:44:45 +0000 (22:44 +0000)]
Merge "When eglMakeCurrent fails we need to fix the egl state." into lmp-dev
Michael Lentine [Wed, 1 Oct 2014 18:17:28 +0000 (11:17 -0700)]
When eglMakeCurrent fails we need to fix the egl state.
Bug:
16676660
Change-Id: Ie7bee9c78378b9e9206060444319e6ee35e1ab74
Chong Zhang [Wed, 1 Oct 2014 21:37:00 +0000 (21:37 +0000)]
Merge "add a parameter for PCM limiter enable" into lmp-dev
Chong Zhang [Wed, 1 Oct 2014 04:50:08 +0000 (21:50 -0700)]
add a parameter for PCM limiter enable
Bug:
17470065
Change-Id: I327115fc16e7afe2bf5870e123d63f9887161206
Jesse Hall [Tue, 30 Sep 2014 17:35:11 +0000 (10:35 -0700)]
surfaceflinger: recompute visibility after sideband stream change
We normally recompute layer visibility when a layer gets its first
buffer; before then it's treated as invisible. Sideband layers never
get a buffer (as far as SurfaceFlinger knows), so never became
visible. Now we also recompute visibility when a layer gets a new
sideband stream.
Bug:
17752511
Change-Id: I84e150f196eb2eb7bcd2616248e5e3fa73624809
Dianne Hackborn [Tue, 30 Sep 2014 18:30:03 +0000 (11:30 -0700)]
Work on issue #
17656716: Unhandled exception in Window Manager
Try to clean up the code paths coming in and out of binder IPCs to
plug any places where we could disrupt the gather flag of a thread,
causing it to keep gathering stack crawls (which is the thing that
is causing our strict mode data to become so large).
We now take care of saving and restoring this state in the core
IPC code path, not at the Java layer.
Change-Id: I73d564778da127bdce00f304225930e7f2318293
Aravind Akella [Mon, 29 Sep 2014 00:49:24 +0000 (00:49 +0000)]
Merge "Fix a possible SensorService deadlock." into lmp-dev
Jesse Hall [Sun, 28 Sep 2014 19:14:12 +0000 (12:14 -0700)]
surfaceflinger: Use landscape resolution for default dpi
When HWC doesn't provide DPI values for a display, we pick a default
DPI based on resolution. The intent was that 1080p and higher displays
would get XHIGH density, and lower resolutions would get TV density.
In KK (and possibly forever) we had a bug that we'd always use TV
density. That was fixed in L, but that fix exposed a pre-existing bug
that we always used the display's height in its native orientation,
rather than in landscape orientation. So an 800x1280 tablet like N7v1
started getting XHIGH density instead of the intended TV density.
Bug:
17461633
Change-Id: Ia57fa49e61f36bdda63ce283ef62c9953297222c
Aravind Akella [Thu, 25 Sep 2014 05:12:58 +0000 (22:12 -0700)]
Fix a possible SensorService deadlock.
If the destructor of SensorEventConnection gets called when the main
sendEvents loop of SensorService is executing it may result in a deadlock.
The loop promotes each connection to a strong_pointer, calls sendEvents
and cleans up the connection if necessary. It is possible that the sp's
destructor may delete SensorEventConnection which will call the dtor
~SensorEventConnection(). This dtor again needs SensorService mLock to
execute which may result in a deadlock.
Bug:
17617897
Change-Id: I76c244dbe85fadb591c0bd1a9a5eb01d93f56505
Aravind Akella [Sat, 27 Sep 2014 02:09:29 +0000 (02:09 +0000)]
Merge "Revert "Fix sockfd leakage in SensorService. Remove sockfd from Looper when the connection is removed from mActiveConnections."" into lmp-dev
Aravind Akella [Sat, 27 Sep 2014 02:06:32 +0000 (02:06 +0000)]
Revert "Fix sockfd leakage in SensorService. Remove sockfd from Looper when the connection is removed from mActiveConnections."
This reverts commit
5105960d49bfa86efeeea8f87c87aa96b5771c37.
Change-Id: I4d39ded2e50ef8a8e0aac27e438876203385a1f0
Michael Wright [Fri, 26 Sep 2014 01:38:56 +0000 (01:38 +0000)]
Merge "Only mark repeated keys as PASS_TO_USER if the original key was." into lmp-dev
Michael Wright [Wed, 24 Sep 2014 20:26:59 +0000 (13:26 -0700)]
Only mark repeated keys as PASS_TO_USER if the original key was.
Bug:
17629695
Change-Id: Ic569aba4149c6cc321c2cf8aede7c5e8a1196234
Jesse Hall [Wed, 24 Sep 2014 22:07:01 +0000 (22:07 +0000)]
Merge "surfaceflinger: Check sideband stream changed to trigger sideband Layer update." into lmp-dev
chenhg [Tue, 23 Sep 2014 02:52:25 +0000 (10:52 +0800)]
surfaceflinger: Check sideband stream changed to trigger sideband Layer update.
BUG:
17382907
Change-Id: I65fd037bd25238ae68a3976468ae7fd7ce49c562
Aravind Akella [Tue, 23 Sep 2014 23:42:49 +0000 (16:42 -0700)]
Fix sockfd leakage in SensorService. Remove sockfd from Looper
when the connection is removed from mActiveConnections.
Bug:
17472228
Change-Id: Iaabe0968bd2104ef961ff5e8659bf91712e2e1db
Michael Lentine [Thu, 11 Sep 2014 19:24:13 +0000 (12:24 -0700)]
Add rate-limited logging for unimplemented es functions.
Bug:
17322013
Change-Id: I7aa5ab2f76cf344cfb75802edbfd44e8e7526ff1
The Android Automerger [Tue, 23 Sep 2014 13:16:24 +0000 (06:16 -0700)]
merge in lmp-release history after reset to
d94854030c76fc4ee4126ca1707a76fbd1f29126
Lorenzo Colitti [Tue, 23 Sep 2014 00:29:57 +0000 (00:29 +0000)]
Merge "Include the VPN server IP address in the VPN state file." into lmp-dev
The Android Automerger [Mon, 22 Sep 2014 13:13:42 +0000 (06:13 -0700)]
merge in lmp-release history after reset to
b1982b75c4f3d9c812d9c49ca294132430c7cd8d
The Android Automerger [Sun, 21 Sep 2014 13:11:28 +0000 (06:11 -0700)]
merge in lmp-release history after reset to
b1982b75c4f3d9c812d9c49ca294132430c7cd8d
The Android Automerger [Sun, 21 Sep 2014 04:01:53 +0000 (21:01 -0700)]
merge in lmp-release history after reset to
dcb16082dd15e3b137678f2663fa6dd6b9614689
The Android Automerger [Sat, 20 Sep 2014 13:12:10 +0000 (06:12 -0700)]
merge in lmp-release history after reset to
b1982b75c4f3d9c812d9c49ca294132430c7cd8d
Sean Wan [Fri, 19 Sep 2014 22:02:37 +0000 (22:02 +0000)]
am
60d31a0f: am
3c648e37: Update comment to use correct GPS file for wearable.
* commit '
60d31a0fc0724d4538d105a800a1565e5f843130':
Update comment to use correct GPS file for wearable.
Sean Wan [Fri, 19 Sep 2014 21:49:11 +0000 (21:49 +0000)]
am
3c648e37: Update comment to use correct GPS file for wearable.
* commit '
3c648e373a44237c1924fc886daf8418a6e9f4cf':
Update comment to use correct GPS file for wearable.
Sean Wan [Fri, 19 Sep 2014 21:33:51 +0000 (14:33 -0700)]
Update comment to use correct GPS file for wearable.
Change-Id: I91c4363dbcc6cada8d6e9599d1b15e77febee0e5
Lorenzo Colitti [Thu, 18 Sep 2014 16:00:08 +0000 (01:00 +0900)]
Include the VPN server IP address in the VPN state file.
This will be used by LegacyVpnRunner to create a throw route
pointing at it.
Bug:
17462989
Change-Id: I3ebf0cec726dd12b2c57ba5d66775f8c02b25b70
Lajos Molnar [Thu, 11 Sep 2014 21:58:45 +0000 (14:58 -0700)]
surfaceflinger: add getDisplayStats() method
This is used by media service to schedule video frames at the
proper time, based on precise vsync timings.
Bug:
14659809
Change-Id: I1a90603f3dc09dca9aa4f90a3aa845fab56e0a5e
The Android Automerger [Thu, 18 Sep 2014 13:12:20 +0000 (06:12 -0700)]
merge in lmp-release history after reset to
5bbf73ced30c168176fbcf87b15021ecca2fb90e
The Android Automerger [Wed, 17 Sep 2014 13:13:11 +0000 (06:13 -0700)]
merge in lmp-release history after reset to
5bbf73ced30c168176fbcf87b15021ecca2fb90e
The Android Automerger [Tue, 16 Sep 2014 13:13:06 +0000 (06:13 -0700)]
merge in lmp-release history after reset to
5bbf73ced30c168176fbcf87b15021ecca2fb90e
Unsuk Jung [Mon, 15 Sep 2014 23:42:53 +0000 (23:42 +0000)]
Merge "Fix typo for android.hardware.audio.output feature in handheld device config" into lmp-dev
Aravind Akella [Mon, 15 Sep 2014 22:09:52 +0000 (22:09 +0000)]
Merge "SensorService fixes." into lmp-dev
Aravind Akella [Mon, 15 Sep 2014 00:29:48 +0000 (17:29 -0700)]
SensorService fixes.
i) Initialize sensor_event.flags to zero or wake_up flag before sending dropped flush_complete_events. This will avoid unnecessary acks.
Currently it is not set to anything which may result in garbage values for flags field.
ii) Change the dump format of SensorEventConnection.
iii) Add const to method signatures wherever applicable.
Bug id: https://b2.corp.google.com/issues/
17498626
Change-Id: Ia736ffb01c366540aab73cdcf596ce852c052593
Ihab Awad [Fri, 12 Sep 2014 18:11:16 +0000 (11:11 -0700)]
Add system feature for ConnectionService API support (2/3)
Bug:
17445268
Change-Id: Ib96e50e2558d2744f74419fd022f3f20d578a2de