OSDN Git Service

android-x86/frameworks-native.git
7 years agoRemove mediacodec from native_processes_to_dump.
Pawin Vongmasa [Tue, 28 Feb 2017 04:36:47 +0000 (20:36 -0800)]
Remove mediacodec from native_processes_to_dump.

Test: Camera, Photos, YouTube, and Play Movies apps.
Bug: 35328855
Change-Id: I098fe262e414822419c1e08e5f891e8e2b13cdc9

7 years agoMerge "libbufferhubqueue: sanitize logs and Android.bp"
TreeHugger Robot [Tue, 21 Mar 2017 06:07:08 +0000 (06:07 +0000)]
Merge "libbufferhubqueue: sanitize logs and Android.bp"

7 years agoMerge "Add unit test for onBufferFreedListener"
TreeHugger Robot [Tue, 21 Mar 2017 00:25:31 +0000 (00:25 +0000)]
Merge "Add unit test for onBufferFreedListener"

7 years agoMerge "Revert "Tie vr flinger to persistent vr mode""
Jin Qian [Tue, 21 Mar 2017 00:19:26 +0000 (00:19 +0000)]
Merge "Revert "Tie vr flinger to persistent vr mode""

7 years agoRevert "Tie vr flinger to persistent vr mode"
Jin Qian [Tue, 21 Mar 2017 00:04:15 +0000 (00:04 +0000)]
Revert "Tie vr flinger to persistent vr mode"

This reverts commit f43d13e4e35ae7d3cdafc4b97c819669d42cef78.

Change-Id: Ib67db8e51b7ea2dbbe6faccce36962bf5b44a6e2

7 years agoMerge "Add new CTS feature."
Dianne Hackborn [Tue, 21 Mar 2017 00:03:03 +0000 (00:03 +0000)]
Merge "Add new CTS feature."

7 years agoMerge "Tie vr flinger to persistent vr mode"
Steven Thomas [Mon, 20 Mar 2017 23:43:46 +0000 (23:43 +0000)]
Merge "Tie vr flinger to persistent vr mode"

7 years agolibbufferhubqueue: sanitize logs and Android.bp
Jiwen 'Steve' Cai [Mon, 20 Mar 2017 22:30:21 +0000 (15:30 -0700)]
libbufferhubqueue: sanitize logs and Android.bp

1/ Use ALOGD_IF(TRACE, "xxx") and proper clags to enable/display verbose
debugging message.
2/ Make sure that tests targets are visible to Soong.

Bug: 36446316
Test: Built and ran libbufferhubqueue_test, no more spam.
Change-Id: I1b7fc5410dc0c07d8edb6d9cf788e6e5f97afd14

7 years agoAdd unit test for onBufferFreedListener
Jiwen 'Steve' Cai [Sun, 19 Mar 2017 19:26:10 +0000 (12:26 -0700)]
Add unit test for onBufferFreedListener

As a follow up to cover new functionality introduced in ag/1998938

Bug: 35114769
Test: run libgui_test with --gtest_filter='BufferItemConsumerTest.*'

Change-Id: I461dc88eac84e165f80a1838b63bfd6bb22a56d7

7 years agoMerge "VR: Allow creating virtual displays"
TreeHugger Robot [Mon, 20 Mar 2017 22:45:17 +0000 (22:45 +0000)]
Merge "VR: Allow creating virtual displays"

7 years agoMerge "libpdx_uds: Add tests for Status<T> message handler return types."
TreeHugger Robot [Mon, 20 Mar 2017 20:43:11 +0000 (20:43 +0000)]
Merge "libpdx_uds: Add tests for Status<T> message handler return types."

7 years agoMerge "libpdx: Add support for Status<T> return type from message handlers."
TreeHugger Robot [Mon, 20 Mar 2017 20:42:57 +0000 (20:42 +0000)]
Merge "libpdx: Add support for Status<T> return type from message handlers."

7 years agoMerge "Fix POLLHUP test in libpdx UDS transport tests."
TreeHugger Robot [Mon, 20 Mar 2017 20:42:00 +0000 (20:42 +0000)]
Merge "Fix POLLHUP test in libpdx UDS transport tests."

7 years agoTie vr flinger to persistent vr mode
Steven Thomas [Mon, 6 Mar 2017 19:45:16 +0000 (11:45 -0800)]
Tie vr flinger to persistent vr mode

Transfer display control to vr flinger when persistent vr mode is
entered, rather than when vr mode is entered. This allows cardboard
apps, which will invoke vr mode but not persistent vr mode, to work as
in N.

This activates vr flinger at device boot for Daydream ready devices,
which fixes an issue where an app would attempt to create a surface
before vr flinger was running, which would hang indefinitely.

