- 15 Apr, 2015 6 commits
-
-
Dan Stoza authored
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 authored
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 authored
-
Dan Stoza authored
-
Dan Stoza authored
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 authored
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
-
- 14 Apr, 2015 1 commit
-
-
Dan Stoza authored
-
- 10 Apr, 2015 3 commits
-
-
Jeff Sharkey authored
-
Jeff Sharkey authored
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 authored
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
-
- 09 Apr, 2015 8 commits
-
-
Jeff Sharkey authored
-
Jeff Sharkey authored
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 authored
-
Jeff Sharkey authored
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 authored
-
Andreas Gampe authored
Remove some unused parameters and variables. Change-Id: I507ae48fe1744b800ceb29192d463fd26c2ccda7
-
Jeff Sharkey authored
-
Richard Uhler authored
-
- 08 Apr, 2015 3 commits
-
-
Mark Salyzyn authored
-
Mark Salyzyn authored
Bug: 19525200 Change-Id: Ia2d2857cac953fb4ceafb66ddf775d89d7a777b1
-
Jeff Sharkey authored
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
-
- 07 Apr, 2015 9 commits
-
-
Richard Uhler authored
Change-Id: Ib9a6373f98474f1242367b5285086251a9d580e5
-
Dan Stoza authored
-
Dan Stoza authored
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
-
Jeff Sharkey authored
-
Jeff Sharkey authored
-
Jeff Sharkey authored
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
-
Jeff Sharkey authored
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
-
Fyodor Kupolov authored
-
Fyodor Kupolov authored
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
-
- 06 Apr, 2015 1 commit
-
-
Elliott Hughes authored
-
- 04 Apr, 2015 3 commits
-
-
Elliott Hughes authored
Also use the 'ptr' union member rather than 'handle'. Signed-off-by:
Serban Constantinescu <serban.constantinescu@arm.com> Change-Id: I68e5336cd3af3bc61dbddd2b33d7e1512c0c329c
-
Elliott Hughes authored
-
Serban Constantinescu authored
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>
-
- 03 Apr, 2015 3 commits
-
-
Dan Stoza authored
-
Fyodor Kupolov authored
-
Fyodor Kupolov authored
Change-Id: Ie52ae0e9a642504ee7b78c6bc54b61549cfb0342
-
- 02 Apr, 2015 2 commits
-
-
Fyodor Kupolov authored
-
Dan Stoza authored
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 c14ecb9d)
-
- 01 Apr, 2015 1 commit
-
-
Mark Salyzyn authored
-