OSDN Git Service

android-x86/frameworks-native.git
9 years agoam 8f12365b: am 5105960d: Fix sockfd leakage in SensorService. Remove sockfd from...
Aravind Akella [Wed, 24 Sep 2014 17:18:20 +0000 (17:18 +0000)]
am 8f12365b: am 5105960d: Fix sockfd leakage in SensorService. Remove sockfd from Looper when the connection is removed from mActiveConnections.

* commit '8f12365b768a05e7e28094e3e90ff01afca284ba':
  Fix sockfd leakage in SensorService. Remove sockfd from Looper when the connection is removed from mActiveConnections.

9 years agoam 5105960d: Fix sockfd leakage in SensorService. Remove sockfd from Looper when...
Aravind Akella [Wed, 24 Sep 2014 04:24:07 +0000 (04:24 +0000)]
am 5105960d: Fix sockfd leakage in SensorService. Remove sockfd from Looper when the connection is removed from mActiveConnections.

* commit '5105960d49bfa86efeeea8f87c87aa96b5771c37':
  Fix sockfd leakage in SensorService. Remove sockfd from Looper when the connection is removed from mActiveConnections.

9 years agoFix sockfd leakage in SensorService. Remove sockfd from Looper
Aravind Akella [Tue, 23 Sep 2014 23:42:49 +0000 (16:42 -0700)]
Fix sockfd leakage in SensorService. Remove sockfd from Looper
when the connection is removed from mActiveConnections.

Bug: 17472228
Change-Id: Iaabe0968bd2104ef961ff5e8659bf91712e2e1db

9 years agoam 14fa402f: am 12c4bdad: Add rate-limited logging for unimplemented es functions.
Michael Lentine [Tue, 23 Sep 2014 20:57:03 +0000 (20:57 +0000)]
am 14fa402f: am 12c4bdad: Add rate-limited logging for unimplemented es functions.

* commit '14fa402fea7b3aa420271923e9e051ba122912b6':
  Add rate-limited logging for unimplemented es functions.

9 years agoam 56b3f887: am 6ee97e74: Merge "Fix a null dereference."
Dan Albert [Tue, 23 Sep 2014 20:55:50 +0000 (20:55 +0000)]
am 56b3f887: am 6ee97e74: Merge "Fix a null dereference."

* commit '56b3f887a2a859eaac9f3c3eb2fa18eb5bf396da':
  Fix a null dereference.

9 years agoam 12c4bdad: Add rate-limited logging for unimplemented es functions.
Michael Lentine [Tue, 23 Sep 2014 19:41:45 +0000 (19:41 +0000)]
am 12c4bdad: Add rate-limited logging for unimplemented es functions.

* commit '12c4bdad7b2372ab64dcd2abbdbe47e709fb8b90':
  Add rate-limited logging for unimplemented es functions.

9 years agoam 63a8e04d: am d9485403: Merge "Include the VPN server IP address in the VPN state...
Lorenzo Colitti [Tue, 23 Sep 2014 19:06:31 +0000 (19:06 +0000)]
am 63a8e04d: am d9485403: Merge "Include the VPN server IP address in the VPN state file." into lmp-dev

* commit '63a8e04d2da0daf6802ecea2048f9eb9a9a8b878':
  Include the VPN server IP address in the VPN state file.

9 years agoam 6ee97e74: Merge "Fix a null dereference."
Dan Albert [Tue, 23 Sep 2014 17:54:39 +0000 (17:54 +0000)]
am 6ee97e74: Merge "Fix a null dereference."

* commit '6ee97e74d2c972dec2aa6a2f231b718eae54898f':
  Fix a null dereference.

9 years agoMerge "Fix a null dereference."
Dan Albert [Tue, 23 Sep 2014 17:41:11 +0000 (17:41 +0000)]
Merge "Fix a null dereference."

9 years agoMerge "Return EGL_FALSE early when eglInitialize() fails"
Tom Hudson [Tue, 23 Sep 2014 17:16:36 +0000 (17:16 +0000)]
Merge "Return EGL_FALSE early when eglInitialize() fails"

9 years agoFix a null dereference.
Dan Albert [Tue, 23 Sep 2014 16:51:51 +0000 (09:51 -0700)]
Fix a null dereference.

Change-Id: I7224c3368ff414620062bc08b80a6a94d55d7931

9 years agoReturn EGL_FALSE early when eglInitialize() fails
Tom Hudson [Tue, 23 Sep 2014 16:00:41 +0000 (12:00 -0400)]
Return EGL_FALSE early when eglInitialize() fails

In the Meta-EGL shim, eglInitialize() could fail but return EGL_TRUE,
writing into the version numbers; both of these behaviors contradict
the spec.

BUG=b/17486830
R=jessehall@google.com

Change-Id: I810bdbd701e222ac09ab8660ce9dfc0c0954c3d7

