OSDN Git Service

android-x86/frameworks-native.git
7 years agoMerge "Check if a visible layer exists instead of an invisible layer exists" into...
Albert Chaulk [Thu, 6 Apr 2017 15:44:42 +0000 (15:44 +0000)]
Merge "Check if a visible layer exists instead of an invisible layer exists" into oc-dev
am: 3fdeae8b2d

Change-Id: I0a49900b7451e21c5cf7c82ee84f534563afa34b

7 years agoMerge "Check if a visible layer exists instead of an invisible layer exists" into...
TreeHugger Robot [Thu, 6 Apr 2017 15:38:39 +0000 (15:38 +0000)]
Merge "Check if a visible layer exists instead of an invisible layer exists" into oc-dev

7 years agoMerge "Make sure all HWC2 functionality is ifdef'd" into oc-dev
Marco Nelissen [Thu, 6 Apr 2017 14:46:08 +0000 (14:46 +0000)]
Merge "Make sure all HWC2 functionality is ifdef'd" into oc-dev
am: f0f8a81d06

Change-Id: Ibf4cf46eb5326419ec13e9924fb16afcf22cf6ec

7 years agoMerge "Make sure all HWC2 functionality is ifdef'd" into oc-dev
Marco Nelissen [Thu, 6 Apr 2017 14:39:28 +0000 (14:39 +0000)]
Merge "Make sure all HWC2 functionality is ifdef'd" into oc-dev

7 years agoMake sure all HWC2 functionality is ifdef'd
Courtney Goeltzenleuchter [Thu, 6 Apr 2017 14:18:34 +0000 (08:18 -0600)]
Make sure all HWC2 functionality is ifdef'd

Fix build issue for devices that are not using HWC2.
Test: lunch bat_land, make

Change-Id: If94222cd00f2c8b0b1f7a464ad0378224fc059e7

7 years agoMerge "VR: Remove HIDL VR Composer from service/vr/vr_window_manager" into oc-dev
Daniel Nicoara [Thu, 6 Apr 2017 13:50:44 +0000 (13:50 +0000)]
Merge "VR: Remove HIDL VR Composer from service/vr/vr_window_manager" into oc-dev
am: b324457171

Change-Id: Icba466ed6f03ef909aba8fade30645611e5f70c8

7 years agoMerge "VR: Remove HIDL VR Composer from service/vr/vr_window_manager" into oc-dev
Daniel Nicoara [Thu, 6 Apr 2017 13:47:26 +0000 (13:47 +0000)]
Merge "VR: Remove HIDL VR Composer from service/vr/vr_window_manager" into oc-dev

7 years agoMerge "lshal --init-vintf stripped <impl> tag." am: b7003ce5d4 am: e0b65151d8
Yifan Hong [Thu, 6 Apr 2017 07:20:11 +0000 (07:20 +0000)]
Merge "lshal --init-vintf stripped <impl> tag." am: b7003ce5d4 am: e0b65151d8
am: 44456bb92d

Change-Id: Idaa848f62fe52e04a364fb1d9fb22b36ef4bce2f

7 years agoMerge "lshal --init-vintf stripped <impl> tag." am: b7003ce5d4
Yifan Hong [Thu, 6 Apr 2017 06:43:09 +0000 (06:43 +0000)]
Merge "lshal --init-vintf stripped <impl> tag." am: b7003ce5d4
am: e0b65151d8

Change-Id: Ie7efd9f294713804a5210567d1a3a2e0ca14ce61

7 years agoMerge "lshal --init-vintf stripped <impl> tag."
Yifan Hong [Thu, 6 Apr 2017 06:39:39 +0000 (06:39 +0000)]
Merge "lshal --init-vintf stripped <impl> tag."
am: b7003ce5d4

Change-Id: I7f084b9041c6b6b4da9ed77798d570d4d7a4c176

7 years agoMerge "lshal --init-vintf stripped <impl> tag." into oc-dev
Yifan Hong [Thu, 6 Apr 2017 06:36:42 +0000 (06:36 +0000)]
Merge "lshal --init-vintf stripped <impl> tag." into oc-dev
am: 7ad6b13213

Change-Id: Ib463dd6572229c3e09a17482f318b36825ed6547

7 years agoMerge "lshal --init-vintf stripped <impl> tag."
Treehugger Robot [Thu, 6 Apr 2017 06:34:45 +0000 (06:34 +0000)]
Merge "lshal --init-vintf stripped <impl> tag."

7 years agoMerge "lshal --init-vintf stripped <impl> tag." into oc-dev
Yifan Hong [Thu, 6 Apr 2017 06:23:16 +0000 (06:23 +0000)]
Merge "lshal --init-vintf stripped <impl> tag." into oc-dev

