OSDN Git Service

android-x86/frameworks-native.git
9 years agoam 570052f7: Merge "Split app move into separate copy/delete steps." into mnc-dev
Jeff Sharkey [Tue, 7 Jul 2015 21:01:22 +0000 (21:01 +0000)]
am 570052f7: Merge "Split app move into separate copy/delete steps." into mnc-dev

* commit '570052f7771586b61db27f88a38f8f1a3fac794a':
  Split app move into separate copy/delete steps.

9 years agoMerge "Split app move into separate copy/delete steps." into mnc-dev
Jeff Sharkey [Tue, 7 Jul 2015 20:46:32 +0000 (20:46 +0000)]
Merge "Split app move into separate copy/delete steps." into mnc-dev

9 years agoSplit app move into separate copy/delete steps.
Jeff Sharkey [Tue, 7 Jul 2015 20:31:37 +0000 (13:31 -0700)]
Split app move into separate copy/delete steps.

App movement now has three distinct stages: copying, scanning, and
cleanup.  Previously, a battery pull late in the move process would
end up with packages.xml pointing at the old location which had been
torn down.  Now, we update packages.xml to point at the new location
as the "source of truth" before we start deleting the old location.

Bug: 21831336
Change-Id: I62b8916c673265c240e2574ea968cdce5a7a0074

9 years agoam 0eb2d398: SF: Ignore PTS more than one second in the future
Dan Stoza [Tue, 7 Jul 2015 18:07:21 +0000 (18:07 +0000)]
am 0eb2d398: SF: Ignore PTS more than one second in the future

* commit '0eb2d398669bf11207c0fb22b11439250da0c8dc':
  SF: Ignore PTS more than one second in the future

9 years agoSF: Ignore PTS more than one second in the future
Dan Stoza [Mon, 6 Jul 2015 19:56:50 +0000 (12:56 -0700)]
SF: Ignore PTS more than one second in the future

Some of this logic already existed, but when we optimized
SurfaceFlinger to avoid unnecessary wake-ups, we didn't carry the logic
over into the new readiness test. shouldPresentNow now returns true if
the timestamp is more than a second in the future (since it's likely a
bogus timestamp and should be ignored).

Bug: 21932760
Change-Id: Ib50970a4eb621588c0b60766c8d8d1a8bddf853b

9 years agoam 56105b2f: Merge "Implement a number of KHR EGL extensions" into mnc-dev
Jesse Hall [Mon, 6 Jul 2015 16:20:05 +0000 (16:20 +0000)]
am 56105b2f: Merge "Implement a number of KHR EGL extensions" into mnc-dev

* commit '56105b2f72761dec62699db5d61570971fdf6580':
  Implement a number of KHR EGL extensions

9 years agoMerge "Implement a number of KHR EGL extensions" into mnc-dev
Jesse Hall [Mon, 6 Jul 2015 16:09:33 +0000 (16:09 +0000)]
Merge "Implement a number of KHR EGL extensions" into mnc-dev

9 years agoam 35f38e42: am 990c5448: am 35851e2a: am 38ff2b44: am c1d8af50: am 3a9b9aec: am...
Christopher Tate [Thu, 2 Jul 2015 03:52:35 +0000 (03:52 +0000)]
am 35f38e42: am 990c5448: am 35851e2a: am 38ff2b44: am c1d8af50: am 3a9b9aec: am dc3d6af9: am bb686c25: Disregard alleged binder entities beyond parcel bounds

* commit '35f38e42c66c20d2bbb05f5942ee1019d3f695fa':
  Disregard alleged binder entities beyond parcel bounds

9 years agoam 990c5448: am 35851e2a: am 38ff2b44: am c1d8af50: am 3a9b9aec: am dc3d6af9: am...
Christopher Tate [Thu, 2 Jul 2015 03:28:47 +0000 (03:28 +0000)]
am 990c5448: am 35851e2a: am 38ff2b44: am c1d8af50: am 3a9b9aec: am dc3d6af9: am bb686c25: Disregard alleged binder entities beyond parcel bounds

* commit '990c54485f361d587d09952e60ab5fb608d161dd':
  Disregard alleged binder entities beyond parcel bounds

9 years agoam 35851e2a: am 38ff2b44: am c1d8af50: am 3a9b9aec: am dc3d6af9: am bb686c25: Disrega...
Christopher Tate [Thu, 2 Jul 2015 02:57:06 +0000 (02:57 +0000)]
am 35851e2a: am 38ff2b44: am c1d8af50: am 3a9b9aec: am dc3d6af9: am bb686c25: Disregard alleged binder entities beyond parcel bounds

* commit '35851e2abbfe8f1d9c4cc7dc13a6e6e155b61664':
  Disregard alleged binder entities beyond parcel bounds

9 years agoam 2b610952: am 8bd860c3: am 110654ae: am 8e44d0a1: am 0804ed8e: am 1b8a2f82: Disrega...
Christopher Tate [Thu, 2 Jul 2015 02:51:34 +0000 (02:51 +0000)]
am 2b610952: am 8bd860c3: am 110654ae: am 8e44d0a1: am 0804ed8e: am 1b8a2f82: Disregard alleged binder entities beyond parcel bounds

* commit '2b6109523d88775815d6fa089ef74cc5d2184685':
  Disregard alleged binder entities beyond parcel bounds

