OSDN Git Service

android-x86/frameworks-native.git
8 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

8 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

8 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

8 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>
8 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"

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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.

8 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.

8 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

8 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

8 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

8 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

8 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

8 years agoam 53aa7d80: am b0127aad: am 69412a51: am c4bd7211: resolved conflicts for 7534e4e6...
Naveen Leekha [Thu, 24 Sep 2015 23:55:17 +0000 (23:55 +0000)]
am 53aa7d80: am b0127aad: am 69412a51: am c4bd7211: resolved conflicts for 7534e4e6 to lmp-mr1-ub-dev

* commit '53aa7d80cf64f2f2c0c935be8528a513b32341b2':
  resolved conflicts for 7534e4e6 to lmp-mr1-ub-dev

8 years agoam b0127aad: am 69412a51: am c4bd7211: resolved conflicts for 7534e4e6 to lmp-mr1...
Naveen Leekha [Thu, 24 Sep 2015 23:44:56 +0000 (23:44 +0000)]
am b0127aad: am 69412a51: am c4bd7211: resolved conflicts for 7534e4e6 to lmp-mr1-ub-dev

* commit 'b0127aadafbf3b314475e48772fdcc17939c5a9c':
  resolved conflicts for 7534e4e6 to lmp-mr1-ub-dev

8 years agoam 69412a51: am c4bd7211: resolved conflicts for 7534e4e6 to lmp-mr1-ub-dev
Naveen Leekha [Thu, 24 Sep 2015 23:35:41 +0000 (23:35 +0000)]
am 69412a51: am c4bd7211: resolved conflicts for 7534e4e6 to lmp-mr1-ub-dev

* commit '69412a51f58fa9450f1cb077c8d4b6410128d993':
  resolved conflicts for 7534e4e6 to lmp-mr1-ub-dev

8 years agoam c4bd7211: resolved conflicts for 7534e4e6 to lmp-mr1-ub-dev
Naveen Leekha [Thu, 24 Sep 2015 23:27:31 +0000 (23:27 +0000)]
am c4bd7211: resolved conflicts for 7534e4e6 to lmp-mr1-ub-dev

* commit 'c4bd7211373cf5b745c7d4f849f43f7a2d2b1141':
  resolved conflicts for 7534e4e6 to lmp-mr1-ub-dev

8 years agoresolved conflicts for 7534e4e6 to lmp-mr1-ub-dev
Naveen Leekha [Thu, 24 Sep 2015 22:55:21 +0000 (15:55 -0700)]
resolved conflicts for 7534e4e6 to lmp-mr1-ub-dev

Change-Id: I543df164076b44578b14d41031800bb62b81586d

8 years agoam 62e5463e: am 83e60e42: am 571e27e2: am e889592e: am 73887c08: am b414255f: Initial...
Naveen Leekha [Thu, 24 Sep 2015 22:40:55 +0000 (22:40 +0000)]
am 62e5463e: am 83e60e42: am 571e27e2: am e889592e: am 73887c08: am b414255f: Initialize local variables to avoid data leak

* commit '62e5463e248d581ee4faa58c631541b994500793':
  Initialize local variables to avoid data leak

8 years agoam 83e60e42: am 571e27e2: am e889592e: am 73887c08: am b414255f: Initialize local...
Naveen Leekha [Thu, 24 Sep 2015 22:31:42 +0000 (22:31 +0000)]
am 83e60e42: am 571e27e2: am e889592e: am 73887c08: am b414255f: Initialize local variables to avoid data leak

* commit '83e60e42573ebc1bb06a408170bcdac2824e8dd6':
  Initialize local variables to avoid data leak

8 years agoam 571e27e2: am e889592e: am 73887c08: am b414255f: Initialize local variables to...
Naveen Leekha [Thu, 24 Sep 2015 22:26:22 +0000 (22:26 +0000)]
am 571e27e2: am e889592e: am 73887c08: am b414255f: Initialize local variables to avoid data leak

