OSDN Git Service

android-x86/frameworks-native.git
7 years agoEGL: Load updated EGL/GLES drivers
Jesse Hall [Tue, 17 Jan 2017 20:31:46 +0000 (20:31 +0000)]
EGL: Load updated EGL/GLES drivers
am: a91f64cbe1  -s ours

Change-Id: I6a26eb01dfdcc27e3fedf61b03159862f0dd6da8

7 years agoLoad updated drivers using derived loader namespace
Jesse Hall [Tue, 17 Jan 2017 20:31:37 +0000 (20:31 +0000)]
Load updated drivers using derived loader namespace
am: afd02885b9  -s ours

Change-Id: Iea9d3a6d7efb7224a9c7b52e737299b921a704d3

7 years agoEGL: Load updated EGL/GLES drivers
Jesse Hall [Tue, 20 Dec 2016 23:24:28 +0000 (15:24 -0800)]
EGL: Load updated EGL/GLES drivers

Because the driver namespace is stored in libgui, and libgui depends
on libEGL, this required a hack for libEGL to access the namespace.
See the comment added in GraphicsEnv.h for details; the summary is
that the libgui->libEGL dependency should go away, and then libEGL can
depend on libgui directly.

For system drivers, the loader would happily load anything named
lib{GLES,EGL,GLESv2,GLESv1_CM}_*.so in /vendor/lib[64]/egl, for
backward-compatibility with the old and no-longer-supported egl.cfg
system. However, it preferred unsuffixed names. That's not actually a
good idea, since the DT_SONAME would clash with the system libraries.
For updated drivers, we only look for suffixes from the
ro.hardware.egl and ro.board.platform system properties, similar to
the Vulkan and HAL library search. A future change (tied to a future
release) will do the same for system drivers.

Bug: 33531483
Test: Launch GLES apps w/ and w/o updated driver package
Change-Id: Ibfbb275629b0c6cf9c51314aea1361e81ff72d4b

7 years agoLoad updated drivers using derived loader namespace
Jesse Hall [Thu, 15 Dec 2016 00:54:06 +0000 (16:54 -0800)]
Load updated drivers using derived loader namespace

Bug: 33531483
Test: Launch vulkan apps w/ and w/o updated driver package
Change-Id: Ia73e1e33b637d6ffd96ea0480ed6d85b9f68dce3

7 years agoMerge "Handle devices without quota, speed up lookup." am: 36ba03a248 am: 411ae16a91
Jeff Sharkey [Tue, 17 Jan 2017 18:07:20 +0000 (18:07 +0000)]
Merge "Handle devices without quota, speed up lookup." am: 36ba03a248 am: 411ae16a91
am: 9eeb77f0dd

Change-Id: I6f6004769a576003a5fb27bcd78470badf43d68a

7 years agoMerge "Handle devices without quota, speed up lookup." am: 36ba03a248
Jeff Sharkey [Tue, 17 Jan 2017 17:47:16 +0000 (17:47 +0000)]
Merge "Handle devices without quota, speed up lookup." am: 36ba03a248
am: 411ae16a91

Change-Id: Icb7deaa5e60880d783fc4c434bbd0e70ad2c188b

7 years agoEGL: Load updated EGL/GLES drivers
Jesse Hall [Tue, 20 Dec 2016 23:24:28 +0000 (15:24 -0800)]
EGL: Load updated EGL/GLES drivers

Because the driver namespace is stored in libgui, and libgui depends
on libEGL, this required a hack for libEGL to access the namespace.
See the comment added in GraphicsEnv.h for details; the summary is
that the libgui->libEGL dependency should go away, and then libEGL can
depend on libgui directly.

For system drivers, the loader would happily load anything named
lib{GLES,EGL,GLESv2,GLESv1_CM}_*.so in /vendor/lib[64]/egl, for
backward-compatibility with the old and no-longer-supported egl.cfg
system. However, it preferred unsuffixed names. That's not actually a
good idea, since the DT_SONAME would clash with the system libraries.
For updated drivers, we only look for suffixes from the
ro.hardware.egl and ro.board.platform system properties, similar to
the Vulkan and HAL library search. A future change (tied to a future
release) will do the same for system drivers.

Bug: 33531483
Change-Id: If6eb7dbbc37f219c999e20a983569d4c4e73bda1
Merged-In: Ibfbb275629b0c6cf9c51314aea1361e81ff72d4b

7 years agoLoad updated drivers using derived loader namespace
Jesse Hall [Thu, 15 Dec 2016 00:54:06 +0000 (16:54 -0800)]
Load updated drivers using derived loader namespace

Bug: 33531483
Change-Id: I7e4d5b76d5dde42f2d1b2ad5079a5339a4d11f3d
Merged-In: Ia73e1e33b637d6ffd96ea0480ed6d85b9f68dce3

7 years agoMerge "Handle devices without quota, speed up lookup."
Jeff Sharkey [Tue, 17 Jan 2017 17:27:14 +0000 (17:27 +0000)]
Merge "Handle devices without quota, speed up lookup."
am: 36ba03a248

