OSDN Git Service

android-x86/frameworks-native.git
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 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 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 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 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 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 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 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 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 "Binder: Remove unused functions & variables"
Andreas Gampe [Mon, 24 Nov 2014 20:32:40 +0000 (20:32 +0000)]
Merge "Binder: Remove unused functions & variables"

9 years agoBinder: Remove unused functions & variables
Andreas Gampe [Mon, 24 Nov 2014 19:39:11 +0000 (11:39 -0800)]
Binder: Remove unused functions & variables

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

Change-Id: I88abc2bc99e6b91c7aa56470ff9671bf8bf29f8d

9 years agoMerge "Mark 2 unused paramters as such"
Narayan Kamath [Mon, 24 Nov 2014 13:16:36 +0000 (13:16 +0000)]
Merge "Mark 2 unused paramters as such"

9 years agoMark 2 unused paramters as such
Bernhard Rosenkränzer [Sun, 23 Nov 2014 21:28:26 +0000 (22:28 +0100)]
Mark 2 unused paramters as such

Mark 2 unused paramters to prevent clang from erroring out

Change-Id: Ifc9b4a5b820bd6318e9259e737e708d25fdb174b
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoMerge "We HAVE_LITTLE_ENDIAN."
Elliott Hughes [Sat, 22 Nov 2014 07:49:31 +0000 (07:49 +0000)]
Merge "We HAVE_LITTLE_ENDIAN."

9 years agoWe HAVE_LITTLE_ENDIAN.
Elliott Hughes [Sat, 22 Nov 2014 07:35:36 +0000 (23:35 -0800)]
We HAVE_LITTLE_ENDIAN.

Change-Id: I68551ad663f2649a06b1958e9bef152e6d026e72

9 years agoMerge "Fix installd command line parser"
Mike Lockwood [Fri, 21 Nov 2014 05:02:50 +0000 (05:02 +0000)]
Merge "Fix installd command line parser"

9 years agoMerge "C++11 compatibility."
Dan Albert [Thu, 20 Nov 2014 22:06:43 +0000 (22:06 +0000)]
Merge "C++11 compatibility."

9 years agoC++11 compatibility.
Dan Albert [Thu, 20 Nov 2014 19:50:23 +0000 (11:50 -0800)]
C++11 compatibility.

 * Explicit conversion for atomic_uintptr_t initialization.
 * Fix string literal concatenation to not be a UD literal.
 * Use __typeof__ instead of typeof (should become decltype once this
   actually moves to C++11).

Bug: 18466763
Change-Id: I4eedddfb945a2a703ed27317cb6e2b3041b1ebfc

9 years agoMerge "Kill INCLUDE_SYS_MOUNT_FOR_STATFS."
Elliott Hughes [Thu, 20 Nov 2014 20:58:53 +0000 (20:58 +0000)]
Merge "Kill INCLUDE_SYS_MOUNT_FOR_STATFS."

9 years agoKill INCLUDE_SYS_MOUNT_FOR_STATFS.
Elliott Hughes [Thu, 20 Nov 2014 20:54:21 +0000 (12:54 -0800)]
Kill INCLUDE_SYS_MOUNT_FOR_STATFS.

Change-Id: I692179cae9d476dd5a0b5fa92813b61934dd7c87

9 years agoMerge "Add an installd command to mark the end of boot."
Narayan Kamath [Thu, 20 Nov 2014 10:47:10 +0000 (10:47 +0000)]
Merge "Add an installd command to mark the end of boot."

9 years agoAdd an installd command to mark the end of boot.
Narayan Kamath [Mon, 10 Nov 2014 15:03:46 +0000 (15:03 +0000)]
Add an installd command to mark the end of boot.

bug: 18280671

(cherry picked from commit b1a6c2f95a455aa2829340fcc8d233493855f4d4)

Change-Id: I97542875ffff1b68ab324e9b04fb9266c82633cc

9 years agoMerge "Remove comparisons that can't be true"
Chih-hung Hsieh [Tue, 18 Nov 2014 00:14:44 +0000 (00:14 +0000)]
Merge "Remove comparisons that can't be true"

