OSDN Git Service

android-x86/frameworks-native.git
9 years agoam 2d4cf62a: am 8d9f899a: am 031fec0b: Merge "ServiceManager: Print kernel/userspace...
Elliott Hughes [Sat, 4 Apr 2015 00:39:46 +0000 (00:39 +0000)]
am 2d4cf62a: am 8d9f899a: am 031fec0b: Merge "ServiceManager: Print kernel/userspace binder version"

* commit '2d4cf62a2cdfbfbbca5757eb7dd1498d118bf7c9':
  ServiceManager: Print kernel/userspace binder version

9 years agoam 8d9f899a: am 031fec0b: Merge "ServiceManager: Print kernel/userspace binder version"
Elliott Hughes [Sat, 4 Apr 2015 00:19:19 +0000 (00:19 +0000)]
am 8d9f899a: am 031fec0b: Merge "ServiceManager: Print kernel/userspace binder version"

* commit '8d9f899a5e69a652c59d48c70a9c7b0e8100be87':
  ServiceManager: Print kernel/userspace binder version

9 years agoam 031fec0b: Merge "ServiceManager: Print kernel/userspace binder version"
Elliott Hughes [Sat, 4 Apr 2015 00:13:25 +0000 (00:13 +0000)]
am 031fec0b: Merge "ServiceManager: Print kernel/userspace binder version"

* commit '031fec0b9da7f5985c5a1650ed570ca3872e63c0':
  ServiceManager: Print kernel/userspace binder version

9 years agoMerge "ServiceManager: Print kernel/userspace binder version"
Elliott Hughes [Sat, 4 Apr 2015 00:03:45 +0000 (00:03 +0000)]
Merge "ServiceManager: Print kernel/userspace binder version"

9 years agoServiceManager: Print kernel/userspace binder version
Serban Constantinescu [Wed, 19 Feb 2014 15:34:02 +0000 (15:34 +0000)]
ServiceManager: Print kernel/userspace binder version

This patch adds extra logging for the binder version in case the userspace
and kernel versions differ.

Change-Id: I9859b29099726cfcfe5ca23d88ed2e101a06af1a
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
9 years agoam 6941090e: (-s ours) am 03af2bf6: (-s ours) am 1e954441: (-s ours) Merge "DO NOT...
Dan Stoza [Fri, 3 Apr 2015 17:07:39 +0000 (17:07 +0000)]
am 6941090e: (-s ours) am 03af2bf6: (-s ours) am 1e954441: (-s ours) Merge "DO NOT MERGE libgui: Plumb attach/detach through Surface"

* commit '6941090eb6eb14d3bd141f72a4af215162094ec0':
  DO NOT MERGE libgui: Plumb attach/detach through Surface

9 years agoam 03af2bf6: (-s ours) am 1e954441: (-s ours) Merge "DO NOT MERGE libgui: Plumb attac...
Dan Stoza [Fri, 3 Apr 2015 16:29:54 +0000 (16:29 +0000)]
am 03af2bf6: (-s ours) am 1e954441: (-s ours) Merge "DO NOT MERGE libgui: Plumb attach/detach through Surface"

* commit '03af2bf6c3a8c81836b572098c3e0be3dc7fc778':
  DO NOT MERGE libgui: Plumb attach/detach through Surface

9 years agoam 1e954441: (-s ours) Merge "DO NOT MERGE libgui: Plumb attach/detach through Surface"
Dan Stoza [Fri, 3 Apr 2015 16:19:55 +0000 (16:19 +0000)]
am 1e954441: (-s ours) Merge "DO NOT MERGE libgui: Plumb attach/detach through Surface"

* commit '1e954441d22d0feb28caceee9fe14bc7729b7b90':
  DO NOT MERGE libgui: Plumb attach/detach through Surface

9 years agoMerge "DO NOT MERGE libgui: Plumb attach/detach through Surface"
Dan Stoza [Fri, 3 Apr 2015 16:10:12 +0000 (16:10 +0000)]
Merge "DO NOT MERGE libgui: Plumb attach/detach through Surface"

9 years agoam bce77997: am ebca76c2: am 9cad1985: Merge "Fix errors caused by unused variables"
Fyodor Kupolov [Fri, 3 Apr 2015 14:52:38 +0000 (14:52 +0000)]
am bce77997: am ebca76c2: am 9cad1985: Merge "Fix errors caused by unused variables"

* commit 'bce7799786ae712bba9b58f1f99cd12ee05b5cf3':
  Fix errors caused by unused variables

9 years agoam a46d5e4b: am 63750cb6: am 4eb88f88: Merge "Support for storing OAT files in app...
Fyodor Kupolov [Fri, 3 Apr 2015 14:52:20 +0000 (14:52 +0000)]
am a46d5e4b: am 63750cb6: am 4eb88f88: Merge "Support for storing OAT files in app directory"

* commit 'a46d5e4b9a598330e2a79395dbd201ab88aded00':
  Support for storing OAT files in app directory

9 years agoam 40da142b: am 2cc42f0b: (-s ours) Installd: Support dex2oat threads system property
Andreas Gampe [Fri, 3 Apr 2015 14:51:58 +0000 (14:51 +0000)]
am 40da142b: am 2cc42f0b: (-s ours) Installd: Support dex2oat threads system property