Change-Id: I38d4e01057e3cd65f4362056336294e8136df459

7 years agoMerge "Handle devices without quota, speed up lookup."
Jeff Sharkey [Tue, 17 Jan 2017 16:54:00 +0000 (16:54 +0000)]
Merge "Handle devices without quota, speed up lookup."

7 years agoMerge changes Ic746ea89,Iebaa8063 am: 950e3f5696 am: f1d87ca9b8
Jeff Sharkey [Tue, 17 Jan 2017 04:19:55 +0000 (04:19 +0000)]
Merge changes Ic746ea89,Iebaa8063 am: 950e3f5696 am: f1d87ca9b8
am: 4c00ce0e6a

Change-Id: Ife5b173761432e8e0c4d79051742a7fd782998a7

7 years agoWrap all installd operations in lock. am: 7a9059e8ed am: b940bdae84
Jeff Sharkey [Tue, 17 Jan 2017 04:19:45 +0000 (04:19 +0000)]
Wrap all installd operations in lock. am: 7a9059e8ed am: b940bdae84
am: 0c4cc3ebf1

Change-Id: Ia1f4a8234e8ecbc7040e1042ad4c3d77d8399770

7 years agoMask st_mode before comparing it. am: 24ef15bd00 am: 0e636867b5
Jeff Sharkey [Tue, 17 Jan 2017 04:19:37 +0000 (04:19 +0000)]
Mask st_mode before comparing it. am: 24ef15bd00 am: 0e636867b5
am: fc7bb04d26

Change-Id: I47042d02d6a9de1678f24eb7fda1be61c9d51631

7 years agoMerge changes Ic746ea89,Iebaa8063 am: 950e3f5696
Jeff Sharkey [Tue, 17 Jan 2017 04:13:56 +0000 (04:13 +0000)]
Merge changes Ic746ea89,Iebaa8063 am: 950e3f5696
am: f1d87ca9b8

Change-Id: Icdbfc562c9aad5ed0253e04b215d88cb666c94c1

7 years agoWrap all installd operations in lock. am: 7a9059e8ed
Jeff Sharkey [Tue, 17 Jan 2017 04:13:46 +0000 (04:13 +0000)]
Wrap all installd operations in lock. am: 7a9059e8ed
am: b940bdae84

Change-Id: I494c59b015dac7dd301c1666ef95a9c28a00f7e3

7 years agoMask st_mode before comparing it. am: 24ef15bd00
Jeff Sharkey [Tue, 17 Jan 2017 04:13:37 +0000 (04:13 +0000)]
Mask st_mode before comparing it. am: 24ef15bd00
am: 0e636867b5

Change-Id: Ic8968f123759d36d49bf9bd65ec17e7f6024b888

7 years agoMerge changes Ic746ea89,Iebaa8063
Jeff Sharkey [Tue, 17 Jan 2017 04:08:16 +0000 (04:08 +0000)]
Merge changes Ic746ea89,Iebaa8063
am: 950e3f5696

Change-Id: I61d240c0345e7b0a5a5d499c003230396aa469ec

7 years agoWrap all installd operations in lock.
Jeff Sharkey [Tue, 17 Jan 2017 04:08:14 +0000 (04:08 +0000)]
Wrap all installd operations in lock.
am: 7a9059e8ed

Change-Id: Ide1ef93a041ee5ff683babb865e382d1cb7a7356

7 years agoMask st_mode before comparing it.
Jeff Sharkey [Tue, 17 Jan 2017 04:08:06 +0000 (04:08 +0000)]
Mask st_mode before comparing it.
am: 24ef15bd00

Change-Id: I2b9ec79a679428cb6018798110bf4c3aa2936ae0

7 years agoMerge changes Ic746ea89,Iebaa8063
Treehugger Robot [Tue, 17 Jan 2017 04:02:45 +0000 (04:02 +0000)]
Merge changes Ic746ea89,Iebaa8063

* changes:
  Wrap all installd operations in lock.
  Mask st_mode before comparing it.

7 years agoHandle devices without quota, speed up lookup.
Jeff Sharkey [Tue, 17 Jan 2017 03:57:45 +0000 (20:57 -0700)]
Handle devices without quota, speed up lookup.

Start tracking which block devices have quota support, and gracefully
clear FLAG_USE_QUOTA when no support is present.

Also build a cached map of mounted volumes that support quota, which
halves the average quota calculation speed from 0.70ms to 0.35ms,
since we're no longer parsing procfs every time.

Test: builds, boots, common operations work
Bug: 34249218
Change-Id: Ie791df7801b67495331f3eea256c018860c9b4f6

7 years agoWrap all installd operations in lock.
Jeff Sharkey [Tue, 17 Jan 2017 02:07:18 +0000 (19:07 -0700)]
Wrap all installd operations in lock.

Historically installd has a single lock up in the framework, but
we're starting to call in from multiple locations, so installd needs
to protect itself.

This specifically applies to any disk measurement requests, which
use the optimized fts(3) mode which uses chdir() internally.