7 years agoMerge "This test is used to check if the kernel scheduler" am: 8039adad34 am: 0145ac08f0
Howard Chen [Thu, 6 Apr 2017 02:24:52 +0000 (02:24 +0000)]
Merge "This test is used to check if the kernel scheduler" am: 8039adad34 am: 0145ac08f0
am: 16126749c6  -s ours

Change-Id: I7f3e0795ca620616d3214249133e4257c7550af7

7 years agoMerge "This test is used to check if the kernel scheduler" am: 8039adad34
Howard Chen [Thu, 6 Apr 2017 01:48:48 +0000 (01:48 +0000)]
Merge "This test is used to check if the kernel scheduler" am: 8039adad34
am: 0145ac08f0

Change-Id: Ib1e12e0ca70279127d89a336dbbdfcf1033694f6

7 years agoMerge "This test is used to check if the kernel scheduler"
Howard Chen [Thu, 6 Apr 2017 01:45:49 +0000 (01:45 +0000)]
Merge "This test is used to check if the kernel scheduler"
am: 8039adad34

Change-Id: I5d57ee904f1431384fabb89b893700e3a7731da0

7 years agoMerge "This test is used to check if the kernel scheduler"
Treehugger Robot [Thu, 6 Apr 2017 01:39:35 +0000 (01:39 +0000)]
Merge "This test is used to check if the kernel scheduler"

7 years agoFix build error with configstore
Courtney Goeltzenleuchter [Thu, 6 Apr 2017 00:55:12 +0000 (00:55 +0000)]
Fix build error with configstore
am: c221d640bc

Change-Id: I43e51d1177f78014675761a4dff1ee1eaa6d77cf

7 years agoFix build error with configstore
Courtney Goeltzenleuchter [Thu, 6 Apr 2017 00:34:30 +0000 (18:34 -0600)]
Fix build error with configstore

CL I2c0895f8afbbb2947b62164acaf62a491c451dc0 made it necessary
to include android.hardware.configstore-utils as a shared library.
Was causing build error that looked like:
ninja: error:
'out/target/product/generic_x86_64/obj/HEADER_LIBRARIES/android.hardware.configstore-utils_intermediates/export_includes',
needed by
'out/target/product/generic_x86_64/obj/NATIVE_TESTS/EGL_test_intermediates/import_includes',
missing and no known rule to make it
23:25:54 ninja failed with: exit status 1
make: *** [run_soong_ui] Error 1

Happened in tests directory which doesn't get built by default.

Test: build opengl/tests
Change-Id: I2c731c4e1b23888edd67fd9311b797fba61c011f

7 years agoMerge "Set sensor operation parameter implementation" into oc-dev
Peng Xu [Thu, 6 Apr 2017 00:12:02 +0000 (00:12 +0000)]
Merge "Set sensor operation parameter implementation" into oc-dev
am: 691d271b00

Change-Id: Ifb699a3a83ff7b3821932dfe86c5160d6adce654

7 years agoMerge "Set sensor operation parameter implementation" into oc-dev
Peng Xu [Thu, 6 Apr 2017 00:00:07 +0000 (00:00 +0000)]
Merge "Set sensor operation parameter implementation" into oc-dev

7 years agoFix soong dependency issue
Courtney Goeltzenleuchter [Wed, 5 Apr 2017 23:04:41 +0000 (23:04 +0000)]
Fix soong dependency issue
am: 381019d9ce

Change-Id: Ibaed4bd3a446ecdbffeb16c072e5326422aeab13

7 years agolshal --init-vintf stripped <impl> tag.
Yifan Hong [Tue, 4 Apr 2017 22:33:59 +0000 (15:33 -0700)]
lshal --init-vintf stripped <impl> tag.

<impl> tag is deprecated from the manifest.

Test: lshal --init-vintf
Change-Id: Ifa9336e3dfe7f1091ee61aa6a10df9629ad98b49

7 years agoFix soong dependency issue
Courtney Goeltzenleuchter [Wed, 5 Apr 2017 21:51:24 +0000 (15:51 -0600)]
Fix soong dependency issue

Test: make

Change-Id: I3ea00a32f08395c81e44625603d878a2f1b6975b

7 years agoMerge changes I9da985a7,I2bd642aa,I9358b3c9,I9d3c60b1 into oc-dev
Courtney Goeltzenleuchter [Wed, 5 Apr 2017 22:28:04 +0000 (22:28 +0000)]
Merge changes I9da985a7,I2bd642aa,I9358b3c9,I9d3c60b1 into oc-dev
am: 62dc1344e0

Change-Id: I473b1f54ff0322ecc2a99a732bd17a302a8967a2

7 years agoMerge "vrwm: Also recenter the controller when should_recenter_ is set" into oc-dev
Albert Chaulk [Wed, 5 Apr 2017 22:25:11 +0000 (22:25 +0000)]
Merge "vrwm: Also recenter the controller when should_recenter_ is set" into oc-dev
am: 674436272e

