OSDN Git Service

android-x86/frameworks-native.git
7 years agoMerge "Add lshal --neat option" am: 3a6828d50b am: 702ca32b5a am: 42648b7216
Yifan Hong [Mon, 15 May 2017 20:38:53 +0000 (20:38 +0000)]
Merge "Add lshal --neat option" am: 3a6828d50b am: 702ca32b5a am: 42648b7216
am: 52b7b5edc4

Change-Id: Icc2a7f152310f59a36f1c24e1e955a112d61ec8c

7 years agoMerge "Add lshal --neat option" am: 3a6828d50b am: 702ca32b5a
Yifan Hong [Mon, 15 May 2017 20:17:11 +0000 (20:17 +0000)]
Merge "Add lshal --neat option" am: 3a6828d50b am: 702ca32b5a
am: 42648b7216

Change-Id: If89739d3318c70d907070da796f8874b21e30bda

7 years agoMerge "Add lshal --neat option" am: 3a6828d50b
Yifan Hong [Mon, 15 May 2017 20:14:39 +0000 (20:14 +0000)]
Merge "Add lshal --neat option" am: 3a6828d50b
am: 702ca32b5a

Change-Id: Ide589b0a4487a0a50e43fcda179bba7ad5600fc4

7 years agoMerge "Add lshal --neat option"
Yifan Hong [Mon, 15 May 2017 20:12:09 +0000 (20:12 +0000)]
Merge "Add lshal --neat option"
am: 3a6828d50b

Change-Id: I15e00e281522c2ff59f885636c49d3ac41fc8eee

7 years agoMerge "Add lshal --neat option"
Treehugger Robot [Mon, 15 May 2017 20:05:51 +0000 (20:05 +0000)]
Merge "Add lshal --neat option"

7 years agolibgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am...
Dan Stoza [Mon, 15 May 2017 18:56:04 +0000 (18:56 +0000)]
libgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am: 057ae95ab2  -s ours am: bec844f6d4 am: e7c7be2c17 am: cc184e4209 am: 2c86168b51 am: f4a1a4e7fd am: 1102b311c8 am: f571b41457 am: fa765bacf8 am: 146f77fc3c am: 4a1e3105bf am: 380e1aa3e9 am: 0cb4516f42 am: b10cbc1928
am: a8b94077b6

Change-Id: I673666e5d09817ec794a3095d78d98ee5bf56599

7 years agolibgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am...
Dan Stoza [Mon, 15 May 2017 18:55:36 +0000 (18:55 +0000)]
libgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am: 057ae95ab2  -s ours am: bec844f6d4 am: e7c7be2c17 am: cc184e4209 am: 2c86168b51 am: f4a1a4e7fd am: 1102b311c8 am: f571b41457 am: fa765bacf8 am: 146f77fc3c am: 4a1e3105bf am: 380e1aa3e9 am: 0cb4516f42 am: 2a6ad8ce63
am: 42aeaf5d4a

Change-Id: I095b426a7e82f7ad8f6bcb9ff8443642f9a7fa7e

7 years agolibgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am...
Dan Stoza [Mon, 15 May 2017 18:53:19 +0000 (18:53 +0000)]
libgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am: 057ae95ab2  -s ours am: bec844f6d4 am: e7c7be2c17 am: cc184e4209 am: 2c86168b51 am: f4a1a4e7fd am: 1102b311c8 am: f571b41457 am: fa765bacf8 am: 146f77fc3c am: 4a1e3105bf am: 380e1aa3e9 am: 0cb4516f42
am: b10cbc1928

Change-Id: Idae3080357d2536f91e420620add6412f1de22ba

7 years agolibgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am...
Dan Stoza [Mon, 15 May 2017 18:52:34 +0000 (18:52 +0000)]
libgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am: 057ae95ab2  -s ours am: bec844f6d4 am: e7c7be2c17 am: cc184e4209 am: 2c86168b51 am: f4a1a4e7fd am: 1102b311c8 am: f571b41457 am: fa765bacf8 am: 146f77fc3c am: 4a1e3105bf am: 380e1aa3e9 am: 0cb4516f42
am: 2a6ad8ce63

Change-Id: Ia43098c96a074f5935511a4e2496c74678c9598d

7 years agolibgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am...
Dan Stoza [Mon, 15 May 2017 18:49:36 +0000 (18:49 +0000)]
libgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am: 057ae95ab2  -s ours am: bec844f6d4 am: e7c7be2c17 am: cc184e4209 am: 2c86168b51 am: f4a1a4e7fd am: 1102b311c8 am: f571b41457 am: fa765bacf8 am: 146f77fc3c am: 4a1e3105bf am: 380e1aa3e9
am: 0cb4516f42

Change-Id: I58afb0e1211d2a8990d406c983eb084827a903b4