9 years agoam d9485403: Merge "Include the VPN server IP address in the VPN state file." into...
Lorenzo Colitti [Tue, 23 Sep 2014 15:50:59 +0000 (15:50 +0000)]
am d9485403: Merge "Include the VPN server IP address in the VPN state file." into lmp-dev

* commit 'd94854030c76fc4ee4126ca1707a76fbd1f29126':
  Include the VPN server IP address in the VPN state file.

9 years agoAdd rate-limited logging for unimplemented es functions.
Michael Lentine [Thu, 11 Sep 2014 19:24:13 +0000 (12:24 -0700)]
Add rate-limited logging for unimplemented es functions.

Bug: 17322013

Change-Id: I7aa5ab2f76cf344cfb75802edbfd44e8e7526ff1

9 years agoMerge "Include the VPN server IP address in the VPN state file." into lmp-dev
Lorenzo Colitti [Tue, 23 Sep 2014 00:29:57 +0000 (00:29 +0000)]
Merge "Include the VPN server IP address in the VPN state file." into lmp-dev

9 years agoam 9b8af6e7: am b1982b75: am 60d31a0f: am 3c648e37: Update comment to use correct...
Sean Wan [Fri, 19 Sep 2014 23:31:03 +0000 (23:31 +0000)]
am 9b8af6e7: am b1982b75: am 60d31a0f: am 3c648e37: Update comment to use correct GPS file for wearable.

* commit '9b8af6e778c0cf9da6f5bacfdc8687a1af7e18a4':
  Update comment to use correct GPS file for wearable.

9 years agoam b1982b75: am 60d31a0f: am 3c648e37: Update comment to use correct GPS file for...
Sean Wan [Fri, 19 Sep 2014 22:51:15 +0000 (22:51 +0000)]
am b1982b75: am 60d31a0f: am 3c648e37: Update comment to use correct GPS file for wearable.

* commit 'b1982b75c4f3d9c812d9c49ca294132430c7cd8d':
  Update comment to use correct GPS file for wearable.

9 years agoam 60d31a0f: am 3c648e37: Update comment to use correct GPS file for wearable.
Sean Wan [Fri, 19 Sep 2014 22:02:37 +0000 (22:02 +0000)]
am 60d31a0f: am 3c648e37: Update comment to use correct GPS file for wearable.

* commit '60d31a0fc0724d4538d105a800a1565e5f843130':
  Update comment to use correct GPS file for wearable.

9 years agoam 3c648e37: Update comment to use correct GPS file for wearable.
Sean Wan [Fri, 19 Sep 2014 21:49:11 +0000 (21:49 +0000)]
am 3c648e37: Update comment to use correct GPS file for wearable.

* commit '3c648e373a44237c1924fc886daf8418a6e9f4cf':
  Update comment to use correct GPS file for wearable.

9 years agoUpdate comment to use correct GPS file for wearable.
Sean Wan [Fri, 19 Sep 2014 21:33:51 +0000 (14:33 -0700)]
Update comment to use correct GPS file for wearable.

Change-Id: I91c4363dbcc6cada8d6e9599d1b15e77febee0e5

9 years agoam 147372fd: resolved conflicts for merge of 67d8bd66 to lmp-mr1-dev-plus-aosp
Lajos Molnar [Fri, 19 Sep 2014 13:33:22 +0000 (13:33 +0000)]
am 147372fd: resolved conflicts for merge of 67d8bd66 to lmp-mr1-dev-plus-aosp

* commit '147372fdf9fae688114121228247497d43514ab7':

9 years agoresolved conflicts for merge of 67d8bd66 to lmp-mr1-dev-plus-aosp
Lajos Molnar [Fri, 19 Sep 2014 13:23:46 +0000 (06:23 -0700)]
resolved conflicts for merge of 67d8bd66 to lmp-mr1-dev-plus-aosp

Change-Id: I5e7e6fdf0d2afe6c3e4a0ed6ef96afb4713a72bc

9 years agoam 8990766e: am 5bbf73ce: Merge "Fix typo for android.hardware.audio.output feature...
Unsuk Jung [Fri, 19 Sep 2014 07:10:36 +0000 (07:10 +0000)]
am 8990766e: am 5bbf73ce: Merge "Fix typo for android.hardware.audio.output feature in handheld device config" into lmp-dev

* commit '8990766e446384d739236f776ef6043f62c75785':

9 years agoam 11b4fd56: am e225f6fd: Merge "SensorService fixes." into lmp-dev
Aravind Akella [Fri, 19 Sep 2014 07:10:35 +0000 (07:10 +0000)]
am 11b4fd56: am e225f6fd: Merge "SensorService fixes." into lmp-dev

* commit '11b4fd5602ad4a88d50df15e903e806004da085f':

9 years agoam da404011: am 5430cead: Add system feature for ConnectionService API support (2/3)
Ihab Awad [Fri, 19 Sep 2014 07:10:34 +0000 (07:10 +0000)]
am da404011: am 5430cead: Add system feature for ConnectionService API support (2/3)

