OSDN Git Service
Steven Moreland [Wed, 22 Mar 2017 00:38:57 +0000 (00:38 +0000)]
Merge "Update re hwservicemanager debugDump semantics." am:
ed2debbb47 am:
eec11e4cf5
am:
1cf95ad88a
Change-Id: Ieb69025cf922fbcc4e838c88d8701c8a8a5abfb7
Tim Murray [Wed, 22 Mar 2017 00:34:24 +0000 (00:34 +0000)]
Merge "binder: remove cgroup interactions" am:
c12c6dca4e am:
62f07e540f
am:
bcb3d7fd03
Change-Id: I860e9a7565870681f2cf841a7f866b9ca22e3f22
Eugene Susla [Tue, 21 Mar 2017 23:58:29 +0000 (23:58 +0000)]
Merge "Add system feature for Companion Device Manager"
Steven Moreland [Tue, 21 Mar 2017 22:52:25 +0000 (22:52 +0000)]
Merge "Update re hwservicemanager debugDump semantics." am:
ed2debbb47
am:
eec11e4cf5
Change-Id: Ib6813604432530b9e09c1848f89d12dabd348b20
Steven Moreland [Tue, 21 Mar 2017 22:47:56 +0000 (22:47 +0000)]
Merge "Update re hwservicemanager debugDump semantics."
am:
ed2debbb47
Change-Id: Ibcac4fabedc0f3a1b310d02510785e4c46261a3b
Treehugger Robot [Tue, 21 Mar 2017 22:42:44 +0000 (22:42 +0000)]
Merge "Update re hwservicemanager debugDump semantics."
Tim Murray [Tue, 21 Mar 2017 22:25:35 +0000 (22:25 +0000)]
Merge "binder: remove cgroup interactions" am:
c12c6dca4e
am:
62f07e540f
Change-Id: I2d52ec71454f41500fb1fd2963b34984cfeb2e7d
Steven Thomas [Tue, 21 Mar 2017 22:24:52 +0000 (22:24 +0000)]
Merge "Revert "Revert "Tie vr flinger to persistent vr mode"""
Tim Murray [Tue, 21 Mar 2017 22:17:50 +0000 (22:17 +0000)]
Merge "binder: remove cgroup interactions"
am:
c12c6dca4e
Change-Id: I98cba352689749b2f5f4306453985dad83b98ed8
Eugene Susla [Sat, 11 Mar 2017 00:50:50 +0000 (16:50 -0800)]
Add system feature for Companion Device Manager
Bug:
30932767
Test: Add just the feature gating first, ensure Context#getSystemSetrvice now
returns null.
Add feature in the configuration files, ensure companion device feature works again.
Change-Id: I4ad2d52f7877eae0e951f43ddbb23881d5de8d8b
Treehugger Robot [Tue, 21 Mar 2017 22:09:50 +0000 (22:09 +0000)]
Merge "binder: remove cgroup interactions"
TreeHugger Robot [Tue, 21 Mar 2017 22:07:57 +0000 (22:07 +0000)]
Merge "egl: Remove retire event."
Steven Thomas [Mon, 6 Mar 2017 19:45:16 +0000 (11:45 -0800)]
Revert "Revert "Tie vr flinger to persistent vr mode""
This reverts commit
7480c060cb3466d97ec3125d61bbace153f534c8.
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: I3b5ad599cc0748e38b861c714c4cc3118f854acf
Steven Moreland [Tue, 21 Mar 2017 19:17:55 +0000 (12:17 -0700)]
Update re hwservicemanager debugDump semantics.
Test: internal boots, hidl_test, lshal works
Bug:
36414311
Change-Id: I572269a679dea3b6e985227f6727850f7dd33b58
TreeHugger Robot [Tue, 21 Mar 2017 19:41:28 +0000 (19:41 +0000)]
Merge "Fix names of headtracking feature files."
TreeHugger Robot [Tue, 21 Mar 2017 19:32:52 +0000 (19:32 +0000)]
Merge "Add dvr_buffer apis"
Peng Xu [Tue, 21 Mar 2017 19:19:26 +0000 (19:19 +0000)]
Merge "Avoid locking global map during waiting for service"
Tim Murray [Tue, 7 Mar 2017 17:31:09 +0000 (09:31 -0800)]
binder: remove cgroup interactions
Having binder change cgroups on the fly is too expensive in the common case to be useful.
Test: builds
bug
34825105
Change-Id: Ia692c9d2ab261d852cb2fac8f27d6779d0e2b057
TreeHugger Robot [Tue, 21 Mar 2017 18:09:07 +0000 (18:09 +0000)]
Merge "[libhwc2on1adapter] Fix blueprint warnings"
Craig Donner [Tue, 21 Mar 2017 17:31:27 +0000 (10:31 -0700)]
Fix names of headtracking feature files.
Test: build
Bug:
36294374
Change-Id: I04fc2478a339a6bffd6b04c633478d6b8740ac3e
Hendrik Wagenaar [Wed, 15 Mar 2017 20:29:02 +0000 (13:29 -0700)]
Add dvr_buffer apis
Test: None
Bug: None
Change-Id: I234d7ef4dabb4453cdbc67d3112adf2ffbbadaf4
Fabien Sanglard [Tue, 21 Mar 2017 16:20:26 +0000 (09:20 -0700)]
[libhwc2on1adapter] Fix blueprint warnings
Change-Id: Ia6e726979ec7b549d9a2ba637b32dd0559869ee7
Brian Carlstrom [Tue, 21 Mar 2017 16:11:51 +0000 (16:11 +0000)]
Merge "Add comment regarding keeping TRACE_DUMP_TIMEOUT_MS in sync"
Andreas Gampe [Tue, 21 Mar 2017 15:56:28 +0000 (15:56 +0000)]
Merge "Installd: Clean up installd" am:
da86f5aa93 am:
3c8458247e
am:
265dae948f
Change-Id: I4e84e771681ac460001d6e1102d1435180df9968
Andreas Gampe [Tue, 21 Mar 2017 15:52:26 +0000 (15:52 +0000)]
Merge "Installd: Clean up installd" am:
da86f5aa93
am:
3c8458247e
Change-Id: I73c250c360db22f7bb8a5e6d3c32c023a846cb39
TreeHugger Robot [Tue, 21 Mar 2017 15:52:20 +0000 (15:52 +0000)]
Merge "Disable a single failing test, to enable the executable again."
Andreas Gampe [Tue, 21 Mar 2017 15:48:26 +0000 (15:48 +0000)]
Merge "Installd: Clean up installd"
am:
da86f5aa93
Change-Id: I17553e106659ede717e277d4836a12972ef6b2a0
Treehugger Robot [Tue, 21 Mar 2017 15:42:57 +0000 (15:42 +0000)]
Merge "Installd: Clean up installd"
TreeHugger Robot [Tue, 21 Mar 2017 15:32:53 +0000 (15:32 +0000)]
Merge "Add C interface for virtual touchpad client."
TreeHugger Robot [Tue, 21 Mar 2017 06:07:08 +0000 (06:07 +0000)]
Merge "libbufferhubqueue: sanitize logs and Android.bp"
Andreas Gampe [Tue, 21 Mar 2017 01:36:54 +0000 (18:36 -0700)]
Installd: Clean up installd
Remove unnecessary includes.
Bug:
36336122
Test: m
Test: Device boots
Test: Can install apps
Change-Id: Iebbe049221d650667385efeac972956269bd53c2
TreeHugger Robot [Tue, 21 Mar 2017 00:25:31 +0000 (00:25 +0000)]
Merge "Add unit test for onBufferFreedListener"
Jin Qian [Tue, 21 Mar 2017 00:19:26 +0000 (00:19 +0000)]
Merge "Revert "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
Dianne Hackborn [Tue, 21 Mar 2017 00:03:03 +0000 (00:03 +0000)]
Merge "Add new CTS feature."
Steven Thomas [Mon, 20 Mar 2017 23:43:46 +0000 (23:43 +0000)]
Merge "Tie vr flinger to persistent vr mode"
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
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
TreeHugger Robot [Mon, 20 Mar 2017 22:45:17 +0000 (22:45 +0000)]
Merge "VR: Allow creating virtual displays"
Gerald Corrigan [Mon, 20 Mar 2017 22:14:53 +0000 (15:14 -0700)]
Disable a single failing test, to enable the executable again.
Bug:
36421237
Test: Manual testing. Tests now run.
Change-Id: Ie1e7147246d791eab6bfa799b49ffc0a225aab18
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."
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."
TreeHugger Robot [Mon, 20 Mar 2017 20:42:00 +0000 (20:42 +0000)]
Merge "Fix POLLHUP test in libpdx UDS transport tests."
Kevin Schoedel [Fri, 17 Mar 2017 15:07:06 +0000 (11:07 -0400)]
Add C interface for virtual touchpad client.
For use by the dvr api.
Changes VrWindowManager::ShellView to exercise this change,
and because it will be used when that code relocates to VrCore.
Bug:
36050790
Test: use in vr_wm.
Change-Id: I0fa67d19f94939ae41ef0ea2338f92f6147a4111
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
Brian Carlstrom [Mon, 20 Mar 2017 00:48:01 +0000 (17:48 -0700)]
Add comment regarding keeping TRACE_DUMP_TIMEOUT_MS in sync
Test: m -j32 && flashall
Bug:
35962833
Change-Id: I02e18cb6817bb3dc6c8c76ee037e2299c3b7ab53
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
TreeHugger Robot [Sun, 19 Mar 2017 04:38:50 +0000 (04:38 +0000)]
Merge "Refactor IonBuffer to use GraphicBuffer"
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
Jiwen Cai [Sat, 18 Mar 2017 01:51:09 +0000 (01:51 +0000)]
Merge "Refactor VrFlinger to use BufferHubQueue"
Peng Xu [Sat, 18 Mar 2017 00:27:42 +0000 (17:27 -0700)]
Avoid locking global map during waiting for service
Wait for service before attempting to get a SensorManager object.
Bug:
36389997
Bug:
36404344
Test: system boots, sensors working with sensorlogger test
Change-Id: Ib5d41bc58edb8f6be56f803324a79a99a50da45e
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
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
TreeHugger Robot [Sat, 18 Mar 2017 00:09:36 +0000 (00:09 +0000)]
Merge "BufferItemConsumer: Add onBufferFreedListener"
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
TreeHugger Robot [Fri, 17 Mar 2017 23:23:45 +0000 (23:23 +0000)]
Merge "[HWC2on1Adapter]: Add support for HWC2_PFN_GET_CLIENT_TARGET_SUPPORT"
TreeHugger Robot [Fri, 17 Mar 2017 23:23:03 +0000 (23:23 +0000)]
Merge "Fix getFrameTimestamp test flakes."
TreeHugger Robot [Fri, 17 Mar 2017 23:14:44 +0000 (23:14 +0000)]
Merge "Use hasSyncFramework value from configStore"
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
TreeHugger Robot [Fri, 17 Mar 2017 22:06:03 +0000 (22:06 +0000)]
Merge "Add getDataSpace to layer class"
TreeHugger Robot [Fri, 17 Mar 2017 21:40:37 +0000 (21:40 +0000)]
Merge "Set default color mode to trigger update"
Fabien Sanglard [Sat, 11 Mar 2017 01:57:12 +0000 (17:57 -0800)]
Use hasSyncFramework value from configStore
Change-Id: I41c6b1a26001eb6ba08cbc419dc8a683f5722aa3
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
TreeHugger Robot [Fri, 17 Mar 2017 20:16:29 +0000 (20:16 +0000)]
Merge "Remove access of DisplayClient from vr_wm"
Courtney Goeltzenleuchter [Thu, 20 Oct 2016 23:18:15 +0000 (17:18 -0600)]
Add getDataSpace to layer class
Test: TBD
Change-Id: I1d583bc6dae4cfb1569f053b2480e94b6ca9cc6f
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
TreeHugger Robot [Fri, 17 Mar 2017 20:06:02 +0000 (20:06 +0000)]
Merge "fix remote_method type conversion for channal handles"
Brian Anderson [Thu, 16 Mar 2017 22:34:57 +0000 (15:34 -0700)]
egl: Remove retire event.
Test: adb shell /data/nativetest/libgui_test/libgui_test
--gtest_filter=*GetFrameTimestamps*
Change-Id: Ibf63d22e42ae52307662107eec50f80de0e703f5
TreeHugger Robot [Fri, 17 Mar 2017 19:05:41 +0000 (19:05 +0000)]
Merge "Update 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
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
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
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
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
TreeHugger Robot [Fri, 17 Mar 2017 03:53:24 +0000 (03:53 +0000)]
Merge "Expose acquire_fence though ConsumerQueue::Dequeue"
Fabien Sanglard [Fri, 17 Mar 2017 03:37:15 +0000 (03:37 +0000)]
Merge "Revert "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
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."
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
TreeHugger Robot [Fri, 17 Mar 2017 01:57:24 +0000 (01:57 +0000)]
Merge "Use configStore for maxVirtualDisplay Size"
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
Yifan Hong [Fri, 17 Mar 2017 00:58:10 +0000 (00:58 +0000)]
Merge "Add implementation for android.frameworks.sensorservice@1.0"
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
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
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
TreeHugger Robot [Fri, 17 Mar 2017 00:03:48 +0000 (00:03 +0000)]
Merge "Force vrhwc/wm to report the native resolution"
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
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
Calin Juravle [Thu, 16 Mar 2017 23:53:55 +0000 (23:53 +0000)]
Merge "Support profile guided compilation for secondary dex files"
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
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
Fabien Sanglard [Tue, 14 Mar 2017 18:43:52 +0000 (11:43 -0700)]
Use forceHwcCopyForVirtualDisplay in configStore
Test: Manual
Change-Id: Ie6f816cf8f48b1cca41d51f40e9f0ae49aef2908
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
TreeHugger Robot [Thu, 16 Mar 2017 20:27:59 +0000 (20:27 +0000)]
Merge "Add feature tag android.hardware.vr.headtracking."
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
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
Romain Guy [Thu, 16 Mar 2017 18:41:21 +0000 (18:41 +0000)]
Merge "Revert "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
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
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