7 years agolibgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am...
Dan Stoza [Mon, 15 May 2017 18:49:35 +0000 (18:49 +0000)]
libgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am: 057ae95ab2  -s ours am: bec844f6d4 am: e7c7be2c17 am: cc184e4209 am: 2c86168b51 am: f4a1a4e7fd am: 1102b311c8 am: f571b41457 am: fa765bacf8 am: 146f77fc3c am: 4a1e3105bf am: 380e1aa3e9
am: 0cb4516f42

Change-Id: Icb6b6a7f0887ef003897cb12c044d8826f07791a

7 years agolibgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am...
Dan Stoza [Mon, 15 May 2017 18:46:34 +0000 (18:46 +0000)]
libgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am: 057ae95ab2  -s ours am: bec844f6d4 am: e7c7be2c17 am: cc184e4209 am: 2c86168b51 am: f4a1a4e7fd am: 1102b311c8 am: f571b41457 am: fa765bacf8 am: 146f77fc3c am: 4a1e3105bf
am: 380e1aa3e9

Change-Id: I7eed6fe471d204a4b8ff1b82b2b7739925294b6e

7 years agolibgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am...
Dan Stoza [Mon, 15 May 2017 18:43:32 +0000 (18:43 +0000)]
libgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am: 057ae95ab2  -s ours am: bec844f6d4 am: e7c7be2c17 am: cc184e4209 am: 2c86168b51 am: f4a1a4e7fd am: 1102b311c8 am: f571b41457 am: fa765bacf8 am: 146f77fc3c
am: 4a1e3105bf

Change-Id: I74d66fa6fa15003235ba8e07db5327d54e4fa3f7

7 years agolibgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am...
Dan Stoza [Mon, 15 May 2017 18:40:03 +0000 (18:40 +0000)]
libgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am: 057ae95ab2  -s ours am: bec844f6d4 am: e7c7be2c17 am: cc184e4209 am: 2c86168b51 am: f4a1a4e7fd am: 1102b311c8 am: f571b41457 am: fa765bacf8
am: 146f77fc3c

Change-Id: Id3334d9c0eefe429cf28fea41365024f313b807b

7 years agolibgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am...
Dan Stoza [Mon, 15 May 2017 18:37:03 +0000 (18:37 +0000)]
libgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am: 057ae95ab2  -s ours am: bec844f6d4 am: e7c7be2c17 am: cc184e4209 am: 2c86168b51 am: f4a1a4e7fd am: 1102b311c8 am: f571b41457
am: fa765bacf8

Change-Id: I9365e5aec00280a9466908a8f3a9e525757283ed

7 years agolibgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am...
Dan Stoza [Mon, 15 May 2017 18:34:02 +0000 (18:34 +0000)]
libgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am: 057ae95ab2  -s ours am: bec844f6d4 am: e7c7be2c17 am: cc184e4209 am: 2c86168b51 am: f4a1a4e7fd am: 1102b311c8
am: f571b41457

Change-Id: I739439543fd954b15a6da5909a47873e9a6dd029

7 years agolibgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am...
Dan Stoza [Mon, 15 May 2017 18:31:01 +0000 (18:31 +0000)]
libgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am: 057ae95ab2  -s ours am: bec844f6d4 am: e7c7be2c17 am: cc184e4209 am: 2c86168b51 am: f4a1a4e7fd
am: 1102b311c8

Change-Id: I2fc05fc6415e981f3fe13770697c810309312729

7 years agolibgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am...
Dan Stoza [Mon, 15 May 2017 18:28:01 +0000 (18:28 +0000)]
libgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am: 057ae95ab2  -s ours am: bec844f6d4 am: e7c7be2c17 am: cc184e4209 am: 2c86168b51
am: f4a1a4e7fd

Change-Id: I7ecadb481757312b22c4b47a6f8040c0e7a18d72

7 years agolibgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am...
Dan Stoza [Mon, 15 May 2017 18:25:00 +0000 (18:25 +0000)]
libgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am: 057ae95ab2  -s ours am: bec844f6d4 am: e7c7be2c17 am: cc184e4209
am: 2c86168b51

Change-Id: I82f10a43940d6038946f25870c8394900d5219fb

7 years agolibgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am...
Dan Stoza [Mon, 15 May 2017 18:21:59 +0000 (18:21 +0000)]
libgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am: 057ae95ab2  -s ours am: bec844f6d4 am: e7c7be2c17
am: cc184e4209

Change-Id: I20d492d5b3728ccf2ef68695d54b79f1a3c8371a

7 years agolibgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am...
Dan Stoza [Mon, 15 May 2017 18:19:31 +0000 (18:19 +0000)]
libgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am: 057ae95ab2  -s ours am: bec844f6d4
am: e7c7be2c17

Change-Id: I79e844eff3739ea737d20f381da6fa4da9852015

7 years agolibgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am...
Dan Stoza [Mon, 15 May 2017 18:16:30 +0000 (18:16 +0000)]
libgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2 am: 057ae95ab2  -s ours
am: bec844f6d4

Change-Id: I48d94557a005c4b0b46bf339ca685e9d1d231d97