* commit 'da404011b55f3218e97ba0e40cac2529a843fef8':

9 years agoInclude the VPN server IP address in the VPN state file.
Lorenzo Colitti [Thu, 18 Sep 2014 16:00:08 +0000 (01:00 +0900)]
Include the VPN server IP address in the VPN state file.

This will be used by LegacyVpnRunner to create a throw route
pointing at it.

Bug: 17462989
Change-Id: I3ebf0cec726dd12b2c57ba5d66775f8c02b25b70

9 years agoresolved conflicts for merge of 67d8bd66 to lmp-dev-plus-aosp
Lajos Molnar [Fri, 19 Sep 2014 03:05:27 +0000 (20:05 -0700)]
resolved conflicts for merge of 67d8bd66 to lmp-dev-plus-aosp

Change-Id: Idbe39c6de8fe31ac57a9238c18b4c20d66dc73ad

9 years agosurfaceflinger: add getDisplayStats() method
Lajos Molnar [Thu, 11 Sep 2014 21:58:45 +0000 (14:58 -0700)]
surfaceflinger: add getDisplayStats() method

This is used by media service to schedule video frames at the
proper time, based on precise vsync timings.

Bug: 14659809
Change-Id: I1a90603f3dc09dca9aa4f90a3aa845fab56e0a5e

9 years agoam 5bbf73ce: Merge "Fix typo for android.hardware.audio.output feature in handheld...
Unsuk Jung [Tue, 16 Sep 2014 21:05:02 +0000 (21:05 +0000)]
am 5bbf73ce: Merge "Fix typo for android.hardware.audio.output feature in handheld device config" into lmp-dev

* commit '5bbf73ced30c168176fbcf87b15021ecca2fb90e':
  Fix typo for android.hardware.audio.output feature in handheld device config

9 years agoam e225f6fd: Merge "SensorService fixes." into lmp-dev
Aravind Akella [Tue, 16 Sep 2014 21:05:01 +0000 (21:05 +0000)]
am e225f6fd: Merge "SensorService fixes." into lmp-dev

* commit 'e225f6fd4a3f17c2705f1d69b176db475a3cc821':
  SensorService fixes.

9 years agoam 5430cead: Add system feature for ConnectionService API support (2/3)
Ihab Awad [Tue, 16 Sep 2014 21:05:00 +0000 (21:05 +0000)]
am 5430cead: Add system feature for ConnectionService API support (2/3)

* commit '5430cead9f7bc2a5a9947a2b9ffd5029a1f55408':
  Add system feature for ConnectionService API support (2/3)

9 years agoam 556888b8: am 5bbf73ce: Merge "Fix typo for android.hardware.audio.output feature...
Unsuk Jung [Tue, 16 Sep 2014 09:11:14 +0000 (09:11 +0000)]
am 556888b8: am 5bbf73ce: Merge "Fix typo for android.hardware.audio.output feature in handheld device config" into lmp-dev

* commit '556888b8ba32d923351bfb2317232dd78fff9c26':
  Fix typo for android.hardware.audio.output feature in handheld device config

9 years agoam c8a1b367: am e225f6fd: Merge "SensorService fixes." into lmp-dev
Aravind Akella [Tue, 16 Sep 2014 09:11:14 +0000 (09:11 +0000)]
am c8a1b367: am e225f6fd: Merge "SensorService fixes." into lmp-dev

* commit 'c8a1b36745e2094e5fdc7915739caca396c2d9de':
  SensorService fixes.

9 years agoam 5bbf73ce: Merge "Fix typo for android.hardware.audio.output feature in handheld...
Unsuk Jung [Tue, 16 Sep 2014 08:57:57 +0000 (08:57 +0000)]
am 5bbf73ce: Merge "Fix typo for android.hardware.audio.output feature in handheld device config" into lmp-dev

* commit '5bbf73ced30c168176fbcf87b15021ecca2fb90e':
  Fix typo for android.hardware.audio.output feature in handheld device config

9 years agoam e225f6fd: Merge "SensorService fixes." into lmp-dev
Aravind Akella [Tue, 16 Sep 2014 08:57:56 +0000 (08:57 +0000)]
am e225f6fd: Merge "SensorService fixes." into lmp-dev

* commit 'e225f6fd4a3f17c2705f1d69b176db475a3cc821':
  SensorService fixes.

9 years agoam 9b1543ad: am 5430cead: Add system feature for ConnectionService API support (2/3)
Ihab Awad [Tue, 16 Sep 2014 08:48:31 +0000 (08:48 +0000)]
am 9b1543ad: am 5430cead: Add system feature for ConnectionService API support (2/3)

* commit '9b1543ad2f6f58aa116cf520378df12d46fbc037':
  Add system feature for ConnectionService API support (2/3)

9 years agoam 5430cead: Add system feature for ConnectionService API support (2/3)
Ihab Awad [Tue, 16 Sep 2014 08:38:38 +0000 (08:38 +0000)]
am 5430cead: Add system feature for ConnectionService API support (2/3)