9 years agoam 38ff2b44: am c1d8af50: am 3a9b9aec: am dc3d6af9: am bb686c25: Disregard alleged...
Christopher Tate [Thu, 2 Jul 2015 02:45:16 +0000 (02:45 +0000)]
am 38ff2b44: am c1d8af50: am 3a9b9aec: am dc3d6af9: am bb686c25: Disregard alleged binder entities beyond parcel bounds

* commit '38ff2b44ad7a64768cd1bb8793ec6c45e8d1e68e':
  Disregard alleged binder entities beyond parcel bounds

9 years agoam 356f7ed3: am 134fd91b: am 708b42e0: am eba7afcc: am 2f340be3: Disregard alleged...
Christopher Tate [Thu, 2 Jul 2015 02:39:25 +0000 (02:39 +0000)]
am 356f7ed3: am 134fd91b: am 708b42e0: am eba7afcc: am 2f340be3: Disregard alleged binder entities beyond parcel bounds

* commit '356f7ed3afe020da4f8d71c4f5e1abcda817d991':
  Disregard alleged binder entities beyond parcel bounds

9 years agoam c1d8af50: am 3a9b9aec: am dc3d6af9: am bb686c25: Disregard alleged binder entities...
Christopher Tate [Thu, 2 Jul 2015 02:33:03 +0000 (02:33 +0000)]
am c1d8af50: am 3a9b9aec: am dc3d6af9: am bb686c25: Disregard alleged binder entities beyond parcel bounds

* commit 'c1d8af50c314164c0e6760d364b47d16b8d423ee':
  Disregard alleged binder entities beyond parcel bounds

9 years agoam 8bd860c3: am 110654ae: am 8e44d0a1: am 0804ed8e: am 1b8a2f82: Disregard alleged...
Christopher Tate [Thu, 2 Jul 2015 02:26:52 +0000 (02:26 +0000)]
am 8bd860c3: am 110654ae: am 8e44d0a1: am 0804ed8e: am 1b8a2f82: Disregard alleged binder entities beyond parcel bounds

* commit '8bd860c3dc2eaac10b6f55c9ec85cae4d172eb26':
  Disregard alleged binder entities beyond parcel bounds

9 years agoam 110654ae: am 8e44d0a1: am 0804ed8e: am 1b8a2f82: Disregard alleged binder entities...
Christopher Tate [Thu, 2 Jul 2015 02:18:21 +0000 (02:18 +0000)]
am 110654ae: am 8e44d0a1: am 0804ed8e: am 1b8a2f82: Disregard alleged binder entities beyond parcel bounds

* commit '110654ae44e45b1afd5badd24ada96cb9018bed1':
  Disregard alleged binder entities beyond parcel bounds

9 years agoam 134fd91b: am 708b42e0: am eba7afcc: am 2f340be3: Disregard alleged binder entities...
Christopher Tate [Thu, 2 Jul 2015 02:14:46 +0000 (02:14 +0000)]
am 134fd91b: am 708b42e0: am eba7afcc: am 2f340be3: Disregard alleged binder entities beyond parcel bounds

* commit '134fd91bccde911bf9497f09841ec9922bbefec9':
  Disregard alleged binder entities beyond parcel bounds

9 years agoam 3a9b9aec: am dc3d6af9: am bb686c25: Disregard alleged binder entities beyond parce...
Christopher Tate [Thu, 2 Jul 2015 02:07:24 +0000 (02:07 +0000)]
am 3a9b9aec: am dc3d6af9: am bb686c25: Disregard alleged binder entities beyond parcel bounds

* commit '3a9b9aec7a0c04b74a278be5773fcfdaa2a04f4e':
  Disregard alleged binder entities beyond parcel bounds

9 years agoam 8e44d0a1: am 0804ed8e: am 1b8a2f82: Disregard alleged binder entities beyond parce...
Christopher Tate [Thu, 2 Jul 2015 02:06:40 +0000 (02:06 +0000)]
am 8e44d0a1: am 0804ed8e: am 1b8a2f82: Disregard alleged binder entities beyond parcel bounds

* commit '8e44d0a173d1f0ec4075778791c88dc392f3981e':
  Disregard alleged binder entities beyond parcel bounds

9 years agoam 0804ed8e: am 1b8a2f82: Disregard alleged binder entities beyond parcel bounds
Christopher Tate [Thu, 2 Jul 2015 01:55:53 +0000 (01:55 +0000)]
am 0804ed8e: am 1b8a2f82: Disregard alleged binder entities beyond parcel bounds

* commit '0804ed8e604f2c4304fa7be3a84f429f770221bf':
  Disregard alleged binder entities beyond parcel bounds

9 years agoam 708b42e0: am eba7afcc: am 2f340be3: Disregard alleged binder entities beyond parce...
Christopher Tate [Thu, 2 Jul 2015 01:55:43 +0000 (01:55 +0000)]
am 708b42e0: am eba7afcc: am 2f340be3: Disregard alleged binder entities beyond parcel bounds

* commit '708b42e0ee5ad97b8426a6245f73131ddfc59a33':
  Disregard alleged binder entities beyond parcel bounds

9 years agoam dc3d6af9: am bb686c25: Disregard alleged binder entities beyond parcel bounds
Christopher Tate [Thu, 2 Jul 2015 01:42:09 +0000 (01:42 +0000)]
am dc3d6af9: am bb686c25: Disregard alleged binder entities beyond parcel bounds

* commit 'dc3d6af97d521678981c773ad9f4e1da088d7870':
  Disregard alleged binder entities beyond parcel bounds

