OSDN Git Service

android-x86/frameworks-native.git
9 years agoam 9664ba14: am 7a99e281: am d9485403: Merge "Include the VPN server IP address in...
Lorenzo Colitti [Mon, 27 Oct 2014 04:32:57 +0000 (04:32 +0000)]
am 9664ba14: am 7a99e281: am d9485403: Merge "Include the VPN server IP address in the VPN state file." into lmp-dev

* commit '9664ba1469f5c7633e732c78002c7f84736884cf':

9 years agoam d785677d: am 0c6e249c: am b1982b75: am 60d31a0f: am 3c648e37: Update comment to...
Sean Wan [Mon, 27 Oct 2014 04:32:57 +0000 (04:32 +0000)]
am d785677d: am 0c6e249c: am b1982b75: am 60d31a0f: am 3c648e37: Update comment to use correct GPS file for wearable.

* commit 'd785677d3a327ff050a140bb6aa4b41a3326ce9f':

9 years agoam e98c13ed: am 435d9cde: resolved conflicts for merge of 67d8bd66 to lmp-dev-plus...
Lajos Molnar [Mon, 27 Oct 2014 04:32:56 +0000 (04:32 +0000)]
am e98c13ed: am 435d9cde: resolved conflicts for merge of 67d8bd66 to lmp-dev-plus-aosp

* commit 'e98c13ed66d4c1662e630c242ccfac8fe7274de5':

9 years agoam ef04c721: am 556888b8: am 5bbf73ce: Merge "Fix typo for android.hardware.audio...
Unsuk Jung [Mon, 27 Oct 2014 04:32:55 +0000 (04:32 +0000)]
am ef04c721: am 556888b8: am 5bbf73ce: Merge "Fix typo for android.hardware.audio.output feature in handheld device config" into lmp-dev

* commit 'ef04c72130f90646b046fb6e3484f0216ff211b5':

9 years agoam 8509db4b: am c8a1b367: am e225f6fd: Merge "SensorService fixes." into lmp-dev
Aravind Akella [Mon, 27 Oct 2014 04:32:55 +0000 (04:32 +0000)]
am 8509db4b: am c8a1b367: am e225f6fd: Merge "SensorService fixes." into lmp-dev

* commit '8509db4b4a1f643b36c884323a3d119b4e5ea138':

9 years agoam b30d46dc: am 9b1543ad: am 5430cead: Add system feature for ConnectionService API...
Ihab Awad [Mon, 27 Oct 2014 04:32:54 +0000 (04:32 +0000)]
am b30d46dc: am 9b1543ad: am 5430cead: Add system feature for ConnectionService API support (2/3)

* commit 'b30d46dc2d967ccf086a1d94cbaebc3b290209b0':

9 years agoam 7a99e281: am d9485403: Merge "Include the VPN server IP address in the VPN state...
Lorenzo Colitti [Mon, 27 Oct 2014 04:18:11 +0000 (04:18 +0000)]
am 7a99e281: am d9485403: Merge "Include the VPN server IP address in the VPN state file." into lmp-dev

* commit '7a99e281dd367ff9bc107e59944d11399ac1deee':

9 years agoam 0c6e249c: am b1982b75: am 60d31a0f: am 3c648e37: Update comment to use correct...
Sean Wan [Mon, 27 Oct 2014 04:18:10 +0000 (04:18 +0000)]
am 0c6e249c: am b1982b75: am 60d31a0f: am 3c648e37: Update comment to use correct GPS file for wearable.

* commit '0c6e249cba71b1b24c6b344cdf8f17370dd871dc':

9 years agoam 435d9cde: resolved conflicts for merge of 67d8bd66 to lmp-dev-plus-aosp
Lajos Molnar [Mon, 27 Oct 2014 04:18:09 +0000 (04:18 +0000)]
am 435d9cde: resolved conflicts for merge of 67d8bd66 to lmp-dev-plus-aosp