* commit '5430cead9f7bc2a5a9947a2b9ffd5029a1f55408':
  Add system feature for ConnectionService API support (2/3)

9 years agoMerge "Fix typo for android.hardware.audio.output feature in handheld device config...
Unsuk Jung [Mon, 15 Sep 2014 23:42:53 +0000 (23:42 +0000)]
Merge "Fix typo for android.hardware.audio.output feature in handheld device config" into lmp-dev

9 years agoMerge "SensorService fixes." into lmp-dev
Aravind Akella [Mon, 15 Sep 2014 22:09:52 +0000 (22:09 +0000)]
Merge "SensorService fixes." into lmp-dev

9 years agoSensorService fixes.
Aravind Akella [Mon, 15 Sep 2014 00:29:48 +0000 (17:29 -0700)]
SensorService fixes.

   i) Initialize sensor_event.flags to zero or wake_up flag before sending dropped flush_complete_events. This will avoid unnecessary acks.
Currently it is not set to anything which may result in garbage values for flags field.
   ii) Change the dump format of SensorEventConnection.
   iii) Add const to method signatures wherever applicable.

Bug id: https://b2.corp.google.com/issues/17498626

Change-Id: Ia736ffb01c366540aab73cdcf596ce852c052593

9 years agoAdd system feature for ConnectionService API support (2/3)
Ihab Awad [Fri, 12 Sep 2014 18:11:16 +0000 (11:11 -0700)]
Add system feature for ConnectionService API support (2/3)

Bug: 17445268

Change-Id: Ib96e50e2558d2744f74419fd022f3f20d578a2de

9 years agoam 85c0a093: am 2ab32d69: Rename managed_profiles feature to managed_users
Amith Yamasani [Sat, 13 Sep 2014 03:07:24 +0000 (03:07 +0000)]
am 85c0a093: am 2ab32d69: Rename managed_profiles feature to managed_users

* commit '85c0a0938ca60acb071d016e76014f869478f2cc':
  Rename managed_profiles feature to managed_users

9 years agoam 2ab32d69: Rename managed_profiles feature to managed_users
Amith Yamasani [Sat, 13 Sep 2014 02:35:52 +0000 (02:35 +0000)]
am 2ab32d69: Rename managed_profiles feature to managed_users

* commit '2ab32d6915eee0e0c175f0c5ae9d78ab0a90791d':
  Rename managed_profiles feature to managed_users

9 years agoFix typo for android.hardware.audio.output feature in handheld device config
Unsuk Jung [Fri, 12 Sep 2014 22:49:32 +0000 (15:49 -0700)]
Fix typo for android.hardware.audio.output feature in handheld device config

Bug: 15318046
Change-Id: I6437a2e87a909a8ef4ce6fcdc56ff06c5599a15a

9 years agoRename managed_profiles feature to managed_users
Amith Yamasani [Fri, 12 Sep 2014 21:21:03 +0000 (14:21 -0700)]
Rename managed_profiles feature to managed_users

Bug: 17392243
Change-Id: Ib60d1563ecdda9a979196ef51e849be2f9e9f841

9 years agoam 4355c0c9: am e1e3d278: Merge "Clean cruft out of makefiles."
Dan Albert [Fri, 12 Sep 2014 19:28:17 +0000 (19:28 +0000)]
am 4355c0c9: am e1e3d278: Merge "Clean cruft out of makefiles."

* commit '4355c0c98644c37f0511257403bbfb71b342e2df':
  Clean cruft out of makefiles.

9 years agoam 9e8b5289: resolved conflicts for merge of 07c9557f to lmp-dev-plus-aosp
Dan Albert [Fri, 12 Sep 2014 19:28:16 +0000 (19:28 +0000)]
am 9e8b5289: resolved conflicts for merge of 07c9557f to lmp-dev-plus-aosp

* commit '9e8b528926506b3fa9ca7df52fef5f56ec6149c7':
  Fix warnings on unused variables and parameters.

9 years agoam e03abcd6: am 4a7001ca: Merge "Work around C11 const atomic restrictions."
Hans Boehm [Fri, 12 Sep 2014 19:28:16 +0000 (19:28 +0000)]
am e03abcd6: am 4a7001ca: Merge "Work around C11 const atomic restrictions."

* commit 'e03abcd61b127b10391b8257c35fbe66053e417a':
  Work around C11 const atomic restrictions.

9 years agoam 6f3e466b: am 70b9e6c8: Merge "Make dumpstate vibrate immediately." into lmp-dev
Jeff Brown [Fri, 12 Sep 2014 19:20:59 +0000 (19:20 +0000)]
am 6f3e466b: am 70b9e6c8: Merge "Make dumpstate vibrate immediately." into lmp-dev

* commit '6f3e466b1491f654be412fe572d3f94f39e84c98':
  Make dumpstate vibrate immediately.