Test: builds, boots, common operations work
Bug: 34330051
Change-Id: Ic746ea890ebcc7b2bf923404874b04dbc19d42ad

7 years agoMask st_mode before comparing it.
Jeff Sharkey [Fri, 13 Jan 2017 02:27:03 +0000 (19:27 -0700)]
Mask st_mode before comparing it.

Otherwise it will never match the requested mode_t.

Test: builds, boots, skips when matching
Bug: 34201111
Change-Id: Iebaa8063a72eb6eaf2e773c1d35204617d0f16b8

7 years agoAdd GraphicsEnv to libgui
Jesse Hall [Sun, 15 Jan 2017 05:58:50 +0000 (05:58 +0000)]
Add GraphicsEnv to libgui
am: 53c82c2696  -s ours

Change-Id: I2e98929a298cbc4b949bf247ca3f086d4629d678

7 years agoAdd GraphicsEnv to libgui
Jesse Hall [Mon, 12 Dec 2016 20:56:46 +0000 (12:56 -0800)]
Add GraphicsEnv to libgui

This singleton class stores information provided by the framework and
makes it available to EGL/GLES/Vulkan loaders. It will eventually
replace vulkan::LoaderData and possibly the egl blob cache directory
storage.

Bug: 33531483
Test: various apps w/ and w/o driver package installed
Change-Id: If8b84fd38428f1cc9fcee8ffc25eb90cd87cedb4
(cherry picked from commit 90b25ed559f3d04777dbbc195ad5c95287990bf7)

7 years agoAdd GraphicsEnv to libgui
Jesse Hall [Mon, 12 Dec 2016 20:56:46 +0000 (12:56 -0800)]
Add GraphicsEnv to libgui

This singleton class stores information provided by the framework and
makes it available to EGL/GLES/Vulkan loaders. It will eventually
replace vulkan::LoaderData and possibly the egl blob cache directory
storage.

Bug: 33531483
Change-Id: I40c3952374badabea738a34a51db90bf197979b8
Merged-In: If8b84fd38428f1cc9fcee8ffc25eb90cd87cedb4

7 years agoMerge "liblog: use log/log.h when utilizing ALOG macros" am: 9a30f044ca am: 70a969c6fc
Mark Salyzyn [Thu, 12 Jan 2017 22:09:58 +0000 (22:09 +0000)]
Merge "liblog: use log/log.h when utilizing ALOG macros" am: 9a30f044ca am: 70a969c6fc
am: eed9f305d1

Change-Id: I8b74f7e83492f0023c76be4796a2e94455fd87d8

7 years agoMerge "liblog: use log/log.h when utilizing ALOG macros" am: 9a30f044ca
Mark Salyzyn [Thu, 12 Jan 2017 22:06:58 +0000 (22:06 +0000)]
Merge "liblog: use log/log.h when utilizing ALOG macros" am: 9a30f044ca
am: 70a969c6fc

Change-Id: I5b2e4fa842edf56ab85c6bcb24997e537c02d5de

7 years agoMerge "liblog: use log/log.h when utilizing ALOG macros"
Mark Salyzyn [Thu, 12 Jan 2017 22:04:58 +0000 (22:04 +0000)]
Merge "liblog: use log/log.h when utilizing ALOG macros"
am: 9a30f044ca

Change-Id: Ibf35cc60eeb53bc421a2f886fa63b37ffa2083c1

7 years agoMerge "liblog: use log/log.h when utilizing ALOG macros"
Mark Salyzyn [Thu, 12 Jan 2017 21:59:57 +0000 (21:59 +0000)]
Merge "liblog: use log/log.h when utilizing ALOG macros"

7 years agoliblog: use log/log.h when utilizing ALOG macros
Mark Salyzyn [Thu, 12 Jan 2017 21:57:51 +0000 (13:57 -0800)]
liblog: use log/log.h when utilizing ALOG macros

Audit dropout because ALOG is behind MYLOG ...

Test: compile
Bug: 34250038
Change-Id: I009478157d2267e10f8c09a7faa4b8f7c7c4a1e7

7 years agoMerge "Don't print error if we can't talk to hwservicemanager." am: 53d36e4476 am...
Martijn Coenen [Thu, 12 Jan 2017 21:29:55 +0000 (21:29 +0000)]
Merge "Don't print error if we can't talk to hwservicemanager." am: 53d36e4476 am: c144b7da38
am: 63f8f36dbd

Change-Id: I53ade820c7285638d444c7ca248e416e6e807f92

7 years agoMerge "Don't print error if we can't talk to hwservicemanager." am: 53d36e4476
Martijn Coenen [Thu, 12 Jan 2017 21:27:25 +0000 (21:27 +0000)]
Merge "Don't print error if we can't talk to hwservicemanager." am: 53d36e4476
am: c144b7da38

Change-Id: Ib2b9c2e285bd0dddab59b4ee40599d9fed63fd49

