OSDN Git Service

android-x86/frameworks-native.git
8 years agoOtapreopt: Fix patchoat delta parameter
Andreas Gampe [Tue, 1 Mar 2016 02:04:17 +0000 (18:04 -0800)]
Otapreopt: Fix patchoat delta parameter

Only give the delta, not the new base address.

Bug: 25612095
Change-Id: Ieeed5000da5e72477764fc92fe8fa016287d4cd8

8 years agolibvulkan: Check for negative in signed -> unsigned conversion
Jesse Hall [Mon, 29 Feb 2016 04:58:50 +0000 (20:58 -0800)]
libvulkan: Check for negative in signed -> unsigned conversion

Requested during security audit in bug 27118888.

Change-Id: Id82382258d2b6f8523b8af29f494dfc67100d190

8 years agolibvulkan: Enable integer sanitization
Jesse Hall [Mon, 29 Feb 2016 04:48:56 +0000 (20:48 -0800)]
libvulkan: Enable integer sanitization

This causes the compiler to add runtime checks for undefined (e.g.
shift by larger than bitwidth) or suspicious (e.g. unsigned integer
overflow) operations. The process will abort if they occur.

In particular, we do many allocations of the form pfnAllocation(n *
sizeof(T)); if 'n' is large these will overflow and we'll allocate
less memory than expected, possibly leading to exploitable buffer
overruns.

Requested during security audit in bug 27118888.

Change-Id: Id81c94595579df034b948a40270f164e38635070

8 years agoMerge "Rename .zip file if necessary." into nyc-dev
Felipe Leme [Fri, 26 Feb 2016 23:40:30 +0000 (23:40 +0000)]
Merge "Rename .zip file if necessary." into nyc-dev

8 years agoRename .zip file if necessary.
Felipe Leme [Fri, 26 Feb 2016 23:03:52 +0000 (15:03 -0800)]
Rename .zip file if necessary.

Users have the option to rename the suffix of the files generated by
dumpstate by letting Shell set the dumpstate.PID.name property.

This works fine for text files and used to work for zip files as well,
but now the zip file is opened earlier in the process, so it has to be
renamed at the end.

BUG: 27384407
Change-Id: I288d8eb4a3ffe0161b86cdce14f63e9bfdf865ab

8 years agoMerge "Refresh the native app ops manager's token if needed." into nyc-dev
Svetoslav Ganov [Fri, 26 Feb 2016 20:29:58 +0000 (20:29 +0000)]
Merge "Refresh the native app ops manager's token if needed." into nyc-dev

8 years agoRefresh the native app ops manager's token if needed.
Svet Ganov [Fri, 26 Feb 2016 20:13:04 +0000 (12:13 -0800)]
Refresh the native app ops manager's token if needed.

The app ops manager serivce keeps track of started app ops
by a process by stashing them in a binder object that is
passed to the remote process to hold on to. Hence, the data
is in the system process and is referenced by the client
process it tracks to prevent garbage collaction and limit
risk of resource leaks. It is possible that the client
process is longer lived than the system seriver, e.g. camera
server starts an app op, the system server dies for some
reason, the camera server's app ops manager ends up with
a stale token. The solution is to check the validity of the
token and refresh it if needed.

bug:27344593

Change-Id: I0abb39e777b7b66b1b5cefede7e7b41c4404c4b1

8 years agoMerge "Add Vulkan feature definitions" into nyc-dev
Jesse Hall [Fri, 26 Feb 2016 00:19:08 +0000 (00:19 +0000)]
Merge "Add Vulkan feature definitions" into nyc-dev

8 years agoAdd Vulkan feature definitions
Jesse Hall [Thu, 25 Feb 2016 11:23:13 +0000 (03:23 -0800)]
Add Vulkan feature definitions

Bug: 26583896
Change-Id: I4d1e8b017f478fd79a5075057aeaccbeb1086a2a

8 years agoMoved final vibration to the end of the process.
Felipe Leme [Thu, 25 Feb 2016 22:02:44 +0000 (14:02 -0800)]
Moved final vibration to the end of the process.

BUG: 26347468
Change-Id: I872d9175fd09b47da512cb2da11a533a921d9a5c

8 years agoMerge "Add glReadPixels with buffer-offset argument" into nyc-dev
Pablo Ceballos [Thu, 25 Feb 2016 18:54:17 +0000 (18:54 +0000)]
Merge "Add glReadPixels with buffer-offset argument" into nyc-dev

8 years agoMerge "SF: check secure layers in screenshot message handler" into nyc-dev
Pablo Ceballos [Thu, 25 Feb 2016 18:52:06 +0000 (18:52 +0000)]
Merge "SF: check secure layers in screenshot message handler" into nyc-dev

8 years agoSF: check secure layers in screenshot message handler
Pablo Ceballos [Tue, 23 Feb 2016 19:18:51 +0000 (11:18 -0800)]
SF: check secure layers in screenshot message handler

- Instead of checking for the presence of secure layers on the Binder
  thread, check in the message handler. Transactions may have occurred
  in between when the check is done and when the screen shot message
  is handled.

Bug 23757877

Change-Id: Iec74193996ca72c60f86f7c0f0b2a5dea8d19543

8 years agovulkan: Update to vulkan.h 1.0.3
Jesse Hall [Thu, 25 Feb 2016 12:19:32 +0000 (04:19 -0800)]
vulkan: Update to vulkan.h 1.0.3

