OSDN Git Service
Christopher Tate [Thu, 2 Jul 2015 01:55:43 +0000 (01:55 +0000)]
am
708b42e0: am
eba7afcc: am
2f340be3: Disregard alleged binder entities beyond parcel bounds
* commit '
708b42e0ee5ad97b8426a6245f73131ddfc59a33':
Disregard alleged binder entities beyond parcel bounds
Christopher Tate [Thu, 2 Jul 2015 01:41:09 +0000 (01:41 +0000)]
am
eba7afcc: am
2f340be3: Disregard alleged binder entities beyond parcel bounds
* commit '
eba7afcc14f55e7fd32db9254f2b186108e1c776':
Disregard alleged binder entities beyond parcel bounds
Christopher Tate [Thu, 2 Jul 2015 01:28:56 +0000 (01:28 +0000)]
am
2f340be3: Disregard alleged binder entities beyond parcel bounds
* commit '
2f340be345612d9fc2ecb1ea2a4c9e147610a593':
Disregard alleged binder entities beyond parcel bounds
Anthony Hugh [Thu, 25 Jun 2015 01:27:44 +0000 (01:27 +0000)]
am
9e415d71: DO NOT MERGE: Introduce stem keycodes for Wear
* commit '
9e415d719e4ceb7a3e93c0d60f9c3bf9ee4fc97f':
DO NOT MERGE: Introduce stem keycodes for Wear
Anthony Hugh [Tue, 23 Jun 2015 17:49:05 +0000 (10:49 -0700)]
DO NOT MERGE: Introduce stem keycodes for Wear
Cherry-pick from master
This change adds four new stem keycodes for Android Wear. These
keycodes are intended to represent the various hardware buttons
around the watch. There is one primary stem key that will be used
for power/settings and three generic stem keys that will be
customizable.
BUG:
21903503
Change-Id: I762b8c0bcf3780a1756f4c1b8bbf07a039ba7781
Christopher Tate [Thu, 28 May 2015 00:53:02 +0000 (17:53 -0700)]
Disregard alleged binder entities beyond parcel bounds
When appending one parcel's contents to another, ignore binder
objects within the source Parcel that appear to lie beyond the
formal bounds of that Parcel's data buffer.
Bug
17312693
Change-Id: If592a260f3fcd9a56fc160e7feb2c8b44c73f514
(cherry picked from commit
27182be9f20f4f5b48316666429f09b9ecc1f22e)
Adam Lesinski [Thu, 28 May 2015 22:30:05 +0000 (22:30 +0000)]
am
8728c390: am
2c4f5fde: am
861c3f56: am
9004e7f5: am
4ff0cb44: Verify that the native handle was created
* commit '
8728c390476110857dd6b290dac3bfdf13b33e81':
Verify that the native handle was created
Adam Lesinski [Thu, 28 May 2015 21:44:36 +0000 (21:44 +0000)]
am
2c4f5fde: am
861c3f56: am
9004e7f5: am
4ff0cb44: Verify that the native handle was created
* commit '
2c4f5fdeca8e7a6f672bbcb8c25e6b81bf4eaa5b':
Verify that the native handle was created
Adam Lesinski [Thu, 28 May 2015 21:11:44 +0000 (21:11 +0000)]
am
861c3f56: am
9004e7f5: am
4ff0cb44: Verify that the native handle was created
* commit '
861c3f56157813627467054f488ecff7d339f2b0':
Verify that the native handle was created
Adam Lesinski [Thu, 28 May 2015 20:40:46 +0000 (20:40 +0000)]
am
9004e7f5: am
4ff0cb44: Verify that the native handle was created
* commit '
9004e7f5516c5b4a1b4178fa6a8bb4b3ca4ddcd0':
Verify that the native handle was created
Adam Lesinski [Thu, 28 May 2015 20:26:02 +0000 (20:26 +0000)]
am
4ff0cb44: Verify that the native handle was created
* commit '
4ff0cb4404db31576cd8a81ca5ef3b044d492904':
Verify that the native handle was created
Adam Lesinski [Wed, 13 May 2015 00:35:48 +0000 (17:35 -0700)]
Verify that the native handle was created
The inputs to native_handle_create can cause an overflowed allocation,
so check the return value of native_handle_create before accessing
the memory it returns.
Bug:
19334482
Change-Id: I1f489382776c2a1390793a79dc27ea17baa9b2a2
(cherry picked from commit
eaac99a7172da52a76ba48c26413778a74951b1a)
Dan Stoza [Fri, 24 Apr 2015 16:12:30 +0000 (16:12 +0000)]
am
ef47c080: am
958f5011: Merge "libgui: Allow an IGBProducer to disable allocation"
* commit '
ef47c080fd0e7fb8bf1fc4b0ecadae277a22f2cf':
libgui: Allow an IGBProducer to disable allocation
Dan Stoza [Fri, 24 Apr 2015 16:12:29 +0000 (16:12 +0000)]
am
f96a7581: am
fb6d43ff: Merge "libgui: Change BufferQueue to use free lists"
* commit '
f96a758139be0d5c298abad8e27083b0f0849818':
libgui: Change BufferQueue to use free lists
Dan Stoza [Fri, 24 Apr 2015 16:00:22 +0000 (16:00 +0000)]
am
958f5011: Merge "libgui: Allow an IGBProducer to disable allocation"
* commit '
958f501189a29e53767f41bc8172e4af8d1ce2bf':
libgui: Allow an IGBProducer to disable allocation
Dan Stoza [Fri, 24 Apr 2015 16:00:21 +0000 (16:00 +0000)]
am
fb6d43ff: Merge "libgui: Change BufferQueue to use free lists"
* commit '
fb6d43ff44bb2b708494749a7f6037505ccd7bf6':
libgui: Change BufferQueue to use free lists
Dan Stoza [Fri, 24 Apr 2015 15:50:09 +0000 (15:50 +0000)]
Merge "libgui: Allow an IGBProducer to disable allocation"
Dan Stoza [Fri, 24 Apr 2015 15:48:37 +0000 (15:48 +0000)]
Merge "libgui: Change BufferQueue to use free lists"
Dan Stoza [Thu, 23 Apr 2015 23:13:56 +0000 (23:13 +0000)]
am
fece8306: am
56f1f16c: Merge "libgui: Fix some bitrot/warnings in tests"
* commit '
fece83060e9640636f00a97fe236aff353d78c71':
libgui: Fix some bitrot/warnings in tests
Dan Stoza [Thu, 23 Apr 2015 23:13:56 +0000 (23:13 +0000)]
am
9aae16a4: am
82e4d49b: Merge "libui/libgui: Fix errors in parceling"
* commit '
9aae16a47d727a2650af0f0892657b41bd88215d':
libui/libgui: Fix errors in parceling
Dan Stoza [Thu, 23 Apr 2015 23:02:49 +0000 (23:02 +0000)]
am
56f1f16c: Merge "libgui: Fix some bitrot/warnings in tests"
* commit '
56f1f16c7b01a53282d483259ae80d035cc6496b':
libgui: Fix some bitrot/warnings in tests
Dan Stoza [Thu, 23 Apr 2015 23:02:48 +0000 (23:02 +0000)]
am
82e4d49b: Merge "libui/libgui: Fix errors in parceling"
* commit '
82e4d49b0ecb205d49f02cc07496f7508c56443c':
libui/libgui: Fix errors in parceling
Dan Stoza [Thu, 23 Apr 2015 22:53:36 +0000 (22:53 +0000)]
Merge "libgui: Fix some bitrot/warnings in tests"
Dan Stoza [Thu, 23 Apr 2015 22:51:00 +0000 (22:51 +0000)]
Merge "libui/libgui: Fix errors in parceling"
Dan Stoza [Fri, 17 Apr 2015 00:28:43 +0000 (17:28 -0700)]
libgui: Allow an IGBProducer to disable allocation
Adds a new method IGBP::allowAllocation, which controls whether
dequeueBuffer is permitted to allocate a new buffer. If allocation is
disallowed, dequeueBuffer will block or return an error as it
normally would (as controlled by *ControlledByApp).
If there are free buffers, but they are not of the correct dimensions,
format, or usage, they may be freed if a more suitable buffer is not
found first.
Bug:
19801715
Change-Id: I0d604958b78b2fd775c2547690301423f9a52165
Dan Stoza [Thu, 23 Apr 2015 20:20:51 +0000 (13:20 -0700)]
libgui: Change BufferQueue to use free lists
BufferQueue used to choose free buffers by scanning through its array
of slots and picking one based on timestamp. This changes that
mechanism to use a pair of free lists: one with buffers attached and
one without. This makes it easier to choose either type of free slot
depending on the needs of the current operation.
Fixes an issue with the first version of this change, found in bugs
20482952,
20443314, and
20464549.
Bug:
13175420
Change-Id: I9b6e83cfe8f9b4329a976025cb8e291d51fb6d4a
Dan Stoza [Thu, 23 Apr 2015 00:17:59 +0000 (00:17 +0000)]
am
368270fd: am
de5c15b8: Merge "SF: Always perform sideband transactions"
* commit '
368270fd6d4681d2de5502ffc6194ade9a13e65a':
SF: Always perform sideband transactions
Dan Stoza [Thu, 23 Apr 2015 00:06:03 +0000 (00:06 +0000)]
am
de5c15b8: Merge "SF: Always perform sideband transactions"
* commit '
de5c15b8bd12143829d043fa4ab457600e5682b3':
SF: Always perform sideband transactions
Dan Stoza [Wed, 22 Apr 2015 23:57:28 +0000 (23:57 +0000)]
Merge "SF: Always perform sideband transactions"
Dan Stoza [Wed, 22 Apr 2015 21:59:08 +0000 (14:59 -0700)]
SF: Always perform sideband transactions
On normal Layers, we defer applying resize transactions until a buffer
of the correct size arrives. This breaks with sideband streams, because
buffers are not seen by SurfaceFlinger. This change applies
transactions immediately for Layers which have a sideband stream
attached to avoid that problem.
Bug:
20428254
Change-Id: I379d8aaef460d467cdf8432764b4a504928fb65a
(cherry picked from commit
c300b8b506536e1bf94ffd8a3b75d46e776923e0)
Dan Stoza [Wed, 22 Apr 2015 19:17:56 +0000 (19:17 +0000)]
am
d2c12e4c: am
7637e35d: Merge "Revert "libgui: Change BufferQueue to use free lists""
* commit '
d2c12e4cd394ab9ed642526f8bd0e1b3acd692ae':
Revert "libgui: Change BufferQueue to use free lists"
Dan Stoza [Wed, 22 Apr 2015 19:07:10 +0000 (19:07 +0000)]
am
7637e35d: Merge "Revert "libgui: Change BufferQueue to use free lists""
* commit '
7637e35d17e06d532b0d2d11c0eef60594726209':
Revert "libgui: Change BufferQueue to use free lists"
Dan Stoza [Wed, 22 Apr 2015 18:59:01 +0000 (18:59 +0000)]
Merge "Revert "libgui: Change BufferQueue to use free lists""
Dan Stoza [Wed, 22 Apr 2015 18:57:39 +0000 (18:57 +0000)]
Revert "libgui: Change BufferQueue to use free lists"
This reverts commit
8dddc990103b71137be2a6365a26b1ac36598e68.
Change-Id: I0b0fed9f1394c6f6ae812f6c562ead4473a8226e
Dan Stoza [Wed, 22 Apr 2015 00:30:31 +0000 (00:30 +0000)]
am
91f16b1b: am
e647ddde: Merge "libgui: Fix CPU rendering on Surface"
* commit '
91f16b1b9c12e897d15198953684d9c7731ca47a':
libgui: Fix CPU rendering on Surface
Dan Stoza [Wed, 22 Apr 2015 00:17:33 +0000 (00:17 +0000)]
am
e647ddde: Merge "libgui: Fix CPU rendering on Surface"
* commit '
e647dddebb11a383c0d95b6dfd0cbe0998d9b644':
libgui: Fix CPU rendering on Surface
Dan Stoza [Wed, 22 Apr 2015 00:07:51 +0000 (00:07 +0000)]
Merge "libgui: Fix CPU rendering on Surface"
Dan Stoza [Tue, 21 Apr 2015 23:42:49 +0000 (16:42 -0700)]
libgui: Fix CPU rendering on Surface
When the surface damage code went in, it incorrectly assumed that if
an application was doing CPU rendering, it would be using lock and
unlockAndPost instead of dequeue and queue, so it repurposed the dirty
region too aggressively. This change keeps it from clobbering the
dirty region if a CPU producer is attached.
Bug:
20431815
Change-Id: Id4dfd71378311ea822f0289f6de2d20a7bd84014
Dan Stoza [Mon, 20 Apr 2015 20:35:50 +0000 (20:35 +0000)]
am
483c76dc: am
ff5c1a6b: Merge "libgui: Change BufferQueue to use free lists"
* commit '
483c76dcb855fe87adc670c0a0ea1e1ce237dd81':
libgui: Change BufferQueue to use free lists
Dan Stoza [Mon, 20 Apr 2015 20:24:58 +0000 (20:24 +0000)]
am
ff5c1a6b: Merge "libgui: Change BufferQueue to use free lists"
* commit '
ff5c1a6b677d8d25630ffc3d1a868eb98a38ceab':
libgui: Change BufferQueue to use free lists
Dan Stoza [Mon, 20 Apr 2015 19:09:38 +0000 (12:09 -0700)]
libgui: Fix some bitrot/warnings in tests
These tests hadn't been run in a while and had accumulated some rot.
This fixes most of the compile warnings and some tests which fail
incorrectly, but 2 failures remain on N6.
Change-Id: I7fee78cd058a32f4d7df40ec9f899ff767f68517
Dan Stoza [Mon, 20 Apr 2015 19:07:13 +0000 (12:07 -0700)]
libui/libgui: Fix errors in parceling
BufferItem and GraphicBuffer were not parceling correctly, which had
not been noticed because the libgui tests (specifically, one that
tests placing a BufferQueue in a separate process from the IGBP/C)
had not been run recently. This change fixes the errors found in
those classes.
Change-Id: Ie224361a534a79115a3481d83ff97f21d154d4f5
Dan Stoza [Mon, 20 Apr 2015 20:14:13 +0000 (20:14 +0000)]
Merge "libgui: Change BufferQueue to use free lists"
Dan Stoza [Thu, 16 Apr 2015 22:39:18 +0000 (15:39 -0700)]
libgui: Change BufferQueue to use free lists
BufferQueue used to choose free buffers by scanning through its array
of slots and picking one based on timestamp. This changes that
mechanism to use a pair of free lists: one with buffers attached and
one without. This makes it easier to choose either type of free slot
depending on the needs of the current operation.
Bug:
13175420
Change-Id: Ic8398e7511bd11a60a1c82e3ad2ee271c9822be1
Dan Stoza [Wed, 15 Apr 2015 21:54:30 +0000 (21:54 +0000)]
am
b47584f4: am
2e398e64: Merge "SF: Permit changing DispSync offsets at runtime"
* commit '
b47584f46bd850723679d9212f66df1951bbdf5d':
SF: Permit changing DispSync offsets at runtime
Dan Stoza [Wed, 15 Apr 2015 21:46:45 +0000 (21:46 +0000)]
am
2e398e64: Merge "SF: Permit changing DispSync offsets at runtime"
* commit '
2e398e64b3bc827ec8caaa1457442a8b3d546aed':
SF: Permit changing DispSync offsets at runtime
Dan Stoza [Wed, 15 Apr 2015 21:37:19 +0000 (21:37 +0000)]
Merge "SF: Permit changing DispSync offsets at runtime"
Dan Stoza [Wed, 15 Apr 2015 20:57:33 +0000 (20:57 +0000)]
am
40b2a8b4: am
e7d20eb0: Merge "SurfaceFlinger: Pass surface damage to HWC"
* commit '
40b2a8b48c8b760699bde3f29e3dbee76015cc98':
SurfaceFlinger: Pass surface damage to HWC
Dan Stoza [Tue, 14 Apr 2015 18:34:01 +0000 (11:34 -0700)]
SF: Permit changing DispSync offsets at runtime
This modifies EventThread such that its phase offsets for both
Choreographer and SurfaceFlinger may be modified at runtime. It also
plumbs this functionality up to the SurfaceFlinger debug interface so
that it is possible to rapidly test different offsets without
restarting the framework.
Change-Id: I426873f8553f931250dfebc9a8a4a78e9f1f4309
Dan Stoza [Wed, 15 Apr 2015 20:46:35 +0000 (20:46 +0000)]
am
e7d20eb0: Merge "SurfaceFlinger: Pass surface damage to HWC"
* commit '
e7d20eb000c1d342c8f5f58011023c0eb7cea6d5':
SurfaceFlinger: Pass surface damage to HWC
Dan Stoza [Wed, 15 Apr 2015 20:45:44 +0000 (20:45 +0000)]
am
57a9f5a0: am
fd5f41be: Merge "libgui: Pass surface damage through BufferQueue"
* commit '
57a9f5a05327de352896612caf85c991e65ca7be':
libgui: Pass surface damage through BufferQueue
Dan Stoza [Wed, 15 Apr 2015 20:35:02 +0000 (20:35 +0000)]
am
fd5f41be: Merge "libgui: Pass surface damage through BufferQueue"
* commit '
fd5f41bee9bcb2df64c39ff0de7d684e43d90d9c':
libgui: Pass surface damage through BufferQueue
Dan Stoza [Wed, 15 Apr 2015 20:34:50 +0000 (20:34 +0000)]
Merge "SurfaceFlinger: Pass surface damage to HWC"
Dan Stoza [Wed, 15 Apr 2015 20:29:45 +0000 (20:29 +0000)]
am
c02377e6: am
4d769d8b: Merge "libui: Clean up Fence and Region flattening"
* commit '
c02377e6fd1e7380816ce5c4902330226f20721a':
libui: Clean up Fence and Region flattening
Dan Stoza [Wed, 15 Apr 2015 20:29:44 +0000 (20:29 +0000)]
am
0b2ac673: am
22412a34: Merge "libEGL: Add wrappers for partial update functions"
* commit '
0b2ac673137128cd781ab304ab1cab20e9335f8e':
libEGL: Add wrappers for partial update functions
Dan Stoza [Wed, 15 Apr 2015 20:26:55 +0000 (20:26 +0000)]
Merge "libgui: Pass surface damage through BufferQueue"
Dan Stoza [Mon, 23 Mar 2015 22:50:23 +0000 (15:50 -0700)]
SurfaceFlinger: Pass surface damage to HWC
Passes the surface damage from the incoming SurfaceFlingerConsumer
BufferQueue down to the hardware composer HAL interface, if the
HWC version number is 1.5 or greater.
Bug:
11239309
Change-Id: Ic4305210593874a8d6deba3319055b2b8c57e926
Dan Stoza [Tue, 17 Mar 2015 23:23:42 +0000 (16:23 -0700)]
libgui: Pass surface damage through BufferQueue
This change adds support for passing surface damage all of the way
down from the EGL interface through the consumer side of the
BufferQueue. Depends on system/core change
Ie645e6a52b37b5c1b3be19481e8348570d1aa62c
Bug:
11239309
Change-Id: I4457ea826e9ade4ec187f973851d855b7b93a31b
Dan Stoza [Wed, 15 Apr 2015 20:18:44 +0000 (20:18 +0000)]
am
4d769d8b: Merge "libui: Clean up Fence and Region flattening"
* commit '
4d769d8bdc2fd57d34ab0fa4b9208ac0eb67cd61':
libui: Clean up Fence and Region flattening
Dan Stoza [Wed, 15 Apr 2015 20:18:43 +0000 (20:18 +0000)]
am
22412a34: Merge "libEGL: Add wrappers for partial update functions"
* commit '
22412a34c6d61394bad2c6e75105ea42a0c496cb':
libEGL: Add wrappers for partial update functions
Dan Stoza [Wed, 15 Apr 2015 20:13:53 +0000 (20:13 +0000)]
Merge "libui: Clean up Fence and Region flattening"
Dan Stoza [Wed, 15 Apr 2015 20:08:35 +0000 (20:08 +0000)]
Merge "libEGL: Add wrappers for partial update functions"
Dan Stoza [Mon, 23 Mar 2015 20:46:14 +0000 (13:46 -0700)]
libui: Clean up Fence and Region flattening
Fence was flattening incorrectly, causing issues with any fields
flattened after it, and Region was relying on being the last object
flattened. This change addresses both.
Change-Id: If49de061de6e2f11f4d846b4d8c18627dfb7e109
Dan Stoza [Thu, 19 Feb 2015 23:27:36 +0000 (15:27 -0800)]
libEGL: Add wrappers for partial update functions
This adds EGL wrapper functions for the following EGL extensions:
EGL_EXT_buffer_age
EGL_KHR_partial_update
EGL_KHR_swap_buffers_with_damage
Change-Id: I407acda1e0310f7f01a5efe9c915721a941138a4
Dan Stoza [Tue, 14 Apr 2015 18:18:41 +0000 (18:18 +0000)]
am
ddabf640: am
a3f8c2aa: Merge "Fix a memory corruption issue when vector resize"
* commit '
ddabf640292041fefca86609ee23f4803107cbb2':
Fix a memory corruption issue when vector resize
Dan Stoza [Tue, 14 Apr 2015 18:06:48 +0000 (18:06 +0000)]
am
a3f8c2aa: Merge "Fix a memory corruption issue when vector resize"
* commit '
a3f8c2aaf1bb82b436306f65b86d25d4ea955d4d':
Fix a memory corruption issue when vector resize
Dan Stoza [Tue, 14 Apr 2015 17:50:39 +0000 (17:50 +0000)]
Merge "Fix a memory corruption issue when vector resize"
Jeff Sharkey [Fri, 10 Apr 2015 21:14:54 +0000 (21:14 +0000)]
am
c200d20e: am
dfc30ae3: Merge "Command to move private app data between volumes."
* commit '
c200d20e32af042e92d03574aaededf6d81d27e0':
Command to move private app data between volumes.
Jeff Sharkey [Fri, 10 Apr 2015 21:08:43 +0000 (21:08 +0000)]
am
dfc30ae3: Merge "Command to move private app data between volumes."
* commit '
dfc30ae393fd610fcbd05a1ecfe7d4834a792de3':
Command to move private app data between volumes.
Jeff Sharkey [Fri, 10 Apr 2015 21:00:41 +0000 (21:00 +0000)]
Merge "Command to move private app data between volumes."
Jeff Sharkey [Thu, 9 Apr 2015 03:56:42 +0000 (20:56 -0700)]
Command to move private app data between volumes.
New "mvuserdata" command will move all private app data from one
volume UUID to another. It leverages the existing "cp" toybox
command to do the heavy lifting for all known users, preserving
details like timestamps and permissions. It invokes restorecon()
to correctly label the new location when the copy is finished.
Changes installd to no longer drop capabilities, so we run as root
again. This also allows us to exec "cp" with CAP_DAC_OVERRIDE and
CAP_FOWNER still in effect.
Bug:
19993667
Change-Id: I1f407a7c4a1af97ca5afc27b04eb16b4936cbdef
ywen [Thu, 26 Mar 2015 11:51:12 +0000 (19:51 +0800)]
Fix a memory corruption issue when vector resize
There is memory corruption in below code
const Rect* prev = &dst[prevIndex];
dst.add(Rect(prev->right, top, right, bottom));
prev points to a memory of vector dst, when dst resize in add()
call, the memory that prev points to will be copy to the new
allocated vector memory and the old memory will become undefined
Avoid pointer in this case, use a local copy instead
Change-Id: I4d95ceedd00c8fb615ac153082ade1b1ce0d0fa8
Jeff Sharkey [Thu, 9 Apr 2015 21:57:30 +0000 (21:57 +0000)]
am
997eb5dd: am
44a38d93: Merge "Start accepting volume UUIDs from framework."
* commit '
997eb5ddfb4ae83a95b0f90837ba67664e79acb0':
Start accepting volume UUIDs from framework.
Jeff Sharkey [Thu, 9 Apr 2015 21:47:30 +0000 (21:47 +0000)]
am
44a38d93: Merge "Start accepting volume UUIDs from framework."
* commit '
44a38d9337989742046c1e3faa6e7392ecc47cd4':
Start accepting volume UUIDs from framework.
Jeff Sharkey [Thu, 9 Apr 2015 21:41:11 +0000 (21:41 +0000)]
Merge "Start accepting volume UUIDs from framework."
Jeff Sharkey [Thu, 9 Apr 2015 20:10:03 +0000 (13:10 -0700)]
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
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.
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.
Jeff Sharkey [Thu, 9 Apr 2015 19:45:03 +0000 (19:45 +0000)]
Merge "More 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
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
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
Andreas Gampe [Thu, 9 Apr 2015 16:55:48 +0000 (16:55 +0000)]
Merge "Installd: 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
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.
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.
Jeff Sharkey [Thu, 9 Apr 2015 16:27:18 +0000 (16:27 +0000)]
Merge "Plumb through volume UUID when building paths."
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.
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.
Richard Uhler [Thu, 9 Apr 2015 14:13:27 +0000 (14:13 +0000)]
Merge "installd: Add support for SELF_PATCHOAT_NEEDED."
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
Mark Salyzyn [Wed, 8 Apr 2015 18:11:30 +0000 (18:11 +0000)]
am
ad436ab5: Merge "dumpstate: scrub APANIC"
* commit '
ad436ab54a649075b25ab755344fd011bd0c9262':
dumpstate: scrub APANIC
Mark Salyzyn [Wed, 8 Apr 2015 18:03:35 +0000 (18:03 +0000)]
Merge "dumpstate: scrub APANIC"
Mark Salyzyn [Wed, 8 Apr 2015 17:51:51 +0000 (10:51 -0700)]
dumpstate: scrub APANIC
Bug:
19525200
Change-Id: Ia2d2857cac953fb4ceafb66ddf775d89d7a777b1
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
Richard Uhler [Thu, 26 Mar 2015 22:47:38 +0000 (15:47 -0700)]
installd: Add support for SELF_PATCHOAT_NEEDED.
Change-Id: Ib9a6373f98474f1242367b5285086251a9d580e5
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
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
Dan Stoza [Tue, 7 Apr 2015 22:38:00 +0000 (22:38 +0000)]
Merge "libgui: Plumb detachBuffer through ConsumerBase"
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