7 years agoMerge "Don't print error if we can't talk to hwservicemanager."
Martijn Coenen [Thu, 12 Jan 2017 21:24:56 +0000 (21:24 +0000)]
Merge "Don't print error if we can't talk to hwservicemanager."
am: 53d36e4476

Change-Id: I3a524a89d8d6b022b4a825197e29b6a69687c8d9

7 years agoMerge "Don't print error if we can't talk to hwservicemanager."
Treehugger Robot [Thu, 12 Jan 2017 21:20:15 +0000 (21:20 +0000)]
Merge "Don't print error if we can't talk to hwservicemanager."

7 years agoDon't print error if we can't talk to hwservicemanager.
Martijn Coenen [Thu, 12 Jan 2017 16:16:31 +0000 (17:16 +0100)]
Don't print error if we can't talk to hwservicemanager.

This currently fails as a non-root user due to SEPolicy,
and is causing CTS test failures. Until we figure out
the policy on b/34242478, don't print an error to allow
the test to pass again.

Test: cts-tradefed run cts --module CtsAtraceHostTestCases --test
android.atrace.cts.AtraceHostTest#testSimpleRun

Bug: 33814619
Change-Id: Ie5578639028e7890284d71bbf1b753f5803ca4af

7 years agoMerge "Replace cutils/log.h and rationalize log/log.h and android/log.h" am: d655e61a...
Mark Salyzyn [Thu, 12 Jan 2017 16:01:35 +0000 (16:01 +0000)]
Merge "Replace cutils/log.h and rationalize log/log.h and android/log.h" am: d655e61a22 am: 16a30c1ac8
am: fbc9758151

Change-Id: I911936217c6b47f48092319ff66edafaf0f7c395

7 years agoMerge "Replace cutils/log.h and rationalize log/log.h and android/log.h" am: d655e61a22
Mark Salyzyn [Thu, 12 Jan 2017 15:48:18 +0000 (15:48 +0000)]
Merge "Replace cutils/log.h and rationalize log/log.h and android/log.h" am: d655e61a22
am: 16a30c1ac8

Change-Id: I697418fbab0dbbd447d0dca2eda5b1545cc2522e

7 years agoMerge "Replace cutils/log.h and rationalize log/log.h and android/log.h"
Mark Salyzyn [Thu, 12 Jan 2017 15:34:32 +0000 (15:34 +0000)]
Merge "Replace cutils/log.h and rationalize log/log.h and android/log.h"
am: d655e61a22

Change-Id: I86d040528ab10e503e03f033f12d47a8142c3c6b

7 years agoMerge "Replace cutils/log.h and rationalize log/log.h and android/log.h"
Mark Salyzyn [Thu, 12 Jan 2017 15:19:07 +0000 (15:19 +0000)]
Merge "Replace cutils/log.h and rationalize log/log.h and android/log.h"

7 years agoAdded -t option to dumpstate.
Felipe Leme [Wed, 11 Jan 2017 23:09:18 +0000 (23:09 +0000)]
Added -t option to dumpstate.
am: cd4d6631fa

Change-Id: Ib29893ecf7400bd4890dda09164d525e904aa219

7 years agoReplace cutils/log.h and rationalize log/log.h and android/log.h
Mark Salyzyn [Thu, 29 Sep 2016 15:08:05 +0000 (08:08 -0700)]
Replace cutils/log.h and rationalize log/log.h and android/log.h

- cutils/log.h treat as deprecated and lead by example
- android/log.h to be used instead of log/log.h if possible
- add system includes that are assumed as side effects
- define LOG_TAG first

Test: compile
Bug: 31289077
Bug: 30465923
Change-Id: I8d99b24c333578c9b5aa9f2a01324bd0bba268dd

7 years agoMerge "Added test cases to dumpsys." am: 5cfc1c0546 am: 74ee4a06a3
Felipe Leme [Wed, 11 Jan 2017 19:09:52 +0000 (19:09 +0000)]
Merge "Added test cases to dumpsys." am: 5cfc1c0546 am: 74ee4a06a3
am: 70a7c38431

Change-Id: I45a9525b275bb0b327fce9982901b8e3304e2783

7 years agoMerge "Added test cases to dumpsys." am: 5cfc1c0546
Felipe Leme [Wed, 11 Jan 2017 19:04:25 +0000 (19:04 +0000)]
Merge "Added test cases to dumpsys." am: 5cfc1c0546
am: 74ee4a06a3

Change-Id: I5e536d12eef0ff8d41030f037f309f67c880b2a7

7 years agoMerge "Added test cases to dumpsys."
Felipe Leme [Wed, 11 Jan 2017 18:59:22 +0000 (18:59 +0000)]
Merge "Added test cases to dumpsys."
am: 5cfc1c0546

Change-Id: I87917d89160271a635ac1a42728fb643e1df99ae

7 years agoMerge "Added test cases to dumpsys."
Treehugger Robot [Wed, 11 Jan 2017 18:51:14 +0000 (18:51 +0000)]
Merge "Added test cases to dumpsys."