9 years agoam eba7afcc: am 2f340be3: Disregard alleged binder entities beyond parcel bounds
Christopher Tate [Thu, 2 Jul 2015 01:41:09 +0000 (01:41 +0000)]
am eba7afcc: am 2f340be3: Disregard alleged binder entities beyond parcel bounds

* commit 'eba7afcc14f55e7fd32db9254f2b186108e1c776':
  Disregard alleged binder entities beyond parcel bounds

9 years agoam bb686c25: Disregard alleged binder entities beyond parcel bounds
Christopher Tate [Thu, 2 Jul 2015 01:31:09 +0000 (01:31 +0000)]
am bb686c25: Disregard alleged binder entities beyond parcel bounds

* commit 'bb686c25b214edadd1830abd056db2d570d716ff':
  Disregard alleged binder entities beyond parcel bounds

9 years agoam 1b8a2f82: Disregard alleged binder entities beyond parcel bounds
Christopher Tate [Thu, 2 Jul 2015 01:29:18 +0000 (01:29 +0000)]
am 1b8a2f82: Disregard alleged binder entities beyond parcel bounds

* commit '1b8a2f82fedffbc0b24c884def197db392b16576':
  Disregard alleged binder entities beyond parcel bounds

9 years agoam 2f340be3: Disregard alleged binder entities beyond parcel bounds
Christopher Tate [Thu, 2 Jul 2015 01:28:56 +0000 (01:28 +0000)]
am 2f340be3: Disregard alleged binder entities beyond parcel bounds

* commit '2f340be345612d9fc2ecb1ea2a4c9e147610a593':
  Disregard alleged binder entities beyond parcel bounds

9 years agoam bbd4f232: Merge "Revert "Revert "Modify EGL to disconnect the window when the...
Amith Dsouza [Thu, 2 Jul 2015 01:02:50 +0000 (01:02 +0000)]
am bbd4f232: Merge "Revert "Revert "Modify EGL to disconnect the window when the surface gets destroyed.""" into mnc-dev

* commit 'bbd4f23247b3599bdda0149fcb68f311900ecf4f':
  Revert "Revert "Modify EGL to disconnect the window when the surface gets destroyed.""

9 years agoam 8719e3b6: Merge "Enable sensor data injection mode through adb." into mnc-dev
Aravind Akella [Thu, 2 Jul 2015 01:02:49 +0000 (01:02 +0000)]
am 8719e3b6: Merge "Enable sensor data injection mode through adb." into mnc-dev

* commit '8719e3b6310f97a736620395024c858ca8ec7e0c':
  Enable sensor data injection mode through adb.

9 years agoImplement a number of KHR EGL extensions
Season Li [Wed, 1 Jul 2015 18:39:40 +0000 (11:39 -0700)]
Implement a number of KHR EGL extensions

Add following KHR EGL extensions:

EGL_KHR_gl_texture_3D_image
EGL_KHR_config_attribs
EGL_KHR_surfaceless_context
EGL_KHR_stream
EGL_KHR_stream_fifo
EGL_KHR_stream_producer_eglsurface
EGL_KHR_stream_consumer_gltexture
EGL_KHR_stream_cross_process_fd

Change-Id: Ie7a35b5e3761e343cb71cf446cba77f67f604bdf

9 years agoMerge "Revert "Revert "Modify EGL to disconnect the window when the surface gets...
Amith Dsouza [Wed, 1 Jul 2015 17:44:57 +0000 (17:44 +0000)]
Merge "Revert "Revert "Modify EGL to disconnect the window when the surface gets destroyed.""" into mnc-dev

9 years agoMerge "Enable sensor data injection mode through adb." into mnc-dev
Aravind Akella [Wed, 1 Jul 2015 17:40:07 +0000 (17:40 +0000)]
Merge "Enable sensor data injection mode through adb." into mnc-dev

9 years agoRevert "Revert "Modify EGL to disconnect the window when the surface gets destroyed.""
Amith Dsouza [Wed, 1 Jul 2015 05:54:16 +0000 (22:54 -0700)]
Revert "Revert "Modify EGL to disconnect the window when the surface gets destroyed.""

This reverts commit 6e1a2fea67006b58e83ebbcc72f7b12f18c49d15.

Driver level issues fixed by an updated graphics driver.

Bug: 21266976
Change-Id: I93339fb6c6bab988f3550adb49ef8e70cda6473e

9 years agoam 59a33a01: (-s ours) am dbc2d87a: Merge "Installd: Fix delete_code_cache() clearing...
Narayan Kamath [Wed, 1 Jul 2015 13:35:14 +0000 (13:35 +0000)]
am 59a33a01: (-s ours) am dbc2d87a: Merge "Installd: Fix delete_code_cache() clearing the wrong cache dir"

* commit '59a33a012d64d21fb73cac527ef25db8a0478d23':
  Installd: Fix delete_code_cache() clearing the wrong cache dir

9 years agoam dbc2d87a: Merge "Installd: Fix delete_code_cache() clearing the wrong cache dir"
Narayan Kamath [Wed, 1 Jul 2015 13:14:41 +0000 (13:14 +0000)]
am dbc2d87a: Merge "Installd: Fix delete_code_cache() clearing the wrong cache dir"

* commit 'dbc2d87a74987db84f6cb3cf1eed9ae7ca450ce7':
  Installd: Fix delete_code_cache() clearing the wrong cache dir

9 years agoMerge "Installd: Fix delete_code_cache() clearing the wrong cache dir"
Narayan Kamath [Wed, 1 Jul 2015 13:03:55 +0000 (13:03 +0000)]
Merge "Installd: Fix delete_code_cache() clearing the wrong cache dir"

