OSDN Git Service

android-x86/frameworks-native.git
7 years agovulkan: Updated IHV documentation
Jesse Hall [Sat, 18 Jun 2016 01:56:55 +0000 (01:56 +0000)]
vulkan: Updated IHV documentation
am: c2f184d9d8

Change-Id: I4ca9873ec84e5e02e6bb5e303dbce4604cd43e6f

7 years agovulkan: Updated IHV documentation
Jesse Hall [Fri, 17 Jun 2016 20:54:53 +0000 (13:54 -0700)]
vulkan: Updated IHV documentation

Also deleted DevelopersGuide.pdf, which was very out of date and has
been superceded by public documentation on developer.android.com.

Change-Id: I7e47177191a773eea6db3ee2af0a287877cb8532

7 years agoMerge "Rename problematic entries." into nyc-mr1-dev
TreeHugger Robot [Fri, 17 Jun 2016 06:34:39 +0000 (06:34 +0000)]
Merge "Rename problematic entries." into nyc-mr1-dev

7 years agoRename problematic entries.
Felipe Leme [Thu, 16 Jun 2016 17:55:26 +0000 (10:55 -0700)]
Rename problematic entries.

Zip entries with extensions such as .jar could cause the zip file to be
rejected as an attachment by some email providers. To circunvent such
issue, they will renamed with a '.renamed' suffix.

BUG: 28610953
BUG: 29395357
Change-Id: I9718821a53fdf0ce4f00ed360eddbf7fb4ca1cd6

7 years agoMerge "HWC2On1Adapter: populateCapabilities: fix virtual display query" into nyc...
Dan Stoza [Thu, 16 Jun 2016 17:21:47 +0000 (17:21 +0000)]
Merge "HWC2On1Adapter: populateCapabilities: fix virtual display query" into nyc-mr1-dev

7 years agoMerge \"Revert \"Attach profiles to bug reports\"\" into nyc-dev
David Brazdil [Thu, 16 Jun 2016 13:26:38 +0000 (13:26 +0000)]
Merge \"Revert \"Attach profiles to bug reports\"\" into nyc-dev
am: ea1aa91a25

Change-Id: I549f25a1e2bc90ff326a4d218cae5d2ea58571f3

7 years agoMerge "Revert "Attach profiles to bug reports"" into nyc-dev
David Brazdil [Thu, 16 Jun 2016 13:11:05 +0000 (13:11 +0000)]
Merge "Revert "Attach profiles to bug reports"" into nyc-dev

7 years agoRevert "Attach profiles to bug reports"
David Brazdil [Thu, 16 Jun 2016 09:11:31 +0000 (09:11 +0000)]
Revert "Attach profiles to bug reports"

This reverts commit 0faf2b870f934c1cdd883d29642fd84da3b352e2.

Bug: 28610953
Bug: 29395357
Change-Id: I609fe344dfc61311e37b91b48480d9392764a598

7 years agoHWC2On1Adapter: populateCapabilities: fix virtual display query
Fred Fettinger [Tue, 14 Jun 2016 22:53:10 +0000 (17:53 -0500)]
HWC2On1Adapter: populateCapabilities: fix virtual display query

To determine whether a HWComposer implementation supports virtual
displays, HWC2On1Adapter::populateCapabilities() calls
query(HWC_DISPLAY_TYPES_SUPPORTED). However, it incorrectly uses
HWC_DISPLAY_VIRTUAL instead of HWC_DISPLAY_VIRTUAL_BIT. Update the
check to use the correct bitmask.

Change-Id: I1ad95d5222a0353816ee65936cf033e5244c80cc

7 years agoMerge "Fix typo in dump cmd line." into nyc-mr1-dev
Junda Liu [Tue, 14 Jun 2016 20:10:30 +0000 (20:10 +0000)]
Merge "Fix typo in dump cmd line." into nyc-mr1-dev

7 years agoMerge changes from topic 'gralloc1' into nyc-mr1-dev
Dan Stoza [Tue, 14 Jun 2016 19:59:37 +0000 (19:59 +0000)]
Merge changes from topic 'gralloc1' into nyc-mr1-dev

* changes:
  libui: Convert Allocator and Mapper to gralloc1
  libui: Adds C++ shim for gralloc1
  libui: Add Gralloc1On0Adapter

7 years agoFix typo in dump cmd line.
Junda Liu [Tue, 14 Jun 2016 07:09:10 +0000 (00:09 -0700)]
Fix typo in dump cmd line.

Bug: b/29342758
Change-Id: Ic9ac15a2ade08a2cd21721721af357aa75a35ca5

7 years agoMerge \"Revert \"GLConsumer: add build-time disable of gpu protected content\"\"...
Craig Donner [Mon, 13 Jun 2016 23:25:23 +0000 (23:25 +0000)]
Merge \"Revert \"GLConsumer: add build-time disable of gpu protected content\"\" into nyc-dev
am: e1e1e75173

