OSDN Git Service

android-x86/frameworks-native.git
8 years agoam 18165848: am e2c4f4fb: am c1e6fbb5: Initialize local variables to avoid data leak...
Naveen Leekha [Tue, 20 Oct 2015 23:15:57 +0000 (23:15 +0000)]
am 18165848: am e2c4f4fb: am c1e6fbb5: Initialize local variables to avoid data leak am: 7534e4e63a  -s ours am: 7b4863f606 am: 8121177b5e am: 7135d2768b am: 5957172a7e am: 1d7b4fde4c
am: 91db803f0a

* commit '91db803f0a0e7fb0445bf0193b6dcbe79e9df8fc':
  Initialize local variables to avoid data leak

8 years agoam 18165848: am e2c4f4fb: am c1e6fbb5: Initialize local variables to avoid data leak...
Naveen Leekha [Tue, 20 Oct 2015 18:33:36 +0000 (18:33 +0000)]
am 18165848: am e2c4f4fb: am c1e6fbb5: Initialize local variables to avoid data leak am: 7534e4e63a  -s ours am: 7b4863f606 am: 8121177b5e am: 7135d2768b am: 5957172a7e
am: 1d7b4fde4c

* commit '1d7b4fde4c7ae0bd5e8dd9a5177252cbfba85f1e':
  Initialize local variables to avoid data leak

8 years agoam 18165848: am e2c4f4fb: am c1e6fbb5: Initialize local variables to avoid data leak...
Naveen Leekha [Tue, 20 Oct 2015 17:48:10 +0000 (17:48 +0000)]
am 18165848: am e2c4f4fb: am c1e6fbb5: Initialize local variables to avoid data leak am: 7534e4e63a  -s ours am: 7b4863f606 am: 8121177b5e am: 7135d2768b
am: 5957172a7e

* commit '5957172a7edb83d05423d5abae0091628f0c557c':
  Initialize local variables to avoid data leak

8 years agoam 18165848: am e2c4f4fb: am c1e6fbb5: Initialize local variables to avoid data leak...
Naveen Leekha [Tue, 20 Oct 2015 17:25:55 +0000 (17:25 +0000)]
am 18165848: am e2c4f4fb: am c1e6fbb5: Initialize local variables to avoid data leak am: 7534e4e63a  -s ours am: 7b4863f606 am: 8121177b5e
am: 7135d2768b

* commit '7135d2768bcb46603735ab9b6b4bbaa788d39179':
  Initialize local variables to avoid data leak

8 years agoam 18165848: am e2c4f4fb: am c1e6fbb5: Initialize local variables to avoid data leak...
Naveen Leekha [Tue, 20 Oct 2015 17:02:33 +0000 (17:02 +0000)]
am 18165848: am e2c4f4fb: am c1e6fbb5: Initialize local variables to avoid data leak am: 7534e4e63a  -s ours am: 7b4863f606
am: 8121177b5e

* commit '8121177b5e8c406570f0eaf6593c6fd1db232ddf':
  Initialize local variables to avoid data leak

8 years agoam 18165848: am e2c4f4fb: am c1e6fbb5: Initialize local variables to avoid data leak...
Naveen Leekha [Tue, 20 Oct 2015 16:54:09 +0000 (16:54 +0000)]
am 18165848: am e2c4f4fb: am c1e6fbb5: Initialize local variables to avoid data leak am: 7534e4e63a  -s ours
am: 7b4863f606

* commit '7b4863f606bdb48b188b0235447dfaba6c8c3cf0':
  Initialize local variables to avoid data leak

8 years agoam 18165848: am e2c4f4fb: am c1e6fbb5: Initialize local variables to avoid data leak
Naveen Leekha [Tue, 20 Oct 2015 16:42:34 +0000 (16:42 +0000)]
am 18165848: am e2c4f4fb: am c1e6fbb5: Initialize local variables to avoid data leak
am: 7534e4e63a  -s ours

* commit '7534e4e63afedeb826a8d8a4b0cf3f9d40d243ea':
  Initialize local variables to avoid data leak

8 years agoMerge "Revert "Remove GLTrace support""
Pablo Ceballos [Mon, 19 Oct 2015 18:09:47 +0000 (18:09 +0000)]
Merge "Revert "Remove GLTrace support""

8 years agoRevert "Remove GLTrace support"
Pablo Ceballos [Mon, 19 Oct 2015 18:09:19 +0000 (18:09 +0000)]
Revert "Remove GLTrace support"

This reverts commit 5bf6f3b5bf06e04a742bde8d40409d3c9e434c05.

Change-Id: I25a2d9b4a4b219cb76b405db1f68997519361cd6

8 years agoMerge "Remove GLTrace support"
Pablo Ceballos [Mon, 19 Oct 2015 17:55:53 +0000 (17:55 +0000)]
Merge "Remove GLTrace support"

9 years agoam e313bf95: am 41c989aa: am 4e6d8c5b: Merge "Add methods to Parcel for bool and...
Casey Dahlin [Fri, 16 Oct 2015 20:45:04 +0000 (20:45 +0000)]
am e313bf95: am 41c989aa: am 4e6d8c5b: Merge "Add methods to Parcel for bool and char and byte"

* commit 'e313bf9552745986fbc3a76d9176e7ec3727c725':
  Add methods to Parcel for bool and char and byte

9 years agoam 41c989aa: am 4e6d8c5b: Merge "Add methods to Parcel for bool and char and byte"
Casey Dahlin [Fri, 16 Oct 2015 20:37:02 +0000 (20:37 +0000)]
am 41c989aa: am 4e6d8c5b: Merge "Add methods to Parcel for bool and char and byte"