The VrManager listener for persistent vr mode is put in vr flinger
instead of surface flinger. This is cleaner since the vr interaction
with the rest of the device is now consolidated in vr flinger.

While testing I encountered a problem where vr flinger was given control
of the display but vsync was turned off, causing vr flinger's post
thread to hang. I changed the vr flinger logic to give control over
vsync and other display settings to the post thread, and took the
opportunity to further simplify and improve vr flinger's thread
interactions.

Bug: 35885165

Test: Manually confirmed that when persistent vr mode is not invoked we
get the N-based render implementation, and when persistent vr mode is
invoked we get vr flinger.

Change-Id: Ieeb8dabc19e799e3179e52971f3b63f5a8f54b3b

7 years agoAdd new CTS feature.
Dianne Hackborn [Sun, 19 Mar 2017 05:15:44 +0000 (22:15 -0700)]
Add new CTS feature.

Test: this is for a test.
Change-Id: Ib557b8f68e7d5be72f8ab9b1f334d2756ea074e9

7 years agoMerge "Refactor IonBuffer to use GraphicBuffer"
TreeHugger Robot [Sun, 19 Mar 2017 04:38:50 +0000 (04:38 +0000)]
Merge "Refactor IonBuffer to use GraphicBuffer"

7 years agoChanging from ro.product.device to ro.product.name for bugreport file name
Ian Pedowitz [Sat, 18 Mar 2017 05:36:53 +0000 (22:36 -0700)]
Changing from ro.product.device to ro.product.name for bugreport file name

ro.product.device returned dragon for ryu, when the original intent
would have been to have ryu.  ro.product.name does this.

Bug: 33257711
Test: Compiled and flashed to a device, and took a bugreport
Change-Id: Ib2a11e084f9c1c550c28e0c89adc92a14652ee37

7 years agoMerge "Refactor VrFlinger to use BufferHubQueue"
Jiwen Cai [Sat, 18 Mar 2017 01:51:09 +0000 (01:51 +0000)]
Merge "Refactor VrFlinger to use BufferHubQueue"

7 years agolibpdx_uds: Add tests for Status<T> message handler return types.
Corey Tabaka [Sat, 18 Mar 2017 00:25:38 +0000 (17:25 -0700)]
libpdx_uds: Add tests for Status<T> message handler return types.

Add basic tests for Status<T> return type from message handler
methods.

Bug: None
Test: Ran libpdx_uds_tests
Change-Id: I200b12e1dad2d6e45be5cdf004c932f8de234bf2

7 years agolibpdx: Add support for Status<T> return type from message handlers.
Corey Tabaka [Sat, 18 Mar 2017 00:22:00 +0000 (17:22 -0700)]
libpdx: Add support for Status<T> return type from message handlers.

Add support for returning Status<T> from a message handler for a
remote method protocol with return type T. This greatly simplifies
error reporting logic in message handler methods.

Bug: None
Test: mm -j30; tests added to libpdx_uds in a follow up CL
Change-Id: Ib84e1ddc1f1c6a6d57b35ffada06f94a28e8e0cc

7 years agoMerge "BufferItemConsumer: Add onBufferFreedListener"
TreeHugger Robot [Sat, 18 Mar 2017 00:09:36 +0000 (00:09 +0000)]
Merge "BufferItemConsumer: Add onBufferFreedListener"

7 years agoFix POLLHUP test in libpdx UDS transport tests.
Corey Tabaka [Sat, 18 Mar 2017 00:07:15 +0000 (17:07 -0700)]
Fix POLLHUP test in libpdx UDS transport tests.

UDS channel events require a translation call to determine the real
event mask that was signaled by the service. Add the correct
translation call to fix the test.

Bug: None
Test: build; push libpdx_uds_tests; run libpdx_uds_tests
Change-Id: I18f0a5dcaf7c507d72ed5226df1fe0e2c2e3dd98

7 years agoMerge "[HWC2on1Adapter]: Add support for HWC2_PFN_GET_CLIENT_TARGET_SUPPORT"
TreeHugger Robot [Fri, 17 Mar 2017 23:23:45 +0000 (23:23 +0000)]
Merge "[HWC2on1Adapter]: Add support for HWC2_PFN_GET_CLIENT_TARGET_SUPPORT"

7 years agoMerge "Fix getFrameTimestamp test flakes."
TreeHugger Robot [Fri, 17 Mar 2017 23:23:03 +0000 (23:23 +0000)]
Merge "Fix getFrameTimestamp test flakes."

7 years agoMerge "Use hasSyncFramework value from configStore"
TreeHugger Robot [Fri, 17 Mar 2017 23:14:44 +0000 (23:14 +0000)]
Merge "Use hasSyncFramework value from configStore"