9 years agoMerge "Fix class vs. struct mismatch"
Chih-hung Hsieh [Mon, 17 Nov 2014 21:49:45 +0000 (21:49 +0000)]
Merge "Fix class vs. struct mismatch"

9 years agoFix class vs. struct mismatch
Bernhard Rosenkränzer [Mon, 17 Nov 2014 20:12:15 +0000 (21:12 +0100)]
Fix class vs. struct mismatch

egl_connection_t is a struct - shouldn't be forward-declared as a class

Change-Id: I39f5d9bff9fc64f4694fb2bef7e4afa131b449cc
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoRemove comparisons that can't be true
Bernhard Rosenkränzer [Mon, 17 Nov 2014 20:09:14 +0000 (21:09 +0100)]
Remove comparisons that can't be true

keyBitmask and ledBitmask are arrays, "!their address" always evaluates to
false. clang complains about this.

Change-Id: I6aed45a203b0eeaad2093dbdebea03a2c2fc1a3d
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoMerge "Replace IInterface::asBinder() with a static"
Marco Nelissen [Mon, 17 Nov 2014 18:14:15 +0000 (18:14 +0000)]
Merge "Replace IInterface::asBinder() with a static"

9 years agoReplace IInterface::asBinder() with a static
Marco Nelissen [Fri, 14 Nov 2014 16:01:01 +0000 (08:01 -0800)]
Replace IInterface::asBinder() with a static

so we can do NULL checks again, and update calls to IInterface::asBinder()
to use the new static version.

Change-Id: Ia7b10eb38ca55b72278bfd33d3bf647f338b4e6a

9 years agoMerge "Move frameworks/native to libc++."
Dan Albert [Sun, 16 Nov 2014 17:23:12 +0000 (17:23 +0000)]
Merge "Move frameworks/native to libc++."

9 years agoMove frameworks/native to libc++.
Dan Albert [Sun, 16 Nov 2014 02:18:17 +0000 (18:18 -0800)]
Move frameworks/native to libc++.

I'm pretty sure I had done this before... Must have been new
dependencies that slipped in when L merged in.

Bug: 15193147
Change-Id: Ib9b1b8a65665d25c33c6141b9476a8e13c4084e0

9 years agoMerge "Add support for dalvik.vm.isa.<instruction set>.variant"
Ian Rogers [Fri, 14 Nov 2014 00:20:51 +0000 (00:20 +0000)]
Merge "Add support for dalvik.vm.isa.<instruction set>.variant"

9 years agoMerge "kill HAVE_FORKEXEC"
Yabin Cui [Thu, 13 Nov 2014 23:22:26 +0000 (23:22 +0000)]
Merge "kill HAVE_FORKEXEC"

9 years agoMerge "Frameworks/native: Wall Werror in batteryservice & powermanager"
Andreas Gampe [Thu, 13 Nov 2014 22:55:41 +0000 (22:55 +0000)]
Merge "Frameworks/native: Wall Werror in batteryservice & powermanager"

9 years agoMerge "Frameworks/native: Wall Werror in surfaceflinger"
Andreas Gampe [Thu, 13 Nov 2014 22:33:47 +0000 (22:33 +0000)]
Merge "Frameworks/native: Wall Werror in surfaceflinger"

9 years agoFrameworks/native: Wall Werror in batteryservice & powermanager
Andreas Gampe [Thu, 13 Nov 2014 22:31:11 +0000 (14:31 -0800)]
Frameworks/native: Wall Werror in batteryservice & powermanager

Turn on -Wall -Werror in services/batteryservice and services/powermanager.
Fix warnings.

Change-Id: I1da667083013379cd8240377c48d63fa5c53033d

9 years agoFrameworks/native: Wall Werror in surfaceflinger
Andreas Gampe [Thu, 13 Nov 2014 22:18:56 +0000 (14:18 -0800)]
Frameworks/native: Wall Werror in surfaceflinger

Turn on -Wall -Werror in services/surfaceflinger. Fix warnings.

Change-Id: Ifef830300d9d4bc657d8f1257c02bfe8c2b4d9c5

