OSDN Git Service

android-x86/frameworks-native.git
9 years agoam ecc0763e: dumpstate: add logcat -b all -S
Mark Salyzyn [Tue, 11 Aug 2015 23:15:47 +0000 (23:15 +0000)]
am ecc0763e: dumpstate: add logcat -b all -S

* commit 'ecc0763e6c96c418ea4ee6c993d58d16a58407b3':
  dumpstate: add logcat -b all -S

9 years agodumpstate: add logcat -b all -S
Mark Salyzyn [Thu, 30 Jul 2015 21:57:09 +0000 (14:57 -0700)]
dumpstate: add logcat -b all -S

(cherry pick from commit e3c4df96083231b519dad919fd0ed6624100b368)

- For those that are proud to call themselves logspam police
- Every time someone declares that something is too chatty, or that
  they lost their logs because they were declared too chatty and
  their associated logs were aggresively pruned we generally
  ask them to report the logger statistics to pinpoint what software
  product that is the elephant in the room.
- Every time we want to spawn a new 'stop being so spammy' bug spawned
  off a bugreport collected for another purpose, we *wish* we had the
  logger statistics to help add gravitas to the claim that some piece
  of software is the top, or near the top, polluter.

Bug: 22351810
Change-Id: Ifae33cd21d0ae2917a3b4381502d723725b1701c

9 years agoMerge commit '62ec2dd5' into mm
Michael Wright [Fri, 7 Aug 2015 17:12:20 +0000 (18:12 +0100)]
Merge commit '62ec2dd5' into mm

Change-Id: I34801df36735545fc500486209573ed2864a0430

9 years agoDO NOT MERGE Add new media navigation keys.
Michael Wright [Thu, 6 Aug 2015 14:17:31 +0000 (15:17 +0100)]
DO NOT MERGE Add new media navigation keys.

Bug: 22059484
Change-Id: I587eb7622555194f18f403da583e3b70656a530e

9 years agoMerge "SF: Track missed frames and optionally drop them" into mnc-dr-dev
Dan Stoza [Wed, 5 Aug 2015 18:48:10 +0000 (18:48 +0000)]
Merge "SF: Track missed frames and optionally drop them" into mnc-dr-dev

9 years agoam ea2afa46: Merge "Fix parsing of extension string" into mnc-dev
Naveen Leekha [Mon, 3 Aug 2015 14:51:31 +0000 (14:51 +0000)]
am ea2afa46: Merge "Fix parsing of extension string" into mnc-dev

* commit 'ea2afa460a2c2ee6c44406c1993e8bbacac838ba':
  Fix parsing of extension string

9 years agoMerge "Fix parsing of extension string" into mnc-dev
Naveen Leekha [Mon, 3 Aug 2015 14:45:11 +0000 (14:45 +0000)]
Merge "Fix parsing of extension string" into mnc-dev

9 years agoFix parsing of extension string
Michael Lentine [Tue, 28 Jul 2015 23:30:10 +0000 (16:30 -0700)]
Fix parsing of extension string

Previously the parsing found the next space and then added the the difference
between the current position and space to the set of tokens. This improperly
generated empty strings if there were consecutive spaces or if spaces existed at
the beginning or end of strings. To fix this, the parse is modified to use
simple stringstream parsing.

Bug: 22709246

Change-Id: I9e32c07bbf984eadccdadf1dc34437fa0c46088b

9 years agoam d87defaf: SF: Allow present if sideband stream changed
Dan Stoza [Fri, 31 Jul 2015 15:44:52 +0000 (15:44 +0000)]
am d87defaf: SF: Allow present if sideband stream changed

* commit 'd87defaf486ff4e9c0066754564851cfb7be49ed':
  SF: Allow present if sideband stream changed

9 years agoBug fix in SensorManager.
Aravind Akella [Thu, 30 Jul 2015 01:03:48 +0000 (18:03 -0700)]
Bug fix in SensorManager.

If SensorService hasn't started when SensorManager instance is requested, keep retrying for a
longer duration.

Bug: 22529981
Change-Id: I3c506d962b61347085fc80b2c5832289539d6853