Change-Id: I7c02a3c2f9308445a2bf365fb386cc2ee0fba53b

7 years agoMerge changes I9da985a7,I2bd642aa,I9358b3c9,I9d3c60b1 into oc-dev
Courtney Goeltzenleuchter [Wed, 5 Apr 2017 22:23:11 +0000 (22:23 +0000)]
Merge changes I9da985a7,I2bd642aa,I9358b3c9,I9d3c60b1 into oc-dev

* changes:
  Add test for FP16 surface support
  Dump info about wide-color
  Add wide-color support to SurfaceFlinger
  Add debug string functions for graphics.h enums

7 years agoCheck if a visible layer exists instead of an invisible layer exists
Albert Chaulk [Wed, 5 Apr 2017 22:01:58 +0000 (18:01 -0400)]
Check if a visible layer exists instead of an invisible layer exists

Multiple layers may exist at index 0 and what we really want to know
is if any of them are active, not if any aren't.

Bug: 3686718636036583
Test: Launch ithaca then youtube
Change-Id: I5881a838c7df8670fa42eece558717140d4cb021

7 years agoMerge "vrwm: Also recenter the controller when should_recenter_ is set" into oc-dev
Albert Chaulk [Wed, 5 Apr 2017 22:12:14 +0000 (22:12 +0000)]
Merge "vrwm: Also recenter the controller when should_recenter_ is set" into oc-dev

7 years agoMerge "Strip VR daemon binaries." into oc-dev
Nick Bray [Wed, 5 Apr 2017 20:59:56 +0000 (20:59 +0000)]
Merge "Strip VR daemon binaries." into oc-dev
am: 5db4c0c58e

Change-Id: I699fff7df1860d46a4f80630ccc914431ca8f45e

7 years agoMerge "Strip VR daemon binaries." into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 20:52:08 +0000 (20:52 +0000)]
Merge "Strip VR daemon binaries." into oc-dev

7 years agoMerge "dumpstate: don't read /proc/interrupts" into oc-dev
Sandeep Patil [Wed, 5 Apr 2017 19:01:20 +0000 (19:01 +0000)]
Merge "dumpstate: don't read /proc/interrupts" into oc-dev
am: f806b87fe1

Change-Id: I1bd0811c428c2492e7f1a1a98e598ac675d6d00d

7 years agoMerge "dumpstate: don't read /proc/interrupts" into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 18:58:19 +0000 (18:58 +0000)]
Merge "dumpstate: don't read /proc/interrupts" into oc-dev

7 years agoStrip VR daemon binaries.
Nick Bray [Wed, 5 Apr 2017 18:45:08 +0000 (11:45 -0700)]
Strip VR daemon binaries.

Stripping was suppressed to assist debugging, but this adds 24+ MB to
release builds.

Bug: none
Test: manual
Change-Id: Ic2a866930cebb67af052b6665af2631b131601ae

7 years agoMerge changes I1ed97f98,I32449355,I5c84d6f2,Ib9652278,I73deaa44 into oc-dev
Dan Stoza [Wed, 5 Apr 2017 18:10:38 +0000 (18:10 +0000)]
Merge changes I1ed97f98,I32449355,I5c84d6f2,Ib9652278,I73deaa44 into oc-dev
am: ba55e0e5c8

Change-Id: I975c28ce923c101952ca40719473d56f19ac4856

7 years agoMerge "dumpstate: add dropbox crashes to bugreport" into oc-dev
Adrian Roos [Wed, 5 Apr 2017 18:10:24 +0000 (18:10 +0000)]
Merge "dumpstate: add dropbox crashes to bugreport" into oc-dev
am: 77e270d0ff

Change-Id: I5ae4acc8377c87c4a581929f81899a1693f602d7

7 years agoMerge changes I1ed97f98,I32449355,I5c84d6f2,Ib9652278,I73deaa44 into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 18:05:44 +0000 (18:05 +0000)]
Merge changes I1ed97f98,I32449355,I5c84d6f2,Ib9652278,I73deaa44 into oc-dev

* changes:
  libgui: Make IConsumerListener a SafeInterface
  libgui: Format IConsumerListener
  libbinder: Support Flattenable in SafeInterface
  libgui: Add missing FenceTime header to GLConsumer
  libgui: Fix naming/enums in ISurfaceComposerClient

7 years agoMerge "dumpstate: add dropbox crashes to bugreport" into oc-dev
Adrian Roos [Wed, 5 Apr 2017 18:02:51 +0000 (18:02 +0000)]
Merge "dumpstate: add dropbox crashes to bugreport" into oc-dev

7 years agoMerge "Use Configstore to test getWideColor function" into oc-dev
Courtney Goeltzenleuchter [Wed, 5 Apr 2017 17:43:30 +0000 (17:43 +0000)]
Merge "Use Configstore to test getWideColor function" into oc-dev
am: 224306b0ac