* commit '41c989aa15c7a26aef4d2414137f9875fd22a161':
  Add methods to Parcel for bool and char and byte

9 years agoam 4e6d8c5b: Merge "Add methods to Parcel for bool and char and byte"
Casey Dahlin [Fri, 16 Oct 2015 20:30:50 +0000 (13:30 -0700)]
am 4e6d8c5b: Merge "Add methods to Parcel for bool and char and byte"

* commit '4e6d8c5b9d51f11db7e8dbe91971c8b46beae5c0':
  Add methods to Parcel for bool and char and byte

9 years agoMerge "Add methods to Parcel for bool and char and byte"
Casey Dahlin [Fri, 16 Oct 2015 20:13:00 +0000 (20:13 +0000)]
Merge "Add methods to Parcel for bool and char and byte"

9 years agoAdd methods to Parcel for bool and char and byte
Casey Dahlin [Thu, 15 Oct 2015 22:44:59 +0000 (15:44 -0700)]
Add methods to Parcel for bool and char and byte

We lift these to int, but handling the details of that here will be better
than having AIDL generate casting code all the time.

Test: unit tests pass
Bug: 24981507
Change-Id: If6aa33ab5fe365dd237136a95c5d9a702af41d15
Signed-off-by: Casey Dahlin <sadmac@google.com>
9 years agoMerge "Temporary hack to get rid of new virtuals."
Dianne Hackborn [Thu, 15 Oct 2015 17:58:00 +0000 (17:58 +0000)]
Merge "Temporary hack to get rid of new virtuals."

9 years agoMerge "When using trackpad, mouse pointer shows instead of circle"
Amirhossein Simjour [Thu, 15 Oct 2015 17:04:12 +0000 (17:04 +0000)]
Merge "When using trackpad, mouse pointer shows instead of circle"

9 years agoTemporary hack to get rid of new virtuals.
Dianne Hackborn [Wed, 14 Oct 2015 22:13:02 +0000 (15:13 -0700)]
Temporary hack to get rid of new virtuals.

Seems like it breaks some prebuilt binaries.

Change-Id: Ia5e35beb4538364b2ab3618fbf21b2e9c9ee2363

9 years agoam 0221b4bd: am 263b020b: am 6427e719: am 2ac7405b: Merge "Set DATA_INJECTION mode...
Aravind Akella [Wed, 14 Oct 2015 21:23:58 +0000 (21:23 +0000)]
am 0221b4bd: am 263b020b: am 6427e719: am 2ac7405b: Merge "Set DATA_INJECTION mode flag for sensors." into mnc-dr-dev

* commit '0221b4bd2d0443ec634d4264df32e7184a0e47c5':
  Set DATA_INJECTION mode flag for sensors.

9 years agoam 263b020b: am 6427e719: am 2ac7405b: Merge "Set DATA_INJECTION mode flag for sensor...
Aravind Akella [Wed, 14 Oct 2015 21:20:00 +0000 (21:20 +0000)]
am 263b020b: am 6427e719: am 2ac7405b: Merge "Set DATA_INJECTION mode flag for sensors." into mnc-dr-dev

* commit '263b020b6eb442aa0f82860b34f68ab3f5a3971a':
  Set DATA_INJECTION mode flag for sensors.

9 years agoam 6427e719: am 2ac7405b: Merge "Set DATA_INJECTION mode flag for sensors." into...
Aravind Akella [Wed, 14 Oct 2015 21:13:41 +0000 (21:13 +0000)]
am 6427e719: am 2ac7405b: Merge "Set DATA_INJECTION mode flag for sensors." into mnc-dr-dev

* commit '6427e7190bbd83a29169e6ae4b5e3cff263f6937':
  Set DATA_INJECTION mode flag for sensors.

9 years agoam 2ac7405b: Merge "Set DATA_INJECTION mode flag for sensors." into mnc-dr-dev
Aravind Akella [Wed, 14 Oct 2015 21:08:15 +0000 (21:08 +0000)]
am 2ac7405b: Merge "Set DATA_INJECTION mode flag for sensors." into mnc-dr-dev

* commit '2ac7405bda4f621f07cbcc0b562d16f7a9611c7b':
  Set DATA_INJECTION mode flag for sensors.

9 years agoMerge "Set DATA_INJECTION mode flag for sensors." into mnc-dr-dev
Aravind Akella [Wed, 14 Oct 2015 21:03:07 +0000 (21:03 +0000)]
Merge "Set DATA_INJECTION mode flag for sensors." into mnc-dr-dev

9 years agoam eb873c89: am 0983618f: am a518d5ad: am 312d7555: egl: Remove window disconnect...
Jesse Hall [Wed, 14 Oct 2015 21:01:57 +0000 (21:01 +0000)]
am eb873c89: am 0983618f: am a518d5ad: am 312d7555: egl: Remove window disconnect before calling driver eglDestroySurface

* commit 'eb873c89e98b18b6db755aac4040bc45e3b1d11c':
  egl: Remove window disconnect before calling driver eglDestroySurface

9 years agoam 0983618f: am a518d5ad: am 312d7555: egl: Remove window disconnect before calling...
Jesse Hall [Wed, 14 Oct 2015 20:30:38 +0000 (20:30 +0000)]
am 0983618f: am a518d5ad: am 312d7555: egl: Remove window disconnect before calling driver eglDestroySurface

* commit '0983618f0ad57b873163183eac6caf8dea7920c8':
  egl: Remove window disconnect before calling driver eglDestroySurface