9 years agoam 3d0daa57: am 8493b79e: SensorService fixes
Aravind Akella [Fri, 12 Sep 2014 19:20:58 +0000 (19:20 +0000)]
am 3d0daa57: am 8493b79e: SensorService fixes

* commit '3d0daa57f5f180418fdecbf06f6a5a41e566f6d9':
  SensorService fixes

9 years agoam e1e3d278: Merge "Clean cruft out of makefiles."
Dan Albert [Fri, 12 Sep 2014 16:22:03 +0000 (16:22 +0000)]
am e1e3d278: Merge "Clean cruft out of makefiles."

* commit 'e1e3d278549eb6389eb0b5fa3f13a4ac079a55a2':
  Clean cruft out of makefiles.

9 years agoresolved conflicts for merge of 07c9557f to lmp-dev-plus-aosp
Dan Albert [Fri, 12 Sep 2014 16:00:50 +0000 (09:00 -0700)]
resolved conflicts for merge of 07c9557f to lmp-dev-plus-aosp

Change-Id: Ic212ab2ee90b1cc7db7203210b047c870bb5c476

9 years agoam 4a7001ca: Merge "Work around C11 const atomic restrictions."
Hans Boehm [Fri, 12 Sep 2014 15:54:52 +0000 (15:54 +0000)]
am 4a7001ca: Merge "Work around C11 const atomic restrictions."

* commit '4a7001cae482e3c9410001360374c8fe9d5a2846':
  Work around C11 const atomic restrictions.

9 years agoam 70b9e6c8: Merge "Make dumpstate vibrate immediately." into lmp-dev
Jeff Brown [Fri, 12 Sep 2014 05:36:59 +0000 (05:36 +0000)]
am 70b9e6c8: Merge "Make dumpstate vibrate immediately." into lmp-dev

* commit '70b9e6c8f3221bbbeefc85c70746541a5b318afc':
  Make dumpstate vibrate immediately.

9 years agoam 8493b79e: SensorService fixes
Aravind Akella [Fri, 12 Sep 2014 05:36:58 +0000 (05:36 +0000)]
am 8493b79e: SensorService fixes

* commit '8493b79e1cff92450076ca7450c4bf4e434a6816':
  SensorService fixes

9 years agoMerge "Clean cruft out of makefiles."
Dan Albert [Fri, 12 Sep 2014 01:57:53 +0000 (01:57 +0000)]
Merge "Clean cruft out of makefiles."

9 years agoClean cruft out of makefiles.
Dan Albert [Fri, 12 Sep 2014 01:45:33 +0000 (18:45 -0700)]
Clean cruft out of makefiles.

Cleans up manual uses of stlport and bionic (and removes uses of private
bionic headers).

Change-Id: I157309d702e59152adfa3450939082248ae4c043

9 years agoMerge "Fix warnings on unused variables and parameters."
Chih-Hung Hsieh [Fri, 12 Sep 2014 00:13:40 +0000 (00:13 +0000)]
Merge "Fix warnings on unused variables and parameters."

9 years agoFix warnings on unused variables and parameters.
Chih-Hung Hsieh [Thu, 11 Sep 2014 21:44:46 +0000 (14:44 -0700)]
Fix warnings on unused variables and parameters.

BUG: 17474723
Change-Id: If40f5e765090cfb970e4129b78b1e74cf8bad217

9 years agoMerge "Work around C11 const atomic restrictions."
Hans Boehm [Thu, 11 Sep 2014 22:52:53 +0000 (22:52 +0000)]
Merge "Work around C11 const atomic restrictions."

9 years agoMerge "Make dumpstate vibrate immediately." into lmp-dev
Jeff Brown [Thu, 11 Sep 2014 22:32:05 +0000 (22:32 +0000)]
Merge "Make dumpstate vibrate immediately." into lmp-dev

9 years agoWork around C11 const atomic restrictions.
Hans Boehm [Thu, 11 Sep 2014 21:49:09 +0000 (14:49 -0700)]
Work around C11 const atomic restrictions.

Cast away the const qualifier in BBinder::findObject.  C11, unlike C++11,
does not allow loads from const atomics.  This is widely regarded as
a bug (see WG14 DR 459).  This is a hack to work around it until it's
officially fixed in the spec.

load_const_atomic was adapted from commit
1e8587a479fd8b1ce9b594298a93f517816e8f15

I don't think we want to dignify this by putting it into a header file.

Bug:17067219
Change-Id: Icbfcbda2722e6f80d2bb065a0bb3ec7634bcacb2

9 years agoMake dumpstate vibrate immediately.
Jeff Brown [Thu, 11 Sep 2014 21:15:27 +0000 (14:15 -0700)]
Make dumpstate vibrate immediately.

Previously, the vibration was not performed until after stacks
were gathered which takes a long time.  Moved the vibration
to happen earlier so we provide better user feedback for the
three-button salute when collecting a bug report.

Deleted some dead code for playing begin/end sounds.