* commit '571e27e20e30560985d7c3a3ba8885693695b0fc':
  Initialize local variables to avoid data leak

8 years agoam e889592e: am 73887c08: am b414255f: Initialize local variables to avoid data leak
Naveen Leekha [Thu, 24 Sep 2015 22:20:59 +0000 (22:20 +0000)]
am e889592e: am 73887c08: am b414255f: Initialize local variables to avoid data leak

* commit 'e889592e33891c9b88ff6ba655426118f8ef12ee':
  Initialize local variables to avoid data leak

8 years agoam 73887c08: am b414255f: Initialize local variables to avoid data leak
Naveen Leekha [Thu, 24 Sep 2015 22:13:06 +0000 (22:13 +0000)]
am 73887c08: am b414255f: Initialize local variables to avoid data leak

* commit '73887c0864c9a928db6f66bd48c5aea4d31d9a8b':
  Initialize local variables to avoid data leak

8 years agoam b414255f: Initialize local variables to avoid data leak
Naveen Leekha [Thu, 24 Sep 2015 22:00:33 +0000 (22:00 +0000)]
am b414255f: Initialize local variables to avoid data leak

* commit 'b414255f53b560a06e642251535b019327ba0d7b':
  Initialize local variables to avoid data leak

8 years agoam 0a77df93: am ce92ce9b: Merge "DO NOT MERGE Cancel touches as well as pointer gestu...
Michael Wright [Wed, 23 Sep 2015 17:49:52 +0000 (17:49 +0000)]
am 0a77df93: am ce92ce9b: Merge "DO NOT MERGE Cancel touches as well as pointer gestures." into mnc-dr-dev

* commit '0a77df93cb06cbd51527db6420250085ca9dd132':
  DO NOT MERGE Cancel touches as well as pointer gestures.

8 years agoam ce92ce9b: Merge "DO NOT MERGE Cancel touches as well as pointer gestures." into...
Michael Wright [Wed, 23 Sep 2015 17:25:00 +0000 (17:25 +0000)]
am ce92ce9b: Merge "DO NOT MERGE Cancel touches as well as pointer gestures." into mnc-dr-dev

* commit 'ce92ce9bef5942435bb49474f0e5e4b29cfc5e97':
  DO NOT MERGE Cancel touches as well as pointer gestures.

8 years agoam cff01363: Merge commit \'8a196b5630a93a3eb6df4cbe461917731e54fb35\' into merge-fix
Michael Wright [Wed, 23 Sep 2015 16:44:23 +0000 (16:44 +0000)]
am cff01363: Merge commit \'8a196b5630a93a3eb6df4cbe461917731e54fb35\' into merge-fix

* commit 'cff01363fcbdae5486287540e1f8917244aaea90':
  DO NOT MERGE Revert "am f37143d8: Merge "Cancel touches as well as pointer gestures." into mnc-dev"

8 years agoMerge commit '8a196b5630a93a3eb6df4cbe461917731e54fb35' into merge-fix
Michael Wright [Wed, 23 Sep 2015 16:36:41 +0000 (17:36 +0100)]
Merge commit '8a196b5630a93a3eb6df4cbe461917731e54fb35' into merge-fix

Change-Id: Iae99c0f3a13d999f1ff093993008a7c720e99725

8 years agoMerge "DO NOT MERGE Cancel touches as well as pointer gestures." into mnc-dr-dev
Michael Wright [Wed, 23 Sep 2015 13:18:26 +0000 (13:18 +0000)]
Merge "DO NOT MERGE Cancel touches as well as pointer gestures." into mnc-dr-dev

8 years agoMerge "DO NOT MERGE Revert "am f37143d8: Merge "Cancel touches as well as pointer...
Michael Wright [Wed, 23 Sep 2015 13:15:33 +0000 (13:15 +0000)]
Merge "DO NOT MERGE Revert "am f37143d8: Merge "Cancel touches as well as pointer gestures." into mnc-dev"" into mnc-dr-dev