Change-Id: Iea28323a8e7bd2333d396b70703ac4b1a99b1911

7 years agoMerge "Revert "GLConsumer: add build-time disable of gpu protected content"" into...
Craig Donner [Mon, 13 Jun 2016 23:13:02 +0000 (23:13 +0000)]
Merge "Revert "GLConsumer: add build-time disable of gpu protected content"" into nyc-dev

7 years agoRevert "GLConsumer: add build-time disable of gpu protected content"
Craig Donner [Mon, 13 Jun 2016 22:14:15 +0000 (22:14 +0000)]
Revert "GLConsumer: add build-time disable of gpu protected content"

This reverts commit dea97b7aa2b5cfbb7d42f30bcbf86a01778b609b.

Bug: 28545166

Change-Id: I4b069e14c2b99e190ebdea6df1ed83827ffe17b6

7 years agolibui: Convert Allocator and Mapper to gralloc1
Dan Stoza [Thu, 2 Jun 2016 01:21:44 +0000 (18:21 -0700)]
libui: Convert Allocator and Mapper to gralloc1

Converts GraphicBufferAllocator and GraphicBufferMapper to speak
gralloc 1.0 (via the C++ shim and optionally the 1On0 adapter) instead
of gralloc 0.x.

Bug: 28401203
Change-Id: Ie1649f0ee72801579be2c2d3c47177b52962a825

7 years agolibui: Adds C++ shim for gralloc1
Dan Stoza [Fri, 20 May 2016 19:14:37 +0000 (12:14 -0700)]
libui: Adds C++ shim for gralloc1

Adds a C++ shim which wraps a gralloc1 device and provides a somewhat
nicer interface to the rest of the system.

Bug: 28401203
Change-Id: I934ed41999bd4b9aa04d9ad8d40e7f8fba6f30ee

7 years agolibui: Add Gralloc1On0Adapter
Dan Stoza [Mon, 11 Jan 2016 23:21:07 +0000 (15:21 -0800)]
libui: Add Gralloc1On0Adapter

Adds an adapter which provides the gralloc1 interface on top of a
gralloc 0.x device.

Bug: 28401203
Change-Id: I0eeafc998b56e2e2fc39de6fad41e3ed2e19658a

7 years agoSF: Fix HWC2 build break
Pablo Ceballos [Mon, 13 Jun 2016 20:21:41 +0000 (13:21 -0700)]
SF: Fix HWC2 build break

Bug 29330291

Change-Id: Ifd9993ac0321c7436a17c3e64925d415ec993003

7 years agoMerge \"Fixed file descriptor leak in IMemory\" into nyc-dev
John Eckerdal [Mon, 13 Jun 2016 18:42:08 +0000 (18:42 +0000)]
Merge \"Fixed file descriptor leak in IMemory\" into nyc-dev
am: a13a22649b

Change-Id: Id692c99cbe9274e51f6d65cb38b3e0a7293e7518

7 years agoMerge "Fixed file descriptor leak in IMemory" into nyc-dev
Amith Yamasani [Mon, 13 Jun 2016 18:37:40 +0000 (18:37 +0000)]
Merge "Fixed file descriptor leak in IMemory" into nyc-dev

7 years agoAdd FrameStats default constructor am: 9a8c42a72b am: 8cd7d257de am: 67105cc24d am...
Pablo Ceballos [Mon, 13 Jun 2016 18:35:52 +0000 (18:35 +0000)]
Add FrameStats default constructor am: 9a8c42a72b am: 8cd7d257de am: 67105cc24d am: b990d75315 am: a1952f0a6d am: 81d678cf18 am: ed968dc61c am: d1d1d4e922
am: 324b700b4b

Change-Id: I9654230b1817fa5bd16ab995d53ffbad3f25d68f

7 years agoAdd FrameStats default constructor am: 9a8c42a72b am: 8cd7d257de am: 67105cc24d am...
Pablo Ceballos [Mon, 13 Jun 2016 18:26:04 +0000 (18:26 +0000)]
Add FrameStats default constructor am: 9a8c42a72b am: 8cd7d257de am: 67105cc24d am: b990d75315 am: a1952f0a6d am: 81d678cf18 am: ed968dc61c
am: d1d1d4e922

Change-Id: I581c4df5e3866e8a2326830e6b9e6ca2ffb3bf1c

7 years agoAdd FrameStats default constructor am: 9a8c42a72b am: 8cd7d257de am: 67105cc24d am...
Pablo Ceballos [Mon, 13 Jun 2016 18:22:14 +0000 (18:22 +0000)]
Add FrameStats default constructor am: 9a8c42a72b am: 8cd7d257de am: 67105cc24d am: b990d75315 am: a1952f0a6d am: 81d678cf18
am: ed968dc61c

Change-Id: Id30d35b89c46fda89990bed6acf932240bdb6890

