OSDN Git Service
Yifan Hong [Tue, 16 May 2017 16:16:30 +0000 (16:16 +0000)]
Merge changes from topic 'lshal_debug' into oc-dev am:
47c1875e35 -s ours
am:
c0e6fa641b
Change-Id: Id8f5b24bdf8fc141f42a2fb357767b45138591e4
Okan Arikan [Tue, 16 May 2017 16:14:18 +0000 (16:14 +0000)]
Merge "Int key for the named buffers."
Yifan Hong [Tue, 16 May 2017 16:12:56 +0000 (16:12 +0000)]
Merge changes from topic 'lshal_debug' into oc-dev
am:
47c1875e35 -s ours
Change-Id: I66ecb116b5f601b08982ca82ab8aeda7e2c8a22e
Yifan Hong [Tue, 16 May 2017 08:01:44 +0000 (08:01 +0000)]
Merge changes from topic 'lshal_debug' into oc-dev
* changes:
Actually remove dead processes from lshal
Add tests to lshal.
Add `lshal debug` command.
Lshal: support commands.
lshal: remove "// static" comments
Rob Carr [Tue, 16 May 2017 01:28:26 +0000 (01:28 +0000)]
Merge "SurfaceFlinger: setGeometryAppliesWithResize crop latching fixes." into oc-dev am:
83c9468c80
am:
0f755fda7f
Change-Id: I0996c441cbfd4ead4ae5d0aaa5e80c9a02788c20
Okan Arikan [Mon, 15 May 2017 22:20:39 +0000 (15:20 -0700)]
Int key for the named buffers.
Also, rename them to global buffers from named buffers.
Bug:
38320428
Test: Run frameworks/native/libs/vr/libdvr/tests on device
Change-Id: I2109aea77e35f2ccd8055208058df4b7287c1d5e
Rob Carr [Mon, 15 May 2017 23:38:34 +0000 (23:38 +0000)]
Merge "SurfaceFlinger: setGeometryAppliesWithResize crop latching fixes." into oc-dev
am:
83c9468c80
Change-Id: I99a0a661a5a1c222e0d32276cf4b778ffa9cd05f
Jesse Hall [Mon, 15 May 2017 23:34:53 +0000 (23:34 +0000)]
Merge "Handle EINTR from sendmsg/recvmsg" into oc-dev am:
1df013c3ef
am:
3961b0e53a
Change-Id: I44819c2a7ebc1b40b462a17e24cd575ad92b919a
Jesse Hall [Mon, 15 May 2017 23:19:38 +0000 (23:19 +0000)]
Merge "Handle EINTR from sendmsg/recvmsg" into oc-dev
am:
1df013c3ef
Change-Id: I0f452c592ce7f87b05626f468a5c2ddb989ff242
Rob Carr [Mon, 15 May 2017 23:17:30 +0000 (23:17 +0000)]
Merge "SurfaceFlinger: setGeometryAppliesWithResize crop latching fixes." into oc-dev
TreeHugger Robot [Mon, 15 May 2017 23:16:27 +0000 (23:16 +0000)]
Merge "Clean up BufferHubQueue API and internal bookkeeping."
TreeHugger Robot [Mon, 15 May 2017 23:06:36 +0000 (23:06 +0000)]
Merge "Handle EINTR from sendmsg/recvmsg" into oc-dev
Corey Tabaka [Tue, 9 May 2017 01:55:02 +0000 (18:55 -0700)]
Clean up BufferHubQueue API and internal bookkeeping.
- Simplify buffer hangup accounting.
- Add extra checks to gracefully handle the epoll set and slots array
being out of sync.
- Add tests for detaching buffers.
- Switch to using Status<T> for all return/error values.
- Fix minor bug in BufferHubQueueProducer from earlier Status<T>
return value change.
Bug:
36401174
Test: buffer_hub_queue-test passes.
Change-Id: If7f86a45cc048dc77daa2ede56585d3f882dd24f
Jesse Hall [Mon, 15 May 2017 21:14:01 +0000 (14:14 -0700)]
Handle EINTR from sendmsg/recvmsg
Bug:
38317278
Test: bit CtsHardwareTestCases:.HardwareBufferTest
Change-Id: I7994a416f274b7c7916d0866fcb827073b731ccb
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
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
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
Yifan Hong [Mon, 15 May 2017 20:12:09 +0000 (20:12 +0000)]
Merge "Add lshal --neat option"
am:
3a6828d50b
Change-Id: I15e00e281522c2ff59f885636c49d3ac41fc8eee
Treehugger Robot [Mon, 15 May 2017 20:05:51 +0000 (20:05 +0000)]
Merge "Add lshal --neat option"
Robert Carr [Tue, 9 May 2017 19:16:54 +0000 (12:16 -0700)]
SurfaceFlinger: setGeometryAppliesWithResize crop latching fixes.
The same sort of thing we had with setPosition...not sure why I didn't
realize we would need the fixes here too! In particular we need to ensure
the following scenarios work:
1. Additional calls to set(Final)Crop while in the setGeometryAppliesWithResize
state are eventually applied.
2. Additional calls to set(Final)Crop while in the setGeometryAppliesWithResize
state are not immediately applied.
3. When we latch the buffer completing the resize...current hasn't been swapped
to drawing...which means our location in LayerRejector.cpp was the wrong
place to update the crop. This raises questions about whether the
Transparent region latching works.
Bug:
37531386
Test: Included in Transaction_test.
Change-Id: I5140d44fd5e591a4afe5bddc201db45f7bcb5674
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Merged-In: Id8c52a5be3253f5ff9c1cb851459a16e01ca5dda
Fixes:
35765788
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
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
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
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
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
Yifan Hong [Wed, 10 May 2017 21:33:05 +0000 (14:33 -0700)]
Add tests to lshal.
Test: lshal_test
Bug:
37725279
Change-Id: I1914e6274974ed5eb0ce2d655f1333d2344b49f5
Merged-In: I1914e6274974ed5eb0ce2d655f1333d2344b49f5
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:
37725279
Change-Id: Ia2f4c9c0d3fb0a7bb26e76f01d02f49dc426e7f8
Merged-In: Ia2f4c9c0d3fb0a7bb26e76f01d02f49dc426e7f8
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
Merged-In: I970fbc8d250d43f57e92f783229e0645d7e8df4e
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
Steven Moreland [Tue, 9 May 2017 23:43:46 +0000 (16:43 -0700)]
lshal: remove "// static" comments
Test: pass
Change-Id: I4d710c8aaad87cfcd7896800a5ab24f812775703
Merged-In: I4d710c8aaad87cfcd7896800a5ab24f812775703
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
TreeHugger Robot [Mon, 15 May 2017 17:48:16 +0000 (17:48 +0000)]
Merge "Fixes vsync behavior in power mode transitions."
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
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
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
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
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
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
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
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
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
Treehugger Robot [Sat, 13 May 2017 01:25:34 +0000 (01:25 +0000)]
Merge "Actually remove dead processes from lshal"
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
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
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
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
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
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)
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
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
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
Okan Arikan [Fri, 12 May 2017 23:44:58 +0000 (23:44 +0000)]
Merge "Remove libposepredictor." into oc-dev
am:
25d50da373
Change-Id: I531e519bbdcbdba86028b1f7a77295fae81be6da
TreeHugger Robot [Fri, 12 May 2017 23:37:44 +0000 (23:37 +0000)]
Merge "Remove libposepredictor." into oc-dev
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
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
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
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
Yifan Hong [Fri, 12 May 2017 22:38:48 +0000 (22:38 +0000)]
Merge changes from topic 'lshal_debug'
am:
d4f5bb4c17
Change-Id: I0d7b068421152d9c2bfb1c53718abcb7e09c26a1
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.
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
TreeHugger Robot [Fri, 12 May 2017 21:31:37 +0000 (21:31 +0000)]
Merge "Remove libposepredictor."
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
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
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
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
Chia-I Wu [Fri, 12 May 2017 19:50:55 +0000 (19:50 +0000)]
Merge "Revert "surfaceflinger: work around dumpsys lockup"" into oc-dev
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
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
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
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
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
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
TreeHugger Robot [Fri, 12 May 2017 16:06:51 +0000 (16:06 +0000)]
Merge "Remove QCom specific flags" into oc-dev
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
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
Jaesoo Lee [Fri, 12 May 2017 12:41:40 +0000 (12:41 +0000)]
configstore: should import ISurfaceFlingerConfigs
am:
b2f9ce2d1d
Change-Id: I5b928e6d01ae3185cc695399ed35933aeb20d3c8
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
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
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
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
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
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
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
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
TreeHugger Robot [Fri, 12 May 2017 02:56:52 +0000 (02:56 +0000)]
Merge "BufferHubQueue Cleanup" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 02:12:45 +0000 (02:12 +0000)]
Merge "configstore: should import ISurfaceFlingerConfigs"