Change-Id: Ic607533768989aa65e41b9b0e459d7af170ab180

8 years agovkinfo: Provide VkApplicationInfo
Jesse Hall [Thu, 25 Feb 2016 00:44:42 +0000 (16:44 -0800)]
vkinfo: Provide VkApplicationInfo

This is supposed to be optional, but the N6P/N5X driver currently
requires it.

Change-Id: Ib90962a595052cd829b4967dce4b5a6740173a96

8 years agoMerge changes I385a363d,I99129b49 into nyc-dev
Jesse Hall [Thu, 25 Feb 2016 08:59:06 +0000 (08:59 +0000)]
Merge changes I385a363d,I99129b49 into nyc-dev

* changes:
  libvulkan: Set window transform based on swapchain preTransform
  libvulkan: Report current and supported transforms accurately

8 years agolibvulkan: Set window transform based on swapchain preTransform
Jesse Hall [Wed, 24 Feb 2016 23:39:50 +0000 (15:39 -0800)]
libvulkan: Set window transform based on swapchain preTransform

Bug: 26927663
Change-Id: I385a363dccbeae2329d25712d30dc629fdce2074

8 years agolibvulkan: Report current and supported transforms accurately
Jesse Hall [Wed, 24 Feb 2016 00:43:29 +0000 (16:43 -0800)]
libvulkan: Report current and supported transforms accurately

Bug: 26927663
Change-Id: I99129b49e2be6f6dd501813185edc67f10b976bf

8 years agoMerge "Improved dumpstate logging." into nyc-dev
Felipe Leme [Wed, 24 Feb 2016 22:21:40 +0000 (22:21 +0000)]
Merge "Improved dumpstate logging." into nyc-dev

8 years agoMerge "emulator: load vendor specific egl libraries first" into nyc-dev
Bo Hu [Tue, 23 Feb 2016 21:46:31 +0000 (21:46 +0000)]
Merge "emulator: load vendor specific egl libraries first" into nyc-dev

8 years agoemulator: load vendor specific egl libraries first
bohu [Sat, 20 Feb 2016 01:15:20 +0000 (17:15 -0800)]
emulator: load vendor specific egl libraries first

Unless emulator specifically asks for gpu emulation on the host
(with ro.kernel.qemu.gles set to 1), always try to load vendor
supplied egl libraries on the guest and fall back to software
renderer.

qemu.gles will be setup correctly to reflect what gles is actually
used.

Change-Id: Ibaf2209dd1e40fa9f18ff4df27bb137d7ad53007

8 years agoMerge changes I8cc3ce7d,Ie1a7bfd2,Id472ed4e into nyc-dev
Dan Stoza [Tue, 23 Feb 2016 19:47:56 +0000 (19:47 +0000)]
Merge changes I8cc3ce7d,Ie1a7bfd2,Id472ed4e into nyc-dev

* changes:
  libgui: Allow for pending releases in GLConsumer
  SF: HWC2 C++ shim
  SF: HWC2On1Adapter

8 years agoMerge "Send max duration when bugreport is finished so Shell can update metrics....
Felipe Leme [Tue, 23 Feb 2016 17:54:30 +0000 (17:54 +0000)]
Merge "Send max duration when bugreport is finished so Shell can update metrics." into nyc-dev

8 years agoSend max duration when bugreport is finished so Shell can update
Felipe Leme [Tue, 23 Feb 2016 02:12:11 +0000 (18:12 -0800)]
Send max duration when bugreport is finished so Shell can update
metrics.

BUG: 26759986
Change-Id: If599bfb2558c523e64fd6f176eeb494d3e116928

8 years agoDO NOT MERGE Add SN logging am: 24cd2b9627 am: ec7538a254 -s ours am: aaeceb2379...
Pablo Ceballos [Tue, 23 Feb 2016 01:44:12 +0000 (01:44 +0000)]
DO NOT MERGE Add SN logging am: 24cd2b9627 am: ec7538a254  -s ours am: aaeceb2379  -s ours am: 828f6f1489 am: ccc5d9a0f7  -s ours am: 62649e9134 am: a3def43d3c am: 80bf31c686
am: 18737dc9aa  -s ours

* commit '18737dc9aab0f84db50c81f2f245f500f98767dd':
  DO NOT MERGE Add SN logging

8 years agolibgui: Allow for pending releases in GLConsumer
Dan Stoza [Wed, 18 Nov 2015 01:00:45 +0000 (17:00 -0800)]
libgui: Allow for pending releases in GLConsumer

Adds the ability for GLConsumer to record a pending release instead of
releasing the buffer immediately. This will be used by SurfaceFlinger
to latch a new buffer without having to immediately release the old
one, since it needs to get a fence from HWC before releasing.

Change-Id: I8cc3ce7d5ff80e2ea4b4d681b028db042352d229

8 years agoSF: HWC2 C++ shim
Dan Stoza [Sat, 24 Oct 2015 00:03:17 +0000 (17:03 -0700)]
SF: HWC2 C++ shim

Provides an object-based C++ interface to the HWC 2.0 HAL

Change-Id: Ie1a7bfd2f6faa548bc45da845a4f50f1915b5806

