OSDN Git Service

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

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

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

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

8 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

8 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

8 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

8 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

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

8 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

8 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

8 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

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

8 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

8 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

8 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

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

8 years agoam 534a49dc: am 905c1446: Merge "Allow using the JIT"
Todd Kennedy [Mon, 28 Sep 2015 18:33:54 +0000 (18:33 +0000)]
am 534a49dc: am 905c1446: Merge "Allow using the JIT"

* commit '534a49dc3282d1056f92c7ed6e0ef7fa2f9ec74e':
  Allow using the JIT

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.

Change-Id: I42e60996341414b95b8df2d243d5e07f7f5ff9b6

8 years agoam 905c1446: Merge "Allow using the JIT"
Todd Kennedy [Mon, 28 Sep 2015 18:23:42 +0000 (18:23 +0000)]
am 905c1446: Merge "Allow using the JIT"

* commit '905c1446ea602b4649a248bfe878626cae01a87a':
  Allow using the JIT

8 years agoMerge "Allow using the JIT"
Todd Kennedy [Mon, 28 Sep 2015 17:46:59 +0000 (17:46 +0000)]
Merge "Allow using the JIT"

8 years agoAllow using the JIT
Todd Kennedy [Fri, 25 Sep 2015 21:45:37 +0000 (14:45 -0700)]
Allow using the JIT

Instead of the JIT only being available for eng builds [or configurable
via environment variable], allow the JIT to be enabled programatically.

Change-Id: Id3c5ae227ed400e489bb723a56c516dfc12acd89

8 years agoam 1307cbb3: am a5359950: am d529cd47: Merge "Pass dexopt flags as integer"
Todd Kennedy [Fri, 25 Sep 2015 23:00:12 +0000 (23:00 +0000)]
am 1307cbb3: am a5359950: am d529cd47: Merge "Pass dexopt flags as integer"

* commit '1307cbb38a424cf299f3240a679649070348cf55':
  Pass dexopt flags as integer

8 years agoam a5359950: am d529cd47: Merge "Pass dexopt flags as integer"
Todd Kennedy [Fri, 25 Sep 2015 22:17:08 +0000 (22:17 +0000)]
am a5359950: am d529cd47: Merge "Pass dexopt flags as integer"

* commit 'a5359950298f0bd5833ab72b7a26aef9fc45056f':
  Pass dexopt flags as integer

8 years agoam d529cd47: Merge "Pass dexopt flags as integer"
Todd Kennedy [Fri, 25 Sep 2015 22:11:44 +0000 (22:11 +0000)]
am d529cd47: Merge "Pass dexopt flags as integer"

* commit 'd529cd470afa98512bf2eab7a58dae5a9b6e4847':
  Pass dexopt flags as integer

8 years agoMerge "Pass dexopt flags as integer"
Todd Kennedy [Fri, 25 Sep 2015 21:41:37 +0000 (21:41 +0000)]
Merge "Pass dexopt flags as integer"

8 years agoPass dexopt flags as integer
Todd Kennedy [Fri, 25 Sep 2015 14:47:47 +0000 (07:47 -0700)]
Pass dexopt flags as integer

Instead of using a series of booleans, create a single flags integer
that contains all of the dexopt options.

Change-Id: I35542aa73ca57b0e765d19b1339b1429849c1ae8

8 years agoam be802d2c: am bac4a44a: am 53aa7d80: am b0127aad: am 69412a51: am c4bd7211: resolve...
Naveen Leekha [Fri, 25 Sep 2015 00:14:56 +0000 (00:14 +0000)]
am be802d2c: am bac4a44a: am 53aa7d80: am b0127aad: am 69412a51: am c4bd7211: resolved conflicts for 7534e4e6 to lmp-mr1-ub-dev

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

8 years agoam bac4a44a: am 53aa7d80: am b0127aad: am 69412a51: am c4bd7211: resolved conflicts...
Naveen Leekha [Fri, 25 Sep 2015 00:04:16 +0000 (00:04 +0000)]
am bac4a44a: am 53aa7d80: am b0127aad: am 69412a51: am c4bd7211: resolved conflicts for 7534e4e6 to lmp-mr1-ub-dev

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

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 agoam 94d21991: am b062a7a1: am 62e5463e: am 83e60e42: am 571e27e2: am e889592e: am...
Naveen Leekha [Thu, 24 Sep 2015 22:56:43 +0000 (22:56 +0000)]
am 94d21991: am b062a7a1: am 62e5463e: am 83e60e42: am 571e27e2: am e889592e: am 73887c08: am b414255f: Initialize local variables to avoid data leak