9 years agokill HAVE_FORKEXEC
Yabin Cui [Tue, 11 Nov 2014 17:26:00 +0000 (09:26 -0800)]
kill HAVE_FORKEXEC

Bug: 18317407
Change-Id: I0c7b5886e5de12bdd95cfcc046bc87e4a6aeef5b

9 years agoMerge "Frameworks/native: Add pragmas to glgen headers"
Andreas Gampe [Wed, 12 Nov 2014 18:30:40 +0000 (18:30 +0000)]
Merge "Frameworks/native: Add pragmas to glgen headers"

9 years agoFrameworks/native: Add pragmas to glgen headers
Andreas Gampe [Tue, 11 Nov 2014 06:51:01 +0000 (22:51 -0800)]
Frameworks/native: Add pragmas to glgen headers

The code currently being generated by glgen is not the cleanest, but
we would like to get core/jni onto -Werror. Thus add pragmas turning
off warnings locally to the C headers.

Also fix signed-comparison in two functions.

Longer term TODO: Emit clean code.

Change-Id: Iee8582f8c0c1de076d64851d3b6ca467afd5bc43

9 years agoMerge "EGL: make x86/64 wrappers resistant to -fno-omit-frame-pointer flag"
Jesse Hall [Wed, 12 Nov 2014 17:21:26 +0000 (17:21 +0000)]
Merge "EGL: make x86/64 wrappers resistant to -fno-omit-frame-pointer flag"

9 years agoEGL: make x86/64 wrappers resistant to -fno-omit-frame-pointer flag
Michal Wajdeczko [Fri, 8 Aug 2014 15:26:25 +0000 (17:26 +0200)]
EGL: make x86/64 wrappers resistant to -fno-omit-frame-pointer flag

Wrapper functions were broken on builds that forced -fno-omit-frame-pointer flag.

Change-Id: I5a80f9587fb3db821b4156af56acda59a0b4579b
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Yong Yao <yong.yao@intel.com>
9 years agoAdd support for dalvik.vm.isa.<instruction set>.variant
Ian Rogers [Sun, 9 Nov 2014 00:58:13 +0000 (16:58 -0800)]
Add support for dalvik.vm.isa.<instruction set>.variant

Bug: 18056890
Change-Id: Ia266fa9f2a79158ced82016106aa1cd2529259c9

9 years agoMerge "Add missing include to fix libc++ build."
Dan Albert [Fri, 7 Nov 2014 18:04:49 +0000 (18:04 +0000)]
Merge "Add missing include to fix libc++ build."

9 years agoAdd missing include to fix libc++ build.
Dan Albert [Fri, 7 Nov 2014 17:33:44 +0000 (09:33 -0800)]
Add missing include to fix libc++ build.

This was previously committed, but I guess it got lost in the merge
queue.

Bug: 15193147
Change-Id: Ic0e5d90ab403fb833d6a3bb7c55d279c56534869

9 years agoFix installd command line parser
Serguei Katkov [Wed, 29 Oct 2014 13:38:01 +0000 (19:38 +0600)]
Fix installd command line parser

Parser does not take into account that the last argument can be empty.
In this case it will skip end of line marker and continue parsing.

Change-Id: I2d029a69ed22cef497893e592ff3275ced97f85f
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
9 years agoam d12586b8: Merge "Move hwc tests to libc++."
Dan Albert [Wed, 5 Nov 2014 02:41:59 +0000 (02:41 +0000)]
am d12586b8: Merge "Move hwc tests to libc++."

* commit 'd12586b8593cf0cb894d02104a9794ed9dd85d16':
  Move hwc tests to libc++.

9 years agoMerge "Move hwc tests to libc++."
Dan Albert [Wed, 5 Nov 2014 01:38:09 +0000 (01:38 +0000)]
Merge "Move hwc tests to libc++."

9 years agoMove hwc tests to libc++.
Dan Albert [Wed, 5 Nov 2014 01:25:12 +0000 (17:25 -0800)]
Move hwc tests to libc++.

Since these tests were pulling in a static library linked against
stlport, the tests needed to be explicit about which STL they're
using. Might as well be libc++.