8 years agoSF: HWC2On1Adapter
Dan Stoza [Fri, 25 Sep 2015 00:03:36 +0000 (17:03 -0700)]
SF: HWC2On1Adapter

This provides an adapter from HWC 2.0, which SurfaceFlinger will be
converted to speak, to HWC 1.x, which all current implementations
support. It requires at least HWC 1.1.

Change-Id: Id472ed4eef0f816403cdf2d40a56177cc7f65930

8 years agoDO NOT MERGE Add SN logging am: 24cd2b9627 am: ec7538a254 -s ours am: aaeceb2379...
Pablo Ceballos [Tue, 23 Feb 2016 01:37:24 +0000 (01:37 +0000)]
DO NOT MERGE Add SN logging am: 24cd2b9627 am: ec7538a254  -s ours am: aaeceb2379  -s ours am: 828f6f1489 am: ccc5d9a0f7  -s ours am: 62649e9134 am: a3def43d3c
am: 80bf31c686

* commit '80bf31c686f157e2f0d44545f229b342e62780b7':
  DO NOT MERGE Add SN logging

8 years agoDO NOT MERGE Add SN logging am: 24cd2b9627 am: ec7538a254 -s ours am: aaeceb2379...
Pablo Ceballos [Tue, 23 Feb 2016 01:31:05 +0000 (01:31 +0000)]
DO NOT MERGE Add SN logging am: 24cd2b9627 am: ec7538a254  -s ours am: aaeceb2379  -s ours am: 828f6f1489 am: ccc5d9a0f7  -s ours am: 62649e9134
am: a3def43d3c

* commit 'a3def43d3c98a17468c7cdb33777372746f07b5d':
  DO NOT MERGE Add SN logging

8 years agoAdd SN logging am: d46695bb66 am: e39a6e160d am: 5e0fa1d392 am: 5da66d4fca am: ea91df...
Pablo Ceballos [Tue, 23 Feb 2016 01:22:55 +0000 (01:22 +0000)]
Add SN logging am: d46695bb66 am: e39a6e160d am: 5e0fa1d392 am: 5da66d4fca am: ea91df0a24 am: f32db75e29
am: 804776a095

* commit '804776a095086816268d819ebeb7de2934afac1d':
  Add SN logging

8 years agoDO NOT MERGE Add SN logging am: 24cd2b9627 am: ec7538a254 -s ours am: aaeceb2379...
Pablo Ceballos [Tue, 23 Feb 2016 01:22:55 +0000 (01:22 +0000)]
DO NOT MERGE Add SN logging am: 24cd2b9627 am: ec7538a254  -s ours am: aaeceb2379  -s ours am: 828f6f1489 am: ccc5d9a0f7  -s ours
am: 62649e9134

* commit '62649e91348ea1a2988b04ad4d6a4bff880c5fec':
  DO NOT MERGE Add SN logging

8 years agoDO NOT MERGE Add SN logging am: 24cd2b9627 am: ec7538a254 -s ours am: aaeceb2379...
Pablo Ceballos [Tue, 23 Feb 2016 01:14:45 +0000 (01:14 +0000)]
DO NOT MERGE Add SN logging am: 24cd2b9627 am: ec7538a254  -s ours am: aaeceb2379  -s ours am: 828f6f1489
am: ccc5d9a0f7  -s ours

* commit 'ccc5d9a0f7c2d7e59c9374775ff0d12378d402c6':
  DO NOT MERGE Add SN logging

8 years agoAdd SN logging am: d46695bb66 am: e39a6e160d am: 5e0fa1d392 am: 5da66d4fca am: ea91df0a24
Pablo Ceballos [Tue, 23 Feb 2016 01:14:38 +0000 (01:14 +0000)]
Add SN logging am: d46695bb66 am: e39a6e160d am: 5e0fa1d392 am: 5da66d4fca am: ea91df0a24
am: f32db75e29

* commit 'f32db75e29da29d79889b874ad2a8f40ade0dfaf':
  Add SN logging

8 years agoAdd SN logging am: d46695bb66 am: e39a6e160d am: 5e0fa1d392 am: 5da66d4fca
Pablo Ceballos [Tue, 23 Feb 2016 01:08:48 +0000 (01:08 +0000)]
Add SN logging am: d46695bb66 am: e39a6e160d am: 5e0fa1d392 am: 5da66d4fca
am: ea91df0a24

* commit 'ea91df0a249368d058d409e6d125ebfcd9afa4ec':
  Add SN logging

8 years agoDO NOT MERGE Add SN logging am: 24cd2b9627 am: ec7538a254 -s ours am: aaeceb2379...
Pablo Ceballos [Tue, 23 Feb 2016 01:08:33 +0000 (01:08 +0000)]
DO NOT MERGE Add SN logging am: 24cd2b9627 am: ec7538a254  -s ours am: aaeceb2379  -s ours
am: 828f6f1489

* commit '828f6f1489f546da0ebccd929dd3b819f9d45efd':
  DO NOT MERGE Add SN logging

8 years agoAdd SN logging am: d46695bb66 am: e39a6e160d am: 5e0fa1d392
Pablo Ceballos [Tue, 23 Feb 2016 01:01:52 +0000 (01:01 +0000)]
Add SN logging am: d46695bb66 am: e39a6e160d am: 5e0fa1d392
am: 5da66d4fca

