OSDN Git Service

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

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

8 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

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

8 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

8 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>
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 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 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 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 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 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 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 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 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 "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 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 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 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 agoconstify generated JNINativeMethod fn ptr tables
Daniel Micay [Mon, 21 Sep 2015 17:17:57 +0000 (13:17 -0400)]
constify generated JNINativeMethod fn ptr tables

Change-Id: Icbad34e298f6d8e60ef12e9a91200994249fe2f5

8 years agoRemove usage of SharedBuffer
Pablo Ceballos [Fri, 11 Sep 2015 21:37:39 +0000 (14:37 -0700)]
Remove usage of SharedBuffer

- Remove getSharedBuffer() from Region
- Don't use SharedBuffer for memory management in HWCLayerVersion1,
  instead keep shallow copies of the Regions.

Bug 23962051

(cherry picked from commit d814cf2a3e3a2fdb73efa80539fe8af0a93da1db)

Change-Id: I8fa17beed57936648c7b4defc9219dff1d5b337f

8 years agoresolved conflicts for 5b5c81c4 to stage-aosp-master
Colin Cross [Sat, 19 Sep 2015 17:37:05 +0000 (10:37 -0700)]
resolved conflicts for 5b5c81c4 to stage-aosp-master

Change-Id: I0be665105d46cb3b934cb00890822d4dfae18f64

8 years agoWith SANITIZE_TARGET, load EGL libs from the instrumented path.
Evgenii Stepanov [Wed, 8 Jul 2015 22:49:52 +0000 (15:49 -0700)]
With SANITIZE_TARGET, load EGL libs from the instrumented path.

Bug: 21785137
Change-Id: Iac56419a9ca776c5704bed44d3f0a1a1edd9d172
(cherry picked from commit c2466e6f005e9cbeea7764e9d8864fa6bca17633)

8 years agoMerge "asan: update condition to work with multiple SANITIZE_TARGET values."
Evgenii Stepanov [Fri, 18 Sep 2015 20:23:35 +0000 (20:23 +0000)]
Merge "asan: update condition to work with multiple SANITIZE_TARGET values."

8 years agoasan: update condition to work with multiple SANITIZE_TARGET values.
Ivan Krasin [Fri, 18 Sep 2015 19:03:44 +0000 (12:03 -0700)]
asan: update condition to work with multiple SANITIZE_TARGET values.

The goal is to enable SANITIZE_TARGET='address coverage', which
will be used by LLVMFuzzer.

Bug: 22850550
Change-Id: Iaa300aa20798f2e9aa613842b463edf8aeebe3a7

8 years agoam c5a6696f: Merge "Installd: Allow different behavior before bootcomplete"
Andreas Gampe [Thu, 17 Sep 2015 22:40:57 +0000 (22:40 +0000)]
am c5a6696f: Merge "Installd: Allow different behavior before bootcomplete"

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

8 years agoMerge "Installd: Allow different behavior before bootcomplete"
Andreas Gampe [Thu, 17 Sep 2015 22:36:50 +0000 (22:36 +0000)]
Merge "Installd: Allow different behavior before bootcomplete"

8 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

(cherry picked from commit 21948005f0294a64a42932b21a33ae75295dc3d9)

Change-Id: I5063f3fc4b437cbe88c4e94584e01c1c78eccc4d

8 years agoam c0ed1282: Merge "Update libpowermanager to expose enum and export headers."
Daniel Erat [Wed, 16 Sep 2015 02:54:00 +0000 (02:54 +0000)]
am c0ed1282: Merge "Update libpowermanager to expose enum and export headers."

* commit 'c0ed128263f753696cbcb24a5d1a45bc894ae336':
  Update libpowermanager to expose enum and export headers.

8 years agoMerge "Update libpowermanager to expose enum and export headers."
Daniel Erat [Wed, 16 Sep 2015 02:45:23 +0000 (02:45 +0000)]
Merge "Update libpowermanager to expose enum and export headers."

8 years agoUpdate libpowermanager to expose enum and export headers.
Daniel Erat [Tue, 15 Sep 2015 16:50:17 +0000 (10:50 -0600)]
Update libpowermanager to expose enum and export headers.

Move libpowermanager's transaction ID enum (needed when
implementing BnPowerManager::onTransact()) into
IPowerManager.h and update the library's Android.mk file to
export its headers.

Bug: 22122485
Change-Id: Ie97198c3d2ebe8e880125e19a001ef7162009858