9 years agoInstalld: Fix delete_code_cache() clearing the wrong cache dir
Hao Li [Thu, 25 Jun 2015 02:31:56 +0000 (14:31 +1200)]
Installd: Fix delete_code_cache() clearing the wrong cache dir

Fix a typo in delete_code_cache() introduced by commit c03de09, which
causes the function to empty /data/data/<package_name>/cache/ rather
than /data/data/<package_name>/code_cache/.

The following CTS test case should now pass:

 com.android.cts.appsecurity.SplitTests#testClearCodeCache

Change-Id: I2d9452d70ed39b3ea29ad65fb35e788c2fef5100
Signed-off-by: Hao Li <hao.i.li@intel.com>
Signed-off-by: Yu Ning <yu.ning@intel.com>
9 years agoam e59cb43e: Fix writeByteArray/writeInt32Array size on x64
Chad Brubaker [Tue, 30 Jun 2015 22:59:12 +0000 (22:59 +0000)]
am e59cb43e: Fix writeByteArray/writeInt32Array size on x64

* commit 'e59cb43edad0eff28a81b18c3c4484442ff680dd':
  Fix writeByteArray/writeInt32Array size on x64

9 years agoEnable sensor data injection mode through adb.
Aravind Akella [Mon, 29 Jun 2015 19:37:48 +0000 (12:37 -0700)]
Enable sensor data injection mode through adb.

Change-Id: I415cf8ff0871fa74babaf9b879c68f210298b472

9 years agoFix writeByteArray/writeInt32Array size on x64
Chad Brubaker [Tue, 30 Jun 2015 21:03:55 +0000 (14:03 -0700)]
Fix writeByteArray/writeInt32Array size on x64

writeByteArray writes the size using sizeof(size_t), however it is always
read using readInt32(). On devices where sizeof(size_t) != 4 this causes
extra bytes to be written.

BUG: 22204736
Change-Id: I8d4507b6b616857ef5827f1fe9da0907d09abf0e

9 years agoam 806334aa: am 1998615f: Merge "sf: Initialize EventThread before creating HWC"
Dan Stoza [Tue, 30 Jun 2015 17:38:41 +0000 (17:38 +0000)]
am 806334aa: am 1998615f: Merge "sf: Initialize EventThread before creating HWC"

* commit '806334aacd089d1c419ed77021a2b1bb4f7644ef':
  sf: Initialize EventThread before creating HWC

9 years agoam 1998615f: Merge "sf: Initialize EventThread before creating HWC"
Dan Stoza [Tue, 30 Jun 2015 17:24:40 +0000 (17:24 +0000)]
am 1998615f: Merge "sf: Initialize EventThread before creating HWC"

* commit '1998615f8b5becc6d2bb309a4a1686fe24c71bbc':
  sf: Initialize EventThread before creating HWC

9 years agoMerge "sf: Initialize EventThread before creating HWC"
Dan Stoza [Tue, 30 Jun 2015 17:11:08 +0000 (17:11 +0000)]
Merge "sf: Initialize EventThread before creating HWC"

9 years agoam fe608c5e: Merge "Fix directory path of codecache." into mnc-dev
Daichi Hirono [Tue, 30 Jun 2015 04:23:17 +0000 (04:23 +0000)]
am fe608c5e: Merge "Fix directory path of codecache." into mnc-dev

* commit 'fe608c5e3c75714e4aa6c31e048f4a15e4951411':
  Fix directory path of codecache.

9 years agoMerge "Fix directory path of codecache." into mnc-dev
Daichi Hirono [Tue, 30 Jun 2015 04:01:51 +0000 (04:01 +0000)]
Merge "Fix directory path of codecache." into mnc-dev

9 years agoam 3643c88f: Merge "Send cancelation events to monitors when injection fails." into...
Michael Wright [Mon, 29 Jun 2015 17:40:25 +0000 (17:40 +0000)]
am 3643c88f: Merge "Send cancelation events to monitors when injection fails." into mnc-dev

* commit '3643c88f7b557e241d65c4857eaf49e28e7c03a2':
  Send cancelation events to monitors when injection fails.

9 years agoMerge "Send cancelation events to monitors when injection fails." into mnc-dev
Michael Wright [Mon, 29 Jun 2015 17:10:45 +0000 (17:10 +0000)]
Merge "Send cancelation events to monitors when injection fails." into mnc-dev

9 years agoam 9c8efe6d: am dd749506: Merge "Fix async_stop"
John Reck [Mon, 29 Jun 2015 14:41:27 +0000 (14:41 +0000)]
am 9c8efe6d: am dd749506: Merge "Fix async_stop"

* commit '9c8efe6dfddc9a4800283952caacdaf9b898c43d':
  Fix async_stop

9 years agoam dd749506: Merge "Fix async_stop"
John Reck [Mon, 29 Jun 2015 14:28:45 +0000 (14:28 +0000)]
am dd749506: Merge "Fix async_stop"

* commit 'dd7495068b9af549d2bb1e3c4f3d91a9a929d3f0':
  Fix async_stop

9 years agoMerge "Fix async_stop"
John Reck [Mon, 29 Jun 2015 14:17:43 +0000 (14:17 +0000)]
Merge "Fix async_stop"

9 years agoFix async_stop
John Reck [Fri, 15 May 2015 17:00:34 +0000 (10:00 -0700)]
Fix async_stop