7 years agolibgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2
Dan Stoza [Mon, 15 May 2017 18:13:30 +0000 (18:13 +0000)]
libgui: Check slot received from IGBP in Surface am: ac93b3a30e am: 7cb9cd3df2
am: 057ae95ab2  -s ours

Change-Id: I2c6441b19650f31c7bbab9ce22191ae162ba9e58

7 years agolibgui: Check slot received from IGBP in Surface am: ac93b3a30e
Dan Stoza [Mon, 15 May 2017 18:02:29 +0000 (18:02 +0000)]
libgui: Check slot received from IGBP in Surface am: ac93b3a30e
am: 7cb9cd3df2

Change-Id: Iff706258762cac4bfb7d97af7d365412d9ee661d

7 years agolibgui: Check slot received from IGBP in Surface
Dan Stoza [Mon, 15 May 2017 17:59:58 +0000 (17:59 +0000)]
libgui: Check slot received from IGBP in Surface
am: ac93b3a30e

Change-Id: I6ab9bc7f577634c0bf23359b5eb60e6dd07e4854

7 years agoMerge "Fixes vsync behavior in power mode transitions."
TreeHugger Robot [Mon, 15 May 2017 17:48:16 +0000 (17:48 +0000)]
Merge "Fixes vsync behavior in power mode transitions."

7 years agoMerge "Load updated graphics drivers into sphal-child namespace" into oc-dev am:...
Jesse Hall [Mon, 15 May 2017 14:37:14 +0000 (14:37 +0000)]
Merge "Load updated graphics drivers into sphal-child namespace" into oc-dev am: 6b32bed777
am: fa374e98d5

Change-Id: I0ec6b35ce64da0faeaf4dd4281f016bd049f7c38

7 years agoMerge "Load updated graphics drivers into sphal-child namespace" into oc-dev
Jesse Hall [Mon, 15 May 2017 14:34:14 +0000 (14:34 +0000)]
Merge "Load updated graphics drivers into sphal-child namespace" into oc-dev
am: 6b32bed777

Change-Id: I9cf1ef5304c97f2b740d66b3790734b40c3037d1

7 years agoMerge "Load updated graphics drivers into sphal-child namespace" into oc-dev
Jesse Hall [Mon, 15 May 2017 14:30:17 +0000 (14:30 +0000)]
Merge "Load updated graphics drivers into sphal-child namespace" into oc-dev

7 years agoMark libui as vendor_available
Jiyong Park [Fri, 28 Apr 2017 09:08:36 +0000 (18:08 +0900)]
Mark libui as vendor_available

libui is used by libgui and libstagefright_foundation which are both in
VNDK. So libui should also be in VNDK.

Bug: 37731063
Test: sailfish builds and boots
Test: 'BOARD_VNDK_VERSION=current m libui' successful
Change-Id: Ia8172a42325e5b5181741dda70048dc68e778b76

7 years agoAdd lshal --neat option
Yifan Hong [Fri, 12 May 2017 23:56:43 +0000 (16:56 -0700)]
Add lshal --neat option

... that doesn't output explanatory text and title line.

Test: lshal --neat
Test: lshal
Test: lshal --neat -itrpc

Change-Id: I269a5d284903dc0e9bc3be96379ed41aecea8ddb
Fixes: 38211518

7 years agoMerge "Actually remove dead processes from lshal" am: 28765c6184 am: d52b085d44 am...
Yifan Hong [Sat, 13 May 2017 01:40:58 +0000 (01:40 +0000)]
Merge "Actually remove dead processes from lshal" am: 28765c6184 am: d52b085d44 am: e69eaddc3e
am: 681af84df2

Change-Id: I9e066dcb2b9a165c2642ea393ad30d323f898c16

7 years agoMerge "Actually remove dead processes from lshal" am: 28765c6184 am: d52b085d44
Yifan Hong [Sat, 13 May 2017 01:38:51 +0000 (01:38 +0000)]
Merge "Actually remove dead processes from lshal" am: 28765c6184 am: d52b085d44
am: e69eaddc3e

Change-Id: I120912d0dd12dec09d531a96111080c6f8a14b92

7 years agoMerge "Actually remove dead processes from lshal" am: 28765c6184
Yifan Hong [Sat, 13 May 2017 01:36:32 +0000 (01:36 +0000)]
Merge "Actually remove dead processes from lshal" am: 28765c6184
am: d52b085d44

Change-Id: Ia86f84007a37f5ae158d85bd3fc0f947e5d84c37

7 years agoMerge "Actually remove dead processes from lshal"
Yifan Hong [Sat, 13 May 2017 01:33:34 +0000 (01:33 +0000)]
Merge "Actually remove dead processes from lshal"
am: 28765c6184

Change-Id: I8142135cfc9afe8af63fa00f35cb83ac3a4f1372

7 years agoMerge "Actually remove dead processes from lshal"
Treehugger Robot [Sat, 13 May 2017 01:25:34 +0000 (01:25 +0000)]
Merge "Actually remove dead processes from lshal"