* commit '94d219913bfbb21b4d3708bc853b6edc6c0c7c8b':
  Initialize local variables to avoid data leak

8 years agoam 21d2fe72: (-s ours) am dd71ee89: am 0a77df93: am ce92ce9b: Merge "DO NOT MERGE...
Michael Wright [Thu, 24 Sep 2015 22:56:42 +0000 (22:56 +0000)]
am 21d2fe72: (-s ours) am dd71ee89: am 0a77df93: am ce92ce9b: Merge "DO NOT MERGE Cancel touches as well as pointer gestures." into mnc-dr-dev

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

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 b062a7a1: am 62e5463e: am 83e60e42: am 571e27e2: am e889592e: am 73887c08: am...
Naveen Leekha [Thu, 24 Sep 2015 22:48:08 +0000 (22:48 +0000)]
am b062a7a1: am 62e5463e: am 83e60e42: am 571e27e2: am e889592e: am 73887c08: am b414255f: Initialize local variables to avoid data leak

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

8 years agoam dd71ee89: am 0a77df93: am ce92ce9b: Merge "DO NOT MERGE Cancel touches as well...
Michael Wright [Thu, 24 Sep 2015 22:48:07 +0000 (22:48 +0000)]
am dd71ee89: am 0a77df93: am ce92ce9b: Merge "DO NOT MERGE Cancel touches as well as pointer gestures." into mnc-dr-dev

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

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 2655e9d9: am a037f97d: am 7f413889: Merge "Installd: Take boot status as dexopt...
Todd Kennedy [Thu, 24 Sep 2015 21:19:11 +0000 (21:19 +0000)]
am 2655e9d9: am a037f97d: am 7f413889: Merge "Installd: Take boot status as dexopt parameter"

* commit '2655e9d90ce92aaf58bdce02b7ce85eb0010058b':
  Installd: Take boot status as dexopt parameter

8 years agoam a037f97d: am 7f413889: Merge "Installd: Take boot status as dexopt parameter"
Todd Kennedy [Thu, 24 Sep 2015 20:49:51 +0000 (20:49 +0000)]
am a037f97d: am 7f413889: Merge "Installd: Take boot status as dexopt parameter"

* commit 'a037f97dcf15000154e73aea4e92248c17a586f8':
  Installd: Take boot status as dexopt parameter

8 years agoam 7f413889: Merge "Installd: Take boot status as dexopt parameter"
Todd Kennedy [Thu, 24 Sep 2015 20:39:15 +0000 (20:39 +0000)]
am 7f413889: Merge "Installd: Take boot status as dexopt parameter"

* commit '7f413889a3f0bff0c159141abb498650305f2089':
  Installd: Take boot status as dexopt parameter

8 years agoMerge "Installd: Take boot status as dexopt parameter"
Todd Kennedy [Thu, 24 Sep 2015 20:35:07 +0000 (20:35 +0000)]
Merge "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
(cherry picked from commit 72ebebed876a62e719b098e43d9d516361bde029)
Change-Id: I9b34298caf70b1e5d40970cc0d04c469016a80a7

8 years agoam c3af99f4: am 476398ab: am 0830bb16: Merge "Enable integer overflow sanitization...
Dan Austin [Wed, 23 Sep 2015 19:51:06 +0000 (19:51 +0000)]
am c3af99f4: am 476398ab: am 0830bb16: Merge "Enable integer overflow sanitization in libinput."

* commit 'c3af99f441749b82c16a90ae4b0faaecf7cc079c':
  Enable integer overflow sanitization in libinput.

8 years agoam 4cf79dbb: am 0ba3db9e: am bffbd09f: Merge "Eliminate multiple benign overflow...
Dan Austin [Wed, 23 Sep 2015 19:51:05 +0000 (19:51 +0000)]
am 4cf79dbb: am 0ba3db9e: am bffbd09f: Merge "Eliminate multiple benign overflow conditions."

* commit '4cf79dbbc9767b2bdb5bfa42825fba3a5afd954a':
  Eliminate multiple benign overflow conditions.