8 years agoInitialize local variables to avoid data leak
Naveen Leekha [Wed, 23 Sep 2015 01:04:44 +0000 (18:04 -0700)]
Initialize local variables to avoid data leak

The uninitialized local variables pick up
whatever the memory content was there on stack.
This data gets sent to the remote process in
case of a failed transaction, which is a security
issue. Fixed.

(Partial manual merge of master change
 12ba0f57d028a9c8f4eb3afddc326b70677d1e0c. Rest
 to automerge from klp-dev)

For b/23696300

Change-Id: I704c9fab327b3545c58e8a9a96ac542eb7469c2a

8 years agoDO NOT MERGE Cancel touches as well as pointer gestures.
Michael Wright [Mon, 22 Jun 2015 15:18:21 +0000 (16:18 +0100)]
DO NOT MERGE Cancel touches as well as pointer gestures.

Bug: 24302031
Change-Id: Idbe964a1a35c190a32f845e2a19542d54652d011

8 years agoDO NOT MERGE Revert "am f37143d8: Merge "Cancel touches as well as pointer gestures...
Michael Wright [Tue, 22 Sep 2015 20:04:33 +0000 (21:04 +0100)]
DO NOT MERGE Revert "am f37143d8: Merge "Cancel touches as well as pointer gestures." into mnc-dev"

This reverts commit 9b70ab7a3cb260205e81e40ba181a86710d2eb95, reversing
changes made to 153008efb5a00ed3c18d588ce15f90d2442a9786.

Bug: 24302031

Change-Id: Ia746381b30be3b54cb646ed412b7271962c4b02a

8 years agoam 83af0cc2: am 72ebebed: Installd: Take boot status as dexopt parameter
Andreas Gampe [Tue, 22 Sep 2015 18:50:45 +0000 (18:50 +0000)]
am 83af0cc2: am 72ebebed: Installd: Take boot status as dexopt parameter

* commit '83af0cc22c77c31df1f08d65f29509b6123b6399':
  Installd: Take boot status as dexopt parameter

8 years agoam 72ebebed: Installd: Take boot status as dexopt parameter
Andreas Gampe [Tue, 22 Sep 2015 18:36:46 +0000 (18:36 +0000)]
am 72ebebed: Installd: Take boot status as dexopt parameter

* commit '72ebebed876a62e719b098e43d9d516361bde029':
  Installd: Take boot status as dexopt parameter

8 years agoInstalld: Take boot status as dexopt parameter
Andreas Gampe [Mon, 21 Sep 2015 20:21:30 +0000 (13:21 -0700)]
Installd: Take boot status as dexopt parameter

Expect the boot status explicitly as a parameter so that we do not
have to rely on dev.bootcomplete, which isn't meaningfully set
when the device needs the decryption screen on boot.

Bug: 23898216
Change-Id: I9b34298caf70b1e5d40970cc0d04c469016a80a7

9 years agoam da5b88ad: am d693fc4c: Merge "Installd: Allow different behavior before bootcomple...
Andreas Gampe [Thu, 17 Sep 2015 00:00:06 +0000 (00:00 +0000)]
am da5b88ad: am d693fc4c: Merge "Installd: Allow different behavior before bootcomplete" into mnc-dr-dev

* commit 'da5b88adac403bbce0669fe9db531897b8be9e7c':
  Installd: Allow different behavior before bootcomplete

9 years agoam d693fc4c: Merge "Installd: Allow different behavior before bootcomplete" into...
Andreas Gampe [Wed, 16 Sep 2015 23:51:41 +0000 (23:51 +0000)]
am d693fc4c: Merge "Installd: Allow different behavior before bootcomplete" into mnc-dr-dev

* commit 'd693fc4c50873485794d1e0f444547d3253a56d3':
  Installd: Allow different behavior before bootcomplete

9 years agoMerge "Installd: Allow different behavior before bootcomplete" into mnc-dr-dev
Andreas Gampe [Wed, 16 Sep 2015 23:44:06 +0000 (23:44 +0000)]
Merge "Installd: Allow different behavior before bootcomplete" into mnc-dr-dev