7 years agoFixes vsync behavior in power mode transitions. am: 4de4ee3cb3 am: c6e23d9959 -s...
Matthew Bouyack [Sat, 13 May 2017 01:19:37 +0000 (01:19 +0000)]
Fixes vsync behavior in power mode transitions. am: 4de4ee3cb3 am: c6e23d9959  -s ours am: 035818fac9
am: d178711933

Change-Id: I7d2d66a5b52820c2a6e6e7df9a4c29ac4ba2e5bc

7 years agoFixes vsync behavior in power mode transitions. am: 4de4ee3cb3 am: c6e23d9959 am...
Matthew Bouyack [Sat, 13 May 2017 01:19:13 +0000 (01:19 +0000)]
Fixes vsync behavior in power mode transitions. am: 4de4ee3cb3 am: c6e23d9959 am: e051fd5b88  -s ours
am: 7dd0a27dd4

Change-Id: Ibd79e04ee261f387a50ec702372ec802a4f69fdc

7 years agoFixes vsync behavior in power mode transitions. am: 4de4ee3cb3 am: c6e23d9959 -s...
Matthew Bouyack [Sat, 13 May 2017 01:06:04 +0000 (01:06 +0000)]
Fixes vsync behavior in power mode transitions. am: 4de4ee3cb3 am: c6e23d9959  -s ours
am: 035818fac9

Change-Id: I50d56807c994ea1db287bfe31fc53fc4d74614e7

7 years agoFixes vsync behavior in power mode transitions. am: 4de4ee3cb3
Matthew Bouyack [Sat, 13 May 2017 01:02:33 +0000 (01:02 +0000)]
Fixes vsync behavior in power mode transitions. am: 4de4ee3cb3
am: c6e23d9959  -s ours

Change-Id: I08d22529331d4f512935e94fd1c63525bdda6115

7 years agoFixes vsync behavior in power mode transitions. am: 4de4ee3cb3 am: c6e23d9959
Matthew Bouyack [Sat, 13 May 2017 01:02:33 +0000 (01:02 +0000)]
Fixes vsync behavior in power mode transitions. am: 4de4ee3cb3 am: c6e23d9959
am: e051fd5b88  -s ours

Change-Id: Ie83a4a41d911d0fb4cfde1dd8cdff6031f6ee238

7 years agoFixes vsync behavior in power mode transitions.
Matthew Bouyack [Fri, 12 May 2017 19:49:32 +0000 (12:49 -0700)]
Fixes vsync behavior in power mode transitions.

Calling EventThread::onScreenAcquired enables hardware vsync and
calling EventThread::onScreenReleased disables hardware vsync.

The power modes 'NORMAL' and 'DOZE' should have hardware vsync
enabled while power modes 'OFF' and 'DOZE_SUSPEND' should have
hardware vsync disabled.

This change correctly handles the transitions from 'OFF' to
'DOZE_SUSPEND' and from either 'OFF' or 'DOZE_SUSPEND' to
'NORMAL'. Previously these cases were handled incorrectly.

Note that redundant calls to onScreenAcquired or onScreenReleased
are safe.

Fixes bug: 38232221

Change-Id: I7b00f97a67b157366364b3d26fe94533da07c263
(cherry picked from commit 4de4ee3cb3ccb3bcf4ea507f7bd6e02ab29aeb75)

7 years agoFixes vsync behavior in power mode transitions. am: 4de4ee3cb3
Matthew Bouyack [Sat, 13 May 2017 00:21:01 +0000 (00:21 +0000)]
Fixes vsync behavior in power mode transitions. am: 4de4ee3cb3
am: c6e23d9959

Change-Id: I0fba407c14811a81b1ad2926fca5130f8f65638d

7 years agoFixes vsync behavior in power mode transitions.
Matthew Bouyack [Sat, 13 May 2017 00:18:59 +0000 (00:18 +0000)]
Fixes vsync behavior in power mode transitions.
am: 4de4ee3cb3

Change-Id: I78e718bc1f9098e0da58257587062c11a8bd7e3a

7 years agoMerge "Remove libposepredictor." into oc-dev am: 25d50da373
Okan Arikan [Fri, 12 May 2017 23:53:26 +0000 (23:53 +0000)]
Merge "Remove libposepredictor." into oc-dev am: 25d50da373
am: 561e325f83  -s ours

Change-Id: Ie9ec8a3aeb6683c4fdf2324d12646080bd1cee8c

7 years agoMerge "Remove libposepredictor." into oc-dev
Okan Arikan [Fri, 12 May 2017 23:44:58 +0000 (23:44 +0000)]
Merge "Remove libposepredictor." into oc-dev
am: 25d50da373

Change-Id: I531e519bbdcbdba86028b1f7a77295fae81be6da

7 years agoMerge "Remove libposepredictor." into oc-dev
TreeHugger Robot [Fri, 12 May 2017 23:37:44 +0000 (23:37 +0000)]
Merge "Remove libposepredictor." into oc-dev

7 years agoActually remove dead processes from lshal
Yifan Hong [Fri, 12 May 2017 23:33:57 +0000 (16:33 -0700)]
Actually remove dead processes from lshal