* commit '5da66d4fca1b95ffe45883e637cbcbb693ea6cf4':
  Add SN logging

8 years agoAdd SN logging am: d46695bb66 am: e39a6e160d
Pablo Ceballos [Tue, 23 Feb 2016 00:54:18 +0000 (00:54 +0000)]
Add SN logging am: d46695bb66 am: e39a6e160d
am: 5e0fa1d392

* commit '5e0fa1d39283de9e41df9fccfee6a8f6102421cb':
  Add SN logging

8 years agoDO NOT MERGE Add SN logging am: 24cd2b9627 am: ec7538a254 -s ours
Pablo Ceballos [Tue, 23 Feb 2016 00:54:18 +0000 (00:54 +0000)]
DO NOT MERGE Add SN logging am: 24cd2b9627 am: ec7538a254  -s ours
am: aaeceb2379  -s ours

* commit 'aaeceb2379957791f7a78b441c23c55535a7ba43':
  DO NOT MERGE Add SN logging

8 years agoAdd SN logging am: d46695bb66
Pablo Ceballos [Tue, 23 Feb 2016 00:47:33 +0000 (00:47 +0000)]
Add SN logging am: d46695bb66
am: e39a6e160d

* commit 'e39a6e160d4dcf16531c2afe3364e639be58a2f7':
  Add SN logging

8 years agoDO NOT MERGE Add SN logging am: 24cd2b9627
Pablo Ceballos [Tue, 23 Feb 2016 00:40:58 +0000 (00:40 +0000)]
DO NOT MERGE Add SN logging am: 24cd2b9627
am: ec7538a254  -s ours

* commit 'ec7538a254f283afc7b046aa8ca2fe908d4e3b0c':
  DO NOT MERGE Add SN logging

8 years agoAdd SN logging
Pablo Ceballos [Tue, 23 Feb 2016 00:34:17 +0000 (00:34 +0000)]
Add SN logging
am: d46695bb66

* commit 'd46695bb661ee294a0778e403044cd910c233ec1':
  Add SN logging

8 years agoDO NOT MERGE Add SN logging
Pablo Ceballos [Tue, 23 Feb 2016 00:34:17 +0000 (00:34 +0000)]
DO NOT MERGE Add SN logging
am: 24cd2b9627

* commit '24cd2b96279ac29b936ba09ed708b1bcb922d04c':
  DO NOT MERGE Add SN logging

8 years agoMerge "dumpstate: Remove deprecated /proc/wakelocks" into nyc-dev
Ruchi Kandoi [Mon, 22 Feb 2016 21:24:05 +0000 (21:24 +0000)]
Merge "dumpstate: Remove deprecated /proc/wakelocks" into nyc-dev

8 years agoMerge "Remove unused native binder impl." into nyc-dev
Ruben Brunk [Mon, 22 Feb 2016 21:22:39 +0000 (21:22 +0000)]
Merge "Remove unused native binder impl." into nyc-dev

8 years agodumpstate: Remove deprecated /proc/wakelocks
Ruchi Kandoi [Mon, 22 Feb 2016 21:09:50 +0000 (13:09 -0800)]
dumpstate: Remove deprecated /proc/wakelocks

Bug: 13930710
Change-Id: I64733a6093ca227aaee29fc58288a964b7b6b7f9
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
8 years agovkinfo: Only print supported features by default
Jesse Hall [Tue, 9 Feb 2016 05:22:23 +0000 (21:22 -0800)]
vkinfo: Only print supported features by default

Printing all features with YES/NO tags is available with -v or
-unsupported_features.

Change-Id: I1ad1a024fa306a6b2a0c57f17913be2639101071

8 years agoAdd glReadPixels with buffer-offset argument
Pablo Ceballos [Mon, 22 Feb 2016 19:47:56 +0000 (11:47 -0800)]
Add glReadPixels with buffer-offset argument

- For reading into PBOs on GLES3, add an overloaded version of
  glReadPixels that takes an offset argument.

Bug 18878609

Change-Id: Ide9beca7b241a9f8a016e8ae17082bd0ba21246a

8 years agoImproved dumpstate logging.
Felipe Leme [Mon, 22 Feb 2016 19:06:49 +0000 (11:06 -0800)]
Improved dumpstate logging.

BUG: 26906985
Change-Id: Id439560504a365961337fddcca4ba6c1ef9f377d

8 years agoMerge "Fix compiler warnings in sensorservice." into nyc-dev
Aurimas Liutikas [Mon, 22 Feb 2016 18:38:25 +0000 (18:38 +0000)]
Merge "Fix compiler warnings in sensorservice." into nyc-dev

8 years agoMerge "Add a callback thread to ConsumerBase" into nyc-dev
Pablo Ceballos [Mon, 22 Feb 2016 18:13:30 +0000 (18:13 +0000)]
Merge "Add a callback thread to ConsumerBase" into nyc-dev

8 years agoMerge "Extract profile files in their dedicated folder" into nyc-dev
Calin Juravle [Mon, 22 Feb 2016 11:41:59 +0000 (11:41 +0000)]
Merge "Extract profile files in their dedicated folder" into nyc-dev

8 years agoMerge "vulkan/vkinfo: enable layers when -validate is specified" into nyc-dev
Chia-I Wu [Mon, 22 Feb 2016 04:48:32 +0000 (04:48 +0000)]
Merge "vulkan/vkinfo: enable layers when -validate is specified" into nyc-dev

