OSDN Git Service

android-x86/frameworks-native.git
9 years agoam 2965dab9: am bceb29c8: Merge "Fix clang -Wc++11-narrowing warnings."
Chih-Hung Hsieh [Thu, 11 Dec 2014 23:09:15 +0000 (23:09 +0000)]
am 2965dab9: am bceb29c8: Merge "Fix clang -Wc++11-narrowing warnings."

* commit '2965dab9091382803430a0607118e20e93d2bd1d':
  Fix clang -Wc++11-narrowing warnings.

9 years agoam bceb29c8: Merge "Fix clang -Wc++11-narrowing warnings."
Chih-Hung Hsieh [Thu, 11 Dec 2014 23:02:01 +0000 (23:02 +0000)]
am bceb29c8: Merge "Fix clang -Wc++11-narrowing warnings."

* commit 'bceb29c83ea54d38b38e40d66402e56364cff56b':
  Fix clang -Wc++11-narrowing warnings.

9 years agoMerge "Fix clang -Wc++11-narrowing warnings."
Chih-Hung Hsieh [Thu, 11 Dec 2014 22:48:17 +0000 (22:48 +0000)]
Merge "Fix clang -Wc++11-narrowing warnings."

9 years agoFix clang -Wc++11-narrowing warnings.
Chih-Hung Hsieh [Thu, 11 Dec 2014 18:39:59 +0000 (10:39 -0800)]
Fix clang -Wc++11-narrowing warnings.

Clang compiler gives warning to implicit conversions of
literal structure fields, although the compiler generated
implicit conversions are what we want in these cases.

Change-Id: I8f04e7f2fa1db0ed1d1937135d9091532eec3d5b

9 years agoam d9799072: resolved conflicts for merge of e9b6f1f7 to lmp-mr1-dev-plus-aosp
Dmitriy Ivanov [Thu, 11 Dec 2014 01:39:39 +0000 (01:39 +0000)]
am d9799072: resolved conflicts for merge of e9b6f1f7 to lmp-mr1-dev-plus-aosp

* commit 'd9799072de47ecd3e6d4cdb2bfd3db75f4d94bd5':
  Switch to libsigchain.a

9 years agoresolved conflicts for merge of e9b6f1f7 to lmp-mr1-dev-plus-aosp
Dmitriy Ivanov [Thu, 11 Dec 2014 00:10:44 +0000 (16:10 -0800)]
resolved conflicts for merge of e9b6f1f7 to lmp-mr1-dev-plus-aosp

Change-Id: I87618573198d1f476b1680dbf9163a7dc90a66f8

9 years agoSwitch to libsigchain.a
Dmitriy Ivanov [Mon, 20 Oct 2014 21:17:26 +0000 (14:17 -0700)]
Switch to libsigchain.a

  Use LOCAL_WHOLE_STATIC_LIBRARIES to instruct static linker
  to export symbols from the static library.

(cherry picked from commit 4340a14fbfe761a46e7a655b568cbd0953773df3)

Bug: 18701723
Change-Id: I70f6fdb64b0d1adbadf96c8de85870a903ec186a

9 years agoam b93bca5d: am a59d7a6a: Merge "GUI: Remove unused variables"
Andreas Gampe [Tue, 9 Dec 2014 23:48:51 +0000 (23:48 +0000)]
am b93bca5d: am a59d7a6a: Merge "GUI: Remove unused variables"

* commit 'b93bca5d0831068cd599f905ba43dc8334095d65':
  GUI: Remove unused variables

9 years agoam 807f9440: am e22262ff: (-s ours) Merge "libgui: Enable -Weverything and -Werror"
Dan Stoza [Tue, 9 Dec 2014 23:24:24 +0000 (23:24 +0000)]
am 807f9440: am e22262ff: (-s ours) Merge "libgui: Enable -Weverything and -Werror"

* commit '807f94409f4060c4480e866e4539547582481928':
  libgui: Enable -Weverything and -Werror

9 years agoam 5d11a72b: am 8fd567b1: Merge "Libui: Remove unused variables"
Andreas Gampe [Tue, 9 Dec 2014 23:24:10 +0000 (23:24 +0000)]
am 5d11a72b: am 8fd567b1: Merge "Libui: Remove unused variables"

* commit '5d11a72bcd7d92ea0c0bf3959ed45380264f0495':
  Libui: Remove unused variables

9 years agoam a59d7a6a: Merge "GUI: Remove unused variables"
Andreas Gampe [Tue, 9 Dec 2014 20:09:18 +0000 (20:09 +0000)]
am a59d7a6a: Merge "GUI: Remove unused variables"

* commit 'a59d7a6a66a2b8dcb2d00dbd6371fa89ae45ab04':
  GUI: Remove unused variables

9 years agoMerge "GUI: Remove unused variables"
Andreas Gampe [Tue, 9 Dec 2014 19:57:05 +0000 (19:57 +0000)]
Merge "GUI: Remove unused variables"