7 years agoBufferItemConsumer: Add onBufferFreedListener
Jiwen 'Steve' Cai [Fri, 17 Mar 2017 04:07:00 +0000 (21:07 -0700)]
BufferItemConsumer: Add onBufferFreedListener

This callback can reliably notify its listener when a GraphicBuffer is
being freed at the consumer end of a BufferQueue. This is extremely
useful when user of BufferItemConsumer caches the GraphicBuffer, so they
can listen to this callback and clean up resource properly.

Bug: 35114769
Test: Built system, flash marlin (should have no functional change as
the listener is optional).
Change-Id: I591cfd3ece697b1b4fb3efbeff987c7960422d24

7 years agoMerge "Add getDataSpace to layer class"
TreeHugger Robot [Fri, 17 Mar 2017 22:06:03 +0000 (22:06 +0000)]
Merge "Add getDataSpace to layer class"

7 years agoMerge "Set default color mode to trigger update"
TreeHugger Robot [Fri, 17 Mar 2017 21:40:37 +0000 (21:40 +0000)]
Merge "Set default color mode to trigger update"

7 years agoUse hasSyncFramework value from configStore
Fabien Sanglard [Sat, 11 Mar 2017 01:57:12 +0000 (17:57 -0800)]
Use hasSyncFramework value from configStore

Change-Id: I41c6b1a26001eb6ba08cbc419dc8a683f5722aa3

7 years ago[HWC2on1Adapter]: Add support for HWC2_PFN_GET_CLIENT_TARGET_SUPPORT
Fabien Sanglard [Fri, 17 Mar 2017 18:16:52 +0000 (11:16 -0700)]
[HWC2on1Adapter]: Add support for HWC2_PFN_GET_CLIENT_TARGET_SUPPORT

Test: Ryu, Marlin
Change-Id: I6209c1a4290010b04fedbcb3d30c3a1d56cfb3e9

7 years agoMerge "Remove access of DisplayClient from vr_wm"
TreeHugger Robot [Fri, 17 Mar 2017 20:16:29 +0000 (20:16 +0000)]
Merge "Remove access of DisplayClient from vr_wm"

7 years agoAdd getDataSpace to layer class
Courtney Goeltzenleuchter [Thu, 20 Oct 2016 23:18:15 +0000 (17:18 -0600)]
Add getDataSpace to layer class

Test: TBD
Change-Id: I1d583bc6dae4cfb1569f053b2480e94b6ca9cc6f

7 years agoSet default color mode to trigger update
Courtney Goeltzenleuchter [Tue, 14 Mar 2017 20:18:28 +0000 (14:18 -0600)]
Set default color mode to trigger update

Start with invalid color mode so that we are sure
to call downstream for any setColorMode.

Test: manually verify display is in sRGB mode
Change-Id: Iaf511fac1e4cd8acef149528877188708c96856f

7 years agoMerge "fix remote_method type conversion for channal handles"
TreeHugger Robot [Fri, 17 Mar 2017 20:06:02 +0000 (20:06 +0000)]
Merge "fix remote_method type conversion for channal handles"

7 years agoMerge "Update extension enums to match upstream."
TreeHugger Robot [Fri, 17 Mar 2017 19:05:41 +0000 (19:05 +0000)]
Merge "Update extension enums to match upstream."

7 years agoUpdate extension enums to match upstream.
Courtney Goeltzenleuchter [Mon, 13 Mar 2017 21:58:15 +0000 (15:58 -0600)]
Update extension enums to match upstream.

Test: make
Change-Id: I0c48e3d7112ed009c088b0336fd974ee0dd22afe

7 years agoRefactor VrFlinger to use BufferHubQueue
Jiwen 'Steve' Cai [Thu, 9 Mar 2017 01:41:48 +0000 (17:41 -0800)]
Refactor VrFlinger to use BufferHubQueue

1/ Remove DisplayRPC::AllocateBuffer, as individual buffer allocation
is now handled by BufferHubQueue.
2/ Reimplement native_buffer_queue using bufferhubqueue.
3/ Hook up consumer queue in DisplaySurface.
4/ Remove epoll_event_dispatcher as its no longer being used.

Bug: 36033302
Test: Built and ran particles.apk
Change-Id: I38ee1c57195888ede935ebc50119bcb7e4ab4e36

7 years agofix remote_method type conversion for channal handles
Hendrik Wagenaar [Fri, 17 Mar 2017 18:12:10 +0000 (11:12 -0700)]
fix remote_method type conversion for channal handles

* Required for upcoming change that mixes borrowed and local
  channel handles

Bug: None
Test: None
Change-Id: I2efd874d975913133e89eb596af3cc69e793be6b