7 years agoMerge "Cleanup code given PATCHOAT_FOR_RELOCATION has been removed." am: 6c207a7d96...
Richard Uhler [Wed, 11 Jan 2017 10:58:41 +0000 (10:58 +0000)]
Merge "Cleanup code given PATCHOAT_FOR_RELOCATION has been removed." am: 6c207a7d96 am: 83c87d4985
am: 3977570f9f

Change-Id: Ib75da8118af0cef7bd06a9a88478529b64cd328d

7 years agoMerge "Cleanup code given PATCHOAT_FOR_RELOCATION has been removed." am: 6c207a7d96
Richard Uhler [Wed, 11 Jan 2017 10:48:12 +0000 (10:48 +0000)]
Merge "Cleanup code given PATCHOAT_FOR_RELOCATION has been removed." am: 6c207a7d96
am: 83c87d4985

Change-Id: I72c03782c82ff40cef7c520adc6d694b52289951

7 years agoMerge "Cleanup code given PATCHOAT_FOR_RELOCATION has been removed."
Richard Uhler [Wed, 11 Jan 2017 10:37:44 +0000 (10:37 +0000)]
Merge "Cleanup code given PATCHOAT_FOR_RELOCATION has been removed."
am: 6c207a7d96

Change-Id: I82f59649db71b255abdbafae8190f40974534f83

7 years agoMerge "Cleanup code given PATCHOAT_FOR_RELOCATION has been removed."
Treehugger Robot [Wed, 11 Jan 2017 10:28:16 +0000 (10:28 +0000)]
Merge "Cleanup code given PATCHOAT_FOR_RELOCATION has been removed."

7 years agoAdded -t option to dumpstate.
Felipe Leme [Thu, 5 Jan 2017 23:05:46 +0000 (15:05 -0800)]
Added -t option to dumpstate.

This option takes a lightweight version of bugreport that only includes a few,
urgent sections used to report telephony bugs.

BUG: 32589463
BUG: 26849505
Test: manual
Merged-In: I9b7369323a62e30e5d740eeb22db0045262387ba
Change-Id: I9b7369323a62e30e5d740eeb22db0045262387ba

7 years agoAdded test cases to dumpsys.
Felipe Leme [Wed, 3 Aug 2016 01:57:37 +0000 (18:57 -0700)]
Added test cases to dumpsys.

BUG: 28980245
BUG: 33382892

Test: dumpsys_test passes

Change-Id: Ief6c21022abc74022256431351fd6eef789faf39
(cherry picked from commit b6e244914deaffcdeea02deebf7c0da2643f601c)

7 years agoMerge "Methods to calculate user and external disk usage." am: 4d9746d7a3 am: 15e80e0436
Jeff Sharkey [Tue, 10 Jan 2017 04:47:56 +0000 (04:47 +0000)]
Merge "Methods to calculate user and external disk usage." am: 4d9746d7a3 am: 15e80e0436
am: e5281b7f9b

Change-Id: Ie7f29f8b10dc1e9158c7574e9836e27e3fda62eb

7 years agoMerge "Methods to calculate user and external disk usage." am: 4d9746d7a3
Jeff Sharkey [Tue, 10 Jan 2017 04:43:03 +0000 (04:43 +0000)]
Merge "Methods to calculate user and external disk usage." am: 4d9746d7a3
am: 15e80e0436

Change-Id: I63799087ee8b62b68da1f39ee2495b54481bd866

7 years agoMerge "Methods to calculate user and external disk usage."
Jeff Sharkey [Tue, 10 Jan 2017 04:38:23 +0000 (04:38 +0000)]
Merge "Methods to calculate user and external disk usage."
am: 4d9746d7a3

Change-Id: I7229c883efc6078b4fe3aa8231912eda1073ae48

7 years agoMerge "Methods to calculate user and external disk usage."
Jeff Sharkey [Tue, 10 Jan 2017 04:30:46 +0000 (04:30 +0000)]
Merge "Methods to calculate user and external disk usage."

7 years agoMethods to calculate user and external disk usage.
Jeff Sharkey [Sat, 7 Jan 2017 16:19:35 +0000 (09:19 -0700)]
Methods to calculate user and external disk usage.

Add method to calculate user disk usage, which will be faster than
making a Binder call for every single appId under a user.  Add method
to calculate external disk usage, which uses file extensions to track
usage with "audio", "video", and "images" categories.

Add script to generate optimized file extension matcher logic.

Start measuring internal and external storage space separately; new
GIDs are coming in a future CL.  Pass down all package names, inodes,
and code paths, since shared UIDs host more than one.

Test: builds, boots, stats are consistent
Bug: 2794881732206268
Change-Id: Icb9843ac5159e0e5f1503d9b64e0bcae407e1a5d

7 years agoMerge "Surface: Use async lock/unlock in copyBlt" am: b73de86f13 am: e29dda829d
Jesse Hall [Mon, 9 Jan 2017 05:24:33 +0000 (05:24 +0000)]
Merge "Surface: Use async lock/unlock in copyBlt" am: b73de86f13 am: e29dda829d
am: 55f599a079

Change-Id: I1f7603e0808a3794d708e788818d83814c10dcb3