9 years agoam e22262ff: (-s ours) Merge "libgui: Enable -Weverything and -Werror"
Dan Stoza [Tue, 9 Dec 2014 13:18:36 +0000 (13:18 +0000)]
am e22262ff: (-s ours) Merge "libgui: Enable -Weverything and -Werror"

* commit 'e22262ffd0bbed53e6d964f2fbcd5ecd85c04403':
  libgui: Enable -Weverything and -Werror

9 years agoam 8fd567b1: Merge "Libui: Remove unused variables"
Andreas Gampe [Tue, 9 Dec 2014 11:25:32 +0000 (11:25 +0000)]
am 8fd567b1: Merge "Libui: Remove unused variables"

* commit '8fd567b127170a3962bc9de637eb7987cee71810':
  Libui: Remove unused variables

9 years agoGUI: Remove unused variables
Andreas Gampe [Tue, 9 Dec 2014 04:42:40 +0000 (20:42 -0800)]
GUI: Remove unused variables

For build-system CFLAGS clean-up, remove unused variables.

Bug: 18632512
Change-Id: I79fdcf830683d7278f4bf114cfb76a26da1b88ff

9 years agoam 39770311: am e329be2e: am 784fd39a: resolved conflicts for merge of d6308379 to...
Michael Lentine [Mon, 8 Dec 2014 20:28:53 +0000 (20:28 +0000)]
am 39770311: am e329be2e: am 784fd39a: resolved conflicts for merge of d6308379 to lmp-dev

* commit '397703119bc1d5d67491b559511578820855dde2':
  Fix for corruption when numFds or numInts is too large.

9 years agoam e329be2e: am 784fd39a: resolved conflicts for merge of d6308379 to lmp-dev
Michael Lentine [Mon, 8 Dec 2014 19:10:21 +0000 (19:10 +0000)]
am e329be2e: am 784fd39a: resolved conflicts for merge of d6308379 to lmp-dev

* commit 'e329be2e0004216474fe0545ab7a2cb1863d387a':
  Fix for corruption when numFds or numInts is too large.

9 years agoMerge "libgui: Enable -Weverything and -Werror"
Dan Stoza [Mon, 8 Dec 2014 18:46:08 +0000 (18:46 +0000)]
Merge "libgui: Enable -Weverything and -Werror"

9 years agoMerge "Libui: Remove unused variables"
Andreas Gampe [Mon, 8 Dec 2014 18:23:15 +0000 (18:23 +0000)]
Merge "Libui: Remove unused variables"

9 years agoLibui: Remove unused variables
Andreas Gampe [Sat, 6 Dec 2014 04:50:34 +0000 (20:50 -0800)]
Libui: Remove unused variables

For build-system CFLAGS clean-up, remove unused variables.

Bug: 18632512
Change-Id: Ib78912ae442ddc6410960ab1efb4fb2faa1a9208

9 years agolibgui: Enable -Weverything and -Werror
Dan Stoza [Tue, 18 Nov 2014 18:24:03 +0000 (10:24 -0800)]
libgui: Enable -Weverything and -Werror

Enables -Weverything and -Werror, with just a few exceptions for
warnings we can't (or shouldn't need to) work around.

This is a squashed commit based on an initial change with a couple of
fixes to avoid breaking certain targets. The source commits are:
  d723bd7669b4fc88dc282d8bf8ba5ecb2849d22f
  00d504c06ea034befe143e6b8cb34d004670ed02
  429ba89cd293633d2f882165066b422c96597df2

Change-Id: I034abec27bf4020d84af60d7acc1939c59986dd6

9 years agoMerge "libui: Remove LOG_TAG #define in Rect.h"
Dan Stoza [Fri, 5 Dec 2014 22:20:12 +0000 (22:20 +0000)]
Merge "libui: Remove LOG_TAG #define in Rect.h"

9 years agolibui: Remove LOG_TAG #define in Rect.h
Dan Stoza [Fri, 5 Dec 2014 22:17:45 +0000 (14:17 -0800)]
libui: Remove LOG_TAG #define in Rect.h

The redefinition of LOG_TAG in a header file was causing some issues
for code that had strict warnings and -Werror enabled, so remove the
(possible re-)definition

Change-Id: I7ecb907463ba98fbdbd8b9734a000b2f27f43a65

9 years agoMerge "libgui: Only allow one return from useFenceSync"
Dan Stoza [Fri, 5 Dec 2014 21:45:07 +0000 (21:45 +0000)]
Merge "libgui: Only allow one return from useFenceSync"

9 years agolibgui: Only allow one return from useFenceSync
Dan Stoza [Fri, 5 Dec 2014 21:43:03 +0000 (13:43 -0800)]
libgui: Only allow one return from useFenceSync

An #ifdef was causing multiple returns in this function, which was
triggering an unreachable code error on some build targets. This
adds an #else to ensure that only one return is exposed in any given
build.

Change-Id: I9ed7c3e769bc9094ad31d810944227d1d8302886