Change-Id: Ie50093ad0177e6e8642b096bb05739ffaeaa6492

7 years agoMerge "Use Configstore to test getWideColor function" into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 17:35:46 +0000 (17:35 +0000)]
Merge "Use Configstore to test getWideColor function" into oc-dev

7 years agodumpstate: add dropbox crashes to bugreport
Adrian Roos [Tue, 4 Apr 2017 23:35:44 +0000 (16:35 -0700)]
dumpstate: add dropbox crashes to bugreport

Adds system crashes from the dropbox to the end of the bugreport
to allow diagnosing issues even after the device has rebooted.

Test: adb bugreport
Bug: 36852229
Bug: 26849505
Change-Id: I11589b81208e916d25d543c43c1283bdbffda949

7 years agoMake init process create PDX sockets for services
Alex Vakulenko [Wed, 5 Apr 2017 17:24:41 +0000 (17:24 +0000)]
Make init process create PDX sockets for services
am: 409c6eecdc

Change-Id: I338a691df317f0d57b5fd5c78b5442fc96f95b3f

7 years agoMake init process create PDX sockets for services
Alex Vakulenko [Fri, 24 Mar 2017 00:45:40 +0000 (17:45 -0700)]
Make init process create PDX sockets for services

To help us control the creation of PDX sockets and properly labeling
them for SELinux, let the init process create sockets for us based on
the settings specified in .rc files for service processes.

For (test) services that are meant to be started manually from command
line (e.g. test services), keep the old functionality as an option so
that UDS endpoint can be created in a way that it automatically creates
the socket in the service itself.

Bug: 35220925
Test: `m -j32` succeeds. Ran sailfish in VR mode and made sure all the
      services (surfaceflinger, performanced, sensord, bufferhub).
      `m -j32 checkbuild` succeeds as well.

Change-Id: Ief733b41b534cea19b1bea31de76b06051aa50ab

7 years agoAdd test for FP16 surface support
Courtney Goeltzenleuchter [Tue, 28 Mar 2017 23:29:52 +0000 (17:29 -0600)]
Add test for FP16 surface support

Test: adb shell /data/nativetest/EGL_test/EGL_test
      adb shell /system/bin/test-opengl-gl_basic # look for RED_SIZE: of 16.
Bug: 29940137

Change-Id: I9da985a7574d3582b06cf55bc02515db0869505a

7 years agoDump info about wide-color
Courtney Goeltzenleuchter [Mon, 27 Mar 2017 18:18:12 +0000 (12:18 -0600)]
Dump info about wide-color

Test: adb shell dumpsys SurfaceFlinger
      Look for section titled "Wide-Color information:"
Bug: 29940137

Change-Id: I2bd642aa026b49bbb9effd5cb1687c7a36dae684

7 years agoAdd wide-color support to SurfaceFlinger
Courtney Goeltzenleuchter [Wed, 22 Mar 2017 19:46:46 +0000 (13:46 -0600)]
Add wide-color support to SurfaceFlinger

Test: manual testing
Bug: 29940137

Change-Id: I9358b3c982e0205e598fd20cbf8d2e956591b3ac

7 years agoAdd debug string functions for graphics.h enums
Courtney Goeltzenleuchter [Wed, 22 Mar 2017 19:09:12 +0000 (13:09 -0600)]
Add debug string functions for graphics.h enums

Test: see dataspace and colormode details when running with debug
Bug: 29940137

Change-Id: I9d3c60b1f9c71c44aba475450c7f867dcd68627e

7 years agoUse Configstore to test getWideColor function
Courtney Goeltzenleuchter [Mon, 13 Mar 2017 20:30:00 +0000 (14:30 -0600)]
Use Configstore to test getWideColor function

Test: make tests in libs/gui/tests/
Test: adb sync
Test: adb shell /data/nativetest/libgui_test/libgui_test --gtest_filter="SurfaceTest.GetWideColorSupport"
Bug: 29940137

Change-Id: I618c300b1882d2ebd7474586d72f4d469e2d41bf

7 years agoThis test is used to check if the kernel scheduler
Howard Chen [Sat, 25 Mar 2017 09:12:59 +0000 (17:12 +0800)]
This test is used to check if the kernel scheduler

1. supports priority inheritance.
2. utilize the sync flag.

It also make statistic on average, best and worst latency
as well as number of deadline miss with a configurable
deadline specified in us.

The output is in json format hopefully to make it easy
to integrated with present test framework.

usage:

./schd-dbg                   # test and output json
./schd-dbg -i 1              # number of iterations
./schd-dbg -pair 4           # number of process pairs
./schd-dbg -deadline_us 2500 # deadline in us
./schd-dbg -v                # debug

Test: pixel
Change-Id: Idccf0d402dcd7b81c639020364b5ee32075e18cb