9 years agoInstalld: Allow different behavior before bootcomplete
Andreas Gampe [Mon, 14 Sep 2015 23:33:11 +0000 (16:33 -0700)]
Installd: Allow different behavior before bootcomplete

Check dev.bootcomplete in dex2oat(). Use the information for
two changes.

Only switch to the background when we're post bootcomplete.
This will ensure better utilization after upgrades.

Add a second dex2oat-threads property that is used pre
bootcomplete. A separation of these phases allows using less
cores when the device is up, freeing up resources for other
purposes, e.g., avoid jank. The precedence during boot is the
boot property, or the image property if the former doesn't
exist, or the default property as a fallback.

Bug: 23898216
Bug: 24004256
Change-Id: I5063f3fc4b437cbe88c4e94584e01c1c78eccc4d

9 years agoam 872269a5: am 6afc38c4: Dump the ND offload status and address table in bugreports.
Lorenzo Colitti [Tue, 15 Sep 2015 02:55:55 +0000 (02:55 +0000)]
am 872269a5: am 6afc38c4: Dump the ND offload status and address table in bugreports.

* commit '872269a579e776c61ac5777e70ca2981771117d6':
  Dump the ND offload status and address table in bugreports.

9 years agoam 6afc38c4: Dump the ND offload status and address table in bugreports.
Lorenzo Colitti [Tue, 15 Sep 2015 02:46:32 +0000 (02:46 +0000)]
am 6afc38c4: Dump the ND offload status and address table in bugreports.

* commit '6afc38c45af45eb8f64793bca2903b3f4c55579b':
  Dump the ND offload status and address table in bugreports.

9 years agoDump the ND offload status and address table in bugreports.
Lorenzo Colitti [Wed, 9 Sep 2015 13:59:25 +0000 (22:59 +0900)]
Dump the ND offload status and address table in bugreports.

Also, move NetworkDiagnostics between the two runs of getting the
wifi counters, so we can see the effect on the counters of
sending our probe packets.

Bug: 23661687
Change-Id: I3f81c003a35f50ac1cb8e77d0a8c73dae4fd91f3

9 years agoam 5ca0c2ed: am 624408ee: Merge "Map realtime to clock_monotonic." into mnc-dr-dev
Martijn Coenen [Mon, 7 Sep 2015 07:38:29 +0000 (07:38 +0000)]
am 5ca0c2ed: am 624408ee: Merge "Map realtime to clock_monotonic." into mnc-dr-dev

* commit '5ca0c2ede8a8d3f499dd7d27832713d4ce16d4ba':
  Map realtime to clock_monotonic.

9 years agoam 624408ee: Merge "Map realtime to clock_monotonic." into mnc-dr-dev
Martijn Coenen [Mon, 7 Sep 2015 07:30:19 +0000 (07:30 +0000)]
am 624408ee: Merge "Map realtime to clock_monotonic." into mnc-dr-dev

* commit '624408eecb0d278cb1de1bb088699e25b319d15e':
  Map realtime to clock_monotonic.

9 years agoMerge "Map realtime to clock_monotonic." into mnc-dr-dev
Martijn Coenen [Mon, 7 Sep 2015 07:25:51 +0000 (07:25 +0000)]
Merge "Map realtime to clock_monotonic." into mnc-dr-dev

9 years agoam 3c8a147c: Merge "Add KEYCODE_SOFT_SLEEP for Ungaze." into cw-e-dev
Nick Armstrong-Crews [Fri, 4 Sep 2015 18:16:12 +0000 (18:16 +0000)]
am 3c8a147c: Merge "Add KEYCODE_SOFT_SLEEP for Ungaze." into cw-e-dev

* commit '3c8a147c8394a32217bb65672387d69a49a31270':
  Add KEYCODE_SOFT_SLEEP for Ungaze.