8 years agoam 48d1d1fc: am f1519eeb: am 64b83133: Merge "Remove usage of SharedBuffer"
Sergio Giro [Wed, 23 Sep 2015 19:51:04 +0000 (19:51 +0000)]
am 48d1d1fc: am f1519eeb: am 64b83133: Merge "Remove usage of SharedBuffer"

* commit '48d1d1fc902543ea16e5826a4739346714691d8c':
  Remove usage of SharedBuffer

8 years agoam c2fa26c0: (-s ours) am bc16fb98: am cff01363: Merge commit \'8a196b5630a93a3eb6df4...
Michael Wright [Wed, 23 Sep 2015 19:50:30 +0000 (19:50 +0000)]
am c2fa26c0: (-s ours) am bc16fb98: am cff01363: Merge commit \'8a196b5630a93a3eb6df4cbe461917731e54fb35\' into merge-fix

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

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 476398ab: am 0830bb16: Merge "Enable integer overflow sanitization in libinput."
Dan Austin [Wed, 23 Sep 2015 17:25:01 +0000 (17:25 +0000)]
am 476398ab: am 0830bb16: Merge "Enable integer overflow sanitization in libinput."

* commit '476398ab60f4f777b0d7c85986f0185350468d5d':
  Enable integer overflow sanitization in libinput.

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 0ba3db9e: am bffbd09f: Merge "Eliminate multiple benign overflow conditions."
Dan Austin [Wed, 23 Sep 2015 17:25:00 +0000 (17:25 +0000)]
am 0ba3db9e: am bffbd09f: Merge "Eliminate multiple benign overflow conditions."

* commit '0ba3db9e91d683a75af244cccfa62c8778a4c62a':
  Eliminate multiple benign overflow conditions.

8 years agoam f1519eeb: am 64b83133: Merge "Remove usage of SharedBuffer"
Sergio Giro [Wed, 23 Sep 2015 17:24:58 +0000 (17:24 +0000)]
am f1519eeb: am 64b83133: Merge "Remove usage of SharedBuffer"

* commit 'f1519eeb21ee03a956d973545f9f0f742727faaa':
  Remove usage of SharedBuffer

8 years agoam 0830bb16: Merge "Enable integer overflow sanitization in libinput."
Dan Austin [Wed, 23 Sep 2015 17:14:55 +0000 (17:14 +0000)]
am 0830bb16: Merge "Enable integer overflow sanitization in libinput."

* commit '0830bb169717f920817e66afb18abe2c86d20161':
  Enable integer overflow sanitization in libinput.

8 years agoam bffbd09f: Merge "Eliminate multiple benign overflow conditions."
Dan Austin [Wed, 23 Sep 2015 17:14:53 +0000 (17:14 +0000)]
am bffbd09f: Merge "Eliminate multiple benign overflow conditions."

* commit 'bffbd09f65d3bc594d844a185d75700e8b4789eb':
  Eliminate multiple benign overflow conditions.

8 years agoam 64b83133: Merge "Remove usage of SharedBuffer"
Sergio Giro [Wed, 23 Sep 2015 17:14:38 +0000 (17:14 +0000)]
am 64b83133: Merge "Remove usage of SharedBuffer"

* commit '64b83133d5ec40828a10e57cfbb37c642bb7f510':
  Remove usage of SharedBuffer

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

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

8 years agoMerge "Enable integer overflow sanitization in libinput."
Dan Austin [Wed, 23 Sep 2015 16:47:59 +0000 (16:47 +0000)]
Merge "Enable integer overflow sanitization in libinput."

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 agoEnable integer overflow sanitization in libinput.
Dan Austin [Tue, 22 Sep 2015 21:33:57 +0000 (14:33 -0700)]
Enable integer overflow sanitization in libinput.

Bug: 24171356
Change-Id: I1412b78171c60b0252560956a672f2d92a7011e6

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 "Eliminate multiple benign overflow conditions."
Dan Austin [Wed, 23 Sep 2015 16:36:28 +0000 (16:36 +0000)]
Merge "Eliminate multiple benign overflow conditions."

8 years agoMerge "Remove usage of SharedBuffer"
Sergio Giro [Wed, 23 Sep 2015 16:22:55 +0000 (16:22 +0000)]
Merge "Remove usage of SharedBuffer"