* commit '435d9cde2777950c1d93b0982839d6796c5688b2':

9 years agoam 556888b8: am 5bbf73ce: Merge "Fix typo for android.hardware.audio.output feature...
Unsuk Jung [Mon, 27 Oct 2014 04:18:09 +0000 (04:18 +0000)]
am 556888b8: am 5bbf73ce: Merge "Fix typo for android.hardware.audio.output feature in handheld device config" into lmp-dev

* commit '556888b8ba32d923351bfb2317232dd78fff9c26':

9 years agoam c8a1b367: am e225f6fd: Merge "SensorService fixes." into lmp-dev
Aravind Akella [Mon, 27 Oct 2014 04:18:07 +0000 (04:18 +0000)]
am c8a1b367: am e225f6fd: Merge "SensorService fixes." into lmp-dev

* commit 'c8a1b36745e2094e5fdc7915739caca396c2d9de':

9 years agoam 9b1543ad: am 5430cead: Add system feature for ConnectionService API support (2/3)
Ihab Awad [Mon, 27 Oct 2014 04:18:06 +0000 (04:18 +0000)]
am 9b1543ad: am 5430cead: Add system feature for ConnectionService API support (2/3)

* commit '9b1543ad2f6f58aa116cf520378df12d46fbc037':

9 years agoam 0b91d7e2: am 131866e1: Merge "Add glFlush in surfaceflinger screenshot code."...
Riley Andrews [Fri, 24 Oct 2014 18:43:37 +0000 (18:43 +0000)]
am 0b91d7e2: am 131866e1: Merge "Add glFlush in surfaceflinger screenshot code." into lmp-mr1-dev

* commit '0b91d7e27718fc530bcad78a7ff2a51b90142059':
  Add glFlush in surfaceflinger screenshot code.

9 years agoam 131866e1: Merge "Add glFlush in surfaceflinger screenshot code." into lmp-mr1-dev
Riley Andrews [Fri, 24 Oct 2014 18:39:16 +0000 (18:39 +0000)]
am 131866e1: Merge "Add glFlush in surfaceflinger screenshot code." into lmp-mr1-dev

* commit '131866e1a4cb3c592f923e95a8c1a66291e2057a':
  Add glFlush in surfaceflinger screenshot code.

9 years agoMerge "Add glFlush in surfaceflinger screenshot code." into lmp-mr1-dev
Riley Andrews [Fri, 24 Oct 2014 18:30:07 +0000 (18:30 +0000)]
Merge "Add glFlush in surfaceflinger screenshot code." into lmp-mr1-dev

9 years agoAdd glFlush in surfaceflinger screenshot code.
Riley Andrews [Thu, 23 Oct 2014 23:17:04 +0000 (16:17 -0700)]
Add glFlush in surfaceflinger screenshot code.

After creating a syncKHR object with type EGL_SYNC_NATIVE_FENCE_ANDROID,
glFlush must be called before the EGL_SYNC_NATIVE_FENCE_FD_ANDROID attribute
is populated with a sync fd. We currently call eglDupNativeFenceFDANDROID
before issuing the flush.

Bug 18052459
Taken verbatim from matthew.k.gumbel@intel.com.

Change-Id: I3781d14f92862076e2bca7d27341a6dc6e7e3775

9 years agoam 11f2e08a: am 8ad8c0a7: am afe2b1fa: surfaceflinger: don\'t close fence fds after...
Jesse Hall [Wed, 22 Oct 2014 22:40:43 +0000 (22:40 +0000)]
am 11f2e08a: am 8ad8c0a7: am afe2b1fa: surfaceflinger: don\'t close fence fds after passing to queueBuffer

* commit '11f2e08a66f2463cbfd9cbef5c34da7ddfe2613a':
  surfaceflinger: don't close fence fds after passing to queueBuffer