9 years agoam 59b5783d: am e1a2caeb: Merge "Fix crash when user provides large values in the...
Dan Stoza [Fri, 5 Dec 2014 21:27:34 +0000 (21:27 +0000)]
am 59b5783d: am e1a2caeb: Merge "Fix crash when user provides large values in the Parcel."

* commit '59b5783df7a80f354f8a996c9a1532a5ab384436':
  Fix crash when user provides large values in the Parcel.

9 years agoam e1a2caeb: Merge "Fix crash when user provides large values in the Parcel."
Dan Stoza [Fri, 5 Dec 2014 21:19:19 +0000 (21:19 +0000)]
am e1a2caeb: Merge "Fix crash when user provides large values in the Parcel."

* commit 'e1a2caeb2c75840b092081e28d988342ee958c34':
  Fix crash when user provides large values in the Parcel.

9 years agoMerge "Fix crash when user provides large values in the Parcel."
Dan Stoza [Fri, 5 Dec 2014 21:08:42 +0000 (21:08 +0000)]
Merge "Fix crash when user provides large values in the Parcel."

9 years agoFix crash when user provides large values in the Parcel.
Michael Lentine [Fri, 31 Oct 2014 18:10:13 +0000 (11:10 -0700)]
Fix crash when user provides large values in the Parcel.

Bug: 18102648
Change-Id: Ie6a24718e586a34424238363de80f9545951514f
(cherry-picked from commit 8afa1c4ab86d724feb7716e153b7835385534590)

9 years agolibgui: Enable -Weverything and -Werror
Dan Stoza [Tue, 18 Nov 2014 18:24:03 +0000 (10:24 -0800)]
libgui: Enable -Weverything and -Werror

Enables -Weverything and -Werror, with just a few exceptions for
warnings we can't (or shouldn't need to) work around.

Change-Id: I034abec27bf4020d84af60d7acc1939c59986dd6

9 years agoam 6efc505b: am 09b9193d: Merge "Fix -Werror on 64-bit builds"
Dan Albert [Fri, 5 Dec 2014 18:25:17 +0000 (18:25 +0000)]
am 6efc505b: am 09b9193d: Merge "Fix -Werror on 64-bit builds"

* commit '6efc505bd8dbddf96f9f8f1984196c511d48b3b0':
  Fix -Werror on 64-bit builds

9 years agoam bcf7f221: am 67df03d0: Merge "Disable struct padding warning/error"
Dan Albert [Fri, 5 Dec 2014 18:25:16 +0000 (18:25 +0000)]
am bcf7f221: am 67df03d0: Merge "Disable struct padding warning/error"

* commit 'bcf7f22102db47e37a8398d71895fa233ff84d84':
  Disable struct padding warning/error

9 years agoam bb371535: (-s ours) am 35df7531: Merge "libui: Enable -Weverything and -Werror"
Dan Albert [Fri, 5 Dec 2014 18:25:15 +0000 (18:25 +0000)]
am bb371535: (-s ours) am 35df7531: Merge "libui: Enable -Weverything and -Werror"

* commit 'bb3715357781c6a0cecc0aaf36ff3d5394155180':
  libui: Enable -Weverything and -Werror

9 years agoresolved conflicts for merge of 75301146 to master
Dan Albert [Fri, 5 Dec 2014 18:17:31 +0000 (10:17 -0800)]
resolved conflicts for merge of 75301146 to master

Change-Id: Ibea283651688ef345559f9485a000d385920f4db

9 years agoam 9f6b6732: am e2824e04: Merge "Fix for corruption when numFds or numInts is too...
Dan Albert [Fri, 5 Dec 2014 18:09:00 +0000 (18:09 +0000)]
am 9f6b6732: am e2824e04: Merge "Fix for corruption when numFds or numInts is too large."

* commit '9f6b6732f89ff28f8b58d828423268e96e644f2c':
  Fix for corruption when numFds or numInts is too large.

9 years agoam 09b9193d: Merge "Fix -Werror on 64-bit builds"
Dan Albert [Fri, 5 Dec 2014 18:01:50 +0000 (18:01 +0000)]
am 09b9193d: Merge "Fix -Werror on 64-bit builds"

* commit '09b9193d10b3849e426c5370a757a0eedc65a7ff':
  Fix -Werror on 64-bit builds

9 years agoam 67df03d0: Merge "Disable struct padding warning/error"
Dan Albert [Fri, 5 Dec 2014 18:01:49 +0000 (18:01 +0000)]
am 67df03d0: Merge "Disable struct padding warning/error"

* commit '67df03d054f0cc4bd0e47066642b791198e9b0ad':
  Disable struct padding warning/error

9 years agoam 35df7531: Merge "libui: Enable -Weverything and -Werror"
Dan Albert [Fri, 5 Dec 2014 18:01:49 +0000 (18:01 +0000)]
am 35df7531: Merge "libui: Enable -Weverything and -Werror"

* commit '35df753169397d9b647b251446af7093e237d047':
  libui: Enable -Weverything and -Werror

