OSDN Git Service
Jeff Sharkey [Wed, 11 May 2016 03:47:43 +0000 (03:47 +0000)]
Merge "Move both CE/DE storage areas to adopted storage." into nyc-dev
am:
cdea85e9a3
* commit '
cdea85e9a347e9c6d159b191cf1d121ae107f956':
Move both CE/DE storage areas to adopted storage.
Change-Id: I2ae5c637c28f8580bd796c256c526c16245e9fc2
Jeff Sharkey [Wed, 11 May 2016 03:47:42 +0000 (03:47 +0000)]
Merge "Search both CE/DE storage when clearing caches." into nyc-dev
am:
128074fcb9
* commit '
128074fcb90148b40ed45bba6e650cfc2eb1f1ad':
Search both CE/DE storage when clearing caches.
Change-Id: I07a7047c059127f6adea20ea457ba9d7c4aed563
Jeff Sharkey [Wed, 11 May 2016 03:41:25 +0000 (03:41 +0000)]
Merge "Move both CE/DE storage areas to adopted storage." into nyc-dev
Jeff Sharkey [Wed, 11 May 2016 03:39:58 +0000 (03:39 +0000)]
Merge "Search both CE/DE storage when clearing caches." into nyc-dev
Jeff Sharkey [Tue, 10 May 2016 23:46:39 +0000 (17:46 -0600)]
Move both CE/DE storage areas to adopted storage.
Public APIs now support separate CE/DE storage areas on all devices,
so they both need to be moved together.
Bug:
25861755
Change-Id: Ibe64a0c9ce0ef286adff2b66bfd432d14f1041d0
Jeff Sharkey [Tue, 10 May 2016 23:21:13 +0000 (17:21 -0600)]
Search both CE/DE storage when clearing caches.
Now that we have two data storage locations, we need to scan them
both when freeing up disk space. Clean up logic to use new
get_known_users() API.
Bug:
26056125
Change-Id: Ic05c0022d6f5eb438967b69402b1900678f3858b
Marco Nelissen [Mon, 9 May 2016 21:43:33 +0000 (21:43 +0000)]
Correctly handle dup() failure in Parcel::readNativeHandle am:
1de7966c72 am:
275c9f60f9 am:
853702ce3d am:
775f2e6dbf am:
82afbe2258 am:
c2c470c700 am:
56dea28189 am:
bca20d8376 am:
a8244873a8 am:
93bf31f54d am:
f91c66a9a8
am:
fb6342d2bb
* commit '
fb6342d2bbf0f5e324ea1685a0b3cfc4af648ee7':
Correctly handle dup() failure in Parcel::readNativeHandle
Change-Id: I0c9e0506c4e8c55234373b1158428b122f4fcb6f
Marco Nelissen [Mon, 9 May 2016 21:38:19 +0000 (21:38 +0000)]
Correctly handle dup() failure in Parcel::readNativeHandle am:
1de7966c72 am:
275c9f60f9 am:
853702ce3d am:
775f2e6dbf am:
82afbe2258 am:
c2c470c700 am:
56dea28189 am:
bca20d8376 am:
a8244873a8 am:
93bf31f54d
am:
f91c66a9a8
* commit '
f91c66a9a889f0ed851953dd0c1b2ff70e622dda':
Correctly handle dup() failure in Parcel::readNativeHandle
Change-Id: Ib4a4fe7d4ca8291fb82fcbbd91c3a0803a1e1b30
Marco Nelissen [Mon, 9 May 2016 21:32:52 +0000 (21:32 +0000)]
Correctly handle dup() failure in Parcel::readNativeHandle am:
1de7966c72 am:
275c9f60f9 am:
853702ce3d am:
775f2e6dbf am:
82afbe2258 am:
c2c470c700 am:
56dea28189 am:
bca20d8376 am:
a8244873a8
am:
93bf31f54d
* commit '
93bf31f54d56617baf0192a451f2269ad78e6c49':
Correctly handle dup() failure in Parcel::readNativeHandle
Change-Id: I436ae48cf652ac717ea74e2eff8a92359562e413
Marco Nelissen [Mon, 9 May 2016 21:27:37 +0000 (21:27 +0000)]
Correctly handle dup() failure in Parcel::readNativeHandle am:
1de7966c72 am:
275c9f60f9 am:
853702ce3d am:
775f2e6dbf am:
82afbe2258 am:
c2c470c700 am:
56dea28189 am:
bca20d8376
am:
a8244873a8
* commit '
a8244873a881f18cf5cea22dc5f566dbe6394f48':
Correctly handle dup() failure in Parcel::readNativeHandle
Change-Id: I351dad18e1f3b1903553a8cdfacde18c64f3b6d4
Marco Nelissen [Mon, 9 May 2016 21:22:14 +0000 (21:22 +0000)]
Correctly handle dup() failure in Parcel::readNativeHandle am:
1de7966c72 am:
275c9f60f9 am:
853702ce3d am:
775f2e6dbf am:
82afbe2258 am:
c2c470c700 am:
56dea28189
am:
bca20d8376
* commit '
bca20d8376708da7ed835e71442ab52197d1e9c0':
Correctly handle dup() failure in Parcel::readNativeHandle
Change-Id: Ia0845cc9f58fcb2cca204118cbaff6e251ed0b8e
Marco Nelissen [Mon, 9 May 2016 21:16:30 +0000 (21:16 +0000)]
Correctly handle dup() failure in Parcel::readNativeHandle am:
1de7966c72 am:
275c9f60f9 am:
853702ce3d am:
775f2e6dbf am:
82afbe2258 am:
c2c470c700
am:
56dea28189
* commit '
56dea28189ff0894d24ebb63650ad5159031549c':
Correctly handle dup() failure in Parcel::readNativeHandle
Change-Id: I283fd9ad78ddb434d831adaef58db22a57b335f6
Marco Nelissen [Mon, 9 May 2016 21:11:03 +0000 (21:11 +0000)]
Correctly handle dup() failure in Parcel::readNativeHandle am:
1de7966c72 am:
275c9f60f9 am:
853702ce3d am:
775f2e6dbf am:
82afbe2258
am:
c2c470c700
* commit '
c2c470c700a4e0fbbcd5b99da144f02cee7b9b3e':
Correctly handle dup() failure in Parcel::readNativeHandle
Change-Id: I68084d5f6bfd4b209c738b94a0f31fe9db113d9f
Marco Nelissen [Mon, 9 May 2016 21:05:18 +0000 (21:05 +0000)]
Correctly handle dup() failure in Parcel::readNativeHandle am:
1de7966c72 am:
275c9f60f9 am:
853702ce3d am:
775f2e6dbf
am:
82afbe2258
* commit '
82afbe2258c5c5e18ea6e9496d590cff177e67d4':
Correctly handle dup() failure in Parcel::readNativeHandle
Change-Id: I2c52991c2e6b1c5ef2eebbc4649b36c30dd9120d
Marco Nelissen [Mon, 9 May 2016 20:59:50 +0000 (20:59 +0000)]
Correctly handle dup() failure in Parcel::readNativeHandle am:
1de7966c72 am:
275c9f60f9 am:
853702ce3d
am:
775f2e6dbf
* commit '
775f2e6dbf757d1b1853337c19bf15f15a127e31':
Correctly handle dup() failure in Parcel::readNativeHandle
Change-Id: Ibfc37203a33c603df365ed9cbb85632d34acafbd
Marco Nelissen [Mon, 9 May 2016 20:54:25 +0000 (20:54 +0000)]
Correctly handle dup() failure in Parcel::readNativeHandle am:
1de7966c72 am:
275c9f60f9
am:
853702ce3d
* commit '
853702ce3d1ba5e45ce58f332ed1d40008a44375':
Correctly handle dup() failure in Parcel::readNativeHandle
Change-Id: I2b8f6070ecc873d67be5a4c72ca870606af93a3d
Marco Nelissen [Mon, 9 May 2016 20:48:32 +0000 (20:48 +0000)]
Correctly handle dup() failure in Parcel::readNativeHandle am:
1de7966c72
am:
275c9f60f9
* commit '
275c9f60f94780bd686eca9750ec41cc1fafa333':
Correctly handle dup() failure in Parcel::readNativeHandle
Change-Id: I6516dea7eac82d06e1ffd1d269dbb6415fece948
Marco Nelissen [Mon, 9 May 2016 20:43:16 +0000 (20:43 +0000)]
Correctly handle dup() failure in Parcel::readNativeHandle
am:
1de7966c72
* commit '
1de7966c72981aebc3c7f9978ab129678ac89258':
Correctly handle dup() failure in Parcel::readNativeHandle
Change-Id: Ie043622a17b241c489429273d369e9a478b7ebcc
Peng Xu [Mon, 9 May 2016 13:00:06 +0000 (13:00 +0000)]
Merge "DO NOT MERGE ANYWHERE Add AOSP Geomag and Game Rotation, and Gravity" into cw-e-dev am:
dd9012bf09 -s ours am:
d2ebf37473 -s ours
am:
f96fff5015 -s ours
* commit '
f96fff5015f6823c9fde7fa603bb58ee05c5c242':
DO NOT MERGE ANYWHERE Add AOSP Geomag and Game Rotation, and Gravity
Change-Id: I6d21d4af2974d71cbe15049424ae6f0837e1b299
Nick Vaccaro [Mon, 9 May 2016 12:57:41 +0000 (12:57 +0000)]
Merge "DO NOT MERGE ANYWHERE Add AOSP Geomag and Game Rotation, and Gravity" into cw-e-dev am:
dd9012bf09 -s ours
am:
d2ebf37473 -s ours
* commit '
d2ebf374732d6824fffc69fcffe9395b5a4a842c':
DO NOT MERGE ANYWHERE Add AOSP Geomag and Game Rotation, and Gravity
Change-Id: I43a30806ab719a017e9966570ba74725137c1cdd
Peng Xu [Mon, 9 May 2016 12:54:22 +0000 (12:54 +0000)]
Merge "DO NOT MERGE ANYWHERE Add AOSP Geomag and Game Rotation, and Gravity" into cw-e-dev
am:
dd9012bf09 -s ours
* commit '
dd9012bf09405e038f2232a16a7748f64777a4aa':
DO NOT MERGE ANYWHERE Add AOSP Geomag and Game Rotation, and Gravity
Change-Id: I2a795b16c1083b03cad117b4a01dbd32df842636
Nick Vaccaro [Mon, 9 May 2016 12:48:34 +0000 (12:48 +0000)]
Merge "DO NOT MERGE ANYWHERE Add AOSP Geomag and Game Rotation, and Gravity" into cw-e-dev
Peng Xu [Thu, 23 Jul 2015 18:41:53 +0000 (11:41 -0700)]
DO NOT MERGE ANYWHERE Add AOSP Geomag and Game Rotation, and Gravity
Providing AOSP software implementation of Geomag Rotation Vector, Game
Rotation Vector and Gravity sensors for platforms that does not have
hardware implementation of these sensors but do have primitive sensors
(accelerometers, gyrometers and magnetometers).
Previously, AOSP Gravity sensor is enabled only when all primitive sensors are
available. This is changed so that AOSP Gravity will be available even
no magnetometer is in the device.
Related bug/feature request:
* b/
17508800
* b/
22610016
Change-Id: I4e2d3e544884047d66e7fdbce2282f1f8234eae9
(cherry picked from commit
f66684a6fb2a2991e84a085673629db2a0494fc6)
Pablo Ceballos [Fri, 6 May 2016 20:29:19 +0000 (20:29 +0000)]
Merge "libgui: Prevent segfaulting in abandoned ConsumerBase" into nyc-dev
am:
39e4428c81
* commit '
39e4428c8196a99bb882ee8c1e16ad697372a9fb':
libgui: Prevent segfaulting in abandoned ConsumerBase
Change-Id: Ib577e8c072b33fc17be7c2bb964fac9ef3873174
Pablo Ceballos [Fri, 6 May 2016 20:16:57 +0000 (20:16 +0000)]
Merge "libgui: Prevent segfaulting in abandoned ConsumerBase" into nyc-dev
Peng Xu [Fri, 6 May 2016 19:13:10 +0000 (19:13 +0000)]
Add feature strings for newly added sensors am:
f50c85d263 am:
8778a3864c
am:
41ecfd7e72
* commit '
41ecfd7e720680b2ae0524523f64c715c0ea0c98':
Add feature strings for newly added sensors
Change-Id: I7055ed440bca05d471315ec212ff550fdf847169
Peng Xu [Fri, 6 May 2016 19:08:51 +0000 (19:08 +0000)]
Add feature strings for newly added sensors am:
f50c85d263
am:
8778a3864c
* commit '
8778a3864cedc7cb67aa893752f0b487c9de3f24':
Add feature strings for newly added sensors
Change-Id: I4a02f3978c4c916b20b8c8b4e96231ffe4005a7f
Peng Xu [Fri, 6 May 2016 19:03:20 +0000 (19:03 +0000)]
Add feature strings for newly added sensors
am:
f50c85d263
* commit '
f50c85d2631b41d9303b9726bc1312d7ce6fe1d2':
Add feature strings for newly added sensors
Change-Id: I0f2be7c5a3dae1a690b32121d962eaa5c7384002
sergeyv [Fri, 6 May 2016 18:11:28 +0000 (18:11 +0000)]
Merge "atrace: introduce category for core services" into nyc-dev
am:
4f1563fa12
* commit '
4f1563fa129157e407a223eb13ab382d1d45483b':
atrace: introduce category for core services
Change-Id: Ic84db7da37ff80075dc1e87632cd8c2afbf6a47d
Sergei Vasilinetc [Fri, 6 May 2016 17:56:44 +0000 (17:56 +0000)]
Merge "atrace: introduce category for core services" into nyc-dev
Pablo Ceballos [Fri, 6 May 2016 16:42:13 +0000 (16:42 +0000)]
Merge "BQ: Fix segfault in dump()" into nyc-dev
am:
ed2c5d1931
* commit '
ed2c5d1931bb48240b9293b0d0c3d370fbbd6f81':
BQ: Fix segfault in dump()
Change-Id: If9d49120eca9624c99e1bfbcdbd55052698a8633
Pablo Ceballos [Fri, 6 May 2016 16:34:34 +0000 (16:34 +0000)]
Merge "BQ: Fix segfault in dump()" into nyc-dev
Peng Xu [Wed, 18 Nov 2015 03:02:41 +0000 (19:02 -0800)]
Add feature strings for newly added sensors
Added the feature strings for:
* Ambient Temperature Sensor
* Relative Humidity Sensor
Bug:
25476695
Change-Id: Ib307bebe33c67ddb8513edfb37c697c1488f1a7f
Pablo Ceballos [Thu, 5 May 2016 21:28:58 +0000 (21:28 +0000)]
Merge "Revert "Add debug dump if about to segfault"" into nyc-dev
am:
876c150be2
* commit '
876c150be2164a20d3fc6da44f0e668e00960dda':
Revert "Add debug dump if about to segfault"
Change-Id: Ibedf9b01990c6283cbb908b47acb41e93ace37dd
Pablo Ceballos [Thu, 5 May 2016 21:20:40 +0000 (21:20 +0000)]
Merge "Revert "Add debug dump if about to segfault"" into nyc-dev
Pablo Ceballos [Thu, 5 May 2016 20:49:03 +0000 (13:49 -0700)]
BQ: Fix segfault in dump()
When dequeueBuffer() is called we put the slot in mActiveBuffers, then
don't hold the BufferQueue lock while allocation occurs. So a slot
might be in mActiveBuffers but not have a buffer attached yet. Prevent
the dump function from segfaulting in this case.
Bug
27128710
Change-Id: Ie1480c0f9b2544554fc3281045e55ad30605e6ec
Dan Stoza [Thu, 5 May 2016 17:15:51 +0000 (17:15 +0000)]
HWC2: Add support for color modes
am:
076ac67026
* commit '
076ac670262e448c531e6db7727cfade325866ca':
HWC2: Add support for color modes
Change-Id: I349c7bf51e6840fc69320f029a995b714a2d502f
Dan Stoza [Thu, 5 May 2016 17:15:50 +0000 (17:15 +0000)]
HWC2: Hook up setColorTransform/setLayerDataspace
am:
5df2a86063
* commit '
5df2a86063c6a83813fc1aa3d8938a82f7ff8f14':
HWC2: Hook up setColorTransform/setLayerDataspace
Change-Id: I4c58f99890f8ee26fcff0101cbcfe7c8a67a745a
Dan Stoza [Mon, 14 Mar 2016 17:47:53 +0000 (10:47 -0700)]
HWC2: Add support for color modes
Adds support for setting color modes through HWC2On1Adapter and the
HWC2 C++ shim
Bug:
22767098
Change-Id: I0b7300093ab427be7105a2535fc9db4953b8af1c
Pablo Ceballos [Wed, 4 May 2016 20:59:35 +0000 (13:59 -0700)]
libgui: Prevent segfaulting in abandoned ConsumerBase
mConsumer will be null if the ConsumerBase has been abandoned. Prevent
it from being dereferenced in those cases.
Bug
27718219
Change-Id: I9a3ecadb0655ec61cd2fd15ee98b3e1bef078cff
Dan Stoza [Thu, 24 Mar 2016 23:19:37 +0000 (16:19 -0700)]
HWC2: Hook up setColorTransform/setLayerDataspace
Plumbs the setColorTransform and setLayerDataspace calls through the
HWC2 C++ shim and implements a trivial versions in the adapter,
which drops non-HAL_DATASPACE_UNKNOWN layers to client composition,
and which drops all layers to client composition if a color transform
is applied.
Bug:
22767098
Change-Id: Ifffd19b77cf3b33ec86fde3f72257f6b97b4dd79
Jesse Hall [Wed, 4 May 2016 17:52:14 +0000 (17:52 +0000)]
Merge "GLConsumer: add build-time disable of gpu protected content" into nyc-dev
am:
0b546c4086
* commit '
0b546c408686e4353dfe4b3a12be1048b966944d':
GLConsumer: add build-time disable of gpu protected content
Change-Id: I9775e2659cded403409367819f70a5833a8bf2c9
Jesse Hall [Wed, 4 May 2016 17:43:51 +0000 (17:43 +0000)]
Merge "GLConsumer: add build-time disable of gpu protected content" into nyc-dev
Pablo Ceballos [Wed, 4 May 2016 17:19:49 +0000 (10:19 -0700)]
Revert "Add debug dump if about to segfault"
This reverts commit
6366a10fd8223c91f1a3422620800cd6ac67ef90.
Bug
27674961
Jesse Hall [Wed, 4 May 2016 04:12:39 +0000 (21:12 -0700)]
GLConsumer: add build-time disable of gpu protected content
Some drivers incorrectly claim support for EGL_EXT_protected_content.
Until we've been able to verify that devices which claim support
actually implement it properly, require that GPU access to protected
content be manually enabled per-device.
Bug:
28545166
Change-Id: Ic10e47a99c38737ce1c39439fe9347d628aec491
Pablo Ceballos [Tue, 3 May 2016 19:04:51 +0000 (19:04 +0000)]
Merge "EGL: Disconnect native window in eglDestroySurface" into nyc-dev
am:
1ae52ea860
* commit '
1ae52ea860d9b29dc79f44e117e2c7e971162737':
EGL: Disconnect native window in eglDestroySurface
Change-Id: I4229c453c23d7f4cb3acccd06c5c76eb5ed0239a
Pablo Ceballos [Tue, 3 May 2016 18:57:05 +0000 (18:57 +0000)]
Merge "EGL: Disconnect native window in eglDestroySurface" into nyc-dev
Pablo Ceballos [Mon, 2 May 2016 18:24:13 +0000 (11:24 -0700)]
EGL: Disconnect native window in eglDestroySurface
Bug
27455025
Change-Id: I7549a3acb724e749925a8249feb180088aec7f3c
sergeyv [Tue, 3 May 2016 02:26:07 +0000 (19:26 -0700)]
atrace: introduce category for core services
bug:
28200530
Change-Id: Ifc785ba2ed25d6968f4558c2958a705603c39ba5
Narayan Kamath [Tue, 3 May 2016 10:51:03 +0000 (10:51 +0000)]
Merge "installd: remove spammy warning for non-existent profile dirs." into nyc-dev
am:
5dda72b2a1
* commit '
5dda72b2a14c7d81756ec019d0f8daac228dca45':
installd: remove spammy warning for non-existent profile dirs.
Change-Id: I6ea4a5af738ae664f0428d39fd87b8a147c98c6f
TreeHugger Robot [Tue, 3 May 2016 10:45:18 +0000 (10:45 +0000)]
Merge "installd: remove spammy warning for non-existent profile dirs." into nyc-dev
Narayan Kamath [Mon, 2 May 2016 08:47:49 +0000 (09:47 +0100)]
installd: remove spammy warning for non-existent profile dirs.
Also gets rid of a lstat call which seems unnecessary. We can
directly open the directory and fail if the open fails.
bug:
28510519
Change-Id: Iaf2b7e69d51e2670e62cbe2807874c9b0dd471e5
Peng Xu [Mon, 2 May 2016 21:53:43 +0000 (21:53 +0000)]
Merge "[sensorservice] Fix on-change sensor send latest value on enable" into nyc-dev
am:
f6fc321644
* commit '
f6fc3216442b76d591883f38ea462fd3111e07aa':
[sensorservice] Fix on-change sensor send latest value on enable
Change-Id: I753abf90d686a5b7bef1d2c5484c8092f932a155
Trevor Bunker [Mon, 2 May 2016 21:38:11 +0000 (21:38 +0000)]
Merge "[sensorservice] Fix on-change sensor send latest value on enable" into nyc-dev
Peng Xu [Mon, 2 May 2016 21:15:50 +0000 (14:15 -0700)]
[sensorservice] Fix on-change sensor send latest value on enable
This CL correct the behavior of sensorservice so that the latest
value of on-change sensor is send to client when enabling sensor.
The errornous behavior before is that sensorservice send the oldest
value in local cache.
Bug:
28480791
Change-Id: I7e0b8e52fa0be62ba95910789cff1fe0d4fbb03f
Dan Stoza [Mon, 2 May 2016 16:55:45 +0000 (16:55 +0000)]
Merge "SF: Clear local sync points on hide and destroy" into nyc-dev
am:
54ebc56413
* commit '
54ebc564132c4c734d5917baa5c91a36c6f915ef':
SF: Clear local sync points on hide and destroy
Change-Id: If6d5cb161e5ed9633a2719f07943f9419d2f4a09
Dan Stoza [Mon, 2 May 2016 16:39:41 +0000 (16:39 +0000)]
Merge "SF: Clear local sync points on hide and destroy" into nyc-dev
sergeyv [Sat, 30 Apr 2016 00:07:29 +0000 (00:07 +0000)]
Merge "Atrace: store app list in multiple sysprops" into nyc-dev
am:
9a8ddb6e71
* commit '
9a8ddb6e71605d5304226234ed01cedccf54e849':
Atrace: store app list in multiple sysprops
Change-Id: Ieeb896d05922cdc5ca0eb6de84c4bbe9e1cc2e03
Sergei Vasilinetc [Sat, 30 Apr 2016 00:02:23 +0000 (00:02 +0000)]
Merge "Atrace: store app list in multiple sysprops" into nyc-dev
Chia-I Wu [Fri, 29 Apr 2016 22:24:46 +0000 (22:24 +0000)]
Merge changes I6e89439a,I9d9aafe6,I38340654,Ie50a9d37,Icd98abf5, ... into nyc-dev
am:
63fd900686
* commit '
63fd90068696bda0c59bd36bd543dc6eafc41e51':
vulkan: deprecate device layers
vulkan: detect errors in VkEnumerate*ExtensionProperties
vulkan: do not distinguish instance or device LayerRef
vulkan: make Get*LayerRef take a Layer
vulkan: refactor layer extension enumeration
vulkan: refactor layer enumeration
Change-Id: Idd198779294bfcb9864e1eab872dfd83166d6220
TreeHugger Robot [Fri, 29 Apr 2016 22:21:04 +0000 (22:21 +0000)]
Merge changes I6e89439a,I9d9aafe6,I38340654,Ie50a9d37,Icd98abf5, ... into nyc-dev
* changes:
vulkan: deprecate device layers
vulkan: detect errors in VkEnumerate*ExtensionProperties
vulkan: do not distinguish instance or device LayerRef
vulkan: make Get*LayerRef take a Layer
vulkan: refactor layer extension enumeration
vulkan: refactor layer enumeration
Craig Donner [Fri, 29 Apr 2016 20:53:19 +0000 (20:53 +0000)]
Merge "Support EGL_EXT_protected_content in GLConsumer." into nyc-dev
am:
188b9f0035
* commit '
188b9f00358d1f9f880b6d9deadc0b54f07b888e':
Support EGL_EXT_protected_content in GLConsumer.
Change-Id: I60d7c49a05480950994389029dec6d359f77dfce
Craig Donner [Fri, 29 Apr 2016 20:47:38 +0000 (20:47 +0000)]
Merge "Support EGL_EXT_protected_content in GLConsumer." into nyc-dev
sergeyv [Thu, 28 Apr 2016 18:40:04 +0000 (11:40 -0700)]
Atrace: store app list in multiple sysprops
bug:
28200530
Change-Id: Ifee0f3a63cf1caf4dbd867155614f94614417af5
Craig Donner [Fri, 29 Apr 2016 01:09:40 +0000 (18:09 -0700)]
Support EGL_EXT_protected_content in GLConsumer.
When the consumer creates an EGLImage, it must now pass
EGL_PROTECTED_CONTENT_EXT to eglCreateImageKHR for protected buffers to be
mapped onto the GPU. This allows us to no longer need QCOM specific flags in
a few places (already removed).
Bug:
27536318
Change-Id: I1c49886d2dcbdceaf5fa9a33288753115651b4f2
John Reck [Fri, 29 Apr 2016 14:57:14 +0000 (14:57 +0000)]
Merge "Return the transform to apply in getLastQueuedBuffer" into nyc-dev
am:
1992e9430c
* commit '
1992e9430c82cc0d3f1b1fbb66749934a7482e8d':
Return the transform to apply in getLastQueuedBuffer
Change-Id: I93be20b7f0debb41c8f21725ed98fa863916cd32
John Reck [Fri, 29 Apr 2016 14:57:14 +0000 (14:57 +0000)]
Merge "Don\'t flatten nullptrs" into nyc-dev
am:
55e5cc0ea2
* commit '
55e5cc0ea20f1cbfe71b76b3d3975dc02e061f4c':
Don't flatten nullptrs
Change-Id: Iec33d48b249219e4db7fa9107e030837c7f93fc3
John Reck [Fri, 29 Apr 2016 14:49:15 +0000 (14:49 +0000)]
Merge "Return the transform to apply in getLastQueuedBuffer" into nyc-dev
John Reck [Fri, 29 Apr 2016 14:49:09 +0000 (14:49 +0000)]
Merge "Don't flatten nullptrs" into nyc-dev
Chia-I Wu [Thu, 14 Apr 2016 03:55:51 +0000 (11:55 +0800)]
vulkan: deprecate device layers
Allow instance layers to intercept all commands and enumerate device
extensions. Ignore application device layers. Enumerate all enabled
instance layers in vkEnumerateDeviceLayerProperties.
Bug:
27911856
Change-Id: I6e89439ab10835dd1a43732c2333a92201e52550
Hangyu Kuang [Fri, 29 Apr 2016 01:05:59 +0000 (01:05 +0000)]
Merge "media: Add missing dobly-vision profile." into nyc-dev
am:
99c68bbfa3
* commit '
99c68bbfa3bd3f323d070992c3a8da0b5b57762b':
media: Add missing dobly-vision profile.
Change-Id: Ica6c5e7845ab35abe263a34171583847ae85a2a8
Hangyu Kuang [Fri, 29 Apr 2016 00:58:18 +0000 (00:58 +0000)]
Merge "media: Add missing dobly-vision profile." into nyc-dev
Dan Stoza [Thu, 28 Apr 2016 23:29:06 +0000 (16:29 -0700)]
SF: Clear local sync points on hide and destroy
Clears out a Layer's local sync points when the layer is destroyed
and when it is hidden, so that any Layers waiting for frames to
appear on that Layer are not blocked when attempting to apply
transactions
Bug:
28399096
Change-Id: I380a83624f9d7ea5797f66daa711ae4b80475bdf
John Reck [Thu, 28 Apr 2016 20:18:15 +0000 (13:18 -0700)]
Return the transform to apply in getLastQueuedBuffer
Bug:
28428955
Change-Id: Id48f7d3bf3f5deb074cf0a6a52a41caac875db41
Hangyu Kuang [Thu, 28 Apr 2016 18:46:30 +0000 (18:46 +0000)]
Merge "media: Change VP9 ProfileLevel to start from 0x1." into nyc-dev
am:
32a6129
* commit '
32a6129e4132c96bebc7034498ab093540123f7f':
media: Change VP9 ProfileLevel to start from 0x1.
Change-Id: I95a23bd4ea46428a80c3ea23d33e323287ae22ba
Hangyu Kuang [Thu, 28 Apr 2016 18:32:56 +0000 (18:32 +0000)]
Merge "media: Change VP9 ProfileLevel to start from 0x1." into nyc-dev
Hangyu Kuang [Thu, 28 Apr 2016 17:54:04 +0000 (10:54 -0700)]
media: Add missing dobly-vision profile.
Bug:
28411120
Change-Id: Icd72dd1ede99e64b77f6b27f61d37a75130669cf
John Reck [Thu, 28 Apr 2016 17:12:47 +0000 (10:12 -0700)]
Don't flatten nullptrs
Bug:
28428970
BufferQueueProducer can return a nullptr for
the GraphicBuffer if there's nothing queued, which
IGraphicBufferProducer would attempt to flatten.
It's useful to distinguish that there's nothing queued
instead of just generic error, so fix IGraphicBufferProducer
to handle null GraphicBuffers.
Change-Id: I9e2b11e107e093d209a89a01d14feec3e885f268
Chia-I Wu [Wed, 27 Apr 2016 03:57:53 +0000 (11:57 +0800)]
vulkan: detect errors in VkEnumerate*ExtensionProperties
Return VK_ERROR_LAYER_NOT_PRESENT when the layer is not available.
Change-Id: I9d9aafe6e40c2ca49e58bc7c70114d0f11de2f81
Chia-I Wu [Wed, 27 Apr 2016 23:15:51 +0000 (07:15 +0800)]
vulkan: do not distinguish instance or device LayerRef
Merge Get*LayerRef into GetLayerRef and remove LayerRef::is_instance_.
With the removal, LayerRef::SupportsExtension becomes ambiguous. Replace
it with FindLayer*Extension. Remove unused LayerRef::GetName and
LayerRef::GetSpecName while at it.
There should be no user-visible change.
Bug:
27911856
Change-Id: I38340654b52338e9ed46d1c4462a6b254b0cab64
Chia-I Wu [Wed, 27 Apr 2016 23:39:32 +0000 (07:39 +0800)]
vulkan: make Get*LayerRef take a Layer
The only user-visible change should be improved error messages.
Bug:
27911856
Change-Id: Ie50a9d37f07b590026176642f2c67270225f9280
Chia-I Wu [Wed, 27 Apr 2016 01:54:02 +0000 (09:54 +0800)]
vulkan: refactor layer extension enumeration
Replace Get*LayerExtensions by a set of new functions that do not
distinguish instance and device layers.
There should be no user-visible change.
Bug:
27911856
Change-Id: Icd98abf51a936769f8f2f218794043b5e2611c5c
Chia-I Wu [Wed, 27 Apr 2016 22:36:09 +0000 (06:36 +0800)]
vulkan: refactor layer enumeration
Replace Enumerate*Layers by a set of new functions that do not distinguish
instance and device layers. The new functions are also careful not to
pollute the rest of the loader with std containers.
There should be no user-visible change.
Bug:
27911856
Change-Id: I4790fadc1aa2ea934a4628bce55dd45892f15e0b
Felipe Leme [Thu, 28 Apr 2016 00:22:43 +0000 (00:22 +0000)]
Merge "Remove temporary file on user builds." into nyc-dev
am:
d97e99f
* commit '
d97e99f7d4665530a699bb72ee694174cb938536':
Remove temporary file on user builds.
Change-Id: Icbac8cf099e5064fa287348dca3ed4fb2686c928
TreeHugger Robot [Thu, 28 Apr 2016 00:11:43 +0000 (00:11 +0000)]
Merge "Remove temporary file on user builds." into nyc-dev
Felipe Leme [Thu, 21 Apr 2016 22:42:55 +0000 (15:42 -0700)]
Remove temporary file on user builds.
BUG:
27366368
Change-Id: Id85566f6ba02fcb6afc122ffe6990d0a14086375
Christopher Ferris [Wed, 27 Apr 2016 20:23:44 +0000 (20:23 +0000)]
Merge "Fix use of invalid iterator." into nyc-dev
am:
44e9c02
* commit '
44e9c027958ef5d7f8c8a06137ff9832b43114fb':
Fix use of invalid iterator.
Change-Id: Ib49709f22ef73f29463ec2bb115ccb794c683db5
Christopher Ferris [Wed, 27 Apr 2016 20:11:26 +0000 (20:11 +0000)]
Merge "Fix use of invalid iterator." into nyc-dev
Jeff Hao [Wed, 27 Apr 2016 20:04:09 +0000 (20:04 +0000)]
Merge "Support to pass <uses-library> option through to dex2oat." into nyc-dev
am:
8335fa3
* commit '
8335fa3f500addd8804869388fd91d776aa56188':
Support to pass <uses-library> option through to dex2oat.
Change-Id: Ie07395b118042904ec2555e230a08758a9f239af
Peng Xu [Wed, 27 Apr 2016 19:55:26 +0000 (19:55 +0000)]
Merge "Fix sensor uuid, retrofit recent event logger" into nyc-dev
am:
cf43c26
* commit '
cf43c2654da64f12d0803c66dd75525b3f1ab09f':
Fix sensor uuid, retrofit recent event logger
Change-Id: I2f9346baa1d208955e6ec8714f9990b92250e4e5
Jeff Hao [Wed, 27 Apr 2016 19:54:02 +0000 (19:54 +0000)]
Merge "Support to pass <uses-library> option through to dex2oat." into nyc-dev
Peng Xu [Wed, 27 Apr 2016 19:37:57 +0000 (19:37 +0000)]
Merge "Fix sensor uuid, retrofit recent event logger" into nyc-dev
Jeff Hao [Wed, 16 Mar 2016 22:59:25 +0000 (15:59 -0700)]
Support to pass <uses-library> option through to dex2oat.
This change takes an app's shared libraries specified by <uses-library>
and passes it through to dex2oat to be used during compilation.
Part of a multi-project change.
Includes fix from
c09662d9bbd35840b24cae8d336a0d11c0cbdb7b
Bug:
26880306
(cherry-picked from commmit
de7f0cf8a699f6f7a7d29b4a14d800bea9abbef4)
Change-Id: Ideb2aba46f4cf52acb9dd480993513a60dbfd6ce
Christopher Ferris [Tue, 26 Apr 2016 18:29:08 +0000 (11:29 -0700)]
Fix use of invalid iterator.
The code grabbed an iterator to a slot, but eventually does an erase
of the iterator. Unfortunately, the code then attempts to use this
invalid iterator which can introduce subtle crashes by putting a
garbage value on the free buffer list.
Bug:
28351886
Change-Id: I42a4431b182cee4de829f15fa4ddc175a3d141f7
Hangyu Kuang [Wed, 27 Apr 2016 00:01:29 +0000 (17:01 -0700)]
media: Change VP9 ProfileLevel to start from 0x1.
Bug:
28380207
Related to Bug:
25684127
Change-Id: I396a65991acc066ae05bc8b65a2e7ea787599f64
Chia-I Wu [Tue, 26 Apr 2016 23:46:55 +0000 (23:46 +0000)]
Merge changes I97efd6c9,I6460f8f0,Ic67e4290,I16214514,Ieaa4e463, ... into nyc-dev
am:
6cfb89c
* commit '
6cfb89c0bfe11c2ee513fe4df339ad753d4ad4ff':
vulkan: remove g_device_layers
vulkan: ignore device-only layers
vulkan: ignore layer libraries without instance layers
vulkan: add FindLayer helper
vulkan: constify LayerRef members
vulkan: make g_library_mutex per-LayerLibrary
vulkan: make LayerLibrary a class
vulkan: refactor GetLayerGetProcAddr
vulkan: refactor AddLayerLibrary
vulkan: refactor LayerRef::~LayerRef
vulkan: refactor GetLayerRef
vulkan: add a constructor for LayerLibrary
Change-Id: I1fe46cd50dbb8a62cf5202133b6a76f107b935fc
TreeHugger Robot [Tue, 26 Apr 2016 23:42:26 +0000 (23:42 +0000)]
Merge changes I97efd6c9,I6460f8f0,Ic67e4290,I16214514,Ieaa4e463, ... into nyc-dev
* changes:
vulkan: remove g_device_layers
vulkan: ignore device-only layers
vulkan: ignore layer libraries without instance layers
vulkan: add FindLayer helper
vulkan: constify LayerRef members
vulkan: make g_library_mutex per-LayerLibrary
vulkan: make LayerLibrary a class
vulkan: refactor GetLayerGetProcAddr
vulkan: refactor AddLayerLibrary
vulkan: refactor LayerRef::~LayerRef
vulkan: refactor GetLayerRef
vulkan: add a constructor for LayerLibrary
Marco Nelissen [Tue, 26 Apr 2016 15:44:09 +0000 (08:44 -0700)]
Correctly handle dup() failure in Parcel::readNativeHandle
bail out if dup() fails, instead of creating an invalid native_handle_t
Bug:
28395952
Change-Id: Ia1a6198c0f45165b9c6a55a803e5f64d8afa0572
Pablo Ceballos [Tue, 26 Apr 2016 14:01:39 +0000 (14:01 +0000)]
Merge "Revert "EGL: Ensure surfaces are disconnected when destroyed"" into nyc-dev
am:
5882a26
* commit '
5882a267d0bee5e9505fe4e714f50378f5ef70d0':
Revert "EGL: Ensure surfaces are disconnected when destroyed"
Change-Id: I1e97aacf8290d38fddd9bd7bebffdc0ed8a7d2ef
Pablo Ceballos [Tue, 26 Apr 2016 13:50:41 +0000 (13:50 +0000)]
Merge "Revert "EGL: Ensure surfaces are disconnected when destroyed"" into nyc-dev