Improved the timing measurement code to help track down why
bug reports are so slow.  (They take over a minute now which
can cause us to lose valuable diagnostic information.)

Bug: 17474152
Change-Id: Iac73f7993d7dc85196aad96f459b22fd4a710f94

9 years agoam c16acacd: am 7d587c31: (-s ours) Merge "Silence warnings about unused parameters."
Dan Albert [Thu, 11 Sep 2014 17:29:16 +0000 (17:29 +0000)]
am c16acacd: am 7d587c31: (-s ours) Merge "Silence warnings about unused parameters."

* commit 'c16acacd6dd6540766e733da6aa86eda58d41f97':
  Silence warnings about unused parameters.

9 years agoam f521c53c: am 9e691c10: Merge "Add feature flags for verified boot and securely...
Adam Connors [Thu, 11 Sep 2014 14:12:30 +0000 (14:12 +0000)]
am f521c53c: am 9e691c10: Merge "Add feature flags for verified boot and securely remove users." into lmp-dev

* commit 'f521c53cf75df458d1afaa51287364e6d9250448':
  Add feature flags for verified boot and securely remove users.

9 years agoam 7d587c31: (-s ours) Merge "Silence warnings about unused parameters."
Dan Albert [Thu, 11 Sep 2014 03:44:14 +0000 (03:44 +0000)]
am 7d587c31: (-s ours) Merge "Silence warnings about unused parameters."

* commit '7d587c31d5c9a2f76f69073036f521dc75045656':
  Silence warnings about unused parameters.

9 years agoMerge "Silence warnings about unused parameters."
Dan Albert [Thu, 11 Sep 2014 02:32:23 +0000 (02:32 +0000)]
Merge "Silence warnings about unused parameters."

9 years agoSensorService fixes
Aravind Akella [Mon, 8 Sep 2014 22:45:47 +0000 (15:45 -0700)]
SensorService fixes

  i) Significant Motion multiple clients fix. Make a copy of
  mActiveConnections vector before cleaning up SensorEventConnections
  when one-shot sensors trigger.
  ii) Maintain a mapping between flush_complete_events and
  SensorEventConnections to accurately map flush() API calls and
  corresponding flush_complete_events
  iii) Remove all references to 1_1 and 1_2 HALs.
  iv) Dynamically allocate sensor_event buffers in SensorService main
  threadLoop.

Bug: 17412359
Change-Id: If3c3986197660cafef2d2e0b4dc7582e229cf1c4

9 years agoam 9e691c10: Merge "Add feature flags for verified boot and securely remove users...
Adam Connors [Wed, 10 Sep 2014 10:26:21 +0000 (10:26 +0000)]
am 9e691c10: Merge "Add feature flags for verified boot and securely remove users." into lmp-dev

* commit '9e691c1093fa9c00d82f5a33f5382c2610734ca6':
  Add feature flags for verified boot and securely remove users.

9 years agoMerge "Add feature flags for verified boot and securely remove users." into lmp-dev
Adam Connors [Wed, 10 Sep 2014 10:07:49 +0000 (10:07 +0000)]
Merge "Add feature flags for verified boot and securely remove users." into lmp-dev

9 years agoam 5746f149: am fb017a4c: Merge "Fix clang warnings about struct vs. class."
Dan Albert [Wed, 10 Sep 2014 07:05:39 +0000 (07:05 +0000)]
am 5746f149: am fb017a4c: Merge "Fix clang warnings about struct vs. class."

* commit '5746f1497814e105352214f1bba242317856605a':
  Fix clang warnings about struct vs. class.

9 years agoam fb017a4c: Merge "Fix clang warnings about struct vs. class."
Dan Albert [Wed, 10 Sep 2014 01:43:11 +0000 (01:43 +0000)]
am fb017a4c: Merge "Fix clang warnings about struct vs. class."

* commit 'fb017a4c3b23741f737093c3fcb78087bbe5e73c':
  Fix clang warnings about struct vs. class.

9 years agoam f7a8f90a: am 1173137a: Merge "Add support for max res decode" into lmp-dev
Jeff Tinker [Wed, 10 Sep 2014 01:17:45 +0000 (01:17 +0000)]
am f7a8f90a: am 1173137a: Merge "Add support for max res decode" into lmp-dev

* commit 'f7a8f90ad4845752f5eb57ecc62a2bfd86313667':
  Add support for max res decode

9 years agoam 1173137a: Merge "Add support for max res decode" into lmp-dev
Jeff Tinker [Wed, 10 Sep 2014 00:51:52 +0000 (00:51 +0000)]
am 1173137a: Merge "Add support for max res decode" into lmp-dev

* commit '1173137af3fb93c7708fb7b1109c5b37db72d783':
  Add support for max res decode

9 years agoMerge "Fix clang warnings about struct vs. class."
Dan Albert [Wed, 10 Sep 2014 00:40:03 +0000 (00:40 +0000)]
Merge "Fix clang warnings about struct vs. class."