7 years agoimport configstore-utils as a shared library.
Jaesoo Lee [Wed, 5 Apr 2017 08:46:19 +0000 (08:46 +0000)]
import configstore-utils as a shared library.
am: 585e32facc

Change-Id: I48218e405e225b99dfd51d2e26b0d5f26893e646

7 years agoimport configstore-utils as a shared library.
Jaesoo Lee [Wed, 5 Apr 2017 08:46:09 +0000 (08:46 +0000)]
import configstore-utils as a shared library.
am: 3e85cbed6a

Change-Id: I9cf1591e31a14d6cfe65baffb3c752e0d17f8cae

7 years agoimport configstore-utils as a shared library.
Jaesoo Lee [Thu, 30 Mar 2017 06:25:19 +0000 (15:25 +0900)]
import configstore-utils as a shared library.

android.hardware.configstore-utils is now built as a shared library.

Bug: 36275627
Test: Built and check the boot log messages
Change-Id: I44b0f6a69e267f670380e18a37a519bb2ef1ee84

7 years agoimport configstore-utils as a shared library.
Jaesoo Lee [Thu, 30 Mar 2017 06:24:15 +0000 (15:24 +0900)]
import configstore-utils as a shared library.

android.hardware.configstore-utils is now built as a shared library.

Bug: 36275627
Test: Built and check the boot log messages
Change-Id: I83ccebcad8005f39ca8534477d7cd3f69a2041aa

7 years agoMerge "Remove useless GraphicBuffer() constructor" into oc-dev
Mathias Agopian [Wed, 5 Apr 2017 00:52:54 +0000 (00:52 +0000)]
Merge "Remove useless GraphicBuffer() constructor" into oc-dev
am: d934111402

Change-Id: I3462ff83e6aeced6591a99bf7391138a5438d3aa

7 years agoMerge "Remove useless GraphicBuffer() constructor" into oc-dev
Mathias Agopian [Wed, 5 Apr 2017 00:42:52 +0000 (00:42 +0000)]
Merge "Remove useless GraphicBuffer() constructor" into oc-dev

7 years agoMerge "vulkan: update Vulkan headers to 1.0.46" am: 4cc7755c7c am: a867102e0c
Jesse Hall [Tue, 4 Apr 2017 23:17:21 +0000 (23:17 +0000)]
Merge "vulkan: update Vulkan headers to 1.0.46" am: 4cc7755c7c am: a867102e0c
am: 84558da59d  -s ours

Change-Id: I4fbaf5cbb078693968061996a0e73a65e195e9da

7 years agoMerge "vulkan: update Vulkan headers to 1.0.46" am: 4cc7755c7c
Jesse Hall [Tue, 4 Apr 2017 23:14:19 +0000 (23:14 +0000)]
Merge "vulkan: update Vulkan headers to 1.0.46" am: 4cc7755c7c
am: a867102e0c

Change-Id: I0769a81a5c324253886ee07ccd51fc0d8af15daa

7 years agolibgui: Make IConsumerListener a SafeInterface
Dan Stoza [Wed, 29 Mar 2017 00:05:13 +0000 (17:05 -0700)]
libgui: Make IConsumerListener a SafeInterface

Converts IConsumerListener to be a SafeInterface such that all
parceling/unparceling is done automatically.

Test: libgui_tests + manual testing
Change-Id: I1ed97f9802e320662cd29e181539ce839ffe0f3f

7 years agoMerge "vulkan: update Vulkan headers to 1.0.46"
Jesse Hall [Tue, 4 Apr 2017 23:12:19 +0000 (23:12 +0000)]
Merge "vulkan: update Vulkan headers to 1.0.46"
am: 4cc7755c7c

Change-Id: Id6997396c7a42517338bb36e24db1c50c600e248

7 years agolibgui: Format IConsumerListener
Dan Stoza [Tue, 28 Mar 2017 20:55:48 +0000 (13:55 -0700)]
libgui: Format IConsumerListener

Applies the framework default .clang-format and does a bit of tidying
up (reflowing comments to 100 characters, reordering includes, etc.).

Test: libgui_tests + manual testing
Change-Id: I324493551bca5a6c6a011cbe773021236e11e992

7 years agolibbinder: Support Flattenable in SafeInterface
Dan Stoza [Wed, 29 Mar 2017 00:02:05 +0000 (17:02 -0700)]
libbinder: Support Flattenable in SafeInterface

Adds support for sending and receiving Flattenable parameters as part
of a SafeInterface.

Test: New test in binderSafeInterfaceTest
Change-Id: I5c84d6f27ac1f8c7ad37210e836f390e02b92959

7 years agolibgui: Add missing FenceTime header to GLConsumer
Dan Stoza [Tue, 28 Mar 2017 23:44:21 +0000 (16:44 -0700)]
libgui: Add missing FenceTime header to GLConsumer

GLConsumer had a missing dependency on FenceTime which was hidden by
coincidental includes in other files. This adds the proper include.