9 years agoSF: Allow present if sideband stream changed
Dan Stoza [Wed, 29 Jul 2015 23:15:50 +0000 (16:15 -0700)]
SF: Allow present if sideband stream changed

Allows the sideband layer to be passed all the way to HWC instead of
getting blocked by the updated PTS tracking code.

Bug: 22291067
Change-Id: Ic2f20a7528e276fff054e86ca35789c26873b348

9 years agoam a29db50c: Merge "Revert "Bug fix in SensorManager."" into mnc-dev
Narayan Kamath [Wed, 29 Jul 2015 10:07:56 +0000 (10:07 +0000)]
am a29db50c: Merge "Revert "Bug fix in SensorManager."" into mnc-dev

* commit 'a29db50c448f8d00a544b925544f3dee725f7750':
  Revert "Bug fix in SensorManager."

9 years agoMerge "Revert "Bug fix in SensorManager."" into mnc-dev
Narayan Kamath [Wed, 29 Jul 2015 09:41:23 +0000 (09:41 +0000)]
Merge "Revert "Bug fix in SensorManager."" into mnc-dev

9 years agoRevert "Bug fix in SensorManager."
Narayan Kamath [Wed, 29 Jul 2015 09:36:05 +0000 (09:36 +0000)]
Revert "Bug fix in SensorManager."

This reverts commit 869eb2089ec8a6286b944bfcff57e4cbe0c7e207.

Change-Id: I4fb865e3b18bbb011fa4e4b4732336930c3a45ae

9 years agoam 2376bd68: Merge "Bug fix in SensorManager." into mnc-dev
Aravind Akella [Wed, 29 Jul 2015 00:40:49 +0000 (00:40 +0000)]
am 2376bd68: Merge "Bug fix in SensorManager." into mnc-dev

* commit '2376bd6869f4cd835a351322d48d35567eceec4f':
  Bug fix in SensorManager.

9 years agoMerge "Bug fix in SensorManager." into mnc-dev
Aravind Akella [Wed, 29 Jul 2015 00:21:09 +0000 (00:21 +0000)]
Merge "Bug fix in SensorManager." into mnc-dev

9 years agoBug fix in SensorManager.
Aravind Akella [Fri, 24 Jul 2015 18:08:41 +0000 (11:08 -0700)]
Bug fix in SensorManager.

If SensorService hasn't started when SensorManager instance is requested, keep retrying for a
longer duration.

Bug: 22529981
Change-Id: I4ba6b760608e34d79273aeb39568f0fa72fbaf9d

9 years agoam bf7cd01a: Merge "Add FEATURE_FINGERPRINT to PackageManager\'s feature list" into...
Jim Miller [Fri, 24 Jul 2015 02:53:59 +0000 (02:53 +0000)]
am bf7cd01a: Merge "Add FEATURE_FINGERPRINT to PackageManager\'s feature list" into mnc-dev

* commit 'bf7cd01ab0fce5c76364f78e3b9fdba078c197c0':
  Add FEATURE_FINGERPRINT to PackageManager's feature list

9 years agoMerge "Add FEATURE_FINGERPRINT to PackageManager's feature list" into mnc-dev
Jim Miller [Fri, 24 Jul 2015 02:41:02 +0000 (02:41 +0000)]
Merge "Add FEATURE_FINGERPRINT to PackageManager's feature list" into mnc-dev

9 years agoAdd FEATURE_FINGERPRINT to PackageManager's feature list
Jim Miller [Thu, 23 Jul 2015 02:56:05 +0000 (19:56 -0700)]
Add FEATURE_FINGERPRINT to PackageManager's feature list

Fixes bug 22674557

Change-Id: I2ced132c1cb4f4b5166f9af288dd3e697fdcf92b

9 years agoSF: Track missed frames and optionally drop them
Dan Stoza [Thu, 9 Jul 2015 19:43:33 +0000 (12:43 -0700)]
SF: Track missed frames and optionally drop them

Adds code to track whether SurfaceFlinger has sent two frames to HWC in
the same vsync window. This can occur if one frame is delayed so far
it slips into the next window or just if one frame takes an abnormal
amount of time. If this occurs, it shows up as FrameMissed in systrace.