* commit '40da142bbfd3ff9234e5a51b4c0e8dbbb7617d81':
  Installd: Support dex2oat threads system property

9 years agoam ebca76c2: am 9cad1985: Merge "Fix errors caused by unused variables"
Fyodor Kupolov [Fri, 3 Apr 2015 00:26:42 +0000 (00:26 +0000)]
am ebca76c2: am 9cad1985: Merge "Fix errors caused by unused variables"

* commit 'ebca76c23215579a23dde144d1950037d52452bf':
  Fix errors caused by unused variables

9 years agoam 9cad1985: Merge "Fix errors caused by unused variables"
Fyodor Kupolov [Fri, 3 Apr 2015 00:16:38 +0000 (00:16 +0000)]
am 9cad1985: Merge "Fix errors caused by unused variables"

* commit '9cad1985880f700be3150f05ca3539444da850d2':
  Fix errors caused by unused variables

9 years agoMerge "Fix errors caused by unused variables"
Fyodor Kupolov [Fri, 3 Apr 2015 00:04:25 +0000 (00:04 +0000)]
Merge "Fix errors caused by unused variables"

9 years agoFix errors caused by unused variables
Fyodor Kupolov [Thu, 2 Apr 2015 23:59:10 +0000 (16:59 -0700)]
Fix errors caused by unused variables

Change-Id: Ie52ae0e9a642504ee7b78c6bc54b61549cfb0342

9 years agoam 63750cb6: am 4eb88f88: Merge "Support for storing OAT files in app directory"
Fyodor Kupolov [Thu, 2 Apr 2015 23:27:40 +0000 (23:27 +0000)]
am 63750cb6: am 4eb88f88: Merge "Support for storing OAT files in app directory"

* commit '63750cb6969c5cf70df5d9bfc571ee107456ed5a':
  Support for storing OAT files in app directory

9 years agoam 4eb88f88: Merge "Support for storing OAT files in app directory"
Fyodor Kupolov [Thu, 2 Apr 2015 23:20:59 +0000 (23:20 +0000)]
am 4eb88f88: Merge "Support for storing OAT files in app directory"

* commit '4eb88f883911eb1208e85a9c176481176242af13':
  Support for storing OAT files in app directory

9 years agoam 2cc42f0b: (-s ours) Installd: Support dex2oat threads system property
Andreas Gampe [Thu, 2 Apr 2015 23:11:45 +0000 (23:11 +0000)]
am 2cc42f0b: (-s ours) Installd: Support dex2oat threads system property

* commit '2cc42f0bb3db6ff63fec4cbc282fa8af33d82fca':
  Installd: Support dex2oat threads system property

9 years agoMerge "Support for storing OAT files in app directory"
Fyodor Kupolov [Thu, 2 Apr 2015 23:11:01 +0000 (23:11 +0000)]
Merge "Support for storing OAT files in app directory"

9 years agoMerge "Revert "libgui: Plumb attach/detach through CpuConsumer""
Dan Stoza [Thu, 2 Apr 2015 22:37:04 +0000 (22:37 +0000)]
Merge "Revert "libgui: Plumb attach/detach through CpuConsumer""

9 years agoRevert "libgui: Plumb attach/detach through CpuConsumer"
Dan Stoza [Thu, 2 Apr 2015 20:48:15 +0000 (13:48 -0700)]
Revert "libgui: Plumb attach/detach through CpuConsumer"

This reverts commit 20c5672883796c0dedf38f51dc2fc6f140b09ae6.

9 years agoDO NOT MERGE libgui: Plumb attach/detach through Surface
Dan Stoza [Wed, 11 Mar 2015 18:55:01 +0000 (11:55 -0700)]
DO NOT MERGE libgui: Plumb attach/detach through Surface

Exposes the attachBuffer and detachNextBuffer calls from
IGraphicBufferProducer to the public Surface interface. Also moves
the version of connect that takes a producer callback from protected
to public.

Bug: 19628705
Change-Id: I9ebc3013c4d9c84c4e8ef150c00e03f8af80319e
(cherry picked from commit c14ecb9de243af8864610fd3c74342e3ca2cb4bc)

9 years agoMerge "Parcel.cpp: reject size_t arguments greater than INT32_MAX"
Nick Kralevich [Thu, 2 Apr 2015 18:27:03 +0000 (18:27 +0000)]
Merge "Parcel.cpp: reject size_t arguments greater than INT32_MAX"

9 years agoParcel.cpp: reject size_t arguments greater than INT32_MAX
Nick Kralevich [Thu, 2 Apr 2015 16:36:02 +0000 (09:36 -0700)]
Parcel.cpp: reject size_t arguments greater than INT32_MAX

It's a security best practice for size_t values to be rejected if
they are greater than INT32_SIZE. This is intended to prevent the
common error of inadvertently passing a negative int value to a
function, which after conversion to an unsigned type, becomes a huge
number, defeating the purpose of bounds checking.

This patch also addresses a bug where the call to:
  Parcel::write(buf, (size_t) -1);
would call writeInPlace() which uses PAD_SIZE on the supplied
argument. This would then cause an integer overflow, with PAD_SIZE
returning a small value, but the memcpy in Parcel::write using the
old large length value.

Bug: 19573085
Change-Id: Ib11bfb3dae4f3be91cd17b2c676926700972c7b8