7 years agoRemove access of DisplayClient from vr_wm
Stephen Kiazyk [Fri, 17 Mar 2017 18:05:12 +0000 (11:05 -0700)]
Remove access of DisplayClient from vr_wm

It seems like this functionality relied on another pending patch that
will not come into the picture just yet. I am not reverting the full set
of patches, as they contained some other changes which are best left in.

Bug: None
Test: *pending*
Change-Id: I2d6b6ec8ba6acc98388e5f13a54ad2cea25c1a00

7 years agoUse configStore for maxVirtualDisplay Size
Fabien Sanglard [Fri, 10 Mar 2017 18:30:28 +0000 (10:30 -0800)]
Use configStore for maxVirtualDisplay Size

Test: Manual and AUPT
Change-Id: I17ec13f782a7c7c693d84d11c9b5e87624ee71d0

7 years agoMerge "Expose acquire_fence though ConsumerQueue::Dequeue"
TreeHugger Robot [Fri, 17 Mar 2017 03:53:24 +0000 (03:53 +0000)]
Merge "Expose acquire_fence though ConsumerQueue::Dequeue"

7 years agoMerge "Revert "Use configStore for maxVirtualDisplay Size""
Fabien Sanglard [Fri, 17 Mar 2017 03:37:15 +0000 (03:37 +0000)]
Merge "Revert "Use configStore for maxVirtualDisplay Size""

7 years agoRevert "Use configStore for maxVirtualDisplay Size"
Fabien Sanglard [Fri, 17 Mar 2017 03:36:58 +0000 (03:36 +0000)]
Revert "Use configStore for maxVirtualDisplay Size"

This reverts commit 56a5dbd3b050cbfd324308d224c7d12f4aec3320.

Change-Id: I66224bb48d3146846200ff7f2d5a66d1d8ff5cf7

7 years agoMerge "Remove AHARDWAREBUFFER_USAGE0_GPU_CUBEMAP as it has no corresponding bit in...
TreeHugger Robot [Fri, 17 Mar 2017 03:21:22 +0000 (03:21 +0000)]
Merge "Remove AHARDWAREBUFFER_USAGE0_GPU_CUBEMAP as it has no corresponding bit in gralloc1."

7 years agoExpose acquire_fence though ConsumerQueue::Dequeue
Jiwen 'Steve' Cai [Tue, 14 Mar 2017 00:04:43 +0000 (17:04 -0700)]
Expose acquire_fence though ConsumerQueue::Dequeue

The current compositor implementation will be refactored to use
BufferHubQueue instead of ad-hoc BufferHub operations. We need this to
expose release_fence to compositor so that it can wait for buffers
to become avaiable by checking fence properly.

Bug: 36033302
Bug: 36148608
Test: Built and ran buffer_hub_queue-test
Change-Id: I75cfcb02e06a4b9e7e89b89690ca2d92ee09a678

7 years agoMerge "Use configStore for maxVirtualDisplay Size"
TreeHugger Robot [Fri, 17 Mar 2017 01:57:24 +0000 (01:57 +0000)]
Merge "Use configStore for maxVirtualDisplay Size"

7 years agoRemove AHARDWAREBUFFER_USAGE0_GPU_CUBEMAP as it has no corresponding
Craig Donner [Fri, 17 Mar 2017 01:33:05 +0000 (18:33 -0700)]
Remove AHARDWAREBUFFER_USAGE0_GPU_CUBEMAP as it has no corresponding
bit in gralloc1.

Bug: 34050596
Test: build, non-functional change
Change-Id: I61e46d6035f8477615f23ab245493336e61abbc3

7 years agoMerge "Add implementation for android.frameworks.sensorservice@1.0"
Yifan Hong [Fri, 17 Mar 2017 00:58:10 +0000 (00:58 +0000)]
Merge "Add implementation for android.frameworks.sensorservice@1.0"

7 years agoRefactor IonBuffer to use GraphicBuffer
Mark Urbanus [Thu, 16 Mar 2017 18:06:51 +0000 (11:06 -0700)]
Refactor IonBuffer to use GraphicBuffer

- Replace gralloc0 based implementation with GraphicBuffer implementation.
- Removed incompatible ion-buffer unit-tests.
- Added libui dependencies to dependants.

Bug: 34879523
Test: Tested on Lucid, validated graphics and poses are working
Change-Id: I49a129f269d54c81bda93b44d879d4b8dee2006a

7 years agoUse configStore for maxVirtualDisplay Size
Fabien Sanglard [Fri, 10 Mar 2017 18:30:28 +0000 (10:30 -0800)]
Use configStore for maxVirtualDisplay Size

Test: Manual and AUPT
Change-Id: Iefc09b06ab473c4029756279920135761547dd65