Also adds a property debug.sf.drop_missed_frames which, if set, tells
SurfaceFlinger to skip sending a frame to HWC (i.e., calling
prepare/set) when we detect this condition, which can help prevent
backpressure from the HWC implementation.

Bug: 22513558
Change-Id: I2df0d44cec5fd6edba419388d8c90b5710d1a5b6

9 years agoam 99426810: Merge "Check for the presence of accel and magnetometer sensors before...
Chenjie Luo [Wed, 22 Jul 2015 20:23:43 +0000 (20:23 +0000)]
am 99426810: Merge "Check for the presence of accel and magnetometer sensors before adding AOSP fusion sensors." into mnc-dev

* commit '99426810e4828719be84a0f8c186161578512e93':
  Check for the presence of accel and magnetometer sensors before adding AOSP fusion sensors.

9 years agoMerge "Check for the presence of accel and magnetometer sensors before adding AOSP...
Chenjie Luo [Wed, 22 Jul 2015 06:26:27 +0000 (06:26 +0000)]
Merge "Check for the presence of accel and magnetometer sensors before adding AOSP fusion sensors." into mnc-dev

9 years agoam f892f914: Merge "omx: fix structure sizes to be the same on 32 and 64-bit builds...
Lajos Molnar [Tue, 21 Jul 2015 00:37:21 +0000 (00:37 +0000)]
am f892f914: Merge "omx: fix structure sizes to be the same on 32 and 64-bit builds" into mnc-dev

* commit 'f892f9141721a3805d18da2db0e1c17f1a99feb0':
  omx: fix structure sizes to be the same on 32 and 64-bit builds

9 years agoCheck for the presence of accel and magnetometer sensors before adding AOSP fusion...
Aravind Akella [Tue, 21 Jul 2015 00:29:33 +0000 (17:29 -0700)]
Check for the presence of accel and magnetometer sensors before adding AOSP fusion sensors.

Bug: 22502485
Change-Id: I3d9018649302b98004e4e216b2173e8411a08501

9 years agoMerge "omx: fix structure sizes to be the same on 32 and 64-bit builds" into mnc-dev
Lajos Molnar [Tue, 21 Jul 2015 00:22:18 +0000 (00:22 +0000)]
Merge "omx: fix structure sizes to be the same on 32 and 64-bit builds" into mnc-dev

9 years agoomx: fix structure sizes to be the same on 32 and 64-bit builds
Lajos Molnar [Mon, 20 Jul 2015 22:29:24 +0000 (15:29 -0700)]
omx: fix structure sizes to be the same on 32 and 64-bit builds

Bug: 22512621
Change-Id: I2100b8aad0a1cf110936f4a765718ba97f3d8ce7

9 years agoam a2307aef: Only restorecon_data once for all users.
Jeff Sharkey [Mon, 20 Jul 2015 23:56:41 +0000 (23:56 +0000)]
am a2307aef: Only restorecon_data once for all users.

* commit 'a2307aefd06f1310660ef1d35ce01bcfc72c9633':
  Only restorecon_data once for all users.

9 years agoOnly restorecon_data once for all users.
Jeff Sharkey [Mon, 20 Jul 2015 23:26:19 +0000 (16:26 -0700)]
Only restorecon_data once for all users.

restorecon_data already iterates across all found users internally,
so we don't need to call it for each UID moved.  In fact, this was a
bug that caused data for the owner to be relabeled when moving apps
back to internal storage.

Bug: 21813384
Change-Id: I5ba76d4f30d129365864c8a25b665f344b99a6b4

9 years agoam 5f920c1a: BufferQueueConsumer: signal onFrameReleased on dropped frames
Lajos Molnar [Fri, 17 Jul 2015 18:39:25 +0000 (18:39 +0000)]
am 5f920c1a: BufferQueueConsumer: signal onFrameReleased on dropped frames

* commit '5f920c1a2cf12c0638c05fbddee8ff6c1193731c':
  BufferQueueConsumer: signal onFrameReleased on dropped frames