9 years agoMerge "Merge commit '63e8376d0baf494f9dd7e866d8dedb26ffab2a6b' into merge"
Etan Cohen [Thu, 2 Apr 2015 03:10:43 +0000 (03:10 +0000)]
Merge "Merge commit '63e8376d0baf494f9dd7e866d8dedb26ffab2a6b' into merge"

9 years agoam a231a128: am 0f9bf17a: am 23b204e1: Merge "servicemanager: service_manager missing...
Mark Salyzyn [Wed, 1 Apr 2015 22:09:31 +0000 (22:09 +0000)]
am a231a128: am 0f9bf17a: am 23b204e1: Merge "servicemanager: service_manager missing include for string.h"

* commit 'a231a1287815e80a5ab11e30254005b81254d891':
  servicemanager: service_manager missing include for string.h

9 years agoam 0f9bf17a: am 23b204e1: Merge "servicemanager: service_manager missing include...
Mark Salyzyn [Wed, 1 Apr 2015 19:48:52 +0000 (19:48 +0000)]
am 0f9bf17a: am 23b204e1: Merge "servicemanager: service_manager missing include for string.h"

* commit '0f9bf17ad6caf7cec9043b1330cd3387b8881c0f':
  servicemanager: service_manager missing include for string.h

9 years agoam 23b204e1: Merge "servicemanager: service_manager missing include for string.h"
Mark Salyzyn [Wed, 1 Apr 2015 19:38:00 +0000 (19:38 +0000)]
am 23b204e1: Merge "servicemanager: service_manager missing include for string.h"

* commit '23b204e1ee9069b9321b5547e8d17a5014efbacd':
  servicemanager: service_manager missing include for string.h

9 years agoam dfca41d3: (-s ours) am 940414b6: (-s ours) am ef62116d: (-s ours) Merge "DO NOT...
Dan Stoza [Wed, 1 Apr 2015 19:28:13 +0000 (19:28 +0000)]
am dfca41d3: (-s ours) am 940414b6: (-s ours) am ef62116d: (-s ours) Merge "DO NOT MERGE libgui: Remove IGBC::BufferItem"

* commit 'dfca41d3a89e2c6e61c6749b5f5af670bdf90891':
  DO NOT MERGE libgui: Remove IGBC::BufferItem

9 years agoMerge "servicemanager: service_manager missing include for string.h"
Mark Salyzyn [Wed, 1 Apr 2015 19:26:22 +0000 (19:26 +0000)]
Merge "servicemanager: service_manager missing include for string.h"

9 years agoam 940414b6: (-s ours) am ef62116d: (-s ours) Merge "DO NOT MERGE libgui: Remove...
Dan Stoza [Wed, 1 Apr 2015 18:58:38 +0000 (18:58 +0000)]
am 940414b6: (-s ours) am ef62116d: (-s ours) Merge "DO NOT MERGE libgui: Remove IGBC::BufferItem"

* commit '940414b6345f02e6a7e7695ab4fe31810b2c49ef':
  DO NOT MERGE libgui: Remove IGBC::BufferItem

9 years agoam ef62116d: (-s ours) Merge "DO NOT MERGE libgui: Remove IGBC::BufferItem"
Dan Stoza [Wed, 1 Apr 2015 18:48:14 +0000 (18:48 +0000)]
am ef62116d: (-s ours) Merge "DO NOT MERGE libgui: Remove IGBC::BufferItem"

* commit 'ef62116d802237ebac77465d6ff6779ecfe038ae':
  DO NOT MERGE libgui: Remove IGBC::BufferItem

9 years agoMerge "DO NOT MERGE libgui: Remove IGBC::BufferItem"
Dan Stoza [Wed, 1 Apr 2015 18:41:24 +0000 (18:41 +0000)]
Merge "DO NOT MERGE libgui: Remove IGBC::BufferItem"

9 years agoservicemanager: service_manager missing include for string.h
Mark Salyzyn [Wed, 1 Apr 2015 14:52:12 +0000 (07:52 -0700)]
servicemanager: service_manager missing include for string.h

service_manager.c gets string.h inherited from
private/android_filesystem_config.h it should
not rely on this in the future. The intent is
to move fs_config function into libcutils and
thus deprecate any need for string.h in this
include file.

Bug: 19908228
Change-Id: Icc95ee02bf02c596463868b1330d209d1bd5c58a

9 years agoMerge "Add backwards compatible versions of IInterface::asBinder()"
Marco Nelissen [Tue, 31 Mar 2015 22:10:47 +0000 (22:10 +0000)]
Merge "Add backwards compatible versions of IInterface::asBinder()"

9 years agoAdd backwards compatible versions of IInterface::asBinder()
Marco Nelissen [Mon, 17 Nov 2014 23:24:21 +0000 (15:24 -0800)]
Add backwards compatible versions of IInterface::asBinder()

This makes apps linked against the previous non-static versions
work with the new libbinder.

Bug: 19060033
Bug: 19773812

Change-Id: I3b5c78cbb4f4c0681ca1042e4d8503d98f969502

9 years agoMerge "Stub implementations of HAL usage callbacks."
Tim Kilbourn [Tue, 31 Mar 2015 20:22:43 +0000 (20:22 +0000)]
Merge "Stub implementations of HAL usage callbacks."