7 years agoAdd FrameStats default constructor am: 9a8c42a72b am: 8cd7d257de am: 67105cc24d am...
Pablo Ceballos [Mon, 13 Jun 2016 18:18:09 +0000 (18:18 +0000)]
Add FrameStats default constructor am: 9a8c42a72b am: 8cd7d257de am: 67105cc24d am: b990d75315 am: a1952f0a6d
am: 81d678cf18

Change-Id: I24f1e2594fdbd2022a534332009cad9564becd54

7 years agoAdd FrameStats default constructor am: 9a8c42a72b am: 8cd7d257de am: 67105cc24d am...
Pablo Ceballos [Mon, 13 Jun 2016 18:13:16 +0000 (18:13 +0000)]
Add FrameStats default constructor am: 9a8c42a72b am: 8cd7d257de am: 67105cc24d am: b990d75315
am: a1952f0a6d

Change-Id: Icc23cc2a483b13c6ac2134008d553574fffe06f4

7 years agoAdd FrameStats default constructor am: 9a8c42a72b am: 8cd7d257de am: 67105cc24d
Pablo Ceballos [Mon, 13 Jun 2016 18:09:20 +0000 (18:09 +0000)]
Add FrameStats default constructor am: 9a8c42a72b am: 8cd7d257de am: 67105cc24d
am: b990d75315

Change-Id: Ibc0caec8dc613a6701791f1a633f3793522615af

7 years agoAdd FrameStats default constructor am: 9a8c42a72b am: 8cd7d257de
Pablo Ceballos [Mon, 13 Jun 2016 18:04:17 +0000 (18:04 +0000)]
Add FrameStats default constructor am: 9a8c42a72b am: 8cd7d257de
am: 67105cc24d

Change-Id: Icf85c944e561763b0a9c353f84d614a992168c20

7 years agoAdd FrameStats default constructor am: 9a8c42a72b
Pablo Ceballos [Mon, 13 Jun 2016 18:00:25 +0000 (18:00 +0000)]
Add FrameStats default constructor am: 9a8c42a72b
am: 8cd7d257de

Change-Id: Ic0df6b15e28ac2acda566fa7f30c9460d36f2a00

7 years agoAdd FrameStats default constructor
Pablo Ceballos [Mon, 13 Jun 2016 17:56:06 +0000 (17:56 +0000)]
Add FrameStats default constructor
am: 9a8c42a72b

Change-Id: Ib78d68c71438391711ea3b91102408d5ad0b966b

7 years agoMerge "Read gsm.version.baseband for radio version." into nyc-mr1-dev
TreeHugger Robot [Mon, 13 Jun 2016 17:52:55 +0000 (17:52 +0000)]
Merge "Read gsm.version.baseband for radio version." into nyc-mr1-dev

7 years agoMerge "Otapreopt: Send progress updates to update_engine" into nyc-mr1-dev
TreeHugger Robot [Mon, 13 Jun 2016 16:52:17 +0000 (16:52 +0000)]
Merge "Otapreopt: Send progress updates to update_engine" into nyc-mr1-dev

7 years agoMerge \"Fix assignment of 565 format when creating native client buffers.\" into...
Craig Donner [Mon, 13 Jun 2016 16:49:25 +0000 (16:49 +0000)]
Merge \"Fix assignment of 565 format when creating native client buffers.\" into nyc-dev
am: 518e336d3f

Change-Id: I3ff59132bd91b02a62beddc78713e2cea7798db2

7 years agoMerge "Fix assignment of 565 format when creating native client buffers." into nyc-dev
Craig Donner [Mon, 13 Jun 2016 16:36:51 +0000 (16:36 +0000)]
Merge "Fix assignment of 565 format when creating native client buffers." into nyc-dev

7 years agoRead gsm.version.baseband for radio version.
Junda Liu [Sun, 12 Jun 2016 18:51:54 +0000 (11:51 -0700)]
Read gsm.version.baseband for radio version.

gsm.version.baseband is the right property to use for actual radio version.

Bug: b/29296893
Change-Id: Idf7b743f35f23261c0086449131188b1e52fb424

7 years agoFix assignment of 565 format when creating native client buffers.
Craig Donner [Sat, 11 Jun 2016 00:20:15 +0000 (17:20 -0700)]
Fix assignment of 565 format when creating native client buffers.

Change-Id: Ia379f469a6e18e1f31748dc97aa596d03e507f84
Fixes: 29279664

7 years agoFixed -t order (should be *after* dumpsys :-)
Felipe Leme [Sat, 11 Jun 2016 00:12:30 +0000 (00:12 +0000)]
Fixed -t order (should be *after* dumpsys :-)
am: 3f83dbe2e0

Change-Id: I047fe3a0f3990eb6827484124889f0052536bcd1

7 years agoFixed -t order (should be *after* dumpsys :-)
Felipe Leme [Fri, 10 Jun 2016 23:56:33 +0000 (16:56 -0700)]
Fixed -t order (should be *after* dumpsys :-)

