OSDN Git Service
smain@google.com [Mon, 11 Jul 2016 17:05:06 +0000 (17:05 +0000)]
update NDK doxygen templates to create DevSite-style HTML.
am:
20e2095c7b
Change-Id: I0ae956648ff553bbf15c083175451621555fdf38
Sergio Giro [Mon, 11 Jul 2016 12:11:30 +0000 (12:11 +0000)]
Merge "Add bound checks to utf16_to_utf8" into nyc-mr1-dev
TreeHugger Robot [Fri, 8 Jul 2016 21:22:43 +0000 (21:22 +0000)]
Merge "HWC2: Backpressure on transactions as well" into nyc-mr1-dev
Dan Stoza [Fri, 8 Jul 2016 19:02:20 +0000 (12:02 -0700)]
HWC2: Backpressure on transactions as well
Modifies the backpressure detection to skip transactions as well as
buffer updates.
Bug:
29413700
Change-Id: I97cda920e7fc1cd7151f0a4df1b00f96b84f4145
Peng Xu [Fri, 8 Jul 2016 17:40:33 +0000 (17:40 +0000)]
Merge "Increase sensor registration log size" into nyc-mr1-dev
smain@google.com [Fri, 8 Jul 2016 00:11:35 +0000 (17:11 -0700)]
update NDK doxygen templates to create DevSite-style HTML.
Previously, we had doxygen create .jd files with some syntax that
was parsed by the DocLava build tools when creating the final HTML
files for the website. But now that we're publishing these docs through
Piper, we don't need to run them through DocLava anymore. So with this
change, we now create .html files that then need to be copied to
google3/googledata/devsite/site-android/en/ndk/
where they can be immediately published via devsite once merged.
bug:
29943712
Change-Id: I8af5555f802e8c0122378bd504ad4308ff9aad56
Peng Xu [Thu, 7 Jul 2016 22:40:08 +0000 (15:40 -0700)]
Increase sensor registration log size
This is for aiding debugging of b/
29625330. The size is increased
so that we have a better chance to know what happened before the
failure happens.
Bug:
29625330
Change-Id: I8b741cb5981d8e91b9ef53a00e65c0bbe34ed55e
Tim Murray [Wed, 22 Jun 2016 19:42:10 +0000 (12:42 -0700)]
surfaceflinger: make critical threads SCHED_FIFO
Sets the main thread, EventThread, and SFEventThread to SCHED_FIFO to
minimize jitter.
bug
24503801
Change-Id: I3751c00c79482842f5c0bdaec92b6cbfe62328a0
Dan Stoza [Fri, 1 Jul 2016 21:00:40 +0000 (14:00 -0700)]
Surface: Add LAST_[DE]QUEUE_DURATION queries
Adds support for the NATIVE_WINDOW_LAST_DEQUEUE_DURATION and
NATIVE_WINDOW_LAST_QUEUE_DURATION queries.
Bug:
29413700
Change-Id: Iea4efa208e8390fb2de52d5ad9f083ae91bf50b0
Dan Stoza [Fri, 1 Jul 2016 20:33:38 +0000 (13:33 -0700)]
HWC2: Backpressure missed vsyncs into apps
Adds a mechanism to detect whether the prior frame SurfaceFlinger
presented to hardware composer was actually picked up or not. We then
use this mechanism to avoid pushing two frames in the same vsync.
This backpressure is passed back to applications by not latching any
buffers, which will manifest as dequeueBuffer stalling until
SurfaceFlinger releases a buffer on the following vsync.
Also makes the former INVALIDATE_ON_VSYNC behavior the only behavior
so that this functionality works correctly.
Bug:
29413700
Change-Id: Ibde358e45423ee6fea7b5e09ff65e49c4ad67baa
Dan Stoza [Wed, 15 Jun 2016 23:26:27 +0000 (16:26 -0700)]
SF: Only latch buffers after fence signals
Changes SurfaceFlinger to only latch a buffer after its corresponding
acquire fence has signaled. This will enable us to move
SurfaceFlinger closer to vsync since there is no risk of fence waits
blocking composition.
Bug:
29413700
Change-Id: I26f4fd600c1611b8d736ec654d1f0f02cf69ae5f
Pablo Ceballos [Thu, 30 Jun 2016 23:48:02 +0000 (16:48 -0700)]
resolve merge conflicts of
8e3e92b to nyc-mr1-dev
Change-Id: Ic67f0894e68ea5276eb9187a13cd24f105d55d68
Sergio Giro [Tue, 28 Jun 2016 17:19:33 +0000 (18:19 +0100)]
Add bound checks to utf16_to_utf8
Bug:
29250543
Change-Id: I518e7b2fe10aaa3f1c1987586a09b1110aff7e1a
Pablo Ceballos [Wed, 29 Jun 2016 22:08:33 +0000 (15:08 -0700)]
BQ: Handle buffer allocation failure
Return the slot to the mFreeSlots if we fail to allocate.
Bug
29873396
Change-Id: Icafc5c64c7233d47e160f7a56e5a314e4a01611d
mukesh agrawal [Thu, 9 Jun 2016 01:16:36 +0000 (18:16 -0700)]
dumpsys: report per-service dump times
In WiFi soak testing, we've seen several cases where
dumpsys times out. We've been unable to pin down the
cause of the timeouts, as there's no single service
that is obviously hung.
Add reporting of service dump times, to help figure
out why dumpsys is timing out.
BUG=
29090949
TEST=manual
Manual test
- load build on bullhead
$ adb shell dumpsys | grep 'was the duration'
- see non-zero values
Change-Id: Iaba60d840ac55cba171a3ccbc74c2aee8b23dce6
(cherry picked from commit
4e4c548437b7cc7748e97ecc74a525e26a441cdb)
Wei Wang [Tue, 28 Jun 2016 21:32:35 +0000 (14:32 -0700)]
dumpstate: change OOM adjustment proc interface for modern kernel
Bug:
29831067
Change-Id: I72e2862daad5da99e7d767d7e41bde96750840ce
Pablo Ceballos [Tue, 28 Jun 2016 00:56:53 +0000 (17:56 -0700)]
BQ: Add and expose a unique id
Bug
29422927
Change-Id: I80eab94f073ebc378302f00fa86a740c3643657e
Mark Salyzyn [Fri, 24 Jun 2016 23:31:24 +0000 (23:31 +0000)]
dumpstate: Also pick up /sys/fs/pstore/console-ramoops-0 for LAST KMSG
am:
ced6078b0e
Change-Id: Iacabdb52ae0e4ad3a6c27e952fa9ce572b282904
Mark Salyzyn [Fri, 24 Jun 2016 21:06:15 +0000 (14:06 -0700)]
dumpstate: Also pick up /sys/fs/pstore/console-ramoops-0 for LAST KMSG
(cherry pick from commit
7d0a762ecaf9f4d005f0f6db913034c2e084d362)
Bug:
29639467
Change-Id: Iba0b1754eaebfb2b0624dcbef522b7d8456eeb50
Mark Salyzyn [Mon, 16 May 2016 15:33:59 +0000 (08:33 -0700)]
dumpstate: sscanf requires an asciiz string
(cherry pick from commit
290f4b97bb736b0652eac9667965444393e683ec)
Bug:
28770668
Change-Id: Ice56b129a243296b2691d55e8f8c35b478b1f481
Greg Kaiser [Thu, 23 Jun 2016 03:31:59 +0000 (03:31 +0000)]
Merge \"Sensor: Make getId() more varied\" into nyc-dev
am:
c0ca0ceaa5
Change-Id: I6b6ecc30646e6e9a912a1ad096bd93fea341968b
Greg Kaiser [Thu, 23 Jun 2016 03:25:44 +0000 (03:25 +0000)]
Merge "Sensor: Make getId() more varied" into nyc-dev
Greg Kaiser [Tue, 21 Jun 2016 23:11:14 +0000 (16:11 -0700)]
Sensor: Make getId() more varied
Apps from different developers will now receive a different
ID for the same dynamic sensor. Additionally, all apps
will now receive a different/new ID for the same dynamic
sensor after a factory reset.
Bug:
28775590,
29547335
Change-Id: I368655b0e4bdc16736a7fd163ea3f7dad2886b3b
Jim Miller [Wed, 22 Jun 2016 22:58:31 +0000 (15:58 -0700)]
Enable fingerprint sensor navigation to invoke QuickSettings
- rename "FP_NAV" to more generic "SYSTEM_NAVIGATION" based on other reviews.
Fixes bug
28869612
Change-Id: I384c0fa372a2ecda7250fccd0dbdfd6312423a85
Felipe Leme [Wed, 22 Jun 2016 20:29:24 +0000 (20:29 +0000)]
Merge \"Run iptables as root.\" into nyc-dev
am:
ab69cc1f11
Change-Id: I4ca2677e7b99cfaa1ccc60c3efb2df642f3a7408
TreeHugger Robot [Wed, 22 Jun 2016 20:24:53 +0000 (20:24 +0000)]
Merge "Run iptables as root." into nyc-dev
TreeHugger Robot [Wed, 22 Jun 2016 17:40:46 +0000 (17:40 +0000)]
Merge changes from topic 'seamless-rotation' into nyc-mr1-dev
* changes:
Reset mFreezePositionUpdates earlier.
SurfaceControl: Add getTransformToDisplayInverse
Change setPositionAppliesWithResize to apply to all geometry.
David Brazdil [Wed, 22 Jun 2016 16:38:43 +0000 (16:38 +0000)]
Merge "Attach profiles to bug reports" into nyc-mr1-dev
TreeHugger Robot [Wed, 22 Jun 2016 01:08:26 +0000 (01:08 +0000)]
Merge "gralloc1: Add mutexes" into nyc-mr1-dev
Robert Carr [Tue, 21 Jun 2016 04:49:49 +0000 (21:49 -0700)]
Reset mFreezePositionUpdates earlier.
We are resetting mFreezePositionUpdates
too late, in the case that the state changes during
latch buffer, we will return to recompute the visible regions
before updating mActiveBuffer.
Bug:
28823590
Change-Id: I17afc32d55d092ea0814b560846b922dd9e24c43
Robert Carr [Mon, 20 Jun 2016 18:55:28 +0000 (11:55 -0700)]
SurfaceControl: Add getTransformToDisplayInverse
For seamless rotation, the window manager needs
access to this flag, as it will apply the inverse
display transform itself to all other windows.
Bug:
28823590
Change-Id: Ifeee1078a9cb4cd01c8052570c137c6228b2f13d
Robert Carr [Thu, 16 Jun 2016 22:18:02 +0000 (15:18 -0700)]
Change setPositionAppliesWithResize to apply to all geometry.
To support seamless rotation, change setPositionAppliesWithResize
to also include the crop. As the transformation matrix is already
frozen during resize, this enables the window manager to set the
total geometry state before and after resize in a race free fashion.
Bug:
28823590
Change-Id: I3f8f0e162b7ef4e9403c1220c7e4191b3ef30526
Dan Stoza [Tue, 21 Jun 2016 23:22:06 +0000 (16:22 -0700)]
gralloc1: Add mutexes
Adds mutexes to protect both the buffer list and the descriptor list
from concurrent access
Bug:
29420918
Change-Id: I4d14353ceb167276570c56c9f92d48b28b2d4c53
Dan Stoza [Tue, 21 Jun 2016 22:02:23 +0000 (15:02 -0700)]
HWC2: Don't set null handle for client layers
Removes the code that explicitly set a null buffer handle for client
layers.
Bug:
29463310
Change-Id: I570e6041ba72d64971bb6c364e8e7b6f84eeff08
Dan Stoza [Tue, 21 Jun 2016 17:00:37 +0000 (10:00 -0700)]
HWC2: Hook up to BoardConfig variable
Uses TARGET_USES_HWC2 to enable the HWC2 code path in SurfaceFlinger
Bug:
27211042
Change-Id: I7b7e3e3f7a918e74df0be27418196c81b4332564
Dan Stoza [Mon, 20 Jun 2016 17:23:50 +0000 (17:23 +0000)]
Merge "HWC2: Skip validate/present if display is off" into nyc-mr1-dev
Greg Kaiser [Mon, 20 Jun 2016 17:22:10 +0000 (17:22 +0000)]
Merge \"SensorList: Don\'t output UUIDs\" into nyc-dev
am:
a0c08e2f8f
Change-Id: I867a9d0636c7617c84abc996e7ff62e733b27e11
Felipe Leme [Sat, 18 Jun 2016 00:37:13 +0000 (17:37 -0700)]
Run iptables as root.
iptables requires root access and su is not available on user builds,
hence it must be ran before dropping uid to shell user.
BUG:
29455997
Change-Id: I10c6337b411875b061ae9556b6e9c44f83301ae1
Greg Kaiser [Mon, 20 Jun 2016 16:24:51 +0000 (16:24 +0000)]
Merge "SensorList: Don't output UUIDs" into nyc-dev
David Brazdil [Fri, 3 Jun 2016 13:40:44 +0000 (14:40 +0100)]
Attach profiles to bug reports
Includes the entire '/data/misc/profiles' folder in the bug report
ZIP file if not user build.
Bug:
28610953
Change-Id: I99d46f024e5557cf94e6045a51c46a605a00c52b
Eino-Ville Talvala [Sat, 18 Jun 2016 08:28:41 +0000 (08:28 +0000)]
Merge \"BufferQueueProducer: Signal consumer when a buffer is detached\" into nyc-dev
am:
51ed38bb13
Change-Id: I7f901c66dd9e2f62bdc15c8b768f27003aa46611
Eino-Ville Talvala [Sat, 18 Jun 2016 02:10:11 +0000 (02:10 +0000)]
Merge "BufferQueueProducer: Signal consumer when a buffer is detached" into nyc-dev
Jesse Hall [Sat, 18 Jun 2016 01:56:55 +0000 (01:56 +0000)]
vulkan: Updated IHV documentation
am:
c2f184d9d8
Change-Id: I4ca9873ec84e5e02e6bb5e303dbce4604cd43e6f
Greg Kaiser [Fri, 17 Jun 2016 22:27:12 +0000 (15:27 -0700)]
SensorList: Don't output UUIDs
We don't want the UUIDs of dynamic sensors to be in the logs.
Bug:
28775590
Change-Id: I85ca83e0ad1a0a8ed6618999bd22d86d7ef972f9
Jesse Hall [Fri, 17 Jun 2016 20:54:53 +0000 (13:54 -0700)]
vulkan: Updated IHV documentation
Also deleted DevelopersGuide.pdf, which was very out of date and has
been superceded by public documentation on developer.android.com.
Change-Id: I7e47177191a773eea6db3ee2af0a287877cb8532
Dan Stoza [Fri, 17 Jun 2016 18:29:01 +0000 (11:29 -0700)]
HWC2: Skip validate/present if display is off
Adds checks to ensure that the display is still on before attempting
to call into prepareFrame/commit (which in turn call into
validate/present).
Bug:
28596387
Change-Id: Iad87f02c3e44e86db43a15c258ee66b0cde14faa
TreeHugger Robot [Fri, 17 Jun 2016 06:34:39 +0000 (06:34 +0000)]
Merge "Rename problematic entries." into nyc-mr1-dev
Felipe Leme [Thu, 16 Jun 2016 17:55:26 +0000 (10:55 -0700)]
Rename problematic entries.
Zip entries with extensions such as .jar could cause the zip file to be
rejected as an attachment by some email providers. To circunvent such
issue, they will renamed with a '.renamed' suffix.
BUG:
28610953
BUG:
29395357
Change-Id: I9718821a53fdf0ce4f00ed360eddbf7fb4ca1cd6
Dan Stoza [Thu, 16 Jun 2016 17:21:47 +0000 (17:21 +0000)]
Merge "HWC2On1Adapter: populateCapabilities: fix virtual display query" into nyc-mr1-dev
David Brazdil [Thu, 16 Jun 2016 13:26:38 +0000 (13:26 +0000)]
Merge \"Revert \"Attach profiles to bug reports\"\" into nyc-dev
am:
ea1aa91a25
Change-Id: I549f25a1e2bc90ff326a4d218cae5d2ea58571f3
David Brazdil [Thu, 16 Jun 2016 13:11:05 +0000 (13:11 +0000)]
Merge "Revert "Attach profiles to bug reports"" into nyc-dev
David Brazdil [Thu, 16 Jun 2016 09:11:31 +0000 (09:11 +0000)]
Revert "Attach profiles to bug reports"
This reverts commit
0faf2b870f934c1cdd883d29642fd84da3b352e2.
Bug:
28610953
Bug:
29395357
Change-Id: I609fe344dfc61311e37b91b48480d9392764a598
Fred Fettinger [Tue, 14 Jun 2016 22:53:10 +0000 (17:53 -0500)]
HWC2On1Adapter: populateCapabilities: fix virtual display query
To determine whether a HWComposer implementation supports virtual
displays, HWC2On1Adapter::populateCapabilities() calls
query(HWC_DISPLAY_TYPES_SUPPORTED). However, it incorrectly uses
HWC_DISPLAY_VIRTUAL instead of HWC_DISPLAY_VIRTUAL_BIT. Update the
check to use the correct bitmask.
Change-Id: I1ad95d5222a0353816ee65936cf033e5244c80cc
Junda Liu [Tue, 14 Jun 2016 20:10:30 +0000 (20:10 +0000)]
Merge "Fix typo in dump cmd line." into nyc-mr1-dev
Dan Stoza [Tue, 14 Jun 2016 19:59:37 +0000 (19:59 +0000)]
Merge changes from topic 'gralloc1' into nyc-mr1-dev
* changes:
libui: Convert Allocator and Mapper to gralloc1
libui: Adds C++ shim for gralloc1
libui: Add Gralloc1On0Adapter
Junda Liu [Tue, 14 Jun 2016 07:09:10 +0000 (00:09 -0700)]
Fix typo in dump cmd line.
Bug: b/
29342758
Change-Id: Ic9ac15a2ade08a2cd21721721af357aa75a35ca5
Craig Donner [Mon, 13 Jun 2016 23:25:23 +0000 (23:25 +0000)]
Merge \"Revert \"GLConsumer: add build-time disable of gpu protected content\"\" into nyc-dev
am:
e1e1e75173
Change-Id: Iea28323a8e7bd2333d396b70703ac4b1a99b1911
Craig Donner [Mon, 13 Jun 2016 23:13:02 +0000 (23:13 +0000)]
Merge "Revert "GLConsumer: add build-time disable of gpu protected content"" into nyc-dev
Craig Donner [Mon, 13 Jun 2016 22:14:15 +0000 (22:14 +0000)]
Revert "GLConsumer: add build-time disable of gpu protected content"
This reverts commit
dea97b7aa2b5cfbb7d42f30bcbf86a01778b609b.
Bug:
28545166
Change-Id: I4b069e14c2b99e190ebdea6df1ed83827ffe17b6
Dan Stoza [Thu, 2 Jun 2016 01:21:44 +0000 (18:21 -0700)]
libui: Convert Allocator and Mapper to gralloc1
Converts GraphicBufferAllocator and GraphicBufferMapper to speak
gralloc 1.0 (via the C++ shim and optionally the 1On0 adapter) instead
of gralloc 0.x.
Bug:
28401203
Change-Id: Ie1649f0ee72801579be2c2d3c47177b52962a825
Dan Stoza [Fri, 20 May 2016 19:14:37 +0000 (12:14 -0700)]
libui: Adds C++ shim for gralloc1
Adds a C++ shim which wraps a gralloc1 device and provides a somewhat
nicer interface to the rest of the system.
Bug:
28401203
Change-Id: I934ed41999bd4b9aa04d9ad8d40e7f8fba6f30ee
Dan Stoza [Mon, 11 Jan 2016 23:21:07 +0000 (15:21 -0800)]
libui: Add Gralloc1On0Adapter
Adds an adapter which provides the gralloc1 interface on top of a
gralloc 0.x device.
Bug:
28401203
Change-Id: I0eeafc998b56e2e2fc39de6fad41e3ed2e19658a
Pablo Ceballos [Mon, 13 Jun 2016 20:21:41 +0000 (13:21 -0700)]
SF: Fix HWC2 build break
Bug
29330291
Change-Id: Ifd9993ac0321c7436a17c3e64925d415ec993003
John Eckerdal [Mon, 13 Jun 2016 18:42:08 +0000 (18:42 +0000)]
Merge \"Fixed file descriptor leak in IMemory\" into nyc-dev
am:
a13a22649b
Change-Id: Id692c99cbe9274e51f6d65cb38b3e0a7293e7518
Amith Yamasani [Mon, 13 Jun 2016 18:37:40 +0000 (18:37 +0000)]
Merge "Fixed file descriptor leak in IMemory" into nyc-dev
Pablo Ceballos [Mon, 13 Jun 2016 18:35:52 +0000 (18:35 +0000)]
Add FrameStats default constructor am:
9a8c42a72b am:
8cd7d257de am:
67105cc24d am:
b990d75315 am:
a1952f0a6d am:
81d678cf18 am:
ed968dc61c am:
d1d1d4e922
am:
324b700b4b
Change-Id: I9654230b1817fa5bd16ab995d53ffbad3f25d68f
Pablo Ceballos [Mon, 13 Jun 2016 18:26:04 +0000 (18:26 +0000)]
Add FrameStats default constructor am:
9a8c42a72b am:
8cd7d257de am:
67105cc24d am:
b990d75315 am:
a1952f0a6d am:
81d678cf18 am:
ed968dc61c
am:
d1d1d4e922
Change-Id: I581c4df5e3866e8a2326830e6b9e6ca2ffb3bf1c
Pablo Ceballos [Mon, 13 Jun 2016 18:22:14 +0000 (18:22 +0000)]
Add FrameStats default constructor am:
9a8c42a72b am:
8cd7d257de am:
67105cc24d am:
b990d75315 am:
a1952f0a6d am:
81d678cf18
am:
ed968dc61c
Change-Id: Id30d35b89c46fda89990bed6acf932240bdb6890
Pablo Ceballos [Mon, 13 Jun 2016 18:18:09 +0000 (18:18 +0000)]
Add FrameStats default constructor am:
9a8c42a72b am:
8cd7d257de am:
67105cc24d am:
b990d75315 am:
a1952f0a6d
am:
81d678cf18
Change-Id: I24f1e2594fdbd2022a534332009cad9564becd54
Pablo Ceballos [Mon, 13 Jun 2016 18:13:16 +0000 (18:13 +0000)]
Add FrameStats default constructor am:
9a8c42a72b am:
8cd7d257de am:
67105cc24d am:
b990d75315
am:
a1952f0a6d
Change-Id: Icc23cc2a483b13c6ac2134008d553574fffe06f4
Pablo Ceballos [Mon, 13 Jun 2016 18:09:20 +0000 (18:09 +0000)]
Add FrameStats default constructor am:
9a8c42a72b am:
8cd7d257de am:
67105cc24d
am:
b990d75315
Change-Id: Ibc0caec8dc613a6701791f1a633f3793522615af
Pablo Ceballos [Mon, 13 Jun 2016 18:04:17 +0000 (18:04 +0000)]
Add FrameStats default constructor am:
9a8c42a72b am:
8cd7d257de
am:
67105cc24d
Change-Id: Icf85c944e561763b0a9c353f84d614a992168c20
Pablo Ceballos [Mon, 13 Jun 2016 18:00:25 +0000 (18:00 +0000)]
Add FrameStats default constructor am:
9a8c42a72b
am:
8cd7d257de
Change-Id: Ic0df6b15e28ac2acda566fa7f30c9460d36f2a00
Pablo Ceballos [Mon, 13 Jun 2016 17:56:06 +0000 (17:56 +0000)]
Add FrameStats default constructor
am:
9a8c42a72b
Change-Id: Ib78d68c71438391711ea3b91102408d5ad0b966b
TreeHugger Robot [Mon, 13 Jun 2016 17:52:55 +0000 (17:52 +0000)]
Merge "Read gsm.version.baseband for radio version." into nyc-mr1-dev
TreeHugger Robot [Mon, 13 Jun 2016 16:52:17 +0000 (16:52 +0000)]
Merge "Otapreopt: Send progress updates to update_engine" into nyc-mr1-dev
Craig Donner [Mon, 13 Jun 2016 16:49:25 +0000 (16:49 +0000)]
Merge \"Fix assignment of 565 format when creating native client buffers.\" into nyc-dev
am:
518e336d3f
Change-Id: I3ff59132bd91b02a62beddc78713e2cea7798db2
Craig Donner [Mon, 13 Jun 2016 16:36:51 +0000 (16:36 +0000)]
Merge "Fix assignment of 565 format when creating native client buffers." into nyc-dev
Junda Liu [Sun, 12 Jun 2016 18:51:54 +0000 (11:51 -0700)]
Read gsm.version.baseband for radio version.
gsm.version.baseband is the right property to use for actual radio version.
Bug: b/
29296893
Change-Id: Idf7b743f35f23261c0086449131188b1e52fb424
Craig Donner [Sat, 11 Jun 2016 00:20:15 +0000 (17:20 -0700)]
Fix assignment of 565 format when creating native client buffers.
Change-Id: Ia379f469a6e18e1f31748dc97aa596d03e507f84
Fixes:
29279664
Felipe Leme [Sat, 11 Jun 2016 00:12:30 +0000 (00:12 +0000)]
Fixed -t order (should be *after* dumpsys :-)
am:
3f83dbe2e0
Change-Id: I047fe3a0f3990eb6827484124889f0052536bcd1
Felipe Leme [Fri, 10 Jun 2016 23:56:33 +0000 (16:56 -0700)]
Fixed -t order (should be *after* dumpsys :-)
BUG:
29042642
Change-Id: I1b88634b0152f849a57f8e82adc82bdc5e609db7
Andreas Gampe [Fri, 10 Jun 2016 22:08:53 +0000 (15:08 -0700)]
Otapreopt: Send progress updates to update_engine
Use the new OtaDexoptService progress API to send updates back
to update_engine.
Bug:
25612095
Bug:
29223204
Change-Id: Ie8162946d18f6fa78649a40ad5d3949d31a181cd
Eino-Ville Talvala [Fri, 10 Jun 2016 21:21:02 +0000 (14:21 -0700)]
BufferQueueProducer: Signal consumer when a buffer is detached
When a buffer is detached, it should be cleared from the consumer-side
cache as well.
Not doing so can leak buffers no longer owned by the queue for extended
lengths of time, depending on the exact usage patterns of the producer
and consumer.
Bug:
28695173
Change-Id: I2c618be51f2c827d92d0e19b92a2d5befda87c38
Felipe Leme [Fri, 10 Jun 2016 20:58:08 +0000 (20:58 +0000)]
Merge \"Set version to 1.0\" into nyc-dev
am:
6ab3c01d18
Change-Id: Id05c75208093eaaab3e0732bf9c1767535e6d230
TreeHugger Robot [Fri, 10 Jun 2016 20:40:20 +0000 (20:40 +0000)]
Merge "Set version to 1.0" into nyc-dev
Calvin On [Fri, 10 Jun 2016 00:26:47 +0000 (00:26 +0000)]
Merge \"Expose more useful functions that can be used by dumpstate_board().\" into nyc-dev
am:
f678562fa4
Change-Id: I4a598f406bbbb9cd546a0e2f59dd085622b95b30
Felipe Leme [Fri, 10 Jun 2016 00:19:18 +0000 (00:19 +0000)]
Merge "Expose more useful functions that can be used by dumpstate_board()." into nyc-dev
John Eckerdal [Thu, 21 Apr 2016 13:04:14 +0000 (15:04 +0200)]
Fixed file descriptor leak in IMemory
Include dup in critical section to avoid multiple dup calls from
different threads.
The leak happens more frequently since patch in frameworks/av -
6773d4777f4ccbbe6377e4ae1b42c117066ae6ba when recording video since it
will access IMemory from CameraUtils::isNativeHandleMetadata
Bug:
28924660
Author: Henrik Antonsson <henrik.antonsson@sonymobile.com>
Change-Id: I769a914c3adc505b522659a0c43719fb2922e6fd
Pablo Ceballos [Thu, 9 Jun 2016 21:10:16 +0000 (21:10 +0000)]
Merge "Plumbing for getting FenceTracker timestamps" into nyc-mr1-dev
Andreas Gampe [Wed, 8 Jun 2016 22:11:37 +0000 (15:11 -0700)]
Otapreopt: Filter preopted system apps
The tool will receive requests to compile preopted system apps, as
we can't detect changes right now and need to be conservative. As
some apps cannot be stripped (signed before being preopted), they
can be re-compiled on device, producing stale files that won't be
cleaned up.
Add code to detect this situation and avoid a compile.
Bug:
25612095
Change-Id: I5f489e61b8d4e5b619cbaa01f6c59880479a46cd
Felipe Leme [Wed, 8 Jun 2016 23:41:18 +0000 (23:41 +0000)]
Merge \"Improved error handling.\" into nyc-dev
am:
bbd27419ac
Change-Id: I55a0eb324d18c7081acb6387b51c2fdf4f7b2a62
TreeHugger Robot [Wed, 8 Jun 2016 23:35:11 +0000 (23:35 +0000)]
Merge "Improved error handling." into nyc-dev
Andreas Gampe [Wed, 8 Jun 2016 22:34:32 +0000 (22:34 +0000)]
Merge "Installd: Move app image A/B artifact" into nyc-mr1-dev
Felipe Leme [Wed, 8 Jun 2016 18:11:01 +0000 (11:11 -0700)]
Improved error handling.
adb bugreport now properly handles stderr.
BUG:
29161586
Change-Id: I7a59d1feadda3d160eae6fe447a7a3c7e0843cbb
Felipe Leme [Wed, 8 Jun 2016 18:35:11 +0000 (18:35 +0000)]
Merge \"Explicitly sets dumpsys timeout.\" into nyc-dev
am:
12af7d51a1
Change-Id: Ieab6b2ad648ff58b3bee7ffc8d4fbc3cfb516225
TreeHugger Robot [Wed, 8 Jun 2016 18:14:00 +0000 (18:14 +0000)]
Merge "Explicitly sets dumpsys timeout." into nyc-dev
Andreas Gampe [Mon, 6 Jun 2016 22:36:18 +0000 (15:36 -0700)]
Installd: Move app image A/B artifact
In addition to odex, also move art file.
Bug:
25612095
Change-Id: I69f4c2b1e7283c9a9c361f57f5233e66679c5c28
TreeHugger Robot [Wed, 8 Jun 2016 17:35:43 +0000 (17:35 +0000)]
Merge "Installd: Change app image name computation" into nyc-mr1-dev
Felipe Leme [Wed, 8 Jun 2016 16:51:29 +0000 (09:51 -0700)]
Explicitly sets dumpsys timeout.
The run_command() function takes a timeout as argument, and dumpsys can
also optionally takes a timeout with the -t argument, hence it makes
sense to pass the same value for both (otherwise dumpsys will timeout in
10s).
BUG:
29042642
Change-Id: Ib6e987d94e966686bab71223d7f910af9e549814