9 years agoam a518d5ad: am 312d7555: egl: Remove window disconnect before calling driver eglDest...
Jesse Hall [Wed, 14 Oct 2015 20:26:57 +0000 (20:26 +0000)]
am a518d5ad: am 312d7555: egl: Remove window disconnect before calling driver eglDestroySurface

* commit 'a518d5ad0c0c6a661471a8cd2c962612943ca667':
  egl: Remove window disconnect before calling driver eglDestroySurface

9 years agoam 312d7555: egl: Remove window disconnect before calling driver eglDestroySurface
Jesse Hall [Wed, 14 Oct 2015 20:14:55 +0000 (20:14 +0000)]
am 312d7555: egl: Remove window disconnect before calling driver eglDestroySurface

* commit '312d7555cb71ce7fb73bc758b9e30653e223b2f3':
  egl: Remove window disconnect before calling driver eglDestroySurface

9 years agoegl: Remove window disconnect before calling driver eglDestroySurface
Jesse Hall [Wed, 14 Oct 2015 18:10:24 +0000 (11:10 -0700)]
egl: Remove window disconnect before calling driver eglDestroySurface

This was originally added for b/14445579. An in-development app was
attempting to render to a window as an EGLSurface, then tear that
down, change some window properties, and create a new EGLSurface. The
second eglCreateWindowSurface failed because the window was already
connected. This change went in, but it turned out the real problem was
that the app still (unintentionally) had the surface current. After
the app bug was fixed, nobody revisited whether this change was
actually needed.

Turns out it wasn't needed. After an EGLSurface is both destroyed
*AND* not current (basically refcount==0), we were already
disconnecting the window in ~egl_surface_t().

Apart from being unnecessary and redundant, disconnecting the window
here is wrong for two reasons:

(a) The surface may still be in use after eglDestroySurface, if it was
still current. Rendering is undefined in that case, but disconnecting
the window leads to more catastrophic results than necessary.

(b) It's being called before calling the driver's eglDestroySurface.
The driver will almost definitely have a buffer dequeued that it needs
to cancel, and by disconnecting first we turn that into an error that
they don't have a graceful way to deal with.

Bug: 24524053
Change-Id: Ib063134413d25d3526f794aafb5e333e3417ea42

9 years agoWhen using trackpad, mouse pointer shows instead of circle
Amirhossein Simjour [Fri, 9 Oct 2015 14:39:48 +0000 (10:39 -0400)]
When using trackpad, mouse pointer shows instead of circle

The mouse pointer showing instead of circle for all gestures except FREEDOM.
FREEDOM gesture still is using spots to be able to show all the fingers.

Bug: 24139978
Change-Id: I91e916de02e690f6727b097345a919e536ffdc92

9 years agoam 0ee1b1ff: am 5bba4236: am 76fc5f18: am 16b0ae10: Merge "add number constraint...
Adam Lesinski [Tue, 13 Oct 2015 04:00:15 +0000 (04:00 +0000)]
am 0ee1b1ff: am 5bba4236: am 76fc5f18: am 16b0ae10: Merge "add number constraint for samples per MotionEvent" into mnc-dr-dev

* commit '0ee1b1ff1f454e72a5b2ef2fbe78f7b66eba8bd4':
  add number constraint for samples per MotionEvent

9 years agoam 5bba4236: am 76fc5f18: am 16b0ae10: Merge "add number constraint for samples per...
Adam Lesinski [Tue, 13 Oct 2015 00:20:26 +0000 (00:20 +0000)]
am 5bba4236: am 76fc5f18: am 16b0ae10: Merge "add number constraint for samples per MotionEvent" into mnc-dr-dev

* commit '5bba4236a86bbf4537bc27810803b9b224b0840f':
  add number constraint for samples per MotionEvent

9 years agoam 76fc5f18: am 16b0ae10: Merge "add number constraint for samples per MotionEvent...
Adam Lesinski [Mon, 12 Oct 2015 22:30:10 +0000 (22:30 +0000)]
am 76fc5f18: am 16b0ae10: Merge "add number constraint for samples per MotionEvent" into mnc-dr-dev

* commit '76fc5f18e6a0271a1f04db54924653faac73912e':
  add number constraint for samples per MotionEvent

9 years agoam 16b0ae10: Merge "add number constraint for samples per MotionEvent" into mnc-dr-dev
Adam Lesinski [Mon, 12 Oct 2015 22:23:05 +0000 (22:23 +0000)]
am 16b0ae10: Merge "add number constraint for samples per MotionEvent" into mnc-dr-dev

* commit '16b0ae105e4e94ff09d1517b68f7c66f2022a19e':
  add number constraint for samples per MotionEvent

9 years agoMerge "add number constraint for samples per MotionEvent" into mnc-dr-dev
Adam Lesinski [Mon, 12 Oct 2015 22:15:50 +0000 (22:15 +0000)]
Merge "add number constraint for samples per MotionEvent" into mnc-dr-dev

9 years agoadd number constraint for samples per MotionEvent
Flanker [Mon, 7 Sep 2015 07:28:58 +0000 (15:28 +0800)]
add number constraint for samples per MotionEvent

Bug:23905002
Change-Id: Ifd24802977c3dcdd1dbc5120a78aac41beae4603

Signed-off-by: Adam Lesinski <adamlesinski@google.com>
9 years agoAdd new "shell command" feature to Binder objects.
Dianne Hackborn [Thu, 8 Oct 2015 00:35:27 +0000 (17:35 -0700)]
Add new "shell command" feature to Binder objects.

IBinder has a new common interface for sending shell commands
to it.  This can be implemented by system services to provide
a shell interface to the service, without needing to have separate
shell java code.