BUG: 29042642
Change-Id: I1b88634b0152f849a57f8e82adc82bdc5e609db7

7 years agoOtapreopt: Send progress updates to update_engine
Andreas Gampe [Fri, 10 Jun 2016 22:08:53 +0000 (15:08 -0700)]
Otapreopt: Send progress updates to update_engine

Use the new OtaDexoptService progress API to send updates back
to update_engine.

Bug: 25612095
Bug: 29223204
Change-Id: Ie8162946d18f6fa78649a40ad5d3949d31a181cd

7 years agoMerge \"Set version to 1.0\" into nyc-dev
Felipe Leme [Fri, 10 Jun 2016 20:58:08 +0000 (20:58 +0000)]
Merge \"Set version to 1.0\" into nyc-dev
am: 6ab3c01d18

Change-Id: Id05c75208093eaaab3e0732bf9c1767535e6d230

7 years agoMerge "Set version to 1.0" into nyc-dev
TreeHugger Robot [Fri, 10 Jun 2016 20:40:20 +0000 (20:40 +0000)]
Merge "Set version to 1.0" into nyc-dev

7 years agoMerge \"Expose more useful functions that can be used by dumpstate_board().\" into...
Calvin On [Fri, 10 Jun 2016 00:26:47 +0000 (00:26 +0000)]
Merge \"Expose more useful functions that can be used by dumpstate_board().\" into nyc-dev
am: f678562fa4

Change-Id: I4a598f406bbbb9cd546a0e2f59dd085622b95b30

7 years agoMerge "Expose more useful functions that can be used by dumpstate_board()." into...
Felipe Leme [Fri, 10 Jun 2016 00:19:18 +0000 (00:19 +0000)]
Merge "Expose more useful functions that can be used by dumpstate_board()." into nyc-dev

7 years agoFixed file descriptor leak in IMemory
John Eckerdal [Thu, 21 Apr 2016 13:04:14 +0000 (15:04 +0200)]
Fixed file descriptor leak in IMemory

Include dup in critical section to avoid multiple dup calls from
different threads.
The leak happens more frequently since patch in frameworks/av -
6773d4777f4ccbbe6377e4ae1b42c117066ae6ba when recording video since it
will access IMemory from CameraUtils::isNativeHandleMetadata

Bug: 28924660
Author: Henrik Antonsson <henrik.antonsson@sonymobile.com>
Change-Id: I769a914c3adc505b522659a0c43719fb2922e6fd

7 years agoMerge "Plumbing for getting FenceTracker timestamps" into nyc-mr1-dev
Pablo Ceballos [Thu, 9 Jun 2016 21:10:16 +0000 (21:10 +0000)]
Merge "Plumbing for getting FenceTracker timestamps" into nyc-mr1-dev

7 years agoOtapreopt: Filter preopted system apps
Andreas Gampe [Wed, 8 Jun 2016 22:11:37 +0000 (15:11 -0700)]
Otapreopt: Filter preopted system apps

The tool will receive requests to compile preopted system apps, as
we can't detect changes right now and need to be conservative. As
some apps cannot be stripped (signed before being preopted), they
can be re-compiled on device, producing stale files that won't be
cleaned up.

Add code to detect this situation and avoid a compile.

Bug: 25612095
Change-Id: I5f489e61b8d4e5b619cbaa01f6c59880479a46cd

7 years agoMerge \"Improved error handling.\" into nyc-dev
Felipe Leme [Wed, 8 Jun 2016 23:41:18 +0000 (23:41 +0000)]
Merge \"Improved error handling.\" into nyc-dev
am: bbd27419ac

Change-Id: I55a0eb324d18c7081acb6387b51c2fdf4f7b2a62

7 years agoMerge "Improved error handling." into nyc-dev
TreeHugger Robot [Wed, 8 Jun 2016 23:35:11 +0000 (23:35 +0000)]
Merge "Improved error handling." into nyc-dev

7 years agoMerge "Installd: Move app image A/B artifact" into nyc-mr1-dev
Andreas Gampe [Wed, 8 Jun 2016 22:34:32 +0000 (22:34 +0000)]
Merge "Installd: Move app image A/B artifact" into nyc-mr1-dev

7 years agoImproved error handling.
Felipe Leme [Wed, 8 Jun 2016 18:11:01 +0000 (11:11 -0700)]
Improved error handling.

adb bugreport now properly handles stderr.

BUG: 29161586
Change-Id: I7a59d1feadda3d160eae6fe447a7a3c7e0843cbb

7 years agoMerge \"Explicitly sets dumpsys timeout.\" into nyc-dev
Felipe Leme [Wed, 8 Jun 2016 18:35:11 +0000 (18:35 +0000)]
Merge \"Explicitly sets dumpsys timeout.\" into nyc-dev
am: 12af7d51a1