Test: run lshal with and without the change

Change-Id: Id8c52a5be3253f5ff9c1cb851459a16e01ca5dda
Fixes: 35765788

7 years agoMerge changes from topic 'lshal_debug' am: d4f5bb4c17 am: a7f366d411 am: cb0cb2f04e
Yifan Hong [Fri, 12 May 2017 23:05:14 +0000 (23:05 +0000)]
Merge changes from topic 'lshal_debug' am: d4f5bb4c17 am: a7f366d411 am: cb0cb2f04e
am: 50892aed32

Change-Id: I05e1a63fbfbe3c2348cc70f8a98bc6fad90ee5e2

7 years agoMerge changes from topic 'lshal_debug' am: d4f5bb4c17 am: a7f366d411
Yifan Hong [Fri, 12 May 2017 22:51:31 +0000 (22:51 +0000)]
Merge changes from topic 'lshal_debug' am: d4f5bb4c17 am: a7f366d411
am: cb0cb2f04e

Change-Id: Ia931ccf63b5a7c6d05616c1137fe90e45dc4d612

7 years agoMerge changes from topic 'lshal_debug' am: d4f5bb4c17
Yifan Hong [Fri, 12 May 2017 22:46:09 +0000 (22:46 +0000)]
Merge changes from topic 'lshal_debug' am: d4f5bb4c17
am: a7f366d411

Change-Id: Ie7f3af47145cfd581a8484a8c397518c01cdda40

7 years agoMerge changes from topic 'lshal_debug'
Yifan Hong [Fri, 12 May 2017 22:38:48 +0000 (22:38 +0000)]
Merge changes from topic 'lshal_debug'
am: d4f5bb4c17

Change-Id: I0d7b068421152d9c2bfb1c53718abcb7e09c26a1

7 years agoMerge changes from topic 'lshal_debug'
Yifan Hong [Fri, 12 May 2017 22:21:25 +0000 (22:21 +0000)]
Merge changes from topic 'lshal_debug'

* changes:
  Add tests to lshal.
  Add `lshal debug` command.
  Lshal: support commands.

7 years agoLoad updated graphics drivers into sphal-child namespace
Jesse Hall [Fri, 5 May 2017 23:41:35 +0000 (16:41 -0700)]
Load updated graphics drivers into sphal-child namespace

Bug: 37854032
Test: install driver package, run gles3jni and vulkanGears,
      check /proc/<pid>/maps to ensure updated driver is loaded
Change-Id: I45d5be974ad079f8fcdbce6f06ccd3c191ec6a12

7 years agoMerge "Remove libposepredictor."
TreeHugger Robot [Fri, 12 May 2017 21:31:37 +0000 (21:31 +0000)]
Merge "Remove libposepredictor."

7 years agoFixes vsync behavior in power mode transitions.
Matthew Bouyack [Fri, 12 May 2017 19:49:32 +0000 (12:49 -0700)]
Fixes vsync behavior in power mode transitions.

Calling EventThread::onScreenAcquired enables hardware vsync and
calling EventThread::onScreenReleased disables hardware vsync.

The power modes 'NORMAL' and 'DOZE' should have hardware vsync
enabled while power modes 'OFF' and 'DOZE_SUSPEND' should have
hardware vsync disabled.

This change correctly handles the transitions from 'OFF' to
'DOZE_SUSPEND' and from either 'OFF' or 'DOZE_SUSPEND' to
'NORMAL'. Previously these cases were handled incorrectly.

Note that redundant calls to onScreenAcquired or onScreenReleased
are safe.

Fixes bug: 38232221

Change-Id: I7b00f97a67b157366364b3d26fe94533da07c263

7 years agoMerge "Revert "surfaceflinger: work around dumpsys lockup"" into oc-dev am: acf2c6dd58
Chia-I Wu [Fri, 12 May 2017 20:02:34 +0000 (20:02 +0000)]
Merge "Revert "surfaceflinger: work around dumpsys lockup"" into oc-dev am: acf2c6dd58
am: 6975146c6b

Change-Id: I5a4e7cbf5e86dea17db4b9d8048775bf46f45404

7 years agoRemove libposepredictor.
Okan Arikan [Fri, 12 May 2017 16:37:12 +0000 (09:37 -0700)]
Remove libposepredictor.

It is no longer used in this project.

Bug: 38260355
Test: make
Change-Id: I3178c6078186c85fcaf560eb0af603ffc31b5109
Merged-In: I3178c6078186c85fcaf560eb0af603ffc31b5109

7 years agoMerge "Revert "surfaceflinger: work around dumpsys lockup"" into oc-dev
Chia-I Wu [Fri, 12 May 2017 19:59:13 +0000 (19:59 +0000)]
Merge "Revert "surfaceflinger: work around dumpsys lockup"" into oc-dev
am: acf2c6dd58

Change-Id: I0590a73880f00fda0dd3493b410fb0d0832e9485