Test: GLConsumer compiles
Change-Id: Ib96522787fa22746e4aeb2cf047bfd667869add6

7 years agolibgui: Fix naming/enums in ISurfaceComposerClient
Dan Stoza [Mon, 3 Apr 2017 22:16:27 +0000 (15:16 -0700)]
libgui: Fix naming/enums in ISurfaceComposerClient

Moves the Tag enum out of the ISurfaceComposerClient header and into an
anonymous namespace in the .cpp file, changes it to UPPER_UNDERSCORE
naming, and makes its LAST entry actually point to the last value.

Test: m -j + manual testing
Change-Id: I73deaa446a87709548c2069c3a1f29605967ab97

7 years agoMerge "vulkan: update Vulkan headers to 1.0.46"
Treehugger Robot [Tue, 4 Apr 2017 23:08:13 +0000 (23:08 +0000)]
Merge "vulkan: update Vulkan headers to 1.0.46"

7 years agolshal --init-vintf stripped <impl> tag.
Yifan Hong [Tue, 4 Apr 2017 22:33:59 +0000 (15:33 -0700)]
lshal --init-vintf stripped <impl> tag.

<impl> tag is deprecated from the manifest.

Test: lshal --init-vintf
Change-Id: Ifa9336e3dfe7f1091ee61aa6a10df9629ad98b49

7 years agodumpstate: don't read /proc/interrupts
Sandeep Patil [Tue, 21 Mar 2017 21:18:12 +0000 (14:18 -0700)]
dumpstate: don't read /proc/interrupts

/proc/interrupts may be dumped by dumpstate HAL if required.
The framework dependency on this file is unnecessary, since the
interrupt names are hardware / kernel dependent anyway.

Bug: 36486169
Test: 'adb shell bugreport' on sailfish
Change-Id: I336318b24ce4bcc5b710645359b7c4ccda3f6989
Signed-off-by: Sandeep Patil <sspatil@google.com>
7 years agoMerge "fix race condition that can cause a use after free" into oc-dev
Mathias Agopian [Tue, 4 Apr 2017 21:55:42 +0000 (21:55 +0000)]
Merge "fix race condition that can cause a use after free" into oc-dev
am: 2d45cf2a40

Change-Id: Ib574c8c9887fecd4ca542d92d61671d6c8a3625e

7 years agoMerge "fix race condition that can cause a use after free" into oc-dev
Mathias Agopian [Tue, 4 Apr 2017 21:51:01 +0000 (21:51 +0000)]
Merge "fix race condition that can cause a use after free" into oc-dev

7 years agoMerge "Harden BufferHubQueueProducerTest" into oc-dev
Jiwen 'Steve' Cai [Tue, 4 Apr 2017 21:39:55 +0000 (21:39 +0000)]
Merge "Harden BufferHubQueueProducerTest" into oc-dev
am: 8e5deb6b96

Change-Id: If03751b511b12e043aee734b8b7b401a7dd378d4

7 years agoRemove useless GraphicBuffer() constructor
Mathias Agopian [Tue, 4 Apr 2017 00:16:41 +0000 (17:16 -0700)]
Remove useless GraphicBuffer() constructor

Test: compiled & run
Bug: 36869708

Change-Id: I83d80a1cde28671135b7716a434c503aeefcec46

7 years agoMerge "Harden BufferHubQueueProducerTest" into oc-dev
TreeHugger Robot [Tue, 4 Apr 2017 21:32:43 +0000 (21:32 +0000)]
Merge "Harden BufferHubQueueProducerTest" into oc-dev

7 years agoMerge "Offer to "fixup" GIDs used for app data." into oc-dev
Jeff Sharkey [Tue, 4 Apr 2017 21:25:47 +0000 (21:25 +0000)]
Merge "Offer to "fixup" GIDs used for app data." into oc-dev
am: e7353ae5fc

Change-Id: I7b0b11c6b47fdd09f3f36bd77714065f917b87cd

7 years agoMerge "Offer to "fixup" GIDs used for app data." into oc-dev
TreeHugger Robot [Tue, 4 Apr 2017 21:18:16 +0000 (21:18 +0000)]
Merge "Offer to "fixup" GIDs used for app data." into oc-dev

7 years agovrwm: Also recenter the controller when should_recenter_ is set
Albert Chaulk [Tue, 4 Apr 2017 19:21:20 +0000 (15:21 -0400)]
vrwm: Also recenter the controller when should_recenter_ is set

Bug: 36201389
Test: Manual, recenter controller with vrwm up
Change-Id: I776ac51578d692832baac5aad50993b5ed1b8eea

7 years agofix race condition that can cause a use after free
Mathias Agopian [Tue, 4 Apr 2017 00:14:31 +0000 (17:14 -0700)]
fix race condition that can cause a use after free

