OSDN Git Service

android-x86/frameworks-native.git
8 years agoMerge "Rename .zip file if necessary." into nyc-dev
Felipe Leme [Fri, 26 Feb 2016 23:42:02 +0000 (23:42 +0000)]
Merge "Rename .zip file if necessary." into nyc-dev
am: ed9e142fb6

* commit 'ed9e142fb6874cd1d3cbeb655c700c9a0126ba5a':
  Rename .zip file if necessary.

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
Svet Ganov [Fri, 26 Feb 2016 20:33:54 +0000 (20:33 +0000)]
Merge "Refresh the native app ops manager\'s token if needed." into nyc-dev
am: 78faa5d037

* commit '78faa5d0374a1a9674498f358e1cbd70a6f57961':
  Refresh the native app ops manager's token if needed.

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:25:24 +0000 (00:25 +0000)]
Merge "Add Vulkan feature definitions" into nyc-dev
am: 4928386d23

* commit '4928386d23e5851ac48cc14a33408969d799df1f':
  Add Vulkan feature definitions

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 agoMoved final vibration to the end of the process.
Felipe Leme [Thu, 25 Feb 2016 23:56:17 +0000 (23:56 +0000)]
Moved final vibration to the end of the process.
am: cc2a2fa64e

* commit 'cc2a2fa64e22378d980ae0ae95c8865ebea05f69':
  Moved final vibration to the end of the process.

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:55:47 +0000 (18:55 +0000)]
Merge "Add glReadPixels with buffer-offset argument" into nyc-dev
am: c507e7c388

* commit 'c507e7c3883c698ea8456709df4d2136fde7d388':
  Add glReadPixels with buffer-offset argument

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

* commit '1433e3d5e84ea1c836a72e3f781f7230bf5ad4f0':
  SF: check secure layers in screenshot message handler

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 13:07:13 +0000 (13:07 +0000)]
vulkan: Update to vulkan.h 1.0.3
am: e2948d83f3

* commit 'e2948d83f352b9a093252a06757f76a88f5355d3':
  vulkan: Update to vulkan.h 1.0.3

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 11:31:14 +0000 (11:31 +0000)]
vkinfo: Provide VkApplicationInfo
am: dc7f6a6a87

* commit 'dc7f6a6a8703e5dd8d11da9462528fb20aeb2bd0':
  vkinfo: Provide VkApplicationInfo

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 09:01:21 +0000 (09:01 +0000)]
Merge changes I385a363d,I99129b49 into nyc-dev
am: 7c67f00703

* commit '7c67f0070338f6899ee5768271b39e42f1721932':
  libvulkan: Set window transform based on swapchain preTransform
  libvulkan: Report current and supported transforms accurately

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:30:53 +0000 (22:30 +0000)]
Merge "Improved dumpstate logging." into nyc-dev
am: 503ebdbc5e

* commit '503ebdbc5ecae9dda74124a4350c40f81a695c02':
  Improved dumpstate logging.

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:56:05 +0000 (21:56 +0000)]
Merge "emulator: load vendor specific egl libraries first" into nyc-dev
am: 0a2c2fb459

* commit '0a2c2fb459b539a98e7d34fdaf48e6e2a514f65e':
  emulator: load vendor specific egl libraries first

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:52:01 +0000 (19:52 +0000)]
Merge changes I8cc3ce7d,Ie1a7bfd2,Id472ed4e into nyc-dev
am: a4c2c3ba1e

* commit 'a4c2c3ba1ed2d741edfa652bf8f2bab229389e8e':
  libgui: Allow for pending releases in GLConsumer
  SF: HWC2 C++ shim
  SF: HWC2On1Adapter

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 18:01:06 +0000 (18:01 +0000)]
Merge "Send max duration when bugreport is finished so Shell can update metrics." into nyc-dev
am: c4e490047a

* commit 'c4e490047a7dd605fb087b71d3b97182e409985c':
  Send max duration when bugreport is finished so Shell can update metrics.

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:50:46 +0000 (01:50 +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
am: ee80c817f7

* commit 'ee80c817f7ceb078844510422630df6c527551bc':
  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: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 agoAdd SN logging am: d46695bb66 am: e39a6e160d am: 5e0fa1d392 am: 5da66d4fca am: ea91df...
Pablo Ceballos [Tue, 23 Feb 2016 01:33:04 +0000 (01:33 +0000)]
Add SN logging am: d46695bb66 am: e39a6e160d am: 5e0fa1d392 am: 5da66d4fca am: ea91df0a24 am: f32db75e29 am: 804776a095
am: c59eed57f0

* commit 'c59eed57f048f3568f99e5d64ea9e15130ace78d':
  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:31:31 +0000 (21:31 +0000)]
Merge "dumpstate: Remove deprecated /proc/wakelocks" into nyc-dev
am: 4f6d8ab27c

* commit '4f6d8ab27cea2f2ff0f5353b847a3379c12814d7':
  dumpstate: Remove deprecated /proc/wakelocks

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

* commit 'f0e9d712b5461bdb8b487e9fa6f981fa4fe02a2f':
  Remove unused native binder impl.

8 years agovkinfo: Only print supported features by default
Jesse Hall [Mon, 22 Feb 2016 21:27:23 +0000 (21:27 +0000)]
vkinfo: Only print supported features by default
am: f63e4450a6

* commit 'f63e4450a62de4d345e191a87cb6372fbb3226fd':
  vkinfo: Only print supported features by default

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:41:29 +0000 (18:41 +0000)]
Merge "Fix compiler warnings in sensorservice." into nyc-dev
am: b522871411

* commit 'b52287141164bfb217870c12bc0779ae54b92c19':
  Fix compiler warnings in sensorservice.

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:24:32 +0000 (18:24 +0000)]
Merge "Add a callback thread to ConsumerBase" into nyc-dev
am: d880e517a5

* commit 'd880e517a56d2a73199591bcb9531a4ffa5b53cc':
  Add a callback thread to ConsumerBase

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:44:37 +0000 (11:44 +0000)]
Merge "Extract profile files in their dedicated folder" into nyc-dev
am: 085e02ec76

* commit '085e02ec76788474029a1b4e0d7c02bbbb482499':
  Extract profile files in their dedicated folder

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:52:47 +0000 (04:52 +0000)]
Merge "vulkan/vkinfo: enable layers when -validate is specified" into nyc-dev
am: 48f7c0707a

* commit '48f7c0707adf92768a661ebd354179e319d98ba1':
  vulkan/vkinfo: enable layers when -validate is specified

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:39:05 +0000 (18:39 +0000)]
Merge "Add interface for controlling single buffer auto refresh" into nyc-dev
am: aaf51e52cf

* commit 'aaf51e52cfa937a8938a4429a14432a8424c66d0':
  Add interface for controlling single buffer auto refresh

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 01:37:12 +0000 (01:37 +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
am: e4897cec75

* commit 'e4897cec75852fcb461a8dd3a403353eeb149f06':
  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: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 "BQ: Add permission check to BufferQueueConsumer::dump" into lmp-dev am: 793be1...
Pablo Ceballos [Sat, 20 Feb 2016 00:49:47 +0000 (00:49 +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
am: 738d34b162

* commit '738d34b162e0b54fbbc04f72c46204b5adb6554f':
  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