Bug: 15193147
Change-Id: I4e0fc4ea10f7982dd04e7baaf57139dd5d55543e

9 years agoam dbab409c: Merge "Avoid two warnings from clang."
Chih-Hung Hsieh [Tue, 4 Nov 2014 01:24:07 +0000 (01:24 +0000)]
am dbab409c: Merge "Avoid two warnings from clang."

* commit 'dbab409c49ca5dd6686912d0b3eeb19ef1c37a3e':
  Avoid two warnings from clang.

9 years agoMerge "Avoid two warnings from clang."
Chih-Hung Hsieh [Tue, 4 Nov 2014 01:14:16 +0000 (01:14 +0000)]
Merge "Avoid two warnings from clang."

9 years agoAvoid two warnings from clang.
Chih-Hung Hsieh [Fri, 24 Oct 2014 21:10:09 +0000 (14:10 -0700)]
Avoid two warnings from clang.

Clang compiler warns about undefined static functions like getReturnString
before all references are removed inside IF_LOG_COMMANDS.
To remove such warnings, we can leave those static functions defined
and the compiler will remove them at the end when they are not used.

Add a cast to long before converting from int to void*,
to avoid type cast warnings on 64 bit targets.

BUG: 17043248
Change-Id: Ica31101522279d2c8eacc90e2939767002fb827b

9 years agoam e42cba8f: Merge "Initialize ARect fields in default ctor"
Dan Stoza [Wed, 29 Oct 2014 23:04:05 +0000 (23:04 +0000)]
am e42cba8f: Merge "Initialize ARect fields in default ctor"

* commit 'e42cba8feb2bbfe385f162a06e41e2c2c0f40c99':
  Initialize ARect fields in default ctor

9 years agoMerge "Initialize ARect fields in default ctor"
Dan Stoza [Wed, 29 Oct 2014 22:58:47 +0000 (22:58 +0000)]
Merge "Initialize ARect fields in default ctor"

9 years agoInitialize ARect fields in default ctor
Dmitriy Ivanov [Tue, 28 Oct 2014 23:41:10 +0000 (16:41 -0700)]
Initialize ARect fields in default ctor

 So that we can use Rect() for update and such.

Bug: 18095940
Change-Id: I03ed87121d2d279f22013b75e95dd7254551ca1f

9 years agoam cb8a9fcc: Merge "Switch to libsigchain.a"
Dmitriy Ivanov [Tue, 21 Oct 2014 03:30:18 +0000 (03:30 +0000)]
am cb8a9fcc: Merge "Switch to libsigchain.a"

* commit 'cb8a9fcc56288378d05d80c55396db7981e3828d':
  Switch to libsigchain.a

9 years agoMerge "Switch to libsigchain.a"
Dmitriy Ivanov [Tue, 21 Oct 2014 03:14:18 +0000 (03:14 +0000)]
Merge "Switch to libsigchain.a"

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.

Change-Id: I0e41cf173be96c52cdad72b1ef4a1bf819e65dd2

9 years agoam 649bafb7: Merge "bufferqueue: workaround: allow NULL fence with queueBuffer (DO...
Jesse Hall [Mon, 20 Oct 2014 14:13:05 +0000 (14:13 +0000)]
am 649bafb7: Merge "bufferqueue: workaround: allow NULL fence with queueBuffer (DO NOT MERGE)" into lmp-dev

* commit '649bafb7ba2c3204295bc3451ff7af7e28e714ed':
  bufferqueue: workaround: allow NULL fence with queueBuffer (DO NOT MERGE)

9 years agoMerge "bufferqueue: workaround: allow NULL fence with queueBuffer (DO NOT MERGE)...
Jesse Hall [Mon, 20 Oct 2014 13:59:24 +0000 (13:59 +0000)]
Merge "bufferqueue: workaround: allow NULL fence with queueBuffer (DO NOT MERGE)" into lmp-dev

9 years agoam 0b6acb22: Add version number to SensorService dump output.
Aravind Akella [Sun, 19 Oct 2014 21:05:16 +0000 (21:05 +0000)]
am 0b6acb22: Add version number to SensorService dump output.