7 years agoMerge "Surface: Use async lock/unlock in copyBlt" am: b73de86f13
Jesse Hall [Mon, 9 Jan 2017 05:20:03 +0000 (05:20 +0000)]
Merge "Surface: Use async lock/unlock in copyBlt" am: b73de86f13
am: e29dda829d

Change-Id: I753acee7ab8f0c0ca62a5606ae1b5c44e2314fd3

7 years agoMerge "Surface: Use async lock/unlock in copyBlt"
Jesse Hall [Mon, 9 Jan 2017 05:15:04 +0000 (05:15 +0000)]
Merge "Surface: Use async lock/unlock in copyBlt"
am: b73de86f13

Change-Id: I5312414d1e66cc0dbd3b346f14c14eb1ff90e6da

7 years agoMerge "Surface: Use async lock/unlock in copyBlt"
Jesse Hall [Mon, 9 Jan 2017 05:07:29 +0000 (05:07 +0000)]
Merge "Surface: Use async lock/unlock in copyBlt"

7 years agoMerge "egl: Add NULL check for num_config parameter" am: 64990fc0b9 am: ccaf6bf34a
Jesse Hall [Sat, 7 Jan 2017 23:58:21 +0000 (23:58 +0000)]
Merge "egl: Add NULL check for num_config parameter" am: 64990fc0b9 am: ccaf6bf34a
am: 68d96292a6

Change-Id: Icde1d5dc8ca191b752097e85cfb7e94857bcb27b

7 years agoMerge "egl: Add NULL check for num_config parameter" am: 64990fc0b9
Jesse Hall [Sat, 7 Jan 2017 23:53:50 +0000 (23:53 +0000)]
Merge "egl: Add NULL check for num_config parameter" am: 64990fc0b9
am: ccaf6bf34a

Change-Id: Ifada0489e548bbbfa7378b408a1268b7a7b4da03

7 years agoMerge "egl: Add NULL check for num_config parameter"
Jesse Hall [Sat, 7 Jan 2017 23:49:20 +0000 (23:49 +0000)]
Merge "egl: Add NULL check for num_config parameter"
am: 64990fc0b9

Change-Id: I1000300a6ca1a5ee9013f68aacd8541cdfac48b1

7 years agoMerge "egl: Add NULL check for num_config parameter"
Jesse Hall [Sat, 7 Jan 2017 23:44:22 +0000 (23:44 +0000)]
Merge "egl: Add NULL check for num_config parameter"

7 years agoMerge "Unversion NDK stub libraries." am: 3944ec426b am: ce80f3f4b0
Dan Albert [Fri, 6 Jan 2017 21:14:14 +0000 (21:14 +0000)]
Merge "Unversion NDK stub libraries." am: 3944ec426b am: ce80f3f4b0
am: e6545f3cf3

Change-Id: Ibbcbd7ae010cf824c7e26aef15af1e788210e2de

7 years agoMerge "Unversion NDK stub libraries." am: 3944ec426b
Dan Albert [Fri, 6 Jan 2017 21:10:49 +0000 (21:10 +0000)]
Merge "Unversion NDK stub libraries." am: 3944ec426b
am: ce80f3f4b0

Change-Id: I3871fc9393cdabe0eebae30f87d2d2555ddf6dfc

7 years agoMerge "Unversion NDK stub libraries."
Dan Albert [Fri, 6 Jan 2017 21:03:17 +0000 (21:03 +0000)]
Merge "Unversion NDK stub libraries."
am: 3944ec426b

Change-Id: I3266580d6f41b32ec8775e0bb73c66303ed5fa62

7 years agoMerge "Unversion NDK stub libraries."
Treehugger Robot [Fri, 6 Jan 2017 20:53:07 +0000 (20:53 +0000)]
Merge "Unversion NDK stub libraries."

7 years agoUnversion NDK stub libraries.
Dan Albert [Thu, 5 Jan 2017 23:58:50 +0000 (15:58 -0800)]
Unversion NDK stub libraries.

The system versions of these libraries aren't versioned yet.

Bug: https://github.com/android-ndk/ndk/issues/278
Test: make ndk
Change-Id: I73e4ebcac151c4039df6261aa6674accb0204706

7 years agoMerge "Add android/log.h to Rect.h" am: a422103c90 am: 20b8c55a5e
Steve Paik [Fri, 6 Jan 2017 02:21:29 +0000 (02:21 +0000)]
Merge "Add android/log.h to Rect.h" am: a422103c90 am: 20b8c55a5e
am: a58d700c85

Change-Id: Ie53f306995ab6876fa4e599b174d99131aaafe4f

7 years agoMerge "Add android/log.h to Rect.h" am: a422103c90
Steve Paik [Fri, 6 Jan 2017 02:17:58 +0000 (02:17 +0000)]
Merge "Add android/log.h to Rect.h" am: a422103c90
am: 20b8c55a5e

Change-Id: I48190e464c2667edaf8cf71a27581c8bd929c1be