Change-Id: I68a258cf71cfcd999bbd568ab3c96255c11bec41
(cherry picked from commit 2c237ee1d5961b9d11618e0c5a97b3bb7fb694b2)

9 years agoam f413de05: Merge "libgui: Fix handling of rotated surface damage" into mnc-dev
Dan Stoza [Fri, 26 Jun 2015 20:01:09 +0000 (20:01 +0000)]
am f413de05: Merge "libgui: Fix handling of rotated surface damage" into mnc-dev

* commit 'f413de05cfb9a1b84b73c8e6c306d4142130c5f7':
  libgui: Fix handling of rotated surface damage

9 years agoMerge "libgui: Fix handling of rotated surface damage" into mnc-dev
Dan Stoza [Fri, 26 Jun 2015 19:37:23 +0000 (19:37 +0000)]
Merge "libgui: Fix handling of rotated surface damage" into mnc-dev

9 years agoam e74f1557: Merge "omx: add OMX_IndexParamConsumerUsageBits" into mnc-dev
Lajos Molnar [Fri, 26 Jun 2015 15:09:27 +0000 (15:09 +0000)]
am e74f1557: Merge "omx: add OMX_IndexParamConsumerUsageBits" into mnc-dev

* commit 'e74f1557c7030a6c988d8e4cd940c933c4237ac8':
  omx: add OMX_IndexParamConsumerUsageBits

9 years agoam 562d470d: am 209ea40e: (-s ours) am 9e415d71: DO NOT MERGE: Introduce stem keycode...
Anthony Hugh [Fri, 26 Jun 2015 15:09:07 +0000 (15:09 +0000)]
am 562d470d: am 209ea40e: (-s ours) am 9e415d71: DO NOT MERGE: Introduce stem keycodes for Wear

* commit '562d470d2ca9ac159ab20fbac32bb0d8ca7b029e':
  DO NOT MERGE: Introduce stem keycodes for Wear

9 years agoam 28381e45: am d2fb7a6e: am 8728c390: am 2c4f5fde: am 861c3f56: am 9004e7f5: am...
Adam Lesinski [Fri, 26 Jun 2015 15:09:06 +0000 (15:09 +0000)]
am 28381e45: am d2fb7a6e: am 8728c390: am 2c4f5fde: am 861c3f56: am 9004e7f5: am 4ff0cb44: Verify that the native handle was created

* commit '28381e45de69a861d6b0d9e9cc9e8e1607a9a18f':
  Verify that the native handle was created

9 years agoMerge "omx: add OMX_IndexParamConsumerUsageBits" into mnc-dev
Lajos Molnar [Fri, 26 Jun 2015 03:35:55 +0000 (03:35 +0000)]
Merge "omx: add OMX_IndexParamConsumerUsageBits" into mnc-dev

9 years agoam 209ea40e: (-s ours) am 9e415d71: DO NOT MERGE: Introduce stem keycodes for Wear
Anthony Hugh [Fri, 26 Jun 2015 02:22:50 +0000 (02:22 +0000)]
am 209ea40e: (-s ours) am 9e415d71: DO NOT MERGE: Introduce stem keycodes for Wear

* commit '209ea40e8f3ccda405cd4e99c768b9b9b43e9dfa':
  DO NOT MERGE: Introduce stem keycodes for Wear

9 years agoam d2fb7a6e: am 8728c390: am 2c4f5fde: am 861c3f56: am 9004e7f5: am 4ff0cb44: Verify...
Adam Lesinski [Fri, 26 Jun 2015 02:22:49 +0000 (02:22 +0000)]
am d2fb7a6e: am 8728c390: am 2c4f5fde: am 861c3f56: am 9004e7f5: am 4ff0cb44: Verify that the native handle was created

* commit 'd2fb7a6e49f04182ba7b639c340414b1745137f2':
  Verify that the native handle was created

9 years agoomx: add OMX_IndexParamConsumerUsageBits
Lajos Molnar [Thu, 25 Jun 2015 23:57:17 +0000 (16:57 -0700)]
omx: add OMX_IndexParamConsumerUsageBits

This is used by framework to query buffer consumers (e.g. video encoders)
about required usage bits.

Bug: 13222807
Change-Id: I508335c9d753c7a7224bb882f2228bd2f4144031

9 years agolibgui: Fix handling of rotated surface damage
Dan Stoza [Thu, 25 Jun 2015 23:10:18 +0000 (16:10 -0700)]
libgui: Fix handling of rotated surface damage

Incoming surface damage was not aware that the EGL implementation was
rotating buffers in response to SurfaceFlinger's transform hint. This
didn't affect all cases because the effect was to apply a 90 degree
rotation instead of a 270 degree rotation. For full-screen updates,
things more or less worked, but in other cases this caused corruption.

This fixes that by correctly undoing the effect of rotated buffers on
the incoming surface damage, and then passing that damage down
untouched to HWC.

Bug: 22068334
Change-Id: I226ecfc7a91fe2e16edd2aa6d9149f0d26b529d6

9 years agoam 9e415d71: DO NOT MERGE: Introduce stem keycodes for Wear
Anthony Hugh [Thu, 25 Jun 2015 01:27:44 +0000 (01:27 +0000)]
am 9e415d71: DO NOT MERGE: Introduce stem keycodes for Wear

* commit '9e415d719e4ceb7a3e93c0d60f9c3bf9ee4fc97f':
  DO NOT MERGE: Introduce stem keycodes for Wear

