OSDN Git Service

android-x86/frameworks-native.git
9 years agoam ad6f4996: am 25327881: am 066fadb9: Merge "More volume UUID awareness."
Jeff Sharkey [Thu, 9 Apr 2015 20:24:05 +0000 (20:24 +0000)]
am ad6f4996: am 25327881: am 066fadb9: Merge "More volume UUID awareness."

* commit 'ad6f4996dc909dcb8e6e369bf41be514077fb142':
  More volume UUID awareness.

9 years agoam 25327881: am 066fadb9: Merge "More volume UUID awareness."
Jeff Sharkey [Thu, 9 Apr 2015 20:03:58 +0000 (20:03 +0000)]
am 25327881: am 066fadb9: Merge "More volume UUID awareness."

* commit '25327881e339bd88045e0ecf17185d2edb479d7c':
  More volume UUID awareness.

9 years agoam 066fadb9: Merge "More volume UUID awareness."
Jeff Sharkey [Thu, 9 Apr 2015 19:53:33 +0000 (19:53 +0000)]
am 066fadb9: Merge "More volume UUID awareness."

* commit '066fadb983b117a7682af00780d23d16232ab0e2':
  More volume UUID awareness.

9 years agoMerge "More volume UUID awareness."
Jeff Sharkey [Thu, 9 Apr 2015 19:45:03 +0000 (19:45 +0000)]
Merge "More volume UUID awareness."

9 years agoMore volume UUID awareness.
Jeff Sharkey [Thu, 9 Apr 2015 18:34:03 +0000 (11:34 -0700)]
More volume UUID awareness.

Teach free_cache() and restorecon_data() about building per-volume
paths.  Also clean up restorecon_data() by using std::string when
building paths.

Clearer names for path building utility methods, and tests to verify.

Bug: 19993667
Change-Id: Iacfbcdaa5b901cc2490bc8eba366dfdeb44f1d93

9 years agoam 6930a29a: am cae83eca: am f9ab2ad2: Merge "Installd: Fix Clang build"
Andreas Gampe [Thu, 9 Apr 2015 17:36:05 +0000 (17:36 +0000)]
am 6930a29a: am cae83eca: am f9ab2ad2: Merge "Installd: Fix Clang build"

* commit '6930a29af13f4a958fa7cba544233d2febe4040b':
  Installd: Fix Clang build

9 years agoam cae83eca: am f9ab2ad2: Merge "Installd: Fix Clang build"
Andreas Gampe [Thu, 9 Apr 2015 17:16:47 +0000 (17:16 +0000)]
am cae83eca: am f9ab2ad2: Merge "Installd: Fix Clang build"

* commit 'cae83eca2476c5f730aebaffdfb6443e6780bb2f':
  Installd: Fix Clang build

9 years agoMerge "Pass through availability of audio mic for input devices."
Tim Kilbourn [Thu, 9 Apr 2015 17:06:47 +0000 (17:06 +0000)]
Merge "Pass through availability of audio mic for input devices."

9 years agoam f9ab2ad2: Merge "Installd: Fix Clang build"
Andreas Gampe [Thu, 9 Apr 2015 17:05:44 +0000 (17:05 +0000)]
am f9ab2ad2: Merge "Installd: Fix Clang build"

* commit 'f9ab2ad2d5786b2dd04f08f5d5a67102bd3d796a':
  Installd: Fix Clang build

9 years agoPass through availability of audio mic for input devices.
Tim Kilbourn [Wed, 8 Apr 2015 17:26:18 +0000 (10:26 -0700)]
Pass through availability of audio mic for input devices.

Bug: 15374820
Change-Id: Id2ca6da10165e3a887ebfbb18f663a3bf316ac79

9 years agoam 65fe5dfd: am cbde9b92: am d107c305: Merge "Plumb through volume UUID when building...
Jeff Sharkey [Thu, 9 Apr 2015 17:00:44 +0000 (17:00 +0000)]
am 65fe5dfd: am cbde9b92: am d107c305: Merge "Plumb through volume UUID when building paths."