7 years agoMerge "Support profile guided compilation for secondary dex files" am: cb2e477f14...
Calin Juravle [Fri, 17 Mar 2017 00:09:58 +0000 (00:09 +0000)]
Merge "Support profile guided compilation for secondary dex files" am: cb2e477f14 am: f01cd5f89f
am: 95c5f4b85d

Change-Id: I432fd0a8e7056b5d41e6beb9a71d8fd74c3a34b8

7 years agoMerge "Force vrhwc/wm to report the native resolution"
TreeHugger Robot [Fri, 17 Mar 2017 00:03:48 +0000 (00:03 +0000)]
Merge "Force vrhwc/wm to report the native resolution"

7 years agoMerge "Support profile guided compilation for secondary dex files" am: cb2e477f14
Calin Juravle [Fri, 17 Mar 2017 00:01:15 +0000 (00:01 +0000)]
Merge "Support profile guided compilation for secondary dex files" am: cb2e477f14
am: f01cd5f89f

Change-Id: I5e012812cc71ed2030c5c06c151cfa68f89d6979

7 years agoMerge "Support profile guided compilation for secondary dex files"
Calin Juravle [Thu, 16 Mar 2017 23:58:15 +0000 (23:58 +0000)]
Merge "Support profile guided compilation for secondary dex files"
am: cb2e477f14

Change-Id: Ib763c8cf38a04243b1a4834a70b15a6533f7bf5d

7 years agoMerge "Support profile guided compilation for secondary dex files"
Calin Juravle [Thu, 16 Mar 2017 23:53:55 +0000 (23:53 +0000)]
Merge "Support profile guided compilation for secondary dex files"

7 years agoForce vrhwc/wm to report the native resolution
Stephen Kiazyk [Tue, 14 Mar 2017 22:38:12 +0000 (15:38 -0700)]
Force vrhwc/wm to report the native resolution

Due to some Yak-shaving, this also involved a partial conversion of our
libraries to soong.

Notes:
* I also changed the name of libsensor to libvrsensor to avoid a naming
  clash with an existing library
* The remaining libraries will be soongified in a separate CL

Bug: 36139334
Test: Build and run vr apps.
Change-Id: Ib39687bd01e3d2e1c30adc54e18f362a85954ab9

7 years agoSupport profile guided compilation for secondary dex files
Calin Juravle [Thu, 9 Mar 2017 03:05:07 +0000 (19:05 -0800)]
Support profile guided compilation for secondary dex files

Test: adb shell cmd package bg-dexopt-job works for sercondary dex files
Bug: 26719109
Change-Id: I4011a780f65378c23a4631c07c37cdb4f5fee41e

7 years agoUse forceHwcCopyForVirtualDisplay in configStore
Fabien Sanglard [Tue, 14 Mar 2017 18:43:52 +0000 (11:43 -0700)]
Use forceHwcCopyForVirtualDisplay in configStore

Test: Manual
Change-Id: Ie6f816cf8f48b1cca41d51f40e9f0ae49aef2908

7 years agoFix getFrameTimestamp test flakes.
Brian Anderson [Tue, 7 Mar 2017 21:20:31 +0000 (13:20 -0800)]
Fix getFrameTimestamp test flakes.

This fixes both the dEQP CTS flakes relating to
compositor timing and the lib_gui test flakes that
don't initialize properly.

Test: adb shell /data/nativetest/libgui_test/libgui_test
  --gtest_filter=*GetFrameTimestamps*
Bug: 35995043

Change-Id: If8e59f0dc9a916bab28bd1a36190cef9a56cb64f

7 years agoMerge "Add feature tag android.hardware.vr.headtracking."
TreeHugger Robot [Thu, 16 Mar 2017 20:27:59 +0000 (20:27 +0000)]
Merge "Add feature tag android.hardware.vr.headtracking."

7 years agoMerge changes I66c13b20,I0f1cc83c,I653d0d8a
TreeHugger Robot [Thu, 16 Mar 2017 19:26:20 +0000 (19:26 +0000)]
Merge changes I66c13b20,I0f1cc83c,I653d0d8a

* changes:
  vulkan: Implement usage flags query for KHR_shared_presentable_image
  vulkan: Implement KHR_get_surface_capabilities2
  vulkan: Update header for KHR_get_surface_capabilities2

7 years agoAdd implementation for android.frameworks.sensorservice@1.0
Yifan Hong [Fri, 10 Mar 2017 22:12:00 +0000 (14:12 -0800)]
Add implementation for android.frameworks.sensorservice@1.0

Test: marlin boots
Test: lshal -ipm | grep android.frameworks.sensorservice@1.0
Bug: 35219747
Change-Id: Idc2823c674ef452102766a1331c962d3f3f66c53