7 years agoMerge "Add android/log.h to Rect.h"
Steve Paik [Fri, 6 Jan 2017 02:14:28 +0000 (02:14 +0000)]
Merge "Add android/log.h to Rect.h"
am: a422103c90

Change-Id: I47eecbef3964168a075554b39135286254854472

7 years agoMerge "Add android/log.h to Rect.h"
Treehugger Robot [Fri, 6 Jan 2017 02:08:15 +0000 (02:08 +0000)]
Merge "Add android/log.h to Rect.h"

7 years agoAdd android/log.h to Rect.h
Steve Paik [Thu, 5 Jan 2017 17:09:56 +0000 (09:09 -0800)]
Add android/log.h to Rect.h

Rect.h uses definitions from log.h.

Test:  Build succeeds when C file doesn't include log.h.
Change-Id: Ia85372ca61edafadea92165121dc6fbd1546674b

7 years agoCleanup code given PATCHOAT_FOR_RELOCATION has been removed.
Richard Uhler [Thu, 8 Dec 2016 10:46:35 +0000 (10:46 +0000)]
Cleanup code given PATCHOAT_FOR_RELOCATION has been removed.

Test: make, device boots.
Bug: 33192586
Change-Id: Ic3937708a7dfcd16f02cf68fc20674ec457d60b7

7 years agoMerge "Pass the same fd when compiling due to boot image update." am: 4f8c1fd2ea...
Nicolas Geoffray [Thu, 5 Jan 2017 15:07:34 +0000 (15:07 +0000)]
Merge "Pass the same fd when compiling due to boot image update." am: 4f8c1fd2ea am: dd4268dc5e
am: 5e28b3ea17

Change-Id: Ie888266def019012e15436db981f5cba87757dce

7 years agoMerge "Pass the same fd when compiling due to boot image update." am: 4f8c1fd2ea
Nicolas Geoffray [Thu, 5 Jan 2017 15:04:05 +0000 (15:04 +0000)]
Merge "Pass the same fd when compiling due to boot image update." am: 4f8c1fd2ea
am: dd4268dc5e

Change-Id: I996ab33bafcba4480a99d81496864d5157bda316

7 years agoMerge "Pass the same fd when compiling due to boot image update."
Nicolas Geoffray [Thu, 5 Jan 2017 15:01:32 +0000 (15:01 +0000)]
Merge "Pass the same fd when compiling due to boot image update."
am: 4f8c1fd2ea

Change-Id: Ifbc81ad7ffebdcb2eb40e279c558899ec1dce505

7 years agoMerge "Pass the same fd when compiling due to boot image update."
Treehugger Robot [Thu, 5 Jan 2017 14:56:01 +0000 (14:56 +0000)]
Merge "Pass the same fd when compiling due to boot image update."

7 years agoPass the same fd when compiling due to boot image update.
Nicolas Geoffray [Tue, 20 Dec 2016 15:03:56 +0000 (15:03 +0000)]
Pass the same fd when compiling due to boot image update.

Test: device boots, apps get installed, OTA uses same vdex.
Change-Id: I913062630640f31a18d23b2f62afd74986322e6a

7 years agoSurface: Use async lock/unlock in copyBlt
Francis Hart [Fri, 9 Jan 2015 09:10:54 +0000 (11:10 +0200)]
Surface: Use async lock/unlock in copyBlt

The Surface::lock() function now uses the asynchronous versions of
gralloc lock/unlock when copying the previously drawn content to the
backbuffer. This allows for optimisations in the gralloc module
implementation and so can improve performance and avoid CPU waits.

Change-Id: I57193f327db2ff0422e1b58b3484f613201d994c

7 years agoMerge "Callback elision for HIDL interfaces." am: b7ee96a666 am: d390a8291a
Martijn Coenen [Thu, 5 Jan 2017 09:58:44 +0000 (09:58 +0000)]
Merge "Callback elision for HIDL interfaces." am: b7ee96a666 am: d390a8291a
am: 8824b5252e

Change-Id: I6902f398a0b80b6c077b60cc71bec63b900d7493

7 years agoMerge "Callback elision for HIDL interfaces." am: b7ee96a666
Martijn Coenen [Thu, 5 Jan 2017 09:52:45 +0000 (09:52 +0000)]
Merge "Callback elision for HIDL interfaces." am: b7ee96a666
am: d390a8291a

Change-Id: I6977094aa5a97d82b51c18f605e258046c488c7e

7 years agoMerge "Callback elision for HIDL interfaces."
Martijn Coenen [Thu, 5 Jan 2017 09:46:55 +0000 (09:46 +0000)]
Merge "Callback elision for HIDL interfaces."
am: b7ee96a666

Change-Id: I2d71b02f11d16c95830adbca36f77345ba58cafa

7 years agoMerge "Callback elision for HIDL interfaces."
Martijn Coenen [Thu, 5 Jan 2017 09:40:55 +0000 (09:40 +0000)]
Merge "Callback elision for HIDL interfaces."

7 years agoCallback elision for HIDL interfaces.
Martijn Coenen [Mon, 2 Jan 2017 14:17:11 +0000 (15:17 +0100)]
Callback elision for HIDL interfaces.