* commit '65fe5dfdcd08650e0dfbb39f4a716567fb910cab':
  Plumb through volume UUID when building paths.

9 years agoMerge "Installd: Fix Clang build"
Andreas Gampe [Thu, 9 Apr 2015 16:55:48 +0000 (16:55 +0000)]
Merge "Installd: Fix Clang build"

9 years agoInstalld: Fix Clang build
Andreas Gampe [Thu, 9 Apr 2015 16:52:45 +0000 (09:52 -0700)]
Installd: Fix Clang build

Remove some unused parameters and variables.

Change-Id: I507ae48fe1744b800ceb29192d463fd26c2ccda7

9 years agoam cbde9b92: am d107c305: Merge "Plumb through volume UUID when building paths."
Jeff Sharkey [Thu, 9 Apr 2015 16:45:31 +0000 (16:45 +0000)]
am cbde9b92: am d107c305: Merge "Plumb through volume UUID when building paths."

* commit 'cbde9b920461225b5400abf5700eec1b62f5ce82':
  Plumb through volume UUID when building paths.

9 years agoam d107c305: Merge "Plumb through volume UUID when building paths."
Jeff Sharkey [Thu, 9 Apr 2015 16:35:20 +0000 (16:35 +0000)]
am d107c305: Merge "Plumb through volume UUID when building paths."

* commit 'd107c305f74592e8078754b317d840a2dde661db':
  Plumb through volume UUID when building paths.

9 years agoMerge "Plumb through volume UUID when building paths."
Jeff Sharkey [Thu, 9 Apr 2015 16:27:18 +0000 (16:27 +0000)]
Merge "Plumb through volume UUID when building paths."

9 years agoam b8d1ee37: am 19db8c88: am ab91d03b: Merge "installd: Add support for SELF_PATCHOAT...
Richard Uhler [Thu, 9 Apr 2015 14:51:00 +0000 (14:51 +0000)]
am b8d1ee37: am 19db8c88: am ab91d03b: Merge "installd: Add support for SELF_PATCHOAT_NEEDED."

* commit 'b8d1ee37c4a6897442f5d381d5eb7162e04fcebd':
  installd: Add support for SELF_PATCHOAT_NEEDED.

9 years agoam 19db8c88: am ab91d03b: Merge "installd: Add support for SELF_PATCHOAT_NEEDED."
Richard Uhler [Thu, 9 Apr 2015 14:31:03 +0000 (14:31 +0000)]
am 19db8c88: am ab91d03b: Merge "installd: Add support for SELF_PATCHOAT_NEEDED."

* commit '19db8c884bb6943113420395b581c72f2f3c6cae':
  installd: Add support for SELF_PATCHOAT_NEEDED.

9 years agoam ab91d03b: Merge "installd: Add support for SELF_PATCHOAT_NEEDED."
Richard Uhler [Thu, 9 Apr 2015 14:20:53 +0000 (14:20 +0000)]
am ab91d03b: Merge "installd: Add support for SELF_PATCHOAT_NEEDED."

* commit 'ab91d03b0dfebf40e98034670892c278ae0a46e5':
  installd: Add support for SELF_PATCHOAT_NEEDED.

9 years agoMerge "installd: Add support for SELF_PATCHOAT_NEEDED."
Richard Uhler [Thu, 9 Apr 2015 14:13:27 +0000 (14:13 +0000)]
Merge "installd: Add support for SELF_PATCHOAT_NEEDED."

9 years agoam d029e95a: am 1b0a8702: am ad436ab5: Merge "dumpstate: scrub APANIC"
Mark Salyzyn [Wed, 8 Apr 2015 22:07:20 +0000 (22:07 +0000)]
am d029e95a: am 1b0a8702: am ad436ab5: Merge "dumpstate: scrub APANIC"

* commit 'd029e95a58ea0927ebd3431d9991cd316e568002':
  dumpstate: scrub APANIC

9 years agoam 1b0a8702: am ad436ab5: Merge "dumpstate: scrub APANIC"
Mark Salyzyn [Wed, 8 Apr 2015 21:37:14 +0000 (21:37 +0000)]
am 1b0a8702: am ad436ab5: Merge "dumpstate: scrub APANIC"