Change-Id: Ieab6b2ad648ff58b3bee7ffc8d4fbc3cfb516225

7 years agoMerge "Explicitly sets dumpsys timeout." into nyc-dev
TreeHugger Robot [Wed, 8 Jun 2016 18:14:00 +0000 (18:14 +0000)]
Merge "Explicitly sets dumpsys timeout." into nyc-dev

7 years agoInstalld: Move app image A/B artifact
Andreas Gampe [Mon, 6 Jun 2016 22:36:18 +0000 (15:36 -0700)]
Installd: Move app image A/B artifact

In addition to odex, also move art file.

Bug: 25612095
Change-Id: I69f4c2b1e7283c9a9c361f57f5233e66679c5c28

7 years agoMerge "Installd: Change app image name computation" into nyc-mr1-dev
TreeHugger Robot [Wed, 8 Jun 2016 17:35:43 +0000 (17:35 +0000)]
Merge "Installd: Change app image name computation" into nyc-mr1-dev

7 years agoExplicitly sets dumpsys timeout.
Felipe Leme [Wed, 8 Jun 2016 16:51:29 +0000 (09:51 -0700)]
Explicitly sets dumpsys timeout.

The run_command() function takes a timeout as argument, and dumpsys can
also optionally takes a timeout with the -t argument, hence it makes
sense to pass the same value for both (otherwise dumpsys will timeout in
10s).

BUG: 29042642
Change-Id: Ib6e987d94e966686bab71223d7f910af9e549814

7 years agoMerge "libagl: Switch from gralloc to GraphicBufferMapper" into nyc-mr1-dev
Dan Stoza [Wed, 8 Jun 2016 16:31:30 +0000 (16:31 +0000)]
Merge "libagl: Switch from gralloc to GraphicBufferMapper" into nyc-mr1-dev

7 years agoMerge \"Attach profiles to bug reports\" into nyc-dev
David Brazdil [Wed, 8 Jun 2016 15:47:02 +0000 (15:47 +0000)]
Merge \"Attach profiles to bug reports\" into nyc-dev
am: 6d98bac4ab

Change-Id: I14404b7188e7be6c426bd550868badc3a8a91a07

7 years agoMerge "Attach profiles to bug reports" into nyc-dev
David Brazdil [Wed, 8 Jun 2016 15:36:45 +0000 (15:36 +0000)]
Merge "Attach profiles to bug reports" into nyc-dev

7 years agoAttach profiles to bug reports
David Brazdil [Fri, 3 Jun 2016 13:40:44 +0000 (14:40 +0100)]
Attach profiles to bug reports

Includes the entire '/data/misc/profiles' folder in the bug report
ZIP file if not user build.

Bug: 28610953
Change-Id: I99d46f024e5557cf94e6045a51c46a605a00c52b

7 years agoInstalld: Fix bad merge
Andreas Gampe [Wed, 8 Jun 2016 06:16:46 +0000 (23:16 -0700)]
Installd: Fix bad merge

Don't cut off the leading dex location character.

Bug: 25612095
Change-Id: Iad556a0bb48c57f3c68ee75ee41f14e88d96b1a8

7 years agoInstalld: Change app image name computation
Andreas Gampe [Sat, 4 Jun 2016 04:13:50 +0000 (21:13 -0700)]
Installd: Change app image name computation

Refactor computation to take A/B OTAs into account.

Fix a const issue.

Bug: 25612095
Change-Id: I5cf79def532d1eeec4b35bb80014376959083a83

7 years agoInstalld: Refactor dexopt to scoped file descriptor
Andreas Gampe [Fri, 3 Jun 2016 23:09:32 +0000 (16:09 -0700)]
Installd: Refactor dexopt to scoped file descriptor

Refactor the goto-fail cleanup to a unique_fd-like wrapper that
includes a potential cleanup step. In preparation for changes for
A/B OTA.

Bug: 25612095
Change-Id: If6cca85c12e0951bc468cb4f212b2f2d288c6041

7 years agoPlumbing for getting FenceTracker timestamps
Pablo Ceballos [Fri, 5 Feb 2016 03:10:51 +0000 (19:10 -0800)]
Plumbing for getting FenceTracker timestamps

Change-Id: I1ebee9e42e28658bd3a2b161fdaabb7da756d8f3

7 years agoMerge "Installd: Remove string-helpers" into nyc-mr1-dev
Andreas Gampe [Tue, 7 Jun 2016 21:06:56 +0000 (21:06 +0000)]
Merge "Installd: Remove string-helpers" into nyc-mr1-dev

7 years agoMerge "SurfaceFlinger: Add mode to apply position with resize." into nyc-dev
Robert Carr [Tue, 7 Jun 2016 20:47:02 +0000 (20:47 +0000)]
Merge "SurfaceFlinger: Add mode to apply position with resize." into nyc-dev
am: c3da482bb8

* commit 'c3da482bb8081ee2c19b5965585267b8e21cfc7e':
  SurfaceFlinger: Add mode to apply position with resize.