9 years agoam 8ad8c0a7: am afe2b1fa: surfaceflinger: don\'t close fence fds after passing to...
Jesse Hall [Wed, 22 Oct 2014 21:27:11 +0000 (21:27 +0000)]
am 8ad8c0a7: am afe2b1fa: surfaceflinger: don\'t close fence fds after passing to queueBuffer

* commit '8ad8c0a775a1d4592479731973238b82480f76b2':
  surfaceflinger: don't close fence fds after passing to queueBuffer

9 years agoam afe2b1fa: surfaceflinger: don\'t close fence fds after passing to queueBuffer
Jesse Hall [Wed, 22 Oct 2014 20:45:35 +0000 (20:45 +0000)]
am afe2b1fa: surfaceflinger: don\'t close fence fds after passing to queueBuffer

* commit 'afe2b1fadd29149ceed639357e44e06e97c3a5ca':
  surfaceflinger: don't close fence fds after passing to queueBuffer

9 years agoam 15b2ecf5: am dcc959be: Merge "Adding eglInitialize and eglTerminate image creation...
Michael Lentine [Tue, 21 Oct 2014 18:43:47 +0000 (18:43 +0000)]
am 15b2ecf5: am dcc959be: Merge "Adding eglInitialize and eglTerminate image creation and deletion." into lmp-mr1-dev

* commit '15b2ecf599414c86cb198f3ffc126b50f88b5aa0':
  Adding eglInitialize and eglTerminate image creation and deletion.

9 years agoam dcc959be: Merge "Adding eglInitialize and eglTerminate image creation and deletion...
Michael Lentine [Tue, 21 Oct 2014 18:35:24 +0000 (18:35 +0000)]
am dcc959be: Merge "Adding eglInitialize and eglTerminate image creation and deletion." into lmp-mr1-dev

* commit 'dcc959beb77099d319a94e3985da2f4ea4064e7b':
  Adding eglInitialize and eglTerminate image creation and deletion.

9 years agoMerge "Adding eglInitialize and eglTerminate image creation and deletion." into lmp...
Michael Lentine [Tue, 21 Oct 2014 18:20:44 +0000 (18:20 +0000)]
Merge "Adding eglInitialize and eglTerminate image creation and deletion." into lmp-mr1-dev

9 years agosurfaceflinger: don't close fence fds after passing to queueBuffer
Jesse Hall [Tue, 21 Oct 2014 18:09:17 +0000 (11:09 -0700)]
surfaceflinger: don't close fence fds after passing to queueBuffer

ANativeWindow::queueBuffer takes ownership of the fence fd passed to
it, and will close it before returning. SurfaceFlinger's screenshot
code was also closing the syncFd it passed to queueBuffer. Most of the
time this meant the second close() silently failed, but in a rare race
condition the file descriptor could be reused between the two
close()s.

Bug: 17946343
Change-Id: Ib74fcb1dce52cc21328059c99b7c4c76f41aa3a5

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

* commit '8b81ce563f03500064e0f4c87288b8eeb3bed496':
  Switch to libsigchain.a