* commit '1b0a8702322b2b6ed2fa245cf92e87a1e5feea6c':
  dumpstate: scrub APANIC

9 years agoam ad436ab5: Merge "dumpstate: scrub APANIC"
Mark Salyzyn [Wed, 8 Apr 2015 18:11:30 +0000 (18:11 +0000)]
am ad436ab5: Merge "dumpstate: scrub APANIC"

* commit 'ad436ab54a649075b25ab755344fd011bd0c9262':
  dumpstate: scrub APANIC

9 years agoMerge "dumpstate: scrub APANIC"
Mark Salyzyn [Wed, 8 Apr 2015 18:03:35 +0000 (18:03 +0000)]
Merge "dumpstate: scrub APANIC"

9 years agodumpstate: scrub APANIC
Mark Salyzyn [Wed, 8 Apr 2015 17:51:51 +0000 (10:51 -0700)]
dumpstate: scrub APANIC

Bug: 19525200
Change-Id: Ia2d2857cac953fb4ceafb66ddf775d89d7a777b1

9 years agoPlumb through volume UUID when building paths.
Jeff Sharkey [Wed, 8 Apr 2015 01:14:05 +0000 (18:14 -0700)]
Plumb through volume UUID when building paths.

Since app data paths can live on expanded storage devices, accept the
target volume UUID when building paths.  The null UUID indicates the
default internal storage.

To improve readability, start using std::string in several places,
which throws when allocations fail.  For now, perform last-second
sanity checks on incoming path arguments, but we'll eventually want
to check arguments as they come through installd.cpp, instead of
crashing the entire daemon.

Also remove "lib" symlink code from install() and make_user_data(),
since we're no longer supporting /data/app-lib.  The framework
already uses linklib() to create the right symlink for the selected
ISA-specific library dir.

Bug: 19993667
Change-Id: Ib9343575ffb62bf3981e19375de8f3822fc31e28

9 years agoinstalld: Add support for SELF_PATCHOAT_NEEDED.
Richard Uhler [Thu, 26 Mar 2015 22:47:38 +0000 (15:47 -0700)]
installd: Add support for SELF_PATCHOAT_NEEDED.

Change-Id: Ib9a6373f98474f1242367b5285086251a9d580e5

9 years agoam 172ff24c: am 5977851b: am 00afb817: Merge "libgui: Plumb detachBuffer through...
Dan Stoza [Tue, 7 Apr 2015 23:18:48 +0000 (23:18 +0000)]
am 172ff24c: am 5977851b: am 00afb817: Merge "libgui: Plumb detachBuffer through ConsumerBase"

* commit '172ff24ccbc232cdf244a2bcbbb51df754929521':
  libgui: Plumb detachBuffer through ConsumerBase

9 years agoam 5977851b: am 00afb817: Merge "libgui: Plumb detachBuffer through ConsumerBase"
Dan Stoza [Tue, 7 Apr 2015 22:58:47 +0000 (22:58 +0000)]
am 5977851b: am 00afb817: Merge "libgui: Plumb detachBuffer through ConsumerBase"

* commit '5977851b80549f24cd9164ec075b79c6c6291fa5':
  libgui: Plumb detachBuffer through ConsumerBase

9 years agoam 00afb817: Merge "libgui: Plumb detachBuffer through ConsumerBase"
Dan Stoza [Tue, 7 Apr 2015 22:47:50 +0000 (22:47 +0000)]
am 00afb817: Merge "libgui: Plumb detachBuffer through ConsumerBase"

* commit '00afb8177fdbf144c75c00e9eacc915589807d35':
  libgui: Plumb detachBuffer through ConsumerBase

9 years agoMerge "libgui: Plumb detachBuffer through ConsumerBase"
Dan Stoza [Tue, 7 Apr 2015 22:38:00 +0000 (22:38 +0000)]
Merge "libgui: Plumb detachBuffer through ConsumerBase"