9 years agoBufferQueueConsumer: signal onFrameReleased on dropped frames
Lajos Molnar [Mon, 13 Jul 2015 23:04:24 +0000 (16:04 -0700)]
BufferQueueConsumer: signal onFrameReleased on dropped frames

Bug: 22552826
Change-Id: I9bdfeb8c68f403301af90d4b494f0ae7166a767c

9 years agoam c968c017: Installd: Add a swap override flag
Andreas Gampe [Fri, 17 Jul 2015 01:03:24 +0000 (01:03 +0000)]
am c968c017: Installd: Add a swap override flag

* commit 'c968c0175e967e39e72f557b5e014b9575ba4727':
  Installd: Add a swap override flag

9 years agoInstalld: Add a swap override flag
Andreas Gampe [Thu, 16 Jul 2015 22:55:41 +0000 (15:55 -0700)]
Installd: Add a swap override flag

Add dalvik.vm.dex2oat-swap system property to override a default
decision.

Bug: 20658562
Change-Id: I34368c6e435d1a9ceec20a0bf1c8c6213e527f5e

9 years agoMerge "Show charging speed on Keyguard" into mnc-dr-dev
Adrian Roos [Tue, 14 Jul 2015 19:17:00 +0000 (19:17 +0000)]
Merge "Show charging speed on Keyguard" into mnc-dr-dev

9 years agoam fd549578: Merge "Cancel touches as well as pointer gestures." into mnc-dev
Michael Wright [Tue, 14 Jul 2015 14:39:07 +0000 (14:39 +0000)]
am fd549578: Merge "Cancel touches as well as pointer gestures." into mnc-dev

* commit 'fd54957888a2fd692e1a8590d7e9e98e4da9ca4d':
  Cancel touches as well as pointer gestures.

9 years agoMerge "Cancel touches as well as pointer gestures." into mnc-dev
Michael Wright [Tue, 14 Jul 2015 14:22:36 +0000 (14:22 +0000)]
Merge "Cancel touches as well as pointer gestures." into mnc-dev

9 years agoam 4904821b: Merge "Rename wakelock held internally by SensorService." into mnc-dev
Aravind Akella [Mon, 13 Jul 2015 23:02:20 +0000 (23:02 +0000)]
am 4904821b: Merge "Rename wakelock held internally by SensorService." into mnc-dev

* commit '4904821b212a3ee91f22a51295f86f6339cbcc8d':
  Rename wakelock held internally by SensorService.

9 years agoMerge "Rename wakelock held internally by SensorService." into mnc-dev
Aravind Akella [Mon, 13 Jul 2015 18:21:48 +0000 (18:21 +0000)]
Merge "Rename wakelock held internally by SensorService." into mnc-dev

9 years agoCancel touches as well as pointer gestures.
Michael Wright [Mon, 22 Jun 2015 15:18:21 +0000 (16:18 +0100)]
Cancel touches as well as pointer gestures.

Bug: 19264992
Change-Id: If48e0953b972c9d69f516906adf7c6faf67e3eb8

9 years agoShow charging speed on Keyguard
Adrian Roos [Fri, 10 Jul 2015 20:08:28 +0000 (13:08 -0700)]
Show charging speed on Keyguard

Bug: 8099739
Change-Id: I2e5c21dd7ec028ce47fb03ab71e74f7fccaa9e36

9 years agoRename wakelock held internally by SensorService.
Aravind Akella [Fri, 10 Jul 2015 18:24:28 +0000 (11:24 -0700)]
Rename wakelock held internally by SensorService.

Bug: 22076400
Change-Id: I62129549b0681f200f40da01f53140245309ed88

9 years agoam 982719b1: (-s ours) DO NOT MERGE ANYWHERE. reset back to 570052f with history.
Qiwen Zhao [Fri, 10 Jul 2015 01:43:07 +0000 (01:43 +0000)]
am 982719b1: (-s ours) DO NOT MERGE ANYWHERE. reset back to 570052f with history.

* commit '982719b179aecc33aa6c258318fcbf6e4faa81d7':

9 years agoDO NOT MERGE ANYWHERE. reset back to 570052f with history.
Qiwen Zhao [Fri, 10 Jul 2015 00:39:23 +0000 (17:39 -0700)]
DO NOT MERGE ANYWHERE. reset back to 570052f with history.