Also add a new "cmd" command line tool, which invokes the shell
command method on a system service.  This is much like dumpsys,
but for shell commands.

Change-Id: I95dc80c881a28cefb76957ad4d4fd9b3ed9630df

9 years agoam 8b435c07: am 7b2b968d: am 33c3c1bd: Merge "Revert "do not dumpstate raft BUG:...
Jason Parks [Mon, 12 Oct 2015 17:13:55 +0000 (17:13 +0000)]
am 8b435c07: am 7b2b968d: am 33c3c1bd: Merge "Revert "do not dumpstate raft BUG: 24159112"" into cw-e-dev

* commit '8b435c07eece971ab032d450777e0e1723299de1':
  Revert "do not dumpstate raft BUG: 24159112"

9 years agoam 7b2b968d: am 33c3c1bd: Merge "Revert "do not dumpstate raft BUG: 24159112"" into...
Jason Parks [Mon, 12 Oct 2015 15:45:00 +0000 (15:45 +0000)]
am 7b2b968d: am 33c3c1bd: Merge "Revert "do not dumpstate raft BUG: 24159112"" into cw-e-dev

* commit '7b2b968db484118668b70d040464f379a7e9e915':
  Revert "do not dumpstate raft BUG: 24159112"

9 years agoam 33c3c1bd: Merge "Revert "do not dumpstate raft BUG: 24159112"" into cw-e-dev
Jason Parks [Mon, 12 Oct 2015 15:39:58 +0000 (15:39 +0000)]
am 33c3c1bd: Merge "Revert "do not dumpstate raft BUG: 24159112"" into cw-e-dev

* commit '33c3c1bd71de8a903b6a07f0b1c4f2f670313778':
  Revert "do not dumpstate raft BUG: 24159112"

9 years agoMerge "Revert "do not dumpstate raft BUG: 24159112"" into cw-e-dev
Jason Parks [Mon, 12 Oct 2015 15:34:47 +0000 (15:34 +0000)]
Merge "Revert "do not dumpstate raft BUG: 24159112"" into cw-e-dev

9 years agoRevert "do not dumpstate raft BUG: 24159112"
Jason Parks [Mon, 12 Oct 2015 15:27:10 +0000 (15:27 +0000)]
Revert "do not dumpstate raft BUG: 24159112"

This reverts commit 05c862252d5021f55a69281473c67d76e7097422.

Change-Id: Ib5984796734d2a0e33f47e0fb4e446b787e0d14f

9 years agoam 748c546b: am c4db5ece: am 8e0c88ea: Merge "servicemanager: log pid and uid on...
Nick Kralevich [Sat, 10 Oct 2015 20:20:57 +0000 (20:20 +0000)]
am 748c546b: am c4db5ece: am 8e0c88ea: Merge "servicemanager: log pid and uid on selinux denial"

* commit '748c546b15dbaef6b1c480bed733fd6b16ce4cdc':
  servicemanager: log pid and uid on selinux denial

9 years agoam 2abef0c3: am ca78bbfd: am 52b25375: Merge "dumpstate: add -v printable to logcat"
Mark Salyzyn [Sat, 10 Oct 2015 20:20:56 +0000 (20:20 +0000)]
am 2abef0c3: am ca78bbfd: am 52b25375: Merge "dumpstate: add -v printable to logcat"

* commit '2abef0c38bacf39df950dfe66d90b820c876d8b9':
  dumpstate: add -v printable to logcat

9 years agoam c4db5ece: am 8e0c88ea: Merge "servicemanager: log pid and uid on selinux denial"
Nick Kralevich [Sat, 10 Oct 2015 20:18:22 +0000 (20:18 +0000)]
am c4db5ece: am 8e0c88ea: Merge "servicemanager: log pid and uid on selinux denial"

* commit 'c4db5ece1b34ada975041c167215d41a58f788ca':
  servicemanager: log pid and uid on selinux denial

9 years agoam ca78bbfd: am 52b25375: Merge "dumpstate: add -v printable to logcat"
Mark Salyzyn [Sat, 10 Oct 2015 20:18:22 +0000 (20:18 +0000)]
am ca78bbfd: am 52b25375: Merge "dumpstate: add -v printable to logcat"

* commit 'ca78bbfd85dcff3c635b813d1cbe882b576b433c':
  dumpstate: add -v printable to logcat

9 years agoam 8e0c88ea: Merge "servicemanager: log pid and uid on selinux denial"
Nick Kralevich [Sat, 10 Oct 2015 20:11:05 +0000 (20:11 +0000)]
am 8e0c88ea: Merge "servicemanager: log pid and uid on selinux denial"

* commit '8e0c88ea489a7b395a3d349f81000fb2639bf448':
  servicemanager: log pid and uid on selinux denial

9 years agoMerge "servicemanager: log pid and uid on selinux denial"
Nick Kralevich [Sat, 10 Oct 2015 20:07:22 +0000 (20:07 +0000)]
Merge "servicemanager: log pid and uid on selinux denial"

9 years agoam 52b25375: Merge "dumpstate: add -v printable to logcat"
Mark Salyzyn [Fri, 9 Oct 2015 21:25:32 +0000 (21:25 +0000)]
am 52b25375: Merge "dumpstate: add -v printable to logcat"

* commit '52b2537550a6fc43587980887858c7e7150255b0':
  dumpstate: add -v printable to logcat

9 years agoMerge "dumpstate: add -v printable to logcat"
Mark Salyzyn [Fri, 9 Oct 2015 21:20:05 +0000 (21:20 +0000)]
Merge "dumpstate: add -v printable to logcat"