7 years agoMerge "Revert "Get rid of IGraphicBufferAlloc""
Romain Guy [Thu, 16 Mar 2017 18:41:21 +0000 (18:41 +0000)]
Merge "Revert "Get rid of IGraphicBufferAlloc""

7 years agoRevert "Get rid of IGraphicBufferAlloc"
Romain Guy [Thu, 16 Mar 2017 18:39:20 +0000 (18:39 +0000)]
Revert "Get rid of IGraphicBufferAlloc"

This reverts commit 78491c9f694cb0767996503c629776a8eda950d7.

Change-Id: I78d5c0a30ab80265f697f681387872b6763b2d1e

7 years agovulkan: Implement usage flags query for KHR_shared_presentable_image
Chris Forbes [Thu, 16 Mar 2017 03:46:05 +0000 (16:46 +1300)]
vulkan: Implement usage flags query for KHR_shared_presentable_image

This was a late addition to the spec. Until we have a reason to do
otherwise, report the same set of supported usage flags for shared
present modes as for all other modes.

Test: build
Change-Id: I66c13b20a1a0f5aa9be13bc16a323f42874ba45a

7 years agovulkan: Implement KHR_get_surface_capabilities2
Chris Forbes [Thu, 16 Mar 2017 03:30:17 +0000 (16:30 +1300)]
vulkan: Implement KHR_get_surface_capabilities2

Implemented by forwarding to the KHR_surface equivalents. This requires
a bit of rejigging in the case of GetPhysicalDeviceSurfaceFormats2KHR
to deal with the stride difference.

Change-Id: I0f1cc83cfc885955a39fc02d4a15609e83d36798
Test: dEQP-VK.wsi.android.surface.*2

7 years agovulkan: Update header for KHR_get_surface_capabilities2
Chris Forbes [Thu, 16 Mar 2017 03:10:15 +0000 (16:10 +1300)]
vulkan: Update header for KHR_get_surface_capabilities2

.. and new struct added to latest version of
KHR_shared_presentable_image.

Test: build
Change-Id: I653d0d8ad384c256e9a5c4cb79554360a5b2606e

7 years agoMerge "Get rid of IGraphicBufferAlloc"
TreeHugger Robot [Thu, 16 Mar 2017 02:43:34 +0000 (02:43 +0000)]
Merge "Get rid of IGraphicBufferAlloc"

7 years agoMerge "Add a retry mechanism to potentially allow recovery from HIDL failures."
Ashutosh Joshi [Thu, 16 Mar 2017 02:00:01 +0000 (02:00 +0000)]
Merge "Add a retry mechanism to potentially allow recovery from HIDL failures."

7 years agoAdd feature tag android.hardware.vr.headtracking.
Craig Donner [Thu, 16 Mar 2017 00:10:00 +0000 (17:10 -0700)]
Add feature tag android.hardware.vr.headtracking.

Different versions of this feature specify different levels of
headtracking capability.

Bug: 36294374
Test: build
Change-Id: I3ca56822c9f8a0d48431762b7c4eba5cdf904512

7 years agoGet rid of IGraphicBufferAlloc
Mathias Agopian [Wed, 15 Mar 2017 21:30:52 +0000 (14:30 -0700)]
Get rid of IGraphicBufferAlloc

This reverts commit 527747dce1ab4714bd424e5c1a25ebad3506c2cb.

selinux policy allowing this change fixed.

Test: took a screenshot
Test: ran ImageReaderTest CTS
Bug: 36194109
Change-Id: I72ac17b6c252750aa2a66cd1d94bd8b4e21b5e9d

7 years agoMerge "[SF] Use presentTimeOffset from configStore"
TreeHugger Robot [Thu, 16 Mar 2017 01:07:51 +0000 (01:07 +0000)]
Merge "[SF] Use presentTimeOffset from configStore"

7 years agoMerge "Remove bad make rules causing system.img to rebuild every time"
TreeHugger Robot [Thu, 16 Mar 2017 00:21:10 +0000 (00:21 +0000)]
Merge "Remove bad make rules causing system.img to rebuild every time"

7 years agoMerge "Add a simple SurfaceFlinger stress test."
TreeHugger Robot [Thu, 16 Mar 2017 00:12:54 +0000 (00:12 +0000)]
Merge "Add a simple SurfaceFlinger stress test."

7 years agoAdd a retry mechanism to potentially allow recovery from HIDL failures.
Ashutosh Joshi [Wed, 15 Mar 2017 23:27:12 +0000 (16:27 -0700)]
Add a retry mechanism to potentially allow recovery from HIDL failures.

Retry a few times to see if HIDL failures persist.
Add some logging to track failures.