9 years agoDO NOT MERGE: Introduce stem keycodes for Wear
Anthony Hugh [Tue, 23 Jun 2015 17:49:05 +0000 (10:49 -0700)]
DO NOT MERGE: Introduce stem keycodes for Wear

Cherry-pick from master

This change adds four new stem keycodes for Android Wear. These
keycodes are intended to represent the various hardware buttons
around the watch.  There is one primary stem key that will be used
for power/settings and three generic stem keys that will be
customizable.

BUG: 21903503
Change-Id: I762b8c0bcf3780a1756f4c1b8bbf07a039ba7781

9 years agoDisregard alleged binder entities beyond parcel bounds
Christopher Tate [Thu, 28 May 2015 00:53:02 +0000 (17:53 -0700)]
Disregard alleged binder entities beyond parcel bounds

When appending one parcel's contents to another, ignore binder
objects within the source Parcel that appear to lie beyond the
formal bounds of that Parcel's data buffer.

Bug 17312693

Change-Id: If592a260f3fcd9a56fc160e7feb2c8b44c73f514
(cherry picked from commit 27182be9f20f4f5b48316666429f09b9ecc1f22e)

9 years agoDisregard alleged binder entities beyond parcel bounds
Christopher Tate [Thu, 28 May 2015 00:53:02 +0000 (17:53 -0700)]
Disregard alleged binder entities beyond parcel bounds

When appending one parcel's contents to another, ignore binder
objects within the source Parcel that appear to lie beyond the
formal bounds of that Parcel's data buffer.

Bug 17312693

Change-Id: If592a260f3fcd9a56fc160e7feb2c8b44c73f514
(cherry picked from commit 27182be9f20f4f5b48316666429f09b9ecc1f22e)

9 years agoDisregard alleged binder entities beyond parcel bounds
Christopher Tate [Thu, 28 May 2015 00:53:02 +0000 (17:53 -0700)]
Disregard alleged binder entities beyond parcel bounds

When appending one parcel's contents to another, ignore binder
objects within the source Parcel that appear to lie beyond the
formal bounds of that Parcel's data buffer.

Bug 17312693

Change-Id: If592a260f3fcd9a56fc160e7feb2c8b44c73f514
(cherry picked from commit 27182be9f20f4f5b48316666429f09b9ecc1f22e)

9 years agoam 7a1b5d5d: Merge "Fix crash in SensorService. Ignore devices with no sensors."...
Aravind Akella [Wed, 24 Jun 2015 15:56:29 +0000 (15:56 +0000)]
am 7a1b5d5d: Merge "Fix crash in SensorService. Ignore devices with no sensors." into mnc-dev

* commit '7a1b5d5dec10f05ec29e7251ada440b47a34c6aa':
  Fix crash in SensorService. Ignore devices with no sensors.

9 years agoMerge "Fix crash in SensorService. Ignore devices with no sensors." into mnc-dev
Aravind Akella [Wed, 24 Jun 2015 15:34:59 +0000 (15:34 +0000)]
Merge "Fix crash in SensorService. Ignore devices with no sensors." into mnc-dev

9 years agoFix crash in SensorService. Ignore devices with no sensors.
Aravind Akella [Wed, 24 Jun 2015 15:31:32 +0000 (08:31 -0700)]
Fix crash in SensorService. Ignore devices with no sensors.

Change-Id: I1491740baa6348f97c336b6883b11ad2ab93cf73

9 years agoFix directory path of codecache.
Daichi Hirono [Wed, 24 Jun 2015 06:57:06 +0000 (15:57 +0900)]
Fix directory path of codecache.

Previously installd removed the normal cache directory when delete_code_cache is
called. It should delete the code cache directory.

BUG=21206499

Change-Id: I5774430e389e22805fa7984b4c83420c3677ca75

9 years agoam 0638a4fa: Merge "libgui/SF: Propagate SECURE Layer flag changes" into mnc-dev
Dan Stoza [Tue, 23 Jun 2015 18:07:31 +0000 (18:07 +0000)]
am 0638a4fa: Merge "libgui/SF: Propagate SECURE Layer flag changes" into mnc-dev

* commit '0638a4fac7250e260c0102c770090cb7eefca936':
  libgui/SF: Propagate SECURE Layer flag changes

9 years agoMerge commit '71997c1a' into manualmerge
Michael Wright [Tue, 23 Jun 2015 18:04:31 +0000 (19:04 +0100)]
Merge commit '71997c1a' into manualmerge

Change-Id: Ia68fbd20ce66571dfd33764e52c3a00e2285e648

9 years agoMerge "libgui/SF: Propagate SECURE Layer flag changes" into mnc-dev
Dan Stoza [Tue, 23 Jun 2015 15:44:08 +0000 (15:44 +0000)]
Merge "libgui/SF: Propagate SECURE Layer flag changes" into mnc-dev

9 years agoam 18c77330: Merge "Add method to set action button on MotionEvent" into mnc-dev
Michael Wright [Tue, 23 Jun 2015 13:10:42 +0000 (13:10 +0000)]
am 18c77330: Merge "Add method to set action button on MotionEvent" into mnc-dev

* commit '18c773307ad7ec017b1bdaed0be9323faad9986f':
  Add method to set action button on MotionEvent

9 years agoMerge "Add new AINPUT_SOURCE_BLUETOOTH_STYLUS" into mnc-dev
Michael Wright [Tue, 23 Jun 2015 12:49:28 +0000 (12:49 +0000)]
Merge "Add new AINPUT_SOURCE_BLUETOOTH_STYLUS" into mnc-dev