8 years agoam f2e53c5e: Merge "Remove BnServiceManager."
Daniel Erat [Tue, 15 Sep 2015 14:28:00 +0000 (14:28 +0000)]
am f2e53c5e: Merge "Remove BnServiceManager."

* commit 'f2e53c5e1f3fd27c9131f20b2f8147c82372f746':
  Remove BnServiceManager.

8 years agoMerge "Remove BnServiceManager."
Daniel Erat [Tue, 15 Sep 2015 14:21:30 +0000 (14:21 +0000)]
Merge "Remove BnServiceManager."

8 years agoRemove BnServiceManager.
Daniel Erat [Mon, 14 Sep 2015 22:29:54 +0000 (16:29 -0600)]
Remove BnServiceManager.

As far as I can tell (e.g. https://goo.gl/nxpFBZ from 2009),
BnServiceManager is unused. It's only relevant for
libbinder-based C++ daemons implementing the
IServiceManager.aidl interface. service_manager.c rolls its
own binder code instead.

Change-Id: I837a897d8a201b04bf3ff65c87b0d35d10196199

8 years agoam 6c8c8138: Merge "Benign unsigned integer overflow in Parcel"
Dan Austin [Thu, 10 Sep 2015 22:06:23 +0000 (22:06 +0000)]
am 6c8c8138: Merge "Benign unsigned integer overflow in Parcel"

* commit '6c8c8138434d2381a78407e9876121d3bcef55a7':
  Benign unsigned integer overflow in Parcel

8 years agoam 8c77ec50: Merge "Enable fsanitize integer in ui"
Dan Austin [Thu, 10 Sep 2015 22:06:23 +0000 (22:06 +0000)]
am 8c77ec50: Merge "Enable fsanitize integer in ui"

* commit '8c77ec506a83538d85cf68b8095541ca8aa8c788':
  Enable fsanitize integer in ui

8 years agoMerge "Benign unsigned integer overflow in Parcel"
Dan Austin [Thu, 10 Sep 2015 22:02:03 +0000 (22:02 +0000)]
Merge "Benign unsigned integer overflow in Parcel"

8 years agoMerge "Enable fsanitize integer in ui"
Dan Austin [Thu, 10 Sep 2015 21:58:27 +0000 (21:58 +0000)]
Merge "Enable fsanitize integer in ui"

8 years agoBenign unsigned integer overflow in Parcel
Dan Austin [Thu, 10 Sep 2015 20:46:02 +0000 (13:46 -0700)]
Benign unsigned integer overflow in Parcel

The realloc case in continueWrite did not update the
gParcelGlobalAllocCount value when an allocation occurred.

In addition, there are conditions that could cause the
gParcelGlobalAllocCount value to be decremented below 0, resulting
in a benign unsigned integer overflow that can cause corrupted values
to be returned through system profiling mechanisms.

BUG: 23972600
Change-Id: Ibe07db91a811a04b486760eb78d81c926ba8503d

8 years agoam bf04509f: Merge "Enable fsanitize integer in binder"
Dan Austin [Wed, 9 Sep 2015 14:48:19 +0000 (14:48 +0000)]
am bf04509f: Merge "Enable fsanitize integer in binder"

* commit 'bf04509ff42fc1e179b518caada5d0b663f2a8ee':
  Enable fsanitize integer in binder

8 years agoMerge "Enable fsanitize integer in binder"
Dan Austin [Wed, 9 Sep 2015 14:39:25 +0000 (14:39 +0000)]
Merge "Enable fsanitize integer in binder"

8 years agoEnable fsanitize integer in binder
Dan Austin [Tue, 8 Sep 2015 23:18:13 +0000 (16:18 -0700)]
Enable fsanitize integer in binder

Enables checks for undefined or suspicious integer behavior. If
suspicious behavior is detected, the process is aborted instead of
potentially resulting in a security bug, such as #20674694 and
#19573085.

Bug: 23836686
Change-Id: I14d6d565afcb8a6435fd5a8e8175e00bbe5d9b6c

8 years agoEnable fsanitize integer in ui
Dan Austin [Tue, 8 Sep 2015 21:53:00 +0000 (14:53 -0700)]
Enable fsanitize integer in ui

Enables checks for undefined or suspicious integer behavior. If
suspicious behavior is detected, the process is aborted instead of
potentially resulting in a security bug.

Bug: 23834892
Change-Id: I9111bce2ebb36e045f4da1dbf78f90f04a0aa81c

8 years agoam 477b1e87: Merge "move init.trace.rc to frameworks/native"
Tom Cherry [Thu, 3 Sep 2015 22:02:40 +0000 (22:02 +0000)]
am 477b1e87: Merge "move init.trace.rc to frameworks/native"

* commit '477b1e873a894a4331535bf1a59d76ec0cdd809a':
  move init.trace.rc to frameworks/native

8 years agoMerge "move init.trace.rc to frameworks/native"
Tom Cherry [Thu, 3 Sep 2015 21:52:44 +0000 (21:52 +0000)]
Merge "move init.trace.rc to frameworks/native"

8 years agomove init.trace.rc to frameworks/native
Tom Cherry [Thu, 3 Sep 2015 21:15:24 +0000 (14:15 -0700)]
move init.trace.rc to frameworks/native

init.trace.rc will be renamed to atrace.rc and use the LOCAL_INIT_RC
mechanism to be included on /system appropriately.

Bug 23186545

Change-Id: Ic5833b4bb6e6364e4fef6ab4882ae75f8f3856e9

8 years agoam 40a8bb3b: Merge "Add a tag for tracing system server."
Yasuhiro Matsuda [Wed, 2 Sep 2015 13:02:51 +0000 (13:02 +0000)]
am 40a8bb3b: Merge "Add a tag for tracing system server."

* commit '40a8bb3b2290f77a90735633eab350133f9bb9d2':
  Add a tag for tracing system server.

8 years agoMerge "Add a tag for tracing system server."
Yasuhiro Matsuda [Wed, 2 Sep 2015 12:54:23 +0000 (12:54 +0000)]
Merge "Add a tag for tracing system server."

8 years agoam ce92141c: Merge "Whitelist windows module"
Dan Willemsen [Tue, 1 Sep 2015 16:37:04 +0000 (16:37 +0000)]
am ce92141c: Merge "Whitelist windows module"

* commit 'ce92141cbdfeae302fcc1d5e4b4b261c783feaf7':
  Whitelist windows module

8 years agoresolved conflicts for merge of 3821feac to stage-aosp-master
Nick Kralevich [Tue, 1 Sep 2015 15:58:18 +0000 (08:58 -0700)]
resolved conflicts for merge of 3821feac to stage-aosp-master

Change-Id: Icc17d2b7dc26eadf99b2c6967cceaa54ae38e617

8 years agoMerge "Whitelist windows module"
Dan Willemsen [Mon, 31 Aug 2015 19:30:20 +0000 (19:30 +0000)]
Merge "Whitelist windows module"

8 years agoMerge "include/android/sensor: add enum for LINEAR_ACCELERATION"
Johan Euphrosine [Sat, 29 Aug 2015 04:15:16 +0000 (04:15 +0000)]
Merge "include/android/sensor: add enum for LINEAR_ACCELERATION"

8 years agoam 1159b181: Merge "ignore SIGPIPE signal in native services"
Elliott Hughes [Sat, 29 Aug 2015 03:43:57 +0000 (03:43 +0000)]
am 1159b181: Merge "ignore SIGPIPE signal in native services"

* commit '1159b18177c7247884d7c90c11abfe5aae39cb34':
  ignore SIGPIPE signal in native services

8 years agoMerge "ignore SIGPIPE signal in native services"
Elliott Hughes [Sat, 29 Aug 2015 03:37:09 +0000 (03:37 +0000)]
Merge "ignore SIGPIPE signal in native services"

8 years agoignore SIGPIPE signal in native services
Young-Ho Cha [Fri, 28 Aug 2015 10:55:18 +0000 (19:55 +0900)]
ignore SIGPIPE signal in native services

When run dump method via dumpsys command with invalid pipe fd, native
services can crash with SIGPIPE.
So ignore SIGPIPE signal.

Bug: https://code.google.com/p/android/issues/detail?id=184099
Change-Id: Icb15e0dff34a245c08c1b4c4bed51992ae382da4
Signed-off-by: Young-Ho Cha <ganadist@gmail.com>
8 years agoinclude/android/sensor: add enum for LINEAR_ACCELERATION
Johan Euphrosine [Fri, 21 Aug 2015 01:13:43 +0000 (18:13 -0700)]
include/android/sensor: add enum for LINEAR_ACCELERATION

Change-Id: I6e387f905ba87bde810952daf939ba0f529d18b8

8 years agoWhitelist windows module
Dan Willemsen [Fri, 28 Aug 2015 21:09:44 +0000 (14:09 -0700)]
Whitelist windows module

Bug: 23566667
Change-Id: I4fa1243421885a0c1a8febbbcefb0d7e9cdcc99b

8 years agoam cf1fedef: am 2acadb3f: Merge "BatteryProperties: Adds batteryCycleCount, batteryCu...
Ruchi Kandoi [Wed, 26 Aug 2015 00:22:12 +0000 (00:22 +0000)]
am cf1fedef: am 2acadb3f: Merge "BatteryProperties: Adds batteryCycleCount, batteryCurrent, batteryFullCharge fields in the the battery properties."

* commit 'cf1fedef98db7a5ae30685cdc47b5b6e107fba50':
  BatteryProperties: Adds batteryCycleCount, batteryCurrent, batteryFullCharge fields in the the battery properties.

8 years agoam 2acadb3f: Merge "BatteryProperties: Adds batteryCycleCount, batteryCurrent, batter...
Ruchi Kandoi [Tue, 25 Aug 2015 23:53:37 +0000 (23:53 +0000)]
am 2acadb3f: Merge "BatteryProperties: Adds batteryCycleCount, batteryCurrent, batteryFullCharge fields in the the battery properties."

* commit '2acadb3f26b3f9b7f2ae7c1bca219ada94066462':
  BatteryProperties: Adds batteryCycleCount, batteryCurrent, batteryFullCharge fields in the the battery properties.

8 years agoMerge "BatteryProperties: Adds batteryCycleCount, batteryCurrent, batteryFullCharge...
Ruchi Kandoi [Tue, 25 Aug 2015 23:45:51 +0000 (23:45 +0000)]
Merge "BatteryProperties: Adds batteryCycleCount, batteryCurrent, batteryFullCharge fields in the the battery properties."

8 years agoBatteryProperties: Adds batteryCycleCount, batteryCurrent,
Ruchi Kandoi [Thu, 13 Aug 2015 00:49:42 +0000 (17:49 -0700)]
BatteryProperties: Adds batteryCycleCount, batteryCurrent,
batteryFullCharge fields in the the battery properties.

Bug: 22981343
Change-Id: I426b4b7d1eb544d2b1d97d87ae1eba0fdf35c503
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
8 years agoam d3bfedbb: am f364393a: Merge "libagl: Fix buffer read overrun in eglCreatePbufferS...
Jesse Hall [Sat, 22 Aug 2015 02:56:09 +0000 (02:56 +0000)]
am d3bfedbb: am f364393a: Merge "libagl: Fix buffer read overrun in eglCreatePbufferSurface"

* commit 'd3bfedbb1fc6296b561e60eac19581a6f1705f9e':
  libagl: Fix buffer read overrun in eglCreatePbufferSurface

8 years agoam f364393a: Merge "libagl: Fix buffer read overrun in eglCreatePbufferSurface"
Jesse Hall [Sat, 22 Aug 2015 02:49:27 +0000 (02:49 +0000)]
am f364393a: Merge "libagl: Fix buffer read overrun in eglCreatePbufferSurface"

* commit 'f364393a01824bf4d805b6fffc78bb00d426eb9f':
  libagl: Fix buffer read overrun in eglCreatePbufferSurface

8 years agoMerge "libagl: Fix buffer read overrun in eglCreatePbufferSurface"
Jesse Hall [Sat, 22 Aug 2015 02:40:45 +0000 (02:40 +0000)]
Merge "libagl: Fix buffer read overrun in eglCreatePbufferSurface"

8 years agoam 32592270: am 64e13880: Merge "bundle init.rc contents with its service"
Tom Cherry [Fri, 21 Aug 2015 18:20:25 +0000 (18:20 +0000)]
am 32592270: am 64e13880: Merge "bundle init.rc contents with its service"

* commit '32592270d40d6060e19aa97949aee72c8aca0807':
  bundle init.rc contents with its service

8 years agoam 64e13880: Merge "bundle init.rc contents with its service"
Tom Cherry [Fri, 21 Aug 2015 17:52:48 +0000 (17:52 +0000)]
am 64e13880: Merge "bundle init.rc contents with its service"

* commit '64e138803478c22cac598b143b3f109d6220a167':
  bundle init.rc contents with its service

8 years agoMerge "bundle init.rc contents with its service"
Tom Cherry [Fri, 21 Aug 2015 17:42:30 +0000 (17:42 +0000)]
Merge "bundle init.rc contents with its service"

8 years agolibagl: Fix buffer read overrun in eglCreatePbufferSurface
Jesse Hall [Fri, 21 Aug 2015 14:41:46 +0000 (07:41 -0700)]
libagl: Fix buffer read overrun in eglCreatePbufferSurface

The code was assuming that EGL_NONE==0, which isn't true.

Bug: 23403170
Change-Id: Ic1eccdef086b4d610bd78dbb6b2ae883c91dc322

8 years agoam a6d2ff29: am 110ddef1: Merge "binder: Change from C11 <stdatomic.h> to C++11 ...
Elliott Hughes [Thu, 20 Aug 2015 19:31:35 +0000 (19:31 +0000)]
am a6d2ff29: am 110ddef1: Merge "binder: Change from C11 <stdatomic.h> to C++11 <atomic>."

* commit 'a6d2ff29c4920b440b16bc6ceaa90710361b9be9':
  binder: Change from C11 <stdatomic.h> to C++11 <atomic>.

8 years agoam 110ddef1: Merge "binder: Change from C11 <stdatomic.h> to C++11 <atomic>."
Elliott Hughes [Thu, 20 Aug 2015 01:13:28 +0000 (01:13 +0000)]
am 110ddef1: Merge "binder: Change from C11 <stdatomic.h> to C++11 <atomic>."

* commit '110ddef1da19c03dd5e167680d00f48e1377da9d':
  binder: Change from C11 <stdatomic.h> to C++11 <atomic>.

8 years agoMerge "binder: Change from C11 <stdatomic.h> to C++11 <atomic>."
Elliott Hughes [Thu, 20 Aug 2015 01:07:16 +0000 (01:07 +0000)]
Merge "binder: Change from C11 <stdatomic.h> to C++11 <atomic>."

8 years agobundle init.rc contents with its service
Tom Cherry [Fri, 14 Aug 2015 20:01:23 +0000 (13:01 -0700)]
bundle init.rc contents with its service

Bug: 23186545
Change-Id: I2a70a39122b146d5bbc9b55156e769782e011bff

8 years agobinder: Change from C11 <stdatomic.h> to C++11 <atomic>.
Bailey Forrest [Wed, 19 Aug 2015 00:15:10 +0000 (17:15 -0700)]
binder: Change from C11 <stdatomic.h> to C++11 <atomic>.

Change-Id: Ib831a9ccfcc7089940d37883d860574359c270e2

8 years agoam 7a1ccf7c: am d974a364: Merge "binder: Add a throughput performance test for binder."
Riley Andrews [Mon, 17 Aug 2015 21:21:53 +0000 (21:21 +0000)]
am 7a1ccf7c: am d974a364: Merge "binder: Add a throughput performance test for binder."

* commit '7a1ccf7c7d1dd0defa1a82d973a8b80f3370c52c':
  binder: Add a throughput performance test for binder.

8 years agoam d974a364: Merge "binder: Add a throughput performance test for binder."
Riley Andrews [Mon, 17 Aug 2015 21:08:45 +0000 (21:08 +0000)]
am d974a364: Merge "binder: Add a throughput performance test for binder."

* commit 'd974a3647bd371886093738ab16485c943cb5bad':
  binder: Add a throughput performance test for binder.

8 years agoMerge "binder: Add a throughput performance test for binder."
Riley Andrews [Mon, 17 Aug 2015 20:58:26 +0000 (20:58 +0000)]
Merge "binder: Add a throughput performance test for binder."

8 years agobinder: Add a throughput performance test for binder.
Riley Andrews [Tue, 11 Aug 2015 20:19:53 +0000 (13:19 -0700)]
binder: Add a throughput performance test for binder.

Change-Id: I04801cd505a439307f2a963f6267db1831b3829f

8 years agoam 7bd45d00: am 4997a57a: Merge "Tracing for binder locks/transactions"
Riley Andrews [Wed, 12 Aug 2015 23:50:00 +0000 (23:50 +0000)]
am 7bd45d00: am 4997a57a: Merge "Tracing for binder locks/transactions"

* commit '7bd45d0010622e559f7795243ec8e548f641266b':
  Tracing for binder locks/transactions

8 years agoam 4997a57a: Merge "Tracing for binder locks/transactions"
Riley Andrews [Wed, 12 Aug 2015 23:42:34 +0000 (23:42 +0000)]
am 4997a57a: Merge "Tracing for binder locks/transactions"

* commit '4997a57a9ae90bbb058dec90222d423a7de0e7e7':
  Tracing for binder locks/transactions