8 years agovulkan/vkinfo: enable layers when -validate is specified
Chia-I Wu [Mon, 22 Feb 2016 03:41:27 +0000 (11:41 +0800)]
vulkan/vkinfo: enable layers when -validate is specified

Enable layers when -validate is given, instead of unconditionally.  This
is a regression fix since vkinfo fails with

  vkCreateInstance failed: VK_ERROR_LAYER_NOT_PRESENT (-6)

since commit b1e7d59.

Change-Id: I42bfc474239896416e26ebf1b18cc65c9c045610

8 years agoDO NOT MERGE Add SN logging
Pablo Ceballos [Sat, 20 Feb 2016 19:30:43 +0000 (11:30 -0800)]
DO NOT MERGE Add SN logging

Bug 27046057

Change-Id: I942876c09fdbe841c19807e463f5426287e07803

8 years agoAdd SN logging
Pablo Ceballos [Sat, 20 Feb 2016 19:26:13 +0000 (11:26 -0800)]
Add SN logging

Bug 27046057

Change-Id: Iede7c92e59e60795df1ec7768ebafd6b090f1c27

8 years agoMerge "Add interface for controlling single buffer auto refresh" into nyc-dev
Pablo Ceballos [Sat, 20 Feb 2016 18:22:29 +0000 (18:22 +0000)]
Merge "Add interface for controlling single buffer auto refresh" into nyc-dev

8 years agoAdd a callback thread to ConsumerBase
Pablo Ceballos [Sat, 20 Feb 2016 01:41:54 +0000 (17:41 -0800)]
Add a callback thread to ConsumerBase

- Add a message queue and callback thread in ConsumerBase.
- This is used to prevent deadlocks when ConsumerBase calls into
  BufferQueueConsumer and that generates a callback.

Bug 27229287

Change-Id: I45c41e5a554555511fcfa5c185a7d60b0d969b7e

8 years agoMerge "DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump" into klp...
Pablo Ceballos [Sat, 20 Feb 2016 00:59:54 +0000 (00:59 +0000)]
Merge "DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump" into klp-dev am: c232606413 am: 1d0e811e5a  -s ours am: 8b6dea4fa8  -s ours am: 84cd1a325d am: 31b8553cee  -s ours am: 5fe5b47563 am: c6e289a359 am: 15c5c3e6ed
am: ba2d7d4eda  -s ours

* commit 'ba2d7d4eda715453341bc2116cfcb6ac25990c8e':
  DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump

8 years agoMerge "DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump" into klp...
Pablo Ceballos [Sat, 20 Feb 2016 00:46:48 +0000 (00:46 +0000)]
Merge "DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump" into klp-dev am: c232606413 am: 1d0e811e5a  -s ours am: 8b6dea4fa8  -s ours am: 84cd1a325d am: 31b8553cee  -s ours am: 5fe5b47563 am: c6e289a359
am: 15c5c3e6ed

* commit '15c5c3e6ed6dc11bfe3bd7d7a0e4436cc37d5632':
  DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump

8 years agoMerge "DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump" into klp...
Pablo Ceballos [Sat, 20 Feb 2016 00:40:22 +0000 (00:40 +0000)]
Merge "DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump" into klp-dev am: c232606413 am: 1d0e811e5a  -s ours am: 8b6dea4fa8  -s ours am: 84cd1a325d am: 31b8553cee  -s ours am: 5fe5b47563
am: c6e289a359

* commit 'c6e289a359df83b122933688a296a4dde37cb674':
  DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump

8 years agoMerge "DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump" into klp...
Pablo Ceballos [Sat, 20 Feb 2016 00:34:00 +0000 (00:34 +0000)]
Merge "DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump" into klp-dev am: c232606413 am: 1d0e811e5a  -s ours am: 8b6dea4fa8  -s ours am: 84cd1a325d am: 31b8553cee  -s ours
am: 5fe5b47563

* commit '5fe5b4756383ac1fc858ed00970589a00fb7fe85':
  DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump

8 years agoMerge "BQ: Add permission check to BufferQueueConsumer::dump" into lmp-dev am: 793be1...
Pablo Ceballos [Sat, 20 Feb 2016 00:33:59 +0000 (00:33 +0000)]
Merge "BQ: Add permission check to BufferQueueConsumer::dump" into lmp-dev am: 793be16dd3 am: 7e83de0114 am: f419ec1bfb am: 8b640e6403 am: 5d2c73e7dc am: 724f7954db
am: 82b9819d93

* commit '82b9819d930c48124812c1a499a91218305a5d14':
  BQ: Add permission check to BufferQueueConsumer::dump

8 years agoMerge "BQ: Add permission check to BufferQueueConsumer::dump" into lmp-dev am: 793be1...
Pablo Ceballos [Sat, 20 Feb 2016 00:28:14 +0000 (00:28 +0000)]
Merge "BQ: Add permission check to BufferQueueConsumer::dump" into lmp-dev am: 793be16dd3 am: 7e83de0114 am: f419ec1bfb am: 8b640e6403 am: 5d2c73e7dc
am: 724f7954db

* commit '724f7954dba26a23a36c7832b37ea722987c3491':
  BQ: Add permission check to BufferQueueConsumer::dump