9 years agoMerge commit '63e8376d0baf494f9dd7e866d8dedb26ffab2a6b' into merge
Etan Cohen [Tue, 31 Mar 2015 16:21:07 +0000 (09:21 -0700)]
Merge commit '63e8376d0baf494f9dd7e866d8dedb26ffab2a6b' into merge

9 years agoInstalld: Support dex2oat threads system property
Andreas Gampe [Tue, 31 Mar 2015 01:45:03 +0000 (18:45 -0700)]
Installd: Support dex2oat threads system property

Check dalvik.vm.dex2oat-threads in installd and pass to dex2oat.

Bug: 19992386

(cherry picked from commit 8d7af8b2418cc5e7e59746f0cb359a75ed0bdfd1)

Change-Id: I5e7806cf560607d31a1d6901dffb14bee538c9cc

9 years agoam 059e9c02: am 8c60cec0: am 5881c8dd: Merge "Installd: Support dex2oat threads syste...
Andreas Gampe [Tue, 31 Mar 2015 03:43:53 +0000 (03:43 +0000)]
am 059e9c02: am 8c60cec0: am 5881c8dd: Merge "Installd: Support dex2oat threads system property"

* commit '059e9c023eb025472db6775f9c2a95191dd6c2bf':
  Installd: Support dex2oat threads system property

9 years agoam 8c60cec0: am 5881c8dd: Merge "Installd: Support dex2oat threads system property"
Andreas Gampe [Tue, 31 Mar 2015 03:31:30 +0000 (03:31 +0000)]
am 8c60cec0: am 5881c8dd: Merge "Installd: Support dex2oat threads system property"

* commit '8c60cec0cf9356842b7d24c33b1d056e0785626b':
  Installd: Support dex2oat threads system property

9 years agoam 5881c8dd: Merge "Installd: Support dex2oat threads system property"
Andreas Gampe [Tue, 31 Mar 2015 03:24:59 +0000 (03:24 +0000)]
am 5881c8dd: Merge "Installd: Support dex2oat threads system property"

* commit '5881c8dd3b5b290cddca0e0f01e2c2f1641826b0':
  Installd: Support dex2oat threads system property

9 years agoMerge "Installd: Support dex2oat threads system property"
Andreas Gampe [Tue, 31 Mar 2015 03:20:15 +0000 (03:20 +0000)]
Merge "Installd: Support dex2oat threads system property"

9 years agoInstalld: Support dex2oat threads system property
Andreas Gampe [Tue, 31 Mar 2015 01:45:03 +0000 (18:45 -0700)]
Installd: Support dex2oat threads system property

Check dalvik.vm.dex2oat-threads in installd and pass to dex2oat.

Bug: 19992386
Change-Id: I5e7806cf560607d31a1d6901dffb14bee538c9cc

9 years agoSupport for storing OAT files in app directory
Fyodor Kupolov [Tue, 3 Mar 2015 20:25:29 +0000 (12:25 -0800)]
Support for storing OAT files in app directory

Changes to installd:
- dexopt now allows oat_dir param for custom output directory
- Added helper method calculate_oat_file_path for calculating oat file
  output location based on oat_dir and apk_path.

Bug: 19550105
Change-Id: I6b079207310583adeb6dad918a58034a059e34c4

9 years agoAdd Package Manager feature to enable MIDI support
Mike Lockwood [Fri, 27 Mar 2015 20:21:56 +0000 (13:21 -0700)]
Add Package Manager feature to enable MIDI support

Change-Id: Ia3cc277af24fcb5117a8d119326de0c8e12bbc09

9 years agoMerge "Use EPOLLWAKEUP properly."
Tim Kilbourn [Fri, 27 Mar 2015 16:24:15 +0000 (16:24 +0000)]
Merge "Use EPOLLWAKEUP properly."

9 years agoam 3e785e2e: am 88c52865: am 0faebfb2: Merge "Add trace_event_clock_sync to atrace"
John Reck [Fri, 27 Mar 2015 00:43:31 +0000 (00:43 +0000)]
am 3e785e2e: am 88c52865: am 0faebfb2: Merge "Add trace_event_clock_sync to atrace"

* commit '3e785e2ef93b068630d0ffb5178a5f38cc249a3d':
  Add trace_event_clock_sync to atrace

9 years agoam 88c52865: am 0faebfb2: Merge "Add trace_event_clock_sync to atrace"
John Reck [Fri, 27 Mar 2015 00:28:25 +0000 (00:28 +0000)]
am 88c52865: am 0faebfb2: Merge "Add trace_event_clock_sync to atrace"

* commit '88c52865f37d9b45c2610b4078bc73f392864572':
  Add trace_event_clock_sync to atrace

9 years agoam 0faebfb2: Merge "Add trace_event_clock_sync to atrace"
John Reck [Fri, 27 Mar 2015 00:21:41 +0000 (00:21 +0000)]
am 0faebfb2: Merge "Add trace_event_clock_sync to atrace"

* commit '0faebfb2f5a07939e7264a94fdcebecc4df39873':
  Add trace_event_clock_sync to atrace

9 years agoMerge "Add trace_event_clock_sync to atrace"
John Reck [Fri, 27 Mar 2015 00:13:32 +0000 (00:13 +0000)]
Merge "Add trace_event_clock_sync to atrace"