9 years agoMerge "Add method to set action button on MotionEvent" into mnc-dev
Michael Wright [Tue, 23 Jun 2015 12:48:52 +0000 (12:48 +0000)]
Merge "Add method to set action button on MotionEvent" into mnc-dev

9 years agoam 94188464: Merge "More information in sensor bugreports." into mnc-dev
Aravind Akella [Mon, 22 Jun 2015 18:40:18 +0000 (18:40 +0000)]
am 94188464: Merge "More information in sensor bugreports." into mnc-dev

* commit '9418846431f494b53a5e9c617aed27693079c163':
  More information in sensor bugreports.

9 years agoMerge "More information in sensor bugreports." into mnc-dev
Aravind Akella [Mon, 22 Jun 2015 18:17:38 +0000 (18:17 +0000)]
Merge "More information in sensor bugreports." into mnc-dev

9 years agoam 528c8ddc: Rename --include-cfi to --generate-debug-info.
David Srbecky [Fri, 19 Jun 2015 19:54:57 +0000 (19:54 +0000)]
am 528c8ddc: Rename --include-cfi to --generate-debug-info.

* commit '528c8ddc60df7b3d291b389117e4db878a20ad48':
  Rename --include-cfi to --generate-debug-info.

9 years agoMerge commit '3822b8b7' into mnc-dev-plus-aosp
David Srbecky [Fri, 19 Jun 2015 19:36:37 +0000 (20:36 +0100)]
Merge commit '3822b8b7' into mnc-dev-plus-aosp

9 years agoRename --include-cfi to --generate-debug-info.
David Srbecky [Thu, 28 May 2015 15:55:50 +0000 (16:55 +0100)]
Rename --include-cfi to --generate-debug-info.

This follows a change in dex2oat.

(cherry picked from commit 741a6ff2e264b96edbca3ac95e720b21c8e39382)

Bug: 21924613
Change-Id: I6b2df1668fdd09d82cfe86e6e51360b954b6c8a9

9 years agoInstalld: Add debug.gencfi to run_dex2oat
Andreas Gampe [Fri, 24 Apr 2015 21:30:04 +0000 (14:30 -0700)]
Installd: Add debug.gencfi to run_dex2oat

Add the debug.gencfi system property that forces generation of
CFI data.

(cherry picked from commit 816243d470bade03c264e67e39590f6852581898)

Bug: 21924613
Change-Id: Ida66f8c1567634d05cfdbba1a982be3684e94369

9 years agolibgui/SF: Propagate SECURE Layer flag changes
Dan Stoza [Thu, 18 Jun 2015 21:58:39 +0000 (14:58 -0700)]
libgui/SF: Propagate SECURE Layer flag changes

This allows changes to the SECURE flag to propagate down to
Layers in SurfaceFlinger so that WindowManager can change it on the fly
in response to device policy updates.

Bug: 20934462
Change-Id: I558f6d22c6273be373f1f480365e42536af18a33

9 years agoMore information in sensor bugreports.
Aravind Akella [Thu, 18 Jun 2015 21:18:28 +0000 (14:18 -0700)]
More information in sensor bugreports.

i) Log last 20 activations/deactivations of sensors.
ii) Increase logging upto 50 events for accelerometer, step_counter and significant motion.

Change-Id: I3966ed0abda8b705f3d16e94a9370fa1b97baa57

9 years agoAdd method to set action button on MotionEvent
Michael Wright [Wed, 17 Jun 2015 20:06:54 +0000 (21:06 +0100)]
Add method to set action button on MotionEvent

Change-Id: I09f00fa1c2b793a88772f67fe195860ec436179d

9 years agosf: Initialize EventThread before creating HWC
Saurabh Shah [Tue, 16 Jun 2015 00:55:51 +0000 (17:55 -0700)]
sf: Initialize EventThread before creating HWC

Once HWC is created, it could use any of the provided hooks, which
could lead to a crash if the EventThread (handler) isn't initialized
prior to creating HWC.

Change-Id: I5ea35fe9bcb150fb74aae1295b798bd787ad6cee

9 years agoam 8f37aa50: dumpstate: modify logcat timeout to compensate for storage speed
Mark Salyzyn [Mon, 15 Jun 2015 14:54:15 +0000 (14:54 +0000)]
am 8f37aa50: dumpstate: modify logcat timeout to compensate for storage speed

* commit '8f37aa5011bf5d8c0a67126b92e3b435ffd4dca0':
  dumpstate: modify logcat timeout to compensate for storage speed

9 years agoam 3a6a953c: am 2ab05fc5: Merge "dumpstate: modify logcat timeout to compensate for...
Mark Salyzyn [Mon, 15 Jun 2015 14:47:27 +0000 (14:47 +0000)]
am 3a6a953c: am 2ab05fc5: Merge "dumpstate: modify logcat timeout to compensate for storage speed"

* commit '3a6a953ccc09cf70f11000e98d8639fcf934cbc0':
  dumpstate: modify logcat timeout to compensate for storage speed

9 years agoam 2ab05fc5: Merge "dumpstate: modify logcat timeout to compensate for storage speed"
Mark Salyzyn [Mon, 15 Jun 2015 14:35:49 +0000 (14:35 +0000)]
am 2ab05fc5: Merge "dumpstate: modify logcat timeout to compensate for storage speed"

* commit '2ab05fc551f8ee8442b05484cce0350c1b523678':
  dumpstate: modify logcat timeout to compensate for storage speed