8 years agoMerge "DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump" into klp...
Pablo Ceballos [Sat, 20 Feb 2016 00:28:10 +0000 (00:28 +0000)]
Merge "DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump" into klp-dev am: c232606413 am: 1d0e811e5a  -s ours am: 8b6dea4fa8  -s ours am: 84cd1a325d
am: 31b8553cee  -s ours

* commit '31b8553ceece9a4e3130510b484163e10c4fc588':
  DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump

8 years agoMerge "BQ: Add permission check to BufferQueueConsumer::dump" into lmp-dev am: 793be1...
Pablo Ceballos [Sat, 20 Feb 2016 00:23:04 +0000 (00:23 +0000)]
Merge "BQ: Add permission check to BufferQueueConsumer::dump" into lmp-dev am: 793be16dd3 am: 7e83de0114 am: f419ec1bfb am: 8b640e6403
am: 5d2c73e7dc

* commit '5d2c73e7dc9d4d23a76ca92c0170233e897fe55c':
  BQ: Add permission check to BufferQueueConsumer::dump

8 years agoMerge "DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump" into klp...
Pablo Ceballos [Sat, 20 Feb 2016 00:22:58 +0000 (00:22 +0000)]
Merge "DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump" into klp-dev am: c232606413 am: 1d0e811e5a  -s ours am: 8b6dea4fa8  -s ours
am: 84cd1a325d

* commit '84cd1a325d4e1ff1bdec09137b13a7c925b267f8':
  DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump

8 years agoMerge "BQ: Add permission check to BufferQueueConsumer::dump" into lmp-dev am: 793be1...
Pablo Ceballos [Sat, 20 Feb 2016 00:17:09 +0000 (00:17 +0000)]
Merge "BQ: Add permission check to BufferQueueConsumer::dump" into lmp-dev am: 793be16dd3 am: 7e83de0114 am: f419ec1bfb
am: 8b640e6403

* commit '8b640e6403de9dd328b2605c9f21b62d1d31e7d6':
  BQ: Add permission check to BufferQueueConsumer::dump

8 years agoMerge "DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump" into klp...
Pablo Ceballos [Sat, 20 Feb 2016 00:11:58 +0000 (00:11 +0000)]
Merge "DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump" into klp-dev am: c232606413 am: 1d0e811e5a  -s ours
am: 8b6dea4fa8  -s ours

* commit '8b6dea4fa88e967c221821e03f88b8f42585869e':
  DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump

8 years agoMerge "BQ: Add permission check to BufferQueueConsumer::dump" into lmp-dev am: 793be1...
Pablo Ceballos [Sat, 20 Feb 2016 00:11:58 +0000 (00:11 +0000)]
Merge "BQ: Add permission check to BufferQueueConsumer::dump" into lmp-dev am: 793be16dd3 am: 7e83de0114
am: f419ec1bfb

* commit 'f419ec1bfb969f1add4c90b5b188041968f5f227':
  BQ: Add permission check to BufferQueueConsumer::dump

8 years agoMerge "BQ: Add permission check to BufferQueueConsumer::dump" into lmp-dev am: 793be16dd3
Pablo Ceballos [Sat, 20 Feb 2016 00:06:10 +0000 (00:06 +0000)]
Merge "BQ: Add permission check to BufferQueueConsumer::dump" into lmp-dev am: 793be16dd3
am: 7e83de0114

* commit '7e83de0114538b006b4299fd608983ecd61b6422':
  BQ: Add permission check to BufferQueueConsumer::dump

8 years agoMerge "DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump" into klp...
Pablo Ceballos [Sat, 20 Feb 2016 00:00:50 +0000 (00:00 +0000)]
Merge "DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump" into klp-dev am: c232606413
am: 1d0e811e5a  -s ours

* commit '1d0e811e5ac853669fe96370e499428049a5b7ee':
  DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump

8 years agoMerge "DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump" into klp-dev
Pablo Ceballos [Fri, 19 Feb 2016 23:54:34 +0000 (23:54 +0000)]
Merge "DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump" into klp-dev
am: c232606413

* commit 'c2326064136adb834d12c3fed47af5d66cd42c15':
  DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump

8 years agoMerge "BQ: Add permission check to BufferQueueConsumer::dump" into lmp-dev
Pablo Ceballos [Fri, 19 Feb 2016 23:54:33 +0000 (23:54 +0000)]
Merge "BQ: Add permission check to BufferQueueConsumer::dump" into lmp-dev
am: 793be16dd3

* commit '793be16dd31661e0e95915caa6fc99afc4acc3f6':
  BQ: Add permission check to BufferQueueConsumer::dump

8 years agoMerge "BQ: Add permission check to BufferQueueConsumer::dump" into lmp-dev
Pablo Ceballos [Fri, 19 Feb 2016 23:39:53 +0000 (23:39 +0000)]
Merge "BQ: Add permission check to BufferQueueConsumer::dump" into lmp-dev

8 years agoMerge "DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump" into klp-dev
Pablo Ceballos [Fri, 19 Feb 2016 23:39:36 +0000 (23:39 +0000)]
Merge "DO NOT MERGE BQ: Add permission check to BufferQueueConsumer::dump" into klp-dev