9 years agoAdd trace_event_clock_sync to atrace
John Reck [Thu, 26 Mar 2015 22:31:35 +0000 (15:31 -0700)]
Add trace_event_clock_sync to atrace

Change-Id: I8adce15210d82df09ff3a39ddd8df617aeb16a42

9 years agoBuild error SensorManager.
Aravind Akella [Thu, 26 Mar 2015 22:58:59 +0000 (15:58 -0700)]
Build error SensorManager.

Remove forward declaration for String8 and inlcude the corresponding header file.

Change-Id: I89a4ea42295dc9bb6db2c304ff725cc1d498cd55

9 years agoMerge "Support restricted mode in SensorService."
Aravind Akella [Thu, 26 Mar 2015 22:17:33 +0000 (22:17 +0000)]
Merge "Support restricted mode in SensorService."

9 years agoUse EPOLLWAKEUP properly.
Tim Kilbourn [Thu, 26 Mar 2015 21:12:42 +0000 (14:12 -0700)]
Use EPOLLWAKEUP properly.

We were trying to use it only when it wasn't supported.

Bug: 19937342
Change-Id: Id35aef9ad84f101f7ada2eb87fb91e5c5e2b3357

9 years agoam da08fc67: am b84a3dde: am bc5aceb1: Merge "Store odex files in oat/<isa>/ directory."
Richard Uhler [Thu, 26 Mar 2015 16:28:29 +0000 (16:28 +0000)]
am da08fc67: am b84a3dde: am bc5aceb1: Merge "Store odex files in oat/<isa>/ directory."

* commit 'da08fc672ff9643ada87a38fb98c7bd604b678ad':
  Store odex files in oat/<isa>/ directory.

9 years agoam b84a3dde: am bc5aceb1: Merge "Store odex files in oat/<isa>/ directory."
Richard Uhler [Thu, 26 Mar 2015 15:11:28 +0000 (15:11 +0000)]
am b84a3dde: am bc5aceb1: Merge "Store odex files in oat/<isa>/ directory."

* commit 'b84a3dde3583c7c8696679ffaad25c334e85e3cb':
  Store odex files in oat/<isa>/ directory.

9 years agoam bc5aceb1: Merge "Store odex files in oat/<isa>/ directory."
Richard Uhler [Thu, 26 Mar 2015 15:04:46 +0000 (15:04 +0000)]
am bc5aceb1: Merge "Store odex files in oat/<isa>/ directory."

* commit 'bc5aceb1f0a68e96dced1d843278b3bf14504f2c':
  Store odex files in oat/<isa>/ directory.

9 years agoMerge "Store odex files in oat/<isa>/ directory."
Richard Uhler [Thu, 26 Mar 2015 14:57:35 +0000 (14:57 +0000)]
Merge "Store odex files in oat/<isa>/ directory."

9 years agoStore odex files in oat/<isa>/ directory.
Richard Uhler [Wed, 18 Mar 2015 19:39:09 +0000 (12:39 -0700)]
Store odex files in oat/<isa>/ directory.

Previously odex files were stored alongside the dex location as:
  dex location: /foo/bar/base.apk
  odex location: /foo/bar/<isa>/base.odex

This changes where odex files are stored, adding an "oat" directory:
  dex location: /foo/bar/base.apk
  odex location: /foo/bar/oat/<isa>/base.odex

See also the corresponding changes in platform/art and platform/build.

Bug: 19550105
Change-Id: I4c6be4f0c41ff175904846db8e360c4af815b265

9 years agoSupport restricted mode in SensorService.
Aravind Akella [Wed, 11 Feb 2015 23:54:35 +0000 (15:54 -0800)]
Support restricted mode in SensorService.

In restricted mode, only CTS tests can register for sensors or call flush() on them. The requests
from other applications will be ignored.

Change-Id: Ieb923df3e0cfe3390fe2d052af776da79589744b

9 years agoam 28c03cca: am c2a5b469: am a527c07b: Merge "Fix mistake using width instead of...
Jesse Hall [Tue, 24 Mar 2015 21:20:24 +0000 (21:20 +0000)]
am 28c03cca: am c2a5b469: am a527c07b: Merge "Fix mistake using width instead of height."

* commit '28c03cca9835957f6e304b18358243b184fa46f8':
  Fix mistake using width instead of height.

9 years agoam c2a5b469: am a527c07b: Merge "Fix mistake using width instead of height."
Jesse Hall [Tue, 24 Mar 2015 21:06:56 +0000 (21:06 +0000)]
am c2a5b469: am a527c07b: Merge "Fix mistake using width instead of height."

* commit 'c2a5b469a311891d8e3025aea0e4b348044dfaeb':
  Fix mistake using width instead of height.

9 years agoam a527c07b: Merge "Fix mistake using width instead of height."
Jesse Hall [Tue, 24 Mar 2015 20:59:51 +0000 (20:59 +0000)]
am a527c07b: Merge "Fix mistake using width instead of height."

* commit 'a527c07b8d078f7da1114b7055f65b479a148729':
  Fix mistake using width instead of height.

9 years agoMerge "Fix mistake using width instead of height."
Jesse Hall [Tue, 24 Mar 2015 20:52:51 +0000 (20:52 +0000)]
Merge "Fix mistake using width instead of height."

9 years agoMerge "binder: add uint64 support to Parcel."
Ronghua Wu [Tue, 24 Mar 2015 16:42:53 +0000 (16:42 +0000)]
Merge "binder: add uint64 support to Parcel."