* commit '0b6acb2231baed861488f2d181621272d0658d25':
  Add version number to SensorService dump output.

9 years agoAdd version number to SensorService dump output.
Aravind Akella [Sat, 18 Oct 2014 23:37:13 +0000 (16:37 -0700)]
Add version number to SensorService dump output.

Change-Id: I64f9482ade523ec3fafe14bff14db7196e32413f

9 years agobufferqueue: workaround: allow NULL fence with queueBuffer (DO NOT MERGE)
Jesse Hall [Sun, 19 Oct 2014 04:47:04 +0000 (21:47 -0700)]
bufferqueue: workaround: allow NULL fence with queueBuffer (DO NOT MERGE)

On one device there is a bug, not yet root-caused, that causes fence
fds to not make it across binder from producer to consumer in the
IGraphicBufferProducer::queueBuffer call. Rather than returning an
error, which the producer typically treats as a fatal error, this
change allows the buffer to be queued with no fence. This avoids an
application crash at the risk of (likely single-frame) visible
corruption.

Bug: 17946343
Change-Id: I9ca89f94098c455e1e90f5f58d5336c936b04a9c

9 years agoam c52e54c4: Merge "Some more test cleanup."
Dan Albert [Fri, 17 Oct 2014 17:53:05 +0000 (17:53 +0000)]
am c52e54c4: Merge "Some more test cleanup."

* commit 'c52e54c47184704613d446eb15d051ceb43d82b3':
  Some more test cleanup.

9 years agoMerge "Some more test cleanup."
Dan Albert [Fri, 17 Oct 2014 17:43:57 +0000 (17:43 +0000)]
Merge "Some more test cleanup."

9 years agoClean up unused parameter warnings.
Narayan Kamath [Fri, 17 Oct 2014 09:37:08 +0000 (10:37 +0100)]
Clean up unused parameter warnings.

Manual application of change 692018430f115343e36b0680acc659f2a731a5d7.

Change-Id: I100f838d70e591a13abb198dc420000ef114a429

9 years agoSome more test cleanup.
Dan Albert [Fri, 17 Oct 2014 03:46:05 +0000 (20:46 -0700)]
Some more test cleanup.

Needed to build successfully when libc++ is the default STL.

Also fix a missing include. Not sure how this was getting by before.
Probably some transitive include.

Change-Id: Ie96b79e96b4e154d786fbf2d5ae5cf5892608837

9 years agoam e9034b45: Merge "Use LOCAL_CLANG := false for GLES wrappers for now"
Chih-hung Hsieh [Thu, 16 Oct 2014 03:06:25 +0000 (03:06 +0000)]
am e9034b45: Merge "Use LOCAL_CLANG := false for GLES wrappers for now"

* commit 'e9034b4502ae6e693ad52fe2e435066dc969a3ab':
  Use LOCAL_CLANG := false for GLES wrappers for now

9 years agoMerge "Use LOCAL_CLANG := false for GLES wrappers for now"
Chih-hung Hsieh [Thu, 16 Oct 2014 02:52:34 +0000 (02:52 +0000)]
Merge "Use LOCAL_CLANG := false for GLES wrappers for now"

9 years agoam 9cc84950: Merge "Don\'t check if this == NULL."
Dan Albert [Wed, 15 Oct 2014 22:52:43 +0000 (22:52 +0000)]
am 9cc84950: Merge "Don\'t check if this == NULL."

* commit '9cc849500df0bba42d3ed19b90c38ff1dffd2262':
  Don't check if this == NULL.

9 years agoMerge "Don't check if this == NULL."
Dan Albert [Wed, 15 Oct 2014 22:45:07 +0000 (22:45 +0000)]
Merge "Don't check if this == NULL."

9 years agoUse LOCAL_CLANG := false for GLES wrappers for now
Bernhard Rosenkraenzer [Mon, 13 Oct 2014 11:56:57 +0000 (13:56 +0200)]
Use LOCAL_CLANG := false for GLES wrappers for now

GLES wrappers built with clang currently result in crashes in libhwui,
UI doesn't come up.

Force gcc for the wrappers until this is investigated and fixed
properly.

