Commit Graph

52447 Commits

Author SHA1 Message Date
Jeff Sharkey
16af1b044e am 8571e647: am 997eb5dd: am 44a38d93: Merge "Start accepting volume UUIDs from framework."
* commit '8571e647da1e9c2227d22034ba6462235273cb02':
  Start accepting volume UUIDs from framework.
2015-04-09 22:17:46 +00:00
Jeff Sharkey
8571e647da am 997eb5dd: am 44a38d93: Merge "Start accepting volume UUIDs from framework."
* commit '997eb5ddfb4ae83a95b0f90837ba67664e79acb0':
  Start accepting volume UUIDs from framework.
2015-04-09 21:57:30 +00:00
Jeff Sharkey
997eb5ddfb am 44a38d93: Merge "Start accepting volume UUIDs from framework."
* commit '44a38d9337989742046c1e3faa6e7392ecc47cd4':
  Start accepting volume UUIDs from framework.
2015-04-09 21:47:30 +00:00
Jeff Sharkey
44a38d9337 Merge "Start accepting volume UUIDs from framework." 2015-04-09 21:41:15 +00:00
Jeff Sharkey
6fe28a0601 Start accepting volume UUIDs from framework.
We're now parsing and passing through volume UUIDs sent across the
command socket.  The "!" argument value is treated as null, which
means internal storage.

Bug: 19993667
Change-Id: I17729a769ce687a2e94e85991a6338c77ded0b66
2015-04-09 14:15:55 -07:00
Jeff Sharkey
fe62ea5d06 am ad6f4996: am 25327881: am 066fadb9: Merge "More volume UUID awareness."
* commit 'ad6f4996dc909dcb8e6e369bf41be514077fb142':
  More volume UUID awareness.
2015-04-09 20:24:05 +00:00
Jeff Sharkey
ad6f4996dc am 25327881: am 066fadb9: Merge "More volume UUID awareness."
* commit '25327881e339bd88045e0ecf17185d2edb479d7c':
  More volume UUID awareness.
2015-04-09 20:03:58 +00:00
Jeff Sharkey
25327881e3 am 066fadb9: Merge "More volume UUID awareness."
* commit '066fadb983b117a7682af00780d23d16232ab0e2':
  More volume UUID awareness.
2015-04-09 19:53:33 +00:00
Jeff Sharkey
066fadb983 Merge "More volume UUID awareness." 2015-04-09 19:45:04 +00:00
Jeff Sharkey
41ea424413 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
2015-04-09 11:44:06 -07:00
Andreas Gampe
e92939471a am 6930a29a: am cae83eca: am f9ab2ad2: Merge "Installd: Fix Clang build"
* commit '6930a29af13f4a958fa7cba544233d2febe4040b':
  Installd: Fix Clang build
2015-04-09 17:36:05 +00:00
Andreas Gampe
6930a29af1 am cae83eca: am f9ab2ad2: Merge "Installd: Fix Clang build"
* commit 'cae83eca2476c5f730aebaffdfb6443e6780bb2f':
  Installd: Fix Clang build
2015-04-09 17:16:47 +00:00
Tim Kilbourn
abc7d3dd72 Merge "Pass through availability of audio mic for input devices." 2015-04-09 17:06:49 +00:00
Andreas Gampe
cae83eca24 am f9ab2ad2: Merge "Installd: Fix Clang build"
* commit 'f9ab2ad2d5786b2dd04f08f5d5a67102bd3d796a':
  Installd: Fix Clang build
2015-04-09 17:05:44 +00:00
Tim Kilbourn
063ff53d0b Pass through availability of audio mic for input devices.
Bug: 15374820
Change-Id: Id2ca6da10165e3a887ebfbb18f663a3bf316ac79
2015-04-09 10:02:16 -07:00
Jeff Sharkey
5fd5dd676a am 65fe5dfd: am cbde9b92: am d107c305: Merge "Plumb through volume UUID when building paths."
* commit '65fe5dfdcd08650e0dfbb39f4a716567fb910cab':
  Plumb through volume UUID when building paths.
2015-04-09 17:00:44 +00:00
Andreas Gampe
f9ab2ad2d5 Merge "Installd: Fix Clang build" 2015-04-09 16:55:48 +00:00
Andreas Gampe
0ad7a11003 Installd: Fix Clang build
Remove some unused parameters and variables.