9 years agoAdd dataSpace to buffer queues; remove old format enums.
Eino-Ville Talvala [Fri, 20 Feb 2015 00:10:43 +0000 (16:10 -0800)]
Add dataSpace to buffer queues; remove old format enums.

- Wire up new dataSpace parameter through buffer queue stack
- Update tests to include the parameter
- Switch eglApi to using dataSpace to indicate sRGB gamma/linear
  difference
- Remove RAW_SENSOR in favor of RAW16
- Remove use of sRGB format enums
- Add default dataspace to buffer queue core
- Add query for default dataspace

Change-Id: I070bd2e7c56506055c419004c29e2e3feac725df

9 years agoSurface: Permit an IProducerListener on connect
Dan Stoza [Tue, 3 Mar 2015 06:12:37 +0000 (22:12 -0800)]
Surface: Permit an IProducerListener on connect

This change allows clients of Surface to provide an IProducerListener
callback object to Surface::connect, which will be passed down to the
underlying IGraphicBufferProducer

Change-Id: I5ea5229bf3a329bf02c6bd20e7247039c75d136b

9 years agoMerge "Report key request message type for unprefixed EME"
Jeff Tinker [Tue, 24 Mar 2015 00:05:38 +0000 (00:05 +0000)]
Merge "Report key request message type for unprefixed EME"

9 years agoam a290b4b9: am b4cf4d7d: am 6dad1713: Merge "Use verify-at-runtime if debug.usejit...
Mathieu Chartier [Mon, 23 Mar 2015 23:24:13 +0000 (23:24 +0000)]
am a290b4b9: am b4cf4d7d: am 6dad1713: Merge "Use verify-at-runtime if debug.usejit is true"

* commit 'a290b4b9121dab04c2989ab88017b8286075914b':
  Use verify-at-runtime if debug.usejit is true

9 years agoFix mistake using width instead of height.
Christopher Ferris [Mon, 23 Mar 2015 21:32:15 +0000 (14:32 -0700)]
Fix mistake using width instead of height.

Found by rodrigo.chiossi@intel.com.

Change-Id: I49d590ed39f6b47ba58a77a75d66b2964ea1cb1d

9 years agoam da3b1e7f: (-s ours) am 23707911: (-s ours) am 701473cf: (-s ours) Merge "DO NOT...
Dan Stoza [Sun, 22 Mar 2015 00:40:38 +0000 (00:40 +0000)]
am da3b1e7f: (-s ours) am 23707911: (-s ours) am 701473cf: (-s ours) Merge "DO NOT MERGE SurfaceFlinger: Stop using IGBC::BufferItem"

* commit 'da3b1e7ff20559ba368a22421c15ffe2cc079386':
  DO NOT MERGE SurfaceFlinger: Stop using IGBC::BufferItem

9 years agoam c6fdc017: (-s ours) am 355d8118: (-s ours) am 7d89f5b6: (-s ours) Merge "DO NOT...
Dan Stoza [Sun, 22 Mar 2015 00:40:37 +0000 (00:40 +0000)]
am c6fdc017: (-s ours) am 355d8118: (-s ours) am 7d89f5b6: (-s ours) Merge "DO NOT MERGE libgui: Prepare for IGBC::BufferItem removal"

* commit 'c6fdc017fe9ea00dfd3817978c169f64b78e6e95':
  DO NOT MERGE libgui: Prepare for IGBC::BufferItem removal

9 years agoam c795dc00: (-s ours) am 1ca558f7: (-s ours) am f44d13e7: (-s ours) Merge "DO NOT...
Dan Stoza [Sun, 22 Mar 2015 00:40:36 +0000 (00:40 +0000)]
am c795dc00: (-s ours) am 1ca558f7: (-s ours) am f44d13e7: (-s ours) Merge "DO NOT MERGE Add dataSpace to buffer queues; remove old format enums."

* commit 'c795dc007f779103a8fae707e135827d185d943b':
  DO NOT MERGE Add dataSpace to buffer queues; remove old format enums.

9 years agoam b4cf4d7d: am 6dad1713: Merge "Use verify-at-runtime if debug.usejit is true"
Mathieu Chartier [Sat, 21 Mar 2015 17:07:45 +0000 (17:07 +0000)]
am b4cf4d7d: am 6dad1713: Merge "Use verify-at-runtime if debug.usejit is true"

* commit 'b4cf4d7d94c54a9fc49329aa891144f87f53602e':
  Use verify-at-runtime if debug.usejit is true

9 years agoam 6dad1713: Merge "Use verify-at-runtime if debug.usejit is true"
Mathieu Chartier [Sat, 21 Mar 2015 15:29:35 +0000 (15:29 +0000)]
am 6dad1713: Merge "Use verify-at-runtime if debug.usejit is true"

* commit '6dad1713040a46ec6e2ca1b0df2cbe4240e9e2e9':
  Use verify-at-runtime if debug.usejit is true

9 years agoMerge "Use verify-at-runtime if debug.usejit is true"
Mathieu Chartier [Sat, 21 Mar 2015 00:14:27 +0000 (00:14 +0000)]
Merge "Use verify-at-runtime if debug.usejit is true"