7 years agoMerge "Revert "surfaceflinger: work around dumpsys lockup"" into oc-dev
Chia-I Wu [Fri, 12 May 2017 19:50:55 +0000 (19:50 +0000)]
Merge "Revert "surfaceflinger: work around dumpsys lockup"" into oc-dev

7 years agoAdd tests to lshal.
Yifan Hong [Wed, 10 May 2017 21:33:05 +0000 (14:33 -0700)]
Add tests to lshal.

Test: lshal_test
Bug: 37954458
Change-Id: I1914e6274974ed5eb0ce2d655f1333d2344b49f5

7 years agoAdd `lshal debug` command.
Yifan Hong [Wed, 10 May 2017 02:33:08 +0000 (19:33 -0700)]
Add `lshal debug` command.

Supported command:
    lshal debug android.hardware.foo@1.0::IFoo option option

Test: adb unroot && lshal --debug ; echo $?
Test: adb unroot && lshal debug android.hardware.nfc@1.0::INfc ; echo $?
Test: adb root && lshal --debug ; echo $?
Test: adb root && lshal debug android.hardware.nfc@1.0::INfc ; echo $?

Bug: 37954458
Change-Id: Ia2f4c9c0d3fb0a7bb26e76f01d02f49dc426e7f8

7 years agoLshal: support commands.
Yifan Hong [Wed, 10 May 2017 01:49:45 +0000 (18:49 -0700)]
Lshal: support commands.

Support the following commands:
  lshal list
  lshal list -itrpc
  lshal help
  lshal help list
  lshal list -h
  lshal list --help

Test: run these commands
Bug: 37725279
Change-Id: I970fbc8d250d43f57e92f783229e0645d7e8df4e

7 years agoRemove libposepredictor.
Okan Arikan [Fri, 12 May 2017 16:37:12 +0000 (09:37 -0700)]
Remove libposepredictor.

It is no longer used in this project.

Bug: 38260355
Test: make
Change-Id: I3178c6078186c85fcaf560eb0af603ffc31b5109

7 years agoMerge "Remove QCom specific flags" into oc-dev am: cd43683371
Hendrik Wagenaar [Fri, 12 May 2017 16:26:48 +0000 (16:26 +0000)]
Merge "Remove QCom specific flags" into oc-dev am: cd43683371
am: 86b4423b58

Change-Id: Ia1251190bb8402279c26fe1c96357dfb103fab0e

7 years agoMerge "Remove QCom specific flags" into oc-dev
Hendrik Wagenaar [Fri, 12 May 2017 16:19:53 +0000 (16:19 +0000)]
Merge "Remove QCom specific flags" into oc-dev
am: cd43683371

Change-Id: I6abf03a512939f0290ca11d7301b4df015d7b912

7 years agoMerge "Remove QCom specific flags" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 16:06:51 +0000 (16:06 +0000)]
Merge "Remove QCom specific flags" into oc-dev

7 years agoRevert "surfaceflinger: work around dumpsys lockup"
Chia-I Wu [Thu, 11 May 2017 23:06:07 +0000 (16:06 -0700)]
Revert "surfaceflinger: work around dumpsys lockup"

This reverts commit 843460d1d8ced54ed224cff2b3fad703b6ea98c4.

Bug: 38183197
Test: manual while running dumpDebugInfo continuously in the
      background
Change-Id: Ife3fb2970f58b8c8049bbe878c6a7728d1299d57

7 years agoconfigstore: should import ISurfaceFlingerConfigs am: b2f9ce2d1d
Jaesoo Lee [Fri, 12 May 2017 12:43:41 +0000 (12:43 +0000)]
configstore: should import ISurfaceFlingerConfigs am: b2f9ce2d1d
am: 493fde4481  -s ours

Change-Id: I24af99726b2eb2e8ad3d792fcaa4f3355121c0f2

7 years agoconfigstore: should import ISurfaceFlingerConfigs
Jaesoo Lee [Fri, 12 May 2017 12:41:40 +0000 (12:41 +0000)]
configstore: should import ISurfaceFlingerConfigs
am: b2f9ce2d1d

Change-Id: I5b928e6d01ae3185cc695399ed35933aeb20d3c8

7 years agoconfigstore: should import ISurfaceFlingerConfigs
Jaesoo Lee [Tue, 2 May 2017 13:19:39 +0000 (22:19 +0900)]
configstore: should import ISurfaceFlingerConfigs

This changes fixes a build error.

Bug: 37727469
Test: Built and tested on Sailfish
Change-Id: Icfd71a3b1db6477d53bbbcb0f4b17ac9b588abf9
Merged-In: I9c8be953f906af3b541a437e8f445063a518bf29

7 years agoMerge "DO NOT MERGE Remove graphics.cpp and friends" into oc-dev am: c4a3020c4d
Hendrik Wagenaar [Fri, 12 May 2017 09:06:40 +0000 (09:06 +0000)]
Merge "DO NOT MERGE Remove graphics.cpp and friends" into oc-dev am: c4a3020c4d
am: 121fb5ce33  -s ours