9 years agoMerge "Add support for max res decode" into lmp-dev
Jeff Tinker [Tue, 9 Sep 2014 23:55:59 +0000 (23:55 +0000)]
Merge "Add support for max res decode" into lmp-dev

9 years agoSilence warnings about unused parameters.
Dan Albert [Tue, 9 Sep 2014 22:09:07 +0000 (15:09 -0700)]
Silence warnings about unused parameters.

Change-Id: I503aafbdeaec3f53241872dc52af9f8b73a1416c

9 years agoam 625ae1d0: am 11c13abd: Merge "Use time() instead of clock() for timeouts."
Christopher Ferris [Tue, 9 Sep 2014 22:59:50 +0000 (22:59 +0000)]
am 625ae1d0: am 11c13abd: Merge "Use time() instead of clock() for timeouts."

* commit '625ae1d0023f21a3a353c41322d47dd2e0af55c0':
  Use time() instead of clock() for timeouts.

9 years agoam 11c13abd: Merge "Use time() instead of clock() for timeouts."
Christopher Ferris [Tue, 9 Sep 2014 22:54:12 +0000 (22:54 +0000)]
am 11c13abd: Merge "Use time() instead of clock() for timeouts."

* commit '11c13abd56693d4a4be3ca9e14cbaa456ba586b9':
  Use time() instead of clock() for timeouts.

9 years agoMerge "Use time() instead of clock() for timeouts."
Christopher Ferris [Tue, 9 Sep 2014 22:39:44 +0000 (22:39 +0000)]
Merge "Use time() instead of clock() for timeouts."

9 years agoFix clang warnings about struct vs. class.
Dan Albert [Tue, 9 Sep 2014 22:07:07 +0000 (15:07 -0700)]
Fix clang warnings about struct vs. class.

Change-Id: I9f26cd01ac3153efa6d77a4133686842e2d63203

9 years agoam 500c086a: am 5ef471c5: Merge "Use time() instead of clock() for timeouts." into...
Christopher Ferris [Tue, 9 Sep 2014 22:16:47 +0000 (22:16 +0000)]
am 500c086a: am 5ef471c5: Merge "Use time() instead of clock() for timeouts." into lmp-dev

* commit '500c086a7e93dd485dc98bae5ab8430bc165c301':
  Use time() instead of clock() for timeouts.

9 years agoam 75ec33e0: am d15ef27f: Update ScreenshotClient to take advantage of rotation in...
Riley Andrews [Tue, 9 Sep 2014 22:16:46 +0000 (22:16 +0000)]
am 75ec33e0: am d15ef27f: Update ScreenshotClient to take advantage of rotation in surfaceflinger\'s screencap api

* commit '75ec33e0e609e3ef074f4230c2227e52bf82ad06':
  Update ScreenshotClient to take advantage of rotation in surfaceflinger's screencap api

9 years agoam 129dc842: am edb86f9f: Merge "Add rotation to surfaceflingers screen cap." into...
Riley Andrews [Tue, 9 Sep 2014 22:16:38 +0000 (22:16 +0000)]
am 129dc842: am edb86f9f: Merge "Add rotation to surfaceflingers screen cap." into lmp-dev

* commit '129dc8423da319d42af6ef71046c39ba59c0d878':
  Add rotation to surfaceflingers screen cap.

9 years agoam 5ef471c5: Merge "Use time() instead of clock() for timeouts." into lmp-dev
Christopher Ferris [Tue, 9 Sep 2014 21:56:14 +0000 (21:56 +0000)]
am 5ef471c5: Merge "Use time() instead of clock() for timeouts." into lmp-dev

* commit '5ef471c5f986a52c681a29856c38f72127cdf8ac':
  Use time() instead of clock() for timeouts.

9 years agoam d15ef27f: Update ScreenshotClient to take advantage of rotation in surfaceflinger...
Riley Andrews [Tue, 9 Sep 2014 21:55:45 +0000 (21:55 +0000)]
am d15ef27f: Update ScreenshotClient to take advantage of rotation in surfaceflinger\'s screencap api

* commit 'd15ef27f9b13727fa7358e3c09572f66bb1e0668':
  Update ScreenshotClient to take advantage of rotation in surfaceflinger's screencap api

9 years agoam edb86f9f: Merge "Add rotation to surfaceflingers screen cap." into lmp-dev
Riley Andrews [Tue, 9 Sep 2014 21:55:26 +0000 (21:55 +0000)]
am edb86f9f: Merge "Add rotation to surfaceflingers screen cap." into lmp-dev

* commit 'edb86f9f681e082a64a670814ee4d73ccf39942a':
  Add rotation to surfaceflingers screen cap.

9 years agoUse time() instead of clock() for timeouts.
Christopher Ferris [Tue, 9 Sep 2014 20:10:49 +0000 (13:10 -0700)]
Use time() instead of clock() for timeouts.