9 years agodumpstate: add -v printable to logcat
Mark Salyzyn [Fri, 9 Oct 2015 21:02:07 +0000 (14:02 -0700)]
dumpstate: add -v printable to logcat

In the case where binary data lands in an utf-8 log buffer,
ensure that the content is made printable.

Bug: 23517551
Change-Id: I41696372d07228875d01a19f0c7ab2cb7494b7ef

9 years agoMerge "BQ: fix Volantis test failures"
Pablo Ceballos [Thu, 8 Oct 2015 20:35:01 +0000 (20:35 +0000)]
Merge "BQ: fix Volantis test failures"

9 years agoam 1f8b6b57: am 98d740d7: am 94973aeb: am a2f78b44: Merge "Inputflinger: hook up...
Puneet Kumar [Thu, 8 Oct 2015 17:34:30 +0000 (17:34 +0000)]
am 1f8b6b57: am 98d740d7: am 94973aeb: am a2f78b44: Merge "Inputflinger: hook up key event replacement processing" into mnc-dr-dev

* commit '1f8b6b57b25635011c70e5e7aaebb60bdb3b97af':
  Inputflinger: hook up key event replacement processing

9 years agoam 98d740d7: am 94973aeb: am a2f78b44: Merge "Inputflinger: hook up key event replace...
Puneet Kumar [Thu, 8 Oct 2015 17:22:54 +0000 (17:22 +0000)]
am 98d740d7: am 94973aeb: am a2f78b44: Merge "Inputflinger: hook up key event replacement processing" into mnc-dr-dev

* commit '98d740d7d2546fae9887e5304d6a3afc8cadff8d':
  Inputflinger: hook up key event replacement processing

9 years agoam 3b921160: resolved conflicts for b9163905 to mnc-dr-dev-plus-aosp
Dmitry Torokhov [Thu, 8 Oct 2015 17:15:55 +0000 (17:15 +0000)]
am 3b921160: resolved conflicts for b9163905 to mnc-dr-dev-plus-aosp

* commit '3b9211608669eb5aafba65d35b4cfbec89755499':
  Allow defining replacement key events in keymap

9 years agoresolved conflicts for b9163905 to mnc-dr-dev-plus-aosp
Dmitry Torokhov [Thu, 8 Oct 2015 16:36:47 +0000 (09:36 -0700)]
resolved conflicts for b9163905 to mnc-dr-dev-plus-aosp

Change-Id: I83afd79491533b1c7ae2aed50a927db175ba555f

9 years agoam 94973aeb: am a2f78b44: Merge "Inputflinger: hook up key event replacement processi...
Puneet Kumar [Thu, 8 Oct 2015 09:15:33 +0000 (09:15 +0000)]
am 94973aeb: am a2f78b44: Merge "Inputflinger: hook up key event replacement processing" into mnc-dr-dev

* commit '94973aeb1961c5a07a5288ec56c7f79ab658bb8d':
  Inputflinger: hook up key event replacement processing

9 years agoam ec1323db: am 2f3c3eb4: Merge "Allow defining replacement key events in keymap...
Puneet Kumar [Thu, 8 Oct 2015 09:15:32 +0000 (09:15 +0000)]
am ec1323db: am 2f3c3eb4: Merge "Allow defining replacement key events in keymap" into mnc-dr-dev

* commit 'ec1323dbd4558f9d4ff422c8547334fe13242ad0':
  Allow defining replacement key events in keymap

9 years agoam a2f78b44: Merge "Inputflinger: hook up key event replacement processing" into...
Puneet Kumar [Thu, 8 Oct 2015 09:08:32 +0000 (09:08 +0000)]
am a2f78b44: Merge "Inputflinger: hook up key event replacement processing" into mnc-dr-dev

* commit 'a2f78b44ee30839e2c047d07525dd6bc4fe50f1d':
  Inputflinger: hook up key event replacement processing

9 years agoam 2f3c3eb4: Merge "Allow defining replacement key events in keymap" into mnc-dr-dev
Puneet Kumar [Thu, 8 Oct 2015 09:08:31 +0000 (09:08 +0000)]
am 2f3c3eb4: Merge "Allow defining replacement key events in keymap" into mnc-dr-dev

* commit '2f3c3eb4e47d7cb6ef67e0fd2063e4b93e38e9ec':
  Allow defining replacement key events in keymap

9 years agoMerge "Inputflinger: hook up key event replacement processing" into mnc-dr-dev
Puneet Kumar [Thu, 8 Oct 2015 08:16:58 +0000 (08:16 +0000)]
Merge "Inputflinger: hook up key event replacement processing" into mnc-dr-dev

9 years agoMerge "Allow defining replacement key events in keymap" into mnc-dr-dev
Puneet Kumar [Thu, 8 Oct 2015 08:16:31 +0000 (08:16 +0000)]
Merge "Allow defining replacement key events in keymap" into mnc-dr-dev

9 years agoam 313762d8: am ae0405d6: Merge "dumpstate: execute procrank using su"
Nick Kralevich [Thu, 8 Oct 2015 00:24:07 +0000 (00:24 +0000)]
am 313762d8: am ae0405d6: Merge "dumpstate: execute procrank using su"

* commit '313762d88e7820e689879e08f4a93eac3cf8af99':
  dumpstate: execute procrank using su

9 years agoam ae0405d6: Merge "dumpstate: execute procrank using su"
Nick Kralevich [Thu, 8 Oct 2015 00:19:53 +0000 (00:19 +0000)]
am ae0405d6: Merge "dumpstate: execute procrank using su"

* commit 'ae0405d607f9ed08d708ee990716a7881a6cfd4d':
  dumpstate: execute procrank using su