9 years agoam 6b4f28a7: am a53e955a: Merge "libgui: Plumb attach/detach through Surface" into...
Dan Stoza [Tue, 7 Apr 2015 22:33:07 +0000 (22:33 +0000)]
am 6b4f28a7: am a53e955a: Merge "libgui: Plumb attach/detach through Surface" into stage-aosp-master

* commit '6b4f28a7930c115f4b9e0d4fdfcd41b3bb58bf58':
  libgui: Plumb attach/detach through Surface

9 years agoam a53e955a: Merge "libgui: Plumb attach/detach through Surface" into stage-aosp...
Dan Stoza [Tue, 7 Apr 2015 22:12:33 +0000 (22:12 +0000)]
am a53e955a: Merge "libgui: Plumb attach/detach through Surface" into stage-aosp-master

* commit 'a53e955ad882793bb6fea00d4d110a3d8878ab57':
  libgui: Plumb attach/detach through Surface

9 years agolibgui: Plumb detachBuffer through ConsumerBase
Dan Stoza [Fri, 3 Apr 2015 21:22:05 +0000 (14:22 -0700)]
libgui: Plumb detachBuffer through ConsumerBase

Exposes IGraphicBufferConsumer::detachBuffer as a ConsumerBase
method. attachBuffer is not currently exposed, because all current
clients will be recycling buffers through the allocator.

Bug: 19628705
Change-Id: I3e519767fa43d5d880c1d5695e31b60f6ad588af

9 years agoMerge "libgui: Plumb attach/detach through Surface" into stage-aosp-master
Dan Stoza [Tue, 7 Apr 2015 22:00:36 +0000 (22:00 +0000)]
Merge "libgui: Plumb attach/detach through Surface" into stage-aosp-master

9 years agoam 6d9e3dc5: am e55cae86: Merge "libgui: Remove IGBC::BufferItem" into stage-aosp...
Dan Stoza [Tue, 7 Apr 2015 21:53:20 +0000 (21:53 +0000)]
am 6d9e3dc5: am e55cae86: Merge "libgui: Remove IGBC::BufferItem" into stage-aosp-master

* commit '6d9e3dc5ca8e519218053f3f2f0e5068c835aba9':
  libgui: Remove IGBC::BufferItem

9 years agoam eb3704a5: am 9e99fce8: am 1cd030be: Merge "Switch installd to compile as C++."
Jeff Sharkey [Tue, 7 Apr 2015 21:53:19 +0000 (21:53 +0000)]
am eb3704a5: am 9e99fce8: am 1cd030be: Merge "Switch installd to compile as C++."

* commit 'eb3704a58e62c0f85cfea776df1040b677263c80':
  Switch installd to compile as C++.

9 years agoam f3529d9a: am dc10342d: am 2d42dc74: Merge "Valid APK paths now include expanded...
Jeff Sharkey [Tue, 7 Apr 2015 21:53:18 +0000 (21:53 +0000)]
am f3529d9a: am dc10342d: am 2d42dc74: Merge "Valid APK paths now include expanded storage."

* commit 'f3529d9aba9030ed4f3b7ac9570db0f401d9c1fb':
  Valid APK paths now include expanded storage.

9 years agoam e55cae86: Merge "libgui: Remove IGBC::BufferItem" into stage-aosp-master
Dan Stoza [Tue, 7 Apr 2015 21:24:02 +0000 (21:24 +0000)]
am e55cae86: Merge "libgui: Remove IGBC::BufferItem" into stage-aosp-master

* commit 'e55cae86e6217a86d94bf280c6c8442bef2dd908':
  libgui: Remove IGBC::BufferItem

9 years agoam 9e99fce8: am 1cd030be: Merge "Switch installd to compile as C++."
Jeff Sharkey [Tue, 7 Apr 2015 21:24:01 +0000 (21:24 +0000)]
am 9e99fce8: am 1cd030be: Merge "Switch installd to compile as C++."

* commit '9e99fce820c2d520f5618cb620cc1e37aed57b9d':
  Switch installd to compile as C++.

