OSDN Git Service
Courtney Goeltzenleuchter [Mon, 30 Jan 2017 22:21:29 +0000 (22:21 +0000)]
Merge "Add support for VK_EXT_swapchain_colorspace"
Calin Juravle [Mon, 30 Jan 2017 20:00:12 +0000 (20:00 +0000)]
Merge "[Installd] Clean up logic for secondary dex oat files"
Calin Juravle [Mon, 30 Jan 2017 19:47:40 +0000 (19:47 +0000)]
Merge "Add installd logic for compiling secondary dex files"
TreeHugger Robot [Mon, 30 Jan 2017 19:26:59 +0000 (19:26 +0000)]
Merge "frameworks/native: Add VR command-line tools"
Courtney Goeltzenleuchter [Mon, 30 Jan 2017 18:53:14 +0000 (18:53 +0000)]
Merge "Add support for EGL_EXT_pixel_format_float"
Alex Vakulenko [Fri, 27 Jan 2017 22:41:25 +0000 (14:41 -0800)]
frameworks/native: Add VR command-line tools
Bug: None
Test: `m -j32` succeeds
Change-Id: Ia83c71875eb0f207f63a168c88a138daeea42d5d
Jiwen 'Steve' Cai [Sun, 29 Jan 2017 19:37:16 +0000 (11:37 -0800)]
Fix libgvr related build issue on mips
Bug:
34787305
Test: make -j109 PRODUCT-aosp_mips-eng dist checkbuild
Change-Id: Ib1d41a70a50b2b34fc2b46dcfd3b49da07dc2495
Jiwen 'Steve' Cai [Sun, 29 Jan 2017 04:44:35 +0000 (20:44 -0800)]
Pull in X86 targets for GVR prebuilts CL@
144004555
Also updates the build_gvr_prebuilts.sh script for future prebuilt pull in.
Bug:
34787305
Test: m -j PRODUCT-sdk_google_phone_x86_64-sdk_addon
Test: m -j PRODUCT-sdk_google_phone_mips-sdk_addon
Change-Id: Iba4c4edbdb97f8c2e0e3e6bf054366c2648884fd
Alex Vakulenko [Fri, 27 Jan 2017 22:41:04 +0000 (14:41 -0800)]
Add DaydreamVR native libraries and services
Upstreaming the main VR system components from master-dreamos-dev
into goog/master.
Bug: None
Test: `m -j32` succeeds. Sailfish boots and basic_vr sample app works
Change-Id: I853015872afc443aecee10411ef2d6b79184d051
TreeHugger Robot [Sat, 28 Jan 2017 07:05:30 +0000 (07:05 +0000)]
Merge "Add color space connection"
TreeHugger Robot [Sat, 28 Jan 2017 05:40:34 +0000 (05:40 +0000)]
Merge "Add various vector functions"
Romain Guy [Sat, 28 Jan 2017 05:23:14 +0000 (21:23 -0800)]
Add color space connection
This will be used to generate a 3D LUT to convert wide gamut bitmaps
to the render target's color space at draw time.
Bug:
32984164
Test: colorspace_test
Change-Id: I1ea8d2b3129dfc8b994c8abc926b24e7e097558c
Romain Guy [Sat, 28 Jan 2017 04:04:01 +0000 (20:04 -0800)]
Add various vector functions
- map()
- Bool vectors
- any(), all(), comparison functions
Example:
all(lessThan(abs(v1 - v0), epsilon))
Bug:
32984164
Test: vec_test
Change-Id: I7d030387f5a280a499ea480015b69138cef38459
Calin Juravle [Wed, 25 Jan 2017 09:17:17 +0000 (01:17 -0800)]
[Installd] Clean up logic for secondary dex oat files
Add a new method to installd, reconcileSecondaryOdex, which checks if
the given dex files still exist and if not, deletes the oat files that
were generated for it.
Test: devices bots
adb shell cmd package reconcile-secondary-dex
com.android.google.gms (after artificially/temporarily renaming some
dex files)
Bug:
32871170
Change-Id: I8465a7be9fd4e44e191ad40f7bd0f41c8b2d6f73
Calin Juravle [Tue, 17 Jan 2017 22:43:25 +0000 (14:43 -0800)]
Add installd logic for compiling secondary dex files
Secondary dex compilation takes almost the same path as primary apk
compilation.
The main difference is in the fact that for secondary dex files we
create the oat dir on the fly and execute dexoptanalyzer (the equivalent
of GetDexOptNeeded) to check if we really need to perform the
compilation.
Test: adb shell cmd package compile -f -m speed --secondary-dex com.google.android.gms
Bug:
32871170
Change-Id: I2c56d57322899968a338ccabffca575d66f8ee08
Robert Carr [Wed, 21 Dec 2016 20:58:51 +0000 (12:58 -0800)]
SurfaceFlinger: Add support for non-privileged clients.
Allow clients without privilege to create child layers through scoped
connections. We enable this in preparation for allowing SurfaceView
to bypass the WindowManager. We include support for reparenting of
all of a layer's children for the WindowManager to use in cases where
one surface is replacing another (while keeping its children around).
Test: Tested with corresponding SurfaceView modifications.
Change-Id: I9920e6730d719113522a68788e63fb59f70d3406
TreeHugger Robot [Fri, 27 Jan 2017 00:17:20 +0000 (00:17 +0000)]
Merge changes from topic 'vr_wm'
* changes:
VR: Add ability to pass layer info through SurfaceFlinger
VR: Create VR implementation for HWC HIDL interface
Ian Elliott [Thu, 26 Jan 2017 22:58:26 +0000 (22:58 +0000)]
Merge "Fix VK_KHR_SWAPCHAIN_FRONT_BUFFERED_SPEC_VERSION, it's actually 1"
Ian Elliott [Thu, 26 Jan 2017 21:04:17 +0000 (14:04 -0700)]
Fix VK_KHR_SWAPCHAIN_FRONT_BUFFERED_SPEC_VERSION, it's actually 1
Test: Visually compare the spec with the source.
Change-Id: I1bbadf9e618e1704aaa53e77738540e807a05e80
George Burgess IV [Thu, 26 Jan 2017 20:47:55 +0000 (20:47 +0000)]
Merge "Replace strlen with arraysize in array bounds." am:
70a5f12045 am:
5f186d057a am:
d427837d32
am:
c4aaa479ba
Change-Id: Ie73ddfcbf564778b7a3d085773ef6fba3ad66977
George Burgess IV [Thu, 26 Jan 2017 20:41:16 +0000 (20:41 +0000)]
Merge "Replace strlen with arraysize in array bounds." am:
70a5f12045 am:
5f186d057a
am:
d427837d32
Change-Id: Ia9f3ad966545b25d05394d57f38f3c1107a69469
George Burgess IV [Thu, 26 Jan 2017 20:33:01 +0000 (20:33 +0000)]
Merge "Replace strlen with arraysize in array bounds." am:
70a5f12045
am:
5f186d057a
Change-Id: Ic23f22a26e160055c2e50eb9641183c0da9dfc2a
George Burgess IV [Thu, 26 Jan 2017 20:26:56 +0000 (20:26 +0000)]
Merge "Replace strlen with arraysize in array bounds."
am:
70a5f12045
Change-Id: I3357cadb32858a94d94c6b4bd82fe69f241027b4
Treehugger Robot [Thu, 26 Jan 2017 20:06:50 +0000 (20:06 +0000)]
Merge "Replace strlen with arraysize in array bounds."
Courtney Goeltzenleuchter [Wed, 16 Nov 2016 20:53:40 +0000 (13:53 -0700)]
Add support for EGL_EXT_pixel_format_float
Bug:
32146087
Test: run test-opengl-configdump on device.
Change-Id: Ic7843f523a1c4125f6697c58d930aad6fc3248ba
George Burgess IV [Wed, 25 Jan 2017 19:52:01 +0000 (11:52 -0800)]
Replace strlen with arraysize in array bounds.
clang-FORTIFY doesn't let us evaluate strlen("foo") as a constant
expression that can be used in static array bounds. Instead, we'd need
to either do __builtin_strlen("foo") or arraysize("foo") - 1. Just use
arraysize here, since the extra 1 byte per array isn't likely to be a
terrible thing.
Happy to swap to __builtin_strlen if anyone cares deeply enough.
Bug:
32073964
Test: Now builds with clang FORTIFY.
Change-Id: I4c9b3eb74775901554b939246722bd3a22326d10
Yifan Hong [Thu, 26 Jan 2017 18:33:58 +0000 (18:33 +0000)]
Merge changes from topic 'lshal' am:
1f2d5a9cda am:
65b5fab397 am:
cf41d3fa69
am:
86e0f74b09
Change-Id: I410c1ad96a56905bd146f0730a3497458ab54e3b
Yifan Hong [Thu, 26 Jan 2017 18:32:39 +0000 (18:32 +0000)]
Add debugDump() to IServiceManager. am:
5ccdab9bc5 am:
169161171c am:
6c24cc3dd6
am:
bd0382f41d
Change-Id: Ia7b46d17897c0214ff20a189745ebfb54b4a7433
Yifan Hong [Thu, 26 Jan 2017 18:32:28 +0000 (18:32 +0000)]
Add an lshal command. am:
85dd3ad89f am:
a763ae7121 am:
5a0eaa454f
am:
684fae26ec
Change-Id: I3ecd794a8d51e3c316cf2974af0c7c95a4bfcef5
Yifan Hong [Thu, 26 Jan 2017 18:30:58 +0000 (18:30 +0000)]
Merge changes from topic 'lshal' am:
1f2d5a9cda am:
65b5fab397
am:
cf41d3fa69
Change-Id: Ia11923e218c0594d2f67b95ec510fa80716d74e3
Yifan Hong [Thu, 26 Jan 2017 18:29:38 +0000 (18:29 +0000)]
Add debugDump() to IServiceManager. am:
5ccdab9bc5 am:
169161171c
am:
6c24cc3dd6
Change-Id: Id823cb5ce3aab358311858a5c041fbeb305dfdb7
Yifan Hong [Thu, 26 Jan 2017 18:29:26 +0000 (18:29 +0000)]
Add an lshal command. am:
85dd3ad89f am:
a763ae7121
am:
5a0eaa454f
Change-Id: Ifa851e5bb55a870a290b4be134607a744af5f741
Yifan Hong [Thu, 26 Jan 2017 18:27:25 +0000 (18:27 +0000)]
Merge changes from topic 'lshal' am:
1f2d5a9cda
am:
65b5fab397
Change-Id: If32d7c1459710e4f584be7740e8de785337dd54b
Yifan Hong [Thu, 26 Jan 2017 18:26:07 +0000 (18:26 +0000)]
Add debugDump() to IServiceManager. am:
5ccdab9bc5
am:
169161171c
Change-Id: I570c0d3f712dd8069d14fdae37c587ebcfd99229
Yifan Hong [Thu, 26 Jan 2017 18:25:56 +0000 (18:25 +0000)]
Add an lshal command. am:
85dd3ad89f
am:
a763ae7121
Change-Id: I627e16e1216e09dccbc96db26dfba844e073d403
Yifan Hong [Thu, 26 Jan 2017 18:24:44 +0000 (18:24 +0000)]
Merge changes from topic 'lshal'
am:
1f2d5a9cda
Change-Id: If2ed2950dfa6f7a4598e143e9e22b34426a8f196
Yifan Hong [Thu, 26 Jan 2017 18:23:12 +0000 (18:23 +0000)]
Add debugDump() to IServiceManager.
am:
5ccdab9bc5
Change-Id: I4823ca88072ebe167fa6a3b894cad610cea88c94
Yifan Hong [Thu, 26 Jan 2017 18:23:02 +0000 (18:23 +0000)]
Add an lshal command.
am:
85dd3ad89f
Change-Id: I43be1cd548f30d7d6e954411fc3db8b13e20f3c0
Yifan Hong [Thu, 26 Jan 2017 18:18:19 +0000 (18:18 +0000)]
Merge changes from topic 'lshal'
* changes:
Add debugDump() to IServiceManager.
Add an lshal command.
Jeff Sharkey [Thu, 26 Jan 2017 17:48:38 +0000 (17:48 +0000)]
Merge "Fix two bugs in external storage accounting." am:
d1361ceb0c am:
e4dc5d4ec5 am:
0f08cf28bd
am:
8f1b3ed54f
Change-Id: I3324121cd4f987c58cd0065200d21fbdfc98065b
Jeff Sharkey [Thu, 26 Jan 2017 17:45:35 +0000 (17:45 +0000)]
Merge "Fix two bugs in external storage accounting." am:
d1361ceb0c am:
e4dc5d4ec5
am:
0f08cf28bd
Change-Id: Ib784b3bbeb49c56b0f2f2b180c04fc6bec14e68b
Jeff Sharkey [Thu, 26 Jan 2017 17:43:07 +0000 (17:43 +0000)]
Merge "Fix two bugs in external storage accounting." am:
d1361ceb0c
am:
e4dc5d4ec5
Change-Id: I61ec7deb5d7196259e83de0a141ef23d198b9f1e
Jeff Sharkey [Thu, 26 Jan 2017 17:40:36 +0000 (17:40 +0000)]
Merge "Fix two bugs in external storage accounting."
am:
d1361ceb0c
Change-Id: I6f661104fbe8527bfbb1f9599beb395e5bc9d218
Treehugger Robot [Thu, 26 Jan 2017 17:37:23 +0000 (17:37 +0000)]
Merge "Fix two bugs in external storage accounting."
TreeHugger Robot [Thu, 26 Jan 2017 08:53:03 +0000 (08:53 +0000)]
Merge "Dump Per UID IO usage from storaged"
TreeHugger Robot [Thu, 26 Jan 2017 07:22:21 +0000 (07:22 +0000)]
Merge "Support pointer capture in InputReader"
Yifan Hong [Thu, 26 Jan 2017 06:53:37 +0000 (22:53 -0800)]
Add debugDump() to IServiceManager.
Test: mma
Change-Id: I04289500c7ee42a84d3593b4c0e45a0b829370a7
Yifan Hong [Wed, 25 Jan 2017 22:20:34 +0000 (14:20 -0800)]
Add an lshal command.
lshal lists services registered to the binderized
IServiceManager and all services available to the
passthrough IServiceManager as *.so libraries. It
also dumps the reference count for each service.
Bug:
34712252
Test: adb shell lshal
Change-Id: I9436a033cf736b8a8c307a2e87549c9db6379f3f
TreeHugger Robot [Thu, 26 Jan 2017 06:43:11 +0000 (06:43 +0000)]
Merge "Remove from preloads/file_cache when clearing the cache"
Jin Qian [Tue, 24 Jan 2017 20:07:14 +0000 (12:07 -0800)]
Dump Per UID IO usage from storaged
Test: adb bugreport
Bug:
34198239
Bug:
33086174
Change-Id: Ic333bdb961f6ce36327ec2b710485ff0a7f7aec1
Jeff Sharkey [Thu, 26 Jan 2017 05:15:42 +0000 (22:15 -0700)]
Fix two bugs in external storage accounting.
When doing a manual tree walk, we always want to inherit fts_number
from the parent fts node.
For create_data_media_package_path(), two of the arguments had been
swapped.
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest
Bug:
27948817,
30927649
Change-Id: Ic3cbf387cf119aa82af6e380bde9d9b069f6bfb0
Chris Forbes [Thu, 26 Jan 2017 02:32:18 +0000 (02:32 +0000)]
Merge "vulkan: Stub/forwarding implementation of gpdp2 in nulldrv"
George Burgess IV [Thu, 26 Jan 2017 01:39:38 +0000 (01:39 +0000)]
Merge "Add mode to open call with O_CREAT" am:
af78fe13a0 am:
f6b468db7b am:
2b0fedb71e
am:
b640267dd1 -s ours
Change-Id: I7de019ab141fd0f3164d0d489e8e8412ed13fcbd
George Burgess IV [Thu, 26 Jan 2017 01:37:08 +0000 (01:37 +0000)]
Merge "Add mode to open call with O_CREAT" am:
af78fe13a0 am:
f6b468db7b
am:
2b0fedb71e
Change-Id: I7710b8e0e21243edf1136fa87bb36655bc5b5b95
George Burgess IV [Thu, 26 Jan 2017 01:34:39 +0000 (01:34 +0000)]
Merge "Add mode to open call with O_CREAT" am:
af78fe13a0
am:
f6b468db7b
Change-Id: I6ec7cd3bfa79ac95a042e26455073cb3cbec60c3
George Burgess IV [Thu, 26 Jan 2017 01:32:36 +0000 (01:32 +0000)]
Merge "Add mode to open call with O_CREAT"
am:
af78fe13a0
Change-Id: I488ffb3be9152532fd3e7eddd7bc78d311673420
Treehugger Robot [Thu, 26 Jan 2017 01:25:52 +0000 (01:25 +0000)]
Merge "Add mode to open call with O_CREAT"
Vladislav Kaznacheev [Fri, 16 Dec 2016 02:14:58 +0000 (18:14 -0800)]
Support pointer capture in InputReader
When pointer capture is enabled, the pointer icon is hidden,
the pointer location is not changing, and CursorInputMapper
generates "captured" events with relative offsets instead of
absolute positions.
Captured events have their source set to a newly introduced
SOURCE_MOUSE_RELATIVE (of SOURCE_CLASS_TRACKBALL).
Test: InputReader_test --gtest_filter=
CursorInputMapperTest.Process_PointerCapture
Bug:
30897034
Change-Id: Id30cb8e7edac56ab813e22a834cc44ab263d1003
Chris Forbes [Wed, 25 Jan 2017 23:45:49 +0000 (12:45 +1300)]
vulkan: Stub/forwarding implementation of gpdp2 in nulldrv
Implements gpdp2 in terms of the core 1.0 functions. This is just
enough to be able to demonstrate CTS against gpdp2, and shake out
any bad loader interactions.
Where we hadn't bothered to implement the core function in nulldrv,
don't do it for gpdp2 equivalent either.
Test: dEQP-VK.api.info.get_physical_device_properties2 etc
Change-Id: I04ac05a01a67c6e03bd1a569701b046cf86877e9
Ian Elliott [Wed, 25 Jan 2017 22:45:36 +0000 (22:45 +0000)]
Merge "Vulkan: only report refreshDuration, not {min|max}RefreshDuration"
George Burgess IV [Wed, 25 Jan 2017 21:51:53 +0000 (13:51 -0800)]
Add mode to open call with O_CREAT
This change was already applied internally. For us to submit FORTIFY, we
need to push it out here. Otherwise, we get compile-time errors about
this.
Bug:
32073964
Test: Builds with FORTIFY.
Change-Id: Ib500aca933468c06f7ceb796a9bb6a16c118e366
Merged-In: I63eb3d5499ae7e9ff9a77393763e39b747fd4611
Daniel Nicoara [Tue, 20 Dec 2016 21:11:58 +0000 (16:11 -0500)]
VR: Add ability to pass layer info through SurfaceFlinger
Updates SurfaceFlinger to connect to the VR HWC service and pass
additional layer information.
For now VR mode is enabled at build time.
Bug:
33297385
Test: Ran on device and verified the IVrComposerClient::setLayerInfo()
call is done successfully.
Change-Id: I9dea2451a3a2aa1919395d3785ae00446ba51f26
Ian Elliott [Wed, 25 Jan 2017 20:09:20 +0000 (13:09 -0700)]
Vulkan: only report refreshDuration, not {min|max}RefreshDuration
Test: Manually tested with a modified cube demo, that reports the refresh
duration returned from this extension.
As part of discussions within Khronos, it was decided that
VK_GOOGLE_display_timing should only report one refresh duration for a display,
and assume that it's refresh rate is fixed (which is the case for our current
devices).
Change-Id: I772348281c18a36b02dcfe0519d1943e25a41f7c
Daniel Nicoara [Thu, 8 Dec 2016 21:48:20 +0000 (16:48 -0500)]
VR: Create VR implementation for HWC HIDL interface
* Implement the IComposerClient interface for a VR HWC.
* Introduce new command to send layer information to the VR HWC.
* Add observer interface in the VR HWC service allowing VR Window
Manager to consume SurfaceFlinger output.
Bug:
32541196,
33297385
Test: Compiled and ran with modified surfaceflinger that connects to the
VR hwcomposer and made sure there are no crashes.
Change-Id: Ic2c882ba5e4c570cbd0b7a180845a5e61a768cad
Fyodor Kupolov [Wed, 7 Sep 2016 20:07:45 +0000 (13:07 -0700)]
Remove from preloads/file_cache when clearing the cache
Test: pm trim-caches 50G internal
Bug:
31008665
Change-Id: If74f4d3c2d838ecb924aba84ad76293af34089bc
Rob Carr [Wed, 25 Jan 2017 19:14:27 +0000 (19:14 +0000)]
Merge changes I96f8ad86,I84dcd82e,Ifcece69f
* changes:
SurfaceFlinger and libgui: Support for child layers.
SurfaceFlinger: Use traversal functions to iterate LayerList.
SurfaceFlinger and libgui: Switch Z-order to signed type.
TreeHugger Robot [Wed, 25 Jan 2017 17:23:21 +0000 (17:23 +0000)]
Merge "Add support for BLOB format to HardwareBuffer."
TreeHugger Robot [Wed, 25 Jan 2017 07:24:55 +0000 (07:24 +0000)]
Merge "Fix min delay for virtual geomag vector sensor"
Grigory Dzhavadyan [Tue, 1 Nov 2016 00:02:32 +0000 (17:02 -0700)]
Fix min delay for virtual geomag vector sensor
bug:
31808374
N-CTS requires this to be <= 10 ms
Change-Id: I0959fa2cb9ae40bc832726fedccc77366aba1520
(cherry picked from commit
f1a9141f72fc73af0485d12f5e4b5b176dbe9f34)
Mårten Kongstad [Tue, 15 Dec 2015 13:02:30 +0000 (14:02 +0100)]
installd: add command 'removeIdmap'
Add an installd command to remove an idmap file. This is the inverse of
the 'idmap' command and is intended for clean-up once an idmap file is
no longer needed because an APK was removed, etc.
This commit depends on a corresponding commit in frameworks/base (with
the same Change-Id).
Bug:
31052947
Test: run tests from 'OMS: tests for OverlayManagerService'
Change-Id: Iae19a519803f0c172b02a32faa283ef36f43863c
Craig Donner [Wed, 25 Jan 2017 02:16:10 +0000 (18:16 -0800)]
Add support for BLOB format to HardwareBuffer.
Test: updated CTS test to check for error conditions if the blob dimensions are
bad.
Bug:
34050596
Change-Id: I48e78fa3f133f6283737ade78bdf35094981aef9
TreeHugger Robot [Wed, 25 Jan 2017 01:20:23 +0000 (01:20 +0000)]
Merge "Rename colorimetry to color mode"
Ian Elliott [Tue, 24 Jan 2017 23:18:23 +0000 (23:18 +0000)]
Merge "Plumb refresh cycle duration up to VK_GOOGLE_display_timing."
TreeHugger Robot [Tue, 24 Jan 2017 23:12:51 +0000 (23:12 +0000)]
Merge "BufferQueue: Add bufferReplaced flag in QueueBufferOutput"
Peng Xu [Tue, 24 Jan 2017 23:04:08 +0000 (23:04 +0000)]
Merge "Add function to determine if SensorDevice support direct report"
Robert Carr [Mon, 24 Oct 2016 23:27:39 +0000 (16:27 -0700)]
SurfaceFlinger and libgui: Support for child layers.
Add support for parenting Layers in a tree. Layers
follow scene-graph style rules, that is to say:
1. A child is cropped to the final bounds of the parent.
2. A child inherits the parent's transform (including position)
3. A child's Z ordering is relative to the parent and bounded between
the parents siblings.
4. A childs lifetime is bounded by it's parents lifetime.
Test: New tests in Transaction_test plus manual testing with later branches.
Change-Id: I96f8ad863665b9a70b6f845561344c297b7e6eff
Robert Carr [Mon, 28 Nov 2016 22:09:09 +0000 (14:09 -0800)]
SurfaceFlinger: Use traversal functions to iterate LayerList.
In preparation for the Layer hierarchy. There we will need
to use such a style to traverse the tree of layers.
Test: Just a refactoring. SurfaceFlinger still works.
Change-Id: I84dcd82e713f1bdbe911658793ce11460267a956
Robert Carr [Mon, 28 Nov 2016 18:51:00 +0000 (10:51 -0800)]
SurfaceFlinger and libgui: Switch Z-order to signed type.
In preparation for SurfaceFlinger child layers. In that model
children's Z order will be relative to their parent. We need
negative Z values to represent children stacking below their
parent (e.g. SurfaceView). Java side already uses signed types
strangely enough.
Test: Basically a refactoring. SurfaceFlinger still works.
Change-Id: Ifcece69f6f9d917cbf5238a59f8e5de1e8ba6a25
Albert Chaulk [Tue, 22 Nov 2016 18:52:43 +0000 (13:52 -0500)]
VR: Add API to plumb surface type and owner through to SurfaceFlinger
This is a cherry-pick of
https://googleplex-android-review.git.corp.google.com/c/
1648886/
Test: None
Bug: None
Change-Id: I338c84c2576ab85fa4f6d8e759c9e7ce912cdd61
Ian Elliott [Fri, 20 Jan 2017 20:13:20 +0000 (13:13 -0700)]
Plumb refresh cycle duration up to VK_GOOGLE_display_timing.
Test: Manually tested with a modified cube demo, that reports the refresh
duration returned from this extension.
Change-Id: Ib9499429119e910585a4ee9341c3a2d86a3bdae0
Courtney Goeltzenleuchter [Tue, 24 Jan 2017 15:28:02 +0000 (15:28 +0000)]
Merge "Make dataspace accessible to surface flinger"
TreeHugger Robot [Tue, 24 Jan 2017 15:05:22 +0000 (15:05 +0000)]
Merge "Track AudioService method: disableRingtoneSync"
Robin Lee [Tue, 24 Jan 2017 11:16:54 +0000 (11:16 +0000)]
Track AudioService method: disableRingtoneSync
Bug:
30658854
Test: cts-tradefed --test com.android.cts.devicepolicy.ManagedProfileTest
Change-Id: Ie38497f2ff268689171671c8e87cf75b1e2e22ae
Peng Xu [Tue, 24 Jan 2017 04:06:27 +0000 (20:06 -0800)]
Add function to determine if SensorDevice support direct report
Added a function to SensorDevice to indicate if direct report is
supported. This avoided a crash condition in non-HIDL implementation.
Test: test with demo app on a HAL w/ and w/o direct report support
Change-Id: If68497bb8890b9e6003c2afeec38d16daf81f237
Stephen Hines [Tue, 24 Jan 2017 02:26:43 +0000 (02:26 +0000)]
Merge "Properly align a packed structure." am:
24257dda48 am:
7e500210be am:
bfee6aee59
am:
e226d82702
Change-Id: I3c9e07e48928390a98c01299fd16d58154f34150
Stephen Hines [Tue, 24 Jan 2017 02:22:06 +0000 (02:22 +0000)]
Merge "Properly align a packed structure." am:
24257dda48 am:
7e500210be
am:
bfee6aee59
Change-Id: I801b129aa66816d9639f9b089ca35fc82caf69fa
Christopher Tate [Mon, 23 Jan 2017 20:20:21 +0000 (12:20 -0800)]
Allow bugreport broadcasts to launch manifest receivers
Bug
34594835
Test: bugreport via hard buttons
Change-Id: I7a944f2dfa35d278d2f78d1b37beab4468bd1bb4
Stephen Hines [Tue, 24 Jan 2017 01:21:35 +0000 (01:21 +0000)]
Merge "Properly align a packed structure." am:
24257dda48
am:
7e500210be
Change-Id: If09a200e9efa35ecc8611d087a7ba63f99f2a330
Stephen Hines [Tue, 24 Jan 2017 01:20:04 +0000 (01:20 +0000)]
Merge "Properly align a packed structure."
am:
24257dda48
Change-Id: I66d07aab4dfa72afe44270d866514102f660aab6
Treehugger Robot [Tue, 24 Jan 2017 01:15:06 +0000 (01:15 +0000)]
Merge "Properly align a packed structure."
Romain Guy [Tue, 24 Jan 2017 00:58:08 +0000 (16:58 -0800)]
Rename colorimetry to color mode
This API was introduced in O
Bug:
32984164
Test: compile
Change-Id: Ia58bc52d79ea746ad2feabafad326c90f385ee0a
Courtney Goeltzenleuchter [Tue, 24 Jan 2017 00:15:24 +0000 (17:15 -0700)]
Add support for VK_EXT_swapchain_colorspace
Test: compile Vulkan CTS test TBD
Change-Id: Ibfe3e5e29727132ded59bb647cea05826ba484e6
Chris Forbes [Tue, 24 Jan 2017 00:13:59 +0000 (00:13 +0000)]
Merge "vulkan: Allow HAL to expose KHR_swapchain_front_buffered"
TreeHugger Robot [Mon, 23 Jan 2017 21:48:43 +0000 (21:48 +0000)]
Merge "Update CommandWriter to CommandWriterBase"
Chris Forbes [Mon, 23 Jan 2017 21:16:48 +0000 (10:16 +1300)]
vulkan: Allow HAL to expose KHR_swapchain_front_buffered
All the API surface for this is in libvulkan, but we need the driver to
have opted in to the more relaxed rules wrt which image layouts may
appear where.
Test: build
Change-Id: I9f1b3cf3df84d928a8b216180a5798bb1bfb046d
Chris Phoenix [Mon, 23 Jan 2017 20:42:53 +0000 (20:42 +0000)]
Merge "sensors HAL uses "default" service name"
TreeHugger Robot [Mon, 23 Jan 2017 19:29:01 +0000 (19:29 +0000)]
Merge "Adding AHardwareBuffer header."
TreeHugger Robot [Mon, 23 Jan 2017 19:24:29 +0000 (19:24 +0000)]
Merge "Removed duplicated build from bugreport name."
Paul Lawrence [Mon, 23 Jan 2017 18:39:43 +0000 (18:39 +0000)]
Merge "Update atrace to work with tracefs, not debugfs" am:
a92616ecfe am:
ea7c1845ee am:
00613eaf8d
am:
3e715e9929
Change-Id: I3b7c015a8fb37aa5b135e7b329f31c9bf4d31166
Paul Lawrence [Mon, 23 Jan 2017 18:34:25 +0000 (18:34 +0000)]
Merge "Update atrace to work with tracefs, not debugfs" am:
a92616ecfe am:
ea7c1845ee
am:
00613eaf8d
Change-Id: Ia24e8eb3bc9b1b9ea5ce4047233c3cbd82016e29