9 years agoUse verify-at-runtime if debug.usejit is true
Mathieu Chartier [Fri, 20 Mar 2015 22:39:47 +0000 (15:39 -0700)]
Use verify-at-runtime if debug.usejit is true

Bug: 19735273
Change-Id: Ib65b50dbde00184544a1341f351a0fe0ef504d32

9 years agoDO NOT MERGE libgui: Remove IGBC::BufferItem
Dan Stoza [Fri, 13 Mar 2015 21:40:34 +0000 (14:40 -0700)]
DO NOT MERGE libgui: Remove IGBC::BufferItem

Removes IGraphicBufferConsumer::BufferItem. Depends on the
following changes:
    I187b3a7d05196b6289596afac8fb9a9d4aebff76
    I0ddd38df37500cfd6b21d1e768ed14e39c5cd9fc

Cherry-pick of Id1fa56d092188f2cb712768d5d2fc6a9027fb73c

Change-Id: I3edf0db8fba656fd78e18a5a7f1137f0fb6b237d

9 years agoam 23707911: (-s ours) am 701473cf: (-s ours) Merge "DO NOT MERGE SurfaceFlinger...
Dan Stoza [Fri, 20 Mar 2015 19:13:33 +0000 (19:13 +0000)]
am 23707911: (-s ours) am 701473cf: (-s ours) Merge "DO NOT MERGE SurfaceFlinger: Stop using IGBC::BufferItem"

* commit '237079112d245f8415970bd219cb174dae21ac3b':
  DO NOT MERGE SurfaceFlinger: Stop using IGBC::BufferItem

9 years agoam 355d8118: (-s ours) am 7d89f5b6: (-s ours) Merge "DO NOT MERGE libgui: Prepare...
Dan Stoza [Fri, 20 Mar 2015 19:09:47 +0000 (19:09 +0000)]
am 355d8118: (-s ours) am 7d89f5b6: (-s ours) Merge "DO NOT MERGE libgui: Prepare for IGBC::BufferItem removal"

* commit '355d81184ea6b423e6fa514797e3529b9062c9cd':
  DO NOT MERGE libgui: Prepare for IGBC::BufferItem removal

9 years agoam 701473cf: (-s ours) Merge "DO NOT MERGE SurfaceFlinger: Stop using IGBC::BufferItem"
Dan Stoza [Fri, 20 Mar 2015 19:09:07 +0000 (19:09 +0000)]
am 701473cf: (-s ours) Merge "DO NOT MERGE SurfaceFlinger: Stop using IGBC::BufferItem"

* commit '701473cf9bb1d1da2a0f55d9732d3016e1f33d59':
  DO NOT MERGE SurfaceFlinger: Stop using IGBC::BufferItem

9 years agoMerge "DO NOT MERGE SurfaceFlinger: Stop using IGBC::BufferItem"
Dan Stoza [Fri, 20 Mar 2015 18:56:05 +0000 (18:56 +0000)]
Merge "DO NOT MERGE SurfaceFlinger: Stop using IGBC::BufferItem"

9 years agoam 7d89f5b6: (-s ours) Merge "DO NOT MERGE libgui: Prepare for IGBC::BufferItem removal"
Dan Stoza [Fri, 20 Mar 2015 18:54:28 +0000 (18:54 +0000)]
am 7d89f5b6: (-s ours) Merge "DO NOT MERGE libgui: Prepare for IGBC::BufferItem removal"

* commit '7d89f5b6562da8bb316f04f91dd7cc9fce33d7fd':
  DO NOT MERGE libgui: Prepare for IGBC::BufferItem removal

9 years agoam 1ca558f7: (-s ours) am f44d13e7: (-s ours) Merge "DO NOT MERGE Add dataSpace to...
Dan Stoza [Fri, 20 Mar 2015 18:51:22 +0000 (18:51 +0000)]
am 1ca558f7: (-s ours) am f44d13e7: (-s ours) Merge "DO NOT MERGE Add dataSpace to buffer queues; remove old format enums."

* commit '1ca558f79861f3c652b5b0726532518aa7c92ef1':
  DO NOT MERGE Add dataSpace to buffer queues; remove old format enums.

9 years agoMerge "DO NOT MERGE libgui: Prepare for IGBC::BufferItem removal"
Dan Stoza [Fri, 20 Mar 2015 18:47:47 +0000 (18:47 +0000)]
Merge "DO NOT MERGE libgui: Prepare for IGBC::BufferItem removal"

9 years agoam f44d13e7: (-s ours) Merge "DO NOT MERGE Add dataSpace to buffer queues; remove...
Dan Stoza [Fri, 20 Mar 2015 18:40:55 +0000 (18:40 +0000)]
am f44d13e7: (-s ours) Merge "DO NOT MERGE Add dataSpace to buffer queues; remove old format enums."

* commit 'f44d13e7e574f181750fa37f439ab50cf05ab3df':
  DO NOT MERGE Add dataSpace to buffer queues; remove old format enums.

9 years agoMerge "DO NOT MERGE Add dataSpace to buffer queues; remove old format enums."
Dan Stoza [Fri, 20 Mar 2015 18:36:18 +0000 (18:36 +0000)]
Merge "DO NOT MERGE Add dataSpace to buffer queues; remove old format enums."

9 years agobinder: add uint64 support to Parcel.
Ronghua Wu [Mon, 16 Mar 2015 18:11:07 +0000 (11:11 -0700)]
binder: add uint64 support to Parcel.