Change-Id: I507ae48fe1744b800ceb29192d463fd26c2ccda7
2015-04-09 09:54:35 -07:00
Jeff Sharkey
65fe5dfdcd am cbde9b92: am d107c305: Merge "Plumb through volume UUID when building paths."
* commit 'cbde9b920461225b5400abf5700eec1b62f5ce82':
  Plumb through volume UUID when building paths.
2015-04-09 16:45:31 +00:00
Jeff Sharkey
cbde9b9204 am d107c305: Merge "Plumb through volume UUID when building paths."
* commit 'd107c305f74592e8078754b317d840a2dde661db':
  Plumb through volume UUID when building paths.
2015-04-09 16:35:20 +00:00
Jeff Sharkey
d107c305f7 Merge "Plumb through volume UUID when building paths." 2015-04-09 16:27:19 +00:00
Richard Uhler
9cebc2bc77 am b8d1ee37: am 19db8c88: am ab91d03b: Merge "installd: Add support for SELF_PATCHOAT_NEEDED."
* commit 'b8d1ee37c4a6897442f5d381d5eb7162e04fcebd':
  installd: Add support for SELF_PATCHOAT_NEEDED.
2015-04-09 14:51:00 +00:00
Richard Uhler
b8d1ee37c4 am 19db8c88: am ab91d03b: Merge "installd: Add support for SELF_PATCHOAT_NEEDED."
* commit '19db8c884bb6943113420395b581c72f2f3c6cae':
  installd: Add support for SELF_PATCHOAT_NEEDED.
2015-04-09 14:31:03 +00:00
Richard Uhler
19db8c884b am ab91d03b: Merge "installd: Add support for SELF_PATCHOAT_NEEDED."
* commit 'ab91d03b0dfebf40e98034670892c278ae0a46e5':
  installd: Add support for SELF_PATCHOAT_NEEDED.
2015-04-09 14:20:53 +00:00
Richard Uhler
ab91d03b0d Merge "installd: Add support for SELF_PATCHOAT_NEEDED." 2015-04-09 14:13:27 +00:00
Erik Kline
e06cba20f3 multinetwork API: native header
Bug: 19537384
Change-Id: I7bb2f4310755e0c2ea2f32288000e54d671aebbe
2015-04-09 10:53:43 +09:00
Mark Salyzyn
82f393aad6 am d029e95a: am 1b0a8702: am ad436ab5: Merge "dumpstate: scrub APANIC"
* commit 'd029e95a58ea0927ebd3431d9991cd316e568002':
  dumpstate: scrub APANIC
2015-04-08 22:07:20 +00:00
Mark Salyzyn
d029e95a58 am 1b0a8702: am ad436ab5: Merge "dumpstate: scrub APANIC"
* commit '1b0a8702322b2b6ed2fa245cf92e87a1e5feea6c':
  dumpstate: scrub APANIC
2015-04-08 21:37:14 +00:00
Mark Salyzyn
1b0a870232 am ad436ab5: Merge "dumpstate: scrub APANIC"
* commit 'ad436ab54a649075b25ab755344fd011bd0c9262':
  dumpstate: scrub APANIC
2015-04-08 18:11:30 +00:00
Mark Salyzyn
ad436ab54a Merge "dumpstate: scrub APANIC" 2015-04-08 18:03:35 +00:00
Mark Salyzyn
f423b57dd9 dumpstate: scrub APANIC
Bug: 19525200
Change-Id: Ia2d2857cac953fb4ceafb66ddf775d89d7a777b1
2015-04-08 10:51:51 -07:00
Jeff Sharkey
c03de09173 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
2015-04-07 20:13:27 -07:00
Richard Uhler
c92fb6247d installd: Add support for SELF_PATCHOAT_NEEDED.
Change-Id: Ib9a6373f98474f1242367b5285086251a9d580e5
2015-04-07 16:39:29 -07:00
Dan Stoza
668285721b am 172ff24c: am 5977851b: am 00afb817: Merge "libgui: Plumb detachBuffer through ConsumerBase"
* commit '172ff24ccbc232cdf244a2bcbbb51df754929521':
  libgui: Plumb detachBuffer through ConsumerBase