9 years agoam 5588d900: Merge "Enable clang for libui/libgui/surfaceflinger"
Dan Albert [Fri, 5 Dec 2014 18:01:48 +0000 (18:01 +0000)]
am 5588d900: Merge "Enable clang for libui/libgui/surfaceflinger"

* commit '5588d9000cd1ef217185c9001d6b5ecd84db9741':
  Enable clang for libui/libgui/surfaceflinger

9 years agoam e2824e04: Merge "Fix for corruption when numFds or numInts is too large."
Dan Albert [Fri, 5 Dec 2014 18:01:47 +0000 (18:01 +0000)]
am e2824e04: Merge "Fix for corruption when numFds or numInts is too large."

* commit 'e2824e04942adf5a30c73751636648dd6fc18fef':
  Fix for corruption when numFds or numInts is too large.

9 years agoMerge "Fix -Werror on 64-bit builds"
Dan Albert [Fri, 5 Dec 2014 17:48:53 +0000 (17:48 +0000)]
Merge "Fix -Werror on 64-bit builds"

9 years agoMerge "Disable struct padding warning/error"
Dan Albert [Fri, 5 Dec 2014 17:48:47 +0000 (17:48 +0000)]
Merge "Disable struct padding warning/error"

9 years agoMerge "libui: Enable -Weverything and -Werror"
Dan Albert [Fri, 5 Dec 2014 17:48:10 +0000 (17:48 +0000)]
Merge "libui: Enable -Weverything and -Werror"

9 years agoMerge "Enable clang for libui/libgui/surfaceflinger"
Dan Albert [Fri, 5 Dec 2014 17:47:58 +0000 (17:47 +0000)]
Merge "Enable clang for libui/libgui/surfaceflinger"

9 years agoMerge "Fix for corruption when numFds or numInts is too large."
Dan Albert [Fri, 5 Dec 2014 17:47:37 +0000 (17:47 +0000)]
Merge "Fix for corruption when numFds or numInts is too large."

9 years agoFix -Werror on 64-bit builds
Dan Stoza [Mon, 1 Dec 2014 23:15:31 +0000 (15:15 -0800)]
Fix -Werror on 64-bit builds

Add another static_cast to avoid an error on 64-bit builds

Change-Id: I62fb2c67766c4aab70d9d1834f255d06ff82dd8d
(cherry picked from commit 116c7a113cb2db4d3f7708627ac4713c7e92cd43)

9 years agoDisable struct padding warning/error
Dan Stoza [Mon, 1 Dec 2014 23:03:34 +0000 (15:03 -0800)]
Disable struct padding warning/error

Adds -Wno-padded, which was triggering on 64-bit devices

Change-Id: If27bac27881f2081a222b32213901f5087554b07
(cherry picked from commit 4e84bd310c876e1450077959333c87e6e83dbf63)

9 years agolibui: Enable -Weverything and -Werror
Dan Stoza [Mon, 17 Nov 2014 20:03:59 +0000 (12:03 -0800)]
libui: Enable -Weverything and -Werror

Enables -Weverything and -Werror, with just a few exceptions for
warnings we can't (or shouldn't need to) work around.

Change-Id: I470a267e9b1c373f2d5c960f005c3b0e02b2db63
(cherry picked from commit 303b9a51239d36d237a7d40c67b5085cdb3c1059)

9 years agoEnable clang for libui/libgui/surfaceflinger
Dan Stoza [Tue, 11 Nov 2014 18:32:31 +0000 (10:32 -0800)]
Enable clang for libui/libgui/surfaceflinger

Enables clang and C++11 for libui/libgui/surfaceflinger, and
eliminates all compile-time warnings.

Change-Id: Ie237fdb5ae44f2bfcddaa884f9c65ec3f08ae50f
(cherry picked from commit f10c46ef855b6410b20ebd8b1351d4d78d8eca8e)

9 years agoFix for corruption when numFds or numInts is too large.
Michael Lentine [Fri, 31 Oct 2014 22:25:03 +0000 (15:25 -0700)]
Fix for corruption when numFds or numInts is too large.

Bug: 18076253
Change-Id: I4c5935440013fc755e1d123049290383f4659fb6
(cherry picked from commit dfd06b89a4b77fc75eb85a3c1c700da3621c0118)

9 years agoam 784fd39a: resolved conflicts for merge of d6308379 to lmp-dev
Michael Lentine [Thu, 4 Dec 2014 23:06:47 +0000 (23:06 +0000)]
am 784fd39a: resolved conflicts for merge of d6308379 to lmp-dev

* commit '784fd39a19f659e3b464bd9a78361c0adc1cdcab':
  Fix for corruption when numFds or numInts is too large.

9 years agoam 61980a32: am c5380438: Revert "Camera: Add XML entries and files for new system...
Eino-Ville Talvala [Thu, 4 Dec 2014 20:45:42 +0000 (20:45 +0000)]
am 61980a32: am c5380438: Revert "Camera: Add XML entries and files for new system features"

* commit '61980a326618d3f55f39fb86e9d3005fd975062c':
  Revert "Camera: Add XML entries and files for new system features"