8 years agoam d37734a4: am c6a6c6de: am ad2a1592: Merge "Enable multiple benign overflow conditi...
Dan Austin [Wed, 23 Sep 2015 15:05:02 +0000 (15:05 +0000)]
am d37734a4: am c6a6c6de: am ad2a1592: Merge "Enable multiple benign overflow conditions."

* commit 'd37734a4871013d067a033914579281bf5d1c13a':
  Enable multiple benign overflow conditions.

8 years agoam 9040362b: am fc6a2bff: am 146f31b6: Merge "Eliminate benign overflow condition...
Dan Austin [Wed, 23 Sep 2015 15:05:01 +0000 (15:05 +0000)]
am 9040362b: am fc6a2bff: am 146f31b6: Merge "Eliminate benign overflow condition triggered upon loop termination in Input.cpp"

* commit '9040362b1ec56f077e9bca395939a6669ffa8303':
  Eliminate benign overflow condition triggered upon loop termination in Input.cpp

8 years agoam c6a6c6de: am ad2a1592: Merge "Enable multiple benign overflow conditions."
Dan Austin [Wed, 23 Sep 2015 14:58:25 +0000 (14:58 +0000)]
am c6a6c6de: am ad2a1592: Merge "Enable multiple benign overflow conditions."

* commit 'c6a6c6de7c43198dc93f92f935ebc120de1050c8':
  Enable multiple benign overflow conditions.

8 years agoam fc6a2bff: am 146f31b6: Merge "Eliminate benign overflow condition triggered upon...
Dan Austin [Wed, 23 Sep 2015 14:58:24 +0000 (14:58 +0000)]
am fc6a2bff: am 146f31b6: Merge "Eliminate benign overflow condition triggered upon loop termination in Input.cpp"

* commit 'fc6a2bff11e342acb3c098bc2be7557e0876efac':
  Eliminate benign overflow condition triggered upon loop termination in Input.cpp

8 years agoam ad2a1592: Merge "Enable multiple benign overflow conditions."
Dan Austin [Wed, 23 Sep 2015 14:52:27 +0000 (14:52 +0000)]
am ad2a1592: Merge "Enable multiple benign overflow conditions."

* commit 'ad2a1592cf01a5393ad645fea81b6c36ee11f73e':
  Enable multiple benign overflow conditions.

8 years agoam 146f31b6: Merge "Eliminate benign overflow condition triggered upon loop terminati...
Dan Austin [Wed, 23 Sep 2015 14:52:26 +0000 (14:52 +0000)]
am 146f31b6: Merge "Eliminate benign overflow condition triggered upon loop termination in Input.cpp"

* commit '146f31b6c44f557270779106e95c769783270fed':
  Eliminate benign overflow condition triggered upon loop termination in Input.cpp

8 years agoMerge "Enable multiple benign overflow conditions."
Dan Austin [Wed, 23 Sep 2015 14:45:51 +0000 (14:45 +0000)]
Merge "Enable multiple benign overflow conditions."

8 years agoMerge "Eliminate benign overflow condition triggered upon loop termination in Input...
Dan Austin [Wed, 23 Sep 2015 14:45:25 +0000 (14:45 +0000)]
Merge "Eliminate benign overflow condition triggered upon loop termination in Input.cpp"

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 agoEliminate multiple benign overflow conditions.
Dan Austin [Tue, 22 Sep 2015 21:28:07 +0000 (14:28 -0700)]
Eliminate multiple benign overflow conditions.

In InputTransport.cpp, there are multiple loops in which loop
termination occurs when the value becomes zero. These termination
conditions are all written value-- > 0, which, since value is
unsigned, result in an unsigned integer overflow when value is 0.
These loops were refactored to eliminate these conditions.

Bug: 24171356
Change-Id: Ie135c4306d1f2cef2778e295242305ed5139221a

8 years agoEnable multiple benign overflow conditions.
Dan Austin [Tue, 22 Sep 2015 21:32:03 +0000 (14:32 -0700)]
Enable multiple benign overflow conditions.

In VelocityTracker.cpp, there are multiple loops in which loop
termination occurs when the value becomes zero. These termination
conditions are all written value-- > 0, which, since value is
unsigned, result in an integer overflow condition when value is 0.
These loop were refactored to eliminate these conditions.