Bug: 33004354
Test: manual
Change-Id: I9b38ee644b02268c9b995a330db758aa2e568399

7 years agoSet sensor operation parameter implementation
Peng Xu [Fri, 17 Mar 2017 00:39:43 +0000 (17:39 -0700)]
Set sensor operation parameter implementation

Set operation parameter to sensor HAL. Possible paramters include
local geomagnetic field, local gravity acceleration, device dock
state, whether device should run in high performance mode, and
if a magnetic field calibration guide is in progress.

Bug: 30958130
Test: Tested with marlin. Modified hal implementation can get local
      geomagnetic field.

Change-Id: Idaedd9e616d01383ba244cc64cf3e319ce02191f

7 years agoMerge "Fix pose predictor jank." into oc-dev
Okan Arikan [Tue, 4 Apr 2017 18:32:14 +0000 (18:32 +0000)]
Merge "Fix pose predictor jank." into oc-dev
am: 53ed7bfca1

Change-Id: I1b23c28c71e1c463d80a7a5810a8dbe843c7befd

7 years agoMerge "Fix pose predictor jank." into oc-dev
TreeHugger Robot [Tue, 4 Apr 2017 18:23:45 +0000 (18:23 +0000)]
Merge "Fix pose predictor jank." into oc-dev

7 years agoMerge "vulkan: update Vulkan headers to 1.0.46" into oc-dev
Jesse Hall [Tue, 4 Apr 2017 18:11:58 +0000 (18:11 +0000)]
Merge "vulkan: update Vulkan headers to 1.0.46" into oc-dev
am: 05601b602c

Change-Id: I0eea0f3e19bc346f8e539c9614eb863a087fff7e

7 years agoMerge "vulkan: update Vulkan headers to 1.0.46" into oc-dev
Jesse Hall [Tue, 4 Apr 2017 18:04:14 +0000 (18:04 +0000)]
Merge "vulkan: update Vulkan headers to 1.0.46" into oc-dev

7 years agovulkan: update Vulkan headers to 1.0.46
Jesse Hall [Mon, 20 Mar 2017 20:09:19 +0000 (13:09 -0700)]
vulkan: update Vulkan headers to 1.0.46

- Add VK_EXT_swapchain_colorspace
- Add VK_KHR_incremental_present

Test: dEQP-VK.api.smoke.*
      dEQP-VK.wsi.android.incremental_present.*
Bug: 36886707
Change-Id: I70ffd56a63da39301cd9706b1b91cf3643aab916

7 years agoFix pose predictor jank.
Okan Arikan [Fri, 31 Mar 2017 21:04:51 +0000 (14:04 -0700)]
Fix pose predictor jank.

There were two issues:
- A math error in angular velocity computation.
  This has unit tests and they were failing.
  Need to make sure these units tests get executed.

- There is an inherent sensor latency that we need to account for.

Bug: 3669359636196200
Test: Run VrHome, see less hanky result.
Change-Id: Ifcf191f16de9ee64aa14bcbb74c9126db18ebaa8

7 years agoMerge "libui: clean up GraphicBuffer interface" into oc-dev
Chia-I Wu [Tue, 4 Apr 2017 16:23:29 +0000 (16:23 +0000)]
Merge "libui: clean up GraphicBuffer interface" into oc-dev
am: c428826fdf

Change-Id: I5f594029e94b1a363e2f07dbdc5aeb32c2d58098

7 years agoMerge "VR: Move VR HWC DVR API to libdvr" into oc-dev
Daniel Nicoara [Tue, 4 Apr 2017 16:23:16 +0000 (16:23 +0000)]
Merge "VR: Move VR HWC DVR API to libdvr" into oc-dev
am: 5ce4bb2cbe

Change-Id: I533b4634d8f6e25d06967092840cc30a9a3cf4c9

7 years agoMerge "libui: clean up GraphicBuffer interface" into oc-dev
Chia-I Wu [Tue, 4 Apr 2017 16:16:23 +0000 (16:16 +0000)]
Merge "libui: clean up GraphicBuffer interface" into oc-dev

7 years agoMerge "VR: Move VR HWC DVR API to libdvr" into oc-dev
TreeHugger Robot [Tue, 4 Apr 2017 16:14:03 +0000 (16:14 +0000)]
Merge "VR: Move VR HWC DVR API to libdvr" into oc-dev

7 years agoMerge "pdx: Rework error reporting when transfering file and channel handles" into...
Alex Vakulenko [Tue, 4 Apr 2017 15:43:31 +0000 (15:43 +0000)]
Merge "pdx: Rework error reporting when transfering file and channel handles" into oc-dev
am: 93e3900ad3

Change-Id: I47723338f73266858e51e36090a2a2d4afbd6a2e