9 years agoMerge "Add KEYCODE_SOFT_SLEEP for Ungaze." into cw-e-dev
Nick Armstrong-Crews [Fri, 4 Sep 2015 18:04:11 +0000 (18:04 +0000)]
Merge "Add KEYCODE_SOFT_SLEEP for Ungaze." into cw-e-dev

9 years agoam f090d598: am 3e4c8ccc: Merge "SF: Add colorTransform to DisplayInfo" into mnc...
Dan Stoza [Thu, 3 Sep 2015 22:13:25 +0000 (22:13 +0000)]
am f090d598: am 3e4c8ccc: Merge "SF: Add colorTransform to DisplayInfo" into mnc-dr-dev

* commit 'f090d5985a20f13433be632beb45af8a882c0cd0':
  SF: Add colorTransform to DisplayInfo

9 years agoam 3e4c8ccc: Merge "SF: Add colorTransform to DisplayInfo" into mnc-dr-dev
Dan Stoza [Thu, 3 Sep 2015 22:03:03 +0000 (22:03 +0000)]
am 3e4c8ccc: Merge "SF: Add colorTransform to DisplayInfo" into mnc-dr-dev

* commit '3e4c8ccc3e5d037688ed8a1f8b69764c526e0d2f':
  SF: Add colorTransform to DisplayInfo

9 years agoMerge "SF: Add colorTransform to DisplayInfo" into mnc-dr-dev
Dan Stoza [Thu, 3 Sep 2015 21:55:36 +0000 (21:55 +0000)]
Merge "SF: Add colorTransform to DisplayInfo" into mnc-dr-dev

9 years agoam 2f7531fb: am 13c63825: am e35c7d65: Add body sensors app op for custom sensors
Prashant Malani [Thu, 3 Sep 2015 18:26:07 +0000 (18:26 +0000)]
am 2f7531fb: am 13c63825: am e35c7d65: Add body sensors app op for custom sensors

* commit '2f7531fb7a5d0c764c222f5acae0b487578629ab':
  Add body sensors app op for custom sensors

9 years agoam 13c63825: am e35c7d65: Add body sensors app op for custom sensors
Prashant Malani [Thu, 3 Sep 2015 18:14:43 +0000 (18:14 +0000)]
am 13c63825: am e35c7d65: Add body sensors app op for custom sensors

* commit '13c638255f2223cb9c455d519ff1003fc0221537':
  Add body sensors app op for custom sensors

9 years agoam e35c7d65: Add body sensors app op for custom sensors
Prashant Malani [Thu, 3 Sep 2015 17:26:13 +0000 (17:26 +0000)]
am e35c7d65: Add body sensors app op for custom sensors

* commit 'e35c7d65bb3c226fe3c5fc5e3933f64f0963eaeb':
  Add body sensors app op for custom sensors

9 years agoAdd body sensors app op for custom sensors
Prashant Malani [Fri, 21 Aug 2015 00:19:05 +0000 (17:19 -0700)]
Add body sensors app op for custom sensors

If the custom sensor requires the BODY SENSOR permission, we should add
the body sensors app op for the custom sensor

Bug: 23396558
Change-Id: I132917d1bca12c76c8a9fb146e00951cba3e6d7a

9 years agoAdd KEYCODE_SOFT_SLEEP for Ungaze.
Nick Armstrong-Crews [Wed, 2 Sep 2015 20:00:52 +0000 (13:00 -0700)]
Add KEYCODE_SOFT_SLEEP for Ungaze.

BUG: b/23589870
Change-Id: I9bb575fe97bfae926ef4db37615e88057b81480c

9 years agoSF: Add colorTransform to DisplayInfo
Dan Stoza [Mon, 31 Aug 2015 19:06:48 +0000 (12:06 -0700)]
SF: Add colorTransform to DisplayInfo

Adds the colorTransform field, which defines a vendor-specific color
transform (e.g., wide gamut, sRGB, etc.) to the DisplayInfo class, and
populates it from the HWC interface.

Bug: 20853317
Change-Id: I153edc36a361407656f3eb5082b96c2da2ecbec7

