OSDN Git Service
Martijn Coenen [Fri, 26 May 2017 19:42:56 +0000 (19:42 +0000)]
Merge "atrace: trace binder_set_priority."
TreeHugger Robot [Fri, 26 May 2017 19:12:17 +0000 (19:12 +0000)]
Merge "Remove GLES2Renderer dependency on config stores"
TreeHugger Robot [Fri, 26 May 2017 16:59:45 +0000 (16:59 +0000)]
Merge "Move virtual touchpad IDC file to be shared across devices."
Martijn Coenen [Fri, 26 May 2017 16:50:55 +0000 (09:50 -0700)]
atrace: trace binder_set_priority.
Useful to debug priority inheritance issues.
Test: binder_set_priority events traced
Change-Id: I89d6ad463aa670ce9b838cb051e58d58e80f07f6
Nicolas Geoffray [Fri, 26 May 2017 10:40:54 +0000 (10:40 +0000)]
Merge "Delete vdex file in delete_odex." am:
99dedeb690 am:
f6b79dd073 am:
6dc664460d
am:
362e56e41a
Change-Id: I7594ff3af6fc72e4d155afab41ef3ae4cb1b60ef
Nicolas Geoffray [Fri, 26 May 2017 10:34:47 +0000 (10:34 +0000)]
Merge "Delete vdex file in delete_odex." am:
99dedeb690 am:
f6b79dd073
am:
6dc664460d
Change-Id: I0116a003cd1985e15d2beb9a60a4262549647774
Nicolas Geoffray [Fri, 26 May 2017 10:29:45 +0000 (10:29 +0000)]
Merge "Delete vdex file in delete_odex." am:
99dedeb690
am:
f6b79dd073
Change-Id: I28ec2908c795bf3e88960732d69e2945b1eac422
Nicolas Geoffray [Fri, 26 May 2017 10:28:16 +0000 (10:28 +0000)]
Merge "Delete vdex file in delete_odex."
am:
99dedeb690
Change-Id: Idccc7fa241cdbb72b0ac5672978350a269ac8378
Nicolas Geoffray [Fri, 26 May 2017 10:21:25 +0000 (10:21 +0000)]
Merge "Delete vdex file in delete_odex."
Nicolas Geoffray [Thu, 25 May 2017 12:58:06 +0000 (13:58 +0100)]
Delete vdex file in delete_odex.
bug:
38513395
Test: unfortunately no unit test here, so after discussing
with agampe@ just relied on build.
Change-Id: I305ddaadc813673fb55473f5e8ca357f39cf98f3
TreeHugger Robot [Fri, 26 May 2017 02:07:46 +0000 (02:07 +0000)]
Merge "EGL: Do not look up default namespace when sphal is defined"
Steven Moreland [Thu, 25 May 2017 23:25:46 +0000 (23:25 +0000)]
Merge "Add thread usage output to lshal." am:
4a3e0a9767 am:
9a130151a2 am:
de314f2df2
am:
42f3d38f35
Change-Id: I5160ee0c8a8f309ffab6a854c9d03c67a88b84fe
Steven Moreland [Thu, 25 May 2017 23:17:52 +0000 (23:17 +0000)]
Merge "Add thread usage output to lshal." am:
4a3e0a9767 am:
9a130151a2
am:
de314f2df2
Change-Id: I321f393d2fc7252ea6d009c743fe797b083d718a
Steven Moreland [Thu, 25 May 2017 23:08:20 +0000 (23:08 +0000)]
Merge "Add thread usage output to lshal." am:
4a3e0a9767
am:
9a130151a2
Change-Id: I8045623cc47804816df7304cabea1633a18aeada
Steven Moreland [Thu, 25 May 2017 22:58:30 +0000 (22:58 +0000)]
Merge "Add thread usage output to lshal."
am:
4a3e0a9767
Change-Id: Ie0a5eb6b3f1c502e9cf6c70e10354ce133985348
Treehugger Robot [Thu, 25 May 2017 22:42:24 +0000 (22:42 +0000)]
Merge "Add thread usage output to lshal."
Jaekyun Seok [Thu, 25 May 2017 22:18:10 +0000 (22:18 +0000)]
Merge "Newly create idmap only when it is stale" into oc-dev am:
4bf5dcce19
am:
951a77b675
Change-Id: Iaf155251ac7d62b236f356fd0f66f1f621038b9c
Jaekyun Seok [Thu, 25 May 2017 22:06:03 +0000 (22:06 +0000)]
Merge "Newly create idmap only when it is stale" into oc-dev
am:
4bf5dcce19
Change-Id: Ibafdbb1406b822a7e7f50ca229b8aefe9981b547
TreeHugger Robot [Thu, 25 May 2017 21:50:52 +0000 (21:50 +0000)]
Merge "Newly create idmap only when it is stale" into oc-dev
Jiwen Cai [Thu, 25 May 2017 21:42:42 +0000 (21:42 +0000)]
Merge "DvrBufferQueue: Add basic event callbacks"
Chia-I Wu [Thu, 25 May 2017 21:32:25 +0000 (21:32 +0000)]
libgui: fix BQ buffer allocation error checking am:
feec3b1a49
am:
cc09fccf62
Change-Id: I5203cd613cb764a8d72d98532d43ec7826f79c57
Chia-I Wu [Thu, 25 May 2017 21:27:21 +0000 (21:27 +0000)]
libgui: fix BQ buffer allocation error checking
am:
feec3b1a49
Change-Id: Ie63b629a8eb0f4c08eadbcf3a40ceaf8346a71ba
Alexey Polyudov [Thu, 25 May 2017 21:00:18 +0000 (21:00 +0000)]
Merge "sensors: pass sensor handle along with injected event"
Kevin Schoedel [Thu, 25 May 2017 19:59:19 +0000 (15:59 -0400)]
Move virtual touchpad IDC file to be shared across devices.
Bug:
62066423
Test: observe IDC appears in targets
Change-Id: Ic990cccbcf8f4f7862ff0a9a59fa76a90800f339
Jiwen 'Steve' Cai [Wed, 24 May 2017 18:50:11 +0000 (11:50 -0700)]
DvrBufferQueue: Add basic event callbacks
Currently, there is no guarantee of thread safty and on which thread
those callbacks are going to be fired.
Three new DVR APIs introduced:
1/ dvrReadBufferQueueSetBufferAvailableCallback
2/ dvrReadBufferQueueSetBufferRemovedCallback
3/ dvrReadBufferQueueHandleEvents
Bug:
36748012
Test: buffer_hub_queue-test, dvr_api-test
Change-Id: I79900c9d205f1808b02400b379c79adb366a1104
Chia-I Wu [Thu, 25 May 2017 16:34:56 +0000 (09:34 -0700)]
libgui: fix BQ buffer allocation error checking
The error path was broken since we moved away from
IGraphicBufferAlloc.
Bug:
37956614
Test: simulate buffer allocation failures
Change-Id: I1e1ec840fafd3075b84126c6dbf6194568175a42
John Reck [Thu, 25 May 2017 17:18:01 +0000 (17:18 +0000)]
Merge "Add MDSS tracing to gfx category"
John Bates [Wed, 24 May 2017 18:33:54 +0000 (11:33 -0700)]
Add correct header paths to dvr_api.h
Allows export script to find them for documentation insertion.
Also rename the included dvr_hardware_composer_defs file to
_types to match the copy that is in google3.
Bug: b/
38379392
Test: ran export script
Change-Id: I9c9fe40bc1e6cc07739997f143fa036e713487c6
Alexey Polyudov [Wed, 24 May 2017 02:54:04 +0000 (19:54 -0700)]
sensors: pass sensor handle along with injected event
Change-Id: Ifa5825b08d5b809865f9066c7a763202cebb987f
TreeHugger Robot [Thu, 25 May 2017 02:19:38 +0000 (02:19 +0000)]
Merge "Expose WriteBufferQueueResizeBuffer"
TreeHugger Robot [Thu, 25 May 2017 02:11:57 +0000 (02:11 +0000)]
Merge "BufferHubQueue rename DetachBuffer to RemoveBuffer"
Season Li [Thu, 25 May 2017 01:24:03 +0000 (01:24 +0000)]
Merge "SF: Call makeCurrent after presenting each display" am:
7bb8779a79 am:
5079756e8e am:
53df8fac8b
am:
3d69648490
Change-Id: Idba176720c4508e0b678a0a38475815cceb66293
Season Li [Thu, 25 May 2017 01:18:05 +0000 (01:18 +0000)]
Merge "SF: Call makeCurrent after presenting each display" am:
7bb8779a79 am:
5079756e8e
am:
53df8fac8b
Change-Id: I9860424ffa54807eccc6ef7ab4dbba99ed18d46a
Season Li [Thu, 25 May 2017 01:12:03 +0000 (01:12 +0000)]
Merge "SF: Call makeCurrent after presenting each display" am:
7bb8779a79
am:
5079756e8e
Change-Id: I6075c26cb0cd73de62f1607712c720e2d2a6248c
Season Li [Thu, 25 May 2017 01:06:02 +0000 (01:06 +0000)]
Merge "SF: Call makeCurrent after presenting each display"
am:
7bb8779a79
Change-Id: If22c0369b968a72dcbac8b97061f5555c18e8432
Treehugger Robot [Thu, 25 May 2017 00:59:58 +0000 (00:59 +0000)]
Merge "SF: Call makeCurrent after presenting each display"
John Reck [Wed, 24 May 2017 23:09:21 +0000 (16:09 -0700)]
Add MDSS tracing to gfx category
Bug:
62039896
Test: Ran systrace, verified mdss shows up with just gfx tag
Change-Id: Icc2d343fecbec9a63b97adae857208ca6a98f607
Hendrik Wagenaar [Wed, 24 May 2017 22:35:33 +0000 (15:35 -0700)]
Expose WriteBufferQueueResizeBuffer
* We need a way to resize the queue in vrcore
Bug:
38324405
Test: None
Change-Id: I4041c3a789c3f72a0e885b518ee2b06f846ad800
Fabien Sanglard [Wed, 24 May 2017 22:29:29 +0000 (22:29 +0000)]
Merge "Delete SurfaceFlinger BYPASS codepath" into oc-dev am:
d8ac4fd17a
am:
958d55d139
Change-Id: Ia0cf425cd0833f18818ca3919e4ecb9a5334fc5a
Fabien Sanglard [Wed, 24 May 2017 22:19:31 +0000 (22:19 +0000)]
Merge "Delete SurfaceFlinger BYPASS codepath" into oc-dev
am:
d8ac4fd17a
Change-Id: Ieae1107f4da7b4a3eaa489175bda4bdb62e9d245
TreeHugger Robot [Wed, 24 May 2017 22:13:36 +0000 (22:13 +0000)]
Merge "Delete SurfaceFlinger BYPASS codepath" into oc-dev
Steven Moreland [Wed, 24 May 2017 18:23:08 +0000 (11:23 -0700)]
Add thread usage output to lshal.
This output shows how many threads are in use at a give time.
Test: lshal, manual
Bug:
35099601
Change-Id: I3a22bb131b828cdd77e73e7810229d9c68a496d3
Jiwen 'Steve' Cai [Tue, 23 May 2017 18:15:33 +0000 (11:15 -0700)]
BufferHubQueue rename DetachBuffer to RemoveBuffer
Test: buffer_hub_queue_producer-test, buffer_hub_queue-test, dvr_api-test
Bug:
37164481
Change-Id: I05ba0f9f96cf60b64cb8b76482301440d40aa82a
TreeHugger Robot [Wed, 24 May 2017 19:19:37 +0000 (19:19 +0000)]
Merge "DvrWriteBufferQueue: support buffer resizing"
Dan Stoza [Wed, 24 May 2017 18:43:38 +0000 (18:43 +0000)]
Merge "libgui: Add test for OOB slot number in dequeue" into oc-dev am:
c1225bdafc
am:
7c26243a3f
Change-Id: Iee252e43d2d1934cb236a86f70207610c546a0e9
Dan Stoza [Wed, 24 May 2017 18:29:16 +0000 (18:29 +0000)]
Merge "libgui: Add test for OOB slot number in dequeue" into oc-dev
am:
c1225bdafc
Change-Id: Ia6a3f61406928e3293423a4d8981a4ef594779ca
TreeHugger Robot [Wed, 24 May 2017 18:24:03 +0000 (18:24 +0000)]
Merge "libgui: Add test for OOB slot number in dequeue" into oc-dev
TreeHugger Robot [Wed, 24 May 2017 17:35:02 +0000 (17:35 +0000)]
Merge "Cleanup dvr_api.h to make it closer to the exported SDK version"
Season Li [Thu, 4 Aug 2016 21:32:44 +0000 (14:32 -0700)]
SF: Call makeCurrent after presenting each display
HWC can change EGLContext in each present. Restore to
default EGLContext after commiting each display.
Test: see https://android-review.googlesource.com/#/c/372703/
Change-Id: I4abc84fb3d4b74964fabcad5a2568ff01a6c5dbb
gaoshang [Wed, 24 May 2017 16:45:07 +0000 (16:45 +0000)]
Merge "Fix a anr bug caused by sendFinishedSignal logical error" am:
77bee3b429 am:
9d5bddcded am:
251baedfaf
am:
c1f060e6f3
Change-Id: Iecf0de33ee32cd0c86eb36409ea140cd7e382742
gaoshang [Wed, 24 May 2017 16:23:56 +0000 (16:23 +0000)]
Merge "Fix a anr bug caused by sendFinishedSignal logical error" am:
77bee3b429 am:
9d5bddcded
am:
251baedfaf
Change-Id: I34210fcd813c2118f0fa4814884b4adadacc415f
gaoshang [Wed, 24 May 2017 16:20:54 +0000 (16:20 +0000)]
Merge "Fix a anr bug caused by sendFinishedSignal logical error" am:
77bee3b429
am:
9d5bddcded
Change-Id: I9ff24304c580bba54afe9b0f4bc4394d513c04cf
gaoshang [Wed, 24 May 2017 16:18:23 +0000 (16:18 +0000)]
Merge "Fix a anr bug caused by sendFinishedSignal logical error"
am:
77bee3b429
Change-Id: If794d0ec576c91fc8554bf974d7409966b306cba
Treehugger Robot [Wed, 24 May 2017 16:10:16 +0000 (16:10 +0000)]
Merge "Fix a anr bug caused by sendFinishedSignal logical error"
John Bates [Thu, 18 May 2017 21:21:01 +0000 (14:21 -0700)]
Cleanup dvr_api.h to make it closer to the exported SDK version
Also fixed include guards on dvr_display_manager.h to avoid
collision with display_manager_client.h.
build_sdk.py has been moved to vendor/google_daydream/build.
Bug: b/
38379392
Test: Built libdvr, surfaceflinger, ran libdvr/tests
Change-Id: I2807be6d2fd5c2814e86e5d8fae8de181397e4a6
TreeHugger Robot [Wed, 24 May 2017 14:03:58 +0000 (14:03 +0000)]
Merge "Use IVrComposerClient interface to expose the VR HWC client"
Fabien Sanglard [Thu, 4 May 2017 18:25:46 +0000 (11:25 -0700)]
Delete SurfaceFlinger BYPASS codepath
Test: AUPT, Manual
Change-Id: I8d6139fbb8a3ec113d7cb973420a5874d3e31030
Merged-Id: I8d6139fbb8a3ec113d7cb973420a5874d3e31030
Justin Yun [Mon, 22 May 2017 06:13:40 +0000 (15:13 +0900)]
EGL: Do not look up default namespace when sphal is defined
If sphal name space exists, try to load drivers from sphal.
This patch stops loading the driver if it fails to find the driver
from sphal, instead of falling back to the default namespace.
Bug:
38435840
Test: sailfish builds and boots
Change-Id: Ib8ba73f57aa25431c4a2efe7c61a3699237cc3d2
TreeHugger Robot [Wed, 24 May 2017 04:41:50 +0000 (04:41 +0000)]
Merge "Move dvr config data from display manager to display service"
TreeHugger Robot [Wed, 24 May 2017 04:33:32 +0000 (04:33 +0000)]
Merge "Headers of libui is moved to the local directory"
Hendrik Wagenaar [Tue, 23 May 2017 21:59:08 +0000 (14:59 -0700)]
Move dvr config data from display manager to display service
* The limitation of creating only one display manager client
is preventing config data access on multiple threads
Bug:
38269706
Test: DvrDisplayManagerTest::ConfigurationData
Change-Id: Ifc14cf0dd79248aea6367aca70c4e4f8359a25de
Jiwen 'Steve' Cai [Mon, 22 May 2017 20:02:33 +0000 (13:02 -0700)]
DvrWriteBufferQueue: support buffer resizing
Currently, the buffer resising is implemented at the C API's
implementation level, i.e. it's a pure client side logic out of the core
BufferHubQueue C++/PDX implementation. The logic is similar to
BufferHubQueueProducer's buffer resizing logic.
Other minor changes:
1/ Use ProducerQueueConfig in DisplaySurface as well, and plumb default
width, height, and format to bufferhubd when a BufferHubQueue is created
through a Display Surface.
2/ Added detailed dvr_buffer_queue comments.
3/ Since we now have more and more logic in dvr_buffer_queue, refactored
Dvr{Read,Write}BufferQueue to be C++-styled class.
Bug:
38324405
Test: buffer_hub_queue_producer-test, buffer_hub_queue-test, dvr_api-test
Change-Id: I7186fc04e84eafda46eca316a94739bb3b5c07ca
Jaekyun Seok [Wed, 17 May 2017 15:13:44 +0000 (00:13 +0900)]
Newly create idmap only when it is stale
For now, OverlayManagerService calls Installd.idmap() whenever a user
is changed, and then a idmap is re-generated even though there are no
changes on its target apk and overlay apk.
This CL is to avoid such unnecessary re-generation of idmap. Instead
only a group id will be updated when the idmap isn't outdated.
To correctly check staleness of idmap, "--verify" function of idmap is
invented as well.
Test: building succeeded and tested on sailfish.
Bug:
37179531
Change-Id: I874be9765d37bfa6c562c3f39a395040dc6a7d1f
TreeHugger Robot [Tue, 23 May 2017 22:36:33 +0000 (22:36 +0000)]
Merge "Fix the spammy sensord."
Carmen Jackson [Tue, 23 May 2017 21:55:37 +0000 (21:55 +0000)]
Merge "Do not set the trace clock in atrace.rc." into oc-dev am:
27ef38ca4c
am:
755b10ddc3
Change-Id: If7306d6a2bd35a392aee6e2a6951781bead7cb78
Carmen Jackson [Tue, 23 May 2017 21:53:06 +0000 (21:53 +0000)]
Merge "Do not set the trace clock in atrace.rc." into oc-dev
am:
27ef38ca4c
Change-Id: I068e661eba9c7e668a6157dc4d704b4b73e8514c
TreeHugger Robot [Tue, 23 May 2017 21:50:28 +0000 (21:50 +0000)]
Merge "Do not set the trace clock in atrace.rc." into oc-dev
Kalle Raita [Mon, 22 May 2017 22:47:46 +0000 (15:47 -0700)]
Remove GLES2Renderer dependency on config stores
Test: Builds, code search for RenderEngine::create
Change-Id: I7b5032f072d0fc468a8e0eba54035867c5bf74c4
Shuzhen Wang [Tue, 23 May 2017 20:08:07 +0000 (20:08 +0000)]
Merge "Surface: Use buffer id to synchronize slots" into oc-dev am:
adf0ad2090
am:
fe614d7b37
Change-Id: I24d58521c267ecf576160ac037d433c595c78960
Shuzhen Wang [Tue, 23 May 2017 19:59:44 +0000 (19:59 +0000)]
Merge "Surface: Use buffer id to synchronize slots" into oc-dev
am:
adf0ad2090
Change-Id: I01b8012c941001530678f944670a083e34b7ebc6
TreeHugger Robot [Tue, 23 May 2017 19:52:17 +0000 (19:52 +0000)]
Merge "Surface: Use buffer id to synchronize slots" into oc-dev
Carmen Jackson [Tue, 23 May 2017 18:54:01 +0000 (11:54 -0700)]
Do not set the trace clock in atrace.rc.
This reverts only the atrace.rc change from commit
ea826794184be368f65f099ceac4fc31234700f6.
"Set the atrace clock to the best available value: boot, mono, or global."
This change caused a 100+ms regression in boot time. We also confirm that
the clock is set to the correct value when we call atrace, so we will
still see correct behavior after reverting this change.
Bug:
38504158
Test: Manually tested that the trace clock is updated when atrace is
called.
Change-Id: Ifa302694964a4f9fc54db16e7125d5279067bbfd
Shuzhen Wang [Tue, 23 May 2017 16:41:54 +0000 (09:41 -0700)]
Surface: Use buffer id to synchronize slots
For the same buffer, GraphicBuffer's buffer_handle_t* may change when
doing attach/detach. Use Id instead.
Test: Call attach/detach, and observe mRemovedBuffers is updated
Bug:
38238747
Change-Id: I6ab1ae5340565f98cb981b7e38c31a4f85190e56
Robert Carr [Tue, 23 May 2017 04:16:50 +0000 (04:16 +0000)]
Merge "SurfaceFlinger: setGeometryAppliesWithResize crop latching fixes." into oc-dev am:
e2fad8108e
am:
1ae167bef4
Change-Id: Iba205e1c3fcb0768aa4b418b843c4efaaf1ecc4d
Robert Carr [Tue, 23 May 2017 04:14:52 +0000 (04:14 +0000)]
Merge "SurfaceFlinger: setGeometryAppliesWithResize crop latching fixes." into oc-dev
am:
e2fad8108e
Change-Id: I3fae02f6d1c03e69f55a05bfdf6229580ae1c4ee
TreeHugger Robot [Tue, 23 May 2017 04:09:52 +0000 (04:09 +0000)]
Merge "SurfaceFlinger: setGeometryAppliesWithResize crop latching fixes." into oc-dev
Okan Arikan [Tue, 23 May 2017 00:11:35 +0000 (17:11 -0700)]
Fix the spammy sensord.
Bug:
38509839
Test: Flash the device and observe the lack of pose service warnings
about missing buffers.
Change-Id: I4bfdd02530427fe147ae78eee1d850bb310a937f
Andreas Gampe [Mon, 22 May 2017 23:25:03 +0000 (23:25 +0000)]
Otapreopt: Add some static_asserts am:
ef21fd2b6b
am:
904f744dc8
Change-Id: I3247532b1b08bef1f9d18ee4da386d889fcd46d9
Andreas Gampe [Mon, 22 May 2017 23:17:00 +0000 (23:17 +0000)]
Otapreopt: Add some static_asserts
am:
ef21fd2b6b
Change-Id: I9f72d69a74a945f3c822401e466028d94330fdb3
TreeHugger Robot [Mon, 22 May 2017 21:59:36 +0000 (21:59 +0000)]
Merge "Surface: Do not copy back if front and back buffer are identical"
Andreas Gampe [Mon, 22 May 2017 20:36:06 +0000 (13:36 -0700)]
Otapreopt: Add some static_asserts
Add some checks that indicate version issues.
Bug:
38501464
Test: m
Change-Id: Iec2043eda19126166139d7220618d11032e98af0
Jiyong Park [Mon, 22 May 2017 07:21:12 +0000 (16:21 +0900)]
Headers of libui is moved to the local directory
This makes clients of libui to be compiled without depending on global
headers.
Bug:
37731063
Test: sailfish build and boots
Test: 'BOARD_VNDK_VERSION=current m libui' successful
Change-Id: I6546f57964f2103bf3534fb8266fee4fb7d4678a
Guang Zhu [Mon, 22 May 2017 04:05:18 +0000 (04:05 +0000)]
Merge "Revert "use 64-bits usage bits almost everywhere""
Guang Zhu [Sun, 21 May 2017 22:21:13 +0000 (22:21 +0000)]
Revert "use 64-bits usage bits almost everywhere"
Bug:
38466700
This reverts commit
175d98757d7d9003d4f64756cf4c2b366ba77e97.
Change-Id: I5f08a4ca91511775cd52250d10a0220b258b8368
TreeHugger Robot [Sat, 20 May 2017 04:20:18 +0000 (04:20 +0000)]
Merge "Add more attribute when creating ProducerQueue"
Jiwen 'Steve' Cai [Fri, 19 May 2017 06:05:05 +0000 (23:05 -0700)]
Add more attribute when creating ProducerQueue
Add `is_async`, `default_width`, `default_height` and
`default_format`. Note that these attributes are currently treated as
immutable after queue gets created.
Bug:
38324405
Bug:
38430974
Bug:
36724099
Test: buffer_hub_queue_producer-test, buffer_hub_queue-test, dvr_api-test
Change-Id: Id242a15388a1f1457ad89d11336f5643685e8361
Chris Forbes [Sat, 20 May 2017 02:10:05 +0000 (02:10 +0000)]
Merge "vulkan: Translate usage flags before passing to driver" into oc-dev am:
b667c05f03
am:
bccd72755f -s ours
Change-Id: Ib88a78614f5d46b2ee00a459e6b4768804c1b4da
gaoshang [Wed, 17 May 2017 06:36:46 +0000 (14:36 +0800)]
Fix a anr bug caused by sendFinishedSignal logical error
Because of eliminate multiple benign overflow conditions see:
https://android-review.googlesource.com/#/c/172237/
Changed the do while loop resulting in a logical difference.
When the chainIndex-- to 0, the loop is not run.
It is the most important cycle, it will push head seq to mSeqChains.
If not run, will lead to a batch of seq can not corrected finish.
Eventually leading to the occurrence of anr.
Signed-off-by: gaoshang <gaoshang@xiaomi.com>
Test: Input dispatche process
Bug:
38366215
Change-Id: I87e609dfcb00ac7b8e82c6de789df094e7c25efd
TreeHugger Robot [Sat, 20 May 2017 01:34:25 +0000 (01:34 +0000)]
Merge "Fix apparent copy/paste error in double test"
Chris Forbes [Sat, 20 May 2017 01:00:31 +0000 (01:00 +0000)]
Merge "vulkan: Translate usage flags before passing to driver" into oc-dev
am:
b667c05f03
Change-Id: I974356cbc64e3e52b52bb85defa2f548286ece63
Chris Forbes [Sat, 20 May 2017 00:54:29 +0000 (00:54 +0000)]
Merge "vulkan: Translate usage flags before passing to driver" into oc-dev
TreeHugger Robot [Fri, 19 May 2017 23:31:49 +0000 (23:31 +0000)]
Merge "use 64-bits usage bits almost everywhere"
Carmen Jackson [Fri, 19 May 2017 22:10:21 +0000 (22:10 +0000)]
Merge "Set the atrace clock to the best available value: boot, mono, or global." into oc-dev am:
bfe6bf6f31
am:
115d6cd1d7
Change-Id: I11606b0da51b924b2e51b2872cdd652d28e0cc7f
Carmen Jackson [Fri, 19 May 2017 22:07:47 +0000 (22:07 +0000)]
Merge "Set the atrace clock to the best available value: boot, mono, or global." into oc-dev
am:
bfe6bf6f31
Change-Id: I4b198e07cdf1742aff8a771721021ca6ba28f20a
Marc Hittinger [Fri, 19 May 2017 22:07:36 +0000 (22:07 +0000)]
Merge "Enable lowmemory trace events in atrace"
TreeHugger Robot [Fri, 19 May 2017 22:04:11 +0000 (22:04 +0000)]
Merge "Set the atrace clock to the best available value: boot, mono, or global." into oc-dev
Chris Forbes [Fri, 19 May 2017 21:47:29 +0000 (14:47 -0700)]
vulkan: Translate usage flags before passing to driver
Previously we just cast the 32bit flags and jammed them in the two
gralloc1 slots. Use the helper which does the correct translation.
(Yes, all these gralloc1isms are going away in favor of a single 64bit
flags field, but Vulkan HALs expect us to implement our side of
ANDROID_native_buffer correctly.)
Test: boot sailfish, run vulkan demo
Bug:
37686587
Change-Id: I806011986e8140d7f608d281798605bd9ca9a86b
Mathias Agopian [Tue, 16 May 2017 01:00:34 +0000 (18:00 -0700)]
use 64-bits usage bits almost everywhere
Test: manual, build
Bug:
33350696
Change-Id: Ida33c2a902155044651158467bb99d664e958c41
Marc Hittinger [Wed, 17 May 2017 22:57:43 +0000 (15:57 -0700)]
Enable lowmemory trace events in atrace
Enable collection of lowmemory events in atrace as a category. These
events have been available in the kernel, but not exposed via atrace.
Bug: https://github.com/catapult-project/catapult/issues/3557
Test: Run "atrace memreclaim", trigger LMK events.
Change-Id: I92140518796bdda8b302d566d7d78e2129b9839c
Jiwen Cai [Fri, 19 May 2017 19:57:40 +0000 (19:57 +0000)]
Merge "Simplify ProducerQueue::Create"