Change-Id: I6d68cbf646907cf997924794367368e46dcb5d5c

7 years agoMerge "BufferHubQueue Cleanup" into oc-dev am: bb5767763a
Jiwen 'Steve' Cai [Fri, 12 May 2017 09:06:08 +0000 (09:06 +0000)]
Merge "BufferHubQueue Cleanup" into oc-dev am: bb5767763a
am: 2556995957  -s ours

Change-Id: I111dd0e3c3846986ee731c0e228190f425ada357

7 years agoMerge "Remove libbufferhub mocks/" into oc-dev am: 68d36a3cbb
Gaurav Shah [Fri, 12 May 2017 09:05:30 +0000 (09:05 +0000)]
Merge "Remove libbufferhub mocks/" into oc-dev am: 68d36a3cbb
am: 7adb6b418f

Change-Id: If4ccf55048a0269871acf0c52777094aa4a5e87e

7 years agoMerge "DO NOT MERGE Remove graphics.cpp and friends" into oc-dev
Hendrik Wagenaar [Fri, 12 May 2017 06:55:25 +0000 (06:55 +0000)]
Merge "DO NOT MERGE Remove graphics.cpp and friends" into oc-dev
am: c4a3020c4d

Change-Id: I4bc2e9c9cc528e9fe35741516065b5ea46179bfe

7 years agoMerge "BufferHubQueue Cleanup" into oc-dev
Jiwen 'Steve' Cai [Fri, 12 May 2017 06:55:03 +0000 (06:55 +0000)]
Merge "BufferHubQueue Cleanup" into oc-dev
am: bb5767763a

Change-Id: I44b9156d5cbb23a26ebe57744e5a524d5dc93ea8

7 years agoMerge "Remove libbufferhub mocks/" into oc-dev
Gaurav Shah [Fri, 12 May 2017 06:54:34 +0000 (06:54 +0000)]
Merge "Remove libbufferhub mocks/" into oc-dev
am: 68d36a3cbb

Change-Id: I3ddb77ea60fd8743830410efeddee19cbdf4b466

7 years agoMerge "DO NOT MERGE Remove graphics.cpp and friends" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 05:49:00 +0000 (05:49 +0000)]
Merge "DO NOT MERGE Remove graphics.cpp and friends" into oc-dev

7 years agoMerge "BufferHubQueue Cleanup" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 02:56:52 +0000 (02:56 +0000)]
Merge "BufferHubQueue Cleanup" into oc-dev

7 years agoMerge "configstore: should import ISurfaceFlingerConfigs"
TreeHugger Robot [Fri, 12 May 2017 02:12:45 +0000 (02:12 +0000)]
Merge "configstore: should import ISurfaceFlingerConfigs"

7 years agoMerge "Add ability to pass device metrics to GVR"
TreeHugger Robot [Fri, 12 May 2017 01:24:01 +0000 (01:24 +0000)]
Merge "Add ability to pass device metrics to GVR"

7 years agoMerge "Remove graphics.cpp and friends"
Steven Thomas [Fri, 12 May 2017 01:23:55 +0000 (01:23 +0000)]
Merge "Remove graphics.cpp and friends"

7 years agoBufferHubQueue Cleanup
Jiwen 'Steve' Cai [Mon, 8 May 2017 23:15:35 +0000 (16:15 -0700)]
BufferHubQueue Cleanup

1/ Add support for NATIVE_WINDOW_CONSUMER_IS_PROTECTED
2/ Remove BufferHubQueueConsumer as we don't need it after all
3/ Merge BufferHubQueueCore into BufferHubQueueProducer
4/ Remove redundant |onAsBinder|

Bug: 38137120
Test: buffer_hub_queue-test and buffer_hub_queue_producer-test
Merged-In: I32bc040f4ce9c6dc9e4382a589fea241870eeb2d
Change-Id: I10f7780f0172b031cc2acecae436bd1ccde65824

7 years agoMerge "BufferHubQueue Cleanup"
TreeHugger Robot [Fri, 12 May 2017 00:59:40 +0000 (00:59 +0000)]
Merge "BufferHubQueue Cleanup"

7 years agoMerge "surfaceflinger: Set correct initial value for mActiveColorMode"
TreeHugger Robot [Thu, 11 May 2017 23:57:39 +0000 (23:57 +0000)]
Merge "surfaceflinger: Set correct initial value for mActiveColorMode"

7 years agoAdd ability to pass device metrics to GVR
Hendrik Wagenaar [Tue, 9 May 2017 23:34:23 +0000 (16:34 -0700)]
Add ability to pass device metrics to GVR

* Passes config file data for the device to VrCore

Bug: 36215727
Test: DvrDisplayManagerTest::ConfigurationData - on marlin, SELinux on,
      with and without setenforce.
Change-Id: Iee05b90a21937ed9b60658c70da87a8c99dfcbb2

7 years agoRemove graphics.cpp and friends
Hendrik Wagenaar [Tue, 9 May 2017 15:59:51 +0000 (08:59 -0700)]
Remove graphics.cpp and friends