7 years agoMerge "pdx: Rework error reporting when transfering file and channel handles" into...
Alex Vakulenko [Tue, 4 Apr 2017 15:31:24 +0000 (15:31 +0000)]
Merge "pdx: Rework error reporting when transfering file and channel handles" into oc-dev

7 years agovulkan: update Vulkan headers to 1.0.46
Jesse Hall [Mon, 20 Mar 2017 20:09:19 +0000 (13:09 -0700)]
vulkan: update Vulkan headers to 1.0.46

- Add VK_EXT_swapchain_colorspace
- Add VK_KHR_incremental_present

Test: build aosp_arm64-eng
Change-Id: I6cd81baa2870bf436abab6191a05ebfd60ccbc46
Merged-In: I70ffd56a63da39301cd9706b1b91cf3643aab916

7 years agoMerge "Remove driver workaround" into oc-dev
Courtney Goeltzenleuchter [Tue, 4 Apr 2017 13:04:37 +0000 (13:04 +0000)]
Merge "Remove driver workaround" into oc-dev
am: ac81f70b43

Change-Id: I24da8479b8e2a84425fe7d3860cf3c0ed73a288f

7 years agoMerge "Remove driver workaround" into oc-dev
Courtney Goeltzenleuchter [Tue, 4 Apr 2017 12:59:41 +0000 (12:59 +0000)]
Merge "Remove driver workaround" into oc-dev

7 years agoVR: Remove HIDL VR Composer from service/vr/vr_window_manager
Daniel Nicoara [Tue, 21 Mar 2017 19:30:45 +0000 (15:30 -0400)]
VR: Remove HIDL VR Composer from service/vr/vr_window_manager

Moved into frameworks/hardware/interfaces

Bug: 35570958
Test: Compiled and ran on device
Change-Id: I735096935a06e4dd6a8fc1d719c73ad11e9c1583

7 years agoVR: Move VR HWC DVR API to libdvr
Daniel Nicoara [Mon, 27 Mar 2017 20:56:05 +0000 (16:56 -0400)]
VR: Move VR HWC DVR API to libdvr

Moved VR HWC API into a common API library.

Bug: 36050795
Test: Compiled
Change-Id: I1af32f4dedb7a6d4bb77a18d3c48cfbc8ea00a66
(cherry picked from commit 3d3fb3960f9c3956074496fd7fa1beb230ac1043)

7 years agoMerge "Fix typo causing GL_EXT_debug_marker to disappear" into oc-dev
Pyry Haulos [Tue, 4 Apr 2017 06:00:44 +0000 (06:00 +0000)]
Merge "Fix typo causing GL_EXT_debug_marker to disappear" into oc-dev
am: 8348f6d6d0

Change-Id: Ic4918d74375965dc18b8bd8e14c08090a4845d8c

7 years agoMerge "Fix typo causing GL_EXT_debug_marker to disappear" into oc-dev
TreeHugger Robot [Tue, 4 Apr 2017 05:57:05 +0000 (05:57 +0000)]
Merge "Fix typo causing GL_EXT_debug_marker to disappear" into oc-dev

7 years agoMerge changes from topic 'sensors_framework_hal' into oc-dev
Yifan Hong [Tue, 4 Apr 2017 05:51:29 +0000 (05:51 +0000)]
Merge changes from topic 'sensors_framework_hal' into oc-dev
am: 2d3349c9aa

Change-Id: I06a5e6a43d8841b464e794c7e9414de61b54e185

7 years agoandroid.frameworks.sensorservice@1.0: ashmem direct channel check sizes.
Yifan Hong [Tue, 4 Apr 2017 05:51:08 +0000 (05:51 +0000)]
android.frameworks.sensorservice@1.0: ashmem direct channel check sizes.
am: 8a420ed627

Change-Id: I95c0352822944f1859896a5aaccebd88518e4437

7 years agoandroid.frameworks.sensorservice@1.0: fix configureDirectChannel return positive...
Yifan Hong [Tue, 4 Apr 2017 05:50:46 +0000 (05:50 +0000)]
android.frameworks.sensorservice@1.0: fix configureDirectChannel return positive integer.
am: 05fc8afc08

Change-Id: I79b7c4d2132693750ad7522eacd059e1d1dd0a15

7 years agoImplement android.frameworks.sensorservice@1.0::IEventQueue.
Yifan Hong [Tue, 4 Apr 2017 05:50:25 +0000 (05:50 +0000)]
Implement android.frameworks.sensorservice@1.0::IEventQueue.
am: 95c7a06367

Change-Id: I09ceb59fc4fd6e44b64306766ac712ccbf27b5b7

7 years agoRenamed HIDL SensorManager::mManager -> mInternalManager.
Yifan Hong [Tue, 4 Apr 2017 05:50:11 +0000 (05:50 +0000)]
Renamed HIDL SensorManager::mManager -> mInternalManager.
am: 57d427735f

Change-Id: I8c2966e83f12715695d1fdd6ed5e1bd49854b047