9 years agodumpstate: modify logcat timeout to compensate for storage speed
Mark Salyzyn [Fri, 12 Jun 2015 19:28:24 +0000 (12:28 -0700)]
dumpstate: modify logcat timeout to compensate for storage speed

(cherry pick from commit f989162bb89dff6387f2021101306a1be6d875f7)

Discover the logcat buffer size, divide by the worst storage
speed in kb/s, and multiply by ten to estimate the timeout in
ms for each named buffer. If that value is less than 20 seconds,
then select 20 seconds. Apply this to each logcat request.

Bug: 21555259
Change-Id: Id36aebff83cb06e94350e4a84fa266b66a8444fc

9 years agoMerge "dumpstate: modify logcat timeout to compensate for storage speed"
Mark Salyzyn [Mon, 15 Jun 2015 14:27:10 +0000 (14:27 +0000)]
Merge "dumpstate: modify logcat timeout to compensate for storage speed"

9 years agoam 94a9875f: Merge "Remove Bluedroid kernel dump from dumpstate." into mnc-dev
Sharvil Nanavati [Fri, 12 Jun 2015 21:52:23 +0000 (21:52 +0000)]
am 94a9875f: Merge "Remove Bluedroid kernel dump from dumpstate." into mnc-dev

* commit '94a9875f7565617a000814039a4134420397a6aa':
  Remove Bluedroid kernel dump from dumpstate.

9 years agoMerge "Remove Bluedroid kernel dump from dumpstate." into mnc-dev
Sharvil Nanavati [Fri, 12 Jun 2015 21:30:02 +0000 (21:30 +0000)]
Merge "Remove Bluedroid kernel dump from dumpstate." into mnc-dev

9 years agodumpstate: modify logcat timeout to compensate for storage speed
Mark Salyzyn [Fri, 12 Jun 2015 19:28:24 +0000 (12:28 -0700)]
dumpstate: modify logcat timeout to compensate for storage speed

Discover the logcat buffer size, divide by the worst storage
speed in kb/s, and multiply by ten to estimate the timeout in
ms for each named buffer. If that value is less than 20 seconds,
then select 20 seconds. Apply this to each logcat request.

Bug: 21555259
Change-Id: Id36aebff83cb06e94350e4a84fa266b66a8444fc

9 years agoam 0501cdbc: am 2b5b55e7: Merge "sf: Fix incorrect state reporting in dumpsys"
Dan Stoza [Fri, 12 Jun 2015 20:05:27 +0000 (20:05 +0000)]
am 0501cdbc: am 2b5b55e7: Merge "sf: Fix incorrect state reporting in dumpsys"

* commit '0501cdbc0431f50eb22cc761dbdcbc3975005a70':
  sf: Fix incorrect state reporting in dumpsys

9 years agoRemove Bluedroid kernel dump from dumpstate.
Sharvil Nanavati [Fri, 12 Jun 2015 18:35:24 +0000 (11:35 -0700)]
Remove Bluedroid kernel dump from dumpstate.

Bluedroid doesn't have much of a kernel component and no devices
expose a bluedroid node in debugfs.

Change-Id: I5600e88c543a109257d95591704a8f2a7261dfdc

9 years agoam e04e4edc: sf: Fix incorrect state reporting in dumpsys
Manoj Kumar AVM [Fri, 12 Jun 2015 17:31:23 +0000 (17:31 +0000)]
am e04e4edc: sf: Fix incorrect state reporting in dumpsys

* commit 'e04e4edcd1a852058775caa34cf73e2c20dc1066':
  sf: Fix incorrect state reporting in dumpsys

9 years agoam 2b5b55e7: Merge "sf: Fix incorrect state reporting in dumpsys"
Dan Stoza [Fri, 12 Jun 2015 17:00:44 +0000 (17:00 +0000)]
am 2b5b55e7: Merge "sf: Fix incorrect state reporting in dumpsys"

* commit '2b5b55e73c79658b9a0ae3fdf347f6dbe65e3c68':
  sf: Fix incorrect state reporting in dumpsys

9 years agosf: Fix incorrect state reporting in dumpsys
Manoj Kumar AVM [Thu, 11 Jun 2015 21:18:14 +0000 (14:18 -0700)]
sf: Fix incorrect state reporting in dumpsys

Dumpsys utility accesses layer compositionType variable
with out proper protection. These variables are modified
during hwc_prepare call. Existing HAL lock protection is not
sufficient to address this issue. Failure to do this will
result in incorrect state reporting in dumpsys.

A new displayLock mutex in HWComposer will be used in both
dumpsys and draw calls to ensure correct state is accessed.

Change-Id: I8a57de59525adc0e089b3bed95c067c01e42b666
(cherry picked from commit e54506b81a3b81683056ad48294e37d6b4b4e36b)

9 years agoMerge "sf: Fix incorrect state reporting in dumpsys"
Dan Stoza [Fri, 12 Jun 2015 16:47:21 +0000 (16:47 +0000)]
Merge "sf: Fix incorrect state reporting in dumpsys"

9 years agoAdd new AINPUT_SOURCE_BLUETOOTH_STYLUS
Michael Wright [Fri, 12 Jun 2015 14:25:08 +0000 (15:25 +0100)]
Add new AINPUT_SOURCE_BLUETOOTH_STYLUS

Bug: 21531826
Change-Id: I3792860ad3f6579ceb50ccaa212f8fbd471a9b6b