Chih-Hung Hsieh
bceb29c83e
Merge "Fix clang -Wc++11-narrowing warnings."
2014-12-11 22:48:18 +00:00
Chih-Hung Hsieh
3bded9177b
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
2014-12-11 14:45:56 -08:00
Mathieu Chartier
472d2afb19
Increase growth limit from 64m to 80m for 1024mb hdpi tablet
...
Prevents apps hitting oome due to old linear alloc objects being
allocated in the java heap causing the heap to be larger than it
used to be.
Bug: 18707227
Change-Id: Ia49a7e6b24ae9fba1961d600d4599c17313b556b
2014-12-11 13:40:37 -08:00
Dmitriy Ivanov
d9799072de
resolved conflicts for merge of e9b6f1f7
to lmp-mr1-dev-plus-aosp
...
Change-Id: I87618573198d1f476b1680dbf9163a7dc90a66f8
2014-12-10 16:10:44 -08:00
Dmitriy Ivanov
e9b6f1f7bb
Switch to libsigchain.a
...
Use LOCAL_WHOLE_STATIC_LIBRARIES to instruct static linker
to export symbols from the static library.
(cherry picked from commit 4340a14fbf
)
Bug: 18701723
Change-Id: I70f6fdb64b0d1adbadf96c8de85870a903ec186a
2014-12-10 10:28:50 -08:00
Andreas Gampe
b93bca5d08
am a59d7a6a
: Merge "GUI: Remove unused variables"
...
* commit 'a59d7a6a66a2b8dcb2d00dbd6371fa89ae45ab04':
GUI: Remove unused variables
2014-12-09 20:09:18 +00:00
Andreas Gampe
a59d7a6a66
Merge "GUI: Remove unused variables"
2014-12-09 19:57:05 +00:00
Dan Stoza
807f94409f
am e22262ff
: (-s ours) Merge "libgui: Enable -Weverything and -Werror"
...
* commit 'e22262ffd0bbed53e6d964f2fbcd5ecd85c04403':
libgui: Enable -Weverything and -Werror
2014-12-09 13:18:36 +00:00
Andreas Gampe
5d11a72bcd
am 8fd567b1
: Merge "Libui: Remove unused variables"
...
* commit '8fd567b127170a3962bc9de637eb7987cee71810':
Libui: Remove unused variables
2014-12-09 11:25:32 +00:00
Andreas Gampe
7398a5af38
GUI: Remove unused variables
...
For build-system CFLAGS clean-up, remove unused variables.
Bug: 18632512
Change-Id: I79fdcf830683d7278f4bf114cfb76a26da1b88ff
2014-12-08 20:42:40 -08:00
Michael Lentine
397703119b
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.
2014-12-08 19:10:21 +00:00
Dan Stoza
e22262ffd0
Merge "libgui: Enable -Weverything and -Werror"
2014-12-08 18:46:08 +00:00
Andreas Gampe
8fd567b127
Merge "Libui: Remove unused variables"
2014-12-08 18:23:15 +00:00
Andreas Gampe
ff78750c64
Libui: Remove unused variables
...
For build-system CFLAGS clean-up, remove unused variables.
Bug: 18632512
Change-Id: Ib78912ae442ddc6410960ab1efb4fb2faa1a9208
2014-12-05 20:52:16 -08:00
Dan Stoza
dd883c0b08
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:
d723bd7669
00d504c06e
429ba89cd2
Change-Id: I034abec27bf4020d84af60d7acc1939c59986dd6
2014-12-05 14:59:29 -08:00
Dan Stoza
59b5783df7
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.
2014-12-05 21:19:19 +00:00
Dan Stoza
e1a2caeb2c
Merge "Fix crash when user provides large values in the Parcel."
2014-12-05 21:08:42 +00:00
Michael Lentine
ae33effd43
Fix crash when user provides large values in the Parcel.
...
Bug: 18102648
Change-Id: Ie6a24718e586a34424238363de80f9545951514f
(cherry-picked from commit 8afa1c4ab8
)
2014-12-05 20:31:09 +00:00
Dan Albert
6efc505bd8
am 09b9193d
: Merge "Fix -Werror on 64-bit builds"
...
* commit '09b9193d10b3849e426c5370a757a0eedc65a7ff':
Fix -Werror on 64-bit builds
2014-12-05 18:01:50 +00:00
Dan Albert
bcf7f22102
am 67df03d0
: Merge "Disable struct padding warning/error"
...
* commit '67df03d054f0cc4bd0e47066642b791198e9b0ad':
Disable struct padding warning/error
2014-12-05 18:01:49 +00:00
Dan Albert
bb37153577
am 35df7531
: Merge "libui: Enable -Weverything and -Werror"
...
* commit '35df753169397d9b647b251446af7093e237d047':
libui: Enable -Weverything and -Werror
2014-12-05 18:01:49 +00:00
Dan Albert
7530114619
am 5588d900
: Merge "Enable clang for libui/libgui/surfaceflinger"
...
* commit '5588d9000cd1ef217185c9001d6b5ecd84db9741':
Enable clang for libui/libgui/surfaceflinger
2014-12-05 18:01:48 +00:00
Dan Albert
9f6b6732f8
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.
2014-12-05 18:01:47 +00:00
Dan Albert
09b9193d10
Merge "Fix -Werror on 64-bit builds"
2014-12-05 17:48:53 +00:00
Dan Albert
67df03d054
Merge "Disable struct padding warning/error"
2014-12-05 17:48:47 +00:00
Dan Albert
35df753169
Merge "libui: Enable -Weverything and -Werror"
2014-12-05 17:48:11 +00:00
Dan Albert
5588d9000c
Merge "Enable clang for libui/libgui/surfaceflinger"
2014-12-05 17:47:58 +00:00
Dan Albert
e2824e0494
Merge "Fix for corruption when numFds or numInts is too large."
2014-12-05 17:47:37 +00:00
Dan Stoza
133caacf87
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 116c7a113c
)
2014-12-04 18:06:48 -08:00
Dan Stoza
42af278173
Disable struct padding warning/error
...
Adds -Wno-padded, which was triggering on 64-bit devices
Change-Id: If27bac27881f2081a222b32213901f5087554b07
(cherry picked from commit 4e84bd310c
)
2014-12-04 18:06:48 -08:00
Dan Stoza
d318240042
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 303b9a5123
)
2014-12-04 17:56:27 -08:00
Dan Stoza
01049c8321
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 f10c46ef85
)
2014-12-04 17:56:17 -08:00
Michael Lentine
3880326857
Fix for corruption when numFds or numInts is too large.
...
Bug: 18076253
Change-Id: I4c5935440013fc755e1d123049290383f4659fb6
(cherry picked from commit dfd06b89a4
)
2014-12-04 17:49:31 -08:00
Michael Lentine
e329be2e00
am 784fd39a
: resolved conflicts for merge of d6308379
to lmp-dev
...
* commit '784fd39a19f659e3b464bd9a78361c0adc1cdcab':
Fix for corruption when numFds or numInts is too large.
2014-12-04 23:06:47 +00:00
Eino-Ville Talvala
61980a3266
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"
2014-12-04 20:23:37 +00:00
Dan Stoza
db5827d314
am 5878444f
: SurfaceFlinger: Listen to HWC invalidate
...
* commit '5878444fb8da043021f30d3de739531f15390df5':
SurfaceFlinger: Listen to HWC invalidate
2014-12-03 20:43:29 +00:00
Eino-Ville Talvala
c538043889
Revert "Camera: Add XML entries and files for new system features"
...
This reverts commit e86d109176
.
Bug: 18281970
Bug: 18573576
Change-Id: If1cf236ef7eabd15ffb2a5dd33d25a8acabdd14c
2014-12-03 11:13:06 -08:00
Dan Stoza
5878444fb8
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
2014-12-02 16:58:17 -08:00
Michael Lentine
784fd39a19
resolved conflicts for merge of d6308379
to lmp-dev
...
Change-Id: I92ed61b6fdfe458cf5f8bfd6f0b37ff736280500
2014-12-02 11:15:56 -08:00
Andreas Gampe
84fd9bd151
am f8954c81
: Merge "OpenGL tests: Fix unused variables"
...
* commit 'f8954c81a4ec43958867d1f6f497ef449bf091fd':
OpenGL tests: Fix unused variables
2014-12-02 18:47:20 +00:00
Andreas Gampe
f8954c81a4
Merge "OpenGL tests: Fix unused variables"
2014-12-02 18:24:57 +00:00
Michael Lentine
d6308379d9
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.
2014-12-02 18:04:09 +00:00
Michael Lentine
76ebd319d9
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.
2014-12-02 17:52:00 +00:00
Michael Lentine
3d89edca65
am e6f7a44e
: Fix for corruption when numFds or numInts is too large.
...
* commit 'e6f7a44e835d320593fa33052f35ea52948ff0b2':
Fix for corruption when numFds or numInts is too large.
2014-12-02 17:45:44 +00:00
Jesse Hall
414fd6fc7a
am 4aaa3935
: Merge "Avoid overwriting EGL14.EGL_NO_SURFACE"
...
* commit '4aaa39358f538d8e06e026385bb8be8088d78c35':
Avoid overwriting EGL14.EGL_NO_SURFACE
2014-12-02 00:42:23 +00:00
Jesse Hall
4aaa39358f
Merge "Avoid overwriting EGL14.EGL_NO_SURFACE"
2014-12-02 00:34:51 +00:00
Dan Stoza
e4ea03f74d
am 80e81505
: Merge "binder: Add {read,write}Uint32 methods to Parcel"
...
* commit '80e8150549c9d8380dadf942336d41ab3d92bf78':
binder: Add {read,write}Uint32 methods to Parcel
2014-12-01 19:27:00 +00:00
Dan Stoza
32ad1d518b
am 104e1259
: Merge "binder: Return pid_t/uid_t instead of int"
...
* commit '104e12594e085bc8dd32eedb96643b774b1508a0':
binder: Return pid_t/uid_t instead of int
2014-12-01 19:23:22 +00:00
Dan Stoza
80e8150549
Merge "binder: Add {read,write}Uint32 methods to Parcel"
2014-12-01 19:16:17 +00:00
Dan Stoza
41a0f2f86c
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
2014-12-01 11:13:11 -08:00