9 years agoMap realtime to clock_monotonic.
Martijn Coenen [Wed, 15 Jul 2015 12:25:23 +0000 (14:25 +0200)]
Map realtime to clock_monotonic.

This maps a monotonic timestamp to the
corresponding real-time timestamp, which
can be used to match up the traces with
other logs that use real-time.

Also write clock_sync records first instead of at
the end, to avoid not being to write it due to the
buffer being full.

Bug: 23668823
Change-Id: I644aeea496197e194ec30f808f754e3e043d905f

9 years agoam dcdc1610: am fb1c507b: am 80402da0: Add XML for pro audio feature
Glenn Kasten [Sat, 29 Aug 2015 00:43:56 +0000 (00:43 +0000)]
am dcdc1610: am fb1c507b: am 80402da0: Add XML for pro audio feature

* commit 'dcdc161063640cf8666a45b8dfd6acf063476acb':
  Add XML for pro audio feature

9 years agoam fb1c507b: am 80402da0: Add XML for pro audio feature
Glenn Kasten [Sat, 29 Aug 2015 00:35:33 +0000 (00:35 +0000)]
am fb1c507b: am 80402da0: Add XML for pro audio feature

* commit 'fb1c507b5e442fc8bac059816a3a1534152cd7c4':
  Add XML for pro audio feature

9 years agoam 80402da0: Add XML for pro audio feature
Glenn Kasten [Sat, 29 Aug 2015 00:25:52 +0000 (00:25 +0000)]
am 80402da0: Add XML for pro audio feature

* commit '80402da0dec36a585a014a8ca974e28ef9034722':
  Add XML for pro audio feature

9 years agoAdd XML for pro audio feature
Glenn Kasten [Fri, 28 Aug 2015 03:09:39 +0000 (20:09 -0700)]
Add XML for pro audio feature

Bug: 23604253
Change-Id: I480cf0a46c286badc6fd95a3b42e6cb1ed056b1b

9 years agoam 4baa69dd: am 8f35ca97: SensorManager fixes.
Aravind Akella [Tue, 25 Aug 2015 19:12:28 +0000 (19:12 +0000)]
am 4baa69dd: am 8f35ca97: SensorManager fixes.

* commit '4baa69ddd25296ee40e84c230af88d1fc7e229a7':
  SensorManager fixes.

9 years agoam 8f35ca97: SensorManager fixes.
Aravind Akella [Tue, 25 Aug 2015 19:06:52 +0000 (19:06 +0000)]
am 8f35ca97: SensorManager fixes.

* commit '8f35ca973063e1449c5ec40b618393187a47ec58':
  SensorManager fixes.

9 years agoSensorManager fixes.
Aravind Akella [Mon, 17 Aug 2015 22:22:12 +0000 (15:22 -0700)]
SensorManager fixes.

i) Use pingBinder() to check the status of sensorservice everytime an
   event_queue is created. Retry to establish the binder connection if
   SensorService has recovered from a runtime restart.
ii) LOG_ALWAYS_FATAL_IF getService(SensorService) returns NULL or malloc
    returns NULL.

Bug: 22634472
Change-Id: I4e3912839b6f4114be1a124510878774dbd576a4

9 years agoam df1bc670: resolved conflicts for merge of d213f5e7 to cw-e-dev
Mark Salyzyn [Tue, 11 Aug 2015 23:44:46 +0000 (23:44 +0000)]
am df1bc670: resolved conflicts for merge of d213f5e7 to cw-e-dev

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

9 years agoresolved conflicts for merge of d213f5e7 to cw-e-dev
Mark Salyzyn [Tue, 11 Aug 2015 23:27:05 +0000 (16:27 -0700)]
resolved conflicts for merge of d213f5e7 to cw-e-dev

Change-Id: Iaea0fdd483b4d0988df442f9b291b99943009829

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 agoam 18108fd6: am 1362ec74: Merge commit \'62ec2dd5\' into mm
Michael Wright [Fri, 7 Aug 2015 18:07:08 +0000 (18:07 +0000)]
am 18108fd6: am 1362ec74: Merge commit \'62ec2dd5\' into mm