9 years agoam dc10342d: am 2d42dc74: Merge "Valid APK paths now include expanded storage."
Jeff Sharkey [Tue, 7 Apr 2015 21:24:00 +0000 (21:24 +0000)]
am dc10342d: am 2d42dc74: Merge "Valid APK paths now include expanded storage."

* commit 'dc10342dc9031883046b4b44d009a4422545e7e2':
  Valid APK paths now include expanded storage.

9 years agoMerge "libgui: Remove IGBC::BufferItem" into stage-aosp-master
Dan Stoza [Tue, 7 Apr 2015 21:16:33 +0000 (21:16 +0000)]
Merge "libgui: Remove IGBC::BufferItem" into stage-aosp-master

9 years agoam 1cd030be: Merge "Switch installd to compile as C++."
Jeff Sharkey [Tue, 7 Apr 2015 21:13:43 +0000 (21:13 +0000)]
am 1cd030be: Merge "Switch installd to compile as C++."

* commit '1cd030be59c108cde25234f0d2da83a68a7cdd26':
  Switch installd to compile as C++.

9 years agoam 2d42dc74: Merge "Valid APK paths now include expanded storage."
Jeff Sharkey [Tue, 7 Apr 2015 21:13:42 +0000 (21:13 +0000)]
am 2d42dc74: Merge "Valid APK paths now include expanded storage."

* commit '2d42dc74e9b647345a5d4ba79bcdadbf700002e2':
  Valid APK paths now include expanded storage.

9 years agoMerge "Switch installd to compile as C++."
Jeff Sharkey [Tue, 7 Apr 2015 21:04:28 +0000 (21:04 +0000)]
Merge "Switch installd to compile as C++."

9 years agoMerge "Valid APK paths now include expanded storage."
Jeff Sharkey [Tue, 7 Apr 2015 21:03:41 +0000 (21:03 +0000)]
Merge "Valid APK paths now include expanded storage."

9 years agoSwitch installd to compile as C++.
Jeff Sharkey [Tue, 7 Apr 2015 19:44:51 +0000 (12:44 -0700)]
Switch installd to compile as C++.

This is the minimal change needed to switch it over to C++, which
paves the way for using more robust utilities like std::string.

Change-Id: I80ed6280146875eb6ddbbb340c05450388ca13f0

9 years agoValid APK paths now include expanded storage.
Jeff Sharkey [Mon, 6 Apr 2015 23:19:39 +0000 (16:19 -0700)]
Valid APK paths now include expanded storage.

Apps on expanded storage live at /mnt/expand/<uuid>/app/com.example,
so we need to relax one more directory level.

Bug: 19993667
Change-Id: I347ec7b92435ea69e632ed5d5fdfabe38ce0b56e

9 years agolibgui: Plumb attach/detach through Surface
Dan Stoza [Wed, 11 Mar 2015 18:55:01 +0000 (11:55 -0700)]
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 231832eb27107fb561467f5f4a9be2c577c61ea8)

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

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

Change-Id: I3edf0db8fba656fd78e18a5a7f1137f0fb6b237d
(cherry picked from commit 1c87e474d87d6d1380fb61d476d606b1a2fda1c1)

9 years agoam b58e6cbf: am 4914f85f: am 8f43f77d: Merge "Use AID_SYSTEM as uid when creating...
Fyodor Kupolov [Tue, 7 Apr 2015 20:49:09 +0000 (20:49 +0000)]
am b58e6cbf: am 4914f85f: am 8f43f77d: Merge "Use AID_SYSTEM as uid when creating oat dir"

* commit 'b58e6cbfa726add05bbe5e31e8ca13815ccf2049':
  Use AID_SYSTEM as uid when creating oat dir

9 years agoam 4914f85f: am 8f43f77d: Merge "Use AID_SYSTEM as uid when creating oat dir"
Fyodor Kupolov [Tue, 7 Apr 2015 20:27:49 +0000 (20:27 +0000)]
am 4914f85f: am 8f43f77d: Merge "Use AID_SYSTEM as uid when creating oat dir"

* commit '4914f85f8073073194da5a88c557220456777eda':
  Use AID_SYSTEM as uid when creating oat dir