9 years agoMerge "Cancel touches as well as pointer gestures." into mnc-dev
Michael Wright [Thu, 9 Jul 2015 21:56:20 +0000 (21:56 +0000)]
Merge "Cancel touches as well as pointer gestures." into mnc-dev

9 years agoCancel touches as well as pointer gestures.
Michael Wright [Mon, 22 Jun 2015 15:18:21 +0000 (16:18 +0100)]
Cancel touches as well as pointer gestures.

Bug: 19264992
Change-Id: Idbe964a1a35c190a32f845e2a19542d54652d011

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 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 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 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 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 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 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 00078817: am 59a33a01: (-s ours) am dbc2d87a: Merge "Installd: Fix delete_code_cac...
Narayan Kamath [Wed, 1 Jul 2015 13:49:21 +0000 (13:49 +0000)]
am 00078817: am 59a33a01: (-s ours) am dbc2d87a: Merge "Installd: Fix delete_code_cache() clearing the wrong cache dir"

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

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 b5d6ec7c: am e59cb43e: Fix writeByteArray/writeInt32Array size on x64
Chad Brubaker [Tue, 30 Jun 2015 23:13:27 +0000 (23:13 +0000)]
am b5d6ec7c: am e59cb43e: Fix writeByteArray/writeInt32Array size on x64

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

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 6a25a287: am 806334aa: am 1998615f: Merge "sf: Initialize EventThread before creat...
Dan Stoza [Tue, 30 Jun 2015 17:49:47 +0000 (17:49 +0000)]
am 6a25a287: am 806334aa: am 1998615f: Merge "sf: Initialize EventThread before creating HWC"

* commit '6a25a2872852f23058268adcec61600460fcdfb6':
  sf: Initialize EventThread before creating HWC

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 b5b21d18: am fe608c5e: Merge "Fix directory path of codecache." into mnc-dev
Daichi Hirono [Tue, 30 Jun 2015 04:34:50 +0000 (04:34 +0000)]
am b5b21d18: am fe608c5e: Merge "Fix directory path of codecache." into mnc-dev

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

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 fd0fdaf7: am 3643c88f: Merge "Send cancelation events to monitors when injection...
Michael Wright [Mon, 29 Jun 2015 17:47:15 +0000 (17:47 +0000)]
am fd0fdaf7: am 3643c88f: Merge "Send cancelation events to monitors when injection fails." into mnc-dev

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

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 agoam c28e8663: am 9c8efe6d: am dd749506: Merge "Fix async_stop"
John Reck [Mon, 29 Jun 2015 17:26:33 +0000 (17:26 +0000)]
am c28e8663: am 9c8efe6d: am dd749506: Merge "Fix async_stop"

* commit 'c28e8663dd4a14a7af7bd6a59cc0b490e31c778a':
  Fix async_stop

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 488986f4: am f413de05: Merge "libgui: Fix handling of rotated surface damage"...
Dan Stoza [Fri, 26 Jun 2015 20:15:24 +0000 (20:15 +0000)]
am 488986f4: am f413de05: Merge "libgui: Fix handling of rotated surface damage" into mnc-dev

* commit '488986f4ad7a92b04fdfd761ae07785019d2a9d3':
  libgui: Fix handling of rotated surface damage

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 3875698f: am e74f1557: Merge "omx: add OMX_IndexParamConsumerUsageBits" into mnc-dev
Lajos Molnar [Fri, 26 Jun 2015 15:21:01 +0000 (15:21 +0000)]
am 3875698f: am e74f1557: Merge "omx: add OMX_IndexParamConsumerUsageBits" into mnc-dev

* commit '3875698f8d47af86e024817889e4107392d20439':
  omx: add OMX_IndexParamConsumerUsageBits

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

* commit '2f105552ef33a4cd4be199ac895041dc6ea628d4':
  DO NOT MERGE: Introduce stem keycodes for Wear

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

* commit '794392999ecf1dae9b335aab3dd4b4627a6d07c7':
  Verify that the native handle was created

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