8 years agoFix compiler warnings in sensorservice.
Aurimas Liutikas [Fri, 19 Feb 2016 22:08:07 +0000 (14:08 -0800)]
Fix compiler warnings in sensorservice.

Bug: 26936282
Change-Id: Ibd43b3c2aaa32cb77b610ca9e1537e5db8827c87

8 years agoExtract profile files in their dedicated folder
Calin Juravle [Mon, 1 Feb 2016 12:12:16 +0000 (12:12 +0000)]
Extract profile files in their dedicated folder

Current profiles (the ones which have not been used for
compilation) are stored in /data/misc/profiles/cur/0/pkgname/.

Reference profiles (the merged of all user profiles, used for
compilation) are stored in /data/misc/profiles/ref/pkgname.

The profile analysis flow has been changed to use profman
before calling dex2oat. profman decides if there is a need
for compilation and does the merging.

Bug: 26719109
Bug: 26563023
Bug: 26881016

Change-Id: I5a86ed5fd07a28e2e580f9c108428527ba7993b6

8 years agoMerge "Revert "Revert "Fix warnings in servicemanager and KeyCharacterMap""" into...
Ian Pedowitz [Fri, 19 Feb 2016 08:34:54 +0000 (08:34 +0000)]
Merge "Revert "Revert "Fix warnings in servicemanager and KeyCharacterMap""" into nyc-dev

8 years agoRevert "Revert "Fix warnings in servicemanager and KeyCharacterMap""
Ian Pedowitz [Fri, 19 Feb 2016 08:34:43 +0000 (08:34 +0000)]
Revert "Revert "Fix warnings in servicemanager and KeyCharacterMap""

This reverts commit b480269b0f8e933fa6fc6bd4c9e1e504e1b51508.

Change-Id: If405c0786c5bdd02e3f2c3356d56a4200c6b9dfb

8 years agoMerge "Revert "Fix warnings in servicemanager and KeyCharacterMap"" into nyc-dev
Ian Pedowitz [Fri, 19 Feb 2016 08:33:44 +0000 (08:33 +0000)]
Merge "Revert "Fix warnings in servicemanager and KeyCharacterMap"" into nyc-dev

8 years agoRevert "Fix warnings in servicemanager and KeyCharacterMap"
Ian Pedowitz [Fri, 19 Feb 2016 08:33:18 +0000 (08:33 +0000)]
Revert "Fix warnings in servicemanager and KeyCharacterMap"

This reverts commit d3b4c050f6bcdfd44bfb9c8ed885fd1c482c50bb.

Change-Id: I961f89d4446ac23f0e267c6541b504c4ec6b3af1

8 years agoFix checkbuild
Colin Cross [Fri, 19 Feb 2016 07:41:15 +0000 (23:41 -0800)]
Fix checkbuild

Fix build breakage introduced by
I2e2acb15d1bc05c6ba09563a87d5baceebe7ebd9

Bug: 26936282
Change-Id: I944d758afd4d026a2d30b6816d88356a97ca70a5

8 years agoMerge "Fix warnings in servicemanager and KeyCharacterMap" into nyc-dev
Aurimas Liutikas [Fri, 19 Feb 2016 05:30:16 +0000 (05:30 +0000)]
Merge "Fix warnings in servicemanager and KeyCharacterMap" into nyc-dev

8 years agoFix warnings in servicemanager and KeyCharacterMap
Aurimas Liutikas [Fri, 19 Feb 2016 01:48:22 +0000 (17:48 -0800)]
Fix warnings in servicemanager and KeyCharacterMap

- Suppress unused parameter warnings.
- Remove a few unused parameters.
- Set the correct formatting for size_t log.

Bug: 26936282
Change-Id: I2e2acb15d1bc05c6ba09563a87d5baceebe7ebd9

8 years agoMerge "Partial revert of "Fix Surface slot caching"" into nyc-dev
Pablo Ceballos [Thu, 18 Feb 2016 22:09:39 +0000 (22:09 +0000)]
Merge "Partial revert of "Fix Surface slot caching"" into nyc-dev

8 years agoPartial revert of "Fix Surface slot caching"
Pablo Ceballos [Thu, 18 Feb 2016 20:54:37 +0000 (12:54 -0800)]
Partial revert of "Fix Surface slot caching"

- Partially reverts commit 789a0c82cb370d6b82f401cc130af58c85802cbf.
- Leaves the fix in Surface, but reverts all changes to the
  Producer/Consumer listeners.

Bug 27246023
Bug 27229287

Change-Id: I9283f9e59e666b5ae44c0db25f99a80d05eea3ee

8 years agolibbinder: Allow readByteVector to take uint8_t
Casey Dahlin [Tue, 9 Feb 2016 19:08:35 +0000 (11:08 -0800)]
libbinder: Allow readByteVector to take uint8_t

Change-Id: I2f0d1f3b4c04f04e7a866e9a4cf76c899b4b4980
Test: AIDL integration tests pass
Bug: 27078230

8 years agoFix -Wgnu-designator warnigns in cmds/flatland/Main.cpp
Aurimas Liutikas [Tue, 16 Feb 2016 18:42:52 +0000 (10:42 -0800)]
Fix -Wgnu-designator warnigns in cmds/flatland/Main.cpp

Cherry-pick of https://android-review.googlesource.com/#/c/202956/

Bug: http://b/27068438
Change-Id: I83c56d8a0d19f6c86380b42b024331b5c262860a