Test: mma
Bug: 31380743
Change-Id: I33080b61d6233b63106b2602a628bfcdaa878a90

7 years agoMerge "Surface: Ensure synchronisation of copyBlt" am: 88f77814a1 am: 5a2dcde971
Francis Hart [Wed, 4 Jan 2017 20:43:23 +0000 (20:43 +0000)]
Merge "Surface: Ensure synchronisation of copyBlt" am: 88f77814a1 am: 5a2dcde971
am: 11d80ae93e

Change-Id: I955ce5a325d6dd2fbc42eaeb59c37a07aa1c9a6b

7 years agoMerge "Surface: Ensure synchronisation of copyBlt" am: 88f77814a1
Francis Hart [Wed, 4 Jan 2017 20:41:52 +0000 (20:41 +0000)]
Merge "Surface: Ensure synchronisation of copyBlt" am: 88f77814a1
am: 5a2dcde971

Change-Id: Ifb17a3d79f367bf22e01746209453f8b36bb35b5

7 years agoMerge "Surface: Ensure synchronisation of copyBlt"
Francis Hart [Wed, 4 Jan 2017 20:38:52 +0000 (20:38 +0000)]
Merge "Surface: Ensure synchronisation of copyBlt"
am: 88f77814a1

Change-Id: If8fe2dde08a1a850029e1d9ca6a7ae965f2aa8ab

7 years agoMerge "Surface: Ensure synchronisation of copyBlt"
Treehugger Robot [Wed, 4 Jan 2017 20:33:09 +0000 (20:33 +0000)]
Merge "Surface: Ensure synchronisation of copyBlt"

7 years agoMerge "Mark libGLESv3 as unversioned until android-24." am: a09d0363fd am: 3ee6686fdd
Dan Albert [Wed, 4 Jan 2017 19:11:27 +0000 (19:11 +0000)]
Merge "Mark libGLESv3 as unversioned until android-24." am: a09d0363fd am: 3ee6686fdd
am: 16c25d8168

Change-Id: I45214880c98d4b46c50ba0c3179097e48b0f37b3

7 years agoMerge "Mark libGLESv3 as unversioned until android-24." am: a09d0363fd
Dan Albert [Wed, 4 Jan 2017 19:08:56 +0000 (19:08 +0000)]
Merge "Mark libGLESv3 as unversioned until android-24." am: a09d0363fd
am: 3ee6686fdd

Change-Id: I6ed0b6e51ddb3cd8c20e4a3d771ddff946c0b6ff

7 years agoMerge "Mark libGLESv3 as unversioned until android-24."
Dan Albert [Wed, 4 Jan 2017 19:06:28 +0000 (19:06 +0000)]
Merge "Mark libGLESv3 as unversioned until android-24."
am: a09d0363fd

Change-Id: Ic902107fc0f9f78fa9ab124c99cbb5f976ebbe61

7 years agoMerge "Mark libGLESv3 as unversioned until android-24."
Treehugger Robot [Wed, 4 Jan 2017 19:00:36 +0000 (19:00 +0000)]
Merge "Mark libGLESv3 as unversioned until android-24."

7 years agoMerge "Reference profiles use shared GID for user 0." am: 226f77d87a am: ac437f476f
Jeff Sharkey [Tue, 3 Jan 2017 23:46:07 +0000 (23:46 +0000)]
Merge "Reference profiles use shared GID for user 0." am: 226f77d87a am: ac437f476f
am: 93d4073bc9

Change-Id: I011fb20fe94cd9717bbd3348a27b7c67cc4c2f08

7 years agoMerge "Reference profiles use shared GID for user 0." am: 226f77d87a
Jeff Sharkey [Tue, 3 Jan 2017 23:44:06 +0000 (23:44 +0000)]
Merge "Reference profiles use shared GID for user 0." am: 226f77d87a
am: ac437f476f

Change-Id: I937eb89caebc9a750adc4529f4a3620f8840cccf

7 years agoMerge "Reference profiles use shared GID for user 0."
Jeff Sharkey [Tue, 3 Jan 2017 23:41:34 +0000 (23:41 +0000)]
Merge "Reference profiles use shared GID for user 0."
am: 226f77d87a

Change-Id: I3c4d10f9483f99f3db4b2b1ff53ab62cd0b567db

7 years agoMerge "Reference profiles use shared GID for user 0."
Jeff Sharkey [Tue, 3 Jan 2017 23:37:00 +0000 (23:37 +0000)]
Merge "Reference profiles use shared GID for user 0."

7 years agoMark libGLESv3 as unversioned until android-24.
Dan Albert [Tue, 3 Jan 2017 23:18:48 +0000 (15:18 -0800)]
Mark libGLESv3 as unversioned until android-24.

Test: readelf on android-23 and android-24 outputs to check version
      information.
Bug: https://github.com/android-ndk/ndk/issues/265

Change-Id: I4a9b50b015567c64b75f09e8414682d314a86bc4