Bug: 24171356
Change-Id: Ie44940cfef8a122ee1aff59c021274ba39a368bf

8 years agoEliminate benign overflow condition triggered upon loop termination in Input.cpp
Dan Austin [Tue, 22 Sep 2015 21:22:41 +0000 (14:22 -0700)]
Eliminate benign overflow condition triggered upon loop termination in Input.cpp

In readFromParcel, a while loop is terminated when sampleCount = 0. The
decrement operation that was here would decrease sampleCount, an unsigned value,
below 0, triggering an unsigned integer overflow. The while loop was refactored
to eliminate this condition.

Bug: 24171356
Change-Id: I7669f54a41d11548b33e322b025431c6f6038952

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 591457b7: am 6263caf7: am 83af0cc2: am 72ebebed: Installd: Take boot status as...
Andreas Gampe [Tue, 22 Sep 2015 20:57:52 +0000 (20:57 +0000)]
am 591457b7: am 6263caf7: am 83af0cc2: am 72ebebed: Installd: Take boot status as dexopt parameter

* commit '591457b71413d5d044c3ab1cd74b954f37d18e2f':
  Installd: Take boot status as dexopt parameter

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

* commit '6263caf72f343dfbb18e7061c5453f78cfa19e72':
  Installd: Take boot status as dexopt parameter

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 agoMerge "Initialize local variables to avoid data leak"
Naveen Leekha [Tue, 22 Sep 2015 18:20:41 +0000 (18:20 +0000)]
Merge "Initialize local variables to avoid data leak"

8 years agoMerge "BQ: Prevent operations on disconnected BQs"
Pablo Ceballos [Tue, 22 Sep 2015 17:10:21 +0000 (17:10 +0000)]
Merge "BQ: Prevent operations on disconnected BQs"

8 years agoInitialize local variables to avoid data leak
Naveen Leekha [Tue, 22 Sep 2015 00:28:04 +0000 (17:28 -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.

For b/23696300

Change-Id: Ie37a34851ffe203f9579f63f1fe1b8605a880c30

8 years agoam 8207a7b4: am 96c5d65b: am 251c8b3f: Merge "constify generated JNINativeMethod...
Nick Kralevich [Mon, 21 Sep 2015 22:37:27 +0000 (22:37 +0000)]
am 8207a7b4: am 96c5d65b: am 251c8b3f: Merge "constify generated JNINativeMethod fn ptr tables"

* commit '8207a7b4b8086abfb2f768c8cf6da8ecdc16b0aa':
  constify generated JNINativeMethod fn ptr tables

8 years agoam 96c5d65b: am 251c8b3f: Merge "constify generated JNINativeMethod fn ptr tables"
Nick Kralevich [Mon, 21 Sep 2015 22:32:01 +0000 (22:32 +0000)]
am 96c5d65b: am 251c8b3f: Merge "constify generated JNINativeMethod fn ptr tables"

* commit '96c5d65b0bef97c1315ea5d7568df912710383c7':
  constify generated JNINativeMethod fn ptr tables

8 years agoam 251c8b3f: Merge "constify generated JNINativeMethod fn ptr tables"
Nick Kralevich [Mon, 21 Sep 2015 22:22:23 +0000 (22:22 +0000)]
am 251c8b3f: Merge "constify generated JNINativeMethod fn ptr tables"

* commit '251c8b3ff842363243c8eea25b369bd805af7aad':
  constify generated JNINativeMethod fn ptr tables

8 years agoMerge "constify generated JNINativeMethod fn ptr tables"
Nick Kralevich [Mon, 21 Sep 2015 21:42:06 +0000 (21:42 +0000)]
Merge "constify generated JNINativeMethod fn ptr tables"

8 years agoam 9ec97471: add system-background cpuset
Tom Cherry [Mon, 21 Sep 2015 21:41:48 +0000 (21:41 +0000)]
am 9ec97471: add system-background cpuset

* commit '9ec97471638fb98f5266826e4242e301e5dffc76':
  add system-background cpuset

8 years agoadd system-background cpuset
Tom Cherry [Mon, 21 Sep 2015 21:27:37 +0000 (14:27 -0700)]
add system-background cpuset

add a new cpuset for system services that should not run on
larger cores

bug 24144797

Change-Id: I4f3cd34711b7ffcd2ef45ef2a3cd4642d0ef34c5

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