9 years agoam c5380438: Revert "Camera: Add XML entries and files for new system features"
Eino-Ville Talvala [Thu, 4 Dec 2014 20:23:37 +0000 (20:23 +0000)]
am c5380438: Revert "Camera: Add XML entries and files for new system features"

* commit 'c538043889b773eeeae0bf0ac54b06cd68360734':
  Revert "Camera: Add XML entries and files for new system features"

9 years agoam db5827d3: am 5878444f: SurfaceFlinger: Listen to HWC invalidate
Dan Stoza [Thu, 4 Dec 2014 16:15:54 +0000 (16:15 +0000)]
am db5827d3: am 5878444f: SurfaceFlinger: Listen to HWC invalidate

* commit 'db5827d314ddca3d473947b4ef49e811fad70069':
  SurfaceFlinger: Listen to HWC invalidate

9 years agoam 5878444f: SurfaceFlinger: Listen to HWC invalidate
Dan Stoza [Wed, 3 Dec 2014 20:43:29 +0000 (20:43 +0000)]
am 5878444f: SurfaceFlinger: Listen to HWC invalidate

* commit '5878444fb8da043021f30d3de739531f15390df5':
  SurfaceFlinger: Listen to HWC invalidate

9 years agoRevert "Camera: Add XML entries and files for new system features"
Eino-Ville Talvala [Wed, 3 Dec 2014 18:54:28 +0000 (18:54 +0000)]
Revert "Camera: Add XML entries and files for new system features"

This reverts commit e86d1091766b012da1f6616c7ec270d332baef95.

Bug: 18281970
Bug: 18573576
Change-Id: If1cf236ef7eabd15ffb2a5dd33d25a8acabdd14c

9 years agoSurfaceFlinger: Listen to HWC invalidate
Dan Stoza [Wed, 3 Dec 2014 00:58:17 +0000 (16:58 -0800)]
SurfaceFlinger: Listen to HWC invalidate

"Do less work when using PTS" broke the invalidate path up from HWC
to SurfaceFlinger. When HWC would signal an invalidate, SurfaceFinger
would wake up, see no new buffers, and go back to sleep. This is fine,
except when the invalidate is a result of an HDMI hotplug, in which
case the screen remains blank. This change makes that functionality
work again.

Bug: 18564815
Bug: 18558468
Change-Id: I2e2171d86839945f4e4e6555d66f7e2895bd096a

9 years agoresolved conflicts for merge of d6308379 to lmp-dev
Michael Lentine [Tue, 2 Dec 2014 19:15:56 +0000 (11:15 -0800)]
resolved conflicts for merge of d6308379 to lmp-dev

Change-Id: I92ed61b6fdfe458cf5f8bfd6f0b37ff736280500

9 years agoam 84fd9bd1: am f8954c81: Merge "OpenGL tests: Fix unused variables"
Andreas Gampe [Tue, 2 Dec 2014 18:52:11 +0000 (18:52 +0000)]
am 84fd9bd1: am f8954c81: Merge "OpenGL tests: Fix unused variables"

* commit '84fd9bd151f4aa2392afcb9d7f9e054d035353d5':
  OpenGL tests: Fix unused variables

9 years agoam f8954c81: Merge "OpenGL tests: Fix unused variables"
Andreas Gampe [Tue, 2 Dec 2014 18:47:20 +0000 (18:47 +0000)]
am f8954c81: Merge "OpenGL tests: Fix unused variables"

* commit 'f8954c81a4ec43958867d1f6f497ef449bf091fd':
  OpenGL tests: Fix unused variables

9 years agoMerge "OpenGL tests: Fix unused variables"
Andreas Gampe [Tue, 2 Dec 2014 18:24:56 +0000 (18:24 +0000)]
Merge "OpenGL tests: Fix unused variables"

9 years agoam 76ebd319: am 3d89edca: am e6f7a44e: Fix for corruption when numFds or numInts...
Michael Lentine [Tue, 2 Dec 2014 18:04:09 +0000 (18:04 +0000)]
am 76ebd319: am 3d89edca: am e6f7a44e: Fix for corruption when numFds or numInts is too large.

* commit '76ebd319d96494049a2a598f4449c0ec417220f6':
  Fix for corruption when numFds or numInts is too large.

9 years agoam 3d89edca: am e6f7a44e: Fix for corruption when numFds or numInts is too large.
Michael Lentine [Tue, 2 Dec 2014 17:52:00 +0000 (17:52 +0000)]
am 3d89edca: am e6f7a44e: Fix for corruption when numFds or numInts is too large.

* commit '3d89edca65e07319c9ac3b9bb9889e80e8c40578':
  Fix for corruption when numFds or numInts is too large.

9 years agoam e6f7a44e: Fix for corruption when numFds or numInts is too large.
Michael Lentine [Tue, 2 Dec 2014 17:45:44 +0000 (17:45 +0000)]
am e6f7a44e: Fix for corruption when numFds or numInts is too large.