9 years agoMerge "dumpstate: execute procrank using su"
Nick Kralevich [Thu, 8 Oct 2015 00:08:35 +0000 (00:08 +0000)]
Merge "dumpstate: execute procrank using su"

9 years agodumpstate: execute procrank using su
Nick Kralevich [Wed, 7 Oct 2015 23:38:42 +0000 (16:38 -0700)]
dumpstate: execute procrank using su

procrank is a setuid binary which only exists on userdebug/eng
builds. Instead of executing the setuid binary, run the binary using
the su command. This eliminates one more setuid binary, and allows
the tightening of the SELinux policy.

Bug: 18342188
Change-Id: I81d06196a29489feaefb2fea0cf5c4ff1e273d2f

9 years agoRemove GLTrace support
Pablo Ceballos [Mon, 5 Oct 2015 17:29:12 +0000 (10:29 -0700)]
Remove GLTrace support

GLTrace is defunct, it does not support newer GL features, breaks
security requirements, and has no supported tooling now that Eclipse
is at end of life.

Bug 22329852

Change-Id: I69e26da04cd78b5a196487c41bce456fd3c725c9

9 years agoBQ: fix Volantis test failures
Pablo Ceballos [Tue, 6 Oct 2015 18:14:51 +0000 (11:14 -0700)]
BQ: fix Volantis test failures

The Volantis driver will dequeue a buffer in eglCreateWindowSurface.

- Remove the requirement that no buffers be dequeued when calling
  setAsyncMode() on a BufferQueueProducer, since this gets called
  from eglSwapInterval.
- Modify the tests to call setMaxDequeuedBufferCount before calling
  eglCreateWindowSurface.

Change-Id: Icc64e9933f151771bbd57035549cd5928c0b7216

9 years agoMerge "libgui: assign handle to NULL after free"
Marco Nelissen [Tue, 6 Oct 2015 16:20:09 +0000 (16:20 +0000)]
Merge "libgui: assign handle to NULL after free"

9 years agoservicemanager: log pid and uid on selinux denial
William Roberts [Fri, 2 Oct 2015 05:02:15 +0000 (22:02 -0700)]
servicemanager: log pid and uid on selinux denial

The audit logs for servicemanager were missing the pid and uid of the source.
This is useful for debugging.

Before:
... SELinux : avc:  denied  { find } for service=android.security.keystore scontext=u:r:system_app:s0 ...
After:
... SELinux : avc:  denied  { find } for service=android.security.keystore pid=1252 uid=1000 scontext=u:r:system_app:s0 ...

Change-Id: Id1a6f38b99f11a31315439620ead2f01108b18b2
Signed-off-by: William Roberts <william.c.roberts@intel.com>
9 years agoMerge "BQ: get rid of async in producer interface"
Pablo Ceballos [Mon, 5 Oct 2015 18:12:03 +0000 (18:12 +0000)]
Merge "BQ: get rid of async in producer interface"

9 years agoam af83daab: am ddf5f250: am 05c86225: do not dumpstate raft BUG: 24159112
Erik Wolsheimer [Fri, 2 Oct 2015 18:05:17 +0000 (18:05 +0000)]
am af83daab: am ddf5f250: am 05c86225: do not dumpstate raft BUG: 24159112

* commit 'af83daabad1ded6350d266f35ed1354826714cf4':
  do not dumpstate raft BUG: 24159112

9 years agoam ddf5f250: am 05c86225: do not dumpstate raft BUG: 24159112
Erik Wolsheimer [Fri, 2 Oct 2015 17:43:26 +0000 (17:43 +0000)]
am ddf5f250: am 05c86225: do not dumpstate raft BUG: 24159112

* commit 'ddf5f2509b48ee85dc352ee245f34a9d6307be39':
  do not dumpstate raft BUG: 24159112

9 years agoam 05c86225: do not dumpstate raft BUG: 24159112
Erik Wolsheimer [Fri, 2 Oct 2015 17:37:05 +0000 (17:37 +0000)]
am 05c86225: do not dumpstate raft BUG: 24159112

* commit '05c862252d5021f55a69281473c67d76e7097422':
  do not dumpstate raft BUG: 24159112

9 years agodo not dumpstate raft
Erik Wolsheimer [Fri, 2 Oct 2015 17:02:24 +0000 (10:02 -0700)]
do not dumpstate raft
BUG: 24159112

Change-Id: I344aa73808992b5f84cb0536201a3ab2eb6f2b3c

9 years agoam d120254f: am c9b39239: am 6c51a07d: am de18f6c3: InputResampling: Don\'t extrapola...
Andrew de los Reyes [Fri, 2 Oct 2015 09:05:17 +0000 (09:05 +0000)]
am d120254f: am c9b39239: am 6c51a07d: am de18f6c3: InputResampling: Don\'t extrapolate for very low frame rates.

* commit 'd120254f5ec511f441e5d4e8942b16068294afad':
  InputResampling: Don't extrapolate for very low frame rates.

9 years agoam c9b39239: am 6c51a07d: am de18f6c3: InputResampling: Don\'t extrapolate for very...
Andrew de los Reyes [Fri, 2 Oct 2015 08:26:24 +0000 (08:26 +0000)]
am c9b39239: am 6c51a07d: am de18f6c3: InputResampling: Don\'t extrapolate for very low frame rates.

* commit 'c9b392395f3eada767cf9d1dce1eb40930ca1b95':
  InputResampling: Don't extrapolate for very low frame rates.