Change-Id: Icedb7a6e37da9338b1194edaa32a67257640969f

7 years agoMerge "SurfaceFlinger: Add mode to apply position with resize." into nyc-dev
TreeHugger Robot [Tue, 7 Jun 2016 20:42:03 +0000 (20:42 +0000)]
Merge "SurfaceFlinger: Add mode to apply position with resize." into nyc-dev

7 years agoMerge "Fix Parcelable::readParcelableVector<T>" into nyc-dev
Janis Danisevskis [Tue, 7 Jun 2016 19:28:25 +0000 (19:28 +0000)]
Merge "Fix Parcelable::readParcelableVector<T>" into nyc-dev
am: 0950fb3d20

* commit '0950fb3d20d100f62961db1cc3eff51b51f9ca6b':
  Fix Parcelable::readParcelableVector<T>

Change-Id: I892d88cfe9fe2df69bf390ce0618c03980b52753

7 years agoMerge "Fix Parcelable::readParcelableVector<T>" into nyc-dev
Janis Danisevskis [Tue, 7 Jun 2016 19:23:45 +0000 (19:23 +0000)]
Merge "Fix Parcelable::readParcelableVector<T>" into nyc-dev

7 years agoSurfaceFlinger: Add mode to apply position with resize.
Robert Carr [Sun, 15 May 2016 18:27:47 +0000 (11:27 -0700)]
SurfaceFlinger: Add mode to apply position with resize.

For some cases, like scaled windows with shadows,
we need to be able to apply the position concurrent with
window resize. This is because the scaling of the shadows causes
the top left coordinate of the non shadow surface content
to change before and after the resize.

Bug: 28899837
Change-Id: I522eacfbbcd79707dc1e5ab71901a263b3004ba9

7 years agoInstalld: Remove string-helpers
Andreas Gampe [Fri, 3 Jun 2016 17:22:19 +0000 (10:22 -0700)]
Installd: Remove string-helpers

Replace string-helpers with equivalent functions from android::base.

Bug: 25612095
Change-Id: I186461b94dffe3590c16455d4dee0c2cbe921bf4

7 years agoExpose more useful functions that can be used by dumpstate_board().
Calvin On [Fri, 3 Jun 2016 22:17:07 +0000 (15:17 -0700)]
Expose more useful functions that can be used by dumpstate_board().

BUG: 28640932
Fixes: 28867848
Change-Id: I38123e5b348f4560212559176eb60dbad4f22364

7 years agoMerge "Enable profman pretty printing" into nyc-dev
David Sehr [Mon, 6 Jun 2016 20:21:16 +0000 (20:21 +0000)]
Merge "Enable profman pretty printing" into nyc-dev
am: 572e23d761

* commit '572e23d7614485a06102b00667d003b21b874bf9':
  Enable profman pretty printing

Change-Id: Ib2e450b89b2805de265c44b670ab414af1b8e6ac

7 years agoMerge "Enable profman pretty printing" into nyc-dev
David Sehr [Mon, 6 Jun 2016 20:16:10 +0000 (20:16 +0000)]
Merge "Enable profman pretty printing" into nyc-dev

7 years agoMerge "SF: Also edit currentState in doTransaction" into nyc-dev
Pablo Ceballos [Mon, 6 Jun 2016 19:37:38 +0000 (19:37 +0000)]
Merge "SF: Also edit currentState in doTransaction" into nyc-dev
am: d224e6111b

* commit 'd224e6111bf4532fb1c1fc021c20285b38bc80ec':
  SF: Also edit currentState in doTransaction

Change-Id: I6bcd675d033cc1ef46d3498174b2bc52a0072f99

7 years agoMerge "SF: Also edit currentState in doTransaction" into nyc-dev
Pablo Ceballos [Mon, 6 Jun 2016 19:32:15 +0000 (19:32 +0000)]
Merge "SF: Also edit currentState in doTransaction" into nyc-dev

7 years agoEnable profman pretty printing
David Sehr [Thu, 2 Jun 2016 17:42:12 +0000 (10:42 -0700)]
Enable profman pretty printing

Bug: 28748264
Change-Id: Ia625a7976d9b95ec3b7e1d03af39af9f39015f3b

7 years agoMerge "libgui: Check result in hook_dequeueBuffer_DEPRECATED" into nyc-dev
Mike Stroyan [Mon, 6 Jun 2016 16:32:32 +0000 (16:32 +0000)]
Merge "libgui: Check result in hook_dequeueBuffer_DEPRECATED" into nyc-dev
am: 09e5f59bc9

* commit '09e5f59bc9a371c7b83153bb51543ec759684227':
  libgui: Check result in hook_dequeueBuffer_DEPRECATED

Change-Id: If91c49dfef52a64c3721da737658cf4645c13fc1