* commit 'e6f7a44e835d320593fa33052f35ea52948ff0b2':
  Fix for corruption when numFds or numInts is too large.

9 years agoam 414fd6fc: am 4aaa3935: Merge "Avoid overwriting EGL14.EGL_NO_SURFACE"
Jesse Hall [Tue, 2 Dec 2014 01:25:09 +0000 (01:25 +0000)]
am 414fd6fc: am 4aaa3935: Merge "Avoid overwriting EGL14.EGL_NO_SURFACE"

* commit '414fd6fc7a1023a1ca5843e14e7634dfaf255a54':
  Avoid overwriting EGL14.EGL_NO_SURFACE

9 years agoam 4aaa3935: Merge "Avoid overwriting EGL14.EGL_NO_SURFACE"
Jesse Hall [Tue, 2 Dec 2014 00:42:23 +0000 (00:42 +0000)]
am 4aaa3935: Merge "Avoid overwriting EGL14.EGL_NO_SURFACE"

* commit '4aaa39358f538d8e06e026385bb8be8088d78c35':
  Avoid overwriting EGL14.EGL_NO_SURFACE

9 years agoMerge "Avoid overwriting EGL14.EGL_NO_SURFACE"
Jesse Hall [Tue, 2 Dec 2014 00:34:50 +0000 (00:34 +0000)]
Merge "Avoid overwriting EGL14.EGL_NO_SURFACE"

9 years agoFix -Werror on 64-bit builds
Dan Stoza [Mon, 1 Dec 2014 23:15:31 +0000 (15:15 -0800)]
Fix -Werror on 64-bit builds

Add another static_cast to avoid an error on 64-bit builds

Change-Id: I62fb2c67766c4aab70d9d1834f255d06ff82dd8d

9 years agoDisable struct padding warning/error
Dan Stoza [Mon, 1 Dec 2014 23:03:34 +0000 (15:03 -0800)]
Disable struct padding warning/error

Adds -Wno-padded, which was triggering on 64-bit devices

Change-Id: If27bac27881f2081a222b32213901f5087554b07

9 years agolibui: Enable -Weverything and -Werror
Dan Stoza [Mon, 17 Nov 2014 20:03:59 +0000 (12:03 -0800)]
libui: Enable -Weverything and -Werror

Enables -Weverything and -Werror, with just a few exceptions for
warnings we can't (or shouldn't need to) work around.

Change-Id: I470a267e9b1c373f2d5c960f005c3b0e02b2db63

9 years agoam e4ea03f7: am 80e81505: Merge "binder: Add {read,write}Uint32 methods to Parcel"
Dan Stoza [Mon, 1 Dec 2014 19:29:12 +0000 (19:29 +0000)]
am e4ea03f7: am 80e81505: Merge "binder: Add {read,write}Uint32 methods to Parcel"

* commit 'e4ea03f74ded76f588501bd2e90ecb767c6426b3':
  binder: Add {read,write}Uint32 methods to Parcel

9 years agoam 32ad1d51: am 104e1259: Merge "binder: Return pid_t/uid_t instead of int"
Dan Stoza [Mon, 1 Dec 2014 19:29:11 +0000 (19:29 +0000)]
am 32ad1d51: am 104e1259: Merge "binder: Return pid_t/uid_t instead of int"

* commit '32ad1d518b8e89b487c8da2f6ec29c9a30ee5529':
  binder: Return pid_t/uid_t instead of int

9 years agoam 80e81505: Merge "binder: Add {read,write}Uint32 methods to Parcel"
Dan Stoza [Mon, 1 Dec 2014 19:27:00 +0000 (19:27 +0000)]
am 80e81505: Merge "binder: Add {read,write}Uint32 methods to Parcel"

* commit '80e8150549c9d8380dadf942336d41ab3d92bf78':
  binder: Add {read,write}Uint32 methods to Parcel

9 years agoam 104e1259: Merge "binder: Return pid_t/uid_t instead of int"
Dan Stoza [Mon, 1 Dec 2014 19:23:22 +0000 (19:23 +0000)]
am 104e1259: Merge "binder: Return pid_t/uid_t instead of int"

* commit '104e12594e085bc8dd32eedb96643b774b1508a0':
  binder: Return pid_t/uid_t instead of int

9 years agoMerge "binder: Add {read,write}Uint32 methods to Parcel"
Dan Stoza [Mon, 1 Dec 2014 19:16:16 +0000 (19:16 +0000)]
Merge "binder: Add {read,write}Uint32 methods to Parcel"

9 years agobinder: Add {read,write}Uint32 methods to Parcel
Dan Stoza [Mon, 1 Dec 2014 18:01:10 +0000 (10:01 -0800)]
binder: Add {read,write}Uint32 methods to Parcel

Adds readUint32 and writeUint32 methods to the Parcel class. This
saves a lot of static_casting in anything implementing a Binder
interface on the native side.

Change-Id: Iafc73b0633654a3a4c49767f41806b56906c924f