Bug: 36088202
Test: Ensure sensors stream normally after change.
Change-Id: I194eaffd455ba782fff041f03ef89da384e3a901

7 years ago[SF] Use presentTimeOffset from configStore
Fabien Sanglard [Tue, 14 Mar 2017 20:24:22 +0000 (13:24 -0700)]
[SF] Use presentTimeOffset from configStore

Change-Id: If9c872c565e68e8abe552ee11d2c7d48f44aec4b

7 years agoVR: Allow creating virtual displays
Daniel Nicoara [Wed, 15 Mar 2017 22:50:16 +0000 (18:50 -0400)]
VR: Allow creating virtual displays

Bug: b/35996499
Test: None
Change-Id: Id8fd15791ba9478399a736ee6d5b2f6a847334a6

7 years agoMerge "vulkan: Implement V7 of ANDROID_native_buffer in nulldrv"
TreeHugger Robot [Wed, 15 Mar 2017 22:44:46 +0000 (22:44 +0000)]
Merge "vulkan: Implement V7 of ANDROID_native_buffer in nulldrv"

7 years agoRemove bad make rules causing system.img to rebuild every time
Colin Cross [Wed, 15 Mar 2017 22:38:11 +0000 (15:38 -0700)]
Remove bad make rules causing system.img to rebuild every time

ALL_DEFAULT_INSTALLED_MODULES is supposed to contain paths, not
module names.  Module names are phony targets, which causes
anything that depends on it to be always dirty, resulting in
rebuilding system.img on every incremental build.

ALL_DEFAULT_INSTALLED_MODULES shouldn't be used anyways, use
PRODUCT_PACKAGES in a product makefile instead, and all_modules
isn't used at all any more, remove both of them.

Bug: 36274890
Test: builds
Change-Id: I2db49dcc27515357b0306d0c3e9b38026012b1ea

7 years agoMerge "Add uid and pid information into recent sensor registeration log"
Peng Xu [Wed, 15 Mar 2017 22:27:10 +0000 (22:27 +0000)]
Merge "Add uid and pid information into recent sensor registeration log"

7 years agoMerge "Use assignment instead of reset for profile unique_fd" am: fd695a61c1 am:...
Calin Juravle [Wed, 15 Mar 2017 22:26:32 +0000 (22:26 +0000)]
Merge "Use assignment instead of reset for profile unique_fd" am: fd695a61c1 am: 32d41fecc8
am: 621bc30864

Change-Id: I7635c11b945098d39ae6d557b3df27854ec19d42

7 years agoAdd a simple SurfaceFlinger stress test.
Robert Carr [Fri, 10 Mar 2017 21:09:00 +0000 (13:09 -0800)]
Add a simple SurfaceFlinger stress test.

Obviously such tests are always a little arbitrary but this one
seems pretty useful. It runs in ~2 seconds, I got 10 passes in a row with
the fix for 36117490 applied, and 3 system restarts in a row (before giving up)
without the fix applied. Clean up the other tests in preparation for presubmit enabling.

Test: Quis custodiet ipsos custodes?
Bug: 36117490
Change-Id: Ifef2ff4e51aa9af193ddf003fe4aba053b28738f

7 years agoMerge "Use assignment instead of reset for profile unique_fd" am: fd695a61c1
Calin Juravle [Wed, 15 Mar 2017 22:24:01 +0000 (22:24 +0000)]
Merge "Use assignment instead of reset for profile unique_fd" am: fd695a61c1
am: 32d41fecc8

Change-Id: I660b56126fc76dab6df9ac92b8f43d409b088a77

7 years agoMerge "Use assignment instead of reset for profile unique_fd"
Calin Juravle [Wed, 15 Mar 2017 22:22:02 +0000 (22:22 +0000)]
Merge "Use assignment instead of reset for profile unique_fd"
am: fd695a61c1

Change-Id: Ifcf742625e9c05379b063ba5480db406a9b81459

7 years agoMerge "Use assignment instead of reset for profile unique_fd"
Calin Juravle [Wed, 15 Mar 2017 22:15:00 +0000 (22:15 +0000)]
Merge "Use assignment instead of reset for profile unique_fd"

7 years agoMerge "Remove dvrDisplayManagerClientGetSurfaceBuffers"
TreeHugger Robot [Wed, 15 Mar 2017 22:11:32 +0000 (22:11 +0000)]
Merge "Remove dvrDisplayManagerClientGetSurfaceBuffers"

7 years agoMerge "Make IGraphicBufferProducer a hybrid interface."
TreeHugger Robot [Wed, 15 Mar 2017 20:55:40 +0000 (20:55 +0000)]
Merge "Make IGraphicBufferProducer a hybrid interface."