8 years agoMerge "vulkan: remove patches for other projects" into nyc-dev
Chia-I Wu [Thu, 18 Feb 2016 05:00:46 +0000 (05:00 +0000)]
Merge "vulkan: remove patches for other projects" into nyc-dev

8 years agoRemove unused native binder impl.
Ruben Brunk [Thu, 18 Feb 2016 04:46:53 +0000 (20:46 -0800)]
Remove unused native binder impl.

Bug: 27073437
Change-Id: I65eca22cc42164715610e461d2e390decab202f9

8 years agoSanity check IMemory access versus underlying mmap am: 94b0d4e3ab am: ef6908e2b3...
Christopher Tate [Wed, 17 Feb 2016 19:42:39 +0000 (19:42 +0000)]
Sanity check IMemory access versus underlying mmap am: 94b0d4e3ab am: ef6908e2b3 am: 97f49e50de am: 84f488f354 am: ebdad60d6b am: fc598c54d9 am: f9e5e80bc1 am: 15364d3ec0
am: 049c5df3e5

* commit '049c5df3e59a2d56c47deddc6ec20bf1eba4f50e':
  Sanity check IMemory access versus underlying mmap

8 years agoSanity check IMemory access versus underlying mmap am: 94b0d4e3ab am: ef6908e2b3...
Christopher Tate [Wed, 17 Feb 2016 19:35:38 +0000 (19:35 +0000)]
Sanity check IMemory access versus underlying mmap am: 94b0d4e3ab am: ef6908e2b3 am: 97f49e50de am: 84f488f354 am: ebdad60d6b am: fc598c54d9 am: f9e5e80bc1
am: 15364d3ec0

* commit '15364d3ec0fda521cd796fc28a2a8d6a68e2cf95':
  Sanity check IMemory access versus underlying mmap

8 years agoSanity check IMemory access versus underlying mmap am: 94b0d4e3ab am: ef6908e2b3...
Christopher Tate [Wed, 17 Feb 2016 19:29:18 +0000 (19:29 +0000)]
Sanity check IMemory access versus underlying mmap am: 94b0d4e3ab am: ef6908e2b3 am: 97f49e50de am: 84f488f354 am: ebdad60d6b am: fc598c54d9
am: f9e5e80bc1

* commit 'f9e5e80bc1fe9255fa65b7185514d86beee5952a':
  Sanity check IMemory access versus underlying mmap

8 years agoSanity check IMemory access versus underlying mmap am: 94b0d4e3ab am: ef6908e2b3...
Christopher Tate [Wed, 17 Feb 2016 19:23:03 +0000 (19:23 +0000)]
Sanity check IMemory access versus underlying mmap am: 94b0d4e3ab am: ef6908e2b3 am: 97f49e50de am: 84f488f354 am: ebdad60d6b
am: fc598c54d9

* commit 'fc598c54d945c48ade547a52a01e2e704df1618b':
  Sanity check IMemory access versus underlying mmap

8 years agoSanity check IMemory access versus underlying mmap am: 94b0d4e3ab am: ef6908e2b3...
Christopher Tate [Wed, 17 Feb 2016 19:16:19 +0000 (19:16 +0000)]
Sanity check IMemory access versus underlying mmap am: 94b0d4e3ab am: ef6908e2b3 am: 97f49e50de am: 84f488f354
am: ebdad60d6b

* commit 'ebdad60d6b0560493e50092c30888d3a7b5cc8c9':
  Sanity check IMemory access versus underlying mmap

8 years agoSanity check IMemory access versus underlying mmap am: 94b0d4e3ab am: ef6908e2b3...
Christopher Tate [Wed, 17 Feb 2016 19:10:12 +0000 (19:10 +0000)]
Sanity check IMemory access versus underlying mmap am: 94b0d4e3ab am: ef6908e2b3 am: 97f49e50de
am: 84f488f354

* commit '84f488f354c33a7ece30cb569c85cd91f0259066':
  Sanity check IMemory access versus underlying mmap

8 years agoSanity check IMemory access versus underlying mmap am: 94b0d4e3ab am: ef6908e2b3
Christopher Tate [Wed, 17 Feb 2016 18:57:42 +0000 (18:57 +0000)]
Sanity check IMemory access versus underlying mmap am: 94b0d4e3ab am: ef6908e2b3
am: 97f49e50de

* commit '97f49e50ded651f1ddcf8a9981a7d97fe2816ad7':
  Sanity check IMemory access versus underlying mmap

8 years agoSanity check IMemory access versus underlying mmap am: 94b0d4e3ab
Christopher Tate [Wed, 17 Feb 2016 18:44:11 +0000 (18:44 +0000)]
Sanity check IMemory access versus underlying mmap am: 94b0d4e3ab
am: ef6908e2b3

* commit 'ef6908e2b3e6ee6514620acc338b458ade7c3640':
  Sanity check IMemory access versus underlying mmap

8 years agoSanity check IMemory access versus underlying mmap
Christopher Tate [Wed, 17 Feb 2016 18:37:52 +0000 (18:37 +0000)]
Sanity check IMemory access versus underlying mmap
am: 94b0d4e3ab

* commit '94b0d4e3ab023cfa03a7a4e85f3e09d3743da715':
  Sanity check IMemory access versus underlying mmap