9 years agoam 6c51a07d: am de18f6c3: InputResampling: Don\'t extrapolate for very low frame...
Andrew de los Reyes [Fri, 2 Oct 2015 02:22:46 +0000 (02:22 +0000)]
am 6c51a07d: am de18f6c3: InputResampling: Don\'t extrapolate for very low frame rates.

* commit '6c51a07d30a3c4bed9675da88c5f6f24a741d9a2':
  InputResampling: Don't extrapolate for very low frame rates.

9 years agoam de18f6c3: InputResampling: Don\'t extrapolate for very low frame rates.
Andrew de los Reyes [Fri, 2 Oct 2015 02:12:59 +0000 (02:12 +0000)]
am de18f6c3: InputResampling: Don\'t extrapolate for very low frame rates.

* commit 'de18f6c32add6fb22065807a00ddc88b363df527':
  InputResampling: Don't extrapolate for very low frame rates.

9 years agoInputResampling: Don't extrapolate for very low frame rates.
Andrew de los Reyes [Thu, 1 Oct 2015 22:57:25 +0000 (15:57 -0700)]
InputResampling: Don't extrapolate for very low frame rates.

In very low framerate situations, extrapolation is generally going to
either cause no benefit or make a mistake. We can safely turn it off
with no user-visible negative impact.

BUG=https://buganizer.corp.google.com/u/0/issues/24550942
TEST=Scrolled very slowly and saw mispredictions on Angler. With change,
saw the log message that the mispredictions were suppressed.

Change-Id: Ic9747d3ff098d7918047ada2ed1c2d21282c65b0

9 years agoam 6d128c20: am caf1bb7f: am bd55551d: Merge "Add more methods to IPowerManager."
Daniel Erat [Wed, 30 Sep 2015 21:40:34 +0000 (21:40 +0000)]
am 6d128c20: am caf1bb7f: am bd55551d: Merge "Add more methods to IPowerManager."

* commit '6d128c20fb505045ae8fd19d7e82a347527d775c':
  Add more methods to IPowerManager.

9 years agoam caf1bb7f: am bd55551d: Merge "Add more methods to IPowerManager."
Daniel Erat [Wed, 30 Sep 2015 21:33:29 +0000 (21:33 +0000)]
am caf1bb7f: am bd55551d: Merge "Add more methods to IPowerManager."

* commit 'caf1bb7f2bcfc9183208a360e51f9d54268265b0':
  Add more methods to IPowerManager.

9 years agoam bd55551d: Merge "Add more methods to IPowerManager."
Daniel Erat [Wed, 30 Sep 2015 21:26:39 +0000 (21:26 +0000)]
am bd55551d: Merge "Add more methods to IPowerManager."

* commit 'bd55551d80832f62931ccb2d54d9a239822eeb20':
  Add more methods to IPowerManager.

9 years agoMerge "Add more methods to IPowerManager."
Daniel Erat [Wed, 30 Sep 2015 21:21:23 +0000 (21:21 +0000)]
Merge "Add more methods to IPowerManager."

9 years agoAdd more methods to IPowerManager.
Daniel Erat [Wed, 30 Sep 2015 20:49:15 +0000 (14:49 -0600)]
Add more methods to IPowerManager.

Add the full list of transaction IDs from IPowerManager.aidl
to IPowerManager.h and make BpPowerManager support calling
goToSleep, reboot, shutdown, and crash. These are currently
needed by or likely to be needed by Brillo.

Bug: 22122485
Change-Id: I19abd3587c9d53b28ec150210e07f97517ee4ff4

9 years agoam 41659e2e: am b450d9d8: am 77f147ff: Merge "frameworks/native: remove superfluous...
Sergio Giro [Wed, 30 Sep 2015 20:24:23 +0000 (20:24 +0000)]
am 41659e2e: am b450d9d8: am 77f147ff: Merge "frameworks/native: remove superfluous mention of SharedBuffer in Region.h"

* commit '41659e2e6b42b7b379f4314af96045793bbd5fd0':
  frameworks/native: remove superfluous mention of SharedBuffer in Region.h

9 years agoam b450d9d8: am 77f147ff: Merge "frameworks/native: remove superfluous mention of...
Sergio Giro [Wed, 30 Sep 2015 20:16:55 +0000 (20:16 +0000)]
am b450d9d8: am 77f147ff: Merge "frameworks/native: remove superfluous mention of SharedBuffer in Region.h"

* commit 'b450d9d8940f7406def0b1ccd7c139bb7203115f':
  frameworks/native: remove superfluous mention of SharedBuffer in Region.h

9 years agoam 77f147ff: Merge "frameworks/native: remove superfluous mention of SharedBuffer...
Sergio Giro [Wed, 30 Sep 2015 20:10:52 +0000 (20:10 +0000)]
am 77f147ff: Merge "frameworks/native: remove superfluous mention of SharedBuffer in Region.h"

* commit '77f147ff566d350dc23c3a9807ea1262f056ff2f':
  frameworks/native: remove superfluous mention of SharedBuffer in Region.h

9 years agoMerge "frameworks/native: remove superfluous mention of SharedBuffer in Region.h"
Sergio Giro [Wed, 30 Sep 2015 14:16:23 +0000 (14:16 +0000)]
Merge "frameworks/native: remove superfluous mention of SharedBuffer in Region.h"

9 years agoframeworks/native: remove superfluous mention of SharedBuffer in Region.h
Sergio Giro [Wed, 30 Sep 2015 14:13:52 +0000 (15:13 +0100)]
frameworks/native: remove superfluous mention of SharedBuffer in Region.h

Towards deprecation of SharedBuffer

Change-Id: I9c853c86fb057280013405cb8c3c725e13175ea4