* commit '18108fd6837fffff1b7c1db418d44bc7644911f1':
  DO NOT MERGE Add new media navigation keys.

9 years agoam 1362ec74: Merge commit \'62ec2dd5\' into mm
Michael Wright [Fri, 7 Aug 2015 18:00:55 +0000 (18:00 +0000)]
am 1362ec74: Merge commit \'62ec2dd5\' into mm

* commit '1362ec74fc4f1dc223c9c322f8f49c966ba67594':
  DO NOT MERGE Add new media navigation keys.

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 agoam 04eeb288: am 50be1df7: Merge "SF: Track missed frames and optionally drop them...
Dan Stoza [Wed, 5 Aug 2015 19:02:53 +0000 (19:02 +0000)]
am 04eeb288: am 50be1df7: Merge "SF: Track missed frames and optionally drop them" into mnc-dr-dev

* commit '04eeb2882567412cdcec5981b50c9e7c024b03cc':
  SF: Track missed frames and optionally drop them

9 years agoam 50be1df7: Merge "SF: Track missed frames and optionally drop them" into mnc-dr-dev
Dan Stoza [Wed, 5 Aug 2015 18:55:39 +0000 (18:55 +0000)]
am 50be1df7: Merge "SF: Track missed frames and optionally drop them" into mnc-dr-dev

* commit '50be1df76e2c84fc3c893ec3d3e51ba427dd3ee6':
  SF: Track missed frames and optionally drop them

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 7fa5c04d: am c14a850f: am ea2afa46: Merge "Fix parsing of extension string" into...
Naveen Leekha [Mon, 3 Aug 2015 15:05:12 +0000 (15:05 +0000)]
am 7fa5c04d: am c14a850f: am ea2afa46: Merge "Fix parsing of extension string" into mnc-dev

* commit '7fa5c04d22416a3de239beea4c0f9d20229cf10a':
  Fix parsing of extension string

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

* commit 'c14a850f65b2946cad808c0abb8740e800b74ab8':
  Fix parsing of extension string

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 dca480ff: am 03d7e301: am d87defaf: SF: Allow present if sideband stream changed
Dan Stoza [Fri, 31 Jul 2015 15:56:27 +0000 (15:56 +0000)]
am dca480ff: am 03d7e301: am d87defaf: SF: Allow present if sideband stream changed

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

9 years agoam 5ed0df2d: am e2806cb4: Bug fix in SensorManager.
Aravind Akella [Fri, 31 Jul 2015 15:56:26 +0000 (15:56 +0000)]
am 5ed0df2d: am e2806cb4: Bug fix in SensorManager.

* commit '5ed0df2d13be64ccf78f82282035f26eaddca557':
  Bug fix in SensorManager.

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

* commit '03d7e301c8beb971df7b560d1f16503ba3d6f440':
  SF: Allow present if sideband stream changed

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

9 years agoam e2806cb4: Bug fix in SensorManager.
Aravind Akella [Thu, 30 Jul 2015 21:05:51 +0000 (21:05 +0000)]
am e2806cb4: Bug fix in SensorManager.

* commit 'e2806cb4456e3815e979f333ed23ec7df591a9ff':
  Bug fix in SensorManager.

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 14d2548a: am 65f1d44c: am a29db50c: Merge "Revert "Bug fix in SensorManager."...
Narayan Kamath [Wed, 29 Jul 2015 10:47:21 +0000 (10:47 +0000)]
am 14d2548a: am 65f1d44c: am a29db50c: Merge "Revert "Bug fix in SensorManager."" into mnc-dev

* commit '14d2548ab76fa60c0547abdadb26cd27c295fd7c':
  Revert "Bug fix in SensorManager."

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

* commit '65f1d44cd8d96a4555ce6929bb5e2022307738e8':
  Revert "Bug fix in SensorManager."