OSDN Git Service
Jeff Sharkey [Fri, 15 Jul 2016 00:16:22 +0000 (18:16 -0600)]
Record "cache" inodes to clear while CE is locked.
There are two situations where we need to clear cached data from
all users, including those whose CE storage might still be locked:
1. When PackageManager is clearing caches to try making room for
package updates.
2. When the device fingerprint changes, we need to clear code caches
for all apps.
To enable this, we now record the inode number of the "cache" and
"code_cache" directories in xattrs of the parent directory. This is
just enough information to find the cache directories to enable
deleting files inside. When preparing CE storage for an app, we now
create these two directories and immediately write the inode numbers.
Bug:
26056125
Change-Id: I7e442b0676a695acf962593469793a93b03c8aee
Lajos Molnar [Thu, 14 Jul 2016 01:54:14 +0000 (01:54 +0000)]
Merge "media: add asString for new OMX layering params" into nyc-mr1-dev
Wei Liu [Wed, 13 Jul 2016 23:59:27 +0000 (23:59 +0000)]
Merge "Add bugreportwear service for Wear." into nyc-mr1-dev
Lajos Molnar [Wed, 13 Jul 2016 23:31:30 +0000 (16:31 -0700)]
media: add asString for new OMX layering params
Bug:
27596987
Change-Id: I75af5f8a92cf00a43bfa209793db3e79f8621374
Lajos Molnar [Wed, 13 Jul 2016 23:28:06 +0000 (23:28 +0000)]
Merge "media: add/fix asString for temporal layering types" into nyc-mr1-dev
Andreas Gampe [Tue, 12 Jul 2016 16:47:17 +0000 (09:47 -0700)]
Otapreopt: Try to mount vendor partition for A/B OTA
Vendor apps are usually not preopted, so A/B dexopt should pick
them up. update_engine is not mounting the vendor partition, so
let otapreopt_chroot do the work.
Bug:
25612095
Bug:
29498238
Change-Id: I5a77bdb78a8e478ce10f6c1d0f911a8d6686becb
TreeHugger Robot [Wed, 13 Jul 2016 18:57:20 +0000 (18:57 +0000)]
Merge "media: clarify i-frame interval for VPx and HEVC codecs" into nyc-mr1-dev
Andreas Gampe [Wed, 13 Jul 2016 18:29:47 +0000 (18:29 +0000)]
Merge changes from topic 'ab_ota_dexopt_target_slot' into nyc-mr1-dev
* changes:
Otapreopt: Add init script for A/B artifact move
Otapreopt: Implement new A/B OTA path
Andreas Gampe [Sat, 9 Jul 2016 18:44:12 +0000 (11:44 -0700)]
Otapreopt: Add init script for A/B artifact move
Move the /data/ota -> /data/dalvik-cache move from the zygote into
a minimal shell script. Add an init rc file to execute the script
once /data is mounted. Add Makefile rules to pull these files in
with the rest of the A/B OTA dexopt components.
The move is motivated by the new naming scheme that includes the
slot name. Passing the slot name to the zygote would complicate
the process, while the value is immediately available in the script
through a simple getprop call.
Bug:
25612095
Bug:
28069686
Change-Id: I63e718d488662e1b1de2ce857629cb90aa4f611d
Andreas Gampe [Mon, 27 Jun 2016 21:25:30 +0000 (14:25 -0700)]
Otapreopt: Implement new A/B OTA path
Refactor otapreopt_script, otapreopt_chroot and otapreopt such
that the actual work will be done as a child of the script driven
by update_engine.
The script now uses the new OtaDexoptService command to get the
right parameters for a dexopt call in otapreopt. As we reach
otapreopt_chroot and otapreopt directly, we can add parameters
without tainting the regular installd path. Use this to add the
target slot suffix, and make naming of the A/B artifacts include
the suffix instead of the generic "b."
Otapreopt_chroot startup is slightly complicated because all file
descriptors must be closed. Otherwise, dex2oat needs selinux
permissions to inherit the descriptors from update_engine.
Bug:
25612095
Bug:
28069686
Change-Id: I9d7b86ac8ecfdf91af3800f7e96f41534c0afc0f
Lajos Molnar [Wed, 13 Jul 2016 01:39:09 +0000 (18:39 -0700)]
media: add/fix asString for temporal layering types
Bug:
27596987
Change-Id: I20c628a2f0ca9770351f7096ce05a2c383e53d41
Courtney Goeltzenleuchter [Tue, 12 Jul 2016 23:12:00 +0000 (23:12 +0000)]
Merge changes Iea048eaa,I5c246571 into nyc-mr1-dev
* changes:
Add support for multiple color modes
Remove unused DisplayInfo structure
Praveen Chavan [Fri, 25 Mar 2016 08:17:32 +0000 (01:17 -0700)]
media: add OMX extensions for video temporal layering
Add static/dynamic configuration structures to setup/tune
video encoder for temporal layering
Bug:
27596987
Change-Id: Ic260872aa49faee6d17a84e6177ef94c35ef0d68
Lajos Molnar [Tue, 12 Jul 2016 20:59:47 +0000 (13:59 -0700)]
media: clarify i-frame interval for VPx and HEVC codecs
Bug:
30096321
Change-Id: I421487e6ba3d4054f9a179dc5109a01564b945f4
TreeHugger Robot [Tue, 12 Jul 2016 17:51:11 +0000 (17:51 +0000)]
Merge "Installd: Add support for dex2oat very-large-app property" into nyc-mr1-dev
Andreas Gampe [Mon, 11 Jul 2016 22:19:31 +0000 (15:19 -0700)]
Installd: Add support for dex2oat very-large-app property
To support constrained devices, dex2oat supports a parameter that
can downgrade a compilation to verify-at-runtime. Expose this
through the dalvik.vm.dex2oat-very-large system property.
Bug:
29557002
Change-Id: Iace626a8ec18533d37f84a41c20729fe7e400386
Pablo Ceballos [Tue, 12 Jul 2016 00:24:56 +0000 (00:24 +0000)]
Merge "BQ: Remove getNextFrameNumber Binder call" into nyc-mr1-dev
Pablo Ceballos [Tue, 12 Jul 2016 00:17:48 +0000 (00:17 +0000)]
Merge "BQ: Handle errors in GraphicBuffer/Fence unflatten" into nyc-mr1-dev
Courtney Goeltzenleuchter [Thu, 23 Jun 2016 17:49:50 +0000 (11:49 -0600)]
Add support for multiple color modes
Bug:
29044347
Change-Id: Iea048eaa62f072a9bbefc4f3a6c29a9e593eab69
Courtney Goeltzenleuchter [Tue, 21 Jun 2016 23:22:18 +0000 (17:22 -0600)]
Remove unused DisplayInfo structure
Bug:
29044347
Change-Id: I5c2465719050c8727b0b48ef515ee79a24e3d65d
Pablo Ceballos [Mon, 11 Jul 2016 19:16:48 +0000 (19:16 +0000)]
Merge "Add the EGL_ANDROID_get_frame_timestamps extension" into nyc-mr1-dev
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
Wei Liu [Fri, 8 Jul 2016 23:42:01 +0000 (16:42 -0700)]
Add bugreportwear service for Wear.
b/
30041885
Change-Id: Ic054e4406cbf067b86ea79aee59a105b82344fec
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
Pablo Ceballos [Tue, 31 May 2016 21:55:42 +0000 (14:55 -0700)]
Add the EGL_ANDROID_get_frame_timestamps extension
Change-Id: Ia7d1c10f0b8bd1f2f6dc7dc180764cb1b4fdbf6f
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
Pablo Ceballos [Wed, 6 Jul 2016 22:24:54 +0000 (15:24 -0700)]
BQ: Handle errors in GraphicBuffer/Fence unflatten
Bug
29873396
Change-Id: Ieab38091f60722a11e227aecac7508fc11d9f58b
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 [Fri, 1 Jul 2016 21:15:41 +0000 (14:15 -0700)]
BQ: Remove getNextFrameNumber Binder call
- Return the value in queueBuffer instead and cache it in Surface
Change-Id: I10ab112afb03cf0231b047d4a4569cd641827043
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