2015-04-07 23:18:48 +00:00
Dan Stoza
172ff24ccb am 5977851b: am 00afb817: Merge "libgui: Plumb detachBuffer through ConsumerBase"
* commit '5977851b80549f24cd9164ec075b79c6c6291fa5':
  libgui: Plumb detachBuffer through ConsumerBase
2015-04-07 22:58:47 +00:00
Dan Stoza
5977851b80 am 00afb817: Merge "libgui: Plumb detachBuffer through ConsumerBase"
* commit '00afb8177fdbf144c75c00e9eacc915589807d35':
  libgui: Plumb detachBuffer through ConsumerBase
2015-04-07 22:47:50 +00:00
Dan Stoza
00afb8177f Merge "libgui: Plumb detachBuffer through ConsumerBase" 2015-04-07 22:38:00 +00:00
Dan Stoza
3b025f1302 am 6b4f28a7: am a53e955a: Merge "libgui: Plumb attach/detach through Surface" into stage-aosp-master
* commit '6b4f28a7930c115f4b9e0d4fdfcd41b3bb58bf58':
  libgui: Plumb attach/detach through Surface
2015-04-07 22:33:07 +00:00
Dan Stoza
6b4f28a793 am a53e955a: Merge "libgui: Plumb attach/detach through Surface" into stage-aosp-master
* commit 'a53e955ad882793bb6fea00d4d110a3d8878ab57':
  libgui: Plumb attach/detach through Surface
2015-04-07 22:12:33 +00:00
Dan Stoza
634f5ee6a7 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
2015-04-07 15:05:40 -07:00
Dan Stoza
a53e955ad8 Merge "libgui: Plumb attach/detach through Surface" into stage-aosp-master 2015-04-07 22:03:29 +00:00
Dan Stoza
d1fe6bba78 am 6d9e3dc5: am e55cae86: Merge "libgui: Remove IGBC::BufferItem" into stage-aosp-master
* commit '6d9e3dc5ca8e519218053f3f2f0e5068c835aba9':
  libgui: Remove IGBC::BufferItem
2015-04-07 21:53:20 +00:00
Jeff Sharkey
580e51458e am eb3704a5: am 9e99fce8: am 1cd030be: Merge "Switch installd to compile as C++."
* commit 'eb3704a58e62c0f85cfea776df1040b677263c80':
  Switch installd to compile as C++.
2015-04-07 21:53:19 +00:00
Jeff Sharkey
db92057129 am f3529d9a: am dc10342d: am 2d42dc74: Merge "Valid APK paths now include expanded storage."
* commit 'f3529d9aba9030ed4f3b7ac9570db0f401d9c1fb':
  Valid APK paths now include expanded storage.
2015-04-07 21:53:18 +00:00
Dan Stoza
6d9e3dc5ca am e55cae86: Merge "libgui: Remove IGBC::BufferItem" into stage-aosp-master
* commit 'e55cae86e6217a86d94bf280c6c8442bef2dd908':
  libgui: Remove IGBC::BufferItem
2015-04-07 21:24:02 +00:00
Jeff Sharkey
eb3704a58e am 9e99fce8: am 1cd030be: Merge "Switch installd to compile as C++."
* commit '9e99fce820c2d520f5618cb620cc1e37aed57b9d':
  Switch installd to compile as C++.
2015-04-07 21:24:01 +00:00
Jeff Sharkey
f3529d9aba am dc10342d: am 2d42dc74: Merge "Valid APK paths now include expanded storage."
* commit 'dc10342dc9031883046b4b44d009a4422545e7e2':
  Valid APK paths now include expanded storage.
2015-04-07 21:24:00 +00:00
Dan Stoza
e55cae86e6 Merge "libgui: Remove IGBC::BufferItem" into stage-aosp-master 2015-04-07 21:16:33 +00:00
Jeff Sharkey
9e99fce820 am 1cd030be: Merge "Switch installd to compile as C++."
* commit '1cd030be59c108cde25234f0d2da83a68a7cdd26':
  Switch installd to compile as C++.
2015-04-07 21:13:43 +00:00
Jeff Sharkey
dc10342dc9 am 2d42dc74: Merge "Valid APK paths now include expanded storage."
* commit '2d42dc74e9b647345a5d4ba79bcdadbf700002e2':
  Valid APK paths now include expanded storage.
2015-04-07 21:13:42 +00:00