* Delete a bunch of code that isn't used in the O2 path

Bug: 36776792
Test: Compiled
Change-Id: I4adf6ec5678a53e0850229f9dda60e8687793376

7 years agoDO NOT MERGE Remove graphics.cpp and friends
Hendrik Wagenaar [Tue, 9 May 2017 15:59:51 +0000 (08:59 -0700)]
DO NOT MERGE Remove graphics.cpp and friends

* Delete a bunch of code that isn't used in the O2 path

Bug: 36776792
Test: Compiled
Change-Id: I4adf6ec5678a53e0850229f9dda60e8687793376
Merged-In: I4adf6ec5678a53e0850229f9dda60e8687793376

7 years agoBufferHubQueue Cleanup
Jiwen 'Steve' Cai [Mon, 8 May 2017 23:15:35 +0000 (16:15 -0700)]
BufferHubQueue Cleanup

1/ Add support for NATIVE_WINDOW_CONSUMER_IS_PROTECTED
2/ Remove BufferHubQueueConsumer as we don't need it after all
3/ Merge BufferHubQueueCore into BufferHubQueueProducer
4/ Remove redundant |onAsBinder|

Bug: 38137120
Test: buffer_hub_queue-test and buffer_hub_queue_producer-test
Change-Id: I32bc040f4ce9c6dc9e4382a589fea241870eeb2d

7 years agoMerge "SF: Add systrace lines for layer transactions"
TreeHugger Robot [Thu, 11 May 2017 21:52:51 +0000 (21:52 +0000)]
Merge "SF: Add systrace lines for layer transactions"

7 years agoMerge "Remove libbufferhub mocks/" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 21:18:23 +0000 (21:18 +0000)]
Merge "Remove libbufferhub mocks/" into oc-dev

7 years agoMerge "Only spawn one binder thread for cmd." into oc-dev am: 31d8ab2e7c
Martijn Coenen [Thu, 11 May 2017 21:06:15 +0000 (21:06 +0000)]
Merge "Only spawn one binder thread for cmd." into oc-dev am: 31d8ab2e7c
am: e19f2930c7

Change-Id: I7945d151fd477c4485265740ec357dba1bd8b382

7 years agoMerge "libgui: Add frame number and clean up BQ dump"
TreeHugger Robot [Thu, 11 May 2017 21:00:51 +0000 (21:00 +0000)]
Merge "libgui: Add frame number and clean up BQ dump"

7 years agoMerge "Only spawn one binder thread for cmd." into oc-dev
Martijn Coenen [Thu, 11 May 2017 20:17:03 +0000 (20:17 +0000)]
Merge "Only spawn one binder thread for cmd." into oc-dev
am: 31d8ab2e7c

Change-Id: I2cc1e090bb1669bc7ed181c5e3ae65d5b35f77e5

7 years agoMerge "Only spawn one binder thread for cmd." into oc-dev
Martijn Coenen [Thu, 11 May 2017 19:48:37 +0000 (19:48 +0000)]
Merge "Only spawn one binder thread for cmd." into oc-dev

7 years agoRemove libbufferhub mocks/
Gaurav Shah [Thu, 11 May 2017 18:57:46 +0000 (11:57 -0700)]
Remove libbufferhub mocks/

It is not used anywhere.

Bug: 36040117
Test: built. no code changes, only dead code removal.
Change-Id: Ia9c52379ac2dabf0179f92c0c2d5ffd4ff92d357

7 years agoMerge "Apply correct SELinux labels to PDX endpoint and channel sockets." into oc...
Alex Vakulenko [Thu, 11 May 2017 19:07:36 +0000 (19:07 +0000)]
Merge "Apply correct SELinux labels to PDX endpoint and channel sockets." into oc-dev am: 252e52aa06
am: 49cab39004

Change-Id: I768a073af0061e0608cc499192a47ff93f22278c

7 years agoMerge "Apply correct SELinux labels to PDX endpoint and channel sockets." into oc-dev
Alex Vakulenko [Thu, 11 May 2017 18:33:22 +0000 (18:33 +0000)]
Merge "Apply correct SELinux labels to PDX endpoint and channel sockets." into oc-dev
am: 252e52aa06

Change-Id: Ibaee77dd4f644e3d262719f1188481041293c457

7 years agoMerge "Apply correct SELinux labels to PDX endpoint and channel sockets." into oc-dev
TreeHugger Robot [Thu, 11 May 2017 18:26:46 +0000 (18:26 +0000)]
Merge "Apply correct SELinux labels to PDX endpoint and channel sockets." into oc-dev

7 years agoMerge "Make libdvr a shared library" into oc-dev am: 1ca4674b72
Steven Thomas [Thu, 11 May 2017 18:21:58 +0000 (18:21 +0000)]
Merge "Make libdvr a shared library" into oc-dev am: 1ca4674b72
am: e34b516a4b

Change-Id: I529acf1c880d07879458750e644cb5b1711d8742