7 years agoMerge "Allow setting alpha to 0 when creating native client buffers." into nyc-dev
Craig Donner [Mon, 6 Jun 2016 16:30:11 +0000 (16:30 +0000)]
Merge "Allow setting alpha to 0 when creating native client buffers." into nyc-dev
am: 02afa28ccd

* commit '02afa28ccdb2cd82a51f938777944c2c8cf857ce':
  Allow setting alpha to 0 when creating native client buffers.

Change-Id: I811af889ed50ebd0b6dd0a676f106a2b78589f26

7 years agoMerge "libgui: Check result in hook_dequeueBuffer_DEPRECATED" into nyc-dev
Mike Stroyan [Mon, 6 Jun 2016 16:29:41 +0000 (16:29 +0000)]
Merge "libgui: Check result in hook_dequeueBuffer_DEPRECATED" into nyc-dev

7 years agoMerge "Allow setting alpha to 0 when creating native client buffers." into nyc-dev
Craig Donner [Mon, 6 Jun 2016 16:18:23 +0000 (16:18 +0000)]
Merge "Allow setting alpha to 0 when creating native client buffers." into nyc-dev

7 years agolibgui: Check result in hook_dequeueBuffer_DEPRECATED
Mike Stroyan [Fri, 3 Jun 2016 18:43:26 +0000 (12:43 -0600)]
libgui: Check result in hook_dequeueBuffer_DEPRECATED

Surface::hook_dequeueBuffer_DEPRECATED calls c->dequeueBuffer without
checking the returned result value.  It should check for failing
result and return on error without using the values that
c->dequeueBuffer did not set.

Bug: 28692406
Change-Id: I10f9a23ad1052c5149040124366e0eb91b616267

7 years agolibvulkan: reduce log level for swapchain usage errors
Jesse Hall [Sat, 4 Jun 2016 02:51:22 +0000 (02:51 +0000)]
libvulkan: reduce log level for swapchain usage errors
am: 42a9eecb23

* commit '42a9eecb23c0b72bbee1eb2ef6b0d6586159d1c3':
  libvulkan: reduce log level for swapchain usage errors

Change-Id: I8b053f14678f9e03497ac2b621e117df581d9779

7 years agoSF: Also edit currentState in doTransaction
Pablo Ceballos [Fri, 3 Jun 2016 00:46:05 +0000 (17:46 -0700)]
SF: Also edit currentState in doTransaction

Bug 28899837

Change-Id: I46c8301549c627c5d1c7efa661055aba787a33d6

7 years agoAllow setting alpha to 0 when creating native client buffers.
Craig Donner [Sat, 4 Jun 2016 00:54:25 +0000 (17:54 -0700)]
Allow setting alpha to 0 when creating native client buffers.

Note that RGBA sizes are checked later in the function anyway, so there was no
reason to disallow 0, but it did preclude setting alpha to 0 for 565 buffers.

Fixes: 29126799

Change-Id: Iba11649976221ab385227fc022ae74b14c342203

7 years agoFix Parcelable::readParcelableVector<T>
Janis Danisevskis [Fri, 20 May 2016 17:10:04 +0000 (18:10 +0100)]
Fix Parcelable::readParcelableVector<T>

Parcelable::readParcelableVector<T> was apparently never
used. It now is and needed some adjustments to actually
work.

Bug: 22914603
Change-Id: I58ead3b3956299d549cff245588f56f3220563d3

7 years agolibvulkan: reduce log level for swapchain usage errors
Jesse Hall [Fri, 3 Jun 2016 19:39:49 +0000 (12:39 -0700)]
libvulkan: reduce log level for swapchain usage errors

Bug: 26927424
Change-Id: Id9346356436663db83a2d6fa8fefc4ea24d7854b

7 years agoMerge "Otapreopt: Fix after shared-library work" into nyc-mr1-dev
Andreas Gampe [Fri, 3 Jun 2016 15:29:20 +0000 (15:29 +0000)]
Merge "Otapreopt: Fix after shared-library work" into nyc-mr1-dev

7 years agoOtapreopt: Fix after shared-library work
Andreas Gampe [Fri, 3 Jun 2016 00:56:45 +0000 (17:56 -0700)]
Otapreopt: Fix after shared-library work

Commit b63d91fd2737680351876406277b6c759f4db33c broke the installd
to otapreopt connection. Fix this. Also refactor a bit to make an
inadvertant break harder.

Bug: 25612095
Change-Id: I8e7b944ecbd5457e4ac4d6ffffdb0468618cf65f

7 years agoMerge "libvulkan: Slightly better handling of swapchain re-creation" into nyc-dev
Jesse Hall [Fri, 3 Jun 2016 00:12:50 +0000 (00:12 +0000)]
Merge "libvulkan: Slightly better handling of swapchain re-creation" into nyc-dev
am: b2dcc3a122

* commit 'b2dcc3a1220ea5ef6acb5a63659da3c34b1a295a':
  libvulkan: Slightly better handling of swapchain re-creation