7 years agovulkan: Implement V7 of ANDROID_native_buffer in nulldrv
Chris Forbes [Wed, 15 Mar 2017 03:09:15 +0000 (16:09 +1300)]
vulkan: Implement V7 of ANDROID_native_buffer in nulldrv

Walks the struct chain in GPDP2, and claims support for shared
presentable image. This is enough to have libvulkan expose the
extension for us.

Change-Id: Id22593932cd567e79d18aae788935148d6278b3f
Test: setprop ro.hardware.vulkan default, observe extension exposed

7 years agoRemove dvrDisplayManagerClientGetSurfaceBuffers
Jiwen 'Steve' Cai [Fri, 10 Mar 2017 22:32:43 +0000 (14:32 -0800)]
Remove dvrDisplayManagerClientGetSurfaceBuffers

This should be replaced with BufferHubQueue

Bug: 36033302
Test: Build device targets
Change-Id: I658514e1b56b0bdbd523d3fa322f0f2b6a1fc7e8

Signed-off-by: Jiwen 'Steve' Cai <jwcai@google.com>
7 years agoMerge "Drop non-API headers from the NDK vulkan headers." am: c416f2eb23 am: 44e0f0a5a5
Dan Albert [Wed, 15 Mar 2017 20:28:15 +0000 (20:28 +0000)]
Merge "Drop non-API headers from the NDK vulkan headers." am: c416f2eb23 am: 44e0f0a5a5
am: d7cf69be63

Change-Id: I0eb74c0a12a39875b4e4d417b844f1bc287f87d0

7 years agoMerge "Drop non-API headers from the NDK vulkan headers." am: c416f2eb23
Dan Albert [Wed, 15 Mar 2017 20:24:14 +0000 (20:24 +0000)]
Merge "Drop non-API headers from the NDK vulkan headers." am: c416f2eb23
am: 44e0f0a5a5

Change-Id: I4894ca20c2ad52565490beb92a1a40efdb05496e

7 years agoMerge "[SF] Delete unused NEVER_DEFAULT_TO_ASYNC_MODE"
TreeHugger Robot [Wed, 15 Mar 2017 20:21:26 +0000 (20:21 +0000)]
Merge "[SF] Delete unused NEVER_DEFAULT_TO_ASYNC_MODE"

7 years agoUse assignment instead of reset for profile unique_fd
Calin Juravle [Wed, 15 Mar 2017 20:20:39 +0000 (13:20 -0700)]
Use assignment instead of reset for profile unique_fd

Using reset with a unique_fd will just convert the unique_fd to int
without releasing it.

Test: adb shell cmd package compile -m speed-profile com.google.android.googlequicksearchbox
Bug: 36234017
Change-Id: I577197ac4a147765191777a5ebc6ef150dea1027

7 years agoMerge "Drop non-API headers from the NDK vulkan headers."
Dan Albert [Wed, 15 Mar 2017 20:20:14 +0000 (20:20 +0000)]
Merge "Drop non-API headers from the NDK vulkan headers."
am: c416f2eb23

Change-Id: I72c6dd7f474010b5410209efad69b0c3fbc88f85

7 years agoMerge "Drop non-API headers from the NDK vulkan headers."
Treehugger Robot [Wed, 15 Mar 2017 20:13:10 +0000 (20:13 +0000)]
Merge "Drop non-API headers from the NDK vulkan headers."

7 years agoMerge "BufferHubQueue: ClearAvailable on consumer import"
TreeHugger Robot [Wed, 15 Mar 2017 19:20:46 +0000 (19:20 +0000)]
Merge "BufferHubQueue: ClearAvailable on consumer import"

7 years ago[SF] Delete unused NEVER_DEFAULT_TO_ASYNC_MODE
Fabien Sanglard [Wed, 15 Mar 2017 18:26:30 +0000 (11:26 -0700)]
[SF] Delete unused NEVER_DEFAULT_TO_ASYNC_MODE

Test: AUPT
Change-Id: I0abbbdcbd2a7ccb2b60514b54e600eb9489dc6a4

7 years agoMerge "test-hwc2: fix build error from ui/mat4.h include"
TreeHugger Robot [Wed, 15 Mar 2017 18:35:14 +0000 (18:35 +0000)]
Merge "test-hwc2: fix build error from ui/mat4.h include"

7 years agoMerge "vrwm: Add support for multiple independent displays"
TreeHugger Robot [Wed, 15 Mar 2017 18:20:55 +0000 (18:20 +0000)]
Merge "vrwm: Add support for multiple independent displays"

7 years agoMerge "Add EGL_SCALE_METADATA enum"
TreeHugger Robot [Wed, 15 Mar 2017 17:55:36 +0000 (17:55 +0000)]
Merge "Add EGL_SCALE_METADATA enum"