Bug: 18003438
Change-Id: I24a17ec019409930883da8040fe2fb05b0fea0c5
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoam 60fd3fee: Migrate CA certificates to all users
Robin Lee [Wed, 15 Oct 2014 19:26:36 +0000 (19:26 +0000)]
am 60fd3fee: Migrate CA certificates to all users

* commit '60fd3feecab4336d964ca8e31c7c3220e1afb558':
  Migrate CA certificates to all users

9 years agoMigrate CA certificates to all users
Robin Lee [Tue, 7 Oct 2014 15:55:02 +0000 (16:55 +0100)]
Migrate CA certificates to all users

Copies the /data/misc/keychain/cacert-* directories to all users on
the device, whereas previously they were simply copied to user 0.

This is a shallow copy so anything that wasn't supposed to be there
will disappear.

Bug: 17811821
Change-Id: Iae5909ab8d5efdb83c9c8fdf0e10ab7060d022cc

9 years agoam 26a28149: Merge "Link sigchain to surfaceflinger main executable"
Dmitriy Ivanov [Tue, 14 Oct 2014 18:21:44 +0000 (18:21 +0000)]
am 26a28149: Merge "Link sigchain to surfaceflinger main executable"

* commit '26a2814963de75f14dfbe7cf3d45e993727891cf':
  Link sigchain to surfaceflinger main executable

9 years agoMerge "Link sigchain to surfaceflinger main executable"
Dmitriy Ivanov [Tue, 14 Oct 2014 17:37:53 +0000 (17:37 +0000)]
Merge "Link sigchain to surfaceflinger main executable"

9 years agoam 3454f123: media: add kMetadataBufferTypeGraphicBuffer
Lajos Molnar [Tue, 14 Oct 2014 08:27:07 +0000 (08:27 +0000)]
am 3454f123: media: add kMetadataBufferTypeGraphicBuffer

* commit '3454f123d0a10bd0ce0760828996aa26c80a8fd4':
  media: add kMetadataBufferTypeGraphicBuffer

9 years agomedia: add kMetadataBufferTypeGraphicBuffer
Lajos Molnar [Tue, 14 Oct 2014 05:56:09 +0000 (22:56 -0700)]
media: add kMetadataBufferTypeGraphicBuffer

Bug: 17935149
Change-Id: I1c26d1e83d8fa0a9ccdb25f6f3b19a86b1dc6f37

9 years agoam ffb49774: Improve ANR diagnostics.
Jeff Brown [Sun, 12 Oct 2014 16:01:36 +0000 (16:01 +0000)]
am ffb49774: Improve ANR diagnostics.

* commit 'ffb497743831ae4857b674629b58ea3c46d01431':
  Improve ANR diagnostics.

9 years agoImprove ANR diagnostics.
Jeff Brown [Sat, 11 Oct 2014 02:01:34 +0000 (19:01 -0700)]
Improve ANR diagnostics.

Print more details about the exact reason that an ANR has occurred.
Also start checking that the window actually has a registered
input connection that is not in a broken state.  These windows
are supposed to be cleaned up by the window manager promptly
as if the app had crashed but the pattern of ANRs we are observing
suggests that broken windows might be sticking around longer than
they should.

Bug: 17721767
Change-Id: Ie2803a3fa9642381ecadc198fec15e1b70d93c20

9 years agoLink sigchain to surfaceflinger main executable
Dmitriy Ivanov [Tue, 7 Oct 2014 20:40:41 +0000 (13:40 -0700)]
Link sigchain to surfaceflinger main executable

 And export necessary symbols to preempt calls from libart.so

Bug: 15345057
Bug: 15426766
Change-Id: If0b7f59a59824e30aa0c33dad76c7a44932180de

9 years agoam 9ea09757: Fix broken error check in Parcel::readBlob
Narayan Kamath [Thu, 9 Oct 2014 12:50:12 +0000 (12:50 +0000)]
am 9ea09757: Fix broken error check in Parcel::readBlob

* commit '9ea09757fa63ad2a9bea9c846b51c1210d69c79f':
  Fix broken error check in Parcel::readBlob