9 years agoam cb8a9fcc: Merge "Switch to libsigchain.a"
Dmitriy Ivanov [Tue, 21 Oct 2014 03:30:55 +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 agoam 54d613e3: am bf46706f: Merge "dumpstate: Add trusty version if driver is found...
Arve Hjønnevåg [Mon, 20 Oct 2014 22:12:59 +0000 (22:12 +0000)]
am 54d613e3: am bf46706f: Merge "dumpstate: Add trusty version if driver is found" into lmp-mr1-dev

* commit '54d613e33c3c93382ac846509967bac2faf72047':
  dumpstate: Add trusty version if driver is found

9 years agoam bf46706f: Merge "dumpstate: Add trusty version if driver is found" into lmp-mr1-dev
Arve Hjønnevåg [Mon, 20 Oct 2014 22:07:49 +0000 (22:07 +0000)]
am bf46706f: Merge "dumpstate: Add trusty version if driver is found" into lmp-mr1-dev

* commit 'bf46706f366f0446e60971e32acfcd221b7f19cf':
  dumpstate: Add trusty version if driver is found

9 years agoMerge "dumpstate: Add trusty version if driver is found" into lmp-mr1-dev
Arve Hjønnevåg [Mon, 20 Oct 2014 21:58:26 +0000 (21:58 +0000)]
Merge "dumpstate: Add trusty version if driver is found" into lmp-mr1-dev

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 db618257: am 042e5078: Merge "Link sigchain to surfaceflinger main executable...
Dmitriy Ivanov [Mon, 20 Oct 2014 18:35:48 +0000 (18:35 +0000)]
am db618257: am 042e5078: Merge "Link sigchain to surfaceflinger main executable" into lmp-mr1-dev

* commit 'db61825743d5ad9069d9a4531c8a8854302f4520':
  Link sigchain to surfaceflinger main executable

9 years agoam 042e5078: Merge "Link sigchain to surfaceflinger main executable" into lmp-mr1-dev
Dmitriy Ivanov [Mon, 20 Oct 2014 18:28:14 +0000 (18:28 +0000)]
am 042e5078: Merge "Link sigchain to surfaceflinger main executable" into lmp-mr1-dev

* commit '042e5078f7444a68d22d706b66ba32efc220c263':
  Link sigchain to surfaceflinger main executable

9 years agoMerge "Link sigchain to surfaceflinger main executable" into lmp-mr1-dev
Dmitriy Ivanov [Mon, 20 Oct 2014 17:14:42 +0000 (17:14 +0000)]
Merge "Link sigchain to surfaceflinger main executable" into lmp-mr1-dev

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

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

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

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

9 years agoam 649bafb7: Merge "bufferqueue: workaround: allow NULL fence with queueBuffer (DO...
Jesse Hall [Mon, 20 Oct 2014 14:17:18 +0000 (14:17 +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 f65fba5c: am 899891ec: am 0b6acb22: Add version number to SensorService dump output.
Aravind Akella [Sun, 19 Oct 2014 21:28:34 +0000 (21:28 +0000)]
am f65fba5c: am 899891ec: am 0b6acb22: Add version number to SensorService dump output.

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

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

* commit '899891ec95c0581d35f47db7bdea75bd49fdca1b':
  Add version number to SensorService dump output.

9 years agoam 0b6acb22: Add version number to SensorService dump output.
Aravind Akella [Sun, 19 Oct 2014 21:14:54 +0000 (21:14 +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 3235d8e4: am c52e54c4: Merge "Some more test cleanup."
Dan Albert [Fri, 17 Oct 2014 17:57:51 +0000 (17:57 +0000)]
am 3235d8e4: am c52e54c4: Merge "Some more test cleanup."

* commit '3235d8e477e1a0ad72d22acfff7d9966f882daa6':
  Some more test cleanup.

9 years agoam c52e54c4: Merge "Some more test cleanup."
Dan Albert [Fri, 17 Oct 2014 17:53:10 +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 agoam 39efe3e5: Clean up unused parameter warnings.
Narayan Kamath [Fri, 17 Oct 2014 11:22:05 +0000 (11:22 +0000)]
am 39efe3e5: Clean up unused parameter warnings.

* commit '39efe3e5bf6282a4851e0eb3b938060c8f7790ae':
  Clean up unused parameter warnings.

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
(cherry picked from commit 97a3367a1b49b1761e3485765b2bd3f2293f9638)

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 agodumpstate: Add trusty version if driver is found
Arve Hjønnevåg [Thu, 16 Oct 2014 01:08:37 +0000 (18:08 -0700)]
dumpstate: Add trusty version if driver is found

Change-Id: I7780ea8e1d777c222a73408f70d8a6d49dee1d92

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

(cherry picked from commit f3da24d8cf02d7c74ff7c24eae0154a21a192fda)

Change-Id: I03b632e0bf2cbaf4a0e68cd0af4e991f7f6b08e4

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

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

9 years agoam e9034b45: Merge "Use LOCAL_CLANG := false for GLES wrappers for now"
Chih-hung Hsieh [Thu, 16 Oct 2014 03:06:42 +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 664a72d3: am 91c395f6: am 60fd3fee: Migrate CA certificates to all users
Robin Lee [Thu, 16 Oct 2014 00:07:09 +0000 (00:07 +0000)]
am 664a72d3: am 91c395f6: am 60fd3fee: Migrate CA certificates to all users

* commit '664a72d3ac5e4389041e3a59ff243a5583a4b823':
  Migrate CA certificates to all users

9 years agoam 91c395f6: am 60fd3fee: Migrate CA certificates to all users
Robin Lee [Wed, 15 Oct 2014 23:57:04 +0000 (23:57 +0000)]
am 91c395f6: am 60fd3fee: Migrate CA certificates to all users

* commit '91c395f6c344682f1ae5926766d4d7247dee6df4':
  Migrate CA certificates to all users

9 years agoam 60fd3fee: Migrate CA certificates to all users
Robin Lee [Wed, 15 Oct 2014 23:25:00 +0000 (23:25 +0000)]
am 60fd3fee: Migrate CA certificates to all users

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

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

* commit '27b780b517eb18582f978da64febb31ecfa8e4bf':
  Don't check if this == NULL.

9 years agoam 9cc84950: Merge "Don\'t check if this == NULL."
Dan Albert [Wed, 15 Oct 2014 22:52:51 +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 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 f0ca2ade: am 53aad5e7: am 3454f123: media: add kMetadataBufferTypeGraphicBuffer
Lajos Molnar [Tue, 14 Oct 2014 22:29:56 +0000 (22:29 +0000)]
am f0ca2ade: am 53aad5e7: am 3454f123: media: add kMetadataBufferTypeGraphicBuffer

* commit 'f0ca2ade534275f624daea5ae3ba907a5c63afa6':
  media: add kMetadataBufferTypeGraphicBuffer

9 years agoam 53aad5e7: am 3454f123: media: add kMetadataBufferTypeGraphicBuffer
Lajos Molnar [Tue, 14 Oct 2014 22:24:22 +0000 (22:24 +0000)]
am 53aad5e7: am 3454f123: media: add kMetadataBufferTypeGraphicBuffer

* commit '53aad5e7de7619cbc9b0d9a0a0830fc29c331f8d':
  media: add kMetadataBufferTypeGraphicBuffer

9 years agoam 3454f123: media: add kMetadataBufferTypeGraphicBuffer
Lajos Molnar [Tue, 14 Oct 2014 19:56:24 +0000 (19:56 +0000)]
am 3454f123: media: add kMetadataBufferTypeGraphicBuffer

* commit '3454f123d0a10bd0ce0760828996aa26c80a8fd4':
  media: add kMetadataBufferTypeGraphicBuffer

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

* commit '88e5118f07f38c96d5b438a44c42b0951c65ba0d':
  Link sigchain to surfaceflinger main executable

9 years agoam 26a28149: Merge "Link sigchain to surfaceflinger main executable"
Dmitriy Ivanov [Tue, 14 Oct 2014 18:21:24 +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 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 465c8f13: am 2e5f8eaa: am ffb49774: Improve ANR diagnostics.
Jeff Brown [Sun, 12 Oct 2014 16:12:42 +0000 (16:12 +0000)]
am 465c8f13: am 2e5f8eaa: am ffb49774: Improve ANR diagnostics.

* commit '465c8f1387b231133fb29bdeb0eb685c30e8da00':
  Improve ANR diagnostics.

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

* commit '2e5f8eaa7dbb43e5a46eda7a3d1d895f7584a122':
  Improve ANR diagnostics.

9 years agoam ffb49774: Improve ANR diagnostics.
Jeff Brown [Sun, 12 Oct 2014 16:02:22 +0000 (16:02 +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 agoam 328f9c25: am 16410d45: am 9ea09757: Fix broken error check in Parcel::readBlob
Narayan Kamath [Fri, 10 Oct 2014 18:42:19 +0000 (18:42 +0000)]
am 328f9c25: am 16410d45: am 9ea09757: Fix broken error check in Parcel::readBlob

* commit '328f9c259ba9d3586a2496d887a96b610d112b7b':
  Fix broken error check in Parcel::readBlob

9 years agoam 16410d45: am 9ea09757: Fix broken error check in Parcel::readBlob
Narayan Kamath [Fri, 10 Oct 2014 17:00:18 +0000 (17:00 +0000)]
am 16410d45: am 9ea09757: Fix broken error check in Parcel::readBlob

* commit '16410d458fdf9915dc8cb82b1bae3949a8100124':
  Fix broken error check in Parcel::readBlob

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 19:17:44 +0000 (19:17 +0000)]
am 9ea09757: Fix broken error check in Parcel::readBlob

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

9 years agoAdding eglInitialize and eglTerminate image creation and deletion.
Michael Lentine [Thu, 2 Oct 2014 19:10:07 +0000 (12:10 -0700)]
Adding eglInitialize and eglTerminate image creation and deletion.

Previously it was possible to have the driver's eglTerminate called beofre
eglDestroyImageKHR in GLConsumer. This was because we didn't increment the
refcount for the lifetime of the image. This could lead to a crash or a deadlock
when multiple threads called terminate and destroy simultaneously.

Bug: 17700483
Change-Id: I7010d0f1b3db875332e95630b5e098a5564ba755

9 years agoam 20fca75f: am b7702c5c: Merge "BufferQueueProducer: Throttle EGL frame production...
Jesse Hall [Wed, 8 Oct 2014 17:04:38 +0000 (17:04 +0000)]
am 20fca75f: am b7702c5c: Merge "BufferQueueProducer: Throttle EGL frame production." into lmp-mr1-dev

* commit '20fca75fbd9141ebae6c9a28f5c09a837eb9caad':
  BufferQueueProducer: Throttle EGL frame production.

9 years agoam b7702c5c: Merge "BufferQueueProducer: Throttle EGL frame production." into lmp...
Jesse Hall [Wed, 8 Oct 2014 16:59:38 +0000 (16:59 +0000)]
am b7702c5c: Merge "BufferQueueProducer: Throttle EGL frame production." into lmp-mr1-dev

* commit 'b7702c5ce7f010fa5f19646fd79f28ff04e7014b':
  BufferQueueProducer: Throttle EGL frame production.

9 years agoMerge "BufferQueueProducer: Throttle EGL frame production." into lmp-mr1-dev
Jesse Hall [Wed, 8 Oct 2014 16:50:13 +0000 (16:50 +0000)]
Merge "BufferQueueProducer: Throttle EGL frame production." into lmp-mr1-dev

9 years agoFix broken error check in Parcel::readBlob
Narayan Kamath [Wed, 8 Oct 2014 16:35:45 +0000 (17:35 +0100)]
Fix broken error check in Parcel::readBlob

mmap returns MAP_FAILED (which is -1) and not NULL on
failure.

Diagnosed by cferris.

bug: 17909809

Change-Id: I609788ebf94742ef88af002d2d3f3bc9b9e520ac

9 years agoam e19c39dc: am 5acc751f: am 7830ef3d: Change ordering of memory allocation and calli...
Aravind Akella [Wed, 8 Oct 2014 13:14:37 +0000 (13:14 +0000)]
am e19c39dc: am 5acc751f: am 7830ef3d: Change ordering of memory allocation and calling Thread::run().

* commit 'e19c39dccd0cdbbcbe27dd90f224b2012b7dfb74':
  Change ordering of memory allocation and calling Thread::run().

9 years agoam 5acc751f: am 7830ef3d: Change ordering of memory allocation and calling Thread...
Aravind Akella [Wed, 8 Oct 2014 07:51:58 +0000 (07:51 +0000)]
am 5acc751f: am 7830ef3d: Change ordering of memory allocation and calling Thread::run().

* commit '5acc751ffea2fab38f7fcc4e06866640e70174e4':
  Change ordering of memory allocation and calling Thread::run().

9 years agoam 7830ef3d: Change ordering of memory allocation and calling Thread::run().
Aravind Akella [Wed, 8 Oct 2014 05:24:50 +0000 (05:24 +0000)]
am 7830ef3d: Change ordering of memory allocation and calling Thread::run().

* commit '7830ef3dd0ff3749d974c2dd85a8fa59dc47aeca':
  Change ordering of memory allocation and calling Thread::run().

9 years agoChange ordering of memory allocation and calling Thread::run().
Aravind Akella [Tue, 7 Oct 2014 21:13:12 +0000 (14:13 -0700)]
Change ordering of memory allocation and calling Thread::run().

In some cases this is causing a crash as device.poll is called with
NULL.

Bug: 17896339
Change-Id: Id431599f2c661338c355c7081b6602f8449a9198

9 years agoam f3b5cea6: am 366998d8: am 78639c22: Merge "Parcel: extra validation/debug code...
Jesse Hall [Tue, 7 Oct 2014 00:40:24 +0000 (00:40 +0000)]
am f3b5cea6: am 366998d8: am 78639c22: Merge "Parcel: extra validation/debug code for writeDupFileDescriptor" into lmp-dev

* commit 'f3b5cea662da350684b9fd7a8f486c42e57bee6d':
  Parcel: extra validation/debug code for writeDupFileDescriptor

9 years agoam 366998d8: am 78639c22: Merge "Parcel: extra validation/debug code for writeDupFile...
Jesse Hall [Tue, 7 Oct 2014 00:34:57 +0000 (00:34 +0000)]
am 366998d8: am 78639c22: Merge "Parcel: extra validation/debug code for writeDupFileDescriptor" into lmp-dev

* commit '366998d87109578eb8c33d2e94d61fe7f189beb8':
  Parcel: extra validation/debug code for writeDupFileDescriptor

9 years agoam 78639c22: Merge "Parcel: extra validation/debug code for writeDupFileDescriptor...
Jesse Hall [Tue, 7 Oct 2014 00:19:38 +0000 (00:19 +0000)]
am 78639c22: Merge "Parcel: extra validation/debug code for writeDupFileDescriptor" into lmp-dev

* commit '78639c22acfa5e56d87fd6fe8340d083536b29fc':
  Parcel: extra validation/debug code for writeDupFileDescriptor

9 years agoMerge "Parcel: extra validation/debug code for writeDupFileDescriptor" into lmp-dev
Jesse Hall [Mon, 6 Oct 2014 22:36:53 +0000 (22:36 +0000)]
Merge "Parcel: extra validation/debug code for writeDupFileDescriptor" into lmp-dev

9 years agoParcel: extra validation/debug code for writeDupFileDescriptor
Jesse Hall [Mon, 6 Oct 2014 16:49:45 +0000 (09:49 -0700)]
Parcel: extra validation/debug code for writeDupFileDescriptor

Temporary extra debug validation for b/17477219: a Parcel recipient is
getting a positive but invalid fd unexpectedly. Trying to track down
where it's coming from.

Debug code for bug: 17477219
Change-Id: Idb1e71621025a3928c7adc88fd44790e1abd2a01

9 years agoam ae29ee0a: am 93176114: am a7eb4b74: Merge "Fix sockfd leakage in SensorService...
Aravind Akella [Fri, 3 Oct 2014 23:57:35 +0000 (23:57 +0000)]
am ae29ee0a: am 93176114: am a7eb4b74: Merge "Fix sockfd leakage in SensorService." into lmp-dev

* commit 'ae29ee0a9eea291316248a90799ff28f35defeb6':
  Fix sockfd leakage in SensorService.

9 years agoam 93176114: am a7eb4b74: Merge "Fix sockfd leakage in SensorService." into lmp-dev
Aravind Akella [Fri, 3 Oct 2014 22:39:19 +0000 (22:39 +0000)]
am 93176114: am a7eb4b74: Merge "Fix sockfd leakage in SensorService." into lmp-dev

* commit '93176114cf34c9874c2db70fd7665e9f95dda9d0':
  Fix sockfd leakage in SensorService.

9 years agoBufferQueueProducer: Throttle EGL frame production.
Eric Penner [Tue, 30 Sep 2014 18:28:30 +0000 (11:28 -0700)]
BufferQueueProducer: Throttle EGL frame production.

Throttling was previously controlled by a combination of the
driver and the number of buffers in the queue. This patch makes
a more consistent trade-off, which allows two GPU frames pending
but not three. More buffering could improve throughput in the
case of varying frame times, but this also increases latency.

Bug: 17502897
Change-Id: I4ee68019ca94c635294c5959931a555a6c4ef2df

9 years agoam a7eb4b74: Merge "Fix sockfd leakage in SensorService." into lmp-dev
Aravind Akella [Fri, 3 Oct 2014 21:54:29 +0000 (21:54 +0000)]
am a7eb4b74: Merge "Fix sockfd leakage in SensorService." into lmp-dev

* commit 'a7eb4b74f74423dafd88adf94a7984ae927c3a23':
  Fix sockfd leakage in SensorService.

9 years agoMerge "Fix sockfd leakage in SensorService." into lmp-dev
Aravind Akella [Fri, 3 Oct 2014 21:45:36 +0000 (21:45 +0000)]
Merge "Fix sockfd leakage in SensorService." into lmp-dev

9 years agoam fb992b77: am 6c925ede: Fixed discrepancy between crop and frame transparencies.
Michael Lentine [Fri, 3 Oct 2014 21:10:48 +0000 (21:10 +0000)]
am fb992b77: am 6c925ede: Fixed discrepancy between crop and frame transparencies.

* commit 'fb992b7753d73f4f18ef7aa1c8e3df5c09e6efbd':
  Fixed discrepancy between crop and frame transparencies.

9 years agoam 6c925ede: Fixed discrepancy between crop and frame transparencies.
Michael Lentine [Fri, 3 Oct 2014 21:03:11 +0000 (21:03 +0000)]
am 6c925ede: Fixed discrepancy between crop and frame transparencies.

* commit '6c925ede620f4080227bb1fe8a41e4b4502348f8':
  Fixed discrepancy between crop and frame transparencies.

9 years agoFixed discrepancy between crop and frame transparencies.
Michael Lentine [Sat, 27 Sep 2014 00:55:01 +0000 (17:55 -0700)]
Fixed discrepancy between crop and frame transparencies.

Bug: 17662777
Change-Id: I0d65d9b912a37a60e4c1d2e2e198f7709460917c

9 years agoam 498f8526: am 3d1b86db: am 6747be9f: Generate the SurfaceFlinger shader cache on...
Riley Andrews [Fri, 3 Oct 2014 17:44:57 +0000 (17:44 +0000)]
am 498f8526: am 3d1b86db: am 6747be9f: Generate the SurfaceFlinger shader cache on initialization

* commit '498f8526783fd72e8561a037faf2d30e6f9da4d5':
  Generate the SurfaceFlinger shader cache on initialization

9 years agoam 3d1b86db: am 6747be9f: Generate the SurfaceFlinger shader cache on initialization
Riley Andrews [Fri, 3 Oct 2014 17:39:58 +0000 (17:39 +0000)]
am 3d1b86db: am 6747be9f: Generate the SurfaceFlinger shader cache on initialization

* commit '3d1b86db8831820ffe9407d55c36db5e9b87b009':
  Generate the SurfaceFlinger shader cache on initialization