9 years agoInputflinger: hook up key event replacement processing
Dmitry Torokhov [Thu, 24 Sep 2015 20:13:55 +0000 (13:13 -0700)]
Inputflinger: hook up key event replacement processing

Add handling of "replacement" key events in InputReader and EventHub by
consulting device's character key map (if exists) for presence of
replacement key code for given get code and meta state combination,
before passing it to InputDispatcher.

This enables defining special keys, such as ESC, on keyboards lacking
enough physical keys, via combination of normal keys and modifiers, for
example AltR + 1 => ESC.

Bug: 24504154

Change-Id: I7e36104808bedcf724436c1fbb63d37c35cca8af

9 years agoAllow defining replacement key events in keymap
Dmitry Torokhov [Fri, 18 Sep 2015 01:04:50 +0000 (18:04 -0700)]
Allow defining replacement key events in keymap

Currently keyboard maps allow to assign character sequences to key
events and allow specifying a so-called "fallback" key events that are
re-injected into input stream if target application indicates that it
was not able to handle the original key event. Unfortunately there is no
way to perform substitution before handing the event to applicationis.

This change adds a new keymap keyword "replace" that allows users query
"replacement" actions for key (if any), with the intent that such
replacement happens early in the event handling process.

Bug: 24504154

Change-Id: I3e6a2476c856524171df00ad22ff56f2018c1278

9 years agoam 3de6cbf6: am bcf2901a: am 72da7fb7: Installd: Fully decouple pre- and post-bootcom...
Andreas Gampe [Mon, 28 Sep 2015 23:08:16 +0000 (23:08 +0000)]
am 3de6cbf6: am bcf2901a: am 72da7fb7: Installd: Fully decouple pre- and post-bootcomplete properties

* commit '3de6cbf6b976c522252afd615a4f91e7ea1b5f8a':
  Installd: Fully decouple pre- and post-bootcomplete properties

9 years agoam bcf2901a: am 72da7fb7: Installd: Fully decouple pre- and post-bootcomplete properties
Andreas Gampe [Mon, 28 Sep 2015 23:00:58 +0000 (23:00 +0000)]
am bcf2901a: am 72da7fb7: Installd: Fully decouple pre- and post-bootcomplete properties

* commit 'bcf2901af9f5737f510b968ba9dda5ba58b86f8a':
  Installd: Fully decouple pre- and post-bootcomplete properties

9 years agoam 72da7fb7: Installd: Fully decouple pre- and post-bootcomplete properties
Andreas Gampe [Mon, 28 Sep 2015 22:51:07 +0000 (22:51 +0000)]
am 72da7fb7: Installd: Fully decouple pre- and post-bootcomplete properties

* commit '72da7fb77cc0aaeb272b0359679c841d02d5edfe':
  Installd: Fully decouple pre- and post-bootcomplete properties

9 years agoInstalld: Fully decouple pre- and post-bootcomplete properties
Andreas Gampe [Mon, 28 Sep 2015 15:55:01 +0000 (08:55 -0700)]
Installd: Fully decouple pre- and post-bootcomplete properties

Do not fall back to dalvik.vm.dex2oat-threads if
dalvik.vm.boot-dex2oat-threads is not set. Also do not ever use
the value of dalvik.vm.image-dex2oat-threads. Instead use the
default behavior of dex2oat in that situation.

(cherry picked from commit 919461cbeef3e9f35388fc099a5fcdae1cb79cc6)

Bug: 24413760
Change-Id: I42e60996341414b95b8df2d243d5e07f7f5ff9b6

9 years agoam 56376be0: am 54412fe2: am 28b1d678: Merge "Installd: Fully decouple pre- and post...
Andreas Gampe [Mon, 28 Sep 2015 18:56:14 +0000 (18:56 +0000)]
am 56376be0: am 54412fe2: am 28b1d678: Merge "Installd: Fully decouple pre- and post-bootcomplete properties"

* commit '56376be00aeb0f800cfbca27f22dd2314dbc6586':
  Installd: Fully decouple pre- and post-bootcomplete properties

9 years agoam 00b5f9a2: am 534a49dc: am 905c1446: Merge "Allow using the JIT"
Todd Kennedy [Mon, 28 Sep 2015 18:50:29 +0000 (18:50 +0000)]
am 00b5f9a2: am 534a49dc: am 905c1446: Merge "Allow using the JIT"

* commit '00b5f9a2019040b8874761468eb39b3323ce9ec5':
  Allow using the JIT

9 years agoam 54412fe2: am 28b1d678: Merge "Installd: Fully decouple pre- and post-bootcomplete...
Andreas Gampe [Mon, 28 Sep 2015 18:47:20 +0000 (18:47 +0000)]
am 54412fe2: am 28b1d678: Merge "Installd: Fully decouple pre- and post-bootcomplete properties"

* commit '54412fe2ae0fb5a9dc81b999d726b5a909de3bd7':
  Installd: Fully decouple pre- and post-bootcomplete properties

9 years agoam 28b1d678: Merge "Installd: Fully decouple pre- and post-bootcomplete properties"
Andreas Gampe [Mon, 28 Sep 2015 18:41:31 +0000 (18:41 +0000)]
am 28b1d678: Merge "Installd: Fully decouple pre- and post-bootcomplete properties"

* commit '28b1d678a4721e9f02b7b9498492fb3d623f21be':
  Installd: Fully decouple pre- and post-bootcomplete properties

9 years agoMerge "Installd: Fully decouple pre- and post-bootcomplete properties"
Andreas Gampe [Mon, 28 Sep 2015 18:33:59 +0000 (18:33 +0000)]
Merge "Installd: Fully decouple pre- and post-bootcomplete properties"