Change-Id: I0f66b9e5521388eaf95ce29f5c1f44817780a7b9

7 years agoMerge "libvulkan: Slightly better handling of swapchain re-creation" into nyc-dev
Jesse Hall [Thu, 2 Jun 2016 23:57:02 +0000 (23:57 +0000)]
Merge "libvulkan: Slightly better handling of swapchain re-creation" into nyc-dev

7 years agoMerge "vulkan: remove EnumerateDeviceLayerProperties internally" into nyc-dev
Chia-I Wu [Thu, 2 Jun 2016 22:49:38 +0000 (22:49 +0000)]
Merge "vulkan: remove EnumerateDeviceLayerProperties internally" into nyc-dev
am: 691fcb9603

* commit '691fcb96033db2f09030e8c71e86dad7e2fbfd43':
  vulkan: remove EnumerateDeviceLayerProperties internally

Change-Id: I4678a10c62147c7c69bf0f0e81e6e447ed819b2c

7 years agoMerge "vulkan: remove EnumerateDeviceLayerProperties internally" into nyc-dev
Chia-I Wu [Thu, 2 Jun 2016 22:36:26 +0000 (22:36 +0000)]
Merge "vulkan: remove EnumerateDeviceLayerProperties internally" into nyc-dev

7 years agoMerge "Camera: Add media/camera NDK documents" into nyc-dev
Yin-Chia Yeh [Thu, 2 Jun 2016 18:17:37 +0000 (18:17 +0000)]
Merge "Camera: Add media/camera NDK documents" into nyc-dev
am: 470241b168

* commit '470241b168a9db7514bc0df775109db591836d4b':
  Camera: Add media/camera NDK documents

Change-Id: Ib66856fba84301834a81f0c361f5244bd152eeb3

7 years agoMerge "Camera: Add media/camera NDK documents" into nyc-dev
Yin-Chia Yeh [Thu, 2 Jun 2016 18:12:21 +0000 (18:12 +0000)]
Merge "Camera: Add media/camera NDK documents" into nyc-dev

7 years agolibvulkan: Slightly better handling of swapchain re-creation
Jesse Hall [Tue, 31 May 2016 05:40:14 +0000 (22:40 -0700)]
libvulkan: Slightly better handling of swapchain re-creation

Previously we would fail vkCreateSwapchainKHR if
VkSwapchainCreateInfo::oldSwapchain was used, because we were unable
to dequeue all buffers for the new swapchain from an already-used
native window.

Now we disconnect and re-connect to the native window in order to
fully reset state, and allow us to dequeue all buffers. Additionally,
we tag the old swapchain as out-of-date, so future image acquires and
presents will fail with VK_ERROR_OUT_OF_DATE_KHR on that swapchain.
This is less than ideal, but better than what we had, and the best we
have time to do for N.

Bug: 26927424
Change-Id: Ifaa5048376f72a63ecb1dca3d1ff85dbee2c24d0

7 years agoMerge "SF: Re-enable fence tracker by default" into nyc-mr1-dev
Pablo Ceballos [Thu, 2 Jun 2016 17:21:42 +0000 (17:21 +0000)]
Merge "SF: Re-enable fence tracker by default" into nyc-mr1-dev

7 years agoMerge "BQ: Don\'t return fences from dequeue in shared buffer mode" into nyc-dev
Pablo Ceballos [Thu, 2 Jun 2016 17:20:04 +0000 (17:20 +0000)]
Merge "BQ: Don\'t return fences from dequeue in shared buffer mode" into nyc-dev
am: eb6377eb13

* commit 'eb6377eb133f902e737fab370df7679430a1d8d1':
  BQ: Don't return fences from dequeue in shared buffer mode

Change-Id: Ieb075d9598edcaec542ee06663aa292111968474

7 years agoMerge "Push empty sync transaction before taking screenshot in tests" into nyc-dev
Pablo Ceballos [Thu, 2 Jun 2016 17:20:04 +0000 (17:20 +0000)]
Merge "Push empty sync transaction before taking screenshot in tests" into nyc-dev
am: 08588dd760

* commit '08588dd76073a8635aa4175d5b98fc5db86afec4':
  Push empty sync transaction before taking screenshot in tests

Change-Id: Id7648a55288f3f8962e6e314584c9690c3f27854

7 years agoMerge "BQ: Don't return fences from dequeue in shared buffer mode" into nyc-dev
Pablo Ceballos [Thu, 2 Jun 2016 17:14:00 +0000 (17:14 +0000)]
Merge "BQ: Don't return fences from dequeue in shared buffer mode" into nyc-dev

7 years agoMerge "Push empty sync transaction before taking screenshot in tests" into nyc-dev
Pablo Ceballos [Thu, 2 Jun 2016 17:10:06 +0000 (17:10 +0000)]
Merge "Push empty sync transaction before taking screenshot in tests" into nyc-dev