The clock() function returns the processor time used by the process. This
is not a good timeout mechanism since the code is suspended most of the
time waiting for the forked process to finish. Replace with the time()
function.

Bug: 17154069

(cherry picked from commit 89d4949f86f4f7b6710e951afefad186c667fd6e)

Change-Id: I42f0f24ee53ef99955fd482a1089e39d491f3bd5

9 years agoMerge "Use time() instead of clock() for timeouts." into lmp-dev
Christopher Ferris [Tue, 9 Sep 2014 20:29:15 +0000 (20:29 +0000)]
Merge "Use time() instead of clock() for timeouts." into lmp-dev

9 years agoUse time() instead of clock() for timeouts.
Christopher Ferris [Tue, 9 Sep 2014 20:10:49 +0000 (13:10 -0700)]
Use time() instead of clock() for timeouts.

The clock() function returns the processor time used by the process. This
is not a good timeout mechanism since the code is suspended most of the
time waiting for the forked process to finish. Replace with the time()
function.

Bug: 17154069
Change-Id: Ib383329f9db269445d71a100553b08e71fddda3f

9 years agoUpdate ScreenshotClient to take advantage of rotation in surfaceflinger's screencap api
Riley Andrews [Thu, 4 Sep 2014 23:19:44 +0000 (16:19 -0700)]
Update ScreenshotClient to take advantage of rotation in surfaceflinger's screencap api

Change-Id: I836649d9d5cd5958ce34e47f26f4a36d2d05d24c

9 years agoMerge "Add rotation to surfaceflingers screen cap." into lmp-dev
Riley Andrews [Tue, 9 Sep 2014 19:40:52 +0000 (19:40 +0000)]
Merge "Add rotation to surfaceflingers screen cap." into lmp-dev

9 years agoam 0ffb9138: am 464e539c: Merge "Add new system APK locations." into lmp-dev
Jeff Sharkey [Tue, 9 Sep 2014 16:54:39 +0000 (16:54 +0000)]
am 0ffb9138: am 464e539c: Merge "Add new system APK locations." into lmp-dev

* commit '0ffb91383f7777ccc8335d7e30d16fd73ca416ed':
  Add new system APK locations.

9 years agoam 464e539c: Merge "Add new system APK locations." into lmp-dev
Jeff Sharkey [Tue, 9 Sep 2014 16:44:52 +0000 (16:44 +0000)]
am 464e539c: Merge "Add new system APK locations." into lmp-dev

* commit '464e539cd3e931aaca99a67d0addc6d68bd96b3d':
  Add new system APK locations.

9 years agoam 7d831871: Make string literal concatenation play nice with C++11.
Dan Albert [Tue, 9 Sep 2014 16:34:35 +0000 (16:34 +0000)]
am 7d831871: Make string literal concatenation play nice with C++11.

* commit '7d831871032675e252490b52ddbb29a63e5497bf':
  Make string literal concatenation play nice with C++11.

9 years agoMerge "Add new system APK locations." into lmp-dev
Jeff Sharkey [Tue, 9 Sep 2014 16:27:05 +0000 (16:27 +0000)]
Merge "Add new system APK locations." into lmp-dev

9 years agoMake string literal concatenation play nice with C++11.
Dan Albert [Tue, 9 Sep 2014 16:21:28 +0000 (09:21 -0700)]
Make string literal concatenation play nice with C++11.

In C++11 mode, "foo"MACRO_THAT_EXPANDS_TO_STRING gets lexed as a user
defined literal. Add space around the macro.

Had missed these when resolving merge conflicts last night.

Change-Id: I1a381a06c3909b76a3b44ce79c37aa6f244d3736

9 years agoAdd new system APK locations.
Jeff Sharkey [Tue, 9 Sep 2014 00:14:26 +0000 (17:14 -0700)]
Add new system APK locations.

Add /system/priv-app and /oem/app paths to system paths.  Also allow
rmdex on system apps, and quietly ignore when it was already removed.

Also relax logging when clearing code cache, since it's optional.

Bug: 17205122
Change-Id: I4fc4d0f63a3596937c4defbd64e1f8a1c563f02d

9 years agoam 5273a978: resolved conflicts for merge of 86aeb9ef to lmp-dev-plus-aosp
Dan Albert [Tue, 9 Sep 2014 05:25:03 +0000 (05:25 +0000)]
am 5273a978: resolved conflicts for merge of 86aeb9ef to lmp-dev-plus-aosp

* commit '5273a978337cbee2c1aae2f4d5c1b0e9d8dd6e1c':
  Make string literal concatenation play nice with C++11.

9 years agoresolved conflicts for merge of 86aeb9ef to lmp-dev-plus-aosp
Dan Albert [Tue, 9 Sep 2014 05:15:20 +0000 (22:15 -0700)]
resolved conflicts for merge of 86aeb9ef to lmp-dev-plus-aosp

Change-Id: I82fe2b385156d9bdb9e7183e308d7b2a4167b6ce