9 years agoam 8f43f77d: Merge "Use AID_SYSTEM as uid when creating oat dir"
Fyodor Kupolov [Tue, 7 Apr 2015 20:18:23 +0000 (20:18 +0000)]
am 8f43f77d: Merge "Use AID_SYSTEM as uid when creating oat dir"

* commit '8f43f77de89df935e7dc2fdeddee132580bb5705':
  Use AID_SYSTEM as uid when creating oat dir

9 years agoMerge "Use AID_SYSTEM as uid when creating oat dir"
Fyodor Kupolov [Tue, 7 Apr 2015 20:09:43 +0000 (20:09 +0000)]
Merge "Use AID_SYSTEM as uid when creating oat dir"

9 years agoam 11da530a: (-s ours) Merge "Cherry-pick dataSpace and BufferItem changes" into...
Dan Stoza [Tue, 7 Apr 2015 18:50:47 +0000 (18:50 +0000)]
am 11da530a: (-s ours) Merge "Cherry-pick dataSpace and BufferItem changes" into lmp-mr1-dev-plus-aosp

* commit '11da530a704fc9406d6779c5b985d3394c6a8474':
  Cherry-pick dataSpace and BufferItem changes

9 years agoUse AID_SYSTEM as uid when creating oat dir
Fyodor Kupolov [Tue, 7 Apr 2015 02:09:02 +0000 (19:09 -0700)]
Use AID_SYSTEM as uid when creating oat dir

Previously AID_INSTALL was used, which was causing permission denied errors
when PackageManager was trying to recursively rename staging directory

Bug: 19550105
Bug: 20087446
Change-Id: I3a9e3056c1fbc1ce0077a3ce52cf77ea6b5085ee

9 years agoMerge "Cherry-pick dataSpace and BufferItem changes" into lmp-mr1-dev-plus-aosp
Dan Stoza [Tue, 7 Apr 2015 18:14:37 +0000 (18:14 +0000)]
Merge "Cherry-pick dataSpace and BufferItem changes" into lmp-mr1-dev-plus-aosp

9 years agoCherry-pick dataSpace and BufferItem changes
Eino-Ville Talvala [Fri, 20 Feb 2015 00:10:43 +0000 (16:10 -0800)]
Cherry-pick dataSpace and BufferItem changes

Add dataSpace to buffer queues; remove old format enums.
(cherry picked from commit 82c6bcc9705eabcaf5b9e45bc81867b0e2d61a02)

libgui: Prepare for IGBC::BufferItem removal
(cherry picked from commit cf3834db104e0b052056e3a06d46e3f222f0d372)

SurfaceFlinger: Stop using IGBC::BufferItem
(cherry picked from commit 11611f9be590480d7ea27bf0153558573ddcded2)

Change-Id: Ic2e4770b916d2d1477e5ce98c4b49a0072ea03ff
(cherry picked from commit 6c450101753d0219b151e79007bcded1bfbb058b)

9 years agoMerge "Valid APK paths now include expanded storage."
Jeff Sharkey [Tue, 7 Apr 2015 04:24:26 +0000 (04:24 +0000)]
Merge "Valid APK paths now include expanded storage."

9 years agoMerge "Add support for int64, float, double types to service command."
Jeff Brown [Tue, 7 Apr 2015 03:50:29 +0000 (03:50 +0000)]
Merge "Add support for int64, float, double types to service command."

9 years agoAdd support for int64, float, double types to service command.
Jeff Brown [Tue, 7 Apr 2015 02:42:43 +0000 (19:42 -0700)]
Add support for int64, float, double types to service command.

Comes in handy for invoking transactions that require these types.

Change-Id: I8f14519a2531ab2ec7f3218ecda6d1868f6dd7b3

9 years agoValid APK paths now include expanded storage.
Jeff Sharkey [Mon, 6 Apr 2015 23:19:39 +0000 (16:19 -0700)]
Valid APK paths now include expanded storage.

Apps on expanded storage live at /mnt/expand/<uuid>/app/com.example,
so we need to relax one more directory level.