9 years agoMerge "binder: Return pid_t/uid_t instead of int"
Dan Stoza [Mon, 1 Dec 2014 19:10:58 +0000 (19:10 +0000)]
Merge "binder: Return pid_t/uid_t instead of int"

9 years agobinder: Return pid_t/uid_t instead of int
Dan Stoza [Wed, 26 Nov 2014 20:23:23 +0000 (12:23 -0800)]
binder: Return pid_t/uid_t instead of int

Makes IPCThreadState::getCalling{Pid,Uid} return a more
appropriate type.

Change-Id: I97f8a83c1c0722bc1afbf8a6df1a288f8f1f0d2c

9 years agoam 7d831769: am 46ca041f: Merge "Don\'t error out because SensorEventConnection:...
Chih-hung Hsieh [Wed, 26 Nov 2014 00:01:55 +0000 (00:01 +0000)]
am 7d831769: am 46ca041f: Merge "Don\'t error out because SensorEventConnection::dump overloads BBinder::dump"

* commit '7d831769fce188251afb02e6b933be7bdfe504b4':
  Don't error out because SensorEventConnection::dump overloads BBinder::dump

9 years agoam 46ca041f: Merge "Don\'t error out because SensorEventConnection::dump overloads...
Chih-hung Hsieh [Tue, 25 Nov 2014 23:55:52 +0000 (23:55 +0000)]
am 46ca041f: Merge "Don\'t error out because SensorEventConnection::dump overloads BBinder::dump"

* commit '46ca041f43e3d80029782b12c994b232dc01b5d5':
  Don't error out because SensorEventConnection::dump overloads BBinder::dump

9 years agoMerge "Don't error out because SensorEventConnection::dump overloads BBinder::dump"
Chih-hung Hsieh [Tue, 25 Nov 2014 23:45:38 +0000 (23:45 +0000)]
Merge "Don't error out because SensorEventConnection::dump overloads BBinder::dump"

9 years agoDon't error out because SensorEventConnection::dump overloads BBinder::dump
Bernhard Rosenkränzer [Mon, 17 Nov 2014 20:03:39 +0000 (21:03 +0100)]
Don't error out because SensorEventConnection::dump overloads BBinder::dump

clang warns about SensorEventConnection::dump overloading BBinder::dump
in some conditions.

Since the cause isn't fixable without changing the API, tell clang not
to error out on it.

Change-Id: I15659de7c5499d937019599cfefb01305039e6b5
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoam a7c75d1b: am 2d7ec9d7: Merge "Fix build with clang in C++11 mode"
Chih-hung Hsieh [Tue, 25 Nov 2014 23:01:13 +0000 (23:01 +0000)]
am a7c75d1b: am 2d7ec9d7: Merge "Fix build with clang in C++11 mode"

* commit 'a7c75d1b17556d9842a7823c94a2c96982687c63':
  Fix build with clang in C++11 mode

9 years agoam 2d7ec9d7: Merge "Fix build with clang in C++11 mode"
Chih-hung Hsieh [Tue, 25 Nov 2014 22:56:02 +0000 (22:56 +0000)]
am 2d7ec9d7: Merge "Fix build with clang in C++11 mode"

* commit '2d7ec9d7b5dfdb93930b94c134fa2dc10fd27313':
  Fix build with clang in C++11 mode

9 years agoMerge "Fix build with clang in C++11 mode"
Chih-hung Hsieh [Tue, 25 Nov 2014 22:43:44 +0000 (22:43 +0000)]
Merge "Fix build with clang in C++11 mode"

9 years agoFix build with clang in C++11 mode
Bernhard Rosenkränzer [Tue, 25 Nov 2014 20:55:33 +0000 (21:55 +0100)]
Fix build with clang in C++11 mode

Now that we're in C++11 mode by default, clang complains about switch
statements with case values not matching the type -- since some
binder_driver_return_protocol values are > 0x7fffffff, we need to make
the switch statements operate on uint32_t rather than int32_t.

BUG: 18466763
Change-Id: Iedbfd5c7a3d3d9f087d2eab4ff21343ad7a2a448
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoam 22b99e3a: am 45aa0227: Merge "Fix potential format string vulnerability"
chh [Tue, 25 Nov 2014 19:57:17 +0000 (19:57 +0000)]
am 22b99e3a: am 45aa0227: Merge "Fix potential format string vulnerability"

* commit '22b99e3a9a5797deada897102e71e9a88ae46d24':
  Fix potential format string vulnerability

9 years agoam 09efe0ac: am 2e42a906: Merge "Binder: Remove unused functions & variables"
Andreas Gampe [Tue, 25 Nov 2014 19:56:30 +0000 (19:56 +0000)]
am 09efe0ac: am 2e42a906: Merge "Binder: Remove unused functions & variables"

* commit '09efe0ac2a0f34eb951c9a2b91b2d15e3ab7b7ca':
  Binder: Remove unused functions & variables