Bug: 19620911
Change-Id: Ifce5319e4e35afd344dead67ab7ba1cd399476a3

9 years agoDO NOT MERGE SurfaceFlinger: Stop using IGBC::BufferItem
Dan Stoza [Thu, 12 Mar 2015 22:12:44 +0000 (15:12 -0700)]
DO NOT MERGE SurfaceFlinger: Stop using IGBC::BufferItem

Switches all uses of IGraphicBufferConsumer::BufferItem (and
BufferQueue::BufferItem) to the BufferItem in libgui. Depends on
frameworks/native I699ed0a6837076867ca756b28d1ffb2238f7a0d9.

Cherry pick of I187b3a7d05196b6289596afac8fb9a9d4aebff76

Change-Id: I5bc79fb96b6cba6021af64b20890967aa3b7fcbf

9 years agoDO NOT MERGE libgui: Prepare for IGBC::BufferItem removal
Dan Stoza [Wed, 11 Mar 2015 21:04:22 +0000 (14:04 -0700)]
DO NOT MERGE libgui: Prepare for IGBC::BufferItem removal

Currently, there are two instances of BufferItem: one inside of
IGraphicBufferConsumer, and a standalone one inside of libgui. They
only differ in the name of one of the fields, and we want to remove
the IGBC version. This changes things so that client code may be
incrementally switched over to the libgui version.

This is a squashed commit containing the following changes:
    I64f495105f56cbf5803cea4aa6b072ea29b70cf5
    I1394e693314429ada93427889f10b7b01c948053
    I9c3bc8037fa9438d4d9080b8afb694219ef2f71f
    I699ed0a6837076867ca756b28d1ffb2238f7a0d9
    Iac8425e1241774304a131da2fb9dec6e82922f13

Change-Id: Ic4d51f5df6dbc70b376d13fceba2335b9bae4f3d

9 years agoDO NOT MERGE Add dataSpace to buffer queues; remove old format enums.
Eino-Ville Talvala [Fri, 20 Feb 2015 00:10:43 +0000 (16:10 -0800)]
DO NOT MERGE Add dataSpace to buffer queues; remove old format enums.

- Wire up new dataSpace parameter through buffer queue stack
- Update tests to include the parameter
- Switch eglApi to using dataSpace to indicate sRGB gamma/linear
  difference
- Remove RAW_SENSOR in favor of RAW16
- Remove use of sRGB format enums
- Add default dataspace to buffer queue core
- Add query for default dataspace

Cherry pick of I070bd2e7c56506055c419004c29e2e3feac725df

Change-Id: I461952389c18051176c6b75e664f20ad369f5760

9 years agoam 4b9d0b9b: am f3201498: Merge "dumpstate: add O_CLOEXEC"
Nick Kralevich [Thu, 19 Mar 2015 19:11:11 +0000 (19:11 +0000)]
am 4b9d0b9b: am f3201498: Merge "dumpstate: add O_CLOEXEC"

* commit '4b9d0b9b676afec086bf579015b2f74623b357fd':
  dumpstate: add O_CLOEXEC

9 years agoam f3201498: Merge "dumpstate: add O_CLOEXEC"
Nick Kralevich [Thu, 19 Mar 2015 19:02:53 +0000 (19:02 +0000)]
am f3201498: Merge "dumpstate: add O_CLOEXEC"

* commit 'f320149886ba8ab8849c8b8f3df256e3789f3905':
  dumpstate: add O_CLOEXEC

9 years agoMerge "dumpstate: add O_CLOEXEC"
Nick Kralevich [Thu, 19 Mar 2015 18:48:07 +0000 (18:48 +0000)]
Merge "dumpstate: add O_CLOEXEC"

9 years agodumpstate: add O_CLOEXEC
Nick Kralevich [Thu, 19 Mar 2015 18:30:59 +0000 (11:30 -0700)]
dumpstate: add O_CLOEXEC

Add O_CLOEXEC to various file descriptor calls, to avoid
leaking file descriptors to dumpstate's child processes.

Bug: 18342188
Change-Id: I74c47a98dfddc29c618067ad53d879b98ed1d87a

9 years agolibgui: Fix bad merge in Surface.h
Dan Stoza [Thu, 19 Mar 2015 18:26:45 +0000 (11:26 -0700)]
libgui: Fix bad merge in Surface.h

Fixes a bad merge from AOSP.

Change-Id: Idb69b34787e8f4e76fb64130573168e5fde6a87c

9 years agoam 663eaf42: am ad36432d: Merge "Surface: Permit an IProducerListener on connect"
Dan Stoza [Thu, 19 Mar 2015 18:04:45 +0000 (18:04 +0000)]
am 663eaf42: am ad36432d: Merge "Surface: Permit an IProducerListener on connect"

* commit '663eaf422d325768808b416d66ecd4648bb14799':
  Surface: Permit an IProducerListener on connect

9 years agoam ad36432d: Merge "Surface: Permit an IProducerListener on connect"
Dan Stoza [Thu, 19 Mar 2015 17:56:44 +0000 (17:56 +0000)]
am ad36432d: Merge "Surface: Permit an IProducerListener on connect"

* commit 'ad36432de81c4c88d726680b7c52e8357df98455':
  Surface: Permit an IProducerListener on connect