Bug: 19993667
Change-Id: I347ec7b92435ea69e632ed5d5fdfabe38ce0b56e

9 years agoam 7b5f82d8: am 46072d58: am a60ff367: Merge "Remove useless \'svcmgr_handle\' (which...
Elliott Hughes [Mon, 6 Apr 2015 23:53:49 +0000 (23:53 +0000)]
am 7b5f82d8: am 46072d58: am a60ff367: Merge "Remove useless \'svcmgr_handle\' (which had wrong type)."

* commit '7b5f82d8d726e4bcd21c19340c0743a728bc0253':
  Remove useless 'svcmgr_handle' (which had wrong type).

9 years agoam 46072d58: am a60ff367: Merge "Remove useless \'svcmgr_handle\' (which had wrong...
Elliott Hughes [Mon, 6 Apr 2015 23:30:25 +0000 (23:30 +0000)]
am 46072d58: am a60ff367: Merge "Remove useless \'svcmgr_handle\' (which had wrong type)."

* commit '46072d5834aaef51922667972f02241a220333b8':
  Remove useless 'svcmgr_handle' (which had wrong type).

9 years agoam 40191799: (-s ours) am 6c450101: (-s ours) DO NOT MERGE Cherry-pick dataSpace...
Eino-Ville Talvala [Mon, 6 Apr 2015 23:28:16 +0000 (23:28 +0000)]
am 40191799: (-s ours) am 6c450101: (-s ours) DO NOT MERGE Cherry-pick dataSpace and BufferItem changes

* commit '4019179991bae66f72bae8e81c0f2399da4ee85e':
  DO NOT MERGE Cherry-pick dataSpace and BufferItem changes

9 years agoam a60ff367: Merge "Remove useless \'svcmgr_handle\' (which had wrong type)."
Elliott Hughes [Mon, 6 Apr 2015 23:19:41 +0000 (23:19 +0000)]
am a60ff367: Merge "Remove useless \'svcmgr_handle\' (which had wrong type)."

* commit 'a60ff367a4f55ea319625cf500687c5025604f40':
  Remove useless 'svcmgr_handle' (which had wrong type).

9 years agoMerge "Remove useless 'svcmgr_handle' (which had wrong type)."
Elliott Hughes [Mon, 6 Apr 2015 23:13:27 +0000 (23:13 +0000)]
Merge "Remove useless 'svcmgr_handle' (which had wrong type)."

9 years agoam 6c450101: (-s ours) DO NOT MERGE Cherry-pick dataSpace and BufferItem changes
Eino-Ville Talvala [Mon, 6 Apr 2015 21:15:33 +0000 (21:15 +0000)]
am 6c450101: (-s ours) DO NOT MERGE Cherry-pick dataSpace and BufferItem changes

* commit '6c450101753d0219b151e79007bcded1bfbb058b':
  DO NOT MERGE Cherry-pick dataSpace and BufferItem changes

9 years agoDO NOT MERGE Cherry-pick dataSpace and BufferItem changes
Eino-Ville Talvala [Fri, 20 Feb 2015 00:10:43 +0000 (16:10 -0800)]
DO NOT MERGE Cherry-pick dataSpace and BufferItem changes

DO NOT MERGE Add dataSpace to buffer queues; remove old format enums.
(cherry picked from commit 82c6bcc9705eabcaf5b9e45bc81867b0e2d61a02)

DO NOT MERGE libgui: Prepare for IGBC::BufferItem removal
(cherry picked from commit cf3834db104e0b052056e3a06d46e3f222f0d372)

DO NOT MERGE SurfaceFlinger: Stop using IGBC::BufferItem
(cherry picked from commit 11611f9be590480d7ea27bf0153558573ddcded2)

9 years agoRemove useless 'svcmgr_handle' (which had wrong type).
Elliott Hughes [Fri, 3 Apr 2015 23:51:18 +0000 (16:51 -0700)]
Remove useless 'svcmgr_handle' (which had wrong type).

Also use the 'ptr' union member rather than 'handle'.

Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
Change-Id: I68e5336cd3af3bc61dbddd2b33d7e1512c0c329c

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