9 years agoam 45aa0227: Merge "Fix potential format string vulnerability"
chh [Tue, 25 Nov 2014 19:04:12 +0000 (19:04 +0000)]
am 45aa0227: Merge "Fix potential format string vulnerability"

* commit '45aa022710165c321cdec9a475f269d6932fe1f3':
  Fix potential format string vulnerability

9 years agoam 1e611662: am b947f29a: Merge "Add clamp to Layer and update Transform inverse...
Michael Lentine [Tue, 25 Nov 2014 18:56:41 +0000 (18:56 +0000)]
am 1e611662: am b947f29a: Merge "Add clamp to Layer and update Transform inverse." into lmp-mr1-dev

* commit '1e6116621bc2f7aedfd52a5f1327b530328435b0':
  Add clamp to Layer and update Transform inverse.

9 years agoam 2e42a906: Merge "Binder: Remove unused functions & variables"
Andreas Gampe [Tue, 25 Nov 2014 18:52:24 +0000 (18:52 +0000)]
am 2e42a906: Merge "Binder: Remove unused functions & variables"

* commit '2e42a90653abd0fc8a76909b5f101782d187136e':
  Binder: Remove unused functions & variables

9 years agoam b947f29a: Merge "Add clamp to Layer and update Transform inverse." into lmp-mr1-dev
Michael Lentine [Tue, 25 Nov 2014 18:44:51 +0000 (18:44 +0000)]
am b947f29a: Merge "Add clamp to Layer and update Transform inverse." into lmp-mr1-dev

* commit 'b947f29a6af1622cda16d0b7112595082750dd07':
  Add clamp to Layer and update Transform inverse.

9 years agoam bbe43a4c: am e8a4dce8: Merge "Work on issue #18486438: Reduce size of bugreport...
Dianne Hackborn [Tue, 25 Nov 2014 17:43:21 +0000 (17:43 +0000)]
am bbe43a4c: am e8a4dce8: Merge "Work on issue #18486438: Reduce size of bugreport output" into lmp-mr1-dev

* commit 'bbe43a4cdd0ea9a06d09e451dc256b7de59b5817':
  Work on issue #18486438: Reduce size of bugreport output

9 years agoam e8a4dce8: Merge "Work on issue #18486438: Reduce size of bugreport output" into...
Dianne Hackborn [Tue, 25 Nov 2014 17:36:43 +0000 (17:36 +0000)]
am e8a4dce8: Merge "Work on issue #18486438: Reduce size of bugreport output" into lmp-mr1-dev

* commit 'e8a4dce8169ba5fdcd86a5fc29aa6986de1711b0':
  Work on issue #18486438: Reduce size of bugreport output

9 years agoOpenGL tests: Fix unused variables
Andreas Gampe [Tue, 25 Nov 2014 04:02:04 +0000 (20:02 -0800)]
OpenGL tests: Fix unused variables

For build-system CFLAGS clean-up, fix unused variables.

Change-Id: I1863418f7467412d7698dd0ce0c8e40d1bd0348e

9 years agoAvoid overwriting EGL14.EGL_NO_SURFACE
Sangkyu Lee [Fri, 7 Nov 2014 09:55:07 +0000 (18:55 +0900)]
Avoid overwriting EGL14.EGL_NO_SURFACE

Both EGL14 and EGLExt have the same initialization codes for
EGL14.EGL_NO_SURFACE, EGL14.EGL_NO_CONTEXT and EGL14.EGL_NO_DISPLAY.
Since EGLExt is initialized later, they are overwritten by EGLExt's
initialization codes.
Therefore, EGL_NO_SURFACE returned by methods in EGL14 is not
actually EGL14.EGL_NO_SURFACE object and it makes several problems in
handling error cases.
For instance, "Let's fish" game application cannot be run on L.

To solve the problem, this patch makes EGL14.EGL_NO_SURFACE,
EGL14.EGL_NO_CONTEXT and EGL14.EGL_NO_DISPLAY initialized just once.

Change-Id: Icce878164ff0b715ad2b5a2cd038a9616c7cf1e9

9 years agoMerge "Fix potential format string vulnerability"
chh [Tue, 25 Nov 2014 01:04:09 +0000 (01:04 +0000)]
Merge "Fix potential format string vulnerability"

9 years agoFix potential format string vulnerability
Bernhard Rosenkränzer [Mon, 17 Nov 2014 20:06:20 +0000 (21:06 +0100)]
Fix potential format string vulnerability

A sensor name containing a format string could have interesting side
effects...

Change-Id: If7f1378aa68572d9716c339728eab18faa6b9f2a
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoMerge "Add clamp to Layer and update Transform inverse." into lmp-mr1-dev
Michael Lentine [Tue, 25 Nov 2014 00:56:51 +0000 (00:56 +0000)]
Merge "Add clamp to Layer and update Transform inverse." into lmp-mr1-dev

9 years agoMerge "Binder: Remove unused functions & variables"
Andreas Gampe [Mon, 24 Nov 2014 20:32:40 +0000 (20:32